/* =========================================================
   EKO TECNOLOGIA — sistema visual do site (mockup v1)
   Marca: gradiente #4F46E5 → #8B2CF0 → #C026D3, verde-água
   #00DBC4 (sinal / conectado), coral #FF4F64 (problema).
   Tipos: Bricolage Grotesque · Inter · JetBrains Mono
   ========================================================= */

:root {
  --bg: #07050E;
  --bg-2: #0C0918;
  --bg-3: #141026;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F1FB;
  --muted: #A49CBB;
  --dim: #6E6787;

  --indigo: #4F46E5;
  --violet: #8B2CF0;
  --magenta: #C026D3;
  --roxo: #6E00A3;
  --violeta: #7C3AED;
  --agua: #00DBC4;
  --verde: #7AC142;
  --alerta: #FF4F64;
  --ambar: #FFB547;

  --paper: #F6F4FA;
  --ink: #0E0A1A;
  --ink-2: #3B3550;
  --ink-mute: #6B6580;
  --paper-line: #E4DEF0;

  --grad: linear-gradient(135deg, #4F46E5 0%, #8B2CF0 52%, #C026D3 100%);
  --grad-h: linear-gradient(90deg, #4F46E5 0%, #8B2CF0 52%, #C026D3 100%);

  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: rgba(139, 44, 240, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--agua); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.label {
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted);
  margin: 0 0 22px;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 84px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 0;
  text-wrap: balance;
}
.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
  margin: 26px 0 0;
}
.grad-text, .ink-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
em.grad-text { font-style: normal; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[data-eko-mark] { display: block; }
[data-eko-mark] svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s, opacity .3s;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 34px -12px rgba(139, 44, 240, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(192, 38, 211, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(14, 10, 26, .6); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

/* =========================================================
   NAVEGAÇÃO
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease), background .35s, border-color .35s, color .35s; border-bottom: 1px solid transparent; }
.nav-inner { height: var(--nav-h); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav.is-scrolled { background: rgba(7, 5, 14, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-101%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 21px; height: 30px; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 23px; letter-spacing: -.04em; line-height: 1; }
.brand-name span { font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 9px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; position: relative; transition: color .25s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--grad-h); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-portal { font-size: 12px; color: var(--muted); text-decoration: none; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; transition: color .25s, border-color .25s; }
.nav-portal:hover { color: var(--text); border-color: rgba(255, 255, 255, .34); }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: inherit; cursor: pointer; position: relative; }
.nav-burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.nav-burger i:first-child { top: 16px; } .nav-burger i:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-mobile { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; background: rgba(7, 5, 14, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.menu-mobile[hidden] { display: none; }
.menu-mobile a { font-family: var(--f-display); font-weight: 700; font-size: 28px; letter-spacing: -.03em; text-decoration: none; padding: 8px 0; }
.menu-mobile a.mono { font-family: var(--f-mono); font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav-progress i { display: block; height: 100%; background: var(--grad-h); transform-origin: 0 50%; transform: scaleX(0); }

/* nav sobre a seção clara (método) */
body.nav-light .nav { color: var(--ink); }
body.nav-light .nav.is-scrolled { background: rgba(246, 244, 250, .82); border-bottom-color: var(--paper-line); }
body.nav-light .nav-links a, body.nav-light .nav-portal, body.nav-light .brand-name span { color: var(--ink-mute); }
body.nav-light .nav-links a:hover, body.nav-light .nav-links a.is-active { color: var(--ink); }
body.nav-light .nav-portal, body.nav-light .nav-burger { border-color: var(--paper-line); }

/* indicador lateral de narrativa */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .5s; }
.rail.is-on { opacity: 1; pointer-events: auto; }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--dim); transition: color .3s; }
.rail a { position: relative; }
.rail a span { font-size: 10px; }
.rail a em { position: absolute; right: calc(100% + 12px); top: 50%; white-space: nowrap; font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translate(8px, -50%); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; padding: 4px 8px; border-radius: 6px; background: rgba(7, 5, 14, .85); }
.rail a::after { content: ''; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: width .4s var(--ease); }
.rail a:hover em, .rail a:focus-visible em { opacity: 1; transform: translate(0, -50%); }
.rail a.is-active { color: var(--text); }
.rail a.is-active::after { width: 30px; background: var(--grad-h); }
/* na seção clara o método tem o próprio trilho — o lateral sai de cena */
body.nav-light .rail { opacity: 0; pointer-events: none; }

/* =========================================================
   A. HERO
   ========================================================= */
.hero { position: relative; background: var(--bg); }
.hero-pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero-pin::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 52% at 74% 46%, rgba(139, 44, 240, .22), transparent 70%),
    radial-gradient(30% 40% at 88% 85%, rgba(192, 38, 211, .14), transparent 70%),
    radial-gradient(35% 45% at 8% 100%, rgba(79, 70, 229, .16), transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-fallback { position: absolute; right: 9vw; top: 50%; width: min(26vw, 340px); aspect-ratio: 480 / 660; transform: translateY(-50%); display: none; z-index: 1; filter: drop-shadow(0 30px 90px rgba(139, 44, 240, .55)); }
.hero-fallback [data-eko-mark] { width: 100%; height: 100%; }
.no-webgl .hero-fallback { display: block; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 62% 50%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 60% at 62% 50%, #000 15%, transparent 72%);
}
.hero-inner { position: relative; z-index: 2; padding-top: var(--nav-h); pointer-events: none; }
.hero-inner a, .hero-inner p { pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 30px; padding: 8px 15px 8px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--agua); box-shadow: 0 0 0 0 rgba(0, 219, 196, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0, 219, 196, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 219, 196, 0); } }
.hero-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(44px, min(7vw, 11.6vh), 124px); line-height: .9; letter-spacing: -.05em;
  margin: 0; max-width: 9.6em;
}
.hero-title .ln { display: block; overflow: hidden; padding: 0 .04em .07em 0; margin-bottom: -.07em; }
.hero-title .ln > span { display: inline-block; will-change: transform; }
.hero-sub { max-width: 590px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); margin: 28px 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2;
  display: flex; align-items: center; gap: 30px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 30px; }
.hero-meta span + span::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--dim); margin-left: -16px; margin-right: -14px; }
.hero-meta .hero-clock { margin-left: auto; }
.hero-meta .hero-clock::before { display: none; }
.hero-clock b { color: var(--text); font-weight: 500; margin-left: 8px; }
.scroll-cue { position: absolute; left: 75%; bottom: 72px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--dim), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--agua); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* =========================================================
   B. PROBLEMA
   ========================================================= */
.problem { position: relative; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.problem-pin { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.problem-grid { height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-top: var(--nav-h); }
.problem-copy { position: relative; z-index: 2; }
.problem-copy .h2 { font-size: clamp(30px, 3.5vw, 54px); max-width: 12ch; }
.p-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; }
.js-motion .p-step { grid-area: 1 / 1; }   /* sem JS os passos ficam um embaixo do outro */
.js-motion .p-step { opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease-out), visibility .5s; }
.js-motion .p-step.is-active { opacity: 1; visibility: visible; transform: none; }
.p-num { font-size: 12px; letter-spacing: .16em; color: var(--alerta); }
.p-step-solve .p-num { color: var(--agua); }
.p-step h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.3vw, 36px); letter-spacing: -.03em; line-height: 1.06; margin: 12px 0 14px; }
.p-step p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 42ch; margin: 0; }
.p-progress { margin-top: 38px; height: 2px; background: var(--line); border-radius: 2px; max-width: 300px; overflow: hidden; }
.p-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--alerta), var(--violet) 60%, var(--agua)); transform-origin: 0 50%; transform: scaleX(.02); }

.problem-stage { position: relative; height: min(78vh, 740px); width: 100%; }
.ps-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ps-svg .lb { stroke: var(--alerta); stroke-width: 1.4; stroke-dasharray: 3 7; fill: none; }
.ps-svg .lx { fill: none; stroke: var(--alerta); stroke-width: 1.6; stroke-linecap: round; }
.ps-svg .lxbg { fill: var(--bg-2); stroke: rgba(255, 79, 100, .55); stroke-width: 1; }
.ps-svg .lt { stroke: rgba(255, 79, 100, .45); stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.ps-svg .lc { stroke-width: 1.6; fill: none; stroke-linecap: round; }
.ps-svg .pk { fill: var(--agua); filter: drop-shadow(0 0 4px var(--agua)); }
.ps-svg .ring { fill: none; stroke: rgba(255, 255, 255, .06); stroke-dasharray: 2 8; }
.ps-chips { position: absolute; inset: 0; }
.ps-chip { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.ps-chip .cin {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 11px;
  background: rgba(20, 15, 38, .88); border: 1px solid var(--line-2);
  font: 500 12.5px/1 var(--f-mono); color: var(--text); white-space: nowrap;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .8);
  transition: border-color .6s, background .6s, box-shadow .6s, color .6s;
}
.ps-chip .cin::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--alerta); box-shadow: 0 0 10px var(--alerta); transition: background .6s, box-shadow .6s; }
.ps-chip[data-g="sys"] .cin { font: 700 14px/1 var(--f-mono); padding: 13px 18px; border-radius: 14px; letter-spacing: .04em; }
.ps-chip[data-g="doc"] .cin::before { border-radius: 2px; background: var(--ambar); box-shadow: 0 0 10px rgba(255, 181, 71, .7); }
.ps-chip[data-g="ch"] .cin::before { background: var(--ambar); box-shadow: 0 0 10px rgba(255, 181, 71, .7); }
.problem-stage.is-chaos .ps-chip .cin { animation: wobble 3.4s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes wobble { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(4px, -6px) rotate(-1.6deg); } 100% { transform: translate(-5px, 4px) rotate(1.3deg); } }
.problem-stage.is-connected .ps-chip .cin { border-color: rgba(0, 219, 196, .32); background: rgba(9, 24, 32, .9); }
.problem-stage.is-connected .ps-chip .cin::before { background: var(--agua); box-shadow: 0 0 10px var(--agua); border-radius: 50%; }
.ps-core {
  position: absolute; left: 50%; top: 50%; width: 116px; height: 116px; margin: -58px 0 0 -58px; z-index: 2;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, rgba(139, 44, 240, .38), rgba(10, 7, 22, .96) 70%);
  border: 1px solid rgba(139, 44, 240, .55);
  box-shadow: 0 0 90px rgba(139, 44, 240, .5), inset 0 0 30px rgba(79, 70, 229, .35);
  opacity: 0; transform: scale(.3);
}
.ps-core [data-eko-mark] { width: 38px; height: 52px; }
.ps-core em { position: absolute; bottom: -28px; font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ps-typing {
  position: absolute; left: 50%; bottom: 3%; z-index: 3; width: min(370px, 86%);
  transform: translateX(-50%);
  padding: 14px 16px; border-radius: 14px;
  background: rgba(14, 10, 26, .94); border: 1px solid rgba(255, 79, 100, .38);
  font-size: 12.5px; opacity: 0;
  box-shadow: 0 24px 60px -24px rgba(255, 79, 100, .45);
}
.pt-head { display: flex; align-items: center; gap: 8px; color: var(--alerta); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.pt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--alerta); animation: blink 1s steps(2) infinite; }
.pt-body { color: var(--text); white-space: pre-wrap; min-height: 4.7em; line-height: 1.55; }
.pt-caret { display: inline-block; width: 7px; height: 1.05em; background: var(--text); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ps-truths { position: absolute; right: 0; top: 4%; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; opacity: 0; }
.ps-truths span { padding: 8px 12px; border-radius: 10px; border: 1px dashed rgba(255, 181, 71, .55); color: var(--ambar); font-size: 11.5px; background: rgba(28, 20, 10, .75); }
.ps-truths b { color: #fff; font-weight: 700; }

/* estado estático (sem animação) */
.is-static .p-steps { display: block; }
.is-static .p-step { opacity: 1 !important; visibility: visible !important; margin-bottom: 26px; }
.is-static .problem-pin { height: auto; min-height: 0; padding: 120px 0; }

/* =========================================================
   C. ECOSSISTEMA
   ========================================================= */
.eco { position: relative; padding: clamp(110px, 15vh, 190px) 0 clamp(90px, 12vh, 150px); background: var(--bg-2); }
.eco::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 30% at 80% 20%, rgba(79, 70, 229, .12), transparent 70%); }
.eco-head { position: relative; margin-bottom: clamp(20px, 4vh, 40px); }
.eco-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 88px); }
.eco-stage { order: 2; position: relative; }
.eco-list { order: 1; }
.eco-sticky { position: sticky; top: calc(var(--nav-h) + 3vh); height: calc(100vh - var(--nav-h) - 6vh); display: grid; place-items: center; }
.eco-svg { width: 100%; height: 100%; max-height: 680px; overflow: visible; }
.eco-readout { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: baseline; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.er-num { color: var(--text); font-weight: 700; }
.er-name { color: var(--text); margin-left: 8px; }

.eco-svg .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.eco-svg .ring-dash { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; stroke-dasharray: 2 12; }
.eco-svg .tick { stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.eco-svg .spoke { stroke: rgba(255, 255, 255, .09); stroke-width: 1.5; transition: stroke .5s, stroke-width .5s; }
.eco-svg .spoke.is-active { stroke-width: 3; }
.eco-svg .chord { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1.2; }
.eco-svg .chord.is-active { stroke: rgba(0, 219, 196, .35); stroke-dasharray: 4 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.eco-svg .node .bg { fill: #120E22; stroke: var(--line-2); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.eco-svg .node .halo { fill: none; stroke: var(--violet); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .5s; }
.eco-svg .node.is-active .bg { fill: #1E1338; stroke: var(--violet); stroke-width: 2.5; }
.eco-svg .node.is-active .halo { opacity: .5; animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.eco-svg .node use { fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.eco-svg .node.is-active use { stroke: #fff; }
.eco-svg .node text { fill: var(--muted); font: 600 21px var(--f-body); letter-spacing: -.01em; transition: fill .5s; }
.eco-svg .node.is-active text { fill: #fff; }
.eco-svg .node { cursor: pointer; }
.eco-svg .core-bg { fill: #0E0A1C; stroke: rgba(139, 44, 240, .5); stroke-width: 2; }
.eco-svg .core-glow { fill: url(#eco-core-glow); }
.eco-svg .pkt { fill: var(--agua); }

.eco-item { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.js-motion .eco-item { opacity: .26; transition: opacity .6s var(--ease); }
.js-motion .eco-item.is-active { opacity: 1; }
.eco-item header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.eco-num { font-size: 12px; color: var(--muted); letter-spacing: .16em; }
.eco-glyph { width: 34px; height: 34px; fill: none; stroke: var(--violeta); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eco-item h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.3vw, 52px); letter-spacing: -.04em; line-height: 1; margin: 0; }
.eco-lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--text); margin: 16px 0 22px; max-width: 30ch; line-height: 1.35; }
.eco-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.eco-points li { position: relative; padding-left: 24px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 52ch; }
.eco-points li::before { content: ''; position: absolute; left: 0; top: .7em; width: 11px; height: 2px; border-radius: 2px; background: var(--grad-h); }
.eco-tags { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 22px 0 0; }
.eco-quote { margin: 0; padding: 16px 20px; max-width: 460px; border-left: 2px solid var(--violet); background: rgba(139, 44, 240, .08); border-radius: 0 14px 14px 0; font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.eco-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--agua); text-decoration: none; }
.eco-link:hover .ic { transform: translateX(4px); }
.eco-link .ic { transition: transform .3s var(--ease); }

.eco-viz { max-width: 460px; border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 18px; margin: 0; }
/* fluxo com gargalo */
.viz-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; position: relative; padding-bottom: 40px; }
.viz-flow span { font-size: 12.5px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--muted); }
.viz-flow i { width: 14px; height: 1px; background: var(--line-2); }
.viz-flow .is-hot { color: var(--alerta); border-color: rgba(255, 79, 100, .55); background: rgba(255, 79, 100, .08); }
.eco-item.is-active .viz-flow .is-hot { animation: hot 1.6s ease-in-out infinite; }
@keyframes hot { 50% { box-shadow: 0 0 0 6px rgba(255, 79, 100, .12); } }
.viz-flow em { position: absolute; left: 18px; bottom: 14px; font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--alerta); }
/* pilha de módulos */
.viz-stack { display: grid; gap: 8px; }
.viz-stack span { position: relative; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .035); overflow: hidden; }
.viz-stack span::before { content: ''; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, rgba(79, 70, 229, .55), rgba(192, 38, 211, .45)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.3s var(--ease-out); }
.viz-stack span:nth-child(2)::before { transition-delay: .12s; } .viz-stack span:nth-child(3)::before { transition-delay: .24s; } .viz-stack span:nth-child(4)::before { transition-delay: .36s; }
.eco-item.is-active .viz-stack span::before, .is-static .viz-stack span::before { transform: scaleX(1); }
.viz-stack b { position: relative; z-index: 1; display: block; line-height: 32px; padding-left: 12px; font-size: 11px; letter-spacing: .14em; color: #fff; }
/* sincronização */
.viz-sync { display: flex; align-items: center; gap: 12px; position: relative; padding-bottom: 36px; }
.viz-sync > span { font-size: 12px; font-weight: 700; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-2); }
.viz-sync i { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 9px); }
.viz-sync i b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--agua); box-shadow: 0 0 10px var(--agua); opacity: 0; }
.eco-item.is-active .viz-sync i b { animation: travel 2.4s linear infinite; }
.viz-sync i b:nth-child(2) { animation-delay: .8s !important; } .viz-sync i b:nth-child(3) { animation-delay: 1.6s !important; }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.viz-sync em { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--agua); }
/* conversa */
.viz-chat { display: flex; flex-direction: column; gap: 8px; }
.viz-chat span { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 14px; }
.viz-chat .me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.viz-chat .bot { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
/* código */
.viz-code { font-size: 13px; line-height: 1.7; color: var(--text); white-space: pre; overflow-x: auto; }
.viz-code .c { color: var(--dim); } .viz-code .k { color: #B794FF; } .viz-code .s { color: var(--agua); }
/* chamados */
.viz-tickets { display: grid; gap: 8px; font-size: 12px; }
.viz-tickets span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); color: var(--muted); }
.viz-tickets em { margin-left: auto; font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.viz-tickets .st { width: 8px; height: 8px; border-radius: 50%; }
.st-a { background: var(--agua); } .st-b { background: var(--ambar); } .st-c { background: var(--violeta); }

.eco-also {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  margin-top: clamp(40px, 8vh, 90px); padding: 26px 30px; border-radius: 24px;
  background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, linear-gradient(135deg, rgba(79, 70, 229, .6), rgba(192, 38, 211, .25), transparent 70%) border-box;
  border: 1px solid transparent;
}
.eco-also .label { margin: 0; }
.eco-also h3 { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; margin: 0 0 4px; }
.eco-also p { margin: 0; color: var(--muted); }
.eco-also em { font-style: normal; color: var(--text); }
.eco-also > div { flex: 1 1 320px; }

/* =========================================================
   D. MÉTODO (seção clara)
   ========================================================= */
.method { position: relative; background: var(--paper); color: var(--ink); }
.method::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#DCD4EC 1.3px, transparent 1.3px); background-size: 32px 32px; opacity: .55; }
.method-pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.m-track { position: relative; display: flex; align-items: stretch; gap: clamp(20px, 2.6vw, 36px); width: max-content; padding: calc(var(--nav-h) + 12px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 110px; will-change: transform; }
.m-panel { flex: 0 0 auto; width: min(500px, 84vw); display: flex; flex-direction: column; }
.m-intro { width: min(700px, 88vw); justify-content: center; padding-right: 5vw; }
.method .label { color: var(--ink-mute); }
.method .lead { color: var(--ink-2); }
.method .h2 { color: var(--ink); }
.m-hint { margin-top: 44px; font-size: 11.5px; color: var(--ink-mute); letter-spacing: .16em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.m-hint .ic { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.m-step { background: #fff; border: 1px solid var(--paper-line); border-radius: 28px; padding: clamp(24px, 2.4vw, 36px); box-shadow: 0 40px 80px -50px rgba(40, 20, 80, .45); max-height: calc(100svh - var(--nav-h) - 150px); }
.m-step-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.m-n { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 4.4vw, 68px); line-height: .9; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-step h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 2.3vw, 34px); letter-spacing: -.035em; margin: 0; }
.m-step > p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; margin: 0 0 22px; }
.m-art { margin-top: auto; border-radius: 18px; background: var(--paper); border: 1px solid var(--paper-line); padding: 20px; min-height: 210px; position: relative; }
.art-title { margin: 0 0 12px; font-size: 11px; color: var(--ink-mute); letter-spacing: .1em; }
.art-notes span { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--paper-line); font-size: 13px; color: var(--ink-2); }
.art-notes span:last-child { border-bottom: 0; }
.art-notes i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #C9C0DC; flex: none; position: relative; transition: background .3s, border-color .3s; }
.art-notes i::after { content: ''; position: absolute; left: 4.5px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.m-step.is-in .art-notes i { background: var(--violeta); border-color: var(--violeta); }
.m-step.is-in .art-notes i::after { transform: rotate(45deg) scale(1); }
.m-step.is-in .art-notes span:nth-of-type(2) i, .m-step.is-in .art-notes span:nth-of-type(2) i::after { transition-delay: .25s; }
.m-step.is-in .art-notes span:nth-of-type(3) i, .m-step.is-in .art-notes span:nth-of-type(3) i::after { transition-delay: .5s; }
.m-step.is-in .art-notes span:nth-of-type(4) i, .m-step.is-in .art-notes span:nth-of-type(4) i::after { transition-delay: .75s; }
.art-map svg { width: 100%; height: auto; }
.art-map rect { fill: #fff; stroke: #CFC7DF; stroke-width: 1.5; }
.art-map rect.hot { stroke: var(--alerta); fill: #FFF1F3; }
.art-map text { font: 600 11.5px var(--f-mono); fill: var(--ink-2); text-anchor: middle; }
.art-map path { fill: none; stroke: #B9B0CC; stroke-width: 1.5; stroke-dasharray: 3 4; }
.art-map .am-marks circle { fill: none; stroke: var(--alerta); stroke-width: 2; stroke-dasharray: 5 5; transform-box: fill-box; transform-origin: center; transform: scale(.4); opacity: 0; transition: transform .7s var(--ease-out), opacity .4s; }
.m-step.is-in .art-map .am-marks circle { transform: scale(1); opacity: 1; animation: spin 14s linear infinite; }
.m-step.is-in .art-map .am-marks circle:last-child { transition-delay: .25s; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-cap { margin: 10px 0 0; font-size: 11.5px; color: var(--alerta); letter-spacing: .04em; }
.art-cap span { color: var(--ink-mute); }
.art-arch { display: flex; flex-direction: column; align-items: center; gap: 0; font-size: 11px; }
.aa-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.aa-row span { padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--paper-line); color: var(--ink-2); }
.aa-down { width: 2px; height: 22px; background: linear-gradient(var(--violet), var(--magenta)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.m-step.is-in .aa-down { transform: scaleY(1); }
.m-step.is-in .aa-down:last-of-type { transition-delay: .4s; }
.aa-core { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .04em; box-shadow: 0 16px 30px -16px rgba(139, 44, 240, .8); }
.aa-core [data-eko-mark] { width: 14px; height: 20px; }
.art-log { display: grid; gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.art-log span { display: flex; align-items: center; gap: 10px; padding: 7px 0; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.art-log .ic { color: var(--agua); stroke-width: 3; width: 16px; height: 16px; background: #E3FBF8; border-radius: 50%; padding: 2px; }
.art-log .go { color: var(--violeta); font-weight: 700; margin-top: 6px; }
.m-step.is-in .art-log span { opacity: 1; transform: none; }
.m-step.is-in .art-log span:nth-child(2) { transition-delay: .2s; } .m-step.is-in .art-log span:nth-child(3) { transition-delay: .4s; }
.m-step.is-in .art-log span:nth-child(4) { transition-delay: .6s; } .m-step.is-in .art-log span:nth-child(5) { transition-delay: .85s; }
.art-loop { display: grid; place-items: center; }
.art-loop svg { width: 170px; height: 170px; transform: rotate(-90deg); }
.al-track { fill: none; stroke: var(--paper-line); stroke-width: 10; }
.al-prog { fill: none; stroke: var(--violeta); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 528; stroke-dashoffset: 528; transition: stroke-dashoffset 1.8s var(--ease-out); }
.m-step.is-in .al-prog { stroke-dashoffset: 90; }
.art-loop > div { position: absolute; inset: 0; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.art-loop > div span { position: absolute; }
.art-loop > div span:nth-child(1) { top: 10px; left: 50%; transform: translateX(-50%); }
.art-loop > div span:nth-child(2) { right: 12px; top: 50%; transform: translateY(-50%); }
.art-loop > div span:nth-child(3) { bottom: 10px; left: 50%; transform: translateX(-50%); }
.art-loop > div span:nth-child(4) { left: 12px; top: 50%; transform: translateY(-50%); }
.m-end { justify-content: center; width: min(620px, 86vw); padding-right: 6vw; }
.m-end .h2 { font-size: clamp(34px, 4vw, 64px); margin-bottom: 34px; }
.m-end .btn { align-self: flex-start; }

.m-rail { position: absolute; left: 0; right: 0; bottom: 34px; padding: 0 var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.mr-line { position: relative; height: 2px; background: var(--paper-line); border-radius: 2px; overflow: hidden; }
.mr-fill { position: absolute; inset: 0; background: var(--grad-h); transform-origin: 0 50%; transform: scaleX(0); }
.mr-stops { list-style: none; padding: 0; margin: 14px 0 0; display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #ADA5C0; }
.mr-stops li { transition: color .3s; }
.mr-stops li.is-on { color: var(--ink); }
.mr-token { position: absolute; top: -6px; left: var(--gutter); transform: translateX(-50%); }
.mr-token b { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px rgba(139, 44, 240, .16); }
.mr-token span { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 11px; padding: 7px 11px; border-radius: 9px; box-shadow: 0 10px 24px -10px rgba(14, 10, 26, .6); }
.mr-token span::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }

/* =========================================================
   E. NA PRÁTICA (demonstrações)
   ========================================================= */
.demos { position: relative; padding: clamp(110px, 15vh, 190px) 0 clamp(90px, 12vh, 150px); background: var(--bg); }
.demos-head { margin-bottom: 48px; }
.demo-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.demo-tabs button { appearance: none; background: none; border: 0; color: var(--muted); font: 600 15px var(--f-body); padding: 16px 18px 18px; cursor: pointer; display: flex; gap: 10px; align-items: center; position: relative; transition: color .25s; }
.demo-tabs button span { font-size: 11px; color: var(--dim); }
.demo-tabs button:hover { color: var(--text); }
.demo-tabs button[aria-selected="true"] { color: var(--text); }
.demo-tabs button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad-h); transform: scaleX(0); transition: transform .45s var(--ease); }
.demo-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.demo-frame {
  position: relative; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: radial-gradient(110% 70% at 50% 0%, rgba(79, 70, 229, .14), transparent 60%), var(--bg-2);
  padding: clamp(14px, 2.2vw, 30px); min-height: 560px;
}
.demo-frame::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); }
.demo-frame { display: grid; align-content: center; }
.demo-panel { position: relative; display: grid; gap: 18px; }
.demo-panel[hidden] { display: none; }
.demo-note { margin: 16px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.demo-replay { position: absolute; right: 0; bottom: -6px; background: none; border: 1px solid var(--line-2); color: var(--muted); border-radius: 999px; padding: 7px 12px; font-size: 11px; cursor: pointer; }
.demo-replay:hover { color: var(--text); }

.dw { position: relative; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(9, 7, 18, .82); overflow: hidden; box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .85); }
.dw-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.dw-bar > span.mono { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-dots { display: flex; gap: 6px; flex: none; }
.dw-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }

/* 01 documento → ERP */
#demo-doc { grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr); align-items: start; padding-bottom: 30px; }
.dz { margin: 16px; padding: 18px; border: 1.5px dashed rgba(139, 44, 240, .45); border-radius: 14px; display: flex; align-items: center; gap: 14px; color: var(--text); font-size: 14px; background: rgba(139, 44, 240, .05); transition: background .3s, border-color .3s; }
.dz.is-hover { background: rgba(139, 44, 240, .14); border-color: var(--violet); }
.dz .ic { width: 28px; height: 28px; stroke: var(--violeta); stroke-width: 1.6; }
.dz small { display: block; color: var(--dim); font-size: 11px; margin-top: 4px; }
.dq { list-style: none; margin: 0; padding: 0 16px 16px; display: grid; gap: 8px; min-height: 230px; }
.dq li { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13px; }
.dq .fi { grid-row: span 2; width: 30px; height: 36px; border-radius: 6px; display: grid; place-items: center; font: 700 8.5px var(--f-mono); color: #fff; letter-spacing: .04em; }
.fi-pdf { background: linear-gradient(160deg, #FF4F64, #b8283b); }
.fi-jpg { background: linear-gradient(160deg, #00DBC4, #00897b); }
.fi-xml { background: linear-gradient(160deg, #7C3AED, #4F46E5); }
.dq .fn { font-family: var(--f-mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dq .fs { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dq .fs.ok { color: var(--agua); }
.dq .fb { grid-column: 2 / 4; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.dq .fb i { display: block; height: 100%; width: 100%; background: var(--grad-h); transform-origin: 0 50%; transform: scaleX(0); }
.d-mid { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 30px; }
.d-extract { width: 100%; padding: 16px; border-radius: 16px; background: linear-gradient(rgba(16, 11, 32, .95), rgba(16, 11, 32, .95)) padding-box, var(--grad) border-box; border: 1px solid transparent; font-size: 11.5px; box-shadow: 0 24px 50px -20px rgba(139, 44, 240, .55); }
.dx-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.dx-title b { color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spark { width: 8px; height: 8px; border-radius: 50%; background: var(--agua); box-shadow: 0 0 12px var(--agua); flex: none; }
.dx-fields { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 10px; min-height: 92px; align-content: start; }
.dx-fields dt { color: var(--dim); }
.dx-fields dd { margin: 0; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-pipe { width: 2px; flex: 1; min-height: 120px; background: repeating-linear-gradient(var(--line-2) 0 4px, transparent 4px 9px); position: relative; }
.d-pipe i { position: absolute; left: -4px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--agua); box-shadow: 0 0 14px var(--agua); opacity: 0; }
.erp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.erp-table th { text-align: left; font: 500 10px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 12px 14px 8px; border-bottom: 1px solid var(--line); }
.erp-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.erp-table td:nth-child(2) { white-space: normal; color: var(--muted); }
.erp-table td:nth-child(3) { font-family: var(--f-mono); font-size: 11px; }
.erp-table tr.is-new td { animation: rowin .9s var(--ease-out); }
@keyframes rowin { from { background: rgba(0, 219, 196, .18); } to { background: transparent; } }
.erp-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--agua); font: 600 10.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.erp-ok .ic { width: 12px; height: 12px; stroke-width: 3; }
.dw-empty { margin: 0; padding: 24px 14px; font-size: 11.5px; color: var(--dim); }

/* 02 programar carga */
#demo-carga { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
.pc-view { display: inline-flex; margin-left: auto; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; font-size: 10.5px; }
.pc-view b, .pc-view span { padding: 5px 10px; font-weight: 500; }
.pc-view b { background: rgba(139, 44, 240, .25); color: #fff; }
.pc-send { margin-left: 4px; }
.pc-scroll { overflow-x: auto; }
.pc-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12.5px; }
.pc-table th { text-align: left; font: 500 10px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 12px 12px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pc-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; transition: background .4s; }
.pc-table td em { font-style: normal; color: var(--alerta); font-size: 12px; }
.pc-table tr td:first-child { box-shadow: inset 3px 0 0 var(--row, transparent); }
.pc-table tr[data-st="pronta"] { --row: var(--agua); }
.pc-table tr[data-st="falta"] { --row: var(--ambar); }
.pc-table tr[data-st="enviada"] { --row: var(--violeta); }
.pc-table tr[data-st="pend"] { --row: var(--alerta); }
.st-pill { display: inline-block; padding: 4px 9px; border-radius: 999px; font: 600 10.5px var(--f-mono); letter-spacing: .04em; border: 1px solid; }
tr[data-st="pronta"] .st-pill { color: var(--agua); border-color: rgba(0, 219, 196, .4); background: rgba(0, 219, 196, .08); }
tr[data-st="falta"] .st-pill { color: var(--ambar); border-color: rgba(255, 181, 71, .4); background: rgba(255, 181, 71, .08); }
tr[data-st="enviada"] .st-pill { color: #C4A5FF; border-color: rgba(124, 58, 237, .5); background: rgba(124, 58, 237, .14); }
tr[data-st="pend"] .st-pill { color: var(--alerta); border-color: rgba(255, 79, 100, .4); background: rgba(255, 79, 100, .08); }
tr.is-sending td { background: rgba(139, 44, 240, .12); }
.pc-cell { padding: 6px 8px !important; }
.pc-cell input { width: 150px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); padding: 7px 9px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pc-cell input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 44, 240, .25); }
.pc-cell input.is-ok { border-color: rgba(0, 219, 196, .6); }
.pc-cell input.is-bad { border-color: rgba(255, 79, 100, .7); }
.pc-foot { margin: 0; padding: 12px 14px; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.pc-side { padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(9, 7, 18, .82); }
.pc-side .label { margin-bottom: 10px; }
.pc-side-lead { font-size: 14px; color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
.iso { min-height: 190px; }
.iso-chars { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.iso-chars div { display: grid; gap: 2px; text-align: center; padding: 6px 0; border-radius: 6px; background: rgba(255, 255, 255, .03); }
.iso-chars b { font-size: 14px; color: var(--text); }
.iso-chars small { font-size: 9px; color: var(--dim); }
.iso-chars div.cd { background: rgba(139, 44, 240, .18); }
.iso-chars div.cd.ok { background: rgba(0, 219, 196, .16); }
.iso-chars div.cd.bad { background: rgba(255, 79, 100, .18); }
.iso-sum { font-size: 11.5px; color: var(--muted); margin: 14px 0 6px; line-height: 1.6; }
.iso-sum b { color: var(--text); }
.iso-verdict { font-size: 13px; margin: 0; font-weight: 700; letter-spacing: .02em; }
.iso-verdict.ok { color: var(--agua); }
.iso-verdict.bad { color: var(--alerta); }
.pc-try { margin-top: 16px; font-size: 11px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pc-try button { background: none; border: 1px solid var(--line-2); color: var(--muted); border-radius: 999px; padding: 5px 10px; font: 500 11px var(--f-mono); cursor: pointer; }
.pc-try button:hover { color: var(--text); border-color: rgba(255, 255, 255, .34); }

/* 03 integrações */
#demo-int { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; }
.int-next { margin-left: auto; font-size: 11px; color: var(--muted); }
.int-next b { color: var(--agua); font-weight: 600; }
.int-svg { width: 100%; height: auto; padding: 18px; }
.int-paths path { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; stroke-dasharray: 3 6; }
.int-paths path.is-live { stroke: url(#int-grad); stroke-dasharray: none; }
.int-nodes rect { fill: #120E22; stroke: var(--line-2); stroke-width: 1.5; }
.int-nodes text { fill: var(--text); font: 600 13px var(--f-mono); text-anchor: middle; letter-spacing: .04em; }
.int-nodes .ok { fill: var(--agua); }
.int-nodes .ok.is-err { fill: var(--alerta); }
.int-hub circle { fill: #1A1031; stroke: var(--violet); stroke-width: 2; }
.int-hub.is-busy circle { animation: hub 1s ease-in-out infinite; }
@keyframes hub { 50% { stroke-width: 6; stroke: var(--magenta); } }
.int-packets circle { fill: var(--agua); filter: drop-shadow(0 0 5px var(--agua)); }
.int-packets circle.err { fill: var(--alerta); filter: drop-shadow(0 0 5px var(--alerta)); }
.dw-log { display: flex; flex-direction: column; }
.int-log { list-style: none; margin: 0; padding: 14px 16px; font-size: 11.5px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 18%); mask-image: linear-gradient(transparent, #000 18%); justify-content: flex-end; }
.int-log li { color: var(--muted); animation: logIn .5s var(--ease-out); }
.int-log li time { color: var(--dim); margin-right: 8px; }
.int-log li.ok b { color: var(--agua); font-weight: 500; }
.int-log li.err b { color: var(--alerta); font-weight: 500; }
.int-log li.sys b { color: #C4A5FF; font-weight: 500; }
@keyframes logIn { from { opacity: 0; transform: translateY(8px); } }

/* 04 assistente */
#demo-ia { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
.dw-chat { display: flex; flex-direction: column; min-height: 470px; }
.chat { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: logIn .5s var(--ease-out); }
.msg.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); border-bottom-left-radius: 5px; }
.msg.bot b { color: var(--agua); font-weight: 600; }
.msg.bot.warn b { color: var(--ambar); }
.msg .files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .files span { font: 500 10.5px var(--f-mono); padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typ 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 50% { transform: translateY(-4px); opacity: .4; } }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 12.5px; color: var(--dim); }
.chat-input .ci-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-input.is-typing .ci-text { color: var(--text); }
.ci-send { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 13px; }
.dw-plan { display: flex; flex-direction: column; }
.plan { list-style: none; margin: 0; padding: 16px; display: grid; gap: 8px; font-size: 12px; align-content: start; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--muted); animation: logIn .45s var(--ease-out); line-height: 1.45; }
.plan li i { flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--dim); position: relative; }
.plan li.is-run i { border-color: var(--violet); border-top-color: transparent; animation: spin .8s linear infinite; }
.plan li.is-ok { color: var(--text); }
.plan li.is-ok i { border-color: var(--agua); background: var(--agua); }
.plan li.is-ok i::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 3px; height: 7px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan li.is-warn { border-color: rgba(255, 181, 71, .4); color: var(--ambar); }
.plan li.is-warn i { border-color: var(--ambar); }
.plan li.is-wait { border-style: dashed; border-color: rgba(139, 44, 240, .5); color: var(--text); }
.plan-confirm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.plan-confirm p { margin: 0; font-size: 12.5px; color: var(--muted); }
.plan-confirm .btn.is-pulse { animation: pulseBtn 1.4s ease-in-out infinite; }
@keyframes pulseBtn { 50% { box-shadow: 0 0 0 8px rgba(139, 44, 240, .2), 0 12px 34px -12px rgba(139, 44, 240, .75); } }

/* =========================================================
   F. CONFIANÇA
   ========================================================= */
.proof { position: relative; padding: clamp(110px, 15vh, 190px) 0 clamp(90px, 12vh, 150px); background: var(--bg-2); overflow: hidden; }
.proof::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 35% at 15% 10%, rgba(139, 44, 240, .12), transparent 70%); }
.proof .wrap { position: relative; }
.stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin: 64px 0 72px; }
.stat { padding: 38px 28px 34px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat-n { font-family: var(--f-display); font-weight: 800; font-size: clamp(60px, 7.4vw, 120px); line-height: .88; letter-spacing: -.06em; margin: 0; display: flex; align-items: baseline; gap: 10px; }
.stat-n span { background: linear-gradient(180deg, #fff 30%, #B9AEDB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-n small { font-size: .3em; letter-spacing: -.02em; color: var(--muted); font-weight: 700; }
.stat-l { color: var(--muted); margin: 16px 0 0; max-width: 24ch; font-size: 16px; line-height: 1.45; }
.stats-src { grid-column: 1 / -1; font-size: 10.5px; color: var(--dim); letter-spacing: .14em; text-transform: uppercase; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.logos .label { margin-bottom: 30px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 80px; align-items: center; width: max-content; animation: marq 46s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 46px; width: auto; max-width: 170px; object-fit: contain; opacity: .55; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
@keyframes marq { to { transform: translateX(-50%); } }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 72px 0 18px; }
.partner { display: flex; gap: 26px; align-items: center; padding: 28px 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.partner img { height: 40px; width: auto; flex: none; }
.partner p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.partner b { color: var(--text); }
.skills { padding: 28px 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.skills .label { margin-bottom: 16px; }
.skills ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { font-size: 11.5px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { border: 1px dashed var(--line-2); border-radius: 24px; padding: 28px; min-height: 210px; display: flex; flex-direction: column; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .014) 14px 28px); }
.case > p.mono { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 auto; }
.case h3 { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -.025em; margin: 30px 0 8px; }
.case p { color: var(--muted); font-size: 15px; margin: 0; }

/* =========================================================
   G. SEU DESAFIO
   ========================================================= */
.cta { position: relative; padding: clamp(110px, 15vh, 190px) 0; overflow: hidden; background: var(--bg); }
.cta-glow { position: absolute; left: -20%; right: -20%; bottom: -45%; height: 100%; pointer-events: none; background: radial-gradient(45% 55% at 28% 60%, rgba(79, 70, 229, .32), transparent 70%), radial-gradient(38% 50% at 72% 55%, rgba(192, 38, 211, .26), transparent 70%); filter: blur(10px); }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.cta-copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.cta-mark { position: relative; height: 230px; margin-top: 56px; display: grid; place-items: center; }
.cta-mark > span { position: absolute; width: 100px; height: 138px; transition: transform 1s var(--ease-out), filter 1s; }
.cm-l { transform: translateX(calc((1 - var(--join)) * -92px)) rotate(calc((1 - var(--join)) * -14deg)); }
.cm-r { transform: translateX(calc((1 - var(--join)) * 92px)) rotate(calc((1 - var(--join)) * 14deg)); }
.cta-mark.is-joined > span { filter: drop-shadow(0 0 30px rgba(139, 44, 240, .8)); }
.cm-status { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; transition: color .5s; }
.cta-mark.is-joined .cm-status { color: var(--agua); }
.triage { display: grid; gap: 16px; }
.tr-step { border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px 24px; margin: 0; min-width: 0; background: rgba(14, 10, 26, .6); backdrop-filter: blur(12px); transition: border-color .4s; }
.tr-step.is-done { border-color: rgba(0, 219, 196, .32); }
.tr-step legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; display: flex; gap: 12px; align-items: center; font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.025em; }
.tr-step legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; transition: background .4s, color .4s, border-color .4s; }
.tr-step.is-done legend span { background: var(--agua); color: var(--bg); border-color: transparent; }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: rgba(255, 255, 255, .34); color: var(--text); }
.chips input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--agua); outline-offset: 2px; }
.triage textarea, .triage input[type="text"] { clear: both; display: block; width: 100%; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); border-radius: 14px; color: var(--text); font: 400 15px/1.5 var(--f-body); padding: 14px 16px; resize: vertical; transition: border-color .3s, box-shadow .3s; }
.triage textarea:focus, .triage input[type="text"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 44, 240, .2); }
.triage ::placeholder { color: var(--dim); }
.tr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.tr-result { border-radius: 22px; padding: 26px; background: linear-gradient(rgba(16, 11, 32, .92), rgba(16, 11, 32, .92)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.tr-result .label { margin-bottom: 8px; }
.tr-team { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; }
.tr-fronts { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; margin: 0 0 20px; min-height: 1.2em; }
.tr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tr-result.is-pending .tr-actions .btn { opacity: .4; pointer-events: none; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.foot { border-top: 1px solid var(--line); padding: 76px 0 28px; background: var(--bg); color: var(--muted); font-size: 14px; line-height: 1.7; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 32px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .label { margin-bottom: 12px; }
.foot p { margin: 0; }
.foot-brand .brand-mark { width: 30px; height: 42px; margin-bottom: 20px; }
.foot-tag { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--text); letter-spacing: -.025em; line-height: 1.2; }
.foot-social { display: flex; gap: 16px; margin-top: 12px !important; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* =========================================================
   PAINEL DE REVISÃO DO MOCKUP
   ========================================================= */
/* aba vertical na borda esquerda: não cobre conteúdo nem os trilhos */
.notes-toggle { position: fixed; left: 0; top: 50%; z-index: 60; display: inline-flex; align-items: center; gap: 8px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); background: var(--ambar); color: #1a1200; border: 0; border-radius: 10px 0 0 10px; padding: 12px 7px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(255, 181, 71, .6); }
.notes-toggle b { writing-mode: horizontal-tb; }
.notes-toggle b { background: #1a1200; color: var(--ambar); border-radius: 999px; padding: 2px 7px; font-size: 10px; }
.notes { position: fixed; left: 44px; top: 50%; transform: translateY(-50%); z-index: 60; width: min(390px, calc(100vw - 32px)); max-height: 72vh; overflow: auto; background: #1A1426; border: 1px solid rgba(255, 181, 71, .45); border-radius: 18px; padding: 20px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); font-size: 14px; line-height: 1.5; }
.notes .label { color: var(--ambar); margin-bottom: 8px; }
.notes h2 { font-family: var(--f-display); font-size: 21px; letter-spacing: -.02em; margin: 0 0 14px; }
.notes ol { padding-left: 18px; margin: 0; display: grid; gap: 9px; color: var(--muted); }
.notes b { color: var(--text); }
.notes-hint { margin: 14px 0 0; font-size: 11px; color: var(--ambar); }
body.show-notes [data-confirm] { outline: 2px dashed var(--ambar); outline-offset: 8px; position: relative; }
body.show-notes [data-confirm]::after { content: attr(data-confirm); position: absolute; left: 0; top: calc(100% + 14px); z-index: 20; width: max-content; max-width: min(360px, 80vw); background: var(--ambar); color: #1a1200; font: 600 12px/1.45 var(--f-body); letter-spacing: 0; text-transform: none; padding: 8px 11px; border-radius: 8px; white-space: normal; pointer-events: none; }

/* =========================================================
   PÁGINAS SIMPLES (privacidade, 404)
   ========================================================= */
.page-simple .nav { background: rgba(7, 5, 14, .85); border-bottom-color: var(--line); }
.doc { max-width: 820px; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; }
.doc h1 { margin-bottom: 12px; }
.doc-meta { color: var(--dim); font-size: 14px; margin: 0 0 48px; }
.doc h2 { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.doc a { color: var(--agua); }
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.nf [data-eko-mark] { width: 64px; height: 88px; margin: 0 auto 28px; }
.nf p { color: var(--muted); max-width: 40ch; margin: 18px auto 30px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .nav-portal { display: none; }
  .rail { display: none; }
}
@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-actions { margin-left: auto; }

  .hide-sm { display: none; }
  .hero-pin { justify-content: flex-end; padding-bottom: 74px; }
  .eyebrow { margin-bottom: 20px; }
  .hero-title { font-size: clamp(40px, 11.2vw, 84px); }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-ctas { margin-top: 22px; gap: 10px; }
  .hero-ctas .btn { height: 48px; }
  .hero-meta { bottom: 22px; }
  .hero-meta span:nth-child(2), .hero-meta span:nth-child(3) { display: none; }
  .scroll-cue { display: none; }
  .hero-fallback { right: 50%; top: 26%; width: 34vw; transform: translate(50%, -50%); }

  .problem-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; padding-bottom: 28px; }
  .problem-stage { order: -1; height: 100%; min-height: 0; }
  .problem-copy .h2 { display: none; }
  .problem-copy .label { margin-bottom: 8px; }
  .p-steps { margin-top: 0; }
  .p-step h3 { font-size: 24px; margin: 8px 0 8px; }
  .p-step p { font-size: 15px; }
  .p-progress { margin-top: 18px; }
  .ps-chip .cin { font-size: 10.5px; padding: 7px 9px; }
  .ps-chip[data-g="sys"] .cin { font-size: 11.5px; padding: 9px 12px; }
  .ps-core { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .ps-core [data-eko-mark] { width: 28px; height: 38px; }
  .ps-typing { font-size: 11px; bottom: 0; }
  .ps-truths span { font-size: 10px; }
  .is-static .problem-grid { grid-template-rows: auto; }
  .is-static .problem-stage { height: 60vh; }

  .eco-grid { display: block; }
  .eco-stage { position: sticky; top: var(--nav-h); z-index: 3; height: 40vh; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 26px; background: var(--bg-2); }
  .eco-stage::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 40px; background: linear-gradient(var(--bg-2), rgba(12, 9, 24, 0)); pointer-events: none; }
  .eco-sticky { position: relative; top: 0; height: 100%; }
  .eco-readout { display: none; }
  .eco-svg .node text { font-size: 36px; }
  .eco-item { min-height: 0; padding: 56px 0; }
  .eco-viz, .eco-quote { max-width: 100%; }

  .method-pin { height: auto; min-height: 0; }
  .m-track { flex-direction: column; width: auto; padding: 110px var(--gutter) 90px; }
  .m-panel, .m-intro, .m-end { width: 100%; padding-right: 0; }
  .m-step { max-height: none; }
  .m-hint, .m-rail { display: none; }
  .m-end { padding-top: 30px; }

  #demo-doc, #demo-carga, #demo-int, #demo-ia { grid-template-columns: 1fr; }
  .d-mid { flex-direction: row; padding-top: 0; }
  .d-pipe { display: none; }
  .dq { min-height: 0; }
  .demo-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tabs button { white-space: nowrap; padding: 14px 14px 16px; font-size: 14px; }
  .demo-frame { min-height: 0; border-radius: 20px; }
  .demo-replay { position: static; justify-self: start; }
  .int-log { height: 220px; }
  .int-svg { padding: 6px; }
  .int-nodes text { font-size: 20px; }
  .pc-view { display: none; }
  .notes-toggle { writing-mode: horizontal-tb; top: auto; bottom: 12px; left: 12px; transform: none; border-radius: 999px; padding: 8px 12px; font-size: 10px; }
  .notes { left: 12px; right: 12px; top: auto; bottom: 54px; transform: none; width: auto; }
  .dw-chat { min-height: 420px; }

  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof-grid, .cases { grid-template-columns: 1fr; }
  .partner { flex-direction: column; align-items: flex-start; }

  .cta-grid { grid-template-columns: 1fr; }
  .cta-copy { position: relative; top: 0; }
  .cta-mark { height: 170px; margin-top: 30px; }
  .cta-mark > span { width: 74px; height: 102px; }
  .tr-row { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .stat-n { font-size: 64px; }
  .foot-grid { grid-template-columns: 1fr; }
  .tr-step { padding: 18px; }
  .tr-step legend { font-size: 19px; }
}

@media (max-height: 760px) and (min-width: 981px) {
  .hero-meta span:not(.hero-clock), .scroll-cue { display: none; }
  .eyebrow { margin-bottom: 22px; }
}

/* movimento reduzido: sem animações contínuas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 40px; }
}
