/* ========================================================= */
/* PÁGINA DA EQUIPE (equipe.css) - VERSÃO LIMPA E CORRIGIDA  */
/* ========================================================= */


/* ========================================================= */
/* RESET GERAL E VARIÁVEIS DE COR----------------------------*/
/* ========================================================= */
:root {
    --blue: #233f93;
    --yellow: #FFEE00;
    --blue-dark: #1c327a;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --gray-dark: #333;
    --orange: #E67E22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    font-weight: 700;
}

h2,
h3 {
    font-weight: 700;
}

h1 {
    font-weight: bold;
    font-size: 3rem;
    color: #1c327a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    scroll-margin-top: 70px;
    text-align: center;
}

/* ESTILO PADRÃO PARA TÍTULOS DE SEÇÃO */
h2 {
    font-size: 2.5rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 50px;
}

/* CLASSE ESPECIAL PARA TÍTULOS COM FUNDO DE IMAGEM */
.titulo-amoeba {
    display: inline-block;
    position: relative;
    padding: 20px 80px;
    margin-bottom: 50px;
    background-image: url('../imagens/fundo-titulo-amoeba.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 2.5rem;
    color: var(--blue);
    transition: transform 0.3s ease-out;
}

.titulo-amoeba:hover {
    transform: scale(1.1);
}

/* ========================================================= */
/* SEÇÃO HEADER SUPERIOR                                     */
/* ========================================================= */
.top-header {
    background-color: var(--blue);
    padding: 15px 0;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-content {
    text-align: center;
}

.logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.logo {
    height: 65px;
}

.kids-logo {
    height: 95px;
    width: auto;
    object-fit: contain;
}

.slogan {
    color: var(--white);
    font-size: 14px;
    margin-top: 5px;
}

.top-links {
    display: flex;
    gap: 15px;
}

.top-link {
    color: var(--white);
    background-color: var(--blue-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.top-link:hover {
    background-color: var(--yellow);
    color: var(--blue);
}

/* ========================================================= */
/* SEÇÃO MENU PRINCIPAL E FIXO                               */
/* ========================================================= */
.main-menu {
    background-color: var(--white);
    position: relative;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.main-menu .container,
.sticky-menu .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 65px;
    position: relative;
}

/* --- MUDANÇA IMPORTANTE AQUI --- */
/* Agora, 'display: flex' só se aplica à lista UL que é FILHA DIRETA da navegação */
.main-nav>ul,
.main-nav-sticky>ul {
    list-style: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav>ul {
    background-color: var(--blue);
    border-radius: 50px;
    padding: 0 15px;
}

.main-nav ul li,
.main-nav-sticky ul li {
    /* Esta regra agora afeta os LIs do submenu, o que será corrigido abaixo */
    display: flex;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
}

.main-nav>ul>li>a {
    padding: 8px 18px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.main-nav>ul>li:not(.menu-contato-destaque):hover>a {
    color: var(--yellow);
}

.anhanguera-link img {
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

.has-submenu {
    position: relative;
}

/* --- CORREÇÃO DE ALINHAMENTO DO SUBMENU --- */
.submenu {
    list-style: none;
    margin: 0;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    /* Alinha o submenu com o início do item pai */
    transform: translateY(10px);
    /* Apenas animação vertical */
    width: max-content;
    min-width: 250px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 101;
    border-radius: 8px;
    transition: all 0.25s ease-out;
    pointer-events: none;
}

.submenu li {
    display: block;
    width: 100%;
}

.has-submenu:hover>.submenu {
    transform: translateY(0);
    /* Apenas animação vertical */
}

.submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 25px;
    /* Posição fixa da seta */
    transform: translateX(0);
    /* Sem translação horizontal */
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
}

.submenu a {
    display: block;
    padding: 12px 15px;
    color: var(--blue);
    border-radius: 5px;
    text-align: left;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
}

.submenu a:hover {
    background-color: var(--blue);
    color: var(--yellow);
    padding-left: 20px;
}

/* --- FIM DA CORREÇÃO --- */

.social-links-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.social-links-menu a {
    color: var(--blue);
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links-menu a:hover {
    color: var(--yellow);
    transform: scale(1.1);
}

.sticky-menu {
    position: fixed;
    top: -100px;
    width: 100%;
    z-index: 2002;
    background-color: rgba(35, 63, 147, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: top 0.4s ease-in-out;
}

.sticky-menu.visible {
    top: 0;
}

.sticky-menu .container {
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-menu .logo {
    height: 45px;
}

.main-nav-sticky a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    /* <-- ADICIONE ESTA LINHA */
}

.main-nav-sticky .submenu {
    background-color: var(--white);
    padding: 10px;
}

.main-nav-sticky .submenu a {
    color: var(--blue);
}

.main-nav-sticky .submenu a:hover {
    background-color: var(--blue);
    color: var(--yellow);
}

.social-links-sticky {
    display: flex;
    gap: 20px;
}

.social-links-sticky a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links-sticky a:hover {
    color: var(--yellow);
    transform: scale(1.1);
}

.mobile-menu-icon,
.close-menu-btn,
.mobile-social-links {
    display: none;
}

@media (min-width: 993px) {
    .has-submenu:hover>.submenu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}


/* ========================================================= */
/* DESTAQUE PARA O BOTÃO CONTATO (FORA DA PÍLULA) - CORRIGIDO */
/* ========================================================= */
.contato-btn-destaque {
    background-color: var(--yellow);
    color: var(--blue-dark);
    padding: 8px 22px;
    /* ADICIONADO: Um pouco mais de padding lateral para o texto respirar */
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;

    /* --- CORREÇÕES PRINCIPAIS AQUI --- */
    border: 2px solid var(--blue);
    /* ADICIONADO: A borda azul da paleta */
    margin-left: 15px;
    /* ADICIONADO: O espaçamento para desgrudar da pílula */
}

/* Novo efeito hover mais dinâmico */
.contato-btn-destaque:hover {
    background-color: var(--blue);
    /* Inverte a cor de fundo para azul */
    color: var(--yellow);
    /* Inverte a cor do texto para amarelo */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Ajuste para o botão no menu sticky (para manter a consistência) */
.sticky-menu .contato-btn-destaque {
    padding: 6px 15px;
    /* Padding ajustado para o menu menor */
    font-size: 0.85rem;
    border: 2px solid var(--blue);
    /* Garante a borda no menu sticky também */
    margin-left: 15px;
    /* Garante o espaçamento no menu sticky também */
}



@media (max-width: 992px) {

    /* Esconde o botão de contato independente, pois ele já existe no menu sanduíche */
    .contato-btn-destaque {
        display: none;
    }

    /* Garante que o item de contato dentro do menu mobile não tenha destaque */
    #main-nav ul li a[href="contato.html"] {
        background-color: transparent;
        color: var(--white);
        font-weight: 700;
    }
}


/* ========================================================= */
/* SEÇÃO DE ESTATÍSTICAS DO CORPO DOCENTE                    */
/* ========================================================= */

.teacher-stats-section {
    text-align: center;
    margin-bottom: 50px;
    /* Espaço antes do próximo elemento */
}

.stats-icon {
    font-size: 4.5rem;
    /* Tamanho grande para o ícone */
    color: var(--blue);
    /* Cor azul da paleta */
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 3 colunas iguais */
    gap: 20px;
    /* Espaço entre as colunas */
    max-width: 600px;
    /* Limita a largura do grid */
    margin: 0 auto;
    /* Centraliza o grid */
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    /* Números bem grandes */
    font-weight: 700;
    color: var(--blue);
    /* Cor azul */
    line-height: 1.1;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--gray-dark);
    font-weight: 600;
}

/* Texto descritivo sobre os professores */
.team-intro-text {
    max-width: 800px;
    /* Limita a largura do texto */
    margin: 0 auto 50px auto;
    /* Centraliza o texto e dá espaço abaixo */
    text-align: center;
}

.team-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    font-weight: 400;
    margin-bottom: 20px;
}

/* --- Responsividade para as Estatísticas --- */
@media (max-width: 768px) {
    .stats-icon {
        font-size: 4rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        /* Coluna única em telas muito pequenas */
        gap: 30px;
        /* Aumenta o espaço vertical */
        max-width: 250px;
        /* Reduz a largura máxima */
    }

    .stats-icon {
        margin-bottom: 30px;
    }

    .teacher-stats-section {
        margin-bottom: 40px;
    }
}

/* --- Estilo do Título da Página --- */
.team-title-section {
    background-color: var(--blue);
    padding: 60px 0;
    text-align: center;
}

.team-title-section h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}

.team-title-section p {
    color: var(--yellow);
    font-size: 1.2rem;
    font-weight: 400;
}

/* --- Título Geral das Seções --- */
.section-title {
    /* Para carrosséis */
    text-align: center;
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title-kids {
    /* Para carrosséis */
    text-align: center;
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 50px;
    font-weight: 700;

}

.team-category-title {
    /* Para grids estáticos */
    font-size: 2.5rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.team-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--yellow);
    margin: 15px auto 0;
}

.team-category-description {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 50px;
    color: var(--gray-dark);
    font-weight: 400;
}

/* Fundo cinza para alternar */
.gray-bg {
    background-color: var(--gray-light);
}

/* --- Carrossel de Liderança --- */
.leadership-carousel {
    max-width: 1000px;
    margin: 0 auto;
    /* Aumenta o padding para dar espaço às setas */
    position: relative;
    /* Contexto para as setas */
}

.leadership-member-card {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 10px;
    height: auto;
}

.leadership-member-card .member-photo {
    width: 350px;
    height: 350px;
    object-fit: cover;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.leadership-member-card h3 {
    font-size: 1.6rem;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.leadership-member-card .member-role {
    font-size: 1rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 0;
}

/* --- Carrossel de Professores --- */
.teachers-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    /* Aumenta o padding para dar espaço às setas */
    position: relative;
    /* Contexto para as setas */
}

/* --- Grid Estático (Administrativo) --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* --- CARD PADRÃO (Usado por Professores e Admin) --- */
.team-card {
    display: flex !important;
    flex-direction: column;
    text-align: center;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.team-card .team-photo-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--gray-light);
}

.team-card .team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-card .team-content {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card h3 {
    font-size: 1.7rem;
    color: var(--blue-dark);
    font-weight: bold;
    margin: 0 0 5px 0;
}

.team-card .team-role {
    font-size: 0.95rem;
    color: var(--blue);
    font-weight: 400;
    margin-bottom: 0;
}

.team-card .member-role {

    color: var(--blue);
}


/* ========================================================= */
/* --- ESTILOS DAS SETAS E PONTOS (SLICK CAROUSEL) - CORRIGIDO
/* ========================================================= */

/* Contêiner das setas */
.slick-prev,
.slick-next {
    font-size: 0;
    /* Esconde o texto "next/prev" */
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 45px;
    /* Tamanho do botão */
    height: 45px;
    /* Tamanho do botão */
    padding: 0;
    transform: translateY(-50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: var(--white);
    /* Fundo branco */
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: var(--blue);
    /* Fundo azul no hover */
    transform: translateY(-50%) scale(1.1);
}

/* Posição das setas (fora da área de slides, na área de padding) */
.slick-prev {
    left: 0px;
}

.slick-next {
    right: 0px;
}

/* O ÍCONE DA SETA (usando Font Awesome) */
.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 6 Free";
    /* Nome correto da fonte FA6 */
    font-weight: 900;
    /* Ícone sólido (fas) */
    font-size: 20px;
    /* Tamanho do ícone */
    line-height: 1;
    color: var(--blue);
    /* Cor azul no ícone */
    opacity: 0.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Centraliza o ícone dentro do botão */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: color 0.3s ease;
}

/* Ícone de seta da esquerda */
.slick-prev:before {
    content: '\f053';
    /* Código unicode do Font Awesome para "chevron-left" */
}

/* Ícone de seta da direita */
.slick-next:before {
    content: '\f054';
    /* Código unicode do Font Awesome para "chevron-right" */
}

/* Cor do ícone no hover */
.slick-prev:hover:before,
.slick-next:hover:before {
    color: var(--white);
}

/* --- Pontos (Dots) - CORRIGIDO --- */
.slick-dots {
    position: absolute;
    bottom: auto;
    /* Posição abaixo do carrossel */
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    right: 0px;
    /* Remove os bullets */
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    font-family: 'slick';
    /* Usa a fonte padrão do slick */
    font-size: 10px;
    /* Tamanho do ponto */
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    /* O caractere de ponto */
    text-align: center;
    opacity: 0.5;
    color: var(--blue);
    /* Cor dos pontos inativos */
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button:before {
    color: var(--blue-dark);
    /* Cor dos pontos ativos */
    opacity: 1;
}

/* ========================================================= */
/* --- Responsividade da Página ---                          */
/* ========================================================= */
@media (max-width: 992px) {

    .section-title,
    .team-category-title {
        font-size: 2.2rem;
    }

    .team-card .team-photo-wrapper {
        height: 220px;
    }

    .team-card h3 {
        font-size: 1.1rem;
        /* Fonte um pouco menor para o nome */
        margin-bottom: 3px;
    }

    .team-card .team-role {
        font-size: 0.9rem;
        /* Fonte menor para a matéria */
    }

    .team-card .team-role {
        font-size: 0.9rem;
    }

    .slick-prev {
        left: 10px;
    }

    .slick-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .team-title-section h1 {
        font-size: 2.5rem;
    }

    .section-title,
    .team-category-title {
        font-size: 2rem;
    }

    .leadership-member-card .member-photo {
        width: 300px;
        height: 300px;
    }

    .leadership-member-card h3 {
        font-size: 1.3rem;
    }

    .leadership-member-card .member-role {
        font-size: 0.9rem;
    }

    .team-card .team-photo-wrapper {
        height: auto;
        aspect-ratio: 1 / 1.25;
    }

    .team-card .team-content {
        padding: 15px 10px;
        /* Diminui o preenchimento vertical e horizontal */
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }

    .leadership-carousel,
    .teachers-carousel {
        padding: 0 15px;
    }

    /* --- CORREÇÃO DEFINITIVA DO PADDING DOS DOTS --- */
    .leadership-carousel .slick-dots,
    .teachers-carousel .slick-dots {
        bottom: -55px !important;
        /* Move para baixo e usa !important */
    }
}

@media (max-width: 480px) {
    .team-title-section h1 {
        font-size: 2rem;
    }

    .section-title,
    .team-category-title {
        font-size: 1.8rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card .team-photo-wrapper {
        aspect-ratio: 3 / 4;
    }
}

/* ========================================================= */
/* ESTILO FINAL DO RODAPÉ PADRÃO (footer-standard)           */
/* ========================================================= */

.footer-standard {
    background-color: var(--blue);
    color: #f0f4f8;
    padding: 60px 0 30px 0;
    text-align: center;
    font-weight: 400;
    /* Rodapé com fonte mais leve */
}

/* Grid que organiza as colunas */
.footer-content-grid {
    display: grid;
    /* Ajustado para 2 colunas, como no seu HTML */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    align-items: start;
}

/* Estilo de cada coluna */
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Logos no footer */
.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* Detalhes de contato */
.footer-contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 700;
}

.footer-contact-details h4 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 4px;
}

.footer-contact-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-contact-details i {
    color: var(--yellow);
    /* Ícones em amarelo */
    font-size: 1rem;
}

/* Seção inferior (redes sociais e copyright) */
.footer-bottom-standard {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icons-standard {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-social-icons-standard a {
    color: var(--white);
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons-standard a:hover {
    color: var(--yellow);
    transform: translateY(-3px);
}

.footer-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0;
}

.footer-info .fa-heart {
    color: var(--yellow);
}

/* ========================================================= */
/* BOTÃO FIXO "AGENDAR VISITA" (CONECTADO AO RODAPÉ)         */
/* ========================================================= */
.agendar-visita-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: var(--yellow);
    padding: 10px 25px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.agendar-visita-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.agendar-visita-cta:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.2);
}

.agendar-visita-cta a i {
    font-size: 1.2rem;
}



/* ========================================================= */
/* AJUSTES FINAIS DE RESPONSIVIDADE PARA BOTÕES FIXOS       */
/* ========================================================= */

/* Tablet e Mobile (A partir de 992px para baixo) */
@media (max-width: 992px) {

    /* --- BOTÃO AGENDAR VISITA (MENOR E VISÍVEL) --- */
    .agendar-visita-cta {
        display: block;
        padding: 8px 18px;
    }

    .agendar-visita-cta a {
        font-size: 0.85rem;
        gap: 8px;
    }

    .agendar-visita-cta a i {
        font-size: 1rem;
    }


    /* --- BOTÕES FLUTUANTES (WPP/PANDA) - POSIÇÃO E LAYOUT AJUSTADOS --- */
    .fab-container {
        /* --- MUDANÇA AQUI: EMPILHA OS ÍCONES --- */
        flex-direction: column;
        bottom: 55px;
        /* Sobe os botões Wpp/Panda */
    }

    .fab-icon {
        width: 50px;
        height: 50px;
    }

    .fab-icon i {
        font-size: 1.6rem;
    }

}

/* Ajuste Fino Opcional para Telas Muito Pequenas */
@media (max-width: 480px) {
    .agendar-visita-cta {
        padding: 6px 15px;
    }

    .agendar-visita-cta a {
        font-size: 0.8rem;
    }

    .fab-container {
        bottom: 50px;
    }

    .fab-icon {
        width: 45px;
        height: 45px;
    }

    .fab-icon i {
        font-size: 1.5rem;
    }
}

/* ========================================================= */
/* SEÇÃO DE RESPONSIVIDADE - CORREÇÕES FINAIS                */
/* ========================================================= */

/* Desktop (Regras que só se aplicam aqui) */
@media (min-width: 993px) {
    .has-submenu:hover>.submenu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {

    /* Esconde o botão de  independente, pois ele já existe no menu sanduíche */
    .contato-btn-destaque {
        display: none;
    }

    /* Garante que o item de contato dentro do menu mobile não tenha destaque */
    #main-nav ul li a[href="contato.html"] {
        background-color: transparent;
        color: var(--white);
        font-weight: 700;
    }
}

@media (min-width: 993px) {
    .has-submenu:hover>.submenu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Tablet e Mobile (Regras que se aplicam a partir daqui) */
@media (max-width: 992px) {

    h1 {
        font-size: 2.2rem;
    }

    /* --- GERAL MOBILE --- */
    .hero-section {
        padding: 0;
    }

    #hero-desktop {
        display: none;
    }

    #hero-mobile {
        display: block;
    }

    #hero-mobile,
    #hero-mobile img {
        height: auto;
        max-height: none;
        aspect-ratio: auto;
    }

    /* --- MENU MOBILE --- */
    .main-menu .container {
        justify-content: flex-end;
    }

    /* Botão hamburguer à direita */
    .main-nav>ul {
        display: none;
    }

    /* Esconde pílula azul */
    .contato-btn-destaque {
        display: none;
    }

    /* Esconde botão amarelo */
    .social-links-menu {
        display: none;
    }

    /* Esconde redes sociais */
    .mobile-menu-icon {
        display: block;
        background: none;
        border: none;
        color: var(--blue);
        font-size: 1.8rem;
        cursor: pointer;
    }

    /* --- MENU STICKY MOBILE (CORRIGIDO) --- */
    /* Garante que o container do sticky alinhe logo e hamburguer */
    .sticky-menu .container {
        justify-content: space-between;
    }

    /* Esconde os itens indesejados DENTRO do sticky menu */
    .sticky-menu .main-nav-sticky,
    .sticky-menu .contato-btn-destaque,
    .sticky-menu .social-links-sticky {
        display: none;
    }

    /* Mostra o hamburguer DENTRO do sticky menu */
    .sticky-menu .mobile-menu-icon {
        display: block;
        /* Garante que ele apareça */
        color: var(--white);
    }


    /* --- MENU SANDUÍCHE (ABERTO) --- */
    #main-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--blue);
        z-index: 2000;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
    }

    #main-nav.active {
        transform: translateY(0);
    }

    #main-nav>ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        text-align: center;
        height: auto;
        background: none;
        border-radius: 0;
    }

    #main-nav>ul>li {
        display: block;
    }

    #main-nav>ul>li>a {
        display: block;
        padding: 10px 20px;
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        text-decoration: none;
        line-height: 1.2;
    }

    .close-menu-btn {
        display: block;
        position: fixed;
        top: 25px;
        right: 25px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 3rem;
        cursor: pointer;
        z-index: 2001;
    }

    #main-nav .has-submenu>a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .has-submenu>a .fa-chevron-down {
        transition: transform 0.3s;
        margin-top: 5px;
    }

    .has-submenu.open>a .fa-chevron-down {
        transform: rotate(180deg);
    }

    /* Submenu dentro do Sanduíche */
    #main-nav .submenu {
        display: none;
        list-style: none;
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        pointer-events: all;
        background-color: rgba(0, 0, 0, 0.15);
        width: 100%;
        text-align: center;
        border-radius: 15px;
        padding: 10px 0;
        margin-top: 10px;
    }

    #main-nav .has-submenu.open>.submenu {
        display: block;
    }

    #main-nav .submenu li {
        display: block;
    }

    #main-nav .submenu a {
        color: var(--white);
        font-size: 1.1rem;
        font-weight: 400;
        padding: 10px 20px;
    }

    /* --- OUTROS AJUSTES MOBILE --- */
    .parallax-diferenciais .container {
        justify-content: center;
    }

    .diferenciais-card {
        width: 80%;
        margin-left: 15%;
    }

    .fachada-item {
        grid-template-columns: 1fr;
    }

    .fachada-item .fachada-image-container {
        margin-bottom: 20px;
    }

    .fachada-item .fachada-map {
        margin-top: 20px;
    }
}

/* Mobile Menor */
@media (max-width: 768px) {
    .slide-button {
        bottom: 10%;
        left: 48%;
        transform: translateX(-50%);
        width: 80%;
        padding: 15px 10px;
        font-size: 1.1rem;
    }

    .pm-arrow {
        width: 40px;
        height: 40px;
        opacity: 1;
        visibility: visible;
    }

    .pm-arrow--prev {
        left: 15px;
    }

    .pm-arrow--next {
        right: 15px;
    }

    .section {
        padding: 60px 0;
    }

    h2,
    .titulo-amoeba {
        font-size: 2rem;
    }

    .top-header .container,
    .footer-content {
        flex-direction: column;
        justify-content: center;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .parallax-diferenciais {
        background-attachment: scroll;
        padding: 60px 0;
    }

    .parallax-diferenciais .container {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
    }

    /* Ajuste para empilhar cards */
    .diferenciais-card {
        width: 90%;
        max-width: 550px;
        margin-bottom: 30px;
        flex-basis: auto;
    }

    .diferenciais-card:last-child {
        margin-bottom: 0;
    }

    .diferenciais-card h3 {
        font-size: 1.6rem;
    }

    .diferencial-item-titulo strong {
        font-size: 0.9rem;
    }

    .diferenciais-card ul li p {
        font-size: 0.85rem;
    }

    .quote-section blockquote {
        font-size: 1.3rem;
    }

    .quote-section blockquote::before,
    .quote-section blockquote::after {
        font-size: 4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
}

/* Mobile Mínimo */
@media (max-width: 480px) {

    h2,
    .titulo-amoeba {
        font-size: 1.8rem;
    }
}

/* Responsividade para o Grid do Footer */
@media (max-width: 768px) {
    .footer-content-grid {
        grid-template-columns: 1fr;
        /* Coluna única em telas menores */
        gap: 50px;
    }
}