: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: #E84919; }
.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/metodo-treini/Banner-superior-8.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: #E84919;
    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;
    }
}


/*--*/





/* Estilo Base para as Seções de Conteúdo */
.aprendizagem-grid, .recursos-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

/* Títulos em Azul Marinho e Caixa Alta */
.aprendizagem-content h2, .recursos-content h2

 {
    color: #002d62;
    font-size: 35px;
    font-weight: 750;
    line-height: 1.1;
    
}

.aprendizagem-content p, .recursos-content p {
    color: #444;
    font-size: 20px;
    line-height: 1.45;
    text-align: justify;
    font-weight: 500;
}

/* Imagens */
.aprendizagem-img, .recursos-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.aprendizagem-img img, .recursos-img img {
    max-width: 70%;
    height: auto;
    border-radius: 15px; /* Caso não sejam PNGs transparentes */
}

.aprendizagem-content, .recursos-content {
    flex: 1;
}



 .aprendizagem-grid{

padding: 10px;

 }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .aprendizagem-grid, .recursos-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .aprendizagem-content p, .recursos-content p {
        text-align: center;
    }

    /* No mobile, a imagem sempre aparece antes do texto para melhor fluxo */
    .recursos-grid {
        flex-direction: column-reverse;
    }

    .aprendizagem-content h2, .recursos-content h2 {
        font-size: 24px;
    }
}





/* ---- */




.section-caracteristicas {
    background-color: #ffffff;
    text-align: center;
}

.caracteristicas-header h2 {
    color: #002d62; /* Azul Marinho padrão Grupo TREINI */
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 50px;
}

.caracteristicas-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap; /* Garante que quebre linha no mobile */
    margin: 30px;
}

.caracteristica-card {
    background-color: #fdefea; /* Fundo levemente rosado/bege conforme a imagem */
    padding: 10px 25px;
    border-radius: 20px;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease;
}

.caracteristica-card:hover {
    transform: translateY(-5px);
}

.caracteristica-card h3 {
    color: #f15a24; /* Laranja vibrante dos títulos */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.caracteristica-card p
 {
    font-weight: 500;
    color: #002d62;
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .caracteristicas-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .caracteristica-card {
        width: 100%;
        max-width: 600px;
    }
}




/*  --- */



.section-metodo-treini {
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: #ffffff;
}

.metodo-treini-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 30px;
}

.metodo-treini-content {
    flex: 1;
}

.metodo-treini-content h2 {
    color: #002d62; /* Azul Marinho profundo */
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 25px;
}

.metodo-treini-content .description {
    font-size: 22px;
    color: #002d62;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Estilização dos tópicos com Check laranjas */
.treini-features {
    list-style: none;
    padding: 0;
}

.treini-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #002d62;
    margin-bottom: 2px;
}

.treini-features li i {
    color: #f15a24; /* Laranja característico para o check */
    font-size: 18px;
}

/* Container da Imagem com Fundo Azul Curvado */
.metodo-treini-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container-blue {
    
   
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.image-container-blue img {
    max-width: 100%;
    height: auto;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .metodo-treini-grid {
        flex-direction: column-reverse; /* Imagem fica em cima no mobile */
        text-align: center;
    }

    .treini-features li {
        justify-content: center;
    }

    .metodo-treini-content h2 {
        font-size: 28px;
    }
}





/* ---- */


.intervencao-header {
    text-align: center;
    margin-bottom: 50px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid #f15a24;
    background: transparent;
    color: #f15a24;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #f15a24;
    color: #fff;
}

/* Controle de Exibição */
.tab-content {
    display: none; /* Esconde por padrão */
}

.tab-content.active {
    display: block; /* Mostra apenas o ativo */
    animation: fadeIn 0.5s ease;
}

.intervencao-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.intervencao-card {
    background: #fff;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 450px;
    font-weight: 500;
    font-size: 17px;
}

.blue-box {
   
    border-radius: 30px;
    padding: 10px;
    display: flex;
    justify-content: center;
    width: 350px;
}

.blue-box img {
    max-width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* --- RESPONSIVIDADE PARA INTERVENÇÃO --- */
@media (max-width: 992px) {
    .intervencao-grid {
        flex-direction: column; /* Empilha o texto e a imagem */
        text-align: center;
        gap: 20px;
    }

    .intervencao-card {
        max-width: 100%; /* Ocupa a largura total disponível */
        padding: 25px;
        font-size: 16px;
    }

    .blue-box {
        width: 100%; /* Ajusta o box da imagem ao container */
        max-width: 320px; /* Evita que a imagem fique gigante em tablets */
        margin: 0 auto;
    }

    .intervencao-header h2 {
        font-size: 24px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .tab-buttons {
        flex-direction: column; /* Em celulares muito pequenos, empilha os botões */
        align-items: center;
        gap: 10px;
    }

    .tab-btn {
        width: 100%;
        max-width: 280px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .intervencao-card {
        font-size: 15px;
        line-height: 1.5;
    }
}



/* ---- */




.section-tecnologias {
    padding: 60px;
    background-color: #fdf5f2; /* Fundo levemente rosado conforme imagem */
    margin-bottom: 50px;
}

.tecnologias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 30px;
}

.tech-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden; /* Garante que a imagem respeite o arredondamento */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.tech-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tech-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tech-card-body h3 {
    color: #002d62;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.tech-card-body p {
    font-weight: 500;
    font-size: 10px;
    color: #666;
    font-size: 19px;
    line-height: 1.1;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-saiba-mais {
    color: #f15a24; /* Laranja da marca */
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
}

.btn-saiba-mais:hover {
    gap: 15px;
}

/* Centralização da Ilustração */
.tech-turminha-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-turminha-visual img {
    max-width: 80%;
    height: auto;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .tecnologias-grid {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
    }
    
    .tech-turminha-visual {
        order: 4; /* Garante que a imagem fique por último no mobile */
        margin-top: 20px;
    }
}





/* -----------------------------------------------------------------------------------------------------*/

.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;
    }
}
