/* ==========================================================================
   Apresentação funcional v3 — Finance Analytics × Real Aviation Services
   SM Consultoria · paleta: navy #0a1b2c · gold #deb76d · blue #193a82
                            mist #b8bacf · taupe #736b60
   ========================================================================== */

:root {
  --navy: #0a1b2c;
  --navy-rgb: 10, 27, 44;
  --gold: #deb76d;
  --gold-rgb: 222, 183, 109;
  --gold-strong: #c99a45;
  --blue: #193a82;
  --blue-rgb: 25, 58, 130;
  --mist: #b8bacf;
  --mist-rgb: 184, 186, 207;
  --taupe: #736b60;

  /* tema escuro (padrão) */
  --bg: #07131f;
  --surface: #0d2235;
  --surface-2: #112a41;
  --surface-3: #17344f;
  --glass: rgba(13, 34, 53, .72);
  --text: #eef0f7;
  --text-muted: #b8bacf;
  --text-subtle: #8a8ea8;
  --border: rgba(184, 186, 207, .16);
  --border-strong: rgba(184, 186, 207, .32);
  --primary: #7c9cf0;
  --primary-solid: #2a52b8;
  --accent: var(--gold);
  --success: #4fd29a;
  --success-rgb: 79, 210, 154;
  --danger: #ff7a7a;
  --warning: #f3c562;
  --info: #6cc4f5;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
  --grad-brand: linear-gradient(135deg, #193a82 0%, #0a1b2c 100%);
  --grad-accent: linear-gradient(135deg, #f0d39a 0%, #deb76d 45%, #b98a3b 100%);
  --grad-text: linear-gradient(100deg, #f3dcab 0%, #deb76d 40%, #b8bacf 100%);

  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --fast: 120ms;
  --base: 200ms;
  --slow: 360ms;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #eef0f6;
  --surface: #ffffff;
  --surface-2: #f4f5fa;
  --surface-3: #e7e9f2;
  --glass: rgba(255, 255, 255, .78);
  --text: #0a1b2c;
  --text-muted: #4d4a45;
  --text-subtle: #736b60;
  --border: rgba(10, 27, 44, .12);
  --border-strong: rgba(10, 27, 44, .24);
  --primary: #193a82;
  --primary-solid: #193a82;
  --accent: #a87a2c;
  --success: #12804f;
  --success-rgb: 18, 128, 79;
  --danger: #c23434;
  --warning: #9a6a00;
  --info: #1f6fa8;
  --shadow-sm: 0 2px 8px rgba(10, 27, 44, .08);
  --shadow-md: 0 10px 28px rgba(10, 27, 44, .12);
  --shadow-lg: 0 24px 56px rgba(10, 27, 44, .18);
  --grad-text: linear-gradient(100deg, #193a82 0%, #2a52b8 45%, #a87a2c 100%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- palco 16:9 escalado ---------- */
.viewport {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(var(--blue-rgb), .35), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(var(--gold-rgb), .10), transparent 60%),
    var(--bg);
}

.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1600px;
  height: 900px;
  translate: -50% -50%;
  scale: var(--scale, 1);
  transform-origin: center;
}

/* ---------- barra superior ---------- */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 72px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 5;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }

.lockup { display: flex; align-items: center; gap: 14px; }
.sm-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-accent);
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.02em;
  box-shadow: 0 6px 18px rgba(var(--gold-rgb), .25);
}
.lockup__name { font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.lockup__name small { display: block; font-weight: 500; font-size: 11px; color: var(--text-subtle); letter-spacing: .12em; text-transform: uppercase; }
.lockup__x { color: var(--text-subtle); font-weight: 300; font-size: 20px; }
.real-mark { width: 34px; height: 34px; border-radius: 50%; }

.topbar__chapter {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.topbar__chapter b { color: var(--accent); font-weight: 800; }
.topbar__counter { font-family: var(--mono); font-size: 13px; color: var(--text-muted); min-width: 64px; text-align: right; }

/* ---------- controles ---------- */
.controls {
  position: absolute;
  right: 56px;
  bottom: 26px;
  display: flex;
  gap: 8px;
  z-index: 6;
}
.ctl {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), scale var(--fast) var(--ease);
}
.ctl:hover { color: var(--text); background: var(--surface-3); }
.ctl:active { scale: .94; }
.ctl.is-on { color: var(--navy); background: var(--gold); border-color: transparent; }
.ctl svg { width: 18px; height: 18px; }

.progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--border);
  z-index: 6;
}
.progress__bar {
  height: 100%;
  width: 100%;
  background: var(--grad-accent);
  scale: var(--p, 0) 1;
  transform-origin: left;
  transition: scale var(--slow) var(--ease-out);
}
.progress__auto {
  position: absolute; inset: 0;
  background: rgba(var(--mist-rgb), .5);
  scale: 0 1;
  transform-origin: left;
}
.is-autoplay .progress__auto { animation: auto-fill var(--auto-ms, 12000ms) linear; }
@keyframes auto-fill { from { scale: 0 1; } to { scale: 1 1; } }

.footer-note {
  position: absolute;
  left: 56px;
  bottom: 34px;
  font-size: 12px;
  color: var(--text-subtle);
  z-index: 5;
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-note .tag { font-size: 11px; }

/* ---------- ícones ---------- */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 16px; height: 16px; }
.ic--lg { width: 28px; height: 28px; }

/* ---------- slides ---------- */
.slide {
  position: absolute;
  inset: 0;
  padding: 104px 96px 92px;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
}
.slide.is-active { visibility: visible; opacity: 1; animation: slide-in var(--slow) var(--ease-out) backwards; }
.slide.is-leaving { visibility: visible; animation: slide-out 260ms var(--ease) forwards; pointer-events: none; }
.slide.is-back.is-active { animation-name: slide-in-back; }
@keyframes slide-in { from { opacity: 0; translate: 48px 0; } }
@keyframes slide-in-back { from { opacity: 0; translate: -48px 0; } }
@keyframes slide-out { to { opacity: 0; translate: -32px 0; } }
.slide.is-back.is-leaving { animation-name: slide-out-back; }
@keyframes slide-out-back { to { opacity: 0; translate: 32px 0; } }

.slide.is-active [data-in] {
  animation: rise-in 560ms var(--ease-out) backwards;
  animation-delay: calc(120ms + var(--i, 0) * 70ms);
}
@keyframes rise-in { from { opacity: 0; translate: 0 18px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes scale-in { from { opacity: 0; scale: .92; } }
@keyframes pop-in { 0% { opacity: 0; scale: .6; } 70% { scale: 1.06; } 100% { opacity: 1; scale: 1; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), .55); } 100% { box-shadow: 0 0 0 16px rgba(var(--gold-rgb), 0); } }
@keyframes dash-flow { to { stroke-dashoffset: -40; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 50% { translate: 0 -6px; } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }

/* tipografia */
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .num {
  display: inline-grid; place-items: center;
  min-width: 28px; height: 28px; padding: 0 8px;
  border-radius: 8px;
  background: rgba(var(--gold-rgb), .14);
  border: 1px solid rgba(var(--gold-rgb), .4);
  letter-spacing: 0;
}
.title { margin: 0; font-size: 50px; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; max-width: 1200px; }
.title--md { font-size: 42px; }
.lead { margin: 18px 0 0; font-size: 21px; line-height: 1.5; color: var(--text-muted); max-width: 1080px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.mono { font-family: var(--mono); }
.gold { color: var(--accent); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  white-space: nowrap;
}
.tag--gold { color: var(--accent); border-color: rgba(var(--gold-rgb), .45); background: rgba(var(--gold-rgb), .08); }
.tag--ok { color: var(--success); border-color: rgba(var(--success-rgb), .45); background: rgba(var(--success-rgb), .08); }
.tag--blue { color: var(--primary); border-color: rgba(124, 156, 240, .45); background: rgba(124, 156, 240, .08); }
.tag--warn { color: var(--warning); border-color: currentColor; }
.tag--danger { color: var(--danger); border-color: currentColor; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.glass { background: var(--glass); backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: var(--r-lg); }

.body { flex: 1; min-height: 0; margin-top: 36px; display: grid; gap: 28px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-73 { grid-template-columns: 1.5fr 1fr; }
.cols-37 { grid-template-columns: 1fr 1.5fr; }

.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: var(--text-muted); }
.bullets li b { color: var(--text); font-weight: 700; }
.bullets .ic { color: var(--accent); margin-top: 1px; }

.panel-title { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); display: flex; align-items: center; gap: 8px; }

/* ==========================================================================
   S1 — capa
   ========================================================================== */
.slide--cover { justify-content: center; padding-left: 120px; }
.cover-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.cover__brands { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; position: relative; }
.cover__brands .sm-mark { width: 56px; height: 56px; font-size: 21px; border-radius: 16px; }
.cover__brands .real-mark { width: 54px; height: 54px; }
.cover__brands .lockup__name { font-size: 19px; }
.slide--cover .title { font-size: 62px; max-width: 780px; position: relative; }
.slide--cover .lead { font-size: 21px; max-width: 760px; position: relative; }
.cover__meta { margin-top: 44px; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.cover__hint { position: absolute; left: 120px; bottom: 96px; font-size: 14px; color: var(--text-subtle); display: flex; gap: 8px; align-items: center; }
kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  color: var(--text-muted);
}

/* ==========================================================================
   S2 — contexto: a plataforma da Real
   ========================================================================== */
.chains { display: grid; gap: 18px; align-content: start; }
.chain { display: flex; align-items: center; gap: 0; }
.chain__label { width: 170px; flex: none; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); }
.chain__steps { display: flex; align-items: center; flex: 1; }
.node {
  position: relative;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--base) var(--ease-out), background var(--base) var(--ease-out), scale var(--base) var(--spring);
}
.node .ic { color: var(--text-subtle); transition: color var(--base); }
.node.is-lit { border-color: rgba(var(--gold-rgb), .7); background: var(--surface-2); scale: 1.04; }
.node.is-lit .ic { color: var(--accent); }
.link { flex: 1; min-width: 22px; height: 2px; background: var(--border-strong); position: relative; overflow: hidden; }
.link::after { content: ''; position: absolute; inset: 0; background: var(--gold); scale: 0 1; transform-origin: left; transition: scale 380ms var(--ease-out); }
.link.is-lit::after { scale: 1 1; }
.node--gap {
  border-style: dashed;
  border-color: rgba(var(--gold-rgb), .6);
  background: rgba(var(--gold-rgb), .06);
  color: var(--accent);
}
.node--gap.is-pulse { animation: pulse-ring 1.4s var(--ease-out) infinite; }
.callout {
  display: flex; gap: 18px; align-items: center;
  padding: 22px 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(110deg, rgba(var(--gold-rgb), .14), rgba(var(--blue-rgb), .18));
  border: 1px solid rgba(var(--gold-rgb), .35);
  font-size: 19px; line-height: 1.45;
}
.callout .ic { color: var(--accent); width: 34px; height: 34px; }
.callout b { color: var(--accent); }
.modules { display: flex; flex-wrap: wrap; gap: 10px; }
.module { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.module .ic { width: 16px; height: 16px; color: var(--accent); }

/* ==========================================================================
   S3 — pilares
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-content: start; }
.pillar { padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color var(--base), translate var(--base) var(--ease-out); }
.pillar:hover { border-color: rgba(var(--gold-rgb), .5); translate: 0 -3px; }
.pillar__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), .25);
}
.pillar h3 { margin: 0; font-size: 18px; font-weight: 700; }
.pillar p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.pillar { position: relative; }
.pillar__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; }
.strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ==========================================================================
   Janela de aplicativo (mock do Finance Analytics)
   ========================================================================== */
.app {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: #0b1a2a;
  color: #e7e9f2;
  display: grid;
  grid-template-rows: 34px 1fr;
  height: 100%;
  min-height: 0;
  font-size: 13px;
  --a-surface: #10243a;
  --a-surface-2: #15304a;
  --a-border: rgba(184, 186, 207, .14);
  --a-muted: #9ea2bd;
  --a-text: #e7e9f2;
  --a-primary: #7c9cf0;
  --a-success: #4fd29a;
  --a-danger: #ff7a7a;
}
.app.is-light {
  background: #f4f5fa;
  color: #0a1b2c;
  --a-surface: #ffffff;
  --a-surface-2: #eef0f6;
  --a-border: rgba(10, 27, 44, .1);
  --a-muted: #5f5a52;
  --a-text: #0a1b2c;
  --a-primary: #193a82;
  --a-success: #12804f;
  --a-danger: #c23434;
}
.app__chrome { display: flex; align-items: center; gap: 7px; padding: 0 14px; background: rgba(0, 0, 0, .25); border-bottom: 1px solid var(--a-border); }
.app.is-light .app__chrome { background: #e3e6ef; }
.app__chrome i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.app__chrome i:nth-child(2) { background: #ffbd2e; }
.app__chrome i:nth-child(3) { background: #28c941; }
.app__url { margin-left: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--a-muted); background: rgba(127, 127, 127, .12); padding: 3px 12px; border-radius: 6px; }
.app__body { display: grid; grid-template-columns: 184px minmax(0, 1fr); min-height: 0; transition: grid-template-columns var(--slow) var(--ease-out); }
.app.is-rail .app__body { grid-template-columns: 62px 1fr; }
.app__side { background: #0a1b2c; color: #b8bacf; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.app__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; font-weight: 800; color: #fff; white-space: nowrap; font-size: 14px; }
.app__brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-accent); flex: none; display: grid; place-items: center; color: var(--navy); font-size: 11px; font-weight: 900; }
.app__nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; white-space: nowrap; font-size: 12.5px; font-weight: 600; transition: background var(--fast); }
.app__nav .ic { width: 17px; height: 17px; }
.app__nav.is-active { background: rgba(222, 183, 109, .14); color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.app__nav span { transition: opacity var(--base); }
.app.is-rail .app__nav span, .app.is-rail .app__brand span { opacity: 0; }
.app__section { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6f7391; padding: 12px 10px 4px; white-space: nowrap; }
.app.is-rail .app__section { opacity: 0; }
.app__main { display: grid; grid-template-rows: 52px 1fr; min-height: 0; }
.app__top { display: flex; align-items: center; gap: 12px; padding: 0 18px; background: var(--a-surface); border-bottom: 1px solid var(--a-border); }
.app__iconbtn { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--a-border); color: var(--a-muted); position: relative; }
.app__iconbtn .ic { width: 16px; height: 16px; }
.app__trail { font-size: 12px; color: var(--a-muted); }
.app__trail b { color: var(--a-text); }
.app__session { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 9px; background: var(--a-surface-2); font-size: 11.5px; font-weight: 600; }
.app__session .ic { width: 14px; height: 14px; color: var(--gold); }
.app__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-accent); color: var(--navy); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px;
  background: #e04848; color: #fff;
  font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
.badge.is-bump { animation: pop-in 420ms var(--spring); }
.app__content { padding: 18px; display: grid; gap: 14px; grid-template-rows: auto 1fr; min-height: 0; overflow: hidden; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 12px; padding: 11px 12px; min-width: 0; }
.kpi__label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--a-muted); }
.kpi__value { margin-top: 6px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi__hint { margin-top: 2px; font-size: 11px; color: var(--a-success); }
.kpi__hint.is-down { color: var(--a-danger); }
.app__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; min-height: 0; }
.app__card { background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; min-height: 0; }
.app__card h4 { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; display: flex; justify-content: space-between; }
.app__card h4 small { color: var(--a-muted); font-weight: 600; }
.chart { flex: 1; min-height: 0; width: 100%; }
.chart .grid line { stroke: var(--a-border); }
.chart .line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chart .line--in { stroke: var(--a-success); }
.chart .line--out { stroke: var(--gold); }
.chart .area { opacity: .16; }
.chart .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.chart .draw.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms var(--ease-out); }
.chart text { fill: var(--a-muted); font-size: 10px; font-family: var(--font); }
.mv { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--a-border); font-size: 12px; }
.mv:last-child { border-bottom: 0; }
.mv__ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--a-surface-2); }
.mv__ic .ic { width: 14px; height: 14px; }
.mv__ic.is-in { color: var(--a-success); }
.mv__ic.is-out { color: var(--a-danger); }
.mv > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv small { display: block; color: var(--a-muted); font-size: 10.5px; }
.mv__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.mv__val.is-in { color: var(--a-success); }
.mv.is-new { animation: rise-in 480ms var(--ease-out) backwards; background: linear-gradient(90deg, rgba(222, 183, 109, .12), transparent); }

.toast {
  position: absolute;
  right: 18px; top: 96px;
  width: 300px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  box-shadow: var(--shadow-md);
  display: flex; gap: 10px;
  font-size: 12px;
  z-index: 3;
  opacity: 0;
  translate: 24px 0;
  transition: opacity var(--slow) var(--ease-out), translate var(--slow) var(--ease-out);
}
.toast.is-show { opacity: 1; translate: 0 0; }
.toast .ic { color: var(--gold); }
.toast b { display: block; font-size: 12.5px; margin-bottom: 2px; }
.toast span { color: var(--a-muted); }

.theme-veil { position: absolute; inset: 0; pointer-events: none; z-index: 4; clip-path: circle(0 at var(--vx, 90%) var(--vy, 8%)); }

.feature-list { display: grid; gap: 12px; align-content: start; }
.feature {
  display: flex; gap: 14px; padding: 16px 18px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color var(--base), background var(--base);
}
.feature .ic { color: var(--text-subtle); margin-top: 2px; transition: color var(--base); }
.feature h4 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.45; }
.feature.is-lit { border-color: rgba(var(--gold-rgb), .6); background: var(--surface-2); }
.feature.is-lit .ic { color: var(--accent); }

/* ==========================================================================
   S5 — assistente IA
   ========================================================================== */
.chat { display: flex; flex-direction: column; gap: 14px; padding: 22px; min-height: 0; }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.chat__bot { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-brand); color: var(--gold); }
.chat__head b { font-size: 15px; }
.chat__head small { display: block; color: var(--success); font-size: 12px; }
.chat__log { flex: 1; display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: hidden; }
.bubble { max-width: 88%; padding: 14px 16px; border-radius: 16px; font-size: 15.5px; line-height: 1.5; }
.bubble--me { align-self: flex-end; background: var(--primary-solid); color: #fff; border-bottom-right-radius: 4px; }
.bubble--ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; animation: rise-in 480ms var(--ease-out) backwards; }
.caret::after { content: '▍'; margin-left: 1px; animation: blink 900ms steps(1) infinite; color: var(--gold); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-subtle); animation: float 900ms var(--ease) infinite; }
.typing i:nth-child(2) { animation-delay: 150ms; }
.typing i:nth-child(3) { animation-delay: 300ms; }
.chat__input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-subtle); font-size: 14px; }
.chat__input .ic { margin-left: auto; color: var(--accent); }

.pipeline { display: grid; gap: 8px; align-content: start; }
.agent {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 14px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--border);
  opacity: .55;
  transition: opacity var(--base), border-color var(--base), background var(--base);
}
.agent__dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-subtle); font-size: 13px; font-weight: 800; font-family: var(--mono); }
.agent b { font-size: 15px; display: block; }
.agent small { font-size: 12.5px; color: var(--text-subtle); font-family: var(--mono); }
.agent__st { font-size: 12px; font-weight: 700; color: var(--text-subtle); }
.agent.is-run { opacity: 1; border-color: rgba(var(--gold-rgb), .6); }
.agent.is-run .agent__dot { background: rgba(var(--gold-rgb), .16); color: var(--gold); }
.agent.is-run .agent__st { color: var(--accent); }
.agent.is-done { opacity: 1; }
.agent.is-done .agent__dot { background: rgba(var(--success-rgb), .16); color: var(--success); }
.agent.is-done .agent__st { color: var(--success); }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(var(--gold-rgb), .3); border-top-color: var(--gold); border-radius: 50%; display: inline-block; animation: spin 700ms linear infinite; vertical-align: -2px; }

.code {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #06101b;
  border: 1px solid var(--border);
  color: #cfd6ee;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow: hidden;
  min-height: 0;
}
:root[data-theme="light"] .code { background: #0a1b2c; }
.code .k { color: #deb76d; }
.code .s { color: #8fe0b8; }
.code .c { color: #7d84a6; }

.minibars { display: grid; gap: 7px; margin-top: 10px; }
.minibar { display: grid; grid-template-columns: 46px 1fr 92px; gap: 10px; align-items: center; font-size: 13px; }
.minibar__track { height: 10px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.minibar__fill { height: 100%; border-radius: 6px; background: var(--primary); scale: 0 1; transform-origin: left; animation: grow-x 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
.minibar__fill.is-prev { background: var(--mist); opacity: .5; }
@keyframes grow-x { to { scale: var(--w, 1) 1; } }
.minibar span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }

/* ==========================================================================
   S6 — integração bancária
   ========================================================================== */
.ops { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.op { display: flex; gap: 10px; align-items: center; padding: 13px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14.5px; font-weight: 600; transition: border-color var(--base), background var(--base); }
.op .method { font-family: var(--mono); font-size: 10.5px; font-weight: 800; padding: 3px 6px; border-radius: 6px; background: rgba(124, 156, 240, .16); color: var(--primary); }
.op .method--post { background: rgba(var(--gold-rgb), .16); color: var(--accent); }
.op .method--hook { background: rgba(var(--success-rgb), .16); color: var(--success); }
.op.is-lit { border-color: rgba(var(--gold-rgb), .6); background: var(--surface-2); }
.bank { display: flex; flex-direction: column; padding: 22px; gap: 14px; min-height: 0; position: relative; overflow: hidden; }
.bank__head { display: flex; justify-content: space-between; align-items: flex-start; }
.bank__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); }
.bank__saldo { font-size: 44px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.bank__saldo.is-bump { animation: pop-in 520ms var(--spring); }
.bank__rows { display: flex; flex-direction: column; gap: 0; min-height: 0; overflow: hidden; flex: 1; }
.erow { display: grid; grid-template-columns: 58px 30px 1fr auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--border); font-size: 14px; }
.erow time { font-family: var(--mono); font-size: 12px; color: var(--text-subtle); }
.erow .mv__ic { background: var(--surface-3); width: 30px; height: 30px; }
.erow .mv__ic.is-in { color: var(--success); }
.erow .mv__ic.is-out { color: var(--danger); }
.erow small { display: block; font-size: 12px; color: var(--text-subtle); }
.erow .val { font-weight: 800; font-variant-numeric: tabular-nums; }
.erow .val.is-in { color: var(--success); }
.erow.is-new { animation: erow-in 520ms var(--ease-out) backwards; }
@keyframes erow-in { from { opacity: 0; translate: 0 -14px; background: rgba(var(--gold-rgb), .18); } }
.usage { display: grid; gap: 8px; }
.usage__row { display: grid; grid-template-columns: 120px 1fr 48px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-muted); }
.usage__track { height: 8px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.usage__fill { height: 100%; width: 100%; background: var(--primary); scale: var(--w, 0) 1; transform-origin: left; transition: scale 700ms var(--ease-out); border-radius: 5px; }
.usage__row span:last-child { text-align: right; font-family: var(--mono); color: var(--text); }
.hook-toast {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--surface-3); border: 1px solid rgba(var(--success-rgb), .5);
  display: flex; gap: 12px; align-items: center; font-size: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0; translate: 0 20px;
  transition: opacity var(--slow) var(--ease-out), translate var(--slow) var(--ease-out);
}
.hook-toast.is-show { opacity: 1; translate: 0 0; }
.hook-toast .ic { color: var(--success); }
.hook-toast code { font-family: var(--mono); font-size: 12px; color: var(--text-subtle); }

/* ==========================================================================
   S7 — hub de workflows
   ========================================================================== */
.canvas {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle, rgba(var(--mist-rgb), .16) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--surface);
  overflow: hidden;
  min-height: 0;
}
.canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.edge { fill: none; stroke: var(--border-strong); stroke-width: 2; }
.edge.is-lit { stroke: var(--gold); stroke-dasharray: 8 6; animation: dash-flow 900ms linear infinite; }
.edge-label { font-size: 11px; font-weight: 800; fill: var(--text-subtle); font-family: var(--font); }
.token { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(222, 183, 109, .9)); }
.hnode {
  position: absolute;
  width: 168px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: grid; grid-template-columns: 30px 1fr; gap: 9px; align-items: center;
  box-shadow: var(--shadow-sm);
  translate: -50% -50%;
  transition: border-color var(--base), scale var(--base) var(--spring), box-shadow var(--base);
}
.hnode__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-brand); color: var(--gold); }
.hnode__ic .ic { width: 16px; height: 16px; }
.hnode b { font-size: 13px; display: block; line-height: 1.2; }
.hnode small { font-size: 10.5px; color: var(--text-subtle); font-family: var(--mono); }
.hnode.is-run { border-color: var(--gold); scale: 1.06; box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .18), var(--shadow-md); }
.hnode.is-ok { border-color: rgba(var(--success-rgb), .7); }
.hnode.is-skip { opacity: .45; }
.hlog { padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.hlog__row { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; font-size: 13px; align-items: center; padding: 8px 10px; border-radius: 9px; background: var(--surface-2); animation: rise-in 360ms var(--ease-out) backwards; }
.hlog__row time { font-family: var(--mono); font-size: 11.5px; color: var(--text-subtle); }
.hlog__row .tag { font-size: 10.5px; padding: 2px 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--text-muted);
  cursor: default;
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
button.chip { cursor: pointer; }
button.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.is-active { background: var(--gold); color: var(--navy); border-color: transparent; }

/* ==========================================================================
   S8 — lote em tempo real
   ========================================================================== */
.lote { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.lote__head { display: flex; align-items: center; gap: 14px; }
.lote__head h3 { margin: 0; font-size: 20px; }
.lote__head .mono { font-size: 13px; color: var(--text-subtle); }
.ws { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--success); }
.ws i { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(var(--success-rgb), .6); animation: ws-ping 1.6s var(--ease-out) infinite; }
@keyframes ws-ping { 100% { box-shadow: 0 0 0 10px rgba(var(--success-rgb), 0); } }
.bar { height: 10px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.bar__fill { height: 100%; background: var(--grad-accent); width: 100%; scale: var(--w, 0) 1; transform-origin: left; transition: scale 500ms var(--ease-out); }
.lote__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.items { display: grid; gap: 6px; min-height: 0; overflow: hidden; }
.item { display: grid; grid-template-columns: 1fr 120px 130px 110px; gap: 12px; align-items: center; padding: 7px 14px; border-radius: 11px; background: var(--surface-2); font-size: 14px; }
.item small { display: block; font-size: 12px; color: var(--text-subtle); }
.item .val { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.status { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-subtle); }
.status.is-proc { color: var(--warning); border-color: currentColor; }
.status.is-ok { color: var(--success); border-color: currentColor; animation: pop-in 380ms var(--spring); }
.bell-demo { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.bell-demo__head { display: flex; align-items: center; gap: 12px; }
.bell { position: relative; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); }
.bell.is-ring .ic { animation: ring 700ms var(--ease); transform-origin: 50% 10%; }
@keyframes ring { 20% { rotate: 14deg; } 40% { rotate: -12deg; } 60% { rotate: 8deg; } 80% { rotate: -4deg; } }
.notif { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; animation: rise-in 420ms var(--ease-out) backwards; }
.notif .ic { color: var(--accent); }
.notif b { display: block; margin-bottom: 2px; }
.notif span { color: var(--text-muted); }
.notif.is-unread { border-color: rgba(var(--gold-rgb), .5); }

/* ==========================================================================
   S9 — mapa das integrações
   ========================================================================== */
.imap { position: relative; display: grid; grid-template-columns: 330px 1fr 330px; gap: 0; align-items: stretch; min-height: 0; }
.imap svg.imap__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wire { fill: none; stroke: var(--border-strong); stroke-width: 2; }
.wire.is-flow { stroke: rgba(var(--gold-rgb), .75); stroke-dasharray: 6 8; animation: dash-flow 1.3s linear infinite; }
.sys { padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.sys__logo { display: flex; align-items: center; gap: 12px; }
.sys__logo img, .sys__logo .sm-mark { width: 46px; height: 46px; border-radius: 50%; }
.sys__logo .sm-mark { border-radius: 14px; }
.sys h3 { margin: 0; font-size: 20px; }
.sys small { color: var(--text-subtle); font-size: 12.5px; }
.sys__part { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 11px; background: var(--surface-2); font-size: 13.5px; }
.sys__part .ic { color: var(--accent); width: 18px; height: 18px; }
.sys__part small { display: block; }
.sys--fa { background: linear-gradient(160deg, rgba(var(--blue-rgb), .5), var(--surface)); border-color: rgba(var(--gold-rgb), .3); }
.ilist { display: flex; flex-direction: column; justify-content: space-between; padding: 6px 60px; gap: 10px; position: relative; z-index: 1; }
.ipill {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--fast), background var(--fast), translate var(--base) var(--ease-out);
}
.ipill:hover, .ipill.is-lit { border-color: rgba(var(--gold-rgb), .7); background: var(--surface-2); }
.ipill:hover { translate: 0 -2px; }
.ipill__n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-accent); color: var(--navy); font-weight: 800; font-size: 16px; }
.ipill b { display: block; font-size: 16px; }
.ipill small { font-size: 13px; color: var(--text-muted); }
.ipill .ic { color: var(--text-subtle); }

/* ==========================================================================
   Diagrama de sequência (S10, S11)
   ========================================================================== */
.seq { position: relative; padding: 18px 20px 20px; min-height: 0; display: flex; flex-direction: column; }
.seq__lanes { display: grid; grid-template-columns: repeat(var(--lanes, 4), 1fr); gap: 0; position: relative; }
.lane { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lane__head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); width: 82%; }
.lane__head .ic { color: var(--accent); }
.lane__head b { font-size: 14px; }
.lane__head small { font-size: 11.5px; color: var(--text-subtle); }
.seq__board { position: relative; flex: 1; min-height: 0; margin-top: 10px; }
.seq__board svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lifeline { stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 3 6; }
.msg line { stroke: var(--gold); stroke-width: 2.2; }
.msg path.head { fill: var(--gold); }
.msg .self { fill: none; stroke: var(--gold); stroke-width: 2.2; }
.msg text { font-family: var(--font); font-size: 13.5px; font-weight: 600; fill: var(--text); }
.msg text.sub { font-size: 11.5px; font-weight: 500; fill: var(--text-subtle); font-family: var(--mono); }
.msg .num { fill: var(--gold); }
.msg .num-t { fill: var(--navy); font-size: 11px; font-weight: 800; font-family: var(--font); }
.msg { opacity: 0; }
.msg.is-shown { opacity: 1; transition: opacity 260ms var(--ease-out); }
.msg.is-shown line, .msg.is-shown .self { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 520ms var(--ease-out) forwards; }
.msg.is-past line, .msg.is-past .self { stroke: rgba(var(--mist-rgb), .55); }
.msg.is-past path.head { fill: rgba(var(--mist-rgb), .55); }
.msg.is-past text { fill: var(--text-muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.gains { display: flex; flex-direction: column; gap: 14px; }
.gain { padding: 16px 18px; display: flex; gap: 14px; }
.gain .ic { color: var(--accent); }
.gain b { display: block; font-size: 16px; margin-bottom: 3px; }
.gain span { font-size: 14px; color: var(--text-muted); line-height: 1.45; }
.need { padding: 16px 18px; border-radius: var(--r-lg); border: 1px dashed rgba(var(--gold-rgb), .55); background: rgba(var(--gold-rgb), .06); font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.need b { color: var(--accent); display: flex; gap: 8px; align-items: center; margin-bottom: 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* ==========================================================================
   S12 — consignado
   ========================================================================== */
.phone {
  width: 330px;
  height: 100%;
  max-height: 640px;
  border-radius: 44px;
  padding: 12px;
  background: #050c14;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  justify-self: center;
  position: relative;
}
.phone__screen { height: 100%; border-radius: 34px; overflow: hidden; background: #f4f5fa; color: #0a1b2c; display: flex; flex-direction: column; position: relative; }
.phone__notch { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 96px; height: 24px; border-radius: 14px; background: #050c14; z-index: 2; }
.phone__bar { padding: 44px 18px 16px; background: #0a1b2c; color: #fff; display: flex; align-items: center; gap: 10px; }
.phone__bar img { width: 28px; height: 28px; border-radius: 50%; }
.phone__bar b { font-size: 14px; }
.phone__bar small { display: block; font-size: 10.5px; color: #b8bacf; }
.phone__body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.pcard { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 2px 10px rgba(10, 27, 44, .08); }
.pcard__label { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #736b60; }
.pcard__value { font-size: 26px; font-weight: 800; color: #193a82; font-variant-numeric: tabular-nums; margin-top: 2px; }
.prange { position: relative; height: 6px; border-radius: 4px; background: #e3e6ef; margin: 14px 0 6px; }
.prange__fill { position: absolute; inset: 0; border-radius: 4px; background: #193a82; scale: var(--w, .3) 1; transform-origin: left; transition: scale 600ms var(--ease-out); }
.prange__knob { position: absolute; top: 50%; left: calc(var(--w, .3) * 100%); width: 20px; height: 20px; border-radius: 50%; background: #deb76d; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(10, 27, 44, .3); translate: -50% -50%; transition: left 600ms var(--ease-out); }
.psplit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.psplit .pcard__value { font-size: 18px; color: #0a1b2c; }
.pbtn { margin-top: auto; padding: 13px; border-radius: 13px; background: #193a82; color: #fff; text-align: center; font-weight: 700; font-size: 14px; }
.pbtn.is-press { animation: press 300ms var(--ease); }
@keyframes press { 50% { scale: .95; } }
.pselfie { position: absolute; inset: 0; background: rgba(10, 27, 44, .92); display: grid; place-items: center; color: #fff; text-align: center; opacity: 0; pointer-events: none; transition: opacity var(--slow) var(--ease-out); }
.pselfie.is-show { opacity: 1; }
.pselfie__ring { width: 150px; height: 150px; border-radius: 50%; border: 3px dashed #deb76d; display: grid; place-items: center; margin: 0 auto 16px; animation: spin 6s linear infinite; }
.pselfie__ring .ic { width: 64px; height: 64px; color: #b8bacf; rotate: 0deg; }
.pselfie b { display: block; font-size: 16px; }
.pselfie small { color: #b8bacf; font-size: 12.5px; }
.pselfie .okmark { color: #4fd29a; font-weight: 800; margin-top: 8px; opacity: 0; transition: opacity var(--base); }
.pselfie.is-ok .okmark { opacity: 1; }
/* tela de acompanhamento do pedido (muda com o "Fluxo do pedido") */
.pstatus { position: absolute; inset: 0; padding: 18px 16px; background: #f4f5fa; display: flex; flex-direction: column; gap: 12px; opacity: 0; translate: 0 14px; pointer-events: none; transition: opacity var(--slow) var(--ease-out), translate var(--slow) var(--ease-out); }
.pstatus.is-show { opacity: 1; translate: 0 0; }
.pstatus__head { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 2px 10px rgba(10, 27, 44, .08); }
.pstatus.is-swap .pstatus__head > div, .pstatus.is-swap .pstatus__sub { animation: pswap 420ms var(--ease-out); }
@keyframes pswap { from { opacity: 0; translate: 0 6px; } }
.pstatus__ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(79, 210, 154, .16); color: #1f9d6b; transition: background var(--base), color var(--base); }
.pstatus__ic.is-run { background: rgba(222, 183, 109, .22); color: #a77a22; }
.pstatus__ic.is-run .ic { animation: pulse-ic 1s var(--ease) infinite alternate; }
@keyframes pulse-ic { to { scale: .82; } }
.pstatus__head small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #736b60; }
.pstatus__head b { display: block; font-size: 18px; color: #0a1b2c; line-height: 1.2; }
.pstatus.is-done .pstatus__head b { color: #1f9d6b; }
.pstatus__sub { margin: 0; font-size: 13px; color: #4a5468; padding: 0 4px; min-height: 2.6em; }
.pstatus__bar { height: 6px; border-radius: 4px; background: #e3e6ef; overflow: hidden; }
.pstatus__bar i { display: block; height: 100%; background: #193a82; scale: var(--p, 0) 1; transform-origin: left; transition: scale 600ms var(--ease-out), background var(--base); }
.pstatus.is-done .pstatus__bar i { background: #1f9d6b; }
.pstatus__list { list-style: none; margin: 0; padding: 4px 4px 0; display: grid; gap: 7px; font-size: 13px; color: #8a90a2; }
.pstatus__list li { display: flex; align-items: center; gap: 10px; transition: color var(--base); }
.pstatus__list li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c9cddb; box-sizing: border-box; transition: background var(--base), border-color var(--base); }
.pstatus__list li.is-run { color: #0a1b2c; font-weight: 700; }
.pstatus__list li.is-run::before { border-color: #deb76d; background: rgba(222, 183, 109, .35); }
.pstatus__list li.is-done { color: #0a1b2c; }
.pstatus__list li.is-done::before { border-color: #1f9d6b; background: #1f9d6b; }
.pstatus__foot { margin-top: auto; font-size: 11.5px; color: #736b60; text-align: center; }
.desks { display: grid; gap: 9px; align-content: start; }
.desk { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); transition: border-color var(--base), background var(--base); }
.desk__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-subtle); transition: background var(--base), color var(--base); }
.desk b { font-size: 15px; display: block; }
.desk small { font-size: 12.5px; color: var(--text-subtle); }
.desk .where { font-size: 11px; }
.desk.is-run { border-color: rgba(var(--gold-rgb), .7); background: var(--surface-2); }
.desk.is-run .desk__ic { background: rgba(var(--gold-rgb), .18); color: var(--gold); }
.desk.is-done .desk__ic { background: rgba(var(--success-rgb), .16); color: var(--success); }

/* ==========================================================================
   S13 — perguntas por persona
   ========================================================================== */
.qa { display: grid; grid-template-columns: 420px 1fr; gap: 28px; min-height: 0; }
.qlist { display: flex; flex-direction: column; gap: 10px; }
.q {
  text-align: left; padding: 14px 16px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 15px; line-height: 1.4; cursor: pointer;
  display: flex; gap: 10px; align-items: flex-start;
  transition: border-color var(--fast), background var(--fast);
}
.q .ic { color: var(--text-subtle); margin-top: 1px; }
.q:hover { border-color: var(--border-strong); }
.q.is-active { border-color: rgba(var(--gold-rgb), .7); background: var(--surface-2); }
.q.is-active .ic { color: var(--accent); }
.answer { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.answer__q { font-size: 20px; font-weight: 700; line-height: 1.35; }
.answer__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.answer__text { font-size: 16px; line-height: 1.55; color: var(--text-muted); min-height: 50px; }
.answer__text b { color: var(--text); }
.answer__viz { flex: 1; min-height: 0; }
.etl { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-subtle); flex-wrap: wrap; }
.etl .tag { font-size: 12px; }
.etl .arrow { color: var(--accent); }

/* tabela compacta da resposta */
.atable { width: 100%; border-collapse: collapse; font-size: 14px; }
.atable th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-subtle); padding: 6px 8px; border-bottom: 1px solid var(--border); }
.atable td { padding: 9px 8px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.atable tr { animation: rise-in 380ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.atable td.r, .atable th.r { text-align: right; }

/* ==========================================================================
   S14 — barramento de eventos
   ========================================================================== */
.bus { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; align-items: center; min-height: 0; position: relative; }
.bus svg.bus__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.evs, .outs { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.ev, .out { padding: 13px 16px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); display: flex; gap: 12px; align-items: center; transition: border-color var(--base), background var(--base), translate var(--base) var(--ease-out); }
.ev code { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.ev small, .out small { display: block; font-size: 12.5px; color: var(--text-subtle); }
.ev .ic, .out .ic { color: var(--text-subtle); }
.ev.is-lit { border-color: rgba(var(--gold-rgb), .7); background: var(--surface-2); translate: 8px 0; }
.out.is-lit { border-color: rgba(var(--success-rgb), .7); background: var(--surface-2); translate: -8px 0; }
.out.is-lit .ic { color: var(--success); }
.out b { font-size: 15px; }
.hubcore { position: relative; z-index: 1; padding: 26px 22px; text-align: center; border-radius: 26px; background: linear-gradient(160deg, rgba(var(--blue-rgb), .65), var(--surface)); border: 1px solid rgba(var(--gold-rgb), .4); box-shadow: var(--shadow-lg); }
.hubcore__ic { width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-accent); color: var(--navy); }
.hubcore__ic .ic { width: 32px; height: 32px; }
.hubcore.is-busy .hubcore__ic { animation: pulse-ring 1s var(--ease-out); }
.hubcore h3 { margin: 0 0 4px; font-size: 20px; }
.hubcore p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.hubcore .rule { margin-top: 14px; padding: 10px; border-radius: 11px; background: rgba(0, 0, 0, .25); font-family: var(--mono); font-size: 12px; color: #cfd6ee; text-align: left; min-height: 64px; line-height: 1.55; }
:root[data-theme="light"] .hubcore .rule { background: #0a1b2c; }
.wire2 { fill: none; stroke: var(--border); stroke-width: 1.6; }
.wire2.is-lit { stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 7 6; animation: dash-flow 800ms linear infinite; }

/* ==========================================================================
   S15 — tesouraria preditiva
   ========================================================================== */
.forecast { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.forecast__head { display: flex; align-items: center; gap: 14px; }
.forecast > svg { flex: 1; min-height: 0; width: 100%; }
.fc-grid line { stroke: var(--border); }
.fc-grid text, .fc-axis text { fill: var(--text-subtle); font-size: 12px; font-family: var(--font); }
.fc-real { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.fc-proj { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 8 7; stroke-linejoin: round; }
.fc-band { fill: rgba(var(--gold-rgb), .14); }
.fc-min { stroke: var(--danger); stroke-width: 1.6; stroke-dasharray: 4 5; }
.fc-min-t { fill: var(--danger); font-size: 12px; font-weight: 700; font-family: var(--font); }
.fc-today { stroke: var(--text-subtle); stroke-width: 1; stroke-dasharray: 2 4; }
.fc-alert circle { fill: var(--danger); }
.fc-alert .ring { fill: none; stroke: var(--danger); stroke-width: 2; animation: fc-ring 1.6s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fc-ring { from { scale: .6; opacity: 1; } to { scale: 2.6; opacity: 0; } }
.fc-path-anim { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1300ms var(--ease-out) forwards; }
.kv { display: grid; gap: 12px; align-content: start; }
.kv .card { padding: 16px 18px; }
.kv__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle); }
.kv__value { margin-top: 4px; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kv__hint { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.alert-card { border-color: rgba(255, 122, 122, .5) !important; }
.alert-card .kv__value { color: var(--danger); font-size: 22px; }

/* ==========================================================================
   S16 — arquitetura
   ========================================================================== */
.arch { display: grid; grid-template-columns: 1fr 70px 1.15fr 70px .8fr; align-items: stretch; min-height: 0; }
.tier { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tier h3 { margin: 0; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.tier h3 img { width: 30px; height: 30px; border-radius: 50%; }
.tier .sm-mark { width: 30px; height: 30px; font-size: 11px; border-radius: 9px; }
.tier__box { padding: 11px 13px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; }
.tier__box b { display: block; font-size: 14px; margin-bottom: 2px; }
.tier__box span { color: var(--text-muted); font-size: 12.5px; }
.tier__box.is-new { border-style: dashed; border-color: rgba(var(--gold-rgb), .6); }
.tier__box.is-new b::after { content: 'novo'; margin-left: 8px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pipe { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 70px; }
.pipe svg { width: 70px; height: 24px; overflow: visible; }
.pipe line { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 5 6; animation: dash-flow 1s linear infinite; }
.pipe line.rev { animation-direction: reverse; stroke: var(--mist); }
.security { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sec { padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.sec .ic { color: var(--accent); }
.sec b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.sec span { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }

/* ==========================================================================
   S17 — roteiro
   ========================================================================== */
.road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-content: stretch; padding-top: 34px; }
.road__line { position: absolute; top: 12px; left: 2%; right: 2%; height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; }
.road__line::after { content: ''; position: absolute; inset: 0; background: var(--grad-accent); scale: 0 1; transform-origin: left; }
.slide.is-active .road__line::after { animation: grow-x 1800ms var(--ease-out) 300ms forwards; --w: 1; }
.phase { position: relative; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.phase::before { content: ''; position: absolute; top: -29px; left: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--gold); }
.phase__n { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.phase h3 { margin: 0; font-size: 24px; }
.phase p { margin: 0; font-size: 15.5px; color: var(--text-muted); line-height: 1.5; }
.phase ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.phase li { font-size: 15px; display: flex; gap: 8px; color: var(--text-muted); line-height: 1.4; }
.phase li .ic { width: 16px; height: 16px; color: var(--success); margin-top: 1px; }
.phase__out { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.45; }
.phase__out b { color: var(--accent); }
.optional { padding: 16px 20px; display: flex; gap: 16px; align-items: center; border-style: dashed; }
.optional .ic { color: var(--accent); }
.optional p { margin: 0; color: var(--text-muted); font-size: 15px; }
.optional b { color: var(--text); }

/* ==========================================================================
   S18 — calculadora
   ========================================================================== */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; min-height: 0; }
.inputs { padding: 28px; display: grid; gap: 18px; align-content: space-around; }
.field { display: grid; gap: 8px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.field__top label { font-weight: 600; }
.field__top output { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 16px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--pct, 50%), var(--surface-3) var(--pct, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 4px solid var(--surface); }
.results { display: grid; gap: 14px; align-content: start; }
.result { padding: 20px 22px; }
.result__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); }
.result__value { margin-top: 6px; font-size: 46px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.result__hint { font-size: 14px; color: var(--text-muted); }
.result--hero { background: linear-gradient(140deg, rgba(var(--blue-rgb), .6), var(--surface)); border-color: rgba(var(--gold-rgb), .4); }
.result--hero .result__value { color: var(--accent); }
.formula { font-family: var(--mono); font-size: 12.5px; color: var(--text-subtle); line-height: 1.6; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--border-strong); }

/* ==========================================================================
   S19 — investimento
   ========================================================================== */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; min-height: 0; align-items: start; }
.price__plans { display: grid; gap: 16px; align-content: start; }
.plan { padding: 24px 26px; display: grid; gap: 6px; }
.plan--main { background: linear-gradient(140deg, rgba(var(--blue-rgb), .6), var(--surface)); border-color: rgba(var(--gold-rgb), .4); }
.plan__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); }
.plan__value { font-size: 52px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.plan--main .plan__value { color: var(--accent); }
.plan__value small { font-size: 20px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.plan__value--sm { font-size: 34px; font-family: var(--mono); }
.plan__value--sm small { font-family: var(--font, inherit); font-size: 18px; }
.plan p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.plan__ex { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.price__sim { padding: 28px; display: grid; gap: 18px; align-content: start; }
.price__rows { display: grid; gap: 10px; }
.price__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.price__row span { color: var(--text-muted); }
.price__row b { font-variant-numeric: tabular-nums; }
.price__total { display: flex; justify-content: space-between; align-items: baseline; }
.price__total span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); }
.price__total b { font-size: 46px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   S19 — próximos passos
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.step .who { margin-top: auto; align-self: flex-start; }
.step__n { font-size: 60px; font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 0; font-size: 22px; }
.step p { margin: 0; font-size: 16px; color: var(--text-muted); line-height: 1.5; }
.thanks { margin-top: auto; display: flex; align-items: center; gap: 24px; padding: 26px 30px; border-radius: var(--r-xl); background: linear-gradient(110deg, rgba(var(--blue-rgb), .55), rgba(var(--gold-rgb), .12)); border: 1px solid rgba(var(--gold-rgb), .35); }
.thanks h3 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.thanks p { margin: 4px 0 0; color: var(--text-muted); font-size: 16px; }
.thanks .lockup { margin-left: auto; }
.thanks .sm-mark { width: 52px; height: 52px; font-size: 19px; border-radius: 15px; }
.thanks .real-mark { width: 50px; height: 50px; }

/* ==========================================================================
   Mapa da apresentação (tecla M)
   ========================================================================== */
.map {
  position: absolute; inset: 0; z-index: 20;
  padding: 90px 96px;
  background: rgba(5, 12, 20, .86);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--base) var(--ease-out), visibility 0s linear var(--base);
}
:root[data-theme="light"] .map { background: rgba(238, 240, 246, .9); }
.map.is-open { opacity: 1; visibility: visible; transition: opacity var(--base) var(--ease-out); }
.map h2 { margin: 0; font-size: 30px; }
.map__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.map__item { text-align: left; padding: 14px 16px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; transition: border-color var(--fast), translate var(--base) var(--ease-out); }
.map.is-open .map__item { animation: rise-in 380ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 22ms); }
.map__item:hover { border-color: rgba(var(--gold-rgb), .6); translate: 0 -2px; }
.map__item.is-current { border-color: var(--gold); background: var(--surface-2); }
.map__item span { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.map__item b { font-size: 14px; font-weight: 600; }
.map__item small { display: block; font-size: 11px; color: var(--text-subtle); letter-spacing: .1em; text-transform: uppercase; }

/* troca de tema com revelação circular */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: reveal 520ms var(--ease-out); }
@keyframes reveal { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 50%)); } to { clip-path: circle(150% at var(--tx, 50%) var(--ty, 50%)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

@media print {
  .controls, .progress, .map { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .msg.is-shown line, .msg.is-shown .self, .fc-path-anim { stroke-dashoffset: 0 !important; }
}

/* ==========================================================================
   S20 — perguntas e respostas
   ========================================================================== */
.qna__main { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; min-height: 0; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.topic { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; transition: border-color var(--base) var(--ease-out), background var(--base) var(--ease-out), translate var(--base) var(--ease-out); }
.topic .ic { color: var(--text-subtle); margin-top: 1px; transition: color var(--base); }
.topic b { display: block; font-size: 17px; margin-bottom: 3px; }
.topic span { font-size: 14.5px; color: var(--text-muted); line-height: 1.45; }
.topic.is-lit { border-color: rgba(var(--gold-rgb), .7); background: var(--surface-2); translate: 0 -2px; }
.topic.is-lit .ic { color: var(--accent); }
.qmark { position: relative; width: 340px; height: 340px; justify-self: center; }
.qmark__orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--border-strong); animation: spin 28s linear infinite; }
.qmark__orbit span {
  position: absolute; left: 50%; top: 50%;
  width: 46px; height: 46px; margin: -23px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--accent);
  transform: rotate(var(--a)) translateY(-170px) rotate(calc(-1 * var(--a)));
}
.qmark__orbit span svg { animation: spin 28s linear infinite reverse; }
.qmark__core {
  position: absolute; inset: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 128px; font-weight: 800; line-height: 1;
  background: var(--grad-brand);
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), .45);
  animation: pulse-ring 2.6s var(--ease-out) infinite;
}
