html {
            scroll-behavior: smooth;
        }

        /* Reset básico e layout geral */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: Arial, sans-serif;
            font-size: 14px;
            line-height: 1.6;
            border: 2px solid #ccc;
            padding: 20px;
            margin: 0 auto;
            max-width: 1200px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        td {
            padding: 10px;
            vertical-align: top;
            font-family: Arial, sans-serif;
            font-size: 14px;
        }

        /* --- MISSÃO 1: AJUSTE HEADER IDIOMAS --- */
        .header-bar-table {
            background-color: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
            margin-bottom: 0;
        }
        .header-bar-table td {
            width: 25%;
            text-align: center;
            padding: 4px 10px; /* Reduzido em 50% */
            vertical-align: middle;
        }
        .header-bar-icon {
            display: inline-block;
            transition: transform 0.2s ease-in-out;
            line-height: 0;
        }
        .header-bar-icon:hover {
            transform: scale(1.1);
        }
        .header-bar-icon svg {
            height: 24px;
            width: auto;
            max-width: 36px;
        }

        /* --- MISSÃO 2: HEADER PRINCIPAL COM LOGO E MENU --- */
        .logo-nav-header {
            background-color: #f0c14b; /* Cor do CTA */
        }
        .logo-nav-header td {
            vertical-align: middle;
        }
        .logo-cell {
            width: 40%;
            text-align: left;
        }
        .header-logo-img {
            height: 60px; /* Altura definida pela expertise do Coronel */
            width: auto;
            max-width: 100%; /* Garante responsividade */
        }
        .nav-cell {
            width: 60%;
            text-align: right;
            position: relative; /* ANCORA para o menu sanfona */
        }
        .header-nav {
            display: inline-block; /* Comportamento padrão no desktop */
        }
        .header-nav a {
            color: #111;
            text-decoration: none;
            font-weight: bold;
            margin: 0 8px;
            font-size: 13px;
        }
        .header-nav a:hover {
            text-decoration: underline;
        }
        /* Botão Sanfona (Hamburger) */
        .nav-toggle-btn {
            display: none; /* Oculto no desktop */
            font-size: 30px;
            cursor: pointer;
            background: none;
            border: none;
            color: #111;
            padding: 5px;
        }

        /* VSL */
        .youtube-embed-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
        }
        .youtube-embed-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* CTA Pós-Vídeo */
        .cta-inicial-table {
            background-color: #f9f9f9;
            padding: 20px 10px;
            text-align: center;
            margin-bottom: 30px;
        }
        .cta-inicial-table td {
            text-align: center;
        }
        .cta-btn-grande {
            display: inline-block;
            background: linear-gradient(145deg, #f0c14b, #ddb347);
            color: #111;
            padding: 15px 35px;
            font-size: 20px;
            font-weight: bold;
            text-decoration: none;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        .cta-btn-grande:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
            background: linear-gradient(145deg, #f1c75b, #e1b952);
        }
        
        /* Parágrafo persuasivo */
        .persuasive-table {
            background: #fff;
            padding: 20px;
            margin-top: 20px;
        }

        /* Estilo para títulos e subtítulos */
        .h1-table td {
            font-weight: bold;
            text-align: left;
        }
        .h2-table td {
            text-align: justify;
        }
        
        /* Parágrafos com imagens */
        .para-table {
            border: 1px solid #ddd;
        }
        .image-cell {
            width: 30%;
            background: #f0f0f0;
            text-align: center;
            vertical-align: middle;
        }
        .content-cell {
            width: 70%;
            text-align: justify;
            text-indent: 1.5em;
        }
        .para-table td[colspan="2"] {
            text-align: center;
            font-weight: bold;
            font-size: 16px;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: auto;
        }

        /* --- SLIDER DE DEPOIMENTOS --- */
        .testimonials-section {
            padding: 30px 20px;
            background-color: #f9f9f9;
            text-align: center;
            margin-bottom: 20px;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }
        .testimonials-section h2 {
            font-size: 24px;
            margin-bottom: 25px;
            color: #333;
        }
        .testimonial-slider {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            scroll-behavior: smooth;
        }
        .testimonial-slider::-webkit-scrollbar {
            display: none;
        }
        .testimonial-slide {
            flex: 0 0 100%;
            scroll-snap-align: center;
            padding: 20px;
            max-width: 800px;
            margin: 0 auto;
        }
        .testimonial-slide blockquote {
            font-size: 16px;
            font-style: italic;
            color: #555;
            border-left: 4px solid #f0c14b;
            padding-left: 20px;
            margin: 0;
            text-align: left;
        }
        .testimonial-slide cite {
            display: block;
            margin-top: 15px;
            font-weight: bold;
            color: #333;
            text-align: right;
            font-style: normal;
        }

            .testimonial-slide cite span {
            display: block;
            font-weight: normal;
            font-size: 14px;
            color: #555; /* TÁTICA: Escurecido de #777 para #555 (Aprova no WCAG) */
        }
        .testimonial-nav {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 20px;
        }
        .testimonial-nav a {
            width: 12px;
            height: 12px;
            background-color: #ccc;
            border-radius: 50%;
            transition: background-color 0.3s ease;
        }
        .testimonial-nav a:hover {
            background-color: #aaa;
        }

        /* --- MISSÃO 4: SEÇÃO AUTOR/IA --- */
        .author-ia-table {
            background-color: #f8f9fa;
            border-collapse: separate; /* Permite espaçamento em células */
            border-spacing: 0;
        }
        .author-ia-table td {
            width: 50%;
            text-align: center;
            vertical-align: top;
            padding: 20px;
        }
        .author-ia-table .quote-cell {
            padding-top: 15px;
            font-style: italic;
            color: #333;
            border-top: 1px solid #ddd;
        }
        
        /* --- RODAPÉ ESTRATÉGICO --- */
        .page-footer {
            background-color: #f8f9fa;
            border-top: 1px solid #dee2e6;
            padding: 20px;
            margin-top: 30px;
        }
        .footer-proof-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #dee2e6;
        }
        .w3c-seals {
            flex: 1;
            display: flex;
            gap: 10px;
            justify-content: center;
            align-items: center;
            min-width: 250px;
        }
        .w3c-seals img {
            height: 32px;
            width: auto;
        }
        .pagespeed-link {
            flex: 2;
            min-width: 300px;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .pagespeed-scores {
            display: flex;
            justify-content: space-around;
            text-align: center;
        }
            .score-item .score-value {
            font-size: 24px;
            font-weight: bold;
            color: #167a2e; /* TÁTICA: Verde mais escuro e tático (Contraste 5.2:1) */
            border: 3px solid #167a2e; /* Acompanha a mesma cor no aro */
            border-radius: 50%;
            width: 55px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 5px auto;
            transition: transform 0.2s ease;
        }
        .pagespeed-link:hover .score-value {
            transform: scale(1.05);
        }
        .score-item .score-label {
            font-size: 12px;
            color: #555;
        }
        .footer-links-row {
            padding: 20px 0;
            text-align: center;
        }
        .footer-links-row a {
            color: #0a3161;
            text-decoration: none;
            margin: 0 10px;
            font-weight: bold;
        }
        .footer-links-row a:hover {
            text-decoration: underline;
        }
            .footer-copyright {
            text-align: center;
            font-size: 12px;
            color: #555; /* TÁTICA: Escurecido de #777 para #555 */
            padding-top: 20px;
            border-top: 1px solid #dee2e6;
        }
        /* --- MISSÃO 3: ESTILOS DO POP-UP --- */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
        }
        .popup-modal {
            background: #fff;
            padding: 30px 20px 20px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            max-width: 500px;
            width: 100%;
            position: relative;
            z-index: 1001;
            animation: fadeIn 0.3s ease-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        .popup-close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 28px;
            font-weight: bold;
            color: #aaa;
            cursor: pointer;
            line-height: 1;
        }
        .popup-close-btn:hover {
            color: #333;
        }
        .popup-content h2 {
            font-size: 22px;
            margin-bottom: 10px;
            color: #008080;
            text-align: center;
        }
        .popup-content p {
            font-size: 14px;
            color: #666;
            margin-bottom: 20px;
            text-align: center;
        }
        .popup-content input[type="text"],
        .popup-content input[type="email"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
        }
        .popup-content button {
            width: 100%;
            padding: 12px;
            background-color: #FF4500; /* Cor Laranja/Vermelho */
            border: none;
            border-radius: 4px;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .popup-content button:hover {
            background-color: #CC3700;
        }
        /* NOVO BOTÃO DE DOWNLOAD (SUCESSO) */
        .popup-download-btn {
            display: block;
            width: 100%;
            padding: 12px;
            background-color: #28a745; /* Verde Sucesso */
            color: #fff;
            border-radius: 4px;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
            text-align: center;
            transition: background-color 0.3s ease;
            margin-top: 10px; /* Espaçamento */
        }
        .popup-download-btn:hover {
            background-color: #218838;
        }

        /* Media Queries (Ajustes de Batalha) */
        @media (max-width: 768px) {
            body { padding: 10px; }
            .image-cell, .content-cell {
                width: 100%;
                display: block;
            }
            /* --- AJUSTE MENU SANFONA --- */
            .logo-cell {
                width: 70%; /* Mais espaço para o logo */
            }
            .nav-cell {
                width: 30%; /* Espaço para o botão */
                text-align: right;
                vertical-align: middle;
            }
            .header-nav {
                display: none; /* Esconde o menu de links */
                position: absolute;
                top: 100%; /* Alinha abaixo da célula do header */
                right: 0; /* Alinha à direita da célula */
                width: 250px; /* Largura fixa para o menu dropdown */
                background-color: #f0c14b;
                box-shadow: 0 4px 8px rgba(0,0,0,0.2);
                border: 1px solid #ddb347;
                z-index: 100;
            }
            .header-nav a {
                display: block; /* Links um abaixo do outro */
                padding: 15px;
                margin: 0;
                text-align: left; /* Alinha texto à esquerda no dropdown */
                border-top: 1px solid rgba(0,0,0,0.1);
            }
            .nav-toggle-btn {
                display: inline-block; /* Mostra o botão hamburger */
            }
            .nav-visible {
                display: block; /* Classe JS para mostrar o menu */
            }

            /* --- AJUSTE AUTOR/IA --- */
            .author-ia-table td {
                width: 100%;
                display: block; /* Garante que as colunas empilhem */
            }
        }
        @media (max-width: 600px) {
            .footer-proof-row {
                flex-direction: column;
            }
             .w3c-seals, .pagespeed-link {
                min-width: 0;
            }
            .pagespeed-scores {
                flex-direction: column;
                align-items: center;
                gap: 20px;
                margin-top: 20px;
            }
        }

        /* ESTILOS DOS SELOS (CORRIGIDO E MANTIDO NO TOPO) */
        .authority-badges-container {
            display: flex; /* Modo tático lado a lado */
            justify-content: center; /* Centraliza na tela */
            align-items: center; /* Alinha pelo centro */
            gap: 20px; /* Distância de segurança entre os selos */
            margin-top: 30px; /* Espaço do PageSpeed acima */
            margin-bottom: 40px; /* Espaço do próximo conteúdo abaixo */
            padding: 10px;
            flex-wrap: wrap; /* Tática de sobrevivência: se a tela for muito pequena, ele ajusta sem quebrar */
        }

        .badge-item a {
            display: block; 
            transition: transform 0.2s ease; /* Efeito suave de mira */
        }

        /* Efeito tático de "clique aqui" ao passar o mouse */
        .badge-item a:hover {
            transform: scale(1.05);
        }

        .badge-item img {
            max-width: 100%;
            height: auto;
            /* Essa regra junto com o width e height do HTML garante ZERO mudanças de layout (CLS) */


 /* --- VARIÁVEIS DE COR (PADRÃO DARK) --- */
        :root {
            --primary-gold: #D4AF37;
            --bg-body: #000000;
            --bg-card: #1C1C1C;
            --text-main: #FFFFFF;
            --text-dim: #CCCCCC;
            --border-color: #333;
        }

        /* --- MODO CLARO (WHITE SMOKE) --- */
        @media (prefers-color-scheme: light) {
            :root {
                --bg-body: #F5F5F5; /* White Smoke: Conforto visual sem o brilho do branco puro */
                --bg-card: #E0E0E0;
                --text-main: #1A1A1A;
                --text-dim: #444444;
                --border-color: #CCCCCC;
            }
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            transition: background 0.5s ease;
        }

        .container {
            width: 90%;
            max-width: 1100px;
            margin: 0 auto;
            padding: 2rem 0;
        }

        /* --- GARANTIA DE TRANSPARÊNCIA NAS IMAGENS --- */
        img { 
            max-width: 100%; 
            height: auto; 
            display: block; 
            margin: 0 auto 1.5rem auto; 
            background-color: transparent !important; /* Força a transparência do WebP */
            border: none !important;
        }

        /* --- IMAGEM FULL WIDTH (ESTANTE) --- */
        /* Esta técnica força a imagem a ocupar 100% da largura da janela, ignorando o container pai */
        .full-width-section {
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            margin-right: calc(-50vw + 50%);
            position: relative;
            left: 0;
            right: 0;
        }

        .full-width-section img {
            width: 100%;
            max-width: none;
            border-radius: 0;
            border-top: 2px solid var(--primary-gold);
            border-bottom: 2px solid var(--primary-gold);
        }

        /* --- TIPOGRAFIA --- */
        h1 { font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin-bottom: 0.5rem; }
        .subtitle { font-size: 1.3rem; text-align: center; color: var(--text-dim); margin-bottom: 2rem; }
        h3 { font-size: 1.5rem; color: var(--primary-gold); margin-bottom: 1rem; text-align: center; }
        p { text-align: justify; margin-bottom: 1.2rem; color: var(--text-dim); }
        .gold { color: var(--primary-gold); }

        /* --- ACORDEÃO SEO --- */
        details { max-width: 900px; margin: 0 auto 2rem auto; }
        details summary {
            list-style: none; cursor: pointer; text-align: center; color: var(--primary-gold);
            font-weight: bold; text-transform: uppercase; padding: 12px 24px;
            border: 1px solid var(--primary-gold); display: block; width: fit-content; margin: 1rem auto;
        }
        details summary::-webkit-details-marker { display: none; }

        /* --- VSL TOPO --- */
        .vsl-box {
            width: 100%; max-width: 850px; aspect-ratio: 16 / 9;
            background: #222; margin: 0 auto 2rem auto;
            display: flex; align-items: center; justify-content: center;
            border: 1px solid var(--border-color);
        }

        /* --- GRID 10 CARDS --- */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 3rem 0;
        }

        .feature-card {
            background: var(--bg-card);
            padding: 1.5rem;
            border-left: 4px solid var(--primary-gold);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .feature-card h4 { color: var(--primary-gold); margin-bottom: 0.5rem; }

        section { padding: 4rem 0; }
        .content-block { max-width: 900px; margin: 0 auto; }

        }
        
        /* Estilos para os Cards de Fundamentos CLT */
.clt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.clt-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    position: relative;
    border-radius: 0 8px 8px 8px; /* Canto superior esquerdo reto para a dobra */
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Efeito de Dobra da Ponta Superior Esquerda */
.clt-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-width: 0 25px 25px 0;
    border-style: solid;
    border-color: var(--bg-body) var(--primary-gold) var(--bg-body) var(--bg-body);
    display: block;
    width: 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.clt-card-num {
    color: var(--primary-gold);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-left: 15px; /* Afasta da dobra */
}

.clt-card-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    text-align: left;
}

/* Ajuste de largura para Mobile */
@media (max-width: 480px) {
    .clt-grid {
        grid-template-columns: 1fr; /* Força uma coluna única em telas muito pequenas */
        padding: 5px;
    }
}

/* Configuração Automática de Cores (Dark/Light Mode) */
@media (prefers-color-scheme: light) {
    :root {
        --bg-body: #ffffff;
        --text-main: #333333;
        --bg-card: #f9f9f9;
        --border-color: #dddddd;
        --text-dim: #666666;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #121212;
        --text-main: #e0e0e0;
        --bg-card: #1e1e1e;
        --border-color: #333333;
        --text-dim: #b0b0b0;
    }
}

/* Justificação Global de Textos e Ajuste de Marcadores */
p, li {
    text-align: justify;
    hyphens: auto; /* Evita buracos brancos grandes no texto justificado */
}

/* Correção de Marcadores (Bullets) para não quebrarem no Mobile */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

/* Garante que o fundo e o texto usem as variáveis dinâmicas */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}