@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   AGÊNCIA NEWS VIRTUAL - DESIGN SYSTEM DE ALTA CONVERSÃO & AUTORIDADE
   ========================================================================== */

:root, [data-theme="dark"] {
    --ag-bg-dark: #060b18;
    --ag-bg-surface: #0c1527;
    --ag-card-bg: rgba(15, 23, 42, 0.75);
    --ag-card-border: rgba(255, 255, 255, 0.08);
    --ag-card-hover: rgba(30, 41, 59, 0.85);
    --ag-primary: #2563eb;
    --ag-primary-light: #3b82f6;
    --ag-primary-glow: rgba(37, 99, 235, 0.35);
    --ag-accent: #06b6d4;
    --ag-amber: #f59e0b;
    --ag-green: #10b981;
    --ag-text: #f8fafc;
    --ag-text-muted: #94a3b8;
    --ag-heading: #ffffff;
    --ag-gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --ag-gradient-text: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #38bdf8 100%);
    --ag-gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --ag-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --ag-radius: 16px;
    --ag-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --ag-ticker-bg: rgba(12, 21, 39, 0.85);
    --ag-navbar-bg: rgba(6, 11, 24, 0.85);
    --ag-navbar-border: rgba(255, 255, 255, 0.08);
    --ag-nav-link: #cbd5e1;
    --ag-nav-link-hover: #ffffff;
    --ag-section-alt-bg: rgba(12, 21, 39, 0.45);
    --ag-footer-bg: #030712;
    --ag-mockup-bg: rgba(15, 23, 42, 0.75);
    --ag-mockup-input-bg: rgba(0, 0, 0, 0.4);
    --ag-simulator-box-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.6) 100%);
    --ag-simulator-summary-bg: rgba(6, 11, 24, 0.7);
    --ag-checkbox-bg: rgba(12, 21, 39, 0.7);
    --ag-cta-banner-bg: linear-gradient(180deg, rgba(12, 21, 39, 0.6) 0%, #030712 100%);
    --ag-ambient-glow: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
}

[data-theme="light"] {
    --ag-bg-dark: #f8fafc;
    --ag-bg-surface: #ffffff;
    --ag-card-bg: #ffffff;
    --ag-card-border: rgba(15, 23, 42, 0.08);
    --ag-card-hover: #ffffff;
    --ag-primary: #1d4ed8;
    --ag-primary-light: #2563eb;
    --ag-primary-glow: rgba(37, 99, 235, 0.2);
    --ag-accent: #0284c7;
    --ag-amber: #d97706;
    --ag-green: #059669;
    --ag-text: #0f172a;
    --ag-text-muted: #475569;
    --ag-heading: #0f172a;
    --ag-gradient-primary: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
    --ag-gradient-text: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0284c7 100%);
    --ag-gradient-gold: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    --ag-ticker-bg: #f1f5f9;
    --ag-navbar-bg: rgba(255, 255, 255, 0.92);
    --ag-navbar-border: rgba(15, 23, 42, 0.08);
    --ag-nav-link: #334155;
    --ag-nav-link-hover: #0f172a;
    --ag-section-alt-bg: #f1f5f9;
    --ag-footer-bg: #090e1a;
    --ag-mockup-bg: #ffffff;
    --ag-mockup-input-bg: #f1f5f9;
    --ag-simulator-box-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --ag-simulator-summary-bg: #f8fafc;
    --ag-checkbox-bg: #ffffff;
    --ag-cta-banner-bg: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    --ag-ambient-glow: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.03) 50%, transparent 70%);
}

/* Reset e Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ag-font);
    background-color: var(--ag-bg-dark);
    color: var(--ag-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background com iluminação ambiente suave */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: var(--ag-ambient-glow);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    transition: background 0.3s ease;
}

/* Links */
a {
    color: var(--ag-primary-light);
    text-decoration: none;
    transition: var(--ag-transition);
}

a:hover {
    color: var(--ag-accent);
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO CORPORATIVA
   ========================================================================== */

.ag-top-ticker {
    background: var(--ag-ticker-bg);
    border-bottom: 1px solid var(--ag-card-border);
    font-size: 0.82rem;
    padding: 6px 0;
    color: var(--ag-text-muted);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ag-navbar {
    background: var(--ag-navbar-bg) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ag-navbar-border);
    transition: var(--ag-transition);
}

.ag-navbar.ag-navbar-scrolled {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .ag-navbar.ag-navbar-scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.ag-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--ag-heading) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.ag-brand-icon {
    width: 38px;
    height: 38px;
    background: var(--ag-gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: 0 4px 15px var(--ag-primary-glow);
    flex-shrink: 0;
}

.ag-navbar .navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
}

.ag-navbar .nav-item {
    white-space: nowrap !important;
    flex-shrink: 0;
}

.ag-navbar .nav-link {
    color: var(--ag-nav-link) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 12px !important;
    border-radius: 8px;
    white-space: nowrap !important;
    display: inline-block;
    transition: var(--ag-transition);
}

.ag-navbar .nav-link:hover {
    color: var(--ag-nav-link-hover) !important;
    background: rgba(125, 125, 125, 0.08);
}

.ag-btn-nav {
    background: var(--ag-gradient-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 18px !important;
    border-radius: 30px;
    box-shadow: 0 4px 15px var(--ag-primary-glow);
    transition: var(--ag-transition);
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ag-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

@media (min-width: 992px) and (max-width: 1280px) {
    .ag-navbar .navbar-brand {
        font-size: 1.15rem;
        gap: 8px;
    }
    .ag-brand-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .ag-navbar .nav-link {
        font-size: 0.82rem;
        padding: 6px 8px !important;
    }
    .ag-btn-nav {
        font-size: 0.82rem;
        padding: 6px 14px !important;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.ag-hero {
    padding: 90px 0 70px;
    position: relative;
}

.ag-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.ag-pill-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.ag-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.ag-gradient-text {
    background: var(--ag-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ag-hero-subtitle {
    font-size: 1.25rem;
    color: var(--ag-text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 620px;
}

.ag-btn-cta {
    background: var(--ag-gradient-primary);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px var(--ag-primary-glow);
    transition: var(--ag-transition);
}

.ag-btn-cta:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.6);
}

.ag-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ag-card-border);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--ag-transition);
}

.ag-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Card Mockup de IA no Hero */
.ag-hero-mockup {
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    border-radius: var(--ag-radius);
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(12px);
}

.ag-mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ag-card-border);
}

.ag-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.ag-dot-red { background: #ef4444; }
.ag-dot-yellow { background: #f59e0b; }
.ag-dot-green { background: #10b981; }

.ag-mockup-title {
    font-size: 0.85rem;
    color: var(--ag-text-muted);
    margin-left: 6px;
    font-family: monospace;
}

.ag-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ag-cited-source {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Métricas do Hero */
.ag-metrics-strip {
    background: rgba(12, 21, 39, 0.6);
    border: 1px solid var(--ag-card-border);
    border-radius: var(--ag-radius);
    padding: 24px;
    margin-top: 40px;
}

.ag-metric-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.ag-metric-item p {
    font-size: 0.85rem;
    color: var(--ag-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   SEÇÃO COMPARATIVO: ANTES vs. DEPOIS
   ========================================================================== */

.ag-section {
    padding: 80px 0;
    position: relative;
}

.ag-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.ag-section-subtitle {
    font-size: 1.15rem;
    color: var(--ag-text-muted);
    max-width: 650px;
    margin: 0 auto 50px;
}

.ag-compare-card {
    background: var(--ag-card-bg);
    border-radius: var(--ag-radius);
    padding: 36px 28px;
    height: 100%;
    position: relative;
    transition: var(--ag-transition);
}

.ag-compare-bad {
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(12, 21, 39, 0.6) 100%);
}

.ag-compare-good {
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(12, 21, 39, 0.7) 100%);
    box-shadow: 0 10px 35px rgba(16, 185, 129, 0.15);
}

.ag-compare-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ag-compare-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ag-compare-icon.bad {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.ag-compare-icon.good {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.ag-compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ag-compare-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   VITRINE DOS PORTAIS PARCEIROS
   ========================================================================== */

.ag-portal-card {
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    border-radius: var(--ag-radius);
    padding: 32px;
    height: 100%;
    transition: var(--ag-transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.ag-portal-card:hover {
    transform: translateY(-6px);
    border-color: var(--ag-primary);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.ag-portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ag-gradient-primary);
    opacity: 0;
    transition: var(--ag-transition);
}

.ag-portal-card:hover::before {
    opacity: 1;
}

.ag-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.badge-booksense {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-folhademinas {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-paulistao {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-technews {
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-global {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.ag-portal-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.ag-portal-desc {
    color: var(--ag-text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ag-portal-meta {
    border-top: 1px solid var(--ag-card-border);
    padding-top: 16px;
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   TABELA DE PLANOS & PREÇOS
   ========================================================================== */

.ag-pricing-card {
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    border-radius: var(--ag-radius);
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--ag-transition);
}

.ag-pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.25);
}

.ag-pricing-card.featured {
    border: 2px solid var(--ag-primary);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.25);
    transform: scale(1.03);
}

.ag-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.ag-pricing-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ag-gradient-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 15px var(--ag-primary-glow);
}

.ag-plan-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ag-plan-desc {
    color: var(--ag-text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
    min-height: 44px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.ag-plan-price {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ag-card-border);
}

.ag-plan-price .currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ag-text-muted);
}

.ag-plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.ag-plan-price .period {
    font-size: 0.85rem;
    color: var(--ag-text-muted);
}

.ag-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.ag-plan-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.ag-plan-features li i {
    color: var(--ag-green);
    font-size: 1.1rem;
}

.ag-btn-plan {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
    text-align: center;
    display: block;
    transition: var(--ag-transition);
}

.ag-btn-plan-primary {
    background: var(--ag-gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px var(--ag-primary-glow);
}

.ag-btn-plan-primary:hover {
    color: #fff;
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.ag-btn-plan-outline {
    background: transparent;
    border: 1px solid var(--ag-card-border);
    color: #fff;
}

.ag-btn-plan-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   FAIXA DE FORMAS DE PAGAMENTO
   ========================================================================== */

.ag-payment-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    color: var(--ag-text-muted);
}

.ag-payment-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-weight: 600;
}

.ag-payment-label i {
    color: #10b981;
    font-size: 1rem;
}

.ag-payment-method {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    white-space: nowrap !important;
    line-height: 1.2;
    transition: var(--ag-transition);
}

.ag-payment-method.pix {
    background: rgba(16, 185, 129, 0.08);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ag-payment-method.pix:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

.ag-payment-method.cartao,
.ag-payment-method.card {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    white-space: nowrap !important;
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.22);
}

.ag-payment-method.cartao:hover,
.ag-payment-method.card:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.45);
}

.ag-payment-note {
    color: #94a3b8;
    font-size: 0.76rem;
    font-weight: 400;
    opacity: 0.85;
}

/* ==========================================================================
   SIMULADOR INTERATIVO DE ORÇAMENTO
   ========================================================================== */

.ag-simulator-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--ag-radius);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ag-checkbox-card {
    background: rgba(12, 21, 39, 0.7);
    border: 1px solid var(--ag-card-border);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--ag-transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.ag-checkbox-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.ag-checkbox-card.selected {
    border-color: var(--ag-primary);
    background: rgba(37, 99, 235, 0.15);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.ag-simulator-summary {
    background: rgba(6, 11, 24, 0.7);
    border: 1px solid var(--ag-card-border);
    border-radius: 14px;
    padding: 24px;
}

/* ==========================================================================
   COMO FUNCIONA (PASSO A PASSO)
   ========================================================================== */

.ag-step-card {
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    border-radius: var(--ag-radius);
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    position: relative;
}

.ag-step-number {
    width: 48px;
    height: 48px;
    background: var(--ag-gradient-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px var(--ag-primary-glow);
}

.ag-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.ag-step-desc {
    color: var(--ag-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   FAQ SANFONADO
   ========================================================================== */

.ag-faq-accordion .accordion-item {
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.ag-faq-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 24px;
    box-shadow: none;
}

.ag-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--ag-primary-light);
    background: rgba(37, 99, 235, 0.05);
}

.ag-faq-accordion .accordion-button::after {
    filter: invert(1);
}

.ag-faq-accordion .accordion-body {
    color: var(--ag-text-muted);
    font-size: 0.95rem;
    padding: 0 24px 24px;
    line-height: 1.7;
}

/* ==========================================================================
   RODAPÉ CORPORATIVO
   ========================================================================== */

.ag-footer {
    background: #030712;
    border-top: 1px solid var(--ag-card-border);
    padding: 60px 0 30px;
    color: var(--ag-text-muted);
    font-size: 0.9rem;
}

.ag-footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.ag-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ag-footer-links li {
    margin-bottom: 10px;
}

.ag-footer-links a {
    color: var(--ag-text-muted);
}

.ag-footer-links a:hover {
    color: #fff;
}

/* ==========================================================================
   WIDGET FLUTUANTE DE WHATSAPP
   ========================================================================== */

.ag-floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--ag-transition);
    text-decoration: none;
}

.ag-floating-whatsapp i {
    font-size: 1.4rem;
}

.ag-floating-whatsapp:hover {
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    color: #fff !important;
}

/* Responsividade */
@media (max-width: 991px) {
    .ag-hero-title {
        font-size: 2.6rem;
    }
    .ag-pricing-card.featured {
        transform: none;
    }
    .ag-pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 767px) {
    .ag-hero {
        padding: 60px 0 40px;
    }
    .ag-hero-title {
        font-size: 2.1rem;
    }
    .ag-hero-subtitle {
        font-size: 1.05rem;
    }
    .ag-btn-cta, .ag-btn-ghost {
        width: 100%;
        justify-content: center;
    }
    .ag-floating-whatsapp span {
        display: none;
    }
    .ag-floating-whatsapp {
        padding: 14px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
    .ag-back-to-top {
        bottom: 80px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   BARRA DE PROGRESSO DE ROLAGEM
   ========================================================================== */

.ag-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--ag-gradient-primary);
    z-index: 1060;
    box-shadow: 0 0 12px var(--ag-primary-glow);
    transition: width 0.08s ease-out;
    pointer-events: none;
}

/* ==========================================================================
   BOTÃO ALTERNADOR DE MODO DIA / MODO NOITE
   ========================================================================== */

.ag-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ag-card-border);
    color: var(--ag-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--ag-transition);
    padding: 0;
}

.ag-theme-toggle:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--ag-primary-light);
    color: var(--ag-primary-light);
    transform: rotate(15deg);
}

[data-theme="dark"] .ag-icon-sun {
    display: inline-block;
}
[data-theme="dark"] .ag-icon-moon {
    display: none;
}

[data-theme="light"] .ag-icon-sun {
    display: none;
}
[data-theme="light"] .ag-icon-moon {
    display: inline-block;
    color: #0f172a;
}

[data-theme="light"] .ag-theme-toggle {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .ag-nav-toggle-btn i {
    color: #0f172a !important;
}

/* ==========================================================================
   BOTÃO VOLTAR AO TOPO
   ========================================================================== */

.ag-back-to-top {
    position: fixed;
    bottom: 85px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    color: var(--ag-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.ag-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ag-back-to-top:hover {
    background: var(--ag-primary);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--ag-primary-glow);
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA AO ROLAR (SCROLL REVEAL - ZERO IMPACTO EM CPU)
   ========================================================================== */

[data-ag-animate] {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-ag-animate="fade-up"] {
    transform: translateY(32px);
}

[data-ag-animate="fade-down"] {
    transform: translateY(-32px);
}

[data-ag-animate="fade-in"] {
    transform: none;
}

[data-ag-animate="slide-right"] {
    transform: translateX(-36px);
}

[data-ag-animate="slide-left"] {
    transform: translateX(36px);
}

[data-ag-animate="zoom-in"] {
    transform: scale(0.93);
}

/* Quando visível no viewport */
[data-ag-animate].ag-revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Atrasos escalonados (Stagger) */
[data-ag-delay="100"] { transition-delay: 0.1s; }
[data-ag-delay="150"] { transition-delay: 0.15s; }
[data-ag-delay="200"] { transition-delay: 0.2s; }
[data-ag-delay="250"] { transition-delay: 0.25s; }
[data-ag-delay="300"] { transition-delay: 0.3s; }
[data-ag-delay="350"] { transition-delay: 0.35s; }
[data-ag-delay="400"] { transition-delay: 0.4s; }
[data-ag-delay="500"] { transition-delay: 0.5s; }

/* Micro-animação contínua e suave para o card de IA no Hero */
.ag-hero-mockup {
    animation: agFloat 6s ease-in-out infinite;
}

@keyframes agFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* Respeita preferências de redução de movimento para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    [data-ag-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .ag-hero-mockup {
        animation: none !important;
    }
}

/* ==========================================================================
   REFINAMENTO GERAL PARA MODO DIA (LIGHT MODE)
   ========================================================================== */

[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4, 
[data-theme="light"] h5, 
[data-theme="light"] h6 {
    color: var(--ag-heading);
}

[data-theme="light"] .text-white:not(.ag-btn-cta):not(.ag-btn-nav):not(.ag-btn-plan-primary):not(.badge):not(.ag-pricing-ribbon):not(.ag-step-number):not(.ag-floating-whatsapp):not(.ag-keep-white) {
    color: var(--ag-text) !important;
}

[data-theme="light"] .text-white-50:not(.ag-keep-white) {
    color: var(--ag-text-muted) !important;
}

[data-theme="light"] .ag-hero-mockup {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ag-hero-mockup .bg-dark {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

[data-theme="light"] .ag-metrics-strip {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .ag-metric-item h3 {
    color: #0f172a;
}

[data-theme="light"] .ag-btn-ghost {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ag-btn-ghost:hover {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.25);
    color: #0f172a;
}

[data-theme="light"] .ag-section-alt {
    background: var(--ag-section-alt-bg) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .ag-compare-bad {
    background: #fff5f5;
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.05);
}

[data-theme="light"] .ag-compare-bad .ag-compare-list li {
    border-bottom-color: rgba(239, 68, 68, 0.12);
    color: #334155;
}

[data-theme="light"] .ag-compare-good {
    background: #f0fdf4;
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .ag-compare-good .ag-compare-list li {
    border-bottom-color: rgba(16, 185, 129, 0.15);
    color: #1e293b;
}

[data-theme="light"] .ag-portal-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .ag-portal-card:hover {
    box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.14);
}

[data-theme="light"] .ag-portal-title {
    color: #0f172a;
}

[data-theme="light"] .ag-portal-desc {
    color: #475569;
}

[data-theme="light"] .ag-portal-meta {
    border-top-color: rgba(15, 23, 42, 0.08);
    color: #64748b;
}

[data-theme="light"] .ag-expansion-box {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .ag-pricing-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .ag-pricing-card:hover {
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ag-pricing-card.featured {
    background: #ffffff;
    border: 2px solid #2563eb;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .ag-plan-name {
    color: #0f172a;
}

[data-theme="light"] .ag-plan-price .amount {
    color: #0f172a;
}

[data-theme="light"] .ag-plan-features li {
    color: #334155;
}

[data-theme="light"] .ag-btn-plan-outline {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #1e293b;
}

[data-theme="light"] .ag-btn-plan-outline:hover {
    background: #e2e8f0;
    color: #0f172a;
}

[data-theme="light"] .ag-payment-strip {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    color: #475569;
}

[data-theme="light"] .ag-payment-label {
    color: #1e293b;
}

[data-theme="light"] .ag-simulator-box {
    background: var(--ag-simulator-box-bg);
    border: 1px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .ag-checkbox-card {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #1e293b;
}

[data-theme="light"] .ag-checkbox-card:hover {
    background: #f1f5f9;
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .ag-checkbox-card.selected {
    background: #eff6ff;
    border-color: #2563eb;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .ag-simulator-summary {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ag-step-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .ag-step-title {
    color: #0f172a;
}

[data-theme="light"] .ag-faq-accordion .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .ag-faq-accordion .accordion-button {
    background: #ffffff;
    color: #0f172a;
}

[data-theme="light"] .ag-faq-accordion .accordion-button:not(.collapsed) {
    color: #1d4ed8;
    background: #eff6ff;
}

[data-theme="light"] .ag-faq-accordion .accordion-button::after {
    filter: none;
}

[data-theme="light"] .ag-faq-accordion .accordion-body {
    color: #475569;
}

[data-theme="light"] .ag-cta-banner {
    background: var(--ag-cta-banner-bg) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   PÁGINAS INTERNAS (POST, CATEGORIA, BUSCA) NO TEMA AGÊNCIA
   ========================================================================== */

.single-post, .post-content {
    color: var(--ag-text);
}

.post-card-horizontal {
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    border-radius: var(--ag-radius);
    overflow: hidden;
    transition: var(--ag-transition);
}

.post-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.post-card-horizontal .card-title a {
    color: var(--ag-heading) !important;
}

.post-card-horizontal .card-text {
    color: var(--ag-text-muted);
}

[data-theme="light"] .post-card-horizontal {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .post-card-horizontal:hover {
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .post-card-horizontal .card-title a {
    color: #0f172a !important;
}

/* ==========================================================================
   PÁGINAS INSTITUCIONAIS (POLÍTICA DE PRIVACIDADE & TERMOS DE SERVIÇO)
   ========================================================================== */

.ag-legal-wrapper {
    position: relative;
    min-height: 80vh;
}

.ag-breadcrumb .breadcrumb-item a {
    color: var(--ag-accent);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--ag-transition);
}

.ag-breadcrumb .breadcrumb-item a:hover {
    color: var(--ag-primary-light);
    text-decoration: underline;
}

.ag-breadcrumb .breadcrumb-item.active {
    color: var(--ag-text-muted);
    font-size: 0.88rem;
}

.ag-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--ag-text-muted);
}

.ag-legal-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid var(--ag-card-border);
    position: relative;
    overflow: hidden;
}

.ag-legal-badge {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--ag-accent);
}

.ag-legal-card {
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.ag-legal-nav-sticky {
    position: sticky;
    top: 90px;
    background: var(--ag-card-bg);
    border: 1px solid var(--ag-card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ag-legal-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ag-heading);
    letter-spacing: 0.3px;
}

.ag-legal-nav-list .nav-link {
    color: var(--ag-text-muted);
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--ag-transition);
}

.ag-legal-nav-list .nav-link:hover {
    color: var(--ag-heading);
    background: rgba(37, 99, 235, 0.12);
    transform: translateX(4px);
}

.ag-legal-support-box {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.ag-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ag-gradient-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ag-legal-section {
    scroll-margin-top: 100px;
}

.ag-legal-section h2, .ag-legal-section h3 {
    color: var(--ag-heading);
}

.ag-legal-section p, .ag-legal-section li {
    color: var(--ag-text);
    font-size: 0.96rem;
    line-height: 1.7;
}

.ag-styled-list {
    padding-left: 1.2rem;
}

.ag-styled-list li {
    margin-bottom: 0.6rem;
}

.ag-feature-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--ag-card-border);
    transition: var(--ag-transition);
}

.ag-feature-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

.ag-legal-table {
    border-color: var(--ag-card-border);
    color: var(--ag-text);
}

.ag-legal-table thead th {
    background: rgba(37, 99, 235, 0.15);
    color: var(--ag-heading);
    font-weight: 700;
    border-color: var(--ag-card-border);
}

.ag-legal-table td {
    background: transparent;
    border-color: var(--ag-card-border);
    color: var(--ag-text);
}

.ag-alert-info {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--ag-text);
}

.ag-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--ag-text);
}

.ag-danger-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.ag-right-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ag-card-border);
    font-size: 0.88rem;
    color: var(--ag-text);
}

.ag-contact-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(12, 21, 39, 0.8) 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
}

/* Modificadores Light Mode para Páginas Legais */
[data-theme="light"] .ag-legal-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, #f1f5f9 100%);
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ag-legal-header h1 {
    color: #0f172a !important;
}

[data-theme="light"] .ag-legal-header p {
    color: #475569 !important;
}

[data-theme="light"] .ag-legal-header .text-white-50 {
    color: #64748b !important;
}

[data-theme="light"] .ag-legal-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .ag-legal-nav-sticky {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .ag-legal-nav-title {
    color: #0f172a;
}

[data-theme="light"] .ag-legal-nav-list .nav-link {
    color: #475569;
}

[data-theme="light"] .ag-legal-nav-list .nav-link:hover {
    color: #1d4ed8;
    background: #eff6ff;
}

[data-theme="light"] .ag-feature-card {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ag-feature-card .text-white-50 {
    color: #475569 !important;
}

[data-theme="light"] .ag-feature-card h6.text-white {
    color: #0f172a !important;
}

[data-theme="light"] .ag-feature-card .fs-4.text-white {
    color: #0f172a !important;
}

[data-theme="light"] .ag-legal-table thead th {
    background: #e0f2fe;
    color: #0369a1;
}

[data-theme="light"] .ag-right-item {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    color: #334155;
}

[data-theme="light"] .ag-contact-card {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .ag-contact-card h5 {
    color: #0f172a !important;
}

[data-theme="light"] .ag-contact-card p {
    color: #475569 !important;
}

[data-theme="light"] .ag-legal-support-box .text-white {
    color: #0f172a !important;
}

[data-theme="light"] .ag-legal-support-box .text-white-50 {
    color: #475569 !important;
}

/* ==========================================================================
   POP-UP / BARRA DE COOKIES DA LGPD (ALTA PERFORMANCE & RESPONSIVA)
   ========================================================================== */

.ag-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 480px;
    width: calc(100% - 48px);
    background: rgba(12, 21, 39, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.55), 0 0 25px rgba(37, 99, 235, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1045;
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.ag-cookie-banner.ag-cookie-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ag-cookie-banner.ag-cookie-hiding {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
}

.ag-cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ag-cookie-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ag-gradient-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.ag-cookie-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
}

.ag-cookie-body {
    font-size: 0.86rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.ag-cookie-body a {
    color: var(--ag-accent);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ag-cookie-body a:hover {
    color: #ffffff;
}

.ag-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ag-btn-cookie-accept {
    background: var(--ag-gradient-primary);
    color: #ffffff !important;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 14px var(--ag-primary-glow);
    transition: var(--ag-transition);
    cursor: pointer;
    flex: 1 1 auto;
    text-align: center;
}

.ag-btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--ag-primary-glow);
}

.ag-btn-cookie-essential {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--ag-transition);
    cursor: pointer;
    flex: 1 1 auto;
    text-align: center;
}

.ag-btn-cookie-essential:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
}

/* Estilos no Tema Claro */
[data-theme="light"] .ag-cookie-banner {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15), 0 0 20px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .ag-cookie-title {
    color: #0f172a;
}

[data-theme="light"] .ag-cookie-body {
    color: #475569;
}

[data-theme="light"] .ag-cookie-body a {
    color: #0284c7;
}

[data-theme="light"] .ag-cookie-body a:hover {
    color: #0f172a;
}

[data-theme="light"] .ag-btn-cookie-essential {
    background: #f1f5f9;
    color: #334155 !important;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .ag-btn-cookie-essential:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

/* Responsividade Mobile para a Barra de Cookies */
@media (max-width: 576px) {
    .ag-cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 18px 18px 0 0;
        padding: 18px 16px 22px 16px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
    }

    .ag-cookie-actions {
        flex-direction: column;
    }

    .ag-btn-cookie-accept, .ag-btn-cookie-essential {
        width: 100%;
        padding: 10px 16px;
    }
}

/* ======================================= */
/* == GRADE DE POSTS RELACIONADOS       == */
/* ======================================= */
.related-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.related-post-summary {
    font-size: 0.8rem;
    color: #94a3b8;
}

[data-theme="light"] .related-post-summary {
    color: #64748b;
}

.related-post-title a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

[data-theme="light"] .related-post-title a {
    color: #0f172a;
}

.related-post-card:hover .related-post-title a {
    color: var(--ag-blue-light, #60a5fa) !important;
}

[data-theme="light"] .related-post-card:hover .related-post-title a {
    color: var(--ag-blue, #2563eb) !important;
}

.related-post-col {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

.related-posts-grid {
    margin-left: -8px;
    margin-right: -8px;
}