/* ================================================= */
/* 1. CONFIGURAÇÕES GERAIS E RESET                   */
/* ================================================= */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main {
    flex: 1;
}

/* ================================================= */
/* 2. ESTRUTURA DA NAVEGAÇÃO (FIXA NO TOPO)          */
/* ================================================= */
.nav-container {
    position: fixed;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    width: auto;
}

.nav-container nav {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
}

.nav-container ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

/* --- Menu Global (Estilo PTQA) --- */
.nav-global {
    background-color: #11a3cf !important;
    padding: 10px 30px !important;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-global ul { gap: 40px !important; }

.nav-global ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.nav-global ul li a:hover {
    background: linear-gradient(to bottom, #004a6c, #0097d2);
    transform: scale(1.1);
}

/* --- Menu Local (Discreto) --- */
.nav-local {
    background: #003b52 !important;
    padding: 8px 28px !important; /* só um pouquinho maior */
    border-radius: 50px;
    opacity: 0.92;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

.nav-local ul { 
    gap: 24px !important; /* leve aumento */
}

.nav-local ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem !important; /* quase igual ao original */
    font-weight: 500 !important;
    padding: 5px 12px !important; /* ajuste mínimo */
    opacity: 0.85;
    transition: all 0.3s ease;
}

.nav-local ul li a:hover {
    opacity: 1;
    color: #11a3cf;
}

/* ================================================= */
/* 3. HEADER DA OFICINA (VISIBILIDADE)              */
/* ================================================= */
.oficina-header {
    text-align: center;
    padding: 60px 20px 20px 20px;
    margin-top: 100px;
}

.header-overlay {
    display: inline-block;
    padding: 35px 70px;
    background: rgba(0, 48, 67, 0.2); 
    backdrop-filter: blur(15px) saturate(150%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.oficina-header h1 {
    color: #ffffff;
    font-size: 3.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-bottom: 5px;
    text-shadow: 
        0px 2px 4px rgba(0, 59, 82, 0.6),
        0px 8px 15px rgba(0, 0, 0, 0.3),
        0px 20px 40px rgba(0, 0, 0, 0.2);
}

.oficina-header p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8); 
}

/* ================================================= */
/* 4. CONTAINER DE CONTEÚDO (GLASSMORPHISM)         */
/* ================================================= */
.oficina-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin: 40px auto 80px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 1200px;
}

.oficina-content h2 {
    color: #0ea2c0;
    margin-bottom: 20px;
    font-size: 2rem;
    border-left: 6px solid #14b3d6;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.oficina-content p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    text-align: justify;
    font-size: 1.1rem;
}

/* ================================================= */
/* 5. GRID E CARDS DE INFORMAÇÃO                    */
/* ================================================= */
.section-subtitle {
    color: #11a3cf;
    font-size: 1.5rem;
    margin: 30px 0 20px 0;
    font-weight: 700;
    text-transform: uppercase;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Isso centraliza o que sobrar na última linha */
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    /* Ajusta a largura para caberem 3 por linha (considerando o gap) */
    flex: 1 1 calc(33.333% - 20px); 
    min-width: 280px; /* Evita que fiquem finos demais */
    max-width: 350px; /* Evita que o último card sozinho fique gigante */
    
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(17, 163, 207, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #11a3cf;
}

.material-header {
    background: #11a3cf;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.info-card p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}

/* Imagens de Hardware */
.img-hardware {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 10px 0;
    padding: 10px;
    transition: transform 0.3s ease;
}

.info-card:hover .img-hardware { transform: scale(1.05); }

/* ================================================= */
/* 6. AVATARES E DESTAQUES (VERSÃO AZUL)            */
/* ================================================= */

/* --- Placeholder Geral --- */
.avatar-placeholder {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #11a3cf; 
    border: 3px solid rgba(17, 163, 207, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card:hover .avatar-placeholder {
    transform: scale(1.1);
    background: rgba(17, 163, 207, 0.15);
    border-color: #11a3cf;
    color: #fff;
}

/* --- Card de Destaque (Equipe 2026.1) --- */
.info-card.destaque {
    border-top: 4px solid #004a6c; /* Azul Escuro */
    background: rgba(0, 74, 108, 0.04);
}

.info-card.destaque .avatar-placeholder {
    color: #004a6c;
    border-color: rgba(0, 74, 108, 0.3);
}

.info-card.destaque .material-header {
    background: #004a6c;
    color: #fff;
}

.info-card.destaque:hover .avatar-placeholder {
    background: rgba(0, 74, 108, 0.1);
    border-color: #004a6c;
    color: #fff;
}

/* ================================================= */
/* 7. RESPONSIVIDADE E AJUSTES FINAIS               */
/* ================================================= */
/* Garante que o fundo não suma em tablets e celulares */
@media (max-width: 992px) {
    .inicialFundo {
        background-attachment: scroll !important; /* Evita bug de fundo fixo em mobile */
        background-size: cover !important;
        min-height: 100vh !important;
        display: block !important; /* Garante que a seção exista */
    }

    .oficina-content {
        width: 95% !important;
        padding: 30px 20px !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 768px) {
    .oficina-header h1 { font-size: 2.2rem; }
    .oficina-header p { font-size: 1rem; }
    .oficina-content { padding: 25px; width: 95%; }
    .nav-global { padding: 10px 15px !important; }
    .nav-global ul { gap: 15px !important; }
}