: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; 
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}


.red    { color: red; }
.blue   { color: #36A0FC }
.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 & GRID --- */
/* Container que segura o texto e a imagem */
.hero-layout {
    display: flex;
    align-items: center;      /* Centraliza verticalmente */
    justify-content: space-between; /* Espaça os dois lados */
    gap: 40px;                /* Espaço entre texto e imagem */
    padding: 60px 20px;
}

/* Ajustes do Texto */
.hero-text {
    flex: 1;                  /* Ocupa metade do espaço */
}

.hero-text h3 {
    color: var(--AstvColor);
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Ajustes da Imagem */
.hero-image {
    flex: 1;                  /* Ocupa a outra metade */
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;          /* Não deixa a imagem vazar */
    height: auto;
    border-radius: 15px;      /* Opcional: cantos arredondados */
}

/* --- RESPONSIVIDADE (Mobile) --- */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column; /* Empilha: Texto em cima, Imagem embaixo */
        text-align: center;     /* Centraliza o texto no mobile */
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-image {
        order: -1;              /* Opcional: coloca a imagem ACIMA do texto no mobile */
        margin-bottom: 20px;
    }
}





.hero-section {
    width: 100%;
    min-height: 85vh;
    background: url("img/Banner-superior-7.jpg") no-repeat center center / cover;
    display: flex;
    align-items: center;
    padding: 40px 0;
    overflow: hidden; /* Evita que a imagem da criança vaze */
}

.hero-layout {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha se não houver espaço */
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* --- LADO DO TEXTO --- */
.hero-text-content {
    flex: 1 1 450px; /* Cresce, diminui e tem base de 450px */
    color: #fff;
}

.hero-subtitle {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

.hero-text-content h1 {
    font-size: clamp(2rem, 5vw, 3rem); /* Fonte fluida: min 2rem, ideal 5vw, max 3rem */
    margin: 20px 0;
    line-height: 1.1;
}

/* --- LADO VISUAL --- */
.hero-visual-content {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.image-container img {
    max-height: 450px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Grupo de Boxes e Botões */
.info-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: -10px;
    z-index: 10;
}

.info-badge {
    background: #fff;
    color: #4f95ff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.btn-action {
    background: #ff5722;
    color: #fff;
    text-align: center;
   padding: 5px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0rem;
    transition: 0.3s transform;
}

.btn-action:hover { transform: scale(1.05); }

/* --- QUERIES DE RESPONSIVIDADE --- */

/* Tablets e Notebooks Pequenos */
@media (max-width: 1024px) {
    .hero-layout { gap: 20px; }
    .hero-text-content { text-align: center; }
}

/* Mobile (Celulares) */
@media (max-width: 768px) {
    .hero-section { padding: 10px 0; }

.btn-action {
    
   padding: 5px 10px; }

    /* Remove espaços que o texto empurra para baixo */
    .hero-text-content h1, 
    .hero-text-content p { 
        margin-bottom: 5px !important; 
    }

    .hero-layout { 
        gap: 0 !important; /* Zera o espaço entre as colunas flex */
    }
    
    .hero-visual-content {
        flex-direction: column;
        margin-top: -100px !important; /* PUXA A IMAGEM PARA CIMA DO TEXTO */
    }

    .info-group {
        margin-left: 0;
        margin-top: -25px; /* Sobe os boxes brancos sobre a imagem */
        width: 100%;
        align-items: center;
    }

    .info-badge {
        width: 90%;
        text-align: center;
        white-space: normal;
        margin-bottom: 5px; /* Aproxima um box do outro */
    }

    .button-group {
        flex-direction: row;
        width: 90%;
        justify-content: center;
        margin-top: 5px; /* Aproxima os botões dos boxes */
    }
    
    .btn-action { flex: 1; }
}

.hero-text-content p {
    font-size: 1.4rem; /* Aumenta o tamanho (padrão costuma ser 1rem) */
    line-height: 1.2;   /* Melhora o espaçamento entre linhas */
    max-width: 500px;  /* Mantém o texto elegante em vez de esticar muito */
    margin-bottom: 30px; 
}

/* No mobile, você pode ajustar para não ficar grande demais */
@media (max-width: 768px) {
    .hero-text-content p {
        font-size: 1.3rem;
        margin: 0 auto 20px auto; /* Centraliza no mobile */
    }
}

.section-padding { padding: 60px 0; }
.grid-noticias { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--wp--preset--shadow--natural); transition: 0.3s; }
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.tag { background: var(--AstvColor); color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.link-materia { display: inline-block; margin-top: 15px; color: var(--AstvColor); text-decoration: none; font-weight: bold; }










/* --- CONFIGURAÇÕES DE TEXTO --- */
.span-blue-light {
    color: #4a86f7;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/* --- SEÇÃO DE DESTAQUE (MÉTODOS INTENSIVOS) --- */
.highlight-grid {
    padding: 0px 40px 0px 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.highlight-left { flex: 1; }
.highlight-right { flex: 1; color: #444; }

.highlight-left h2 {
    font-size: 28px;
    color: #002d62; /* Azul bem escuro */
    line-height: 1.2;
}

/* --- SEÇÃO MÉTODO TREINI (FUNDO AZUL CLARO) --- */
.section-metodo {
    padding: 0px 40px 0px 40px;
    background-color: #f4f9ff; /* Azul bem clarinho de fundo */
    width: 100%;
}

.metodo-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.metodo-img { flex: 1; }
.metodo-img img {
    width: 100%;
    border-radius: 20px; /* Bordas arredondadas da imagem */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.metodo-content { flex: 1; }

.metodo-content h2 {
    font-size: 32px;
    color: #002d62;
    margin-bottom: 15px;
}

.metodo-list {
    list-style: none;
    margin-top: 25px;
}

.metodo-list li {
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.metodo-list li i {
    color: #ff5722; /* Laranja para os ícones de check */
    font-size: 14px;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .highlight-grid, .metodo-grid {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .metodo-list {
        display: inline-block;
        text-align: left;
    }
}





/* Bloco de destaque suave (o retângulo claro no rodapé do texto) */
.info-highlight-box {
    background-color: #fff5f2; /* Cor pêssego/rosa bem clara da imagem */
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    border-left: 4px solid #ff5722; /* Opcional: detalhe em laranja para combinar */
}

/* Ajuste para alternar a ordem no Desktop se necessário */
/* Como o HTML já foi colocado com o texto primeiro, ele naturalmente ficará à esquerda */

.metodo-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

/* Responsividade para manter a imagem sempre visível e bem posicionada */
@media (max-width: 768px) {
    .metodo-grid {
        flex-direction: column; /* Empilha no mobile */
        text-align: left; /* Mantém o alinhamento de texto à esquerda no mobile */
    }

    .metodo-img {
        order: -1; /* No mobile, a imagem sobe para cima do texto se preferir */
        margin-bottom: 20px;
    }

    .info-highlight-box {
        width: 100%;
    }
}


.btn-saiba-mais {
    display: inline-block;
    background-color: #f15a24;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-saiba-mais:hover {
    background-color: #d94d1a; /* Laranja um pouco mais escuro ao passar o mouse */
    transform: translateY(-2px); /* Efeito leve de flutuação */
}






/* Fundo levemente azulado para a seção inteira se desejar igual à imagem */
.section-programas {
    background-color: #f4f9ff; 
    text-align: left;
   border-radius: 10px;
   padding: 20px;
}

.programas-header h2 {
    color: #002d62;
    font-size: 32px;
    margin-bottom: 15px;
}

.programas-header p {
    color: #444;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
}

/* Container dos Cards */
.programas-grid {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px; /* Espaçamento entre os cards */
}

/* Estilo dos Cards */
.programa-card {
    background: #ffffff;
    border: 2px solid #8cb4ff; /* Borda azul clara conforme a imagem */
    border-radius: 20px;       /* Bordas bem arredondadas */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 150px;
}

.programa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.programa-card img {
    max-height: 80px; /* Ajuste o tamanho das logos */
    width: auto;
    filter: grayscale(0); /* Garante que as cores apareçam */
}

/* Responsividade */
@media (max-width: 768px) {
    .programas-header {
        text-align: center;
    }
    
    .programa-card {
        padding: 20px;
        min-height: 120px;
    }

    .programa-card img {
        max-height: 60px;
    }
}








.section-blog {
    background-color: #f8fbff; /* Fundo levemente azulado */
    text-align: center;
}

.blog-header h2 {
    color: #002d62;
    font-size: 32px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas no desktop */
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden; /* Garante que a imagem respeite o arredondamento do card */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-content {
    padding: 25px;
    text-align: left;
    flex-grow: 1;
}

.blog-tag {
    color: #146ff8;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 18px;
    color: #002d62;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-link {
    color: #146ff8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Ajuste da Imagem para ficar na base */
.blog-img {
    height: 200px;
    width: 100%;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); } /* 2 colunas em tablets */
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; } /* 1 coluna no mobile */
    
    .blog-header h2 { font-size: 24px; }
}












/* -----------------------------------------------------------------------------------------------------*/

.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: 20px;
    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;
    }
}
