/* Landing NV Track. Tokens do index original (oklch). Sem JS/WebGL a página é estática e completa:
   tudo que depende de script fica atrás de html.gl / html.rv, classes que o próprio script põe. */
/* Epilogue hospedada aqui, uma instância estática por peso: o mesmo desenho em qualquer navegador, sem depender
   do Google Fonts e sem fonte variável (que alguns motores não aplicam). Só o subset latin: cobre o português. */
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Epilogue-400.woff2") format("woff2"); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Epilogue-500.woff2") format("woff2"); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Epilogue-600.woff2") format("woff2"); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Epilogue-700.woff2") format("woff2"); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/Epilogue-800.woff2") format("woff2"); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/Epilogue-900.woff2") format("woff2"); }

/* Fontes dos cartões (reproduzem a interface do produto: Inter + mono), também estáticas e locais */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-400.woff2") format("woff2"); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Inter-500.woff2") format("woff2"); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Inter-600.woff2") format("woff2"); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Inter-700.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/JetBrainsMono-400.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/JetBrainsMono-700.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         oklch(5% 0.022 228);
  --bg-card:    oklch(9% 0.022 227);
  --bg-raised:  oklch(14% 0.02 226);
  --bg-green:   oklch(10% 0.04 142);
  --accent:     oklch(72% 0.165 128);
  --accent-dim: oklch(72% 0.165 128 / 12%);
  --teal:       oklch(38% 0.09 192);
  --teal-lit:   oklch(58% 0.10 192);
  --ok:         oklch(65% 0.14 142);
  --warn:       oklch(74% 0.14 68);
  --err:        oklch(60% 0.17 24);
  --bd:         oklch(22% 0.02 225 / 55%);
  --tx-1:       oklch(94% 0.008 228);
  --tx-2:       oklch(77% 0.014 228);
  --tx-3:       oklch(62% 0.012 228);
  --font:       'Epilogue', system-ui, sans-serif;
  --mono:       ui-monospace, 'Cascadia Code', 'SFMono-Regular', monospace;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --gx:         clamp(20px, 5.5vw, 96px);
  --nav-h:      72px;
}

/* Navegadores sem oklch() (Chrome < 111, Firefox < 113, Safari < 15.4): mesmos tokens em sRGB */
@supports not (color: oklch(0% 0 0)) {
  :root {
    --bg:         rgb(0,1,2);
    --bg-card:    rgb(0,3,6);
    --bg-raised:  rgb(2,11,15);
    --bg-green:   rgb(0,5,0);
    --accent:     rgb(134,183,53);
    --accent-dim: rgba(134,183,53,0.12);
    --teal:       rgb(0,80,79);
    --teal-lit:   rgb(0,141,137);
    --ok:         rgb(88,164,81);
    --warn:       rgb(228,152,57);
    --err:        rgb(210,76,76);
    --bd:         rgba(16,29,34,0.55);
    --tx-1:       rgb(230,236,239);
    --tx-2:       rgb(172,182,187);
    --tx-3:       rgb(127,136,140);
  }
}

html { scroll-behavior: smooth; }
html.gl { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font); background: var(--bg); color: var(--tx-1);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
img { display: block; max-width: 100%; }

/* ── Reveal (só com html.rv) ── */
html.rv [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.rv [data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="d1"] { transition-delay: 0.10s; }
[data-reveal="d2"] { transition-delay: 0.20s; }
[data-reveal="d3"] { transition-delay: 0.30s; }

/* ── Canvas e loader ── */
#gl { display: none; }
html.gl #gl { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
main, footer { position: relative; z-index: 1; }

#loader { display: none; }
html.carregando #loader {
  display: flex; position: fixed; inset: 0; z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: rgb(0,0,1); background: oklch(4% 0.02 228);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
html.gl.pronto #loader { opacity: 0; visibility: hidden; }
#loader img { width: min(240px, 52vw); height: auto; }
.ld-barra { width: min(260px, 60vw); height: 2px; background: var(--bd); border-radius: 2px; overflow: hidden; }
.ld-barra i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.25s var(--ease); }
.ld-pct { font: 500 12px var(--mono); color: var(--tx-3); letter-spacing: 0.08em; }

/* ── Nav ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gx); height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
#nav.scrolled { background: rgba(0,1,2,0.82); background: oklch(5% 0.022 228 / 82%); border-bottom-color: var(--bd); backdrop-filter: blur(14px); }
.nav-logo img { height: 46px; width: auto; mix-blend-mode: screen; filter: brightness(1.05); }
.nav-links { display: flex; align-items: center; gap: 34px; margin: 0 auto; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--tx-2); transition: color 0.15s; }
.nav-links a:hover { color: var(--tx-1); }
.nav-cta {
  background: var(--accent); color: rgb(0,3,5); color: oklch(9% 0.015 228);
  padding: 8px 18px; border-radius: 7px; font-size: 13.5px; font-weight: 700;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.nav-cta:hover { background: rgb(118,163,41); background: oklch(66% 0.155 128); transform: translateY(-1px); }

/* ── Botões ── */
.btn-lg {
  background: var(--accent); color: rgb(0,3,5); color: oklch(9% 0.015 228);
  padding: 14px 28px; border-radius: 8px; font: 700 14.5px var(--font);
  border: none; cursor: pointer; display: inline-block;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn-lg:hover { background: rgb(118,163,41); background: oklch(66% 0.155 128); transform: translateY(-1px); }
.btn-ghost { font-size: 14.5px; font-weight: 600; color: var(--tx-2); display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s; }
.btn-ghost:hover { color: var(--tx-1); }
.btn-ghost svg { transition: transform 0.15s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }
.acoes { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ── Capítulos (modo estático) ── */
.cap { padding: 110px var(--gx); position: relative; }
.cap .txt { max-width: 44rem; position: relative; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font: 600 12.5px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow b { font: 500 12px var(--mono); color: var(--tx-3); letter-spacing: 0.06em; }
.eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--bd); }
.cap h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem); font-weight: 900; line-height: 1.02;
  letter-spacing: -0.035em; margin-bottom: 22px;
}
.cap h2 em { font-style: normal; color: var(--accent); }
.cap .txt p { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; color: var(--tx-2); max-width: 46ch; }
.cap .txt p + p { margin-top: 14px; }
.figs { margin-top: 44px; display: grid; gap: 22px; }
.fig img { width: auto; max-width: 100%; height: auto; border-radius: 7px; border: 1px solid var(--bd); background: var(--bg-card); }
.fig-deco { display: none; }
.fig figcaption { margin-top: 8px; font-size: 12.5px; color: var(--tx-3); }

/* ── Hero ── */
#hero { padding-top: calc(var(--nav-h) + 72px); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 13.5px var(--font); color: var(--accent); margin-bottom: 26px; }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulsa 2.4s ease-in-out infinite; }
@keyframes pulsa { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-h {
  font-size: clamp(3.2rem, 9.4vw, 9.6rem); font-weight: 900; line-height: 0.94;
  letter-spacing: -0.045em; margin-bottom: 30px;
}
.hero-h em { font-style: normal; color: var(--accent); }
.hero-h .ln { display: block; }
#hero .txt { max-width: 62rem; }
#hero .txt p { max-width: 44ch; margin-bottom: 38px; }
#hero .figs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
#hero .fig { flex: none; }
#hero .fig:last-child { flex-basis: 100%; }
.rolar { display: none; }
.nota { font-size: 12.5px; color: var(--tx-3); margin-top: 22px; max-width: 52ch; }

/* ── CTA ── */
#cta { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--bg-green); border-top: 1px solid rgba(134,183,53,0.1); border-top: 1px solid oklch(72% 0.165 128 / 10%); }
#cta .txt { margin-inline: auto; }
#cta h2 { margin-inline: auto; }
#cta .txt p { margin-inline: auto; }
.cta-form { width: min(560px, 100%); margin: 34px auto 0; display: flex; gap: 10px; }
.cta-input {
  flex: 1; min-width: 0; padding: 14px 16px; background: rgb(0,3,0); background: oklch(8% 0.035 142);
  border: 1px solid rgba(134,183,53,0.22); border: 1px solid oklch(72% 0.165 128 / 22%); border-radius: 8px; color: var(--tx-1);
  font: 14.5px var(--font); outline: none; transition: border-color 0.15s;
}
.cta-input::placeholder { color: rgb(92,111,90); color: oklch(52% 0.04 142); }
.cta-input:focus { border-color: rgba(134,183,53,0.55); border-color: oklch(72% 0.165 128 / 55%); }
.cap .txt .cta-fine { font-size: 12.5px; max-width: none; color: rgb(136,151,134); color: oklch(66% 0.03 142); margin-top: 14px; }
.cta-sec { margin-top: 26px; }

/* ── Rodapé ── */
#footer {
  background: rgb(0,0,1); background: oklch(4% 0.018 228); border-top: 1px solid var(--bd);
  padding: 30px var(--gx); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo img { height: 20px; mix-blend-mode: screen; opacity: 0.55; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--tx-3); transition: color 0.15s; }
.footer-links a:hover { color: var(--tx-2); }
.footer-copy { font-size: 12px; color: var(--tx-3); }

/* ── Trilho: em modo estático é uma faixa com rolagem horizontal ── */
.trilho-stage { display: contents; }
.cap-trilho .figs { display: flex; gap: 0; overflow-x: auto; padding-bottom: 12px; }
.cap-trilho .fig { flex: none; }
.cap-trilho .fig img { height: 260px; width: auto; max-width: none; border-radius: 0; border: 0; }
.cap-trilho .fig:first-child img { border-radius: 7px 0 0 7px; }
.cap-trilho .fig:last-child img { border-radius: 0 7px 7px 0; }
.legenda { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 12.5px; color: var(--tx-3); }
.legenda span { display: inline-flex; align-items: center; gap: 7px; }
.legenda i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--ok); }
.legenda .p i { border: 1.5px dashed var(--warn); }
.legenda .n i { border-color: var(--tx-3); }
.hud { display: none; }

/* ══════════ Modo WebGL ══════════ */
html.gl .cap { min-height: 170vh; padding-block: 0; }
html.gl .cap .txt { position: sticky; top: 24vh; max-width: min(38rem, 46vw); }
html.gl .cap .txt::before {
  content: ""; position: absolute; inset: -9vh calc(var(--gx) * -1); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,1,0.78), transparent); background: radial-gradient(closest-side, oklch(4% 0.022 228 / 0.78), transparent);
}
html.gl .cap.dir .txt { margin-left: auto; }
html.gl .cap h2, html.gl .cap .txt p { text-shadow: 0 2px 28px rgb(0,0,1); text-shadow: 0 2px 28px oklch(3% 0.02 228); }
html.gl .figs {
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
html.gl #hero { min-height: 100vh; min-height: 100svh; justify-content: flex-end; padding-bottom: 12vh; }
html.gl #hero .txt { position: relative; top: auto; max-width: 62rem; }
html.gl .hero-h .ln { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
html.gl .hero-h .l { display: inline-block; white-space: pre; transform: translateY(108%) rotate(5deg); transform-origin: 0 100%; }
html.gl.pronto .hero-h .l { transform: none; transition: transform 1s var(--ease) calc(var(--i) * 26ms + 250ms); }
html.gl:not(.pronto) #hero [data-reveal] { transition: none; }
html.gl .rolar {
  display: flex; align-items: center; gap: 12px; position: absolute; left: var(--gx); bottom: 4vh;
  font: 500 11.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3);
}
html.gl .rolar i { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: desce 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes desce { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
html.gl #cta { background: transparent; border-top: 0; min-height: 100vh; min-height: 100svh; }
html.gl #cta .txt { position: relative; top: auto; max-width: 44rem; }
html.gl #cta .txt::before { inset: -14vh -12vw; }
html.gl #footer { background: rgba(0,0,1,0.92); background: oklch(4% 0.018 228 / 0.92); }

/* Trilho: seção alta e fixa; o scroll vira pan lateral da câmera */
html.gl .cap-trilho { height: 430vh; min-height: 0; }
html.gl .trilho-stage {
  display: flex; flex-direction: column; justify-content: space-between;
  position: sticky; top: 0; height: 100vh; padding: calc(var(--nav-h) + 3vh) 0 6vh;
}
html.gl .cap-trilho .txt {
  position: static; max-width: none; display: grid; align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 4vw;
}
html.gl .cap-trilho .txt::before { display: none; }
html.gl .cap-trilho .eyebrow { grid-column: 1 / -1; }
html.gl .cap-trilho h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 0; }
html.gl .cap-trilho .txt p { max-width: 50ch; font-size: 1rem; }
html.gl .cap-trilho .legenda { margin-top: 12px; }
html.gl .hud { display: block; }
.hud-chips { display: flex; align-items: center; gap: 0; }
.hud-c {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 28px; padding: 0 10px;
  font: 600 11px var(--mono); letter-spacing: 0.04em; color: var(--tx-3);
  border: 1px solid var(--bd); border-radius: 7px; background: rgba(0,2,5,0.7); background: oklch(8% 0.022 228 / 0.7);
  transition: color 0.18s, border-color 0.18s, background 0.18s, transform 0.18s;
}
.hud-c + .hud-c { margin-left: 8px; }
.hud-c.c { border-color: rgba(88,164,81,0.5); border-color: oklch(65% 0.14 142 / 0.5); }
.hud-c.p { border: 1px dashed rgba(228,152,57,0.6); border: 1px dashed oklch(74% 0.14 68 / 0.6); }
.hud-c.on { color: var(--tx-1); background: rgba(1,22,21,0.9); background: oklch(18% 0.03 192 / 0.9); border-color: var(--teal-lit); transform: translateY(-2px); }
.hud-c.p.on { border-color: var(--warn); color: var(--warn); }
.hud-nome { margin-top: 12px; font: 500 12px var(--mono); letter-spacing: 0.06em; color: var(--tx-3); }
.hud-nome b { color: var(--tx-1); font-weight: 600; }

/* ── Estreito: cena simplificada; texto embaixo, prints em cima ── */
@media (max-width: 899px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 479px) { .nav-logo img { height: 32px; } .nav-cta { padding: 7px 12px; font-size: 12.5px; } #nav { gap: 12px; } }
@media (max-width: 779px) {
  :root { --nav-h: 64px; }
  .cap { padding-block: 80px; }
  .cta-form { flex-direction: column; }
  html.gl .cap { min-height: 150vh; }
  html.gl .cap .txt, html.gl .cap.dir .txt { top: 50vh; max-width: none; margin-left: 0; }
  /* o scrim vai só até a borda da tela: passar dela faz o Chrome mobile alargar a viewport */
  html.gl .cap .txt::before, html.gl #cta .txt::before { inset: -8vh calc(var(--gx) * -1); background: radial-gradient(closest-side, rgba(0,0,1,0.88), transparent); background: radial-gradient(closest-side, oklch(4% 0.022 228 / 0.88), transparent); }
  html.gl .cap h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  html.gl #hero .txt { top: auto; }
  html.gl .hero-h { font-size: clamp(3rem, 15.5vw, 4.6rem); }
  /* trilho vira rolagem horizontal nativa */
  html.gl .cap-trilho { height: auto; padding-block: 80px; }
  html.gl .trilho-stage { position: static; height: auto; padding: 0; }
  html.gl .cap-trilho .txt { display: block; }
  html.gl .cap-trilho h2 { margin-bottom: 14px; }
  html.gl .cap-trilho .figs {
    position: static; width: auto; height: auto; clip: auto; clip-path: none; overflow-x: auto;
    display: flex; margin-top: 28px; margin-inline: calc(var(--gx) * -1); padding-inline: var(--gx);
  }
  html.gl .hud { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.rv [data-reveal] { opacity: 1; transform: none; transition: none; }
  .kicker i { animation: none; }
}

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(29,38,42); background: oklch(26% 0.015 228); border-radius: 2px; }

/* ══════════ Cartões: a interface do produto redesenhada para o tamanho em que aparece ══════════
   Medidas em px de design (o print do produto dividido por 2). cartas.js rasteriza este mesmo HTML para a cena 3D;
   no modo estático ele aparece direto na página. Só hex/rgb aqui (o canvas não lê oklch em todo navegador). */
.carta { box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; color: #e6ecef; background: #000b10;
  border-radius: 7px; white-space: normal; text-align: left; line-height: 1.25; font-weight: 400; }
.carta *, .carta *::before, .carta *::after { box-sizing: border-box; }
.carta b { font-weight: 700; }
.ct-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Etapa do trilho (CUMPRIDA / FORA DO FLUXO) */
.ct-etapa { width: 292px; border: 1px solid var(--est-bd); overflow: hidden; }
.ct-ok { --est: #58b55f; --est-bg: #0d2615; --est-bd: #2e8b45; }
.ct-fora { --est: #e0565b; --est-bg: #2a1116; --est-bd: #cf4a4f; border-style: dashed; }
.ct-topo { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 17px; background: var(--est-bg); }
.ct-estado { font-size: 9.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--est); }
.ct-fluxo { font-size: 10px; color: #8a969b; }
.ct-corpo { padding: 14px 17px 12px; }
.ct-cab { display: flex; align-items: center; gap: 12px; }
.ct-n { font-size: 11.5px; font-weight: 700; color: #1f9a93; background: #04141a; border: 1px solid #0d2a30; border-radius: 4px; padding: 3px 7px; }
.ct-tx { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; color: #eef3f5; }
.ct-desc { margin: 4px 0 0 40px; font-size: 11px; color: #8a969b; }
.ct-nums { display: grid; grid-template-columns: 105px auto; gap: 5px 12px; margin-top: 12px; }
.ct-nums .ct-t { grid-column: 1 / -1; }
.ct-r { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8a969b; }
.ct-v { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; color: #f2f6f8; }
.ct-v i { font-style: normal; font-weight: 600; color: #6f7b81; }
.ct-chip { display: inline-block; margin-top: 10px; padding: 3px 7px; border-radius: 5px; background: #0f1b22; font-size: 11px; color: #8a969b; }
.ct-th { display: grid; grid-template-columns: 22px 1fr 40px 54px; height: 30px; align-items: center; padding: 0 17px; margin-top: 10px; background: #0a151b; border-top: 1px solid #0d1a21; border-bottom: 1px solid #0d1a21; }
.ct-th span { font-size: 9.8px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #8a969b; }
.ct-th span:nth-child(3), .ct-th span:nth-child(4), .ct-l1 span:nth-child(3), .ct-l1 span:nth-child(4) { text-align: right; }
.ct-lin { padding: 11px 17px 6px; border-bottom: 1px solid #0b161c; }
.ct-l1 { display: grid; grid-template-columns: 22px 1fr 40px 54px; align-items: baseline; }
.ct-l1 span:nth-child(1) { font-size: 11px; color: #6f7b81; }
.ct-l1 span:nth-child(2) { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: #cdd6da; }
.ct-l1 span:nth-child(3), .ct-l1 span:nth-child(4) { font-size: 12px; color: #aab4b9; }
.ct-lin-b .ct-l1 span:nth-child(2) { font-weight: 700; color: #f2f6f8; }
.ct-barra { height: 3px; margin: 5px 0 0 22px; border-radius: 2px; background: #0f1a20; overflow: hidden; }
.ct-barra i { display: block; height: 100%; border-radius: 2px; background: #3f9a52; }
.ct-val { display: flex; align-items: center; gap: 7px; margin: 4px 0 0 22px; font-size: 11px; color: #8a969b; }
.ct-val em { font-style: normal; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; color: #9aa5aa; background: #111d24; padding: 2px 6px; border-radius: 4px; }
.ct-mais { display: flex; align-items: center; justify-content: center; gap: 8px; height: 28px; margin: 12px 17px 0; border-radius: 14px; background: #0f1b22;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #aab4b9; }
.ct-mais i { font-style: normal; font-weight: 500; letter-spacing: 0; color: #6f7b81; }
.ct-fim { height: 12px; }

/* Etapa obrigatória não executada (cartão fantasma) */
.ct-fantasma { width: 176px; padding: 16px 17px 17px; border: 1px dashed rgba(228, 152, 57, 0.75); background: #111d28; }
.ct-fantasma .ct-icone { display: flex; align-items: center; justify-content: center; width: 20px; height: 18px; border: 1.5px solid #e49839; border-radius: 4px; }
.ct-fantasma .ct-icone i { display: block; width: 8px; height: 1.5px; background: #e49839; }
.ct-fantasma .ct-tx { color: #e49839; }
.ct-fantasma .ct-desc { margin: 6px 0 0 32px; font-size: 12px; color: #7f8b94; white-space: nowrap; }
.ct-nota { margin-top: 20px; font-size: 12px; line-height: 1.3; color: #7f8b94; }
.ct-nota b { display: block; color: #8793a0; }

/* ── Painéis (indicadores, contadores, listas, tabelas) ── */
.ct-painel { border: 1px solid #0f1b22; overflow: hidden; }

/* Indicadores de uma sessão: 3 x 3 (o print tinha 8 tiles em fila; a fila ficava ilegível na tela) */
.ct-kpis { width: 344px; padding: 8px; }
.ct-kpis .ct-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ct-tile { padding: 10px 11px 9px; border: 1px solid #0b1a21; border-radius: 7px; background: #020d12; }
.ct-tile.ct-dois { grid-column: span 2; }
.ct-tile b { display: block; font-size: 14px; line-height: 1.15; color: #eef3f5; }
.ct-tile span { display: block; margin-top: 5px; font-size: 10px; color: #6f7b81; }

/* Contadores de sessões */
.ct-contadores { width: 548px; display: flex; background: #000b10; border-radius: 8px; }
.ct-cont { flex: 1; padding: 12px 18px 11px; border-left: 1px solid #0b1a21; border-bottom: 2px solid transparent; }
.ct-cont:first-child { border-left: 0; }
.ct-cont b { display: block; font-size: 24px; line-height: 1.1; color: #e6ecef; }
.ct-cont span { display: block; margin-top: 2px; font-size: 12px; color: #8a969b; }
.ct-cont.ct-ativo { background: #17241a; border-bottom-color: #86b735; }
.ct-cont.ct-ativo span { color: #86b735; }

/* Lista de sessões por dia */
.ct-lista { width: 530px; padding: 4px 16px 6px; background: #0d1823; border-color: #14232e; }
.ct-dia { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0 6px; border-bottom: 1px solid #14232e; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #8a969b; }
.ct-dia i { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; }
.ct-sessao { padding: 9px 0 8px 2px; }
.ct-sessao .ct-quem { font-size: 12.5px; font-weight: 600; color: #e6ecef; }
.ct-sessao .ct-linha { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.ct-hora { width: 134px; font-size: 13px; font-weight: 600; color: #e6ecef; }
.ct-hora i { font-style: normal; margin-left: 5px; font-size: 10.5px; font-weight: 400; color: #8a969b; }
.ct-tag { padding: 3px 7px; border-radius: 5px; background: #1a2733; font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; color: #b4bec3; }
.ct-evt { flex: 1; font-size: 12px; color: #9aa5aa; }
.ct-pilula { padding: 3px 9px; border-radius: 11px; background: #1a2733; font-size: 10px; font-weight: 600; color: #b4bec3; }

/* Log cronológico */
.ct-log { width: 500px; }
.ct-log .ct-cabec { padding: 14px 16px 10px; }
.ct-log .ct-nome { font-size: 13px; font-weight: 700; color: #e6ecef; }
.ct-log .ct-meta { margin-top: 3px; font-size: 10.5px; color: #8a969b; }
.ct-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px; padding: 10px 0 11px; border-top: 1px solid #0b1a21; border-bottom: 1px solid #0b1a21; }
.ct-stats b { display: block; font-size: 20px; line-height: 1.1; color: #eef3f5; }
.ct-stats b.az { color: #4d9fdc; }
.ct-stats span { display: block; margin-top: 2px; font-size: 10.5px; color: #8a969b; }
.ct-tabela { padding: 10px 0 6px; }
.ct-tabela .ct-rot { padding: 0 16px 7px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6f7b81; }
.ct-tr { display: grid; grid-template-columns: 24px 138px 1fr 118px; align-items: center; gap: 6px; padding: 0 16px; height: 25px; border-top: 1px solid #0b161c; font-size: 10.5px; }
.ct-tr.ct-tr-h { height: 24px; background: #08131a; border-top: 0; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6f7b81; }
.ct-tr > span:first-child { color: #6f7b81; }
.ct-tr .ct-tx2 { display: flex; align-items: center; gap: 5px; }
.ct-tr .ct-tx2 em { font-style: normal; padding: 2px 6px; border-radius: 4px; background: #0d2a2c; font-size: 10px; font-weight: 700; letter-spacing: 0.02em; color: #3fb7ad; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.ct-tr .ct-tx2 u { text-decoration: none; padding: 2px 6px; border-radius: 4px; background: #14212a; font-size: 9px; font-weight: 600; color: #8a969b; }
.ct-tr .ct-dado { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; color: #cdd6da; }
.ct-tr .ct-acao { font-size: 8.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: #9aa5aa; }

/* ── Fluxo ideal × real ── */
.ct-ir { width: 760px; padding: 14px 14px 12px; }
.ct-raia { padding: 10px 12px 12px; border: 1px solid #12232b; border-radius: 7px; background: #020d12; }
.ct-raia + .ct-raia { margin-top: 10px; }
.ct-raia.ct-real { border-color: rgba(228, 152, 57, 0.55); }
.ct-rot2 { margin-bottom: 9px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #8a969b; }
.ct-rot2.ct-ambar { color: #e49839; }
.ct-fila { display: flex; align-items: center; }
.ct-seta { flex: none; width: 12px; text-align: center; font-style: normal; font-size: 15px; line-height: 1; color: #1f8f87; }
.ct-no { flex: 1; min-width: 0; padding: 8px 4px 7px; border: 1.5px solid #1f8f87; border-radius: 7px; background: #031015; text-align: center; }
.ct-no b { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 700; color: #e6ecef; }
.ct-no span { display: block; margin-top: 2px; font-size: 10.5px; color: #8a969b; }
.ct-no.ct-peq { padding: 6px 1px 6px; border-radius: 5px; border-width: 1.2px; }
.ct-no.ct-peq b { font-size: 8.5px; letter-spacing: -0.02em; }
.ct-no.ct-desvio { border: 1.2px dashed #e49839; background: #120e07; }
.ct-no.ct-desvio b { color: #e49839; }
.ct-no.ct-pulado { border: 1.2px dashed #4b5a62; background: #060f14; }
.ct-no.ct-pulado b { color: #6f7b81; }
.ct-leg { display: flex; gap: 18px; margin-top: 10px; padding-left: 2px; font-size: 9.5px; color: #8a969b; }
.ct-leg span { display: inline-flex; align-items: center; gap: 6px; }
.ct-q { display: block; width: 11px; height: 9px; border: 1.2px solid #1f8f87; border-radius: 2px; }
.ct-q.ct-qd { border: 1.2px dashed #e49839; }
.ct-q.ct-qp { border: 1.2px dashed #4b5a62; }

/* ── Mapa consolidado do processo ── */
.ct-mapa-c { position: relative; width: 632px; background: #01090d; }
.ct-conex { position: absolute; left: 0; top: 0; }
.ct-no.ct-mapa { position: absolute; width: 58px; height: 30px; padding: 4px 0 0; border-radius: 6px; border-width: 1.3px; flex: none; }
.ct-no.ct-mapa b { font-family: 'Inter', system-ui, sans-serif; font-size: 10px; line-height: 1.1; }
.ct-no.ct-mapa span { margin-top: 2px; font-size: 7.5px; line-height: 1.1; color: #aab4b9; }
.ct-no.ct-mapa.ct-desvio span { color: #e49839; }

/* ── Variantes do fluxo ── */
.ct-variantes { width: 720px; padding: 14px 16px 12px; background: #000b10; }
.ct-vt { display: flex; justify-content: space-between; align-items: baseline; }
.ct-vt b { font-size: 14px; color: #eef3f5; }
.ct-vt span { font-size: 10.5px; color: #6f7b81; }
.ct-vs { margin: 8px 0 10px; font-size: 10.5px; color: #8a969b; }
.ct-vs b { color: #cdd6da; }
.ct-var { margin-top: 6px; padding: 9px 12px 9px; border: 1px solid #0b161c; border-radius: 7px; background: #01090d; }
.ct-var.ct-var1 { border-color: #1a3a1e; }
.ct-vl { display: flex; align-items: center; gap: 10px; }
.ct-vn { flex: none; width: 20px; height: 20px; border-radius: 5px; background: #111d24; text-align: center; font-size: 11px; font-weight: 600; line-height: 20px; color: #aab4b9; }
.ct-var1 .ct-vn { background: #1a2a14; color: #86b735; }
.ct-vp { flex: 1; font-size: 12px; color: #e6ecef; }
.ct-vm { font-size: 10.5px; color: #8a969b; }
.ct-vm b { color: #e6ecef; }
.ct-bv { margin: 8px 0 0 30px; background: #0b151a; }
.ct-bv i { background: #86b735; }

/* ── "O que pede atenção" (comparações) ── */
.ct-atencao { width: 560px; padding: 16px 18px 14px; background: #000b10; }
.ct-atencao.ct-at-menor { width: 500px; }
.ct-atit { font-size: 15px; font-weight: 700; color: #eef3f5; }
.ct-asub { margin: 4px 0 10px; font-size: 10.5px; color: #6f7b81; }
.ct-at { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-top: 1px solid #0b161c; }
.ct-pil { flex: none; width: 82px; padding: 4px 0; border-radius: 11px; background: #111d24; text-align: center; font-size: 10px; font-weight: 600; color: #aab4b9; }
.ct-atx { flex: 1; font-size: 12px; line-height: 1.35; color: #e6ecef; }
.ct-ar { flex: none; font-style: normal; font-size: 12px; color: #6f7b81; }
.ct-afim { margin-top: 8px; padding-top: 9px; border-top: 1px solid #0b161c; font-size: 10px; color: #6f7b81; }

/* ── Licenciamento: carteira ── */
.ct-lic { width: 600px; padding: 18px 16px 14px; background: #000b10; }
.ct-ltopo { display: grid; grid-template-columns: 236px 1fr; gap: 14px; }
.ct-rot3 { font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8a969b; }
.ct-grande { margin-top: 6px; font-size: 32px; line-height: 1; font-weight: 700; color: #f2f6f8; }
.ct-gsub { margin-top: 2px; font-size: 15px; font-weight: 500; color: #cdd6da; }
.ct-par { margin-top: 8px; font-size: 10.5px; line-height: 1.45; color: #9aa5aa; }
.ct-par b, .ct-cap b { color: #e6ecef; }
.ct-lk { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ct-kb { padding: 10px 11px; border: 1px solid #0b1a21; border-radius: 7px; background: #020d12; }
.ct-kb.ct-kdest { border-color: #2a3640; background: #0f1b22; }
.ct-kb b { display: block; font-size: 19px; line-height: 1.1; color: #cdd6da; }
.ct-kb b.vd { color: #5db865; } .ct-kb b.am { color: #e49839; }
.ct-kb span { display: block; margin-top: 5px; font-size: 9.5px; line-height: 1.3; color: #8a969b; }
.ct-lsep { height: 1px; margin: 14px 0 12px; background: #0b161c; }
.ct-din { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.ct-rs { font-size: 24px; font-weight: 700; color: #cdd6da; } .ct-rs.am { color: #e49839; }
.ct-rs i { font-style: normal; font-size: 11px; font-weight: 500; color: #8a969b; }
.ct-cap { margin-top: 3px; font-size: 10px; line-height: 1.35; color: #8a969b; }
.ct-aviso { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 10px; line-height: 1.35; color: #9aa5aa; }
.ct-pil2 { flex: none; padding: 3px 9px; border: 1px solid rgba(228, 152, 57, 0.6); border-radius: 11px; background: #1d1608; font-size: 9.5px; font-weight: 600; color: #e49839; }
.ct-aviso u { text-decoration: none; color: #4d9fdc; }
.ct-faixa { display: flex; align-items: center; margin-top: 12px; }
.ct-faixa + .ct-faixa { margin-top: 5px; }
.ct-fr { flex: none; width: 90px; }
.ct-fr b { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #aab4b9; }
.ct-fr span { display: block; margin-top: 1px; font-size: 8.5px; color: #6f7b81; }
.ct-ft { display: flex; }
.ct-fs { position: relative; height: 20px; text-align: center; font-size: 9.5px; font-weight: 700; line-height: 20px; color: #0a1a05; }
.ct-fs.lima { background: #86b735; } .ct-fs.azul { background: #4a9fdc; color: #06202f; }
.ct-fs.lima:first-child { border-radius: 4px 0 0 4px; } .ct-fs.lima:last-child { border-radius: 4px; }
.ct-fs.hach { height: 20px; line-height: 20px; color: #e8c88a; }
.ct-fs.hach svg { position: absolute; left: 0; top: 0; }
.ct-fs.hach em { position: relative; font-style: normal; }
.ct-leg2 { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 9.5px; color: #9aa5aa; }
.ct-leg2 span { display: inline-flex; align-items: center; gap: 5px; }
.ct-dot { display: block; width: 7px; height: 7px; border-radius: 50%; }

/* ── Licenciamento: simulador ── */
.ct-sim { width: 640px; padding: 14px 16px 16px; background: #0a1520; }
.ct-tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ct-tipo { padding: 12px 13px 11px; border: 1px solid #0f1b24; border-radius: 7px; background: #040e15; }
.ct-tipo b { font-size: 13px; color: #eef3f5; }
.ct-tipo p { margin-top: 5px; min-height: 42px; font-size: 10.5px; line-height: 1.4; color: #9aa5aa; }
.ct-cst { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #0b161c; }
.ct-cst span { font-size: 10px; color: #6f7b81; }
.ct-cst em { flex: 1; padding: 7px 12px; border-radius: 6px; background: #01070b; text-align: right; font-style: normal; font-size: 12px; color: #e6ecef; }
.ct-nota2 { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 10px 14px; border: 1px solid #262b30; border-radius: 6px; background: #202428; font-size: 10.5px; line-height: 1.4; color: #aab4b9; }
.ct-nota2 b { color: #eef3f5; }
.ct-btn { flex: none; padding: 7px 13px; border-radius: 6px; background: #4aa3df; font-style: normal; font-size: 11px; font-weight: 600; color: #04192a; }
.ct-simbox { margin-top: 12px; padding: 12px 12px 12px; border-radius: 8px; background: #040d14; }
.ct-simt { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.ct-simt b { font-size: 13px; color: #eef3f5; } .ct-simt span { font-size: 9.5px; color: #6f7b81; }
.ct-simc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.ct-sc { padding: 11px 12px; border: 1px solid #0b161c; border-radius: 7px; background: #01070b; }
.ct-sc.ct-eco { border-color: #12383a; background: #061a1e; }
.ct-sel { margin-top: 7px; padding: 7px 10px; border: 1px solid #12202a; border-radius: 6px; background: #020b11; font-size: 11px; color: #e6ecef; }
.ct-sel i { float: right; font-style: normal; color: #aab4b9; }
.ct-rs2 { margin-top: 7px; font-size: 19px; font-weight: 700; color: #eef3f5; }
.ct-rs2 i { font-style: normal; font-size: 10px; font-weight: 500; color: #8a969b; }
.ct-rs3 { margin-top: 7px; font-size: 24px; font-weight: 700; color: #4fbf6a; }
.ct-sc p { margin-top: 7px; font-size: 9.5px; line-height: 1.4; color: #9aa5aa; }
.ct-sc p b { color: #e6ecef; }

/* ── Medidor de cobertura ── */
.ct-gauge { position: relative; width: 212px; height: 212px; }
.ct-arco { position: absolute; left: 36px; top: 14px; }
.ct-pct { position: absolute; left: 0; right: 0; top: 66px; text-align: center; font-size: 30px; font-weight: 700; color: #f2f6f8; }
.ct-gr { position: absolute; left: 0; right: 0; top: 142px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a969b; }
.ct-gt { position: absolute; left: 18px; right: 18px; top: 160px; text-align: center; font-size: 10.5px; line-height: 1.35; color: #6f7b81; }

/* ── Auditoria: acesso concedido × usado ── */
.ct-aud { width: 620px; padding: 16px 18px 16px; background: #000b10; }
.ct-atopo { display: flex; justify-content: space-between; align-items: flex-start; }
.ct-sap { margin-top: 4px; font-size: 24px; font-weight: 700; letter-spacing: 0.02em; color: #d24c4c; }
.ct-amod { margin-top: 4px; font-size: 11.5px; color: #8a969b; }
.ct-amod b { color: #e49839; }
.ct-sup { display: flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 12px; background: #2a1116; font-size: 10.5px; font-weight: 600; color: #d24c4c; }
.ct-acols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 16px; }
.ct-mt { font-size: 12px; font-weight: 600; color: #e6ecef; }
.ct-mds { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.ct-md { padding: 4px 8px; border: 1px solid #0f1b22; border-radius: 5px; background: #0c161c; font-style: normal; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; font-weight: 700; color: #6f7b81; }
.ct-md.on { border-color: #2e5a2a; background: #12220f; color: #86b735; }
.ct-rec { margin-top: 16px; padding: 10px 14px; border-left: 3px solid #d24c4c; border-radius: 4px; background: #08131a; font-size: 11.5px; color: #e6ecef; }
.ct-rec b { color: #d24c4c; }
