:root {
    --primary-color: #002B4A;
    --secondary-color: linear-gradient(90deg, #00A3C4 0%, #3DD28F 100%);
    --text-color: #333333;
    --white: #ffffff;
    --bg-body: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: var(--bg-body);
    overflow-x: hidden;
    padding-top: 80px; /* Empurra o site para baixo (altura aproximada do menu) */

}

.container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    
    /* Comandos para fixar */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    
    z-index: 9999; /* Garante que fique acima de tudo (banners, modais, etc) */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Sombra para destacar do fundo */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* Menu Desktop */
.nav-menu {
    display: block;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    
    /* Configurações para o efeito Hover */
    position: relative;
    transition: color 0.3s ease; /* Suaviza a troca de cor do texto */
}

/* Cria a linha invisível embaixo do link */
.main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0; /* Começa com largura zero */
    height: 3px; /* Altura da linha */
    background-color: #3DD28F; /* Verde da marca */
    transition: all 0.3s ease-in-out; /* Animação suave */
    transform: translateX(-50%); /* Garante que cresça do centro */
    border-radius: 2px;
}

/* Quando passa o mouse no link */
.main-menu > li > a:hover {
    color: #3DD28F; /* Texto fica verde */
}

/* Quando passa o mouse, a linha cresce */
.main-menu > li > a:hover::after {
    width: 100%;
}
/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-top: 3px solid var(--secondary-color);
    border-radius: 0 0 4px 4px;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.submenu li a:hover {
    background-color: #f4f4f4;
    color: var(--primary-color);
}

.main-menu li:hover .submenu {
    display: block;
}

/* Ações Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    color: var(--white);
    font-size: 18px;
    position: relative;
    text-decoration: none;
    transition: transform 0.2s; /* Animação restaurada */
}

.icon-link:hover {
    transform: scale(1.1); /* Efeito hover restaurado */
}

.badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #e74c3c;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

.btn-login {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease; /* Animação restaurada */
}

.btn-login:hover {
    filter: brightness(1.1);
    transform: translateY(-2px); /* Efeito hover restaurado */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Menu Mobile Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* --- BANNER --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/banner-bg.jpg'); /* Caminho corrigido */
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    
    /* Configuração Flex para centralizar verticalmente, mas respeitar container horizontal */
    display: flex;
    align-items: center; 
    justify-content: center; /* Centraliza o container na tela */
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Container específico do slider para garantir alinhamento com logo */
.slide-container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex; /* Permite controlar o conteúdo interno */
    justify-content: flex-start; /* Alinha o conteúdo à esquerda */
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: left;
    /* Removemos qualquer margem extra para garantir alinhamento com a linha vermelha */
    margin-left: 0; 
    padding-left: 0;
}

.slide-content h1 {
    color: var(--primary-color);
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 35px;
    line-height: 1.5;
    max-width: 600px;
}

.btn-cta {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease; /* Animação restaurada */
}

.btn-cta:hover {
    background-color: #d4a860;
    transform: translateY(-2px); /* Efeito hover restaurado */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* --- CONTROLES DO SLIDER (Atualizado) --- */

/* 1. Esconder as setas (botões laterais) definitivamente */
.slider-controls {
    display: none; 
}

/* 2. Mostrar as bolinhas (paginação) no Desktop e Mobile */
.slider-indicators {
    display: flex; /* Visível sempre */
    position: absolute;
    bottom: 30px; /* Ajustei levemente para não ficar colado na borda */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); /* Cor inativa */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Evita pulos na animação */
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.dot.active {
    background: var(--secondary-color); /* Cor ativa (#e0b97a) */
    width: 14px;
    height: 14px;
    transform: scale(1.1); /* Um leve destaque no ativo */
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    
    /* Ajuste do Container para alinhar itens */
    .header-container {
        /* Garante que os itens fiquem na linha correta */
        justify-content: space-between; 
        padding: 0 15px;
    }

    /* 1. Logo (Esquerda) */
    .logo {
        order: 1;
        margin-right: auto; /* Empurra o resto para a direita se sobrar espaço */
    }

    /* 2. Ações: Carrinho, Lupa, Login (Meio/Direita) */
    .header-actions {
        display: flex; /* Garante que apareçam */
        order: 2;
        gap: 12px; /* Espaço entre os ícones e o botão login */
        align-items: center;
        margin-right: 15px; /* Espaço entre o botão Login e o Menu Hambúrguer */
    }

    /* Ajustes visuais nos botões mobile para caberem na tela */
    .btn-login {
        padding: 6px 16px;
        font-size: 13px;
    }
    
    .icon-link {
        font-size: 16px;
    }

    /* 3. Botão Menu (Extrema Direita) */
    .mobile-menu-btn {
        display: block;
        order: 3;
        font-size: 22px;
        cursor: pointer;
    }

    /* --- Menu Dropdown (Comportamento) --- */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: block;
    }

    .main-menu {
        flex-direction: column;
        gap: 0;
    }

    .main-menu > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .submenu {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: none; 
    }
    
    /* Ajustes do Banner no Mobile */
    .slide-content h1 {
        font-size: 28px; /* Texto um pouco menor para não quebrar */
    }
    
    .slider-controls {
        display: none;
    }

    .slider-indicators {
        display: flex;
    }
}





/* --- SEÇÃO DE CURSOS --- */
.courses-section {
    padding-top: 50px;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

/* Abas Principais */
.main-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    background-color: #f0f0f0; /* Cor aba inativa */
    color: var(--primary-color);
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

/* Fundo Verde */
.courses-bg {
    background-color: var(--primary-color);
    padding: 40px 0 60px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sub Filtros (Pílulas) */
.sub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 20px;
}

.filter-pill {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-pill:hover,
.filter-pill.active {
    background-color: #cddc39; /* Verde limão da referencia */
    color: var(--primary-color);
    border-color: #cddc39;
}

/* --- CORREÇÃO DO CARROSSEL (CSS) --- */

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden; /* Garante que não quebre o layout */
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 10px 5px;
    list-style: none;
    
    /* O SEGREDO: Definir a track como o elemento de rolagem sempre */
    width: 100%;
    overflow-x: auto; 
    scroll-behavior: smooth; /* Rolagem suave nativa */
    
    /* Esconder a barra de rolagem (Fica invisível, mas funciona) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE */
}

/* Esconder barra no Chrome/Safari */
.carousel-track::-webkit-scrollbar {
    display: none; 
}

/* Garante que os cards não encolham */
.course-card {
    flex-shrink: 0; 
}

/* CARD ESTILO */
.course-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    min-width: calc(25% - 15px); /* 4 cards por linha desktop */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.card-img {
    height: 180px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-card:hover .card-img img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 15px;
    min-height: 44px; /* Altura fixa para alinhar */
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
}

.card-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.btn-card {
    margin-top: auto;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-card:hover {
    background-color: #d4a860;
}

/* Botões Setas do Carrossel */
.carousel-btn {
    background: none;
    border: none;
    color: #cddc39; /* Verde limão */
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    padding: 0 10px;
}

.carousel-btn:hover {
    color: var(--white);
}

/* Responsividade Cursos */
@media (max-width: 1024px) {
    .course-card {
        min-width: calc(50% - 10px); /* 2 cards tablet */
    }
}

@media (max-width: 768px) {
    .main-tabs {
        flex-direction: column; /* Abas empilhadas mobile */
        width: 100%;
    }
    .tab-btn {
        width: 100%;
        border-radius: 5px;
    }
    
    .course-card {
        min-width: 100%; /* 1 card mobile */
    }

    .carousel-btn {
        display: none; /* Esconde setas no mobile, usa swipe ou só scroll */
    }
    
    .carousel-track {
        overflow-x: auto; /* Scroll nativo no mobile */
        scroll-snap-type: x mandatory;
    }
    
    .course-card {
        scroll-snap-align: center;
    }
}


/* --- 1. ATUALIZAÇÃO DA COR DAS CATEGORIAS --- */
/* Substitua o bloco antigo do .filter-pill:hover, .filter-pill.active por este: */
.filter-pill:hover,
.filter-pill.active {
    background-color: #3DD28F; /* Nova cor solicitada */
    border-color: #3DD28F;
    color: var(--primary-color); /* Texto escuro para contraste */
}

/* --- 2. MOBILE: ESCONDER BARRA E CRIAR PAGINAÇÃO --- */
@media (max-width: 768px) {
    
    .carousel-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        /* Comandos para esconder a barra de rolagem cinza nativa */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE 10+ */
    }
    
    .carousel-track::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    /* Estilo das Bolinhas (Paginacao) */
    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        gap: 8px;
        min-height: 15px;
    }

    .course-dot {
        width: 10px;
        height: 10px;
        background-color: rgba(255, 255, 255, 0.3); /* Branco transparente (fundo é verde) */
        border-radius: 50%;
        transition: all 0.3s;
    }

    .course-dot.active {
        background-color: #3DD28F; /* Amarelo ativo */
        width: 12px;
        height: 12px;
        opacity: 1;
        transform: scale(1.1);
    }
}


/* --- PAGINAÇÃO DOS CURSOS (BOLINHAS) --- */

/* Por padrão (Desktop), esconde as bolinhas dos cursos */
.carousel-dots {
    display: none;
}

/* VERSÃO MOBILE: Ajustes finais */
@media (max-width: 768px) {
    
    /* Remove a barra de rolagem padrão feia */
    .carousel-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE */
    }
    
    .carousel-track::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    /* Mostra e estiliza as bolinhas APENAS no mobile */
    .carousel-dots {
        display: flex !important; /* Força a exibição */
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        gap: 10px;
        width: 100%;
        min-height: 20px;
        z-index: 10;
        position: relative; /* Garante que não fique atrás de nada */
    }

    .course-dot {
        width: 10px;
        height: 10px;
        /* Cor de fundo translúcida para contraste no verde */
        background-color: rgba(255, 255, 255, 0.4); 
        border-radius: 50%;
        transition: all 0.3s ease;
        flex-shrink: 0; /* Impede que amassem */
    }

    .course-dot.active {
        background-color: #3DD28F; /* Amarelo ativo */
        width: 12px;
        height: 12px;
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
    }
}





/* --- SEÇÃO DE ESTATÍSTICAS (NUMEROS) --- */
.stats-section {
    padding: 60px 0;
    background-color: #f4f6f9; /* Fundo cinza bem claro para destacar os cards brancos */
}

.stats-header {
    text-align: center;
    margin-bottom: 50px;
}

.stats-header h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stats-header p {
    color: #333;
    font-size: 16px;
}

/* Grid dos Cards */
.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Card Individual */
.stat-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px 20px;
    width: 220px; /* Largura fixa para ficar igual ao print */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Tipografia dos Números */
.stat-prefix {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: -5px; /* Aproxima do número */
    align-self: flex-start; /* Alinha o "+de" levemente à esquerda visualmente */
    margin-left: 20%;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    margin-bottom: 10px;
}

.big-number {
    font-size: 48px;
    font-weight: 800;
    color: #00A3C4; /* Laranja da referência */
    font-family: 'Open Sans', sans-serif;
}

.small-text-side {
    font-size: 24px;
    font-weight: 700;
    color: #00A3C4; /* Mesmo laranja */
    margin-left: 2px;
}

.stat-desc {
    font-size: 14px;
    color: var(--primary-color);
    line-height: 1.4;
}

/* Responsividade Stats */
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
}





/* --- SEÇÃO DE DEPOIMENTOS (CORRIGIDA) --- */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--primary-color); /* Fundo Verde */
    color: var(--white);
}

.section-header.white-text h2,
.section-header.white-text p {
    color: var(--white);
    text-align: center;
}

/* Wrapper */
.testimonial-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.testimonial-track-container {
    width: 100%;
    overflow: hidden; /* Esconde o que passa das bordas */
}

.testimonial-track {
    display: flex;
    gap: 20px; /* Espaço entre cards */
    padding: 10px 5px;
    list-style: none;
    width: 100%;
    
    /* Configuração de Scroll */
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Obriga a parar no card certo */
    
    /* Esconde barra de rolagem */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }

/* CARD DEPOIMENTO - ESTRUTURA RÍGIDA */
.testimonial-card {
    /* DESKTOP: 3 cards por vez (100% / 3) menos o ajuste do gap */
    flex: 0 0 calc(33.333% - 14px); 
    width: calc(33.333% - 14px);
    
    background: var(--white);
    border-radius: 15px; /* Bordas arredondadas igual referencia */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start; /* Alinha ao inicio */
    height: auto; /* Altura flexivel */
}

/* Conteúdo do Card */
.testimonial-text {
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 10px; /* Foto quadrada com borda arredondada igual ref */
    object-fit: cover;
    filter: grayscale(100%); /* Efeito P&B opcional igual ref, remova se não quiser */
}

.author-info h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.author-info span {
    font-size: 13px;
    color: #666;
}

/* Botões Setas */
.testimonial-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 0 15px;
    z-index: 2;
    transition: transform 0.2s;
}
.testimonial-btn:hover { transform: scale(1.2); }

/* --- RESPONSIVIDADE (CORREÇÃO DO BUG MOBILE) --- */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 10px); /* 2 cards no tablet */
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    /* MOBILE: 1 CARD POR VEZ */
    .testimonial-card {
        flex: 0 0 100%; /* Ocupa 100% da largura */
        width: 100%;
        scroll-snap-align: center; /* Centraliza na tela */
    }

    /* Esconde setas no mobile */
    .testimonial-btn {
        display: none;
    }
    
    /* Bolinhas Mobile */
    .testimonial-dots .course-dot {
        background-color: rgba(255,255,255,0.3);
    }
    .testimonial-dots .course-dot.active {
        background-color: #e0b97a;
    }
}




/* --- SEÇÃO DE PARCEIROS --- */
.partners-section {
    padding: 60px 0;
    background-color: #f4f6f9; /* Fundo cinza claro igual referência */
}

/* Reutiliza o estilo de .section-header padrão (verde) */

.partners-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.partners-track-container {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center; /* Centraliza logos verticalmente */
    gap: 40px; /* Espaço maior entre logos */
    list-style: none;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    
    /* Esconde barra de rolagem */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.partners-track::-webkit-scrollbar { display: none; }

.partner-item {
    flex: 0 0 200px; /* Largura fixa para as logos */
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* Altura máxima para não distorcer */
    filter: grayscale(100%); /* Opcional: deixa cinza. Remova se quiser colorido. */
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-item:hover img {
    filter: grayscale(0%); /* Fica colorido ao passar mouse */
    opacity: 1;
}

/* Setas específicas dos parceiros */
.partner-btn {
    color: #3DD28F; /* Dourado/Amarelo */
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 15px;
    transition: transform 0.2s;
}
.partner-btn:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Responsividade Parceiros */
@media (max-width: 768px) {
    .partner-btn {
        display: none; /* Esconde setas no mobile */
    }
    .partners-track {
        gap: 20px;
    }
    .partner-item {
        flex: 0 0 140px; /* Logos menores no mobile */
    }
}





/* --- SEÇÃO NEWSLETTER --- */
.newsletter-section {
    background-color: var(--primary-color); /* Fundo Verde */
    padding: 60px 0;
    color: var(--white);
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--white);
}

.newsletter-text p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.newsletter-form-wrapper {
    flex: 1;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    outline: none;
}

.btn-newsletter {
    background: #00A3C4; /* Laranja da referência */
    /* OU use var(--secondary-color) se preferir o dourado */
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px; /* Botão arredondado */
    cursor: pointer;
    transition: background 0.3s;
    text-transform: none;
}

.btn-newsletter:hover {
    filter: brightness(1.1);
}

/* --- SEÇÃO SOBRE A EMPRESA --- */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.section-label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsividade dessas seções */
@media (max-width: 768px) {
    /* Newsletter empilhada */
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }

    /* Sobre empilhado */
    .about-container {
        flex-direction: column;
    }
    
    .about-content h2 {
        font-size: 28px;
    }
}





/* --- RODAPÉ (FOOTER) --- */

/* Parte Superior (Fale Conosco) */
.footer-cta {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.footer-cta-title {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 40px;
}

.cta-boxes {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-box {
    background: var(--secondary-color); /* Dourado da marca */
    border-radius: 15px 50px 15px 50px; /* Borda estilizada */
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 350px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.cta-box:hover {
    transform: translateY(-5px);
}

.cta-icon {
    background-color: var(--white);
    color: #3DD28F; /* Laranja escuro para o ícone (destaque) */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
    border: 2px solid var(--white);
}

.cta-content h4 {
    color: var(--primary-color); /* Texto verde sobre o fundo dourado */
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Redes Sociais no Footer */
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    color: var(--primary-color);
    font-size: 20px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--white);
}

.phone-number, .faq-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Parte Inferior (Links) */
.footer-links-area {
    background-color: var(--primary-color); /* Fundo Verde Escuro */
    padding: 60px 0 20px 0;
    color: var(--white);
}

.footer-grid {
    display: grid;
    /* Cria colunas automáticas com largura mínima */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--secondary-color); /* Títulos em Dourado */
}

.footer-col .mt-20 {
    margin-top: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px; /* Efeito de mover pro lado */
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* Responsividade Footer */
@media (max-width: 768px) {
    .cta-boxes {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-box {
        width: 100%;
        max-width: 400px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 coluna em telas muito pequenas */
    }
}



/* --- PÁGINA PARA VOCÊ (GRID FIXO) --- */

.courses-section-page {
    background-color: var(--primary-color); /* Fundo Verde igual Home */
    padding: 40px 0 80px 0;
    min-height: 100vh;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* CONTAINER DE GRADE (GRID SYSTEM) */











/* CORREÇÃO DO GRID DE CURSOS */
.courses-grid-layout {
    display: grid !important;          /* Força ser Grade */
    grid-template-columns: repeat(4, 1fr) !important; /* 4 colunas iguais */
    gap: 30px !important;              /* Espaço entre eles */
    width: auto !important;            /* Ocupa a tela toda */
    box-sizing: border-box !important;
}



.courses-grid-layout .course-card {
    /* O ERRO ESTAVA AQUI: Mude de 'auto' para '100%' */
    width: 100% !important; 
    
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    
    /* Garante alinhamento interno */
    display: flex;
    flex-direction: column;
}

/* FORÇA A IMAGEM A OCUPAR A LARGURA TOTAL */
.courses-grid-layout .course-card .card-img {
    width: 100% !important;
    height: 200px; /* Altura fixa para alinhar as fotos */
}

.courses-grid-layout .course-card .card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}














/* --- PÁGINA DETALHE DO CURSO --- */

/* Seção Hero (Topo Dividido) */
.course-hero {
    display: flex;
    background-color: var(--primary-color);
    min-height: 500px;
    margin-top: -20px; /* Ajuste fino para colar no header se necessário */
}

.course-hero-content {
    display: flex;
    width: 100%;
}

.text-side {
    flex: 1;
    padding: 80px 5% 80px 10%; /* Espaçamento generoso */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 300px; /* Altura mínima no mobile */
}

/* Tipografia Hero */
.category-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.text-side h1 {
    font-size: 42px;
    color: #3DD28F; /* Dourado/Amarelo da marca para destaque */
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-side p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Cápsula de Informação (Pílula Branca) */
.info-pill-container {
    background-color: var(--white);
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.info-item {
    padding: 0 15px;
}

.divider {
    width: 1px;
    height: 20px;
    background-color: #ccc;
}

/* --- SEÇÃO DESTAQUES (ICONES) --- */
.course-highlights {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title-center {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: 700;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Sombra leve */
    transition: transform 0.3s;
    border: 1px solid #f0f0f0;
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: #3DD28F;
}

.icon-box {
    font-size: 40px;
    color: #00A3C4; /* Laranja/Dourado do ícone */
    margin-bottom: 20px;
}

.highlight-card p {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Responsividade Detalhe Curso */
@media (max-width: 1024px) {
    .course-hero-content {
        flex-direction: column; /* Empilha texto e imagem */
    }
    
    .image-side {
        height: 300px;
        order: -1; /* Imagem em cima no mobile */
    }
    
    .text-side {
        padding: 40px 20px;
        text-align: center;
    }
    
    .text-side p {
        margin: 0 auto 30px auto;
    }

    .info-pill-container {
        margin: 0 auto;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas tablet */
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .highlights-grid {
        grid-template-columns: 1fr; /* 1 coluna mobile */
    }
    
    .info-pill-container {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        border-radius: 15px;
    }
    
    .divider {
        display: none; /* Esconde divisores no mobile */
    }
}




/* --- SEÇÃO DETALHES DO CURSO (Listagem) --- */
.course-details-section {
    padding: 60px 0;
    background-color: var(--white);
}

.detail-row {
    display: flex;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px dashed #ccc; /* Linha pontilhada separadora */
}

.detail-row.no-border {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detail-title {
    flex: 0 0 30%; /* Título ocupa 30% da largura */
    padding-right: 30px;
}

.detail-title h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.detail-content {
    flex: 1; /* Texto ocupa o resto */
}

.detail-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

/* Triângulo laranja no lugar da bolinha (igual referencia) */
.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #00A3C4; /* Laranja */
}

/* --- SEÇÃO FAQ (ACORDEÃO) --- */
.faq-section {
    padding: 60px 0 80px 0;
    background-color: #f9f9f9; /* Fundo levemente cinza */
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.accordion-item.active {
    border-color: #e0b97a; /* Borda dourada quando aberto */
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
}

.accordion-header h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.accordion-header i {
    color: #e0b97a;
    transition: transform 0.3s;
}

/* Gira a setinha quando ativo */
.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 25px 25px 25px;
    display: none; /* Escondido por padrão */
    color: #555;
    line-height: 1.6;
}

/* Responsividade Detalhes */
@media (max-width: 768px) {
    .detail-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .detail-title {
        flex: auto;
        padding-right: 0;
    }
}



/* --- MATRIZ CURRICULAR --- */
.curriculum-section {
    background-color: var(--primary-color); /* Fundo Verde Escuro */
    color: var(--white);
    padding: 30px 0;
    margin-bottom: 60px;
    margin-top: -2px; /* Cola na seção anterior se necessário */
}

.matrix-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.matrix-toggle h2 {
    font-size: 24px;
    margin: 0;
    color: var(--white);
}

.matrix-toggle i {
    font-size: 20px;
    transition: transform 0.3s;
}

.matrix-toggle.active i {
    transform: rotate(180deg);
}

.matrix-content {
    display: none; /* Oculto inicialmente */
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 20px;
}

.matrix-block {
    margin-bottom: 30px;
}

.matrix-block h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 400;
}

.matrix-list {
    list-style: none;
    padding-left: 10px;
}

.matrix-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
}

.matrix-list li::before {
    content: '▶'; /* Triângulo */
    position: absolute;
    left: 0;
    font-size: 10px;
    color: #00A3C4; /* Laranja */
    top: 4px;
}

/* --- COORDENAÇÃO TÉCNICA --- */
.coordinator-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.coordinator-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.coordinator-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px; /* Borda arredondada */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.coord-label {
    font-style: italic;
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.coordinator-info h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.coordinator-info p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* --- PRÓXIMAS TURMAS (SLIDE) --- */
.schedule-section {
    padding: 60px 0 100px 0;
    background-color: var(--white);
}

.schedule-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

/* Card de Turma */
.schedule-card {
    flex: 0 0 220px; /* Largura fixa */
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.schedule-header {
    background-color: #bfd865; /* Verde Limão da referência */
    color: var(--primary-color);
    padding: 10px;
    font-weight: 700;
    font-size: 14px;
}

.schedule-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.schedule-body .date {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.schedule-body .format {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.btn-schedule {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.3s;
}
.btn-schedule:hover { background-color: #0d454a; }

/* Card de Aviso (Verde Inteiro) */
.schedule-card.alert-card {
    background-color: #bfd865; /* Fundo verde limão */
    border: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.alert-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 5px;
}

.alert-content p {
    font-size: 14px;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-alert-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700;
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    .coordinator-container {
        flex-direction: column;
        text-align: center;
    }
}



/* --- SEÇÃO INVESTIMENTO --- */
.investment-section {
    padding: 60px 0 100px 0;
    background-color: #f9f9f9; /* Fundo levemente cinza para destacar o card branco */
}

/* Reutiliza .section-title-center do CSS anterior */

.investment-card {
    background-color: var(--white);
    max-width: 900px;
    margin: 0 auto 40px auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    padding: 50px;
    position: relative;
    align-items: center;
}

/* Lado Esquerdo (Preço) */
.invest-left {
    flex: 1.2; /* Ocupa um pouco mais de espaço */
    padding-right: 40px;
}

.audience-label {
    font-size: 16px;
    color: #888;
    margin-bottom: 5px;
    display: block;
}

.price-context {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.7;
}

.big-price {
    font-size: 64px;
    font-weight: 800;
    color: #e0b97a; /* DOURADO da marca */
    line-height: 1;
    margin-bottom: 15px;
}

.big-price .currency {
    font-size: 24px;
    vertical-align: super;
    font-weight: 700;
    margin-right: 5px;
}

.contract-info {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

.contract-info .strike {
    text-decoration: line-through;
    font-size: 13px;
    color: #999;
}

.fine-print {
    font-size: 12px;
    color: #999;
    font-style: italic;
    max-width: 300px;
}

/* Divisor Vertical */
.invest-divider {
    width: 1px;
    height: 150px;
    background-color: #ddd;
    border-right: 1px dashed #ccc; /* Efeito pontilhado sutil */
}

/* Lado Direito (Pagamento) */
.invest-right {
    flex: 1;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.invest-right h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

.payment-icons {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.pay-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #555;
    font-size: 12px;
}

.pay-item i {
    font-size: 28px;
    color: var(--primary-color); /* Ícones Verdes */
}

/* Box de Garantia */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.guarantee-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0d454a); /* Verde gradiente */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid #a8e6cf; /* Borda clara para destaque */
    flex-shrink: 0;
}

.guarantee-badge .days {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.guarantee-badge .text {
    font-size: 10px;
    text-transform: uppercase;
}

.guarantee-box p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Botão CTA Grande */
.invest-cta-wrapper {
    text-align: center;
}

.btn-invest-action {
    display: inline-block;
    background-color: #e0b97a; /* Botão Dourado */
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    padding: 18px 60px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(224, 185, 122, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-invest-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 185, 122, 0.6);
    filter: brightness(1.05);
}

/* Responsividade Investimento */
@media (max-width: 768px) {
    .investment-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .invest-left {
        padding-right: 0;
        padding-bottom: 30px;
        border-bottom: 1px dashed #ddd;
        margin-bottom: 30px;
        flex: auto;
    }

    .invest-divider {
        display: none;
    }

    .invest-right {
        padding-left: 0;
        width: 100%;
    }

    .big-price {
        font-size: 48px;
    }
    
    .fine-print {
        margin: 0 auto;
    }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-invest-action {
        width: 100%;
        padding: 15px;
        font-size: 18px;
    }
}


/* --- PÁGINA CARRINHO --- */
.cart-section {
    padding: 120px 0 80px 0; /* Espaço maior no topo por causa do menu fixo */
    background-color: #f4f6f9; /* Fundo cinza claro */
    min-height: 80vh;
}

.cart-header {
    text-align: center;
    margin-bottom: 40px;
}

.cart-header h1 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 10px;
}

.cart-header p {
    color: #555;
    font-size: 16px;
}

/* Item do Carrinho */
.cart-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.btn-remove-item {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: color 0.3s;
}

.btn-remove-item:hover {
    color: red;
}

.cart-thumb {
    width: 250px;
    flex-shrink: 0;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-category {
    font-style: italic;
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-info h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.cart-details {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

/* Box Cinza de Login */
.cart-login-prompt {
    background-color: #777; /* Cinza escuro */
    width: 300px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--white);
    text-align: center;
}

.cart-login-prompt p {
    font-size: 15px;
    line-height: 1.4;
}

.cart-login-prompt a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
}

/* Ações do Carrinho (Botões) */
.cart-actions {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-cart-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px; /* Botão pílula */
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s, filter 0.2s;
}

.btn-cart-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Botão Laranja/Dourado (Primary) */
.btn-cart-action.primary {
    background-color: #e0b97a; /* Cor da marca */
    color: var(--white);
    box-shadow: 0 4px 10px rgba(224, 185, 122, 0.4);
}

/* Botão Laranja/Dourado (Secondary - igual primary na referencia) */
.btn-cart-action.secondary {
    background-color: #e0b97a; 
    color: var(--white);
    box-shadow: 0 4px 10px rgba(224, 185, 122, 0.4);
}

.cart-checkout-group {
    text-align: right;
}

.no-charge-text {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}

/* Responsividade Carrinho */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
    }
    
    .cart-thumb {
        width: 100%;
        height: 180px;
    }
    
    .cart-login-prompt {
        width: 100%;
        padding: 30px;
    }
    
    .cart-actions {
        flex-direction: column-reverse;
    }
    
    .btn-cart-action {
        width: 100%;
        justify-content: center;
    }
    
    .cart-checkout-group {
        width: 100%;
        text-align: center;
    }
}



/* --- PÁGINA LOGIN/CADASTRO --- */
.auth-section {
    padding: 120px 0 80px 0;
    background-color: #f4f6f9; /* Fundo leve */
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.auth-wrapper {
    display: flex;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* Colunas (Box) */
.auth-box {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.auth-box h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.auth-box p {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Divisor Vertical com OU */
.auth-divider {
    width: 1px;
    background-color: #eee;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-divider span {
    background-color: var(--white);
    color: #999;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    /* Truque para centralizar verticalmente no risco */
}

/* Formulários */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

/* Input com Ícone - CORRIGIDO O ESPAÇAMENTO */
.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.7;
    z-index: 2; /* Garante que o ícone fique sobre o input */
}

.input-icon-wrapper input,
.form-group input {
    width: 100%;
    /* AUMENTEI O ÚLTIMO VALOR (padding-left) de 40px para 50px */
    padding: 12px 15px 12px 50px; 
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    position: relative;
    z-index: 1;
}

.form-group input:not([type="checkbox"]) {
    /* Caso use inputs sem wrapper de icone em outros lugares */
    /* padding-left: 15px;  <- Remova ou comente essa linha se ela estiver atrapalhando o cadastro */
}

/* Foco no input */
.input-icon-wrapper input:focus,
.form-group input:focus {
    border-color: var(--secondary-color);
}

/* Linha com 2 inputs */
.form-row {
    display: flex;
    gap: 15px;
}
.form-group.half {
    flex: 1;
}

/* Ações do Form */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.forgot-pass {
    font-size: 13px;
    color: #777;
    text-decoration: underline;
}

/* Botões de Autenticação */
.btn-auth {
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    transition: transform 0.2s, filter 0.2s;
    text-transform: uppercase;
}

.btn-auth:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Login: Botão Dourado Preenchido */
.btn-auth.primary {
    background: var(--secondary-color);
    color: var(--white);
    width: auto;
}

/* Cadastro: Botão Verde Preenchido (Para diferenciar) */
.btn-auth.secondary {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%; /* Botão largo no cadastro */
    margin-top: 10px;
}

/* Responsividade Login */
@media (max-width: 900px) {
    .auth-wrapper {
        flex-direction: column;
    }

    .auth-divider {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }
    
    .auth-divider span {
        padding: 0 10px; /* Espaço lateral no mobile */
    }
    
    .auth-box {
        padding: 30px;
    }
}



/* --- PÁGINA PAGAMENTO --- */
.checkout-section {
    padding: 120px 0 80px 0;
    background-color: #f4f6f9;
    min-height: 100vh;
}

.checkout-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Badge de Segurança no Header */
.secure-badge {
    color: var(--white);
    background-color: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lado Esquerdo (Métodos) */
.payment-methods-wrapper {
    flex: 2;
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.payment-methods-wrapper h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
}

/* Abas de Pagamento */
.payment-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.tab-payment {
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 15px;
    color: #555;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.tab-payment i {
    font-size: 18px;
}

.tab-payment:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.tab-payment.active {
    background: var(--secondary-color); /* Dourado */
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(224, 185, 122, 0.3);
}

/* Conteúdo das Abas */
.payment-content {
    display: none; /* Escondido por padrão */
    animation: fadeIn 0.5s;
}
.payment-content.active {
    display: block; /* Mostra o primeiro via CSS ou JS */
}

/* Estilo do Formulário Cartão */
.installments-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background-color: var(--white);
    cursor: pointer;
}

/* Estilo PIX */
.pix-info {
    text-align: center;
    padding: 20px;
}

.pix-highlight {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.discount-tag {
    background-color: #22c55e;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pix-highlight h3 {
    color: #15803d;
    margin-top: 10px;
    font-size: 24px;
}

.pix-steps {
    list-style: none;
    text-align: left;
    margin: 20px auto;
    max-width: 300px;
    color: #555;
}

.pix-steps li {
    margin-bottom: 10px;
}
.pix-steps i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Estilo Boleto */
.boleto-info {
    text-align: center;
    padding: 20px;
}

.alert-box {
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    color: #c2410c;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 13px;
}

/* Botão de Finalizar */
.btn-pay-confirm {
    width: 100%;
    background-color: var(--primary-color); /* Verde para confirmar */
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-pay-confirm:hover {
    background-color: #0d454a;
}

/* Lado Direito (Resumo) */
.order-summary {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.order-summary h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.item-thumb img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.item-details h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 3px;
}

.item-details span {
    font-size: 12px;
    color: #888;
}

.item-price {
    margin-left: auto;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-totals .total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.total-row.discount {
    color: #22c55e;
}

.total-row.final {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.security-seal {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Footer Simples */
.simple-footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

/* Responsividade Pagamento */
@media (max-width: 900px) {
    .checkout-container {
        flex-direction: column-reverse; /* Resumo vai para cima ou baixo? Geralmente baixo */
    }
    
    .payment-tabs {
        flex-wrap: wrap;
    }
    .tab-payment {
        flex: 1;
        justify-content: center;
    }
}


/* --- ÁREA DO USUÁRIO LOGADO (HEADER) --- */
.user-logged-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-welcome {
    font-size: 14px;
    color: var(--white);
    font-weight: 600;
}

.user-welcome span {
    color: var(--secondary-color); /* Nome em Dourado */
}

.btn-my-account {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-my-account:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-logout-icon {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    transition: color 0.3s;
}

.btn-logout-icon:hover {
    color: #ff6b6b; /* Vermelho ao passar o mouse */
}


/* --- BARRA DE PESQUISA NO HEADER --- */
.search-bar-header {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Fundo sutil */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 15px; /* Espaço do carrinho */
}

.search-bar-header input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-size: 14px;
    width: 150px; /* Tamanho da caixa */
}

.search-bar-header input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-bar-header button {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 5px;
}

.search-bar-header button:hover {
    color: var(--secondary-color); /* Dourado ao passar o mouse */
}





/* =========================================
   SEÇÃO DIFERENCIAL (COMPARATIVO)
   ========================================= */
.differential-section {
    background-color: #3DD28F; /* Fundo Verde Solicitado */
    padding: 80px 0;
    color: #002B4A; /* Azul Escuro da Marca */
}

/* Cabeçalho da Seção */
.diff-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.diff-header h2 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #002B4A;
    text-transform: uppercase;
}

.diff-header p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.9;
}

/* Container do Grid */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas iguais */
    gap: 50px;
    align-items: start;
}

/* Títulos das Colunas */
.column-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(0, 43, 74, 0.2);
}

.column-title h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: #002B4A;
}

.column-title i {
    font-size: 28px;
}

/* Ícones Específicos */
.our-method .column-title i { color: #fff; background: #002B4A; border-radius: 50%; padding: 5px; font-size: 18px; }
.market-standard .column-title i { color: #002B4A; opacity: 0.5; }

/* Cards Individuais */
.diff-card {
    background-color: rgba(255, 255, 255, 0.4); /* Efeito vidro translúcido */
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.diff-card:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.6);
}

/* Estilo do Lado "Nosso Método" */
.diff-card.success {
    border-left: 6px solid #002B4A; /* Barra lateral azul */
    box-shadow: 0 10px 20px rgba(0, 43, 74, 0.1);
}

.diff-card.success h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #002B4A;
}

/* Estilo do Lado "Padrão de Mercado" */
.diff-card.fail {
    border-left: 6px solid rgba(0, 43, 74, 0.2); /* Barra lateral mais apagada */
    background-color: rgba(255, 255, 255, 0.15); /* Mais transparente/apagado */
    opacity: 0.8;
}

.diff-card.fail h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #002B4A;
    opacity: 0.8;
    text-decoration: line-through; /* Riscado sutil no título opcional */
    text-decoration-color: rgba(0,43,74,0.3);
}

.diff-card p {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    color: #002B4A;
    margin: 0;
}

/* --- Responsividade --- */
@media (max-width: 900px) {
    .comparison-container {
        grid-template-columns: 1fr; /* Vira uma coluna só no tablet/celular */
        gap: 60px;
    }
    
    .diff-header h2 {
        font-size: 28px;
    }
    
    .diff-header p {
        font-size: 16px;
    }
}






/* =========================================
   SEÇÃO HISTÓRIA DE SUCESSO (CORRIGIDA - LARGURA TOTAL)
   ========================================= */
.success-story-section {
    background-color: #ffffff;
    padding: 100px 0;
}

/* Cabeçalho */
.success-header {
    text-align: center;
    /* Removi o max-width: 900px para alinhar com o padrão */
    width: 100%; 
    margin: 0 auto 60px auto;
}

.success-header h2 {
    color: #002B4A;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
}

.success-header p {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    max-width: 900px; /* Mantive limite só no texto do header p/ não ficar uma linha muito longa */
    margin: 0 auto;
}

/* O Card Principal */
.story-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 43, 74, 0.08);
    display: flex;
    align-items: stretch; /* Garante que imagem e texto tenham mesma altura */
    overflow: hidden;
    
    /* AQUI ESTÁ A CORREÇÃO PRINCIPAL: LARGURA TOTAL */
    width: 100%; 
    max-width: 100%; 
    
    margin: 0 auto 50px auto;
    border: 1px solid #eee;
    border-left: 8px solid #3DD28F; 
}

/* Área da Imagem */
.story-img-wrapper {
    /* Aumentei para 400px para equilibrar com a largura total */
    flex: 0 0 400px; 
    background-color: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

/* Placeholder da Foto */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ccc;
    font-weight: 600;
}

.img-placeholder i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #3DD28F;
}

.story-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Área do Texto do Card */
.story-content {
    flex: 1;
    padding: 50px 60px; /* Mais espaçamento interno */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(61, 210, 143, 0.1);
    color: #002B4A;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    width: fit-content;
}

.story-badge i { color: #3DD28F; }

.story-content h3 {
    color: #002B4A;
    font-size: 26px; /* Título maior */
    font-weight: 800;
    margin-bottom: 25px;
}

.story-content blockquote {
    font-size: 20px; /* Texto da citação maior */
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
}

.story-content cite {
    display: block;
    color: #3DD28F;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
}

/* Faixa Final */
.method-bottom-banner {
    text-align: center;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    
    /* Largura total também */
    width: 100%;
    max-width: 100%;
    
    margin: 0 auto;
}

.method-bottom-banner p {
    color: #002B4A;
    font-size: 20px;
    margin: 0;
}

.method-bottom-banner strong {
    color: #002B4A;
    font-weight: 900;
    border-bottom: 3px solid #3DD28F; 
}

/* --- Responsividade --- */
@media (max-width: 1024px) {
    .story-img-wrapper {
        flex: 0 0 300px; /* Reduz imagem em telas médias */
    }
    .story-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .story-card {
        flex-direction: column;
        border-left: none;
        border-top: 8px solid #3DD28F;
    }

    .story-img-wrapper {
        width: 100%;
        min-height: 250px;
    }

    .story-content {
        padding: 30px 20px;
        text-align: center;
    }
    
    .story-badge { margin: 0 auto 20px auto; }

    .success-header h2 { font-size: 28px; }
    
    .story-content h3 { font-size: 22px; }
    .story-content blockquote { font-size: 18px; }
}

/* =========================================
   SEÇÃO SOBRE A AUTORA (CORRIGIDA - LARGURA TOTAL)
   ========================================= */
.author-section {
    background-color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid #f0f0f0;
}

/* Wrapper do Conteúdo */
.author-content-wrapper {
    display: flex;
    align-items: center; /* Alinha verticalmente ao centro para ficar mais harmônico na largura total */
    gap: 80px; /* Aumentei o espaço entre foto e texto para preencher melhor a tela larga */
    width: 100%; /* Força ocupar 100% da largura do .container padrão */
}

/* Coluna da Imagem */
.author-image-col {
    /* Ajustei para uma largura maior para não ficar desproporcional ao site largo */
    flex: 0 0 450px; 
    max-width: 100%;
    position: relative;
}

.author-img-placeholder {
    width: 100%;
    height: 550px; /* Foto mais alta e imponente */
    background-color: #f4f6f9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-weight: 600;
    /* Sombra verde sólida deslocada */
    box-shadow: 25px 25px 0px rgba(61, 210, 143, 0.2); 
    border: 1px solid #eee;
}

.author-img-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #3DD28F;
}

/* Coluna de Texto */
.author-text-col {
    flex: 1; /* Ocupa todo o espaço restante até a borda direita */
}

/* Títulos */
.author-text-col h2.desktop-title {
    color: #002B4A;
    font-size: 42px; /* Título um pouco maior */
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.author-header-mobile { display: none; }

/* Caixa de Citação (Destaque Verde) */
.author-quote-box {
    background-color: #fff;
    padding: 30px 40px; /* Mais respiro interno */
    border-left: 8px solid #3DD28F; /* Borda verde mais grossa */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 0 12px 12px 0;
    margin-bottom: 40px;
}

.author-quote-box p {
    font-style: italic;
    font-size: 20px; /* Texto da citação maior */
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Subtítulo */
.author-subtitle {
    color: #002B4A;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Texto Corrido (Bio) */
.author-bio p {
    font-size: 17px; /* Leitura mais confortável em telas grandes */
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- Responsividade --- */
@media (max-width: 1100px) { /* Ajuste para tablets/notebooks menores */
    .author-content-wrapper {
        gap: 40px;
    }
    .author-image-col {
        flex: 0 0 350px;
    }
}

@media (max-width: 900px) { /* Mobile */
    .author-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .author-image-col {
        flex: auto;
        width: 100%;
        max-width: 450px;
    }
    
    .author-img-placeholder {
        height: 400px;
        box-shadow: 15px 15px 0px rgba(61, 210, 143, 0.2);
    }

    .desktop-title { display: none; }
    
    .author-header-mobile {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }

    .author-header-mobile h2 {
        color: #002B4A;
        font-size: 30px;
        font-weight: 800;
    }
    
    .author-quote-box {
        padding: 20px;
    }
}





/* =========================================
   SEÇÃO APROVAÇÕES EM INSTITUIÇÕES
   ========================================= */
.approvals-section {
    background-color: #F9FAFB; /* Cinza muito suave para diferenciar do fundo branco */
    padding: 60px 0 80px 0;
    text-align: center;
}

.approvals-section h2 {
    color: #002B4A;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid das Logos */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Colunas iguais */
    gap: 30px;
    align-items: center; /* Centraliza verticalmente */
    max-width: 1200px;
    margin: 0 auto;
}

/* Item individual da logo */
.logo-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Sombra bem leve */
    border: 1px solid #eee;
    height: 140px; /* Altura fixa para alinhar as caixas */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* A Imagem da Logo */
.logo-item img {
    max-width: 100%;
    max-height: 80px; /* Impede que logos verticais estourem */
    width: auto;
    object-fit: contain;
    
    /* Efeito P&B Moderno */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* --- Efeitos Hover (Ao passar o mouse) --- */

/* O card sobe levemente */
.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 43, 74, 0.1);
    border-color: #3DD28F; /* Borda verde sutil */
}

/* A logo ganha cor e vida */
.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Responsividade --- */
@media (max-width: 900px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha no tablet */
    }
}

@media (max-width: 600px) {
    .logos-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 por linha no celular */
    }
    .approvals-section h2 {
        font-size: 24px;
    }
}


/* =========================================
   BLOG E NOTÍCIAS
   ========================================= */

/* Hero Section (Topo da página de notícias) */
.news-hero {
    background: linear-gradient(135deg, #002B4A 0%, #004e8a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.news-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.news-hero p { font-size: 18px; opacity: 0.9; }

/* Grid de Posts */
.news-feed { padding: 60px 0; background-color: #f9f9f9; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Card da Notícia */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 43, 74, 0.15);
}

.blog-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img { transform: scale(1.1); }

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3DD28F;
    color: #002B4A;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
}

.blog-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }

.blog-content h3 {
    color: #002B4A;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 20px; flex: 1; }

.read-more-btn {
    text-decoration: none;
    color: #002B4A;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.read-more-btn:hover { color: #3DD28F; }

/* --- PÁGINA SINGLE (LER NOTÍCIA) --- */

.post-header {
    background-color: #f4f6f9;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.post-date { color: #3DD28F; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.post-header h1 { color: #002B4A; font-size: 38px; margin: 15px 0; max-width: 900px; margin: 15px auto; }
.post-subtitle { color: #555; font-size: 20px; max-width: 800px; margin: 0 auto; }

.post-container { max-width: 800px; margin-top: -40px; } /* Sobe em cima do header */

.post-image-full img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.post-text-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
}

.post-footer { border-top: 1px solid #eee; padding-top: 30px; margin-bottom: 60px; }
.back-btn { text-decoration: none; color: #002B4A; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.back-btn:hover { color: #3DD28F; }