:root {
    --AstvColor: #146ff8; /* Azul Padrão */
    --AstvActiveColor: #8cb4ff; /* Azul Claro para links ativos */
    --wp--preset--color--white: #ffffff;
    --wp--style--global--wide-size: 1200px;
    --wp--preset--shadow--natural: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body {
    height: 100%;
}

main {
    flex: 1;
}


body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}




.red    { color: red; }
.blue   { color: #4ac0fd }
.green  { color: green; }
.yellow { color: yellow; }
.orange { color: orange; }
.purple { color: purple; }
.pink   { color: pink; }
.black  { color: black; }
.white  { color: white; }
.gray   { color: gray; }
.brown  { color: brown; }



.bold       { font-weight: bold; }
.semi-bold  { font-weight: 600; }
.light      { font-weight: 300; }

.italic     { font-style: italic; }
.uppercase  { text-transform: uppercase; }
.lowercase  { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }


.text-sm  { font-size: 12px; }
.text-md  { font-size: 16px; }
.text-lg  { font-size: 20px; }
.text-xl  { font-size: 26px; }


.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-decoration { text-decoration: none; }

.container {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAV BASE --- */
.main-header {
    background: var(--wp--preset--color--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    position: relative;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

/* Configuração Geral da Logo (Desktop) */
.logo img { 
    height: 100px;
    width: auto;
    display: block;
    margin-left: 50px; /* Sua margem padrão para desktop */
}

/* --- CORREÇÃO PARA MOBILE (Abaixo de 768px) --- */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: center; /* Centraliza a logo horizontalmente */
        align-items: center;
        position: relative; /* Base para o botão absoluto */
    }

    .logo img {
        margin-left: 0; /* Remove a margem de 50px do desktop */
        height: 90px;   /* Ajuste opcional para telas menores */
    }

    .mobile-menu-btn {
        position: absolute; /* Tira o botão do fluxo para não empurrar a logo */
        left: 20px;        /* Fixa o botão na esquerda */
        margin: 0;
    }
}

.nav-menu ul { 
    display: flex; 
    list-style: none; 
    gap: 25px;
    align-items: center; 
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 20px;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

/* ESTADOS DE COR */
.nav-menu a:hover {
    color: var(--AstvColor) !important;
}

.nav-menu a.active {
    color: #146ff8 !important;
}

.arrow { 
    font-size: 12px; 
    margin-left: 8px; 
    transition: transform 0.3s ease; 
}

/* --- CONFIGURAÇÃO DESKTOP --- */
@media (min-width: 769px) {
    .mobile-menu-btn { display: none; }

    .dropdown { 
        position: relative;
        height: 80px; /* Alinha com a altura do header para manter o hover */
        display: flex;
        align-items: center;
    }

    .submenu {
        position: fixed;
        top: 80px; /* Começa exatamente onde o header termina */
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: #fff;
        min-width: 220px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
        padding: 10px 0;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    /* Ponte invisível para o mouse não perder o foco ao descer */
    .dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 15px;
    }

    .dropdown:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .dropdown:hover .arrow { transform: rotate(180deg); }
}

/* --- CONFIGURAÇÃO MOBILE --- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        background: none; border: none;
        color: var(--AstvColor); font-size: 24px; cursor: pointer;
    }

    .nav-menu {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: white;
        display: none;
        flex-direction: column;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-menu.open { display: flex !important; }
    .nav-menu ul { flex-direction: column; width: 100%; gap: 0; }
    .nav-menu a { padding: 15px 25px; width: 100%; justify-content: space-between; border-bottom: 1px solid #f0f0f0; }

    .submenu {
        display: none !important;
        position: static;
        width: 100%;
        background: #f9f9f9;
        list-style: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
    }

    .submenu.show { display: block !important; }
    .submenu li a { padding-left: 45px; border-bottom: 1px solid #eee; }
}


/* -----------------------------------------------------------------------------------------------------*/



/* --- HERO ESCOLA FULL (Replicando Imagem 7) --- */


/* --- HERO ESCOLA FULL --- */

.hero-escola-full {
    margin-bottom: 50px;
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-image: url("../img/nossa-historia/bghero.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-escola-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    width: 100%;
    max-width: 1200px;

    margin: 0;              /* 🔥 REMOVE CENTRALIZAÇÃO */
    padding-left: 50px;     /* 🔥 JOGA PRA ESQUERDA */
}


/* 🔥 FORÇA o card pra esquerda */
.escola-card-floating {
    background: #ffffff;
    padding: 20px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
    max-width: 500px;
    text-align: left;
    margin-left: 0;   /* garante esquerda */
}

/* Label */
.escola-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #4ac0fd;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Título */
.escola-card-floating h1 {
    font-size: 36px;
    color: #002d62;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}


/* --- RESPONSIVIDADE (Mobile) --- */
@media (max-width: 768px) {
    .hero-escola-full {
        min-height: auto; /* Deixa o conteúdo ditar a altura */
        padding: 40px 20px;
    }

    .hero-escola-container {
        justify-content: center; /* Centraliza o card no mobile */
    }

    .escola-card-floating {
        padding: 30px;
        text-align: center;
        border-radius: 15px;
    }

    .escola-label {
        justify-content: center;
    }

    .escola-card-floating h1 {
        font-size: 28px;
    }
}


/*---------------@------------*/








/* Container da seção */
.secao-paixao {
    padding: 60px 20px;
    background-color: #ffffff;
}

.container {
    max-width: 1200px; /* Define a largura máxima da seção */
    margin: 0 auto;
    text-align: center;
}

/* Título */
.titulo-secao {
    font-size: 2.5rem;
    color: #002d5e; /* Azul escuro corporativo */
    margin-bottom: 40px;
}

/* Container da Foto */
.imagem-container {
    width: 100%;
}

/* A foto em si */
.foto-equipe {
    width: 100%;
    height: auto; /* Mantém a proporção original */
    border-radius: 10px; /* Suaves cantos arredondados */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra leve para destaque */
    display: block;
}

/* Responsividade (Celular) */
@media (max-width: 768px) {
    .titulo-secao {
        font-size: 1.8rem; /* Diminui a fonte em telas menores */
    }
    
    .secao-paixao {
        padding: 40px 15px;
    }
}




/* ----- */




/* Container Geral */
.section-biografia-video { padding: 60px 20px; background-color: #fff; }
.container-biografia { max-width: 1000px; margin: 0 auto; }

/* Bloco Bio */
.bio-card { 
    display: flex; 
    align-items: flex-start; 
    gap: 40px; 
    margin-bottom: 60px; 
}
.bio-foto { 
    max-width: 400px; 
    border-radius: 15px; 
    flex-shrink: 0; 
}

.bio-texto h2 { 
    
    color: #002d5e; 
    margin-bottom: 15px;
    font-size: 2.4rem;
    text-align: left;
    
}


.bio-texto p { 
    
    color: #333; 
    
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.4rem;     /* 🔥 aumenta o tamanho */
    line-height: 1.3;
    text-align: left;  }


/* Bloco Vídeo (Aspect Ratio 16:9) */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsividade (Celular) */
@media (max-width: 768px) {
    .bio-card { flex-direction: column; align-items: center; text-align: center; }
    .bio-foto { width: 150px; }
}




/* ---------- */


/* Container Principal */
.timeline-section { padding: 80px 20px; background-color: #fff; }
.container-timeline { max-width: 1100px; margin: 0 auto; display: flex; gap: 60px; }

/* Cabeçalho Fixo (Esquerda) */
.timeline-header { flex: 1; position: sticky; top: 20px; height: fit-content; }
.timeline-header h2 { font-size: 2.5rem; color: #002d5e; }

/* Conteúdo da Linha do Tempo (Direita) */
.timeline-content { flex: 2; display: flex; flex-direction: column; gap: 25px; }

/* Cards */
.timeline-card { 
    background-color: #f4f9ff; 
    padding: 30px; 
    border-radius: 15px; 
    border-left: 5px solid #0077b6; /* Detalhe azul na borda */
}
.year-badge { 
    display: inline-block; 
    background-color: #0077b6; 
    color: white; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-weight: bold; 
    margin-bottom: 15px; 
}
.timeline-card p { margin-bottom: 10px; line-height: 1.3; color: #333; font-weight: 450; font-size: 1.3rem;}
.timeline-card ul { margin-left: 20px; margin-bottom: 15px; }

/* Responsividade (Celular) */
@media (max-width: 768px) {
    .container-timeline { flex-direction: column; gap: 30px; }
    .timeline-header { position: static; text-align: center; }
}




/* ----------- */


/* Layout Geral */
.section-principios { padding: 80px 20px; background-color: #F4F8FB; }
.section-title1 { text-align: center; font-size: 1.4rem; color: #00B1ED; }
.section-title2 { text-align: center; font-size: 2.3rem; color: #002d5e; margin-bottom: 50px; }

/* Cards */
.card-principio { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    background: white; 
    padding: 30px; 
    border-radius: 15px; 
    margin-bottom: 30px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 

    transition: 0.3s ease;
}

.card-principio:hover{

     transform: translateY(-8px); /* sobe */
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); /* sombra mais forte */
}


.card-content { flex: 1; }
.card-content h3 { color: #002d5e; margin-bottom: 15px; font-size: 2.4rem;  text-align:left;}
.card-content p { line-height: 1.3; color: #444; text-align:left; font-size: 1.4rem; font-weight: 500;} 

/* Imagens */
.card-image { flex: 1; }
.card-image img { 
    width: 100%; 
    height: 300px; /* Altura fixa para manter o design limpo */
    object-fit: cover; 
    border-radius: 10px; 
}

/* Responsividade: Celular */
@media (max-width: 768px) {
    .card-principio { flex-direction: column; text-align: center; }
    .card-image { order: -1; } /* Coloca a imagem acima do texto no celular */
}






/* ------- */



/* Configurações Gerais */
.section-turminha {
    padding: 80px 20px;
    background-color: #ffffff; /* Fundo branco da seção */
}

.container-flex {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px; /* Espaço entre texto e imagem */
}

/* Coluna de Texto (Esquerda) */
.turminha-texto {
    flex: 1;
    max-width: 450px;
}

.turminha-texto h2 {
    color: #002d5e; /* Azul escuro corporativo */
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
}

.turminha-texto p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.link-conheca {
    color: #00a2ff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s ease;

    display: inline-block; /* 🔥 ESSENCIAL */
}

.link-conheca:hover {
    transform: translateY(-7px);
}

/* Coluna da Imagem (Direita) */
.turminha-imagem-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* O fundo azul escuro arredondado atrás da imagem */
.fundo-escuro-arredondado {
    padding: 40px;
    border-radius: 20px; /* Cantos arredondados */
    display: inline-block;
    
}

.img-personagens {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsividade (Celular) */
@media (max-width: 768px) {
    .container-flex {
        flex-direction: column; /* Empilha colunas */
        text-align: center; /* Centraliza texto no mobile */
        gap: 30px;
    }

    .turminha-texto h2 {
        font-size: 1.8rem;
    }

    .fundo-escuro-arredondado {
        padding: 20px;
        width: 100%; /* Ocupa largura total no mobile */
    }
}




/* -----------------------------------------------------------------------------------------------------*/

.main-footer {
    background-color: #f8fbff; /* Fundo leve para contraste */
    padding: 80px 0 0 0;
    border-top: 1px solid #e1e8f0;
    color: #002d62;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
}

/* Coluna da Logo */
.footer-brand {
    flex: 1 1 250px;
}

.footer-logo {
    max-width: 90px;
    margin-bottom: 30px;
}

.social-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 22px;
    color: #002d62;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #146ff8; /* Azul destaque no hover */
}

/* Colunas de Links */
.footer-links {
    flex: 1 1 180px;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #002d62;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
    font-weight: 600;
}

.footer-links ul li a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #146ff8;
    padding-left: 5px; /* Efeito suave de deslocamento */
}

/* Utilitários */
.mt-20 { margin-top: 30px; }

/* Barra de Copyright */
.footer-bottom {
    background: linear-gradient(to bottom, #4ac0fd, #246c94, #12394e);
    padding: 20px 0;
    color: #fff;
    text-align: center;
    font-size: 14px;

    border-top: 1.5px solid #000000;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links ul li a:hover {
        padding-left: 0;
    }
}
