html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b2403d;
    --secondary-color: #4A4B57;
    --accent-color: #EAE0C8;
    --text-color: #2c2c2c;
    --light-bg: #fafafa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 60px;
    width: auto; 
    display: block;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero / Slide */
.hero {
    margin-top: 70px;
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Adicione no final do styles.css */

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cobrir todo o espaço sem esticar/deformar */
    z-index: 1; /* Fica atrás do texto */
}

/* Camada escura para o texto branco aparecer em cima da foto */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Escurece 50% */
    z-index: 2;
}

/* Ajuste para o conteúdo ficar acima da imagem e da sombra */
.slide-content {
    z-index: 3; 
    position: relative;
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.slide-controls button {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slide-controls button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slide-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.3);
}

/* Seções */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* História */
.historia {
    background: var(--light-bg);
}

.historia-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.historia-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.historia-image {
    text-align: center;
}

.historia-image i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* Propósito */
.proposito {
    background: var(--white);
}

.proposito-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.proposito-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.proposito-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary-color);
}

.card-icon {
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.proposito-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.proposito-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Escolas */
.escolas {
    background: var(--white);
}

.escolas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.escola-card {
    background: var(--white);
    padding: 0;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.escola-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.escola-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.escola-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.escola-card:hover .escola-image img {
    transform: scale(1.1);
}

.escola-icon {
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.escola-icon i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.escola-card h3 {
    color: var(--secondary-color);
    margin: 1.5rem 1.5rem 1rem;
    font-size: 1.3rem;
}

.escola-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4285F4;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 1.5rem 1.5rem;
    transition: all 0.3s ease;
    width: calc(100% - 3rem);
    justify-content: center;
}

.btn-maps:hover {
    background: #357ae8;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.btn-maps i {
    font-size: 1rem;
}

/* Uniformes */
.uniformes {
    background: var(--light-bg);
}

.uniformes-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.uniformes-header {
    text-align: center;
    margin-bottom: 3rem;
}

.btn-ver-todos {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-ver-todos:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-ver-todos i {
    font-size: 1.2rem;
}

.uniformes-grid {
    display: grid;
    /* Mudei de 300px para 240px. 
       Isso permite que caibam 4 cartões em telas de computador padrão */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem; /* Diminuí levemente o espaço entre eles para ajudar a caber */
    margin-bottom: 4rem;
}

.uniforme-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;

    height: 100%;
}

.uniforme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.uniforme-image {
    margin-bottom: 1.5rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
}

.uniforme-image i {
    font-size: 3.5rem;
}

.uniforme-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.uniforme-desc {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.uniforme-preco {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    /* ADICIONE ESTAS LINHAS: */
    display: flex;             /* Organiza os números em linha */
    justify-content: center;   /* Mantém o bloco centralizado na tela */
    align-items: center;       /* Alinha a altura deles */
    
    /* O TRUQUE PARA JOGAR PARA A ESQUERDA: */
    transform: translateX(-40px); /* O valor negativo empurra para a ESQUERDA */
    vertical-align: bottom;
}
.uniforme-preco2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    /* ADICIONE ESTAS LINHAS: */
    display: flex;             /* Organiza os números em linha */
    justify-content: center;   /* Mantém o bloco centralizado na tela */
    align-items: center;       /* Alinha a altura deles */
    vertical-align: bottom;
}

.preco-antigo {
    text-decoration: line-through; /* Risco no meio */
    color: #4A4B57; /* Cor cinza */
    font-size: 1.0rem; /* Letra menor */
    margin-right: 10px; /* Espaço entre os preços */
    vertical-align: super; /* Joga o texto para cima */
}

.preco-antigo2 {
    text-decoration: line-through; /* Risco no meio */
    color: #000000; /* Cor cinza */
    vertical-align: super; /* Joga o texto para cima */
}

.btn-comprar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.btn-comprar:hover {
    background: #20ba5a;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-comprar i {
    font-size: 1.2rem;
}

/* Contato */
.contato {
    background: var(--white);
}

.contato-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 150px;
    background: var(--light-bg);
}

.social-link i {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.social-link span {
    font-weight: 600;
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.social-link.tiktok:hover {
    background: #000000;
    color: #ffffff;
}

.social-link.youtube:hover {
    background: #FF0000;
    color: #ffffff;
}

.social-link.facebook:hover {
    background: #1877F2;
    color: #ffffff;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.social-link.whatsapp:hover {
    background: #25D366;
    color: #ffffff;
}

.social-link:hover i {
    transform: scale(1.2);
}

/* Rodapé */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

/* --- Estilo Específico da Setinha de Voltar ao Topo --- */

.setinha-top {
    /* 1. AUMENTANDO O TAMANHO (~2x maior) */
    width: 60px !important;
    height: 60px !important;
    font-size: 2rem !important; /* Aumenta o ícone da seta */
    
    /* 2. POSICIONAMENTO (Ao lado esquerdo do WhatsApp) */
    bottom: 30px !important;
    left: 30px !important;
    
    /* 3. CORES E ANIMAÇÃO */
    background-color: var(--primary-color) !important;
    animation: pulse-gold 2s infinite !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    
    /* Centralizar o ícone no botão grande */
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Garante que fique redonda */
}

.setinha-top:hover {
    background-color: #ce9717 !important;
    transform: scale(1.1); /* Cresce um pouco mais ao passar o mouse */
}

/* Animação Dourada */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); } /* Aumentei o pulso também */
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 15px var(--shadow);
        transition: left 0.3s ease;
    }

    .nav.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .historia-content {
        grid-template-columns: 1fr;
    }

    .historia-image i {
        font-size: 5rem;
    }

    .proposito-grid,
    .escolas-grid,
    .uniformes-grid {
        grid-template-columns: 1fr;
    }

    /* =========================================
       CONTATOS CLEAN (SÓ ÍCONES COLORIDOS)
       ========================================= */
    
    .social-links {
        flex-direction: row !important; /* Lado a lado */
        flex-wrap: wrap;     
        gap: 25px; /* Espaço entre os ícones */
        justify-content: center;
        margin-top: 1rem;
    }

    .social-link {
        /* Removemos todas as "caixas" */
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        
        /* Remove movimento */
        transform: none !important;
    }

    /* Esconde o texto, deixa só o ícone */
    .social-link span {
        display: none;
    }

    /* Aumenta o ícone para ficar clicável e visível */
    .social-link i {
        font-size: 2.5rem; /* Tamanho grande e bonito */
        transition: none !important;
    }

    /* --- APLICAR AS CORES NO PRÓPRIO ÍCONE --- */
    
    .social-link.whatsapp i {
        color: #25D366 !important;
    }

    .social-link.facebook i {
        color: #1877F2 !important;
    }

    .social-link.youtube i {
        color: #FF0000 !important;
    }

    .social-link.tiktok i {
        color: #000000 !important;
    }

    /* Truque para o degradê do Instagram no Ícone */
    .social-link.instagram i {
        /* 1. O Degradê de fundo */
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        
        /* 2. Recorta o fundo no formato do texto/ícone */
        -webkit-background-clip: text;
        background-clip: text; /* Versão padrão para navegadores modernos */
        
        /* 3. O SEGREDO: Deixa o ícone transparente para mostrar o fundo */
        -webkit-text-fill-color: transparent;
        color: transparent; 
        
        /* 4. Importante para ícones: garante que o bloco respeite o recorte */
        display: inline-block; 
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

     /* =========================================
       AJUSTES COMPACTOS PARA AAB E HISTÓRIA
       ========================================= */

    /* 1. Reduz o espaçamento geral das seções */
    .section.aab, 
    .section.historia {
        padding: 2rem 0 !important; /* Antes era 5rem, diminuímos para 2 */
    }

    /* 2. Aproxima o texto da imagem */
    .historia-content {
        gap: 1.5rem !important; /* Menos espaço entre o texto e a foto */
    }

    /* 3. Texto mais compacto */
    .historia-text p,
    .historia-text li {
        font-size: 0.9rem !important; /* Letra levemente menor */
        line-height: 1.5 !important;  /* Linhas mais próximas */
        margin-bottom: 10px !important;
    }
    
    /* Ajuste da lista de bolinhas */
    .historia-text ul {
        margin-bottom: 15px !important;
        padding-left: 15px !important;
    }

    /* 4. Título da Seção menor */
    /* Ajuste específico para o Título do AAB */
    #aab .section-title {
        font-size: 1.6rem !important; /* Diminuí bem (antes era 1.8 ou 2.5) */
    }

    /* 5. O LOGO DA AAB (Fundo Preto) */
    /* Esse é o segredo para o logo não ficar gigante */
    #aab .historia-image img {
        padding: 10px !important;     /* Diminui a borda preta (sobrescreve o HTML) */
        max-width: 250px !important;  /* Força a ficar pequeno */
        margin: 0 auto;               /* Centraliza */
        display: block;
    }
    
    #aab .historia-image {
        order: -1; /* Joga o Logo para CIMA do texto no celular (fica mais bonito) */
        margin-bottom: 1rem;
        text-align: center;
    }

    /* 6. Botão "Saiba Mais" menor */
    .btn-ver-todos {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
        width: 100%; /* Ocupa a largura toda para ficar fácil de clicar */
        justify-content: center;
    }

    /* =========================================
       PROPÓSITO 2x2 (GRID NO CELULAR)
       ========================================= */

    /* 1. Transforma em Grade de 2 colunas */
    .proposito-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* 1fr 1fr = 50% para cada */
        gap: 10px !important; /* Diminui o espaço entre eles */
        padding: 0 5px;       /* Margem de segurança lateral */
    }

    /* 2. Cartão Mais Compacto */
    .proposito-card {
        padding: 15px 10px !important; /* Menos borda interna */
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza tudo */
        min-height: auto;    /* Remove altura fixa se tiver */
    }

    /* 3. Ícone Menor (Coração, Estrela, etc) */
    .card-icon {
        margin-bottom: 10px !important;
    }
    
    .card-icon i {
        font-size: 2rem !important; /* Reduzi de 3rem para 2rem */
    }

    /* 4. Título (Paixão, Excelência...) */
    .proposito-card h3 {
        font-size: 1rem !important; /* Fonte menor */
        margin-bottom: 5px !important;
    }

    /* 5. Texto Descritivo */
    .proposito-card p {
        font-size: 0.75rem !important; /* Letra bem pequena para leitura rápida */
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
/* Setinha Reforçada */
.seta-baixo {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    
    /* Tamanho e Cor */
    width: 60px;  /* Tamanho fixo ajuda no clique */
    height: 60px;
    font-size: 2.5rem;
    color: var(--primary-color); 
    
    /* Centralizar o ícone na caixa */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* PRIORIDADE MÁXIMA (Z-Index alto para nada cobrir) */
    z-index: 9999; 
    cursor: pointer; /* Mãozinha ao passar o mouse */
    
    /* Animações */
    animation: quicar 2s infinite;
    transition: all 0.5s ease;
    opacity: 1;
    visibility: visible;
    
    /* Sombra para garantir visibilidade */
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Quando ela deve sumir */
.seta-baixo.sumir {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important; /* IMPORTANTE: Impede clicar quando invisível */
    transform: translateX(-50%) translateY(20px); /* Desce um pouco ao sumir */
}

/* Animação Quicar (Mantenha a que você já tem ou use esta) */
@keyframes quicar {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

.seta-baixo:hover {
    opacity: 1;
}


/* =========================================
   AJUSTES PARA CELULAR (Telas menores que 768px)
   ========================================= */
@media (max-width: 768px) {
    
    /* 1. Diminuir a altura do Slide */
    /* No PC costuma ser 100vh (tela toda). No celular, 50vh ou 60vh é melhor */
    .hero {
        height: 60vh; 
        min-height: 400px; /* Garante que não fique muito pequeno em celulares antigos */
    }

    /* 2. Ajuste inteligente do foco da imagem */
    .slide-bg {
        object-fit: cover;
        /* Padrão: Foca no centro (serve para a maioria) */
        object-position: center top; 
    }

    /* Regra para forçar foco na DIREITA */
    .slide-bg.foco-direita {
        object-position: right top !important;
    }

    /* Regra para forçar foco na ESQUERDA */
    .slide-bg.foco-esquerda {
        object-position: left top !important;
    }

    /* 3. Diminuir o tamanho do Texto */
    .slide-content h1 {
        font-size: 2rem; /* Reduz o título gigante */
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 1rem; /* Reduz o subtítulo */
        padding: 0 10px; /* Dá uma margem lateral para não grudar na borda */
    }

    /* =========================================
       SETINHAS DO SLIDE (DISCRETAS E TRANSPARENTES)
       ========================================= */
    
    /* Remove a bolinha de fundo e diminui a seta */
    .slide-controls button {
        background: transparent !important; /* Fundo 100% transparente */
        backdrop-filter: none !important;   /* Remove o embaçado de vidro */
        box-shadow: none !important;        /* Remove sombras */
        border: none !important;
        
        font-size: 1.2rem !important;       /* Tamanho da setinha (menor) */
        
        /* Ajuste para garantir que fiquem alinhadas */
        width: auto !important;
        height: auto !important;
        padding: 10px; /* Mantém uma área invisível clicável para não ficar difícil de acertar o dedo */
    }

    /* Opcional: Se quiser elas mais para os cantos da tela */
    .slide-controls {
        padding: 0 5px !important; /* Diminui a distância da borda */
    }

    /* 4. Ajustar os botões de controle (setinhas) */
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
/* =========================================
   ESTILO DO POP-UP (MODAL)
   ========================================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro transparente */
    z-index: 3000; /* Z-index ALTO para ficar acima de tudo (menu, setinhas, etc) */
    
    /* Centralizar a caixa no meio da tela */
    display: none; /* Começa escondido, o JS vai mostrar */
    align-items: center;
    justify-content: center;
    padding: 20px;
    
    /* Animação suave */
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* A caixa branca */
.popup-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 5px solid var(--primary-color); /* Detalhe colorido no topo */
    
    /* Animação de entrada (zoom) */
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Quando o Pop-up está ativo */
.popup-overlay.mostrar {
    display: flex; /* Aparece */
    opacity: 1;    /* Fica visível */
}

.popup-overlay.mostrar .popup-content {
    transform: scale(1); /* Cresce para o tamanho normal */
}

/* Ícone e Título */
.popup-header i {
    font-size: 3rem;
    color: #25D366; /* Verde WhatsApp */
    margin-bottom: 10px;
}

.popup-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Botão de Fechar (X) */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--primary-color);
}

/* Botão Verde */
.btn-popup {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-popup:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    background: #1ebc57;
}

/* Botão de WhatsApp das Escolas */
.btn-whats-escola {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    /* Cor do WhatsApp */
    background: #25D366; 
    color: var(--white);
    
    /* Mesmas medidas do botão Maps para ficarem iguais */
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    
    /* Margens (Topo pequeno, Lados iguais, Baixo padrão) */
    margin: 0 1.5rem 1.5rem; 
    width: calc(100% - 3rem); /* Ocupa a largura disponível menos as margens */
    
    transition: all 0.3s ease;
}

.btn-whats-escola:hover {
    background: #1ebc57; /* Verde um pouco mais escuro ao passar o mouse */
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-whats-escola i {
    font-size: 1.2rem;
}