/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* GARANTIA DE POSICIONAMENTO PARA ELIMINAR O ESPAÇO SUPERIOR */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* VARIÁVEIS DE COR */
:root {
    --cor-principal: #4EA1EE; /* AZUL CLARO */
    --cor-secundaria: #333;  /* Cinza Escuro */
    --cor-fundo: #f4f4f4;    /* Cinza Claro */
    --cor-texto: #fff;       /* Branco */
    --cor-destaque: #ffc107; /* Amarelo/Ouro para destaque */
}

/* CONTAINER CENTRALIZADOR */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ----------------------------------------------------- */
/* ESTILO DO CABEÇALHO (Desktop) */
/* ----------------------------------------------------- */
.header {
    background-color: var(--cor-principal);
    color: var(--cor-texto);
    padding: 1px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--cor-destaque);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header .logo img {
    max-height: 100px;
    margin-left: 20px;
}

.header .menu ul {
    display: flex;
}

.header .menu ul li a {
    /* MENU COMPACTO: Fonte menor e padding reduzido */
    font-size: 14px; 
    padding: 12px 18px; 
    
    display: block;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
}

.header .menu ul li a:hover {
    background-color: #771723;
    color: var(--cor-destaque);
}

/* ----------------------------------------------------- */
/* ESTILO PARA DESTAQUE DO ITEM ATUAL NO MENU */
/* ----------------------------------------------------- */
.header .menu ul li.current a {
    background-color: var(--cor-destaque);
    color: var(--cor-secundaria); 
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

.header .menu ul li.current a:hover {
    background-color: #ffd700; 
    color: var(--cor-secundaria);
}
/* ----------------------------------------------------- */


/* ESPAÇAMENTO DOS ÍCONES NO MENU */
.header .menu ul li a i {
    margin-right: 8px;
}

.header .social {
    margin-right: 20px;
    font-weight: bold;
}

.header .social a {
    margin-left: 10px;
    transition: color 0.3s;
}

.header .social a:hover {
    color: var(--cor-destaque);
}

/* HAMBÚRGUER (Oculto por padrão no Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cor-destaque);
    cursor: pointer;
    margin-right: 20px;
    padding: 10px;
}


/* ----------------------------------------------------- */
/* SLIDER PRINCIPAL (Área de Fundo e Destaque) */
/* ----------------------------------------------------- */
.slider {
    height: 100vh;
    padding-top: 105px; /* Empurra o conteúdo para baixo do header */
    background: url('img/fundo-ney-nando.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--cor-texto);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slider-content {
    background: rgba(0, 0, 0, 0.65);
    padding: 50px;
    border-radius: 10px;
    border: 3px solid var(--cor-destaque);
}

.slider-content h2 {
    font-size: 72px;
    margin-bottom: 10px;
    font-weight: 900;
}

.slider-content p {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* BOTÃO DE AGENDA */
.btn-agenda {
    background-color: var(--cor-destaque);
    color: var(--cor-secundaria);
    padding: 18px 40px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
    font-size: 18px;
    border: none;
}

.btn-agenda:hover {
    background-color: #ffd700;
    transform: scale(1.05);
}

/* ----------------------------------------------------- */
/* SEÇÕES GERAIS E ESTILOS DE TÍTULO */
/* ----------------------------------------------------- */
.section {
    padding-top: 80px; 
    padding-bottom: 80px;
    text-align: center;
}

.section h2, .section h1 {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--cor-principal);
    padding-bottom: 10px;
    border-bottom: 5px solid var(--cor-destaque);
    display: inline-block;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section h2.animate, .section h1.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------- */
/* ESTILOS DE BIOGRAFIA PROFISSIONAL E AGENDA */
/* ----------------------------------------------------- */
.bio-intro {
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-size: 1.2em;
    line-height: 1.7;
    color: var(--cor-secundaria);
}
.integrantes-grid {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin: 40px auto;
    max-width: 1000px;
}
.integrante-card {
    flex: 1;
    max-width: 450px;
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.integrante-photo {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--cor-destaque);
    margin-bottom: 20px;
}

/* ----------------------------------------------------- */
/* RODAPÉ E COOKIES */
/* ----------------------------------------------------- */
.footer {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto);
    padding: 30px 0;
    font-size: 14px;
    text-align: center;
}
/* ... Estilos de Cookies, omitidos para brevidade ... */


/* ------------------------------------------- */
/* MEDIA QUERY PARA CELULAR (Telas <= 768px) */
/* ------------------------------------------- */

@media (max-width: 768px) {

    /* MUDANÇA NA ESTRUTURA DO HEADER PARA MÓVEL */
    .header {
        flex-direction: row;
        justify-content: space-between;
    }

    .header .social {
        display: none;
    }

    /* EXIBIR O HAMBÚRGUER */
    .menu-toggle {
        display: block;
    }

    /* ESTILO DO MENU HAMBÚRGUER (Off-Canvas) */
    .header .menu {
        position: fixed;
        top: 105px; /* Altura do header mobile (~105px) */
        left: 0;
        width: 100%;
        height: calc(100% - 105px);
        background-color: var(--cor-principal);
        z-index: 999;
        overflow-y: auto;

        /* Regra que faz o menu deslizar e aparecer: */
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
    }

    /* CLASSE ATIVA (Disparada pelo JS) */
    .header .menu.active {
        transform: translateX(0);
    }

    /* ESTILIZAÇÃO DOS ITENS DE MENU NA VISÃO MÓVEL */
    .header .menu ul {
        /* REGRA CHAVE: FAZ O MENU APARECER EM LINHAS VERTICAIS */
        flex-direction: column; 
        
        padding: 20px 0;
        width: 100%;
    }

    .header .menu ul li {
        border-bottom: 1px solid #771723;
    }

    .header .menu ul li a {
        /* Fonte ligeiramente maior para melhor toque no mobile */
        font-size: 16px; 
        padding: 15px 30px; 
        text-align: left;
        width: 100%;
    }

    /* Títulos Responsivos */
    .section h2, .section h1 {
        font-size: 32px;
    }
    .slider-content h2 {
        font-size: 50px;
    }

    /* RESPONSIVIDADE PARA O GRID DE BIOGRAFIA */
    .integrantes-grid {
        flex-direction: column;
        gap: 30px;
    }

    .integrante-card {
        max-width: 100%;
    }
}