/* ============================================
   SAÚDE INDICADORES e-SUS — Landing Page
   Tokens do design system Indicadores Saúde
   Light + Dark, tipografia Inter local
   ============================================ */

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ---------- Brand ---------- */
    --color-brand: #1212B6;
    --color-brand-dark: #0E0E91;
    --color-brand-light: #3B45D9;

    /* ---------- Action UI ---------- */
    --color-action: #4338CA;
    --color-action-hover: #3730A3;
    --color-action-light: #EDE9FE;
    --color-action-text: #312E81;

    /* ---------- Performance Previne (RESERVADAS para indicadores) ---------- */
    --color-perf-otimo: #1212B6;
    --color-perf-bom: #38BA38;
    --color-perf-suficiente: #D5BA0A;
    --color-perf-regular: #C46500;

    /* ---------- System feedback ---------- */
    --color-success: #38BA38;
    --color-warning: #D5BA0A;
    --color-danger: #C46500;
    --color-info: #4338CA;

    /* ---------- Neutral (slate) ---------- */
    --color-slate-50:  #F8FAFC;
    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-300: #CBD5E1;
    --color-slate-400: #94A3B8;
    --color-slate-500: #64748B;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1E293B;
    --color-slate-900: #0F172A;

    /* ---------- Semantic FG/BG (LIGHT default) ---------- */
    --fg-primary: #0F172A;
    --fg-secondary: #475569;
    --fg-muted: #64748B;
    --fg-disabled: #94A3B8;
    --fg-inverted: #FFFFFF;
    --fg-link: #4338CA;
    --fg-link-hover: #3730A3;

    --bg-page: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-soft: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-overlay: rgba(15, 23, 42, 0.4);

    --border-default: #E2E8F0;
    --border-subtle: #F1F5F9;
    --border-strong: #CBD5E1;
    --border-focus: #4338CA;

    --brand-on-surface: #1212B6;
    --action-on-surface: #4338CA;

    /* ---------- Tipografia ---------- */
    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --type-h1-hero-size: 56px;
    --type-h1-hero-weight: 800;
    --type-h1-hero-tracking: -1px;
    --type-h1-hero-lh: 1.1;
    --type-h1-size: 36px;
    --type-h1-weight: 800;
    --type-h1-tracking: -0.75px;
    --type-h1-lh: 1.15;
    --type-h2-size: 28px;
    --type-h2-weight: 700;
    --type-h2-tracking: -0.5px;
    --type-h2-lh: 1.2;
    --type-h3-size: 18px;
    --type-h3-weight: 600;
    --type-h3-tracking: -0.25px;
    --type-h3-lh: 1.4;
    --type-eyebrow-size: 11px;
    --type-eyebrow-tracking: 1.5px;
    --type-body-lg-size: 17px;
    --type-body-size: 15px;
    --type-body-sm-size: 13px;
    --type-button-size: 14px;
    --type-button-weight: 600;

    /* ---------- Spacing ---------- */
    --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
    --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
    --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

    /* ---------- Containers ---------- */
    --container-lg: 1140px;
    --container-xl: 1280px;

    /* ---------- Sombras (light) ---------- */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 14px 32px -12px rgba(15, 23, 42, 0.18), 0 4px 10px rgba(15, 23, 42, 0.05);
    --shadow-focus-ring: 0 0 0 3px rgba(67, 56, 202, 0.10);

    /* ---------- Radii (preserva valores originais; design system usa 6/8/10/16) ---------- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* ---------- Transitions ---------- */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ============================================
   DARK MODE — overrides dos tokens semânticos
   ============================================ */
[data-theme="dark"] {
    --fg-primary: #E2E8F0;
    --fg-secondary: #94A3B8;
    --fg-muted: #64748B;
    --fg-disabled: #475569;
    --fg-link: #A5B4FC;
    --fg-link-hover: #C7D2FE;

    --bg-page: #0F1729;
    --bg-alt: #131C33;
    --bg-soft: #1A2238;
    --bg-card: #1A2238;
    --bg-overlay: rgba(2, 6, 23, 0.65);

    --border-default: #26314D;
    --border-subtle: #1E2742;
    --border-strong: #334A6E;
    --border-focus: #818CF8;

    --brand-on-surface: #818CF8;
    --action-on-surface: #A5B4FC;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.55);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.50);
    --shadow-focus-ring: 0 0 0 3px rgba(129, 140, 248, 0.25);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-slate-700);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 14px 40px -8px rgba(18, 18, 182, 0.55), 0 0 0 8px rgba(255,255,255,0.10); }
    50% { box-shadow: 0 14px 40px -8px rgba(18, 18, 182, 0.45), 0 0 0 14px rgba(255,255,255,0.04); }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 0.938rem;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.2;
}
.btn--primary {
    background: var(--color-brand);
    color: #fff;
}
.btn--primary:hover {
    background: var(--color-brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}
.btn--outline {
    background: #fff;
    color: var(--color-slate-700);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-sm);
}
.btn--outline:hover {
    border-color: var(--border-strong);
    color: var(--fg-primary);
    background: var(--bg-soft);
    transform: translateY(-1px);
}
.btn--outline-light {
    background: transparent;
    color: var(--color-brand-light);
    border: 2px solid var(--color-brand-light);
}
.btn--outline-light:hover {
    background: var(--color-brand-light);
    color: #fff;
}
.btn--white {
    background: #fff;
    color: var(--color-brand);
}
.btn--white:hover {
    background: var(--color-slate-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn--lg { padding: 13px 26px; font-size: 0.95rem; }
.btn--sm { padding: 8px 16px; font-size: 0.875rem; }

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.badge--teal { background: rgba(13,148,136,0.15); color: var(--color-brand-light); }
.badge--navy { background: rgba(59,130,246,0.15); color: var(--color-action); }
.badge--orange { background: rgba(245,158,11,0.15); color: var(--color-perf-regular); }

/* === HEADER (light por padrão; dark via [data-theme="dark"] no fim) === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 rgba(226, 232, 240, 0.9), 0 6px 24px -12px rgba(15, 23, 42, 0.10);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.header__logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.header__logo-divider {
    width: 1px;
    height: 24px;
    background: var(--border-default);
}
.header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.header__logo-title {
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 15px;
    color: var(--fg-primary);
    letter-spacing: -0.25px;
}
.header__logo-sub {
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 10px;
    color: var(--fg-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 3px;
}
.header__nav {
    display: flex;
    gap: 4px;
    align-items: center;
}
.header__link {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-slate-600);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.header__link:hover {
    color: var(--fg-primary);
    background: var(--bg-soft);
}
.header__link.is-active {
    color: var(--color-action);
    background: var(--color-action-light);
    font-weight: 600;
}
.header__cta svg { flex-shrink: 0; }
.header__entrar {
    font-family: var(--font-base);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-slate-600);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: color var(--transition);
}
.header__entrar:hover { color: var(--fg-primary); }
[data-theme="dark"] .header__entrar { color: rgba(255, 255, 255, 0.72); }
[data-theme="dark"] .header__entrar:hover { color: #fff; }

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-default);
    background: var(--bg-card);
    color: var(--color-slate-600);
    cursor: pointer;
    transition: all var(--transition);
}
.theme-toggle:hover {
    background: var(--bg-soft);
    border-color: var(--border-strong);
    color: var(--fg-primary);
}
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fg-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.header__hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.header__hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.header__mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
}
.header__mobile-menu.is-open { display: flex; }
.header__mobile-link {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 15px;
    color: var(--color-slate-700);
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.header__mobile-link:hover {
    color: var(--fg-primary);
    background: var(--bg-soft);
}

/* === HERO (light por padrão; dark via [data-theme="dark"]) === */
.hero {
    position: relative;
    background: linear-gradient(180deg, var(--color-slate-50) 0%, #FFFFFF 70%);
    padding: 96px 0 72px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-default);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.30;
}
.hero__shape--1 {
    width: 560px; height: 560px;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.40), rgba(56, 186, 56, 0.10) 60%, transparent 80%);
    top: -220px; right: -120px;
}
.hero__shape--2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle at 70% 70%, rgba(18, 18, 182, 0.25), rgba(67, 56, 202, 0.10) 60%, transparent 80%);
    bottom: -160px; left: -100px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--color-slate-200) 1px, transparent 1px), linear-gradient(90deg, var(--color-slate-200) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 60% 40% at 50% 0%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 40% at 50% 0%, #000 30%, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
}
.hero__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.hero__title {
    font-family: var(--font-base);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--fg-primary);
    letter-spacing: -1px;
    margin-bottom: 18px;
    max-width: 520px;
}
.hero__title em {
    font-style: normal;
    color: var(--color-brand);
    background: none;
    -webkit-text-fill-color: currentColor;
}
.hero__subtitle {
    font-size: var(--type-body-lg-size);
    color: var(--color-slate-600);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 480px;
}
.hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero__trust {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    font-size: 12px;
    color: var(--color-slate-500);
    flex-wrap: wrap;
}
.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.hero__trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-perf-bom);
    box-shadow: 0 0 0 3px rgba(56, 186, 56, 0.18);
}
.hero__trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-slate-300);
}

/* === HERO PANEL (dashboard fake denso) === */
.hero__panel {
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    position: relative;
    animation: float 6s ease-in-out infinite;
    transition: box-shadow 0.4s ease;
    will-change: transform;
}
.hero__panel:hover {
    box-shadow: 0 32px 60px -16px rgba(15, 23, 42, 0.24), 0 8px 18px rgba(15, 23, 42, 0.08);
}
@media (prefers-reduced-motion: reduce) {
    .hero__panel { animation: none; }
}
.hero__panel-bar {
    background: var(--color-slate-50);
    padding: 9px 12px;
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-slate-500);
    font-variant-numeric: tabular-nums;
}
.hero__panel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hero__panel-url { margin-left: 6px; }
.hero__panel-body { padding: 14px; }
.hero__panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.hero__panel-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-slate-600);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero__panel-meta {
    font-size: 11px;
    color: var(--color-slate-400);
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}
.hero__panel-online { color: #15803D; }

.hero__kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.hero__kpi {
    padding: 10px 10px 8px;
    background: var(--color-slate-50);
    border-radius: 6px;
    border: 1px solid var(--border-default);
}
.hero__kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.hero__kpi-lab {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-slate-500);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero__kpi-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    color: #fff;
    letter-spacing: 0.3px;
}
.hero__kpi-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--fg-primary);
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
    margin-top: 4px;
    line-height: 1;
}
.hero__kpi-delta {
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}
.hero__kpi-delta--up { color: #15803D; }
.hero__kpi-delta--down { color: #B91C1C; }

.hero__table {
    border: 1px solid var(--border-default);
    border-radius: 6px;
    overflow: hidden;
}
.hero__table-head, .hero__table-row {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.6fr 0.6fr 0.7fr 0.8fr;
    gap: 8px;
    padding: 7px 10px;
    align-items: center;
}
.hero__table-head {
    background: var(--color-slate-100);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-slate-600);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-default);
}
.hero__table-r { text-align: right; }
.hero__table-row {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    border-bottom: 1px solid var(--color-slate-100);
}
.hero__table-row--last { border-bottom: none; }
.hero__table-name {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--fg-primary);
    font-weight: 500;
}
.hero__table-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hero__table-cad {
    color: var(--color-slate-400);
    font-size: 11px;
    font-weight: 400;
    margin-left: 4px;
}
.hero__table-val {
    color: var(--fg-primary);
    font-weight: 600;
    text-align: right;
}
.hero__table-up { color: #15803D; }
.hero__table-down { color: #B91C1C; }
.hero__table-muted { color: var(--color-slate-500); text-align: right; }
.hero__table-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--color-slate-100);
    overflow: hidden;
}
.hero__table-bar > div { height: 100%; }
.hero__table-status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    color: #fff;
    letter-spacing: 0.3px;
    justify-self: end;
    text-transform: uppercase;
}

.hero__panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 6px 2px;
    font-size: 11px;
    color: var(--color-slate-500);
    flex-wrap: wrap;
    gap: 8px;
}
.hero__panel-foot-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero__panel-foot-link {
    color: var(--color-brand);
    font-weight: 600;
}

@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hero__title { max-width: none; }
    .hero__subtitle { max-width: none; }
}
@media (max-width: 640px) {
    .hero { padding: 88px 0 56px; }
    .hero__kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__table-head, .hero__table-row { grid-template-columns: 1.4fr 0.6fr 0.6fr 0.7fr; }
    .hero__table-head > :nth-child(5),
    .hero__table-head > :nth-child(6),
    .hero__table-row > :nth-child(5),
    .hero__table-row > :nth-child(6) { display: none; }
}

/* === INDICATORS PREVIEW (nova) === */
.t-eyebrow {
    display: inline-block;
    font-size: var(--type-eyebrow-size);
    font-weight: 600;
    letter-spacing: var(--type-eyebrow-tracking);
    text-transform: uppercase;
    color: var(--brand-on-surface);
    line-height: 1;
}
.indicators {
    background: var(--bg-page);
    padding: 80px 0;
}
.indicators__head {
    max-width: 720px;
}
.indicators__title {
    font-family: var(--font-base);
    font-size: var(--type-h1-size);
    font-weight: var(--type-h1-weight);
    line-height: var(--type-h1-lh);
    letter-spacing: var(--type-h1-tracking);
    color: var(--fg-primary);
    margin: 12px 0 0;
}
.indicators__sub {
    font-size: var(--type-body-lg-size);
    color: var(--fg-secondary);
    margin: 14px 0 0;
    line-height: 1.6;
    max-width: 640px;
}
.indicators__grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.indicator-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.indicator-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-strong);
}
.indicator-item__num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--color-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.indicator-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.indicator-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg-primary);
    letter-spacing: -0.25px;
}
.indicator-item__desc {
    font-size: 13px;
    color: var(--fg-muted);
    line-height: 1.5;
}
.indicators__title-em {
    font-style: normal;
    color: var(--color-slate-500);
    font-weight: 700;
}
.indicators__more {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.indicators__more-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-slate-600);
    margin-right: 4px;
}
.indicators__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-slate-700);
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.indicators__chip:hover {
    border-color: var(--color-action);
    color: var(--color-action);
    transform: translateY(-1px);
}
.indicators__chip strong {
    color: var(--color-brand);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .indicators { padding: 56px 0; }
    .indicators__grid { grid-template-columns: 1fr; }
}

/* === CASE — Taiobeiras (substitui Metrics) === */
.case {
    padding: 100px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}
.case__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.case__title {
    font-family: var(--font-base);
    font-size: var(--type-h1-size);
    font-weight: var(--type-h1-weight);
    letter-spacing: var(--type-h1-tracking);
    line-height: 1.15;
    color: var(--fg-primary);
    margin: 12px 0 0;
}
.case__quote {
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-slate-700);
    margin: 24px 0 0;
    padding-left: 16px;
    border-left: 3px solid var(--color-brand);
    font-style: normal;
}
.case__who { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.case__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.25px;
    flex-shrink: 0;
}
.case__who-name { font-size: 14px; font-weight: 600; color: var(--fg-primary); }
.case__who-role { font-size: 13px; color: var(--color-slate-600); }

.case__panel {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-card);
}
.case__panel-label {
    font-size: var(--type-eyebrow-size);
    font-weight: 600;
    letter-spacing: var(--type-eyebrow-tracking);
    text-transform: uppercase;
    color: var(--color-slate-500);
    margin-bottom: 18px;
}
.case__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.case__stat {
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 18px;
    border: 1px solid var(--border-default);
}
.case__stat-lab {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-slate-500);
}
.case__stat-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.75px;
    color: var(--fg-primary);
    font-variant-numeric: tabular-nums;
    margin-top: 8px;
    line-height: 1;
}
.case__stat-delta {
    font-size: 12px;
    font-weight: 600;
    color: #15803D;
    margin-top: 6px;
}

@media (max-width: 880px) {
    .case__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .case { padding: 64px 0; }
    .case__stats { grid-template-columns: 1fr; }
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-header__tag {
    display: inline-block;
    font-family: var(--font-base);
    font-weight: 600;
    font-size: var(--type-eyebrow-size);
    text-transform: uppercase;
    letter-spacing: var(--type-eyebrow-tracking);
    color: var(--color-action);
    background: var(--color-action-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-header__title {
    font-family: var(--font-base);
    font-size: var(--type-h1-size);
    font-weight: var(--type-h1-weight);
    color: var(--fg-primary);
    letter-spacing: var(--type-h1-tracking);
    line-height: var(--type-h1-lh);
    margin-bottom: 14px;
}
.section-header__desc {
    font-size: var(--type-body-lg-size);
    color: var(--fg-secondary);
    line-height: 1.65;
}
.section-header--light .section-header__tag--light {
    background: rgba(67, 56, 202, 0.18);
    color: #C7D2FE;
}
.section-header__title--light { color: #fff; }
.section-header__desc--light { color: rgba(255,255,255,0.72); }

/* === FEATURES === */
.features {
    padding: 100px 0;
    background: var(--bg-alt);
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-default);
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-strong);
}
.feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--color-action-light);
    color: var(--color-action);
}
.feature-card__icon--teal { background: var(--color-action-light); color: var(--color-action); }
.feature-card__icon--blue { background: rgba(67, 56, 202, 0.12); color: var(--color-action); }
.feature-card__icon--green { background: rgba(56, 186, 56, 0.12); color: #2C9F2C; }
.feature-card__icon--purple { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.feature-card__icon--orange { background: rgba(196, 101, 0, 0.12); color: var(--color-perf-regular); }
.feature-card__icon--rose { background: rgba(244, 63, 94, 0.12); color: #E11D48; }
.feature-card__title {
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.25px;
    color: var(--fg-primary);
    margin-bottom: 8px;
}
.feature-card__desc {
    font-size: 14px;
    color: var(--fg-secondary);
    line-height: 1.6;
}

/* === SHOWCASE === */
.showcase {
    padding: 100px 0;
}
.showcase__item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}
.showcase__item--reverse {
    grid-template-columns: 1fr 1.2fr;
}
.showcase__item--reverse .showcase__image {
    order: 2;
}
.showcase__item--reverse .showcase__content {
    order: 1;
}
.showcase__image {
    position: relative;
    cursor: pointer;
}
.showcase__img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-default);
    transition: transform var(--transition), box-shadow var(--transition);
}
.showcase__img:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.showcase__zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15,22,41,0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition);
}
.showcase__image:hover .showcase__zoom-hint { opacity: 1; }
.showcase__number {
    font-family: var(--font-base);
    font-weight: 800;
    font-size: 48px;
    color: var(--color-slate-200);
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.showcase__title {
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 24px;
    color: var(--fg-primary);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 12px;
}
.showcase__desc {
    font-size: 15px;
    color: var(--fg-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}
.showcase__benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.showcase__benefits li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--color-slate-700);
    line-height: 1.55;
}
.showcase__benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-brand);
    opacity: 0.18;
}
.showcase__benefits li::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-brand);
}

/* Extras */
.showcase__extras {
    margin-top: 40px;
    padding-top: 60px;
    border-top: 1px solid var(--border-default);
}
.showcase__extras-title {
    font-family: var(--font-base);
    font-weight: 800;
    font-size: var(--type-h2-size);
    color: var(--fg-primary);
    letter-spacing: var(--type-h2-tracking);
    text-align: center;
    margin-bottom: 32px;
}
.showcase__extras-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.showcase__extra-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    padding: 18px;
    transition: all var(--transition);
}
.showcase__extra-card:hover {
    background: var(--bg-card);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
    border-color: var(--border-strong);
}
.showcase__extra-img {
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    cursor: pointer;
    border: 1px solid var(--border-default);
    transition: transform var(--transition);
}
.showcase__extra-img:hover { transform: scale(1.02); }
.showcase__extra-card h4 {
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 15px;
    color: var(--fg-primary);
    letter-spacing: -0.25px;
    margin-bottom: 6px;
}
.showcase__extra-card p {
    font-size: 13px;
    color: var(--fg-secondary);
    line-height: 1.55;
}

/* === VIDEO === */
.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-slate-900) 0%, var(--color-slate-800) 100%);
}
.video-section__player {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
    border: 1px solid var(--color-slate-800);
    max-width: 960px;
    margin: 0 auto;
}
.video-section__player video {
    width: 100%;
    display: block;
}
.video-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.65) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: opacity var(--transition);
}
.video-section__overlay.is-hidden { opacity: 0; pointer-events: none; }
.video-section__play-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 14px 40px -8px rgba(18, 18, 182, 0.6), 0 0 0 8px rgba(255,255,255,0.08);
    animation: pulse-glow 2.5s ease-in-out infinite;
}
.video-section__play-btn:hover {
    background: var(--color-brand-light);
    transform: scale(1.06);
    box-shadow: 0 18px 48px -8px rgba(18, 18, 182, 0.7), 0 0 0 12px rgba(255,255,255,0.12);
}
.video-section__play-btn svg { margin-left: 3px; }
.video-section__play-label {
    color: rgba(255,255,255,0.9);
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* === STEPS === */
.steps {
    padding: 100px 0;
    background: var(--bg-alt);
}
.steps__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 16px;
}
.step__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    font-family: var(--font-base);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px -4px rgba(18, 18, 182, 0.45);
    font-variant-numeric: tabular-nums;
}
.step__icon {
    margin-bottom: 16px;
    color: var(--color-action);
}
.step__title {
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.25px;
    color: var(--fg-primary);
    margin-bottom: 8px;
}
.step__desc {
    font-size: 14px;
    color: var(--fg-secondary);
    line-height: 1.6;
}
.step__connector {
    display: flex;
    align-items: center;
    padding-top: 14px;
    flex-shrink: 0;
    color: var(--color-brand-light);
    opacity: 0.55;
}

/* === CTA FINAL (light por padrão; dark via [data-theme="dark"]) === */
.cta-final {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, #FFFFFF 100%);
    overflow: hidden;
    border-top: 1px solid var(--border-default);
}
.cta-final__bg { position: absolute; inset: 0; pointer-events: none; }
.cta-final__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.20;
}
.cta-final__shape--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
    top: -220px; right: -100px;
}
.cta-final__shape--2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(56, 186, 56, 0.25), transparent 70%);
    bottom: -120px; left: -60px;
}
.cta-final__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.cta-final__title {
    font-family: var(--font-base);
    font-size: var(--type-h1-size);
    font-weight: var(--type-h1-weight);
    color: var(--fg-primary);
    letter-spacing: var(--type-h1-tracking);
    margin-bottom: 14px;
    line-height: var(--type-h1-lh);
}
.cta-final__desc {
    font-size: var(--type-body-lg-size);
    color: var(--color-slate-600);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.cta-final__note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--color-slate-500);
    font-weight: 500;
}

/* === LEI 14.133 (nova) === */
.lei {
    padding: 100px 0;
    background: var(--color-slate-900);
    color: #fff;
}
.lei__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.lei__badge {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(67, 56, 202, 0.25);
    color: #C7D2FE;
    font-size: var(--type-eyebrow-size);
    font-weight: 600;
    letter-spacing: var(--type-eyebrow-tracking);
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}
.lei__title {
    font-family: var(--font-base);
    font-size: var(--type-h1-size);
    font-weight: var(--type-h1-weight);
    letter-spacing: var(--type-h1-tracking);
    line-height: 1.15;
    color: #fff;
    margin: 0;
}
.lei__body {
    font-size: 16px;
    color: var(--color-slate-300);
    line-height: 1.65;
    margin-top: 18px;
}
.lei__strong { color: #fff; font-weight: 700; }
.lei__list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lei__li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--color-slate-200);
    line-height: 1.55;
}
.lei__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-perf-bom);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 12px;
    font-weight: 700;
}
.lei__card {
    background: var(--color-slate-800);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--color-slate-700);
}
.lei__card-label {
    font-size: var(--type-eyebrow-size);
    font-weight: 600;
    letter-spacing: var(--type-eyebrow-tracking);
    text-transform: uppercase;
    color: var(--color-slate-400);
}
.lei__rows {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}
.lei__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-slate-700);
    font-size: 14px;
}
.lei__row--last { border-bottom: none; }
.lei__row-k { color: var(--color-slate-400); }
.lei__row-v {
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

@media (max-width: 880px) {
    .lei__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .lei { padding: 64px 0; }
}

/* === FOOTER (light por padrão; dark via [data-theme="dark"]) === */
.footer {
    background: #fff;
    padding: 64px 0 0;
    color: var(--color-slate-600);
    border-top: 1px solid var(--border-default);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-default);
}
.footer__logo-img {
    width: 220px;
    height: auto;
    margin-bottom: 14px;
}
.footer__about-text {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 12px;
    color: var(--color-slate-600);
}
.footer__cnpj {
    font-size: 12px;
    font-family: var(--font-base);
    font-weight: 600;
    color: var(--color-slate-500);
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}
.footer__col-title {
    font-family: var(--font-base);
    font-weight: 600;
    font-size: var(--type-eyebrow-size);
    color: var(--fg-primary);
    text-transform: uppercase;
    letter-spacing: var(--type-eyebrow-tracking);
    margin-bottom: 16px;
}
.footer__link {
    display: block;
    font-size: 14px;
    color: var(--color-slate-600);
    padding: 5px 0;
    transition: color var(--transition);
    text-decoration: none;
    font-weight: 500;
}
.footer__link:hover { color: var(--fg-primary); }
.footer__link--icon {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer__link--icon svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-action);
}
.footer__address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 8px;
    color: var(--color-slate-600);
}
.footer__address svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-action);
}
.footer__demo-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: var(--color-slate-600);
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 12px;
    color: var(--color-slate-500);
}
.footer__bottom-links {
    display: flex;
    gap: 24px;
}
.footer__bottom-links a {
    color: var(--color-slate-500);
    text-decoration: none;
    transition: color var(--transition);
}
.footer__bottom-links a:hover { color: var(--fg-primary); }

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: fadeIn 0.25s ease; }
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

/* === LEGAL PAGES === */
.legal { padding: 140px 0 80px; }
.legal__header { margin-bottom: 48px; }
.legal__title {
    font-family: var(--font-base);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.legal__updated {
    font-size: 0.875rem;
    color: var(--color-slate-400);
}
.legal__content h2 {
    font-family: var(--font-base);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-action-light);
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    line-height: 1.75;
    margin-bottom: 12px;
}
.legal__content ul, .legal__content ol {
    margin: 12px 0 12px 24px;
}
.legal__content ul { list-style: disc; }
.legal__content ol { list-style: decimal; }
.legal__content li {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    line-height: 1.75;
    margin-bottom: 6px;
}
.legal__content strong { color: var(--color-slate-700); }
.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-base);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-brand);
    margin-bottom: 32px;
}
.legal__back:hover { color: var(--color-brand-light); }

/* === DARK THEME === */
[data-theme="dark"] body {
    background: var(--color-slate-900);
    color: var(--color-slate-300);
}

/* Header — dark */
[data-theme="dark"] .header {
    background: rgba(15, 22, 41, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .header.is-scrolled {
    background: rgba(15, 22, 41, 0.92);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.30);
}
[data-theme="dark"] .header__logo-title { color: #fff; }
[data-theme="dark"] .header__logo-sub { color: rgba(255, 255, 255, 0.55); }
[data-theme="dark"] .header__logo-divider { background: rgba(255, 255, 255, 0.18); }
[data-theme="dark"] .header__link { color: rgba(255, 255, 255, 0.72); }
[data-theme="dark"] .header__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .header__link.is-active { color: var(--color-action-on-surface, #A5B4FC); background: rgba(67, 56, 202, 0.20); }
[data-theme="dark"] .theme-toggle {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}
[data-theme="dark"] .header__hamburger span { background: #fff; }
[data-theme="dark"] .header__mobile-menu {
    background: rgba(15, 22, 41, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .header__mobile-link { color: rgba(255, 255, 255, 0.78); }
[data-theme="dark"] .header__mobile-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

/* Footer — dark */
[data-theme="dark"] .footer {
    background: var(--color-slate-900);
    color: rgba(255, 255, 255, 0.62);
    border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .footer__grid { border-bottom-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .footer__about-text { color: rgba(255, 255, 255, 0.62); }
[data-theme="dark"] .footer__cnpj { color: rgba(255, 255, 255, 0.40); }
[data-theme="dark"] .footer__col-title { color: rgba(255, 255, 255, 0.95); }
[data-theme="dark"] .footer__link { color: rgba(255, 255, 255, 0.62); }
[data-theme="dark"] .footer__link:hover { color: #fff; }
[data-theme="dark"] .footer__link--icon svg { color: var(--color-brand-light); }
[data-theme="dark"] .footer__address { color: rgba(255, 255, 255, 0.62); }
[data-theme="dark"] .footer__address svg { color: var(--color-brand-light); }
[data-theme="dark"] .footer__demo-text { color: rgba(255, 255, 255, 0.62); }
[data-theme="dark"] .footer__bottom { color: rgba(255, 255, 255, 0.40); }
[data-theme="dark"] .footer__bottom-links a { color: rgba(255, 255, 255, 0.45); }
[data-theme="dark"] .footer__bottom-links a:hover { color: #fff; }

/* Hero — dark */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--color-slate-900) 0%, var(--color-slate-800) 50%, #1a2847 100%);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .hero::before {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}
[data-theme="dark"] .hero__shape--1 {
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.40), rgba(56, 186, 56, 0.10) 60%, transparent 80%);
    opacity: 0.35;
}
[data-theme="dark"] .hero__shape--2 {
    background: radial-gradient(circle at 70% 70%, rgba(18, 18, 182, 0.40), rgba(67, 56, 202, 0.15) 60%, transparent 80%);
    opacity: 0.35;
}
[data-theme="dark"] .hero__title { color: #fff; }
[data-theme="dark"] .hero__title em { color: #A5B4FC; }
[data-theme="dark"] .hero__subtitle { color: rgba(255, 255, 255, 0.65); }
[data-theme="dark"] .hero__trust { color: rgba(255, 255, 255, 0.55); }
[data-theme="dark"] .hero__trust-sep { background: rgba(255, 255, 255, 0.25); }

/* Hero panel — dark */
[data-theme="dark"] .hero__panel {
    background: var(--color-slate-800);
    border-color: var(--color-slate-700);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 4px 14px rgba(0, 0, 0, 0.30);
}
[data-theme="dark"] .hero__panel-bar {
    background: var(--color-slate-900);
    border-bottom-color: var(--color-slate-700);
    color: var(--color-slate-400);
}
[data-theme="dark"] .hero__panel-title { color: var(--color-slate-300); }
[data-theme="dark"] .hero__panel-meta { color: var(--color-slate-500); }
[data-theme="dark"] .hero__panel-online { color: #4ADE80; }
[data-theme="dark"] .hero__kpi {
    background: var(--color-slate-900);
    border-color: var(--color-slate-700);
}
[data-theme="dark"] .hero__kpi-lab { color: var(--color-slate-400); }
[data-theme="dark"] .hero__kpi-num { color: #fff; }
[data-theme="dark"] .hero__kpi-delta--up { color: #4ADE80; }
[data-theme="dark"] .hero__kpi-delta--down { color: #F87171; }
[data-theme="dark"] .hero__table { border-color: var(--color-slate-700); }
[data-theme="dark"] .hero__table-head {
    background: var(--color-slate-900);
    color: var(--color-slate-400);
    border-bottom-color: var(--color-slate-700);
}
[data-theme="dark"] .hero__table-row {
    border-bottom-color: var(--color-slate-700);
}
[data-theme="dark"] .hero__table-name { color: #fff; }
[data-theme="dark"] .hero__table-cad { color: var(--color-slate-500); }
[data-theme="dark"] .hero__table-val { color: #fff; }
[data-theme="dark"] .hero__table-up { color: #4ADE80; }
[data-theme="dark"] .hero__table-down { color: #F87171; }
[data-theme="dark"] .hero__table-muted { color: var(--color-slate-400); }
[data-theme="dark"] .hero__table-bar { background: var(--color-slate-900); }
[data-theme="dark"] .hero__panel-foot { color: var(--color-slate-400); }
[data-theme="dark"] .hero__panel-foot-link { color: #A5B4FC; }

/* btn--outline — dark variant */
[data-theme="dark"] .btn--outline {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}
[data-theme="dark"] .btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}

/* Indicators chips — dark */
[data-theme="dark"] .indicators__title-em { color: var(--color-slate-400); }
[data-theme="dark"] .indicators__more-label { color: var(--color-slate-400); }
[data-theme="dark"] .indicators__chip {
    background: var(--color-slate-800);
    border-color: var(--color-slate-700);
    color: var(--color-slate-200);
}
[data-theme="dark"] .indicators__chip:hover {
    border-color: #A5B4FC;
    color: #A5B4FC;
}
[data-theme="dark"] .indicators__chip strong { color: #A5B4FC; }

/* Case — dark */
[data-theme="dark"] .case {
    background: var(--color-slate-800);
    border-top-color: rgba(255, 255, 255, 0.06);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .case__title { color: #fff; }
[data-theme="dark"] .case__quote {
    color: var(--color-slate-300);
    border-left-color: var(--color-brand-light);
}
[data-theme="dark"] .case__who-name { color: #fff; }
[data-theme="dark"] .case__who-role { color: var(--color-slate-400); }
[data-theme="dark"] .case__panel {
    background: var(--color-slate-900);
    border-color: var(--color-slate-700);
}
[data-theme="dark"] .case__panel-label { color: var(--color-slate-400); }
[data-theme="dark"] .case__stat {
    background: var(--color-slate-800);
    border-color: var(--color-slate-700);
}
[data-theme="dark"] .case__stat-lab { color: var(--color-slate-400); }
[data-theme="dark"] .case__stat-num { color: #fff; }
[data-theme="dark"] .case__stat-delta { color: #4ADE80; }

/* Lei 14.133 — dark (separa do page bg via slate-800; card invertido em slate-900) */
[data-theme="dark"] .lei {
    background: var(--color-slate-800);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .lei__badge {
    background: rgba(165, 180, 252, 0.18);
    color: #C7D2FE;
}
[data-theme="dark"] .lei__body { color: var(--color-slate-300); }
[data-theme="dark"] .lei__li { color: var(--color-slate-300); }
[data-theme="dark"] .lei__card {
    background: var(--color-slate-900);
    border-color: var(--color-slate-700);
}
[data-theme="dark"] .lei__card-label { color: var(--color-slate-400); }
[data-theme="dark"] .lei__row { border-bottom-color: var(--color-slate-700); }
[data-theme="dark"] .lei__row-k { color: var(--color-slate-400); }

/* CTA Final — dark */
[data-theme="dark"] .cta-final {
    background: linear-gradient(180deg, var(--color-slate-900) 0%, var(--color-slate-800) 100%);
    border-top-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .cta-final__title { color: #fff; }
[data-theme="dark"] .cta-final__desc { color: var(--color-slate-300); }
[data-theme="dark"] .cta-final__note { color: var(--color-slate-400); }
[data-theme="dark"] .cta-final__shape--1 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.55), transparent 70%);
    opacity: 0.30;
}
[data-theme="dark"] .cta-final__shape--2 {
    background: radial-gradient(circle, rgba(56, 186, 56, 0.30), transparent 70%);
    opacity: 0.30;
}

/* Features section */
[data-theme="dark"] .features {
    background: var(--color-slate-800);
}
[data-theme="dark"] .feature-card {
    background: var(--color-slate-700);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .feature-card:hover {
    border-color: rgba(20,184,166,0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
[data-theme="dark"] .feature-card__title { color: #fff; }
[data-theme="dark"] .feature-card__desc { color: var(--color-slate-400); }

/* Section headers */
[data-theme="dark"] .section-header__tag {
    background: rgba(13,148,136,0.2);
    color: var(--color-brand-light);
}
[data-theme="dark"] .section-header__title { color: #fff; }
[data-theme="dark"] .section-header__desc { color: var(--color-slate-400); }

/* Showcase */
[data-theme="dark"] .showcase {
    background: var(--color-slate-900);
}
[data-theme="dark"] .showcase__number { color: var(--color-slate-700); }
[data-theme="dark"] .showcase__title { color: #fff; }
[data-theme="dark"] .showcase__desc { color: var(--color-slate-400); }
[data-theme="dark"] .showcase__benefits li { color: var(--color-slate-400); }
[data-theme="dark"] .showcase__img {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
[data-theme="dark"] .showcase__extras {
    border-top-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .showcase__extras-title { color: #fff; }
[data-theme="dark"] .showcase__extra-card {
    background: var(--color-slate-800);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .showcase__extra-card:hover {
    background: var(--color-slate-700);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
[data-theme="dark"] .showcase__extra-card h4 { color: #fff; }
[data-theme="dark"] .showcase__extra-card p { color: var(--color-slate-400); }
[data-theme="dark"] .showcase__extra-img { border-color: rgba(255,255,255,0.08); }

/* Steps */
[data-theme="dark"] .steps {
    background: var(--color-slate-800);
}
[data-theme="dark"] .step__title { color: #fff; }
[data-theme="dark"] .step__desc { color: var(--color-slate-400); }

/* Legal pages */
[data-theme="dark"] .legal__title { color: #fff; }
[data-theme="dark"] .legal__content h2 {
    color: #fff;
    border-bottom-color: rgba(13,148,136,0.3);
}
[data-theme="dark"] .legal__content p { color: var(--color-slate-400); }
[data-theme="dark"] .legal__content li { color: var(--color-slate-400); }
[data-theme="dark"] .legal__content strong { color: var(--color-slate-300); }

/* Theme toggle in scrolled/legal header */
.header.is-scrolled .theme-toggle {
    border-color: rgba(255,255,255,0.15);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero__subtitle { margin: 0 auto 32px; }
    .hero__ctas { justify-content: center; }
    .hero__badges { justify-content: center; }
    .hero__mockup-frame { transform: none; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .showcase__item, .showcase__item--reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .showcase__item--reverse .showcase__image { order: 0; }
    .showcase__item--reverse .showcase__content { order: 0; }
    .showcase__extras-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header__nav { display: none; }
    .header__cta { display: none; }
    .header__hamburger { display: flex; }
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero__title { font-size: 1.75rem; }
    .hero__ctas { flex-direction: column; align-items: center; }
    .hero__ctas .btn { width: 100%; justify-content: center; }
    .metrics__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .metric__number { font-size: 2rem; }
    .features { padding: 60px 0; }
    .features__grid { grid-template-columns: 1fr; }
    .showcase { padding: 60px 0; }
    .showcase__item { margin-bottom: 48px; }
    .showcase__number { font-size: 2rem; }
    .steps__grid { flex-direction: column; align-items: center; gap: 24px; }
    .step__connector { display: none; }
    .showcase__extras-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    .video-section { padding: 60px 0; }
    .cta-final { padding: 60px 0; }
    .lightbox { padding: 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__badges { gap: 6px; }
    .badge { font-size: 0.6875rem; padding: 5px 10px; }
    .hero__title { font-size: 1.5rem; }
    .hero__subtitle { font-size: 1rem; }
    .btn--lg { padding: 14px 24px; font-size: 0.9375rem; }
}
