/* ========================================================= */
/* 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;
}

h1,
h2,
h3 {
    font-weight: 700;
}

.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;
}

.sloganp {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0;
}

.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 HERO (CARROSSEL) - CORREÇÃO DE ALTURA FINAL         */
/* ========================================================= */
.hero-section {
    width: 100%;
    position: relative;
    background-color: #f0f8ff;
    overflow: hidden;
    /* REMOVIDO: max-height: 85vh; (esta era a causa do problema) */
}

/* Força o carrossel a obedecer a nova proporção */
#hero-desktop {
    display: block;
    height: auto;
    /* Remove a altura fixa em 'vh' */
}

#hero-mobile {
    display: none;
    /* O carrossel mobile mantém o comportamento padrão */
}

.hero-carousel .slick-list,
.hero-carousel .slick-track,
.hero-carousel .slick-slide,
.hero-carousel .slick-slide>div,
.slide-container {
    height: 100%;
    position: relative;
}

.hero-carousel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* Garante que a imagem preencha o espaço da proporção correta */
    /* REMOVIDO: object-position: top; (não é mais necessário com a proporção correta) */
}

.slide-button {
    position: absolute;
    z-index: 10;
    bottom: 19%;
    left: 33%;
    transform: translateX(-50%);
    width: auto;
    background-color: var(--yellow);
    color: var(--blue-dark);
    padding: 50px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: buttonPulse 2.5s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.slide-button:hover {
    animation-play-state: paused;
    transform: translateX(-50%) scale(1.05) !important;
}

@keyframes buttonPulse {
    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.03);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

.hero-section .slick-dots {
    bottom: 25px;
    z-index: 2;
}

.hero-section .slick-dots li button:before {
    font-size: 12px;
    color: white;
    opacity: 0.7;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.hero-section .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--yellow);
}

.pm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: rgba(0, 34, 68, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.hero-container:hover .pm-arrow {
    opacity: 1;
    visibility: visible;
}

.pm-arrow:hover {
    background-color: var(--yellow);
    transform: translateY(-50%) scale(1.1);
}

.pm-arrow:hover i {
    color: var(--blue-dark);
}

.pm-arrow--prev {
    left: 25px;
}

.pm-arrow--next {
    right: 25px;
}

.pm-arrow i {
    color: white;
    font-size: 1.2rem;
}

/* ========================================================= */
/* ESTILOS DE BOTÕES GERAIS                                  */
/* ========================================================= */
.btn-primary,
.btn-card {
    color: var(--white);
    background-color: var(--blue);
    border-radius: 50px;
    text-decoration: none;
    padding: 12px 30px;
    transition: transform 0.3s ease-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary::before,
.btn-card::before,
.btn-primary::after,
.btn-card::after {
    content: '';
    position: absolute;
    background-color: var(--yellow);
    border-radius: 50%;
    width: 0;
    height: 0;
    transition: width 0.8s ease-out, height 0.8s ease-out, opacity 0.8s ease-out;
    z-index: -1;
    opacity: 0;
}

.btn-primary::before,
.btn-card::before {
    top: -10px;
    right: -10px;
}

.btn-primary::after,
.btn-card::after {
    bottom: -10px;
    left: -10px;
}

.btn-primary:hover,
.btn-card:hover {
    transform: scale(1.03);
}

.btn-primary:hover::before,
.btn-card:hover::before {
    width: 100px;
    height: 100px;
    opacity: 1;
}

.btn-primary:hover::after,
.btn-card:hover::after {
    width: 40px;
    height: 40px;
    opacity: 1;
}

.btn-primary:active,
.btn-card:active {
    transform: scale(0.98);
}

.btn-primary .fa-spinner {
    display: none;
}

.btn-primary.loading .btn-text {
    display: none;
}

.btn-primary.loading .fa-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* ========================================================= */
/* SEÇÃO SEGMENTOS EDUCACIONAIS                              */
/* ========================================================= */
.segments-section {
    background-color: var(--gray-light);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.segment-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease-out;
    align-items: center;
}

.segment-card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.segment-card .icon-box {
    width: 120px;
    height: 120px;
    background-color: transparent;
}

.segment-card .icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.segment-card h3 {
    color: var(--blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.segment-card p {
    margin-bottom: 15px;
    font-weight: 400;
}

.segment-details {
    font-weight: 700;
    color: var(--blue);
}

/* ========================================================= */
/* SEÇÃO MISSÃO, VISÃO E VALORES (MVV)                       */
/* ========================================================= */
#mvv-section {
    padding-bottom: 80px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background-color: var(--blue);
    color: var(--white);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.mvv-header {
    text-align: center;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.mvv-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.mvv-header .mvv-title {
    font-size: 1.8rem;
}

.mvv-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--yellow);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    text-align: center;
}

.mvv-card:hover .mvv-content,
.mvv-card.active .mvv-content {
    transform: translateY(0);
}

.mvv-card:hover .mvv-header,
.mvv-card.active .mvv-header {
    transform: translateY(-150px);
    opacity: 0;
}


.mvv-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 600;
}

.mvv-grid .mvv-card:nth-child(1) .mvv-content {
    background-image: linear-gradient(rgba(35, 63, 147, 0.8), rgba(35, 63, 147, 0.2)), url('../imagens/kids/1.jpg');
}

.mvv-grid .mvv-card:nth-child(2) .mvv-content {
    background-image: linear-gradient(rgba(35, 63, 147, 0.8), rgba(35, 63, 147, 0.2)), url('../imagens/kids/15.jpg');
}

.mvv-grid .mvv-card:nth-child(3) .mvv-content {
    background-image: linear-gradient(rgba(35, 63, 147, 0.8), rgba(35, 63, 147, 0.2)), url('../imagens/pandinha.png');
}


/* ========================================================= */
/* SEÇÃO PROPOSTA PEDAGÓGICA                                 */
/* ========================================================= */
.pedagogical-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0 0 0;
    background-color: #f0f8ff;
}

.pedagogical-section h2 {
    font-size: 37px;
}

.pedagogical-hero-image-container {
    width: 100%;
    height: auto;
    margin-top: 40px;
    line-height: 0;
}

.pedagogical-hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================================= */
/* SEÇÃO CITAÇÃO                                             */
/* ========================================================= */
.quote-section {
    background-color: var(--gray-light);
    text-align: center;
}

.quote-section .container {
    max-width: 800px;
}

.quote-section blockquote {
    font-size: 1.8rem;
    color: var(--blue);
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
    position: relative;
    padding: 0 40px;
    text-align: center;
}

.quote-line-2 {
    display: block;
}

.quote-section blockquote::before,
.quote-section blockquote::after {
    content: "“";
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--yellow);
    position: absolute;
    line-height: 1;
}

.quote-section blockquote::before {
    top: -15px;
    left: -15px;
}

.quote-section blockquote::after {
    content: "”";
    bottom: -45px;
    right: -15px;
}

/* ========================================================= */
/* SEÇÃO CONTATO                                             */
/* ========================================================= */

/* Seção Contato */
.contact-section {
    background-color: #fff;
    padding: 60px 0;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Responsivo para mobile */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-container {
        padding: 20px;
    }
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
    font-family: inherit;
}

.contact-form label {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #888;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: transparent;
}

/* Animação do Label (Floating Label) */
.contact-form input:focus+label,
.contact-form input:not(:placeholder-shown)+label,
.contact-form textarea:focus+label,
.contact-form textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: #1e3a8a;
    background-color: #fff;
    padding: 0 5px;
    font-weight: 600;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    background-color: #fff;
}

/* Container da Série (Animação de aparecer) */
#serie_interesse_container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 0;
}

#serie_interesse_container.visible {
    max-height: 100px;
    opacity: 1;
    margin-bottom: 20px;
}

/* Botão */
.btn-primary {
    width: 100%;
    padding: 16px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #1e3a8a;
}

/* ========================================================= */
/* SEÇÃO REDES SOCIAIS                                       */
/* ========================================================= */
.social-media-container {
    padding: 140px 0;
    position: relative;
    background-color: var(--yellow);
    overflow: hidden;
}

.social-media-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M1440,64L1380,58.7C1320,53,1200,43,1080,42.7C960,43,840,53,720,69.3C600,85,480,107,360,106.7C240,107,120,85,60,74.7L0,64L0,0L60,0C120,0,240,0,360,0C480,0,600,0,720,0C840,0,960,0,1080,0C1200,0,1320,0,1380,0L1440,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

#social-media {
    scroll-margin-top: 70px;
}

.social-media-section {
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

.social-media-section .container {
    text-align: center;
}

.social-media-section h2 {
    color: var(--blue);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.social-icons-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 160px;
    height: 160px;
    background-color: var(--blue);
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 6px solid transparent;
}

.social-btn i {
    font-size: 3.5rem;
}

.social-btn:hover {
    box-shadow: inset 0 0 0 6px var(--yellow);
}

/* ========================================================= */
/* SEÇÃO FACHADA                                             */
/* ========================================================= */
.fachada-section {
    background-color: var(--blue);
    font-weight: bold;
}

.fachada-section h2 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.fachada-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
}

.fachada-item {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: grid;
    grid-template-columns: 30% 1fr 30%;
    align-items: center;
    gap: 30px;
    color: var(--gray-dark);
    position: relative;
    overflow: hidden;
    border: none;
}

.fachada-item:first-child::before,
.fachada-item:first-child::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--blue-dark), #5c97d4, var(--blue-dark));
    z-index: 1;
}

.fachada-item:first-child::before {
    top: 0;
}

.fachada-item:first-child::after {
    bottom: 0;
}


.fachada-image-container {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.fachada-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.fachada-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.fachada-info {
    text-align: center;
}

.fachada-info h3 {
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 15px;
    font-weight: bold;
}

.fachada-info p {
    font-size: 1.1rem;
    font-weight: bold;
}

.fachada-map {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.fachada-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fachada-item.fachada-kids {
    padding-top: 45px;
    padding-bottom: 45px;
}

.fachada-item.fachada-kids::before,
.fachada-item.fachada-kids::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--orange) 0%, var(--yellow) 50%, var(--orange) 100%);
    z-index: 1;
}

.fachada-item.fachada-kids::before {
    top: 0;
}

.fachada-item.fachada-kids::after {
    bottom: 0;
}

.fachada-item.fachada-kids .fachada-info h3 {
    color: var(--orange);
}

.footer {
    background-color: var(--blue);
    color: var(--white);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 70px;
}

.kids-logo-footer {
    height: 100px;
}

.divider-bar {
    width: 2px;
    height: 70px;
    background-color: var(--yellow);
}

.footer-social-icons {
    display: flex;
    gap: 20px;
}

.footer-social-icons a {
    color: var(--white);
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-social-icons a:hover {
    color: var(--yellow);
    transform: translateY(-3px);
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 0, 0.5);
    padding-top: 20px;
    text-align: center;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================= */
/* SEÇÃO DIFERENCIAIS (COM DOIS CARDS) - ATUALIZADO          */
/* ========================================================= */

.parallax-diferenciais {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--blue-dark);
}

/* O container organiza os cards lado a lado, à esquerda */
.parallax-diferenciais .container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    /* Coloca os cards em linha */
    justify-content: flex-start;
    /* Alinha o grupo de cards à esquerda */
    gap: 15px;
    /* Espaço entre os dois cards */
    padding-left: 7%;
    margin-left: -5%;
    /* Adiciona um respiro geral da borda esquerda (ajuste se necessário) */
}

/* Vídeo e Overlay (sem alterações) */
.parallax-diferenciais #video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
}

.parallax-diferenciais::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Estilo dos Cards (menores e lado a lado) */
.diferenciais-card {
    background-color: rgba(35, 63, 147, 0.85);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 30px;
    /* Reduzido para caber melhor */
    border-radius: 12px;
    /* Reduzido um pouco */

    /* LARGURA AJUSTADA: Cada card ocupa aprox. 40% do container */
    flex-basis: 40%;
    /* Define a largura base de cada card */
    max-width: 450px;
    /* Limite máximo para cada card */

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    margin-left: 0;
    /* Container controla o posicionamento */
}

/* Ajustes internos do card (fontes e ícones menores) */
.diferenciais-card h3 {
    color: var(--yellow);
    font-size: 1.8rem;
    /* Título menor */
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--yellow);
    display: inline-block;
}

.diferenciais-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
    /* Espaço entre itens menor */
}

.diferencial-item-titulo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.diferencial-item-titulo i {
    color: var(--yellow);
    font-size: 1.2rem;
    /* Ícone menor */
    width: 20px;
    text-align: center;
}

.diferencial-item-titulo strong {
    font-size: 0.95rem;
    /* Título do item menor */
    font-weight: 700;
    color: var(--white);
}

.diferenciais-card ul li p {
    margin: 0 0 0 32px;
    font-weight: 400;
    color: #f0f8ff;
    line-height: 1.6;
    font-size: 0.9rem;
    /* Descrição menor */
    padding-bottom: 5px;
}

/* --- Responsividade --- */
@media (max-width: 1200px) {

    .diferenciais-card {
        flex-basis: 45%;
        /* Ajusta a base para telas um pouco menores */
    }
}


@media (max-width: 992px) {
    .parallax-diferenciais .container {
        flex-direction: column;
        /* Empilha os cards */
        align-items: center;
        /* Centraliza os cards empilhados */
    }

    .diferenciais-card {
        width: 10%;
        max-width: 450px;
        margin-bottom: 30px;
        flex-basis: auto;
        /* Reseta a base flex */
    }

    .diferenciais-card:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .parallax-diferenciais {
        min-height: 100%;

    }

    .diferenciais-card {
        width: 10%;
        padding: 9px;
    }

    .diferenciais-card h3 {
        font-size: 1.6rem;
        /* Título ainda menor */
    }

    .diferencial-item-titulo strong {
        font-size: 0.9rem;
    }

    .diferenciais-card ul li p {
        font-size: 0.85rem;
    }
}

/* ========================================================= */
/* BOTÃO FIXO "AGENDAR VISITA" (CONECTADO AO RODAPÉ)         */
/* ========================================================= */

.agendar-visita-cta {
    display: block;
    position: fixed;
    bottom: 0;
    /* ESSENCIAL: Conecta o botão ao "chão" da tela */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    /* Estilo do botão */
    background-color: var(--yellow);
    padding: 10px 25px;
    /* Arredonda apenas os cantos de cima para dar o efeito de "ancorado" */
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    /* Sombra apenas para cima */
    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);
    /* Efeito de "subir" levemente no hover */
    box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.2);
}

.agendar-visita-cta a i {
    font-size: 1.2rem;
}



/* ========================================================= */
/* SEÇÃO PARCEIROS                                           */
/* ========================================================= */
.partners-section {
    padding-bottom: 80px;
    background-color: var(--gray-light);
}

.partners-carousel {
    position: relative;
    margin: 0 20px;
}

.partners-carousel .partner-item {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin: 0 15px;
    cursor: grab;
}

.partners-carousel .partner-item img {
    max-width: 150px;
    max-height: 90px;
    transition: transform 0.3s ease;
}

.partners-carousel .partner-item:hover img {
    transform: scale(1.05);
}

.partners-link-container {
    margin-top: 60px;
    text-align: center;
}

.partners-carousel .slick-prev,
.partners-carousel .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    transform: translateY(-50%);
    cursor: pointer;
    border: none;
    outline: none;
    background: var(--blue);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.partners-carousel .slick-arrow:hover {
    background: var(--yellow);
    transform: translateY(-50%) scale(1.1);
}

.partners-carousel .slick-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.partners-carousel .slick-arrow:focus {
    background: var(--blue);
    outline: none;
}

.partners-carousel .slick-arrow:focus:before {
    color: var(--white);
}

.partners-carousel .slick-arrow.slick-disabled {
    background-color: #cccccc;
    opacity: 0.6;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.partners-carousel .slick-prev {
    left: -25px;
}

.partners-carousel .slick-next {
    right: -25px;
}

.partners-carousel .slick-prev:before,
.partners-carousel .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    transition: color 0.3s ease;
}

.partners-carousel .slick-prev:hover:before,
.partners-carousel .slick-next:hover:before {
    color: var(--blue);
}

.partners-carousel .slick-prev:before {
    content: '\f053';
}

.partners-carousel .slick-next:before {
    content: '\f054';
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--blue);
}

.slick-dots li.slick-active button:before {
    color: var(--yellow);
    opacity: 1;
}

/* ========================================================= */
/* BOTÕES FLUTUANTES (WhatsApp / Panda) - CORREÇÃO RESPONSIVA */
/* ========================================================= */
.fab-container {
    position: fixed;
    bottom: 20px;
    /* Posição padrão (desktop) */
    right: 20px;
    /* Posição padrão (desktop) */
    display: flex;
    /* --- MUDANÇA AQUI: Padrão LADO A LADO --- */
    flex-direction: row;
    gap: 15px;
    /* Espaço entre os botões */
    z-index: 1000;
}

.fab-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.fab-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.fab-icon i {
    color: var(--white);
    font-size: 1.8rem;
}

.whatsapp-fab {
    background-color: #25D366;
    /* Cor do WhatsApp */
}


/* ========================================================= */
/* 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);
    }
}

/* Tablet e Mobile (Regras que se aplicam a partir daqui) */
@media (max-width: 992px) {

    /* --- 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;
    }
}