/* ============================================================
   FRENTY TRANS — TEMA B
   Visual: painel de controle operacional / TMS
   Paleta: fundo escuro petróleo + roxo Frenty + laranja operacional
   Fonte: Space Grotesk (display) + IBM Plex Mono (dados)
   ============================================================ */

/* — Importar fontes — */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* — Variáveis do Tema B — */
html[data-tema="dark-b"],
[data-tema="dark-b"] {
    /* Fundos em camadas — painel operacional */
    --bg:      #0a0c14;
    --bg-2:    #0f1220;
    --bg-3:    #141828;
    --bg-card: rgba(20, 24, 40, 0.85);
    --bg-panel:#111626;

    /* Roxo Frenty preservado */
    --roxo:       #5B2EAA;
    --roxo-light: #7c5cff;
    --roxo-dim:   rgba(91, 46, 170, 0.15);

    /* Laranja operacional — cor de ação e alertas do Trans */
    --laranja:    #F97316;
    --laranja-dim:rgba(249, 115, 22, 0.12);

    /* Ciano técnico — dados e métricas */
    --ciano:      #06B6D4;
    --ciano-dim:  rgba(6, 182, 212, 0.1);

    /* Verde confirmação — status OK */
    --verde:      #22C55E;
    --verde-dim:  rgba(34, 197, 94, 0.1);

    /* Vermelho alerta */
    --vermelho:   #EF4444;

    /* Amarelo atenção */
    --amarelo:    #EAB308;

    /* Texto */
    --text:       #E8EAF0;
    --text-mute:  #8892B0;
    --text-dim:   #4A5275;

    /* Bordas */
    --border:       rgba(124, 92, 255, 0.14);
    --border-hover: rgba(6, 182, 212, 0.4);
    --border-panel: rgba(255, 255, 255, 0.06);

    /* Gradientes */
    --grad-1:      linear-gradient(135deg, #5B2EAA 0%, #06B6D4 100%);
    --grad-laranja:linear-gradient(135deg, #F97316 0%, #EAB308 100%);
    --grad-bg:     linear-gradient(180deg, #0a0c14 0%, #0f1220 100%);

    /* Fontes */
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono:    'IBM Plex Mono', monospace;

    /* Raios */
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;

    /* Sombras */
    --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md:   0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(91, 46, 170, 0.25);
}

/* ── Reset e base ── */
html[data-tema="dark-b"] * { box-sizing: border-box; margin: 0; padding: 0; }
html[data-tema="dark-b"] { scroll-behavior: smooth; scroll-padding-top: 72px; }

html[data-tema="dark-b"] body {
    font-family: var(--font-display);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Fundo com grid sutil de linhas */
html[data-tema="dark-b"] body::before {
    content: '';
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse at 15% 5%, rgba(91, 46, 170, 0.2), transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(6, 182, 212, 0.08), transparent 45%),
        linear-gradient(180deg, #0a0c14 0%, #0f1220 100%);
    background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%, 100% 100%;
}

/* ── TOPBAR ── */
html[data-tema="dark-b"] .topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 12, 20, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-panel);
}
html[data-tema="dark-b"] .topbar .wrap {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px; gap: 20px;
}
html[data-tema="dark-b"] .brand-mark {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; color: var(--text); font-size: 1rem;
}
html[data-tema="dark-b"] .brand-mark img { height: 26px; }
html[data-tema="dark-b"] .brand-mark .badge {
    background: var(--laranja-dim);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--laranja);
    padding: 3px 10px; border-radius: 4px;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    font-family: var(--font-mono);
}
html[data-tema="dark-b"] .topbar nav { display: flex; gap: 24px; }
html[data-tema="dark-b"] .topbar nav a {
    color: var(--text-mute); font-weight: 500; font-size: 13px;
    transition: color .2s; letter-spacing: 0.01em;
}
html[data-tema="dark-b"] .topbar nav a:hover { color: var(--ciano); }
html[data-tema="dark-b"] .topbar .cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--laranja); color: #fff;
    padding: 9px 18px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 13px;
    letter-spacing: 0.02em;
    transition: transform .2s, box-shadow .2s;
    font-family: var(--font-display);
}
html[data-tema="dark-b"] .topbar .cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* ── HERO ── */
html[data-tema="dark-b"] .hero {
    min-height: 88vh;
    padding: 112px 24px 72px;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
}
html[data-tema="dark-b"] .hero::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(ellipse at 50% -10%, rgba(91, 46, 170, 0.3), transparent 55%),
        radial-gradient(ellipse at 85% 90%, rgba(249, 115, 22, 0.08), transparent 45%);
}
/* Linha decorativa horizontal no hero */
html[data-tema="dark-b"] .hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.4), rgba(6, 182, 212, 0.3), transparent);
}
html[data-tema="dark-b"] .hero-inner {
    position: relative; z-index: 2;
    max-width: 1100px; margin: 0 auto;
}
/* Status bar estilo sistema */
html[data-tema="dark-b"] .status-bar {
    display: inline-flex; align-items: center; gap: 20px;
    background: var(--bg-panel);
    border: 1px solid var(--border-panel);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    margin-bottom: 32px;
    font-family: var(--font-mono);
    font-size: 11px;
}
html[data-tema="dark-b"] .status-bar .dot {
    width: 6px; height: 6px; border-radius: 50%;
}
html[data-tema="dark-b"] .status-bar .dot.green  { background: var(--verde); box-shadow: 0 0 6px var(--verde); }
html[data-tema="dark-b"] .status-bar .dot.orange { background: var(--laranja); }
html[data-tema="dark-b"] .status-bar .sep { color: var(--text-dim); }
html[data-tema="dark-b"] .status-bar .label { color: var(--text-mute); }
html[data-tema="dark-b"] .status-bar .val   { color: var(--ciano); font-weight: 500; }

html[data-tema="dark-b"] .hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700; line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    color: var(--text);
}
html[data-tema="dark-b"] .hero h1 .hl {
    background: var(--grad-1);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
html[data-tema="dark-b"] .hero h1 .hl-orange {
    background: var(--grad-laranja);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
html[data-tema="dark-b"] .hero .sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-mute); max-width: 700px;
    margin-bottom: 32px; line-height: 1.65;
}
/* Tags de módulos */
html[data-tema="dark-b"] .module-tags {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
html[data-tema="dark-b"] .module-tag {
    background: var(--bg-panel);
    border: 1px solid var(--border-panel);
    color: var(--text-mute); font-size: 12px; font-weight: 500;
    padding: 5px 12px; border-radius: var(--radius-sm);
    font-family: var(--font-mono); letter-spacing: 0.02em;
    transition: border-color .2s, color .2s;
}
html[data-tema="dark-b"] .module-tag:hover { border-color: var(--ciano); color: var(--ciano); }

html[data-tema="dark-b"] .hero .cta-row {
    display: flex; gap: 12px; flex-wrap: wrap;
}

/* ── BOTÕES ── */
html[data-tema="dark-b"] .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 14px; cursor: pointer; border: none;
    letter-spacing: 0.02em; transition: transform .2s, box-shadow .2s;
    font-family: var(--font-display);
}
html[data-tema="dark-b"] .btn-primary {
    background: var(--laranja); color: #fff;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}
html[data-tema="dark-b"] .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45); }
html[data-tema="dark-b"] .btn-secondary {
    background: var(--roxo-dim);
    border: 1px solid rgba(124, 92, 255, 0.35);
    color: var(--roxo-light);
}
html[data-tema="dark-b"] .btn-secondary:hover { background: rgba(91, 46, 170, 0.25); }
html[data-tema="dark-b"] .btn-ghost {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-panel);
    color: var(--text-mute);
}
html[data-tema="dark-b"] .btn-ghost:hover { border-color: var(--ciano); color: var(--ciano); }
html[data-tema="dark-b"] .btn-wa {
    background: #25D366; color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
html[data-tema="dark-b"] .btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* Barra de stats (conteúdo light reutilizado no tema B) */
html[data-tema="dark-b"] .stats-bar {
    padding: 0 24px 56px;
    margin-top: -16px;
}
html[data-tema="dark-b"] .stats-bar .section-wrap { max-width: 1280px; margin: 0 auto; }

html[data-tema="dark-b"] .wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 200;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform .2s;
}
html[data-tema="dark-b"] .wa-float:hover { transform: scale(1.08); }

/* ── SEÇÕES ── */
html[data-tema="dark-b"] section[data-section] { padding: 88px 24px; position: relative; }
html[data-tema="dark-b"] .section-wrap { max-width: 1280px; margin: 0 auto; }
html[data-tema="dark-b"] .section-head { max-width: 860px; margin: 0 auto 52px; }
html[data-tema="dark-b"] .section-head.center { text-align: center; }

html[data-tema="dark-b"] .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--laranja); font-weight: 600; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase;
    margin-bottom: 16px; font-family: var(--font-mono);
}
html[data-tema="dark-b"] .eyebrow::before {
    content: ''; display: inline-block;
    width: 20px; height: 1px; background: var(--laranja);
}
html[data-tema="dark-b"] .section-head h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
    color: var(--text); margin-bottom: 14px;
}
html[data-tema="dark-b"] .gradient-text {
    background: var(--grad-1);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-tema="dark-b"] .gradient-orange {
    background: var(--grad-laranja);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-tema="dark-b"] .section-head .lead {
    font-size: 1rem; color: var(--text-mute); max-width: 740px;
}

/* ── KPI GRID ── */
html[data-tema="dark-b"] .kpi-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
html[data-tema="dark-b"] .kpi {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    position: relative; overflow: hidden;
    transition: border-color .3s;
}
html[data-tema="dark-b"] .kpi::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--border); transition: background .3s;
}
html[data-tema="dark-b"] .kpi:hover { border-color: var(--border-hover); }
html[data-tema="dark-b"] .kpi:hover::before { background: var(--grad-1); }
html[data-tema="dark-b"] .kpi .n {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600; color: var(--ciano);
    line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em;
}
html[data-tema="dark-b"] .kpi.orange .n { color: var(--laranja); }
html[data-tema="dark-b"] .kpi.purple .n { color: var(--roxo-light); }
html[data-tema="dark-b"] .kpi.green  .n { color: var(--verde); }
html[data-tema="dark-b"] .kpi .l {
    color: var(--text-dim); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono);
}
@media (max-width: 900px) {
    html[data-tema="dark-b"] .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── PRODUCT GRID (cards de módulo) ── */
html[data-tema="dark-b"] .product-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    margin-bottom: 28px;
}
html[data-tema="dark-b"] .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
html[data-tema="dark-b"] .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 26px;
    transition: border-color .25s, transform .25s;
    position: relative;
}
html[data-tema="dark-b"] .product-card:hover {
    border-color: var(--border-hover); transform: translateY(-2px);
}
html[data-tema="dark-b"] .product-card .card-icon {
    font-size: 1.4rem; margin-bottom: 14px; display: block;
}
html[data-tema="dark-b"] .product-card h4 {
    font-size: .95rem; font-weight: 600; color: var(--ciano);
    margin-bottom: 12px; text-transform: uppercase;
    letter-spacing: 0.05em; font-family: var(--font-mono);
}
html[data-tema="dark-b"] .product-card p {
    color: var(--text-mute); font-size: .9rem; line-height: 1.65;
}
html[data-tema="dark-b"] .product-card ul li {
    padding: 5px 0 5px 18px; position: relative;
    color: var(--text-mute); font-size: .88rem; line-height: 1.5;
}
html[data-tema="dark-b"] .product-card ul li::before {
    content: '›'; color: var(--laranja); font-weight: 700;
    position: absolute; left: 0;
}
@media (max-width: 900px) {
    html[data-tema="dark-b"] .product-grid { grid-template-columns: 1fr !important; }
}

/* ── CALLOUT ── */
html[data-tema="dark-b"] .callout {
    border-radius: var(--radius); padding: 28px 32px;
    border: 1px solid var(--border); position: relative; overflow: hidden;
    background: linear-gradient(160deg, rgba(91,46,170,.1), rgba(6,182,212,.04));
}
html[data-tema="dark-b"] .callout.orange {
    background: linear-gradient(160deg, rgba(249,115,22,.1), rgba(234,179,8,.04));
    border-color: rgba(249, 115, 22, 0.3);
}
html[data-tema="dark-b"] .callout.green {
    background: linear-gradient(160deg, rgba(34,197,94,.08), rgba(34,197,94,.02));
    border-color: rgba(34, 197, 94, 0.25);
}
html[data-tema="dark-b"] .callout h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 12px;
}
html[data-tema="dark-b"] .callout.orange h3 { color: var(--laranja); }
html[data-tema="dark-b"] .callout.green  h3 { color: var(--verde); }
html[data-tema="dark-b"] .callout p {
    color: var(--text-mute); font-size: .96rem; line-height: 1.7; margin-bottom: 8px;
}
html[data-tema="dark-b"] .callout p:last-child { margin-bottom: 0; }
html[data-tema="dark-b"] .callout p strong { color: var(--text); }

/* ── BULLET LIST ── */
html[data-tema="dark-b"] .bullet-list { display: flex; flex-direction: column; gap: 10px; }
html[data-tema="dark-b"] .bullet-list li {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px; color: var(--text-mute); font-size: .93rem;
    display: flex; gap: 12px; align-items: flex-start;
    transition: border-color .2s;
}
html[data-tema="dark-b"] .bullet-list li:hover { border-color: var(--border-hover); }
html[data-tema="dark-b"] .bullet-list li::before {
    content: '›'; color: var(--laranja); font-weight: 700;
    font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
html[data-tema="dark-b"] .bullet-list li strong { color: var(--text); }

/* ── TABLE ── */
html[data-tema="dark-b"] .table-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
html[data-tema="dark-b"] .t { width: 100%; border-collapse: collapse; min-width: 600px; }
html[data-tema="dark-b"] .t th, html[data-tema="dark-b"] .t td {
    padding: 13px 18px; text-align: left;
    border-bottom: 1px solid rgba(124, 92, 255, 0.08); font-size: .88rem;
}
html[data-tema="dark-b"] .t thead th {
    background: rgba(91, 46, 170, 0.18);
    color: var(--text); font-weight: 600; font-size: .76rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    font-family: var(--font-mono);
}
html[data-tema="dark-b"] .t tbody td { color: var(--text-mute); }
html[data-tema="dark-b"] .t tbody td:first-child { color: var(--text); }
html[data-tema="dark-b"] .t tbody tr:last-child td { border-bottom: none; }
html[data-tema="dark-b"] .t tbody tr.highlight td {
    background: linear-gradient(90deg, rgba(34,197,94,.07), transparent);
}
html[data-tema="dark-b"] .t tbody tr.highlight td:first-child { color: var(--verde); font-weight: 600; }
html[data-tema="dark-b"] .t-num { font-family: var(--font-mono); font-weight: 600; color: var(--ciano); }
html[data-tema="dark-b"] .t-num.orange { color: var(--laranja); }
html[data-tema="dark-b"] .t-num.green  { color: var(--verde); }

/* ── PLANS ── */
html[data-tema="dark-b"] .plans {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
html[data-tema="dark-b"] .plan {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 24px;
    position: relative; transition: border-color .3s, transform .3s;
}
html[data-tema="dark-b"] .plan:hover { border-color: var(--border-hover); transform: translateY(-4px); }
html[data-tema="dark-b"] .plan.featured {
    border-color: rgba(249, 115, 22, 0.45);
    background: linear-gradient(180deg, rgba(249,115,22,.06), var(--bg-card));
}
html[data-tema="dark-b"] .plan.featured .tag-top {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--laranja); color: #fff;
    padding: 4px 14px; border-radius: 4px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    font-family: var(--font-mono);
}
html[data-tema="dark-b"] .plan h3 {
    font-size: 1.05rem; font-weight: 700; color: var(--ciano);
    margin-bottom: 6px; font-family: var(--font-mono); letter-spacing: 0.04em;
}
html[data-tema="dark-b"] .plan .price {
    font-size: 2.2rem; font-weight: 700; color: var(--text);
    line-height: 1; margin-bottom: 4px; letter-spacing: -0.02em;
    font-family: var(--font-mono);
}
html[data-tema="dark-b"] .plan .price small { font-size: .85rem; color: var(--text-dim); font-weight: 400; }
html[data-tema="dark-b"] .plan .desc { color: var(--text-mute); font-size: .88rem; margin-bottom: 20px; }
html[data-tema="dark-b"] .plan ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
html[data-tema="dark-b"] .plan ul li {
    padding-left: 20px; position: relative;
    color: var(--text-mute); font-size: .86rem;
}
html[data-tema="dark-b"] .plan ul li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--verde); font-size: 12px; font-weight: 700;
}
@media (max-width: 900px) {
    html[data-tema="dark-b"] .plans { grid-template-columns: 1fr; }
}

/* ── FINAL CTA ── */
html[data-tema="dark-b"] .final {
    background: var(--bg-2); padding: 88px 24px;
    text-align: center; position: relative; overflow: hidden;
}
html[data-tema="dark-b"] .final::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(ellipse at 70% 0%, rgba(249,115,22,.12), transparent 55%),
        radial-gradient(ellipse at 20% 100%, rgba(91,46,170,.18), transparent 55%);
}
html[data-tema="dark-b"] .final > div { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
html[data-tema="dark-b"] .final h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.2; margin-bottom: 18px;
}
html[data-tema="dark-b"] .final p { font-size: 1.05rem; color: var(--text-mute); margin-bottom: 32px; }
html[data-tema="dark-b"] .final .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html[data-tema="dark-b"] .final .info {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px;
}
html[data-tema="dark-b"] .final .info .it {
    background: rgba(255,255,255,.03); border: 1px solid var(--border-panel);
    border-radius: var(--radius-sm); padding: 16px;
}
html[data-tema="dark-b"] .final .info .lab {
    font-size: 10px; color: var(--laranja); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px;
    font-family: var(--font-mono);
}
html[data-tema="dark-b"] .final .info .val { color: var(--text); font-weight: 500; font-size: .92rem; }
@media (max-width: 768px) {
    html[data-tema="dark-b"] .final .info { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
html[data-tema="dark-b"] .foot {
    background: #060810; color: var(--text-dim);
    text-align: center; padding: 28px 24px;
    font-size: .78rem; font-family: var(--font-mono); letter-spacing: 0.05em;
    border-top: 1px solid var(--border-panel);
}
html[data-tema="dark-b"] .foot .v { color: var(--laranja); font-weight: 600; }

/* ── WATERMARK ── */
html[data-tema="dark-b"] .watermark {
    position: fixed; bottom: 14px; left: 14px; z-index: 50;
    color: var(--text-dim); font-size: 9px;
    font-family: var(--font-mono); letter-spacing: 0.1em;
    text-transform: uppercase; opacity: 0.4; pointer-events: none;
}

/* ── SLIDE NUM ── */
html[data-tema="dark-b"] .slide-num {
    position: absolute; top: 44px; right: 36px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--text-dim); letter-spacing: 0.12em;
}

/* ── REVEAL ── */
html[data-tema="dark-b"] .reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity .7s, transform .7s;
}
html[data-tema="dark-b"] .reveal.in { opacity: 1; transform: none; }
html[data-tema="dark-b"] .reveal.delay-1 { transition-delay: .1s; }
html[data-tema="dark-b"] .reveal.delay-2 { transition-delay: .2s; }
html[data-tema="dark-b"] .reveal.delay-3 { transition-delay: .3s; }

/* ── MOBILE ── */
@media (max-width: 768px) {
    html[data-tema="dark-b"] section[data-section] { padding: 64px 16px; }
    html[data-tema="dark-b"] .hero { padding: 96px 16px 52px; min-height: auto; }
    html[data-tema="dark-b"] .hero .cta-row { flex-direction: column; width: 100%; }
    html[data-tema="dark-b"] .hero .cta-row .btn { width: 100%; justify-content: center; }
    html[data-tema="dark-b"] .status-bar { flex-wrap: wrap; gap: 8px; }
    html[data-tema="dark-b"] .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    html[data-tema="dark-b"] .slide-num { display: none; }
}