/* ============================================= */
/* 1. RESET E VARIÁVEIS GLOBAIS                 */
/* ============================================= */

/* Importação da fonte definida no HTML (Inter) */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--branco);
    color: var(--cinza-chumbo);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

:root {
    /* Cores do Manual de Identidade Visual */
    --azul-principal: #323656;
    --laranja-vibrante: #F95D00;
    
    /* Cores do Briefing de Design */
    --branco: #FFFFFF;
    --preto-solido: #000000;
    --cinza-chumbo: #333333; /* Para textos principais */
    --cinza-chumbo-suave: #222222; /* Fundo Bloco 2 */
    --cinza-claro: #f4f4f4;
    
    /* Tipografia e Espaçamento */
    --fonte-principal: 'Inter', sans-serif;
    --header-height: 80px;
    --container-width: 1200px;
    --container-padding: 0 20px;
}

/* ============================================= */
/* 2. UTILITÁRIOS E COMPONENTES REUSÁVEIS         */
/* ============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

/* Botão Laranja Vibrante */
.btn-primary {
    background-color: var(--laranja-vibrante);
    color: var(--branco);
}
.btn-primary:hover {
    background-color: #e05300; /* Laranja mais escuro */
}

/* Botão Branco com borda (Hero) */
.btn-secondary {
    background-color: transparent;
    color: var(--branco);
    border-color: var(--branco);
}
.btn-secondary:hover {
    background-color: var(--branco);
    color: var(--preto-solido);
}

.grid-50-50 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-50-50 {
        grid-template-columns: 1fr 1fr;
    }
}

section {
    padding: 80px 0;
}

/* --- REATORADO ---
 * Esta classe utilitária unifica os títulos das seções
 * para evitar repetição (DRY).
 */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Animação de Scroll */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
 * BLOCO DE CORREÇÃO DE VÍDEO REMOVIDO
 * * O JavaScript (script.js) já corrige o bug
 * ao NÃO aplicar a animação 'fade-in-on-scroll'
 * aos cards de vídeo.
 *
 * O CSS de override (opacity: 1) tornou-se redundante.
 * ==================================================
 */


/* ============================================= */
/* 3. CABEÇALHO (Header) - LOGO ATUALIZADO       */
/* ============================================= */
.header {
    background-color: var(--branco);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Regra do Logo ATUALIZADA */
.logo {
    display: block;
}
.logo img {
    height: 45px; /* Altura do logo no header */
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-list {
    display: none; /* Oculto em mobile */
    gap: 25px;
}
.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cinza-chumbo);
}
.nav-list a:hover {
    color: var(--laranja-vibrante);
}
.btn-header {
    display: none; /* Oculto em mobile */
}

/* Menu Hamburger */
.nav-toggle {
    display: block; /* Visível em mobile */
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    z-index: 1001;
}
.hamburger {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--azul-principal);
    position: relative;
    transition: transform 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--azul-principal);
    transition: all 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Estado Ativo do Menu Mobile */
.nav-open .nav {
    transform: translateX(0%);
}
.nav-open .hamburger {
    transform: rotate(45deg);
}
.nav-open .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}
.nav-open .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
}


/* Media Query para Desktop (Tablet e acima) */
@media (min-width: 992px) {
    .nav-list {
        display: flex;
    }
    .btn-header {
        display: inline-block;
    }
    .nav-toggle {
        display: none;
    }
}
/* Estilização do Menu Mobile (quando aberto) */
@media (max-width: 991px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background: var(--branco);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--cinza-claro);
    }
    .nav-list a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    .btn-header {
        display: inline-block; /* Aparece dentro do menu mobile */
    }
}

/* ============================================= */
/* 4. BLOCO 1: Hero Section (SOMBRA DE TEXTO)     */
/* ============================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--branco);
    position: relative;
    padding-top: var(--header-height); /* Compensa header fixo */
}

/* Vídeo de fundo RESTAURADO */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--preto-solido); /* Fallback */
    z-index: -2;
}
/* Estilo para o vídeo em si */
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cobre todo o container */
}

/* Sobreposição escura RESTAURADA */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    text-align: center;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 900;
    max-width: 800px;
    margin: 0 auto 20px auto;
    /* --- ATUALIZADO: Sombra de Texto --- */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
    /* --- ATUALIZADO: Sombra de Texto --- */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}
.hero-cta-group {
    display: flex;
    justify-content: center; /* Centralizado */
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    .hero-subheadline {
        font-size: 1.1rem;
    }
}


/* ============================================= */
/* 5. BLOCO 2: As Dores (ÍCONES PNG ATUALIZADOS) */
/* ============================================= */
.dores {
    background-color: var(--cinza-chumbo-suave);
    color: var(--branco);
}
.dores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.dor-card {
    text-align: center;
}
/* Regra de Ícone ATUALIZADA para PNG */
.dor-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--azul-principal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    padding: 10px; /* Adiciona preenchimento para a imagem */
}
/* Regra para o IMG dentro do ícone */
.dor-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Regra SVG removida */

.dor-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--branco);
}
.dor-card p {
    opacity: 0.95; /* Legibilidade Corrigida */
}

@media (min-width: 768px) {
    .dores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================= */
/* 6. BLOCO 3: A Solução                         */
/* ============================================= */
.solucao {
    background-color: var(--branco);
}
.solucao .grid-50-50 {
    gap: 60px;
}
.solucao-imagem img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* --- ATUALIZADO: Altura mínima para a imagem --- */
    min-height: 350px; /* Aumentado para dar mais altura */
    object-fit: cover; /* Garante que a imagem preencha sem distorcer, cortando o excesso */
}
.solucao-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: left;
}
.text-highlight-blue {
    color: var(--azul-principal);
}
.solucao-texto p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--cinza-chumbo);
}

/* ============================================= */
/* 7. BLOCO 4: Pilares (CARDS ATUALIZADOS)       */
/* ============================================= */
.pilares {
    background-color: var(--cinza-claro);
}
.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Aumentado o gap */
}
/* Card ATUALIZADO para Destaque */
.pilar-card {
    background: var(--branco);
    padding: 30px 25px;
    border-radius: 10px; /* Bordas mais suaves */
    /* Sombra mais pronunciada */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Borda inicial transparente */
    text-align: center;
}

/* Interatividade ATUALIZADA */
.pilar-card:hover {
    transform: translateY(-10px); /* Eleva mais */
    box-shadow: 0 12px 35px rgba(0,0,0,0.15); /* Sombra mais forte no hover */
    border-color: var(--laranja-vibrante); /* Borda laranja no hover */
}

/* Ícone ATUALIZADO para PNG */
.pilar-icon {
    width: 60px;  /* Tamanho do container do ícone */
    height: 60px;
    margin: 0 auto 20px auto; /* Centraliza o container */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cinza-claro); /* Fundo do ícone (mantido) */
    border-radius: 10px; /* Raio do container do ícone */
}
.pilar-icon img {
    width: 100%; /* ATUALIZADO: Preenche 100% do container */
    height: 100%; /* ATUALIZADO: Preenche 100% do container */
    object-fit: contain; /* Garante que a imagem caiba sem distorcer */
    padding: 5px; /* Adiciona um pequeno preenchimento para não tocar as bordas */
}
/* Regra SVG removida */

.pilar-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.pilar-card-desc {
    font-size: 0.95rem;
    color: var(--cinza-chumbo);
    display: none; /* Oculto por padrão, conforme briefing */
}

.pilar-card:hover .pilar-card-desc {
    display: block; /* Revela subtítulo */
}

/* Grade 5x2 em desktops */
@media (min-width: 1024px) {
    .pilares-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================= */
/* 8. BLOCO 5: O ROI                             */
/* ============================================= */
.roi {
    background-color: var(--preto-solido);
    color: var(--branco);
    text-align: center;
}
.roi-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--branco);
    margin: 0;
}
.roi-desc {
    font-size: 1.25rem;
    max-width: 500px;
    margin: 0 auto 50px auto;
    opacity: 0.9;
}
.roi-garantia {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--branco);
    border: 3px solid var(--laranja-vibrante);
    padding: 15px 30px;
    display: inline-block;
    border-radius: 8px;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .roi-number {
        font-size: 3.5rem;
    }
    .roi-desc {
        font-size: 1.1rem;
    }
    .roi-garantia {
        font-size: 1.8rem;
    }
}

/* ============================================= */
/* 9. BLOCO 6: Prova Social (VÍDEOS VERTICAIS)   */
/* ============================================= */
.prova-social {
    background-color: var(--branco);
}

.prova-social-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 coluna em mobile */
    gap: 30px;
    margin-top: 40px;
}

.video-embed-card {
    background: var(--branco);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden; /* Garante que o vídeo obedeça o border-radius */
    transition: all 0.3s ease;
}

.video-embed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* ATUALIZADO: Regra de 'iframe' movida para 'video' */
.video-embed-card video {
    width: 100%;
    /* ATUALIZADO: height: 100% REMOVIDO para mostrar o texto */
    aspect-ratio: 9 / 16; /* Proporção Vertical */
    display: block;
    border: none;
    background-color: #eee; /* Fundo enquanto o poster carrega */
    object-fit: cover; /* Garante que o vídeo preencha o espaço */
}

.video-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--azul-principal);
    padding: 20px 20px 5px 20px;
    margin: 0;
}

.video-card-owner {
    font-size: 0.95rem;
    color: var(--cinza-chumbo);
    padding: 0 20px 20px 20px;
}

/* Em tablets, 2 colunas */
@media (min-width: 768px) {
    .prova-social-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Em desktops, 4 colunas para vídeos verticais */
@media (min-width: 1024px) {
    .prova-social-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* Estilos dos Depoimentos em Texto (Restaurados) */
.depoimentos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px; /* Espaçamento entre os vídeos e os textos */
}
.depoimento-card {
    background: var(--cinza-claro);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.depoimento-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    object-fit: cover;
    border: 4px solid var(--branco);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.depoimento-texto {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}
.depoimento-autor {
    display: block;
    font-weight: 700;
    color: var(--azul-principal);
}
.depoimento-oficina {
    font-size: 0.9rem;
    color: var(--cinza-chumbo);
}

@media (min-width: 768px) {
    .depoimentos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ============================================= */
/* 10. BLOCO 7: FAQ (NOVA SEÇÃO)                 */
/* ============================================= */
.faq-section {
    background-color: var(--branco); /* Fundo branco para esta seção */
}
.faq-title {
    color: var(--cinza-chumbo);
    margin-bottom: 40px;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}
.faq-item details {
    background: var(--cinza-claro);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.faq-item summary {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px;
    cursor: pointer;
    list-style: none; /* Remove o marcador padrão */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--azul-principal);
}
.faq-item summary::-webkit-details-marker {
    display: none; /* Remove o marcador no Chrome/Safari */
}
.faq-item summary::after {
    /* Ícone de '+' */
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--laranja-vibrante);
    transition: transform 0.2s ease;
}
.faq-item details[open] summary {
    border-bottom: 1px solid #e0e0e0;
}
.faq-item details[open] summary::after {
    /* Ícone de 'x' (girando o '+') */
    transform: rotate(45deg);
}
.faq-item details p {
    padding: 20px;
    font-size: 1rem;
    color: var(--cinza-chumbo);
    margin: 0;
}


/* ============================================= */
/* 11. BLOCO 8: CTA Final (ANTIGO BLOCO 7)       */
/* ============================================= */
.cta-final {
    background-color: var(--cinza-claro);
}
.cta-texto h2 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 15px;
}
.cta-texto p {
    font-size: 1.1rem;
    max-width: 500px;
}

/* Formulário Minimalista */
.cta-form {
    background: var(--branco);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.cta-form h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
    color: var(--azul-principal);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}
.form-group input:focus {
    outline: none;
    border-color: var(--azul-principal);
    box-shadow: 0 0 0 2px rgba(50, 54, 86, 0.2);
}
.btn-form {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* ============================================= */
/* 12. ADIÇÃO: Estilos para o Checkbox (da etapa anterior) */
/* ============================================= */
.form-group-checkbox {
    display: flex;
    align-items: flex-start; /* Alinha no topo, caso o texto quebre a linha */
    gap: 10px;
    margin-bottom: 25px; /* Aumentei o espaço antes do botão */
}
.form-group-checkbox input[type="checkbox"] {
    width: auto; /* Remove o 100% width padrão */
    flex-shrink: 0;
    margin-top: 5px; /* Alinha melhor com a primeira linha do texto */
    accent-color: var(--azul-principal); /* [Moderno] Colore o checkbox */
}
.form-group-checkbox label {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cinza-chumbo);
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0; /* Reseta a margem padrão do label */
}
.form-group-checkbox label a {
    color: var(--azul-principal);
    text-decoration: underline;
    font-weight: 500;
}
.form-group-checkbox label a:hover {
    color: var(--laranja-vibrante);
}


/* ============================================= */
/* 13. RODAPÉ (Footer)                           */
/* ============================================= */
.footer {
    background: var(--cinza-chumbo-suave);
    color: var(--branco);
    padding: 60px 0;
    text-align: center;
}
/* Regra do Logo ATUALIZADA */
.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img {
    height: 40px; /* Altura do logo no footer */
    width: auto;
    margin: 0 auto;
    opacity: 0.9; /* Opacidade para integrar ao fundo */
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.footer-links a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9; /* Legibilidade Corrigida */
}
.footer-links a:hover {
    opacity: 1;
    color: var(--laranja-vibrante);
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-social a {
    font-size: 1.2rem;
    opacity: 0.9; /* Legibilidade Corrigida */
}
.footer-social a:hover {
    opacity: 1;
    color: var(--laranja-vibrante);
}
.footer-copy {
    font-size: 0.85rem;
    opacity: 0.8; /* Legibilidade Corrigida */
}


/* ============================================= */
/* 14. ADIÇÃO: Estilos da Página de Privacidade   */
/* ============================================= */
.policy-page {
    /* Padding maior no topo para compensar o header fixo */
    padding: 120px 0 80px 0; 
    background: var(--branco);
}
.policy-page .container {
    max-width: 800px; /* Limita a largura do texto para legibilidade */
    margin: 0 auto;
}
.policy-page h1 {
    font-size: 2.5rem;
    color: var(--azul-principal);
    margin-bottom: 15px;
}
.policy-page h2 {
    font-size: 1.8rem;
    color: var(--cinza-chumbo-suave);
    margin-top: 40px;
    margin-bottom: 15px;
}
.policy-page p,
.policy-page li {
    font-size: 1.1rem;
    color: var(--cinza-chumbo);
    margin-bottom: 20px;
    line-height: 1.7;
}
.policy-page ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}
.policy-page strong {
    font-weight: 700;
    color: var(--preto-solido);
}