/* ==========================================================
   Digitus Tekhne — site institucional (tema escuro imersivo)
   Cores do manual da marca: Marinho #0E1F45, Azul Pixel #2E6BFF,
   Névoa #EEF2FA, Grafite #5B6475. Tipos: Sora e Manrope.
   ========================================================== */
:root {
  --bg: #050B1C;
  --bg-2: #081230;
  --surface: #0C1838;
  --marinho: #0E1F45;
  --line: rgba(143, 176, 255, .14);
  --line-2: rgba(143, 176, 255, .26);
  --pixel: #2E6BFF;
  --pixel-2: #5B8CFF;
  --pixel-3: #9DB8FF;
  --nevoa: #EEF2FA;
  --grafite: #5B6475;
  --text: #E8EEFC;
  --muted: #95A4C6;
  --ok: #3DDC97;
  --branco: #FFFFFF;

  --font-display: "Sora", system-ui, sans-serif;
  --font-text: "Manrope", system-ui, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.3125rem;
  --t-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  --t-2xl: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);

  --pad-x: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--t-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pixel); color: #fff; }
:focus-visible { outline: 3px solid var(--pixel-2); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pixel); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.px { display: inline-block; width: .5em; height: .5em; background: var(--pixel); flex: none; }
/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px;
  border-radius: var(--r-sm);
  font-family: var(--font-text); font-weight: 700; font-size: var(--t-sm);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .3s;
}
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: var(--t-md); }
.btn-primary {
  background: var(--pixel); color: #fff;
  box-shadow: 0 0 0 1px rgba(157,184,255,.25) inset, 0 10px 30px -10px rgba(46,107,255,.8);
}
.btn-primary:hover { background: #3F78FF; box-shadow: 0 0 0 1px rgba(157,184,255,.4) inset, 0 14px 40px -10px rgba(46,107,255,1); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--pixel-3); background: rgba(255,255,255,.07); }
.btn:active { scale: .97; }
/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 11, 28, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, transform .45s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(5, 11, 28, .72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.js-motion .site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 38px; height: auto; color: #fff; }
.brand-word { font-family: var(--font-display); line-height: .92; color: #fff; }
.brand-word b { display: block; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-word span { display: block; font-weight: 300; font-size: 1.12rem; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: var(--t-sm); color: var(--muted); padding: 6px 0; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
.nav-toggle { display: inline-flex; }
.nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: rgba(5, 11, 28, .97); backdrop-filter: blur(14px);
    padding: 12px var(--pad-x) 24px; border-bottom: 1px solid var(--line);
    display: none;
  }
.nav.open { display: flex; }
.nav-links { flex-direction: column; gap: 0; }
.nav-links a { display: block; padding: 14px 0; font-size: var(--t-md); border-bottom: 1px solid var(--line); }
}
/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-beam { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-beam::before { /* feixe diagonal */
  content: ""; position: absolute; top: -30%; right: 4%; width: 34vw; height: 120%;
  background: linear-gradient(180deg, rgba(46,107,255,0) 0%, rgba(91,140,255,.55) 45%, rgba(46,107,255,0) 100%);
  filter: blur(46px); transform: rotate(32deg); opacity: .55;
  animation: beam 9s var(--ease-io) infinite alternate;
}
.hero-beam::after { /* brilho atrás do chip */
  content: ""; position: absolute; left: 50%; bottom: -12%; width: 70vw; height: 60vh; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(46,107,255,.45), rgba(46,107,255,.12) 55%, transparent 75%);
  filter: blur(10px);
}
@keyframes beam { from { opacity: .35; transform: rotate(32deg) translateX(-30px); } to { opacity: .7; transform: rotate(28deg) translateX(30px); } }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-text); font-weight: 600; font-size: var(--t-sm);
  letter-spacing: 0; line-height: 1.4; color: var(--pixel-3);
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(46,107,255,.08);
  max-width: 100%;
}
.hero-kicker .px { width: 8px; height: 8px; transform: translateY(-1px); }
.hero-title {
  margin-top: 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 1rem + 5vw, 5.4rem);
  line-height: 1.02; letter-spacing: -0.045em;
  max-width: 13ch; text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 35%, #A9C1FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .w > span { background: linear-gradient(180deg, #FFFFFF 35%, #A9C1FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 24px; font-size: var(--t-lg); color: var(--muted); max-width: 46ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
/* Hub */
.hub {
  position: relative;
  width: min(1200px, calc(100% - 2 * var(--pad-x)));
  margin: clamp(32px, 5vw, 64px) auto 0;
  aspect-ratio: 1200 / 520;
}
.hub-traces { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trace-base path { fill: none; stroke: rgba(143,176,255,.2); stroke-width: 1.5; }
.trace-pulse path {
  fill: none; stroke: #8FB0FF; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 70 1070; stroke-dashoffset: 70;
  filter: drop-shadow(0 0 6px #2E6BFF) drop-shadow(0 0 2px #fff);
  animation: pulse-run 3.2s linear infinite; animation-delay: var(--d, 0s);
}
@keyframes pulse-run { from { stroke-dashoffset: 70; } to { stroke-dashoffset: -1000; } }
.hub-chip {
  position: absolute; left: 50%; top: 53.8%;
  width: 11.7%; aspect-ratio: 1;
  translate: -50% -50%;
}
.chip-core {
  position: absolute; inset: 0;
  border-radius: 22%;
  background: linear-gradient(160deg, #1A3275 0%, #0B1638 70%);
  border: 1px solid rgba(157,184,255,.45);
  box-shadow: 0 0 0 6px rgba(46,107,255,.08), 0 0 50px rgba(46,107,255,.55), inset 0 1px 0 rgba(255,255,255,.18);
  display: grid; place-items: center;
}
.chip-core svg { width: 56%; color: #fff; }
.chip-ring {
  position: absolute; inset: -18%;
  border-radius: 30%;
  border: 1px solid rgba(91,140,255,.45);
  animation: ring 3s var(--ease-out) infinite;
}
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.chip-label {
  position: absolute; left: 50%; top: calc(100% + 18px); translate: -50% 0;
  white-space: nowrap; font-size: var(--t-xs); font-weight: 700; color: var(--pixel-3);
}
.node {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.node-ic {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(30,52,110,.9), rgba(10,20,48,.9));
  border: 1px solid var(--line-2);
  color: var(--pixel-3);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.8);
  animation: node-ping 3.2s ease-out infinite;
}
.node-ic svg { width: 24px; height: 24px; }
.node-lb { position: absolute; top: calc(100% + 8px); white-space: nowrap; font-size: var(--t-xs); font-weight: 600; color: var(--muted); }
.node:nth-of-type(2) .node-ic { animation-delay: 2.6s; }
.node:nth-of-type(3) .node-ic { animation-delay: .4s; }
.node:nth-of-type(4) .node-ic { animation-delay: 1.4s; }
.node:nth-of-type(5) .node-ic { animation-delay: 3.0s; }
.node:nth-of-type(6) .node-ic { animation-delay: .9s; }
.node:nth-of-type(7) .node-ic { animation-delay: 2.0s; }
@keyframes node-ping {
  0%, 70%, 100% { box-shadow: 0 10px 30px -12px rgba(0,0,0,.8); border-color: var(--line-2); color: var(--pixel-3); }
  80% { box-shadow: 0 0 0 4px rgba(46,107,255,.18), 0 0 28px rgba(46,107,255,.7); border-color: var(--pixel-2); color: #fff; }
}
[data-depth] { transition: transform .5s var(--ease-out); }

@media (max-width: 760px) {
.hub { width: calc(100% + 40px); margin-left: -20px; }
.node-ic { width: 36px; height: 36px; border-radius: 10px; }
.node-ic svg { width: 17px; height: 17px; }
.node-lb { font-size: 10px; top: calc(100% + 4px); }
.chip-label { display: none; }
.hero-kicker { font-size: var(--t-xs); text-align: left; border-radius: 14px; }
}
@media (max-width: 480px) {.node-lb { display: none; } }
/* ==========================================================
   VOCÊ QUE...
   ========================================================== */
.pains { position: relative; background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); }
.pains-sticky { padding: clamp(72px, 9vw, 120px) 0; }
.pains-eyebrow { font-size: var(--t-lg); font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.pains-list { margin-top: 32px; display: grid; gap: 44px; counter-reset: pain; }
.pain-q {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 0.9rem + 4.3vw, 4.8rem);
  line-height: 1.04; letter-spacing: -0.04em; max-width: 19ch; color: #fff;
}
.pain-you { font-weight: 300; color: var(--pixel-3); }
.strike {
  background-image: linear-gradient(var(--pixel), var(--pixel));
  background-repeat: no-repeat;
  background-position: 0 58%;
  background-size: calc(var(--s, 0) * 100%) .09em;
  transition: color .3s;
}
.pain-a {
  margin-top: 18px; display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, .9rem + 1.5vw, 2.1rem); letter-spacing: -0.02em; color: var(--pixel-3);
}
.pain-a .px { width: 14px; height: 14px; box-shadow: 0 0 16px var(--pixel); }
.pains-final { margin-top: 56px; }
.pains-final-t {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 1rem + 5vw, 5.6rem); line-height: 1; letter-spacing: -0.045em;
  max-width: 14ch;
  background: linear-gradient(100deg, #fff 20%, var(--pixel-2) 60%, #fff 95%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
  margin-bottom: 32px;
}
@keyframes shine { to { background-position: -200% 0; } }
.pains-meter { display: none; }
/* versão em scrollytelling */
.js-motion .pains-track { height: calc(100vh + 6 * 75vh); }
.js-motion .pains-sticky { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; align-items: center; overflow: hidden; }
.js-motion .pains-sticky > .wrap { position: relative; height: 72vh; display: flex; flex-direction: column; }
.js-motion .pains-list { position: relative; flex: 1; margin-top: 24px; display: block; }
.js-motion .pain {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.js-motion .pain.on { visibility: visible; }
.js-motion .pain-a { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.js-motion .pain.answered .pain-a { opacity: 1; transform: none; }
.js-motion .pain.answered .strike { color: rgba(232,238,252,.38); }
.js-motion .pain.answered .pain-you { color: rgba(157,184,255,.45); }
.js-motion .pains-final {
  position: absolute; left: var(--pad-x); right: var(--pad-x); top: 50%; margin: 0;
  translate: 0 -50%; opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transform: translateY(40px) scale(.97);
}
.js-motion .pains-final.on { opacity: 1; visibility: visible; transform: none; }
.js-motion .pains-meter {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pains-meter i { width: 160px; height: 2px; background: var(--line); position: relative; }
.pains-meter b { position: absolute; inset: 0; background: var(--pixel); transform-origin: 0 50%; transform: scaleX(0); }
/* ==========================================================
   FAIXA
   ========================================================== */
.marquee {
  position: relative; overflow: hidden;
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(14,31,69,.35);
  -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; align-items: center; gap: clamp(24px, 3vw, 44px); width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); letter-spacing: -0.03em; white-space: nowrap; color: #fff;
}
.marquee-track span:nth-of-type(odd) { font-weight: 700; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(157,184,255,.7); }
.marquee-track i { width: clamp(12px, 1.2vw, 18px); height: clamp(12px, 1.2vw, 18px); background: var(--pixel); flex: none; box-shadow: 0 0 18px var(--pixel); }
/* ==========================================================
   MONTAGEM
   ========================================================== */
.assemble { position: relative; }
.asm-sticky { padding: clamp(72px, 9vw, 120px) 0; }
.asm-head { position: relative; min-height: 2.6em; font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); }
.asm-t {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--muted); text-align: center;
}
.asm-t span { font-weight: 700; color: #fff; }
.asm-after span { background: linear-gradient(90deg, #fff, var(--pixel-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.asm-before { display: none; }
.asm-stage {
  position: relative; margin: 32px auto 0; width: min(1200px, 100%);
  display: grid; gap: 16px; padding: 0 var(--pad-x);
}
.asm-dash {
  position: relative; z-index: 1;
  background: linear-gradient(170deg, rgba(26,50,117,.75), rgba(8,18,48,.92));
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 22px; box-shadow: 0 40px 100px -40px rgba(46,107,255,.6);
}
.ad-top { display: flex; justify-content: space-between; font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; color: #B9F3DD; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6); } 70% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.ad-kpis { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ad-kpis div { background: rgba(5,11,28,.55); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.ad-kpis span { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.ad-kpis b { white-space: nowrap; font-family: var(--font-display); font-size: clamp(.95rem, .7rem + .7vw, 1.3rem); color: #fff; font-variant-numeric: tabular-nums; }
.ad-chart { margin-top: 16px; height: 120px; display: flex; align-items: flex-end; gap: 8px; }
.ad-chart i {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--pixel-2), rgba(46,107,255,.15));
  transform-origin: 50% 100%; transform: scaleY(var(--g, 1));
}
.ad-note { margin-top: 10px; font-size: 11px; color: var(--muted); text-align: right; }
.piece {
  background: linear-gradient(160deg, rgba(23,42,94,.92), rgba(9,18,44,.95));
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.9);
}
.pc-tag { font-size: 11px; font-weight: 700; color: var(--pixel-3); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.pc-tag::before { content: ""; width: 7px; height: 7px; background: var(--pixel); }
.piece-ok .pc-tag { color: #8EF0C4; }
.piece-ok .pc-tag::before { background: var(--ok); }
.piece b { font-family: var(--font-display); font-size: var(--t-sm); color: #fff; }
.piece small { font-size: var(--t-xs); color: var(--muted); }
.piece-chat p { font-size: var(--t-sm); background: rgba(46,107,255,.2); border-radius: 12px 12px 12px 4px; padding: 8px 12px; color: #fff; }

@media (min-width: 901px) {
.asm-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asm-dash { grid-column: 1 / -1; }
.js-motion .asm-track { height: calc(100vh + 160vh); }
.js-motion .asm-sticky { position: sticky; top: 0; height: 100vh; padding: 88px 0 24px; display: flex; flex-direction: column; overflow: hidden; }
.js-motion .asm-before { display: block; position: absolute; inset: 0; }
.js-motion .asm-after { position: absolute; inset: 0; }
.js-motion .asm-stage { display: block; flex: 1; margin-top: 8px; }
.js-motion .asm-dash {
    position: absolute; left: 50%; top: 50%; width: min(520px, 40vw); translate: -50% -50%;
  }
.js-motion .piece {
    position: absolute; left: 50%; top: 50%; width: min(250px, 19vw);
    translate: -50% -50%; will-change: transform, opacity, filter;
  }
}
/* ==========================================================
   SEÇÕES
   ========================================================== */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.section-head p { margin-top: 18px; font-size: var(--t-lg); color: var(--muted); line-height: 1.5; }
/* Cards com borda que acende seguindo o cursor */
.card {
  position: relative; isolation: isolate;
  background: linear-gradient(170deg, rgba(20,38,86,.55), rgba(8,16,40,.65));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.6vw, 32px);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .3s;
}
.card::before { /* borda luminosa */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, -200px) var(--my, -200px), rgba(143,176,255,.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.card::after { /* brilho interno */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, -200px) var(--my, -200px), rgba(46,107,255,.16), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-3px); }
.card h3 { font-size: var(--t-lg); font-weight: 700; color: #fff; }
.card > p, .card > div > p { margin-top: 10px; color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.card-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: var(--t-xs); font-weight: 700; color: var(--pixel-3); }
.card-tag::before { content: ""; width: 7px; height: 7px; background: var(--pixel); box-shadow: 0 0 10px var(--pixel); }
/* Bento de serviços */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card-cv { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, rgba(30,58,135,.7), rgba(8,16,40,.75)); }
.card-cv h3 { font-size: var(--t-xl); max-width: 22ch; }
.card-cv { display: flex; flex-direction: column; }
.card-cv .modules { margin-top: auto; padding-top: 26px; }
.card-cv p.cv-badge {
  align-self: flex-start; margin-top: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(46,107,255,.12);
  font-size: var(--t-xs); font-weight: 700; color: #fff;
}
.cv-badge .px { width: 7px; height: 7px; box-shadow: 0 0 8px var(--pixel); }
.cv-list { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.cv-list li { display: flex; gap: 12px; align-items: baseline; font-size: var(--t-sm); color: #C3CEE8; line-height: 1.5; }
.cv-list li::before { content: ""; width: 7px; height: 7px; background: var(--pixel); flex: none; transform: translateY(-1px); box-shadow: 0 0 8px var(--pixel); }
@media (max-width: 640px) {.cv-list { grid-template-columns: 1fr; } }
.card-sienge, .card-mkt, .card-ia, .card-auto, .card-dash { grid-column: span 2; }
.modules { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.module {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  background: rgba(5,11,28,.35);
  transition: border-color .5s, background-color .5s, box-shadow .5s;
}
.module h4 { font-size: var(--t-sm); font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.module h4::before { content: ""; width: 8px; height: 8px; background: var(--pixel); }
.module p { margin-top: 6px; font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }
.module.lit { border-color: var(--pixel-2); background: rgba(46,107,255,.14); box-shadow: 0 0 30px -8px rgba(46,107,255,.6); }
.sync { margin-top: 24px; display: flex; align-items: center; gap: 10px; }
.sync-node { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: var(--t-xs); font-weight: 700; color: #fff; background: rgba(5,11,28,.5); white-space: nowrap; }
.sync-line { position: relative; flex: 1; height: 2px; background: var(--line-2); overflow: hidden; }
.sync-line i { position: absolute; top: -2px; width: 14px; height: 6px; background: var(--pixel-2); box-shadow: 0 0 10px var(--pixel); animation: sync 2.4s linear infinite; }
.sync-line i:nth-child(2) { animation-delay: .8s; }
.sync-line i:nth-child(3) { animation-delay: 1.6s; animation-direction: reverse; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
@keyframes sync { from { left: -14px; } to { left: 100%; } }
.bars { margin-top: 22px; height: 84px; display: flex; align-items: flex-end; gap: 8px; }
.bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(91,140,255,.8), rgba(46,107,255,.1)); transform-origin: 50% 100%; }
.bars span:last-child { background: linear-gradient(180deg, #fff, var(--pixel)); box-shadow: 0 0 20px rgba(46,107,255,.6); }
.js-motion .bars span { transform: scaleY(0); transition: transform 1s var(--ease-out); }
.js-motion .card.in .bars span { transform: scaleY(1); }
.bars span:nth-child(2) { transition-delay: .08s; }.bars span:nth-child(3) { transition-delay: .16s; }
.bars span:nth-child(4) { transition-delay: .24s; }.bars span:nth-child(5) { transition-delay: .32s; }.bars span:nth-child(6) { transition-delay: .4s; }
.chat { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; font-size: var(--t-xs); padding: 8px 12px; line-height: 1.45; }
.msg-in { align-self: flex-start; background: rgba(255,255,255,.08); border-radius: 12px 12px 12px 4px; color: var(--text); }
.msg-out { align-self: flex-end; background: var(--pixel); border-radius: 12px 12px 4px 12px; color: #fff; }
.msg-typing { align-self: flex-start; background: rgba(255,255,255,.08); border-radius: 12px; display: flex; gap: 4px; padding: 10px 12px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.js-motion .chat .msg { animation: chat-in 7s var(--ease-out) infinite both; }
.js-motion .chat .msg-out { animation-delay: 1.2s; }
.js-motion .chat .msg-typing { animation: chat-in 7s var(--ease-out) 2.4s infinite both; }
@keyframes chat-in {
  0% { opacity: 0; transform: translateY(10px) scale(.96); }
  8%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
.checks { margin-top: 18px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: var(--t-sm); color: var(--muted); }
.checks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 5px; flex: none;
  border: 1.5px solid var(--line-2);
  background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-color: var(--pixel); border-color: var(--pixel);
}
.js-motion .checks li::before { animation: tick 6s infinite both; }
.js-motion .checks li { animation: tick-text 6s infinite both; }
.checks li:nth-child(2), .checks li:nth-child(2)::before { animation-delay: .6s; }
.checks li:nth-child(3), .checks li:nth-child(3)::before { animation-delay: 1.2s; }
.checks li:nth-child(4), .checks li:nth-child(4)::before { animation-delay: 1.8s; }
@keyframes tick { 0%, 6% { background-color: transparent; border-color: var(--line-2); background-size: 0; } 12%, 90% { background-color: var(--pixel); border-color: var(--pixel); background-size: 12px; } 100% { background-color: transparent; border-color: var(--line-2); background-size: 0; } }
@keyframes tick-text { 0%, 6% { color: var(--muted); } 12%, 90% { color: #fff; } 100% { color: var(--muted); } }
.spark { margin-top: 20px; width: 100%; height: 80px; }
.spark-area { fill: url(#none); fill: rgba(46,107,255,.15); }
.spark-line { fill: none; stroke: var(--pixel-2); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px var(--pixel)); }
.js-motion .spark-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-out) .2s; }
.js-motion .card.in .spark-line { stroke-dashoffset: 0; }

@media (max-width: 1000px) {
.card-cv { grid-column: span 6; grid-row: auto; }
.card-sienge, .card-mkt, .card-ia, .card-auto, .card-dash { grid-column: span 3; }
}
@media (max-width: 640px) {
.bento { grid-template-columns: 1fr; }
.card-cv, .card-sienge, .card-mkt, .card-ia, .card-auto, .card-dash { grid-column: auto; }
.modules { grid-template-columns: 1fr; }
}
/* ---------- Para quem ---------- */
.audience { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.audience-title { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); font-weight: 700; color: #fff; letter-spacing: -0.03em; margin-bottom: 36px; max-width: 24ch; }
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.audience-grid li { position: relative; padding-top: 22px; }
.audience-grid li::before, .audience-grid li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.audience-grid li::after { background: var(--pixel); box-shadow: 0 0 12px var(--pixel); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease-out); }
.audience-grid li:hover::after, .audience-grid li.in::after, html:not(.js-motion) .audience-grid li::after { transform: scaleX(1); }
.audience-grid li.in::after { transition-delay: calc(.3s + var(--i, 0) * .12s); }
.audience-grid h3 { font-size: var(--t-lg); font-weight: 700; color: #fff; }
.aud-pain { margin-top: 12px; font-weight: 700; color: var(--pixel-3); line-height: 1.45; }
.aud-fix { margin-top: 8px; font-size: var(--t-sm); color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) {.audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {.audience-grid { grid-template-columns: 1fr; } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 901px) and (min-height: 700px) {
.js-motion #jornada .section-head { margin-bottom: 36px; }
}
@keyframes bob { 50% { transform: translateY(5px); } }
/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); }
.calc-form { padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; background: rgba(12,24,56,.6); }
.field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: var(--t-sm); color: #fff; }
.field output { font-family: var(--font-display); color: var(--pixel-3); font-variant-numeric: tabular-nums; }
.field small { display: block; color: var(--muted); font-size: var(--t-xs); margin-top: 2px; }
input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--pixel); height: 28px; cursor: pointer; }
.calc-result {
  position: relative; padding: clamp(24px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(46,107,255,.55), rgba(14,31,69,.9) 55%, #08122E);
}
.calc-result h3 { font-size: var(--t-md); font-weight: 600; color: #C3CEE8; font-family: var(--font-text); }
.calc-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); letter-spacing: -0.04em; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 40px rgba(46,107,255,.6); }
.calc-big.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.04); } }
.calc-rows { display: grid; gap: 12px; margin: 0; }
.calc-rows div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: var(--t-sm); }
.calc-rows dt { color: #C3CEE8; }
.calc-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; color: #fff; }
.calc-note { font-size: var(--t-xs); color: #AEBBDA; line-height: 1.5; margin-bottom: 18px; }
@media (max-width: 900px) {.calc { grid-template-columns: 1fr; } }
/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case { display: flex; flex-direction: column; }
.case h3 { max-width: 26ch; }
.case-result { margin-top: auto; padding-top: 22px; display: flex; gap: 12px; align-items: baseline; font-family: var(--font-display); font-weight: 600; line-height: 1.45; }
.case p.case-result, .case div > p.case-result { color: #fff; font-size: var(--t-sm); }
.case-result .px { width: 8px; height: 8px; transform: translateY(-1px); box-shadow: 0 0 10px var(--pixel); }
.case-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.case-wide .case-result { margin-top: 22px; padding-top: 0; }
.mini-dash { background: rgba(5,11,28,.7); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 20px; font-size: var(--t-xs); }
.md-top { display: flex; justify-content: space-between; color: var(--muted); font-weight: 600; }
.md-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.md-kpis div { background: rgba(20,38,86,.5); border-radius: var(--r-sm); padding: 10px 12px; }
.md-kpis span { color: var(--muted); display: block; }
.md-kpis b { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.md-funnel { margin-top: 14px; display: grid; gap: 6px; }
.md-funnel div { display: grid; grid-template-columns: 78px 1fr 44px; gap: 10px; align-items: center; color: #C3CEE8; }
.md-bar { height: 10px; background: rgba(20,38,86,.6); border-radius: 2px; overflow: hidden; }
.md-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pixel), var(--pixel-2)); }
.md-funnel em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.js-motion .md-bar i { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.65,0,.35,1); }
.js-motion .mini-dash.in .md-bar i { transform: none; }
.md-funnel div:nth-child(2) i { transition-delay: .1s; }.md-funnel div:nth-child(3) i { transition-delay: .2s; }
.md-funnel div:nth-child(4) i { transition-delay: .3s; }.md-funnel div:nth-child(5) i { transition-delay: .4s; }
@media (max-width: 860px) {.cases { grid-template-columns: 1fr; }.case-wide { grid-column: auto; grid-template-columns: 1fr; } }
/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; --draw: 0; }
.process::before { content: ""; position: absolute; left: 0; right: 24px; top: 11px; height: 2px; background: var(--line-2); }
.process::after { content: ""; position: absolute; left: 0; right: 24px; top: 11px; height: 2px; background: var(--pixel); box-shadow: 0 0 12px var(--pixel); transform-origin: 0 50%; transform: scaleX(var(--draw)); }
.process li { padding: 0 24px 0 0; position: relative; z-index: 1; }
.process-mark { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm); color: var(--pixel-3); margin-bottom: 18px; }
.process-mark::before { content: ""; width: 12px; height: 12px; background: var(--pixel); box-shadow: 0 0 0 5px var(--bg), 0 0 14px var(--pixel); }
.process h3 { font-size: var(--t-lg); color: #fff; }
.process p { margin-top: 10px; color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 860px) {.process { grid-template-columns: 1fr; gap: 32px; }.process::before, .process::after { display: none; } }
/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-logo {
  position: relative; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px);
  display: grid; place-items: center; gap: 22px;
  background: radial-gradient(70% 70% at 50% 45%, rgba(46,107,255,.35), rgba(14,31,69,.4) 60%, transparent), rgba(8,18,48,.6);
  border: 1px solid var(--line);
}
.about-mark { width: min(240px, 60%); height: auto; overflow: visible; filter: drop-shadow(0 0 40px rgba(46,107,255,.45)); }
.about .about-logo .about-word { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1; color: #fff; text-align: center; margin: 0; }
.about-word b { font-weight: 700; }.about-word span { font-weight: 300; }
.about h2 { font-size: var(--t-2xl); color: #fff; letter-spacing: -0.035em; }
.about p { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.about p.about-lead { font-size: var(--t-lg); color: #fff; }
.js-motion .about-mark .am-t { transform: translateX(-60px); opacity: 0; transition: transform 1s var(--ease-out), opacity .8s; }
.js-motion .about-mark .am-d { transform: translateX(60px); opacity: 0; transition: transform 1s var(--ease-out) .1s, opacity .8s .1s; }
.js-motion .about-mark .am-px { transform: translateY(-420px); opacity: 0; transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) .7s, opacity .2s .7s; }
.js-motion .about-mark.in .am-t, .js-motion .about-mark.in .am-d, .js-motion .about-mark.in .am-px { transform: none; opacity: 1; }
@media (max-width: 860px) {.about { grid-template-columns: 1fr; } }
/* ---------- Perguntas frequentes ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .section-head { position: sticky; top: 100px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: #fff; transition: color .2s; }
.faq-item summary:hover h3 { color: var(--pixel-3); }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--pixel-2); transition: transform .35s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 40px 24px 0; color: var(--muted); max-width: 65ch; }
@media (max-width: 860px) {.faq { grid-template-columns: 1fr; }.faq .section-head { position: static; margin-bottom: 8px; } }
/* ---------- Contato ---------- */
.contact-section { overflow: hidden; }
.contact-glow {
  position: absolute; left: 50%; top: 40%; width: 110vw; height: 90%; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(46,107,255,.35), rgba(46,107,255,.08) 60%, transparent);
}
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.contact h2 { font-size: var(--t-2xl); color: #fff; letter-spacing: -0.035em; }
.contact-copy p { margin-top: 18px; color: #C3CEE8; font-size: var(--t-lg); line-height: 1.5; max-width: 38ch; }
.contact-direct { margin-top: 32px; display: grid; gap: 12px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; color: #fff; }
.contact-direct a:hover { color: var(--pixel-3); }
.contact-direct svg { width: 20px; height: 20px; color: var(--pixel-3); }
.form { background: #fff; color: var(--marinho); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; box-shadow: 0 40px 100px -30px rgba(46,107,255,.6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 700; font-size: var(--t-sm); margin-bottom: 6px; }
.form .opt { font-weight: 500; color: var(--grafite); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: var(--t-md); color: var(--marinho); padding: 12px 14px; min-height: 48px; border: 1.5px solid #CBD4E6; border-radius: var(--r-sm); background: #fff; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pixel); box-shadow: 0 0 0 3px rgba(46,107,255,.2); }
.form [aria-invalid="true"] { border-color: #D93B3B; }
.form-error { color: #C22D2D; font-size: var(--t-xs); margin-top: 4px; }
.form .btn { width: 100%; margin-top: 4px; }
.form-hint { font-size: var(--t-xs); color: var(--grafite); }
@media (max-width: 860px) {.contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) {.form-row { grid-template-columns: 1fr; } }
/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 48px 0 32px; font-size: var(--t-sm); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--t-xs); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); }
.wa-float svg { width: 28px; height: 28px; }
/* ==========================================================
   MOTION (só quando o JS de motion está ativo)
   ========================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pixel), var(--pixel-3)); box-shadow: 0 0 10px var(--pixel); transform-origin: 0 50%; transform: scaleX(0); }
.js-motion [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js-motion [data-reveal="scale"] { transform: scale(.94) translate3d(0, 30px, 0); }
.js-motion [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.js-motion [data-reveal].in { opacity: 1; transform: none; }
.js-motion .card[data-reveal].in:hover { transform: translateY(-3px); transition-delay: 0s; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.js-motion [data-split] .w > span { transform: translate3d(0, 110%, 0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms); }
.js-motion [data-split].in .w > span { transform: none; }
.js-motion .hero [data-hero] { opacity: 0; transform: translate3d(0, 24px, 0); }
.js-motion .hero.ready [data-hero] { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js-motion .hero-title .w > span { transform: translate3d(0, 115%, 0) rotate(5deg); transform-origin: 0 100%; }
.js-motion .hero.ready .hero-title .w > span { transform: none; transition: transform 1.3s var(--ease-out); transition-delay: calc(200ms + var(--wi, 0) * 70ms); }
.js-motion .hub[data-hero] { transform: translate3d(0, 60px, 0) scale(.96); }

@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { animation: none !important; transition: none !important; }
.trace-pulse { display: none; }
}
/* ==========================================================
   MAPEAMENTO DE CAMPANHAS
   ========================================================== */
.tracking { background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); }
.track-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.track-steps { display: grid; gap: 4px; counter-reset: tstep; }
.track-steps li {
  counter-increment: tstep; position: relative;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.track-steps li::before {
  content: counter(tstep, decimal-leading-zero); grid-row: span 2;
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm); color: var(--pixel-3);
  font-variant-numeric: tabular-nums; padding-top: 2px;
}
.track-steps h3 { font-size: var(--t-md); font-weight: 700; color: #fff; }
.track-steps p { margin-top: 4px; font-size: var(--t-sm); color: var(--muted); line-height: 1.55; }
.track-demo {
  position: sticky; top: 110px;
  display: grid; gap: 14px;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: radial-gradient(90% 70% at 80% 0%, rgba(46,107,255,.28), transparent 60%), linear-gradient(170deg, rgba(20,38,86,.6), rgba(8,16,40,.85));
  box-shadow: 0 40px 100px -40px rgba(46,107,255,.55);
}
.td-browser { background: rgba(5,11,28,.75); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.td-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.td-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.td-url { font-size: var(--t-xs); line-height: 1.9; color: var(--muted); overflow-wrap: anywhere; }
.utm { white-space: nowrap; }
@media (max-width: 420px) {.utm { white-space: normal; } }
.td-host { color: #fff; font-weight: 700; }
.utm { border-radius: 5px; padding: 2px 3px; transition: background-color .35s, color .35s, box-shadow .35s; }
.utm b { color: var(--pixel-3); font-weight: 700; }
.utm.on { background: var(--pixel); color: #fff; box-shadow: 0 0 18px rgba(46,107,255,.7); }
.utm.on b { color: #fff; }
.td-lead { background: rgba(5,11,28,.6); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.td-lead-head { display: flex; justify-content: space-between; align-items: center; font-size: var(--t-xs); color: var(--muted); font-weight: 700; }
.td-lead-head b { font-family: var(--font-display); font-size: var(--t-sm); color: #fff; }
.td-lead dl { margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.td-lead dl div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; transition: border-color .4s, background-color .4s; }
.td-lead dt { font-size: 11px; color: var(--muted); font-weight: 600; }
.td-lead dd { margin: 2px 0 0; font-family: var(--font-display); font-size: var(--t-sm); font-weight: 600; color: #fff; }
.td-lead dl div.on { border-color: var(--pixel-2); background: rgba(46,107,255,.14); }
.td-events { display: grid; gap: 8px; }
.td-events li {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--t-xs); color: #C3CEE8;
  padding: 9px 12px; border-radius: 10px; background: rgba(5,11,28,.55); border: 1px solid var(--line);
}
.td-events span { font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 6px; background: rgba(46,107,255,.25); }
.td-events li.ok span { background: rgba(61,220,151,.2); color: #8EF0C4; }
.td-fly { position: fixed; z-index: 30; width: 10px; height: 10px; background: var(--pixel-2); box-shadow: 0 0 14px var(--pixel); pointer-events: none; }
/* estados animados só com JS de motion */
.js-motion .td-lead dd { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease-out); }
.js-motion .td-lead dl div.on dd { opacity: 1; transform: none; }
.js-motion .td-events li { opacity: 0; transform: translateX(-12px); transition: opacity .45s, transform .6s var(--ease-out); }
.js-motion .td-events li.on { opacity: 1; transform: none; }

@media (max-width: 960px) {
.track-grid { grid-template-columns: 1fr; }
.track-demo { position: static; order: -1; }
}
@media (max-width: 480px) {.td-lead dl { grid-template-columns: 1fr; } }
/* ==========================================================
   VITRINE: TORRE 3D
   ========================================================== */
.showcase { position: relative; padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; isolation: isolate; }
.show-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 38%, rgba(46,107,255,.38), transparent 70%),
    radial-gradient(40% 30% at 85% 80%, rgba(61,220,151,.10), transparent 70%); }
.show-head { text-align: center; max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.show-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(46,107,255,.12); font-size: var(--t-sm); font-weight: 700; color: var(--pixel-3); }
.show-kicker .px { width: 8px; height: 8px; box-shadow: 0 0 10px var(--pixel); }
.show-head h2 { margin-top: 22px; font-size: clamp(2.1rem, 1rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; color: #fff; }
.show-lead { margin-top: 22px; font-size: var(--t-lg); color: var(--muted); max-width: 60ch; line-height: 1.5; }
.show-stage { position: relative; margin-top: clamp(40px, 6vw, 72px); perspective: 1600px; }
.device {
  position: relative; margin: 0 auto; width: min(1080px, 100%);
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(157,184,255,.35);
  background: #0A1430;
  box-shadow: 0 0 0 8px rgba(46,107,255,.06), 0 60px 140px -40px rgba(46,107,255,.75), 0 30px 60px -30px rgba(0,0,0,.9);
  transform-origin: 50% 0%;
  will-change: transform;
}
.device-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(5,11,28,.9); border-bottom: 1px solid var(--line); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.device-bar i:first-child { background: #FF5F57; }
.device-bar i:nth-child(2) { background: #FEBC2E; }
.device-bar i:nth-child(3) { background: #28C840; }
.device-bar span { margin-left: 12px; font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.device-screen { position: relative; aspect-ratio: 16 / 9; background: #0A1430; }
.device-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* fluxo CRM <-> torre */
.show-sync { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 980px; display: grid; grid-template-columns: 200px 1fr 200px; align-items: center; gap: 18px; }
.ss-box { padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(12,24,56,.75); text-align: center; }
.ss-box b { display: block; font-family: var(--font-display); font-size: var(--t-lg); color: #fff; }
.ss-box span { display: block; margin-top: 4px; font-size: var(--t-xs); color: var(--muted); line-height: 1.45; }
.ss-box:first-child { box-shadow: 0 0 40px -10px rgba(46,107,255,.6); border-color: var(--pixel-2); }
.ss-wire { display: grid; gap: 8px; }
.ss-l { font-size: var(--t-xs); font-weight: 700; color: var(--pixel-3); text-align: center; }
.ss-l:last-child { color: #8EF0C4; }
.ss-track { position: relative; display: block; height: 2px; background: var(--line-2); overflow: hidden; }
.ss-track b { position: absolute; top: -2px; width: 22px; height: 6px; border-radius: 3px; background: var(--pixel-2); box-shadow: 0 0 12px var(--pixel); animation: ss-go 2.6s linear infinite; }
.ss-track b:nth-child(2) { animation-delay: 1.3s; }
.ss-back b { background: var(--ok); box-shadow: 0 0 12px var(--ok); animation-name: ss-back; }
@keyframes ss-go { from { left: -22px; } to { left: 100%; } }
@keyframes ss-back { from { left: 100%; } to { left: -22px; } }
@keyframes phone-float { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-2deg) translateY(-10px); } }
.show-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.show-feats li { padding-top: 18px; border-top: 2px solid var(--line-2); position: relative; }
.show-feats li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--pixel); box-shadow: 0 0 10px var(--pixel); }
.show-feats h3 { font-size: var(--t-lg); color: #fff; }
.show-feats p { margin-top: 8px; color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.show-cta { margin-top: 48px; display: flex; justify-content: center; }

@media (max-width: 900px) {
.show-sync { grid-template-columns: 1fr; }
.show-feats { grid-template-columns: 1fr; }
}
.chapters {
  margin: 28px auto 0; max-width: 1080px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
  counter-reset: ch;
}
.chapters li {
  counter-increment: ch; position: relative;
  padding: 12px 14px 12px 50px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(12,24,56,.55);
  transition: border-color .3s, background-color .3s, transform .3s;
}
.chapters li::before {
  content: counter(ch, decimal-leading-zero);
  position: absolute; left: 12px; top: 12px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700; color: #fff;
  background: var(--pixel); border-radius: 7px; padding: 3px 6px; box-shadow: 0 0 12px rgba(46,107,255,.6);
}
.chapters li:hover { border-color: var(--pixel-2); background: rgba(46,107,255,.12); transform: translateY(-2px); }
.chapters b { display: block; font-family: var(--font-display); font-size: var(--t-sm); color: #fff; }
.chapters span { display: block; margin-top: 2px; font-size: var(--t-xs); color: var(--muted); line-height: 1.45; }
.device-screen video::-webkit-media-controls-panel { background-image: linear-gradient(transparent, rgba(5,11,28,.85)); }
/* vitrine: torre 3D embutida */
.device-bar { position: relative; }
@keyframes tp-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,107,255,.6); } 70% { box-shadow: 0 0 0 18px rgba(46,107,255,0); } 100% { box-shadow: 0 0 0 0 rgba(46,107,255,0); } }

@media (max-width: 760px) {
.device-screen { aspect-ratio: 4 / 5; }
.device-bar span { display: none; }
}
/* vitrine: vídeo de giro + capacidades */
.show-note { margin-top: 14px; text-align: center; font-size: var(--t-xs); color: var(--muted); }
.chapters-title { margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.show-feats-wide { margin-top: clamp(48px, 6vw, 80px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {.show-feats-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {.show-feats-wide { grid-template-columns: 1fr; } }
.card-cv p.cv-note { margin-top: 16px; font-size: var(--t-xs); color: var(--muted); }
.cv-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) {.cv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {.cv-list { grid-template-columns: 1fr; } }
/* gráfico do card "Painéis": sobe, segura no topo e desce, em loop */
.card-dash .spark { margin-top: 22px; width: 100%; height: 130px; overflow: visible; }
.spark-grid path { stroke: rgba(143,176,255,.10); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.card-dash .spark-area { fill: url(#spark-fill); }
.card-dash .spark-line {
  fill: none; stroke: var(--pixel-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(46,107,255,.8));
}
.card-dash .spark-line-2 { stroke: var(--ok); filter: drop-shadow(0 0 6px rgba(61,220,151,.6)); }
.spark-dot { fill: #fff; stroke: var(--pixel-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark-dot-2 { stroke: var(--ok); }
.spark-legend { display: flex; gap: 16px; margin-top: 12px; font-size: var(--t-xs); color: var(--muted); }
.spark-legend span { display: inline-flex; align-items: center; gap: 6px; }
.spark-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--pixel-2); box-shadow: 0 0 6px var(--pixel); }
.spark-legend i.lg2 { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.js-motion .card-dash .spark-line { animation: spark-draw 6s cubic-bezier(.65,0,.35,1) infinite; transition: none; }
.js-motion .card-dash .spark-line-2 { animation-delay: .5s; }
.js-motion .card-dash .spark-area { animation: spark-fade 6s cubic-bezier(.65,0,.35,1) infinite; }
.js-motion .card-dash .spark-dot { animation: spark-dot 6s cubic-bezier(.65,0,.35,1) infinite; }
.js-motion .card-dash .spark-dot-2 { animation-delay: .5s; }
@keyframes spark-draw { 0% { stroke-dashoffset: 1; } 42%, 62% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes spark-fade { 0% { opacity: 0; } 42%, 62% { opacity: 1; } 100% { opacity: 0; } }
@keyframes spark-dot { 0%, 36% { opacity: 0; r: 0; } 44% { opacity: 1; r: 5; } 48%, 60% { opacity: 1; r: 4; } 66%, 100% { opacity: 0; r: 0; } }
.mini-dash .md-top .live { color: #B9F3DD; }
.md-kpis b, .md-funnel em { font-variant-numeric: tabular-nums; }
/* rótulos das etapas por cima da linha */
.process-mark { width: max-content; padding-right: 14px; background: var(--bg); }
/* ==========================================================
   AVISO DE COOKIES
   ========================================================== */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 70;
  width: min(460px, calc(100% - 40px));
  padding: 18px 20px; border-radius: 18px;
  background: rgba(8, 18, 48, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.8), 0 0 40px -12px rgba(46,107,255,.5);
  color: var(--text); font-size: var(--t-sm); line-height: 1.55;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.cookie-banner.on { opacity: 1; transform: none; pointer-events: auto; }
.cookie-banner p { color: #C3CEE8; }
.cookie-banner a { color: var(--pixel-3); }
.cookie-actions { display: flex; gap: 10px; margin-top: 14px; justify-content: flex-end; }
.cookie-actions .btn { min-height: 40px; padding: 8px 18px; }
@media (max-width: 560px) {.cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }.cookie-actions .btn { flex: 1; } }
/* ==========================================================
   PÁGINA DE POLÍTICA
   ========================================================== */
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 120px); }
.legal-wrap { max-width: 820px; }
.legal-kicker { font-size: var(--t-sm); font-weight: 700; color: var(--pixel-3); }
.legal h1 { margin-top: 10px; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.legal-updated { margin-top: 12px; font-size: var(--t-sm); color: var(--muted); }
.legal-toc { margin: 36px 0 12px; padding: 20px 24px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(12,24,56,.55); }
.legal-toc ol { list-style: decimal; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal-toc li { font-size: var(--t-sm); padding: 3px 0; break-inside: avoid; color: var(--muted); }
.legal-toc a { color: var(--pixel-3); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal section { margin-top: 44px; scroll-margin-top: 96px; }
.legal h2 { font-size: var(--t-xl); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.legal h3 { margin-top: 20px; font-size: var(--t-lg); font-weight: 600; color: #fff; }
.legal p { margin-top: 12px; color: #C3CEE8; line-height: 1.7; max-width: 72ch; }
.legal ul { list-style: none; margin-top: 12px; display: grid; gap: 10px; }
.legal ul li { position: relative; padding-left: 20px; color: #C3CEE8; line-height: 1.65; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--pixel); }
.legal strong { color: #fff; }
.legal a { color: var(--pixel-3); }
.legal-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.legal-id { font-size: var(--t-sm); }
.legal-page .site-header .btn { min-height: 40px; }
.legal-page .footer-legal { margin-top: 0; }
@media (max-width: 640px) {.legal-toc ol { columns: 1; }.legal-cols { grid-template-columns: 1fr; } }
/* ==========================================================
   CONTRASTE: seções claras (Névoa) e faixa em Azul Pixel
   ========================================================== */
.theme-light {
  --text: #0E1F45;
  --muted: #4A5468;
  --line: rgba(14, 31, 69, .10);
  --line-2: rgba(14, 31, 69, .18);
  --pixel-3: #2257E0;
  background: var(--nevoa);
  color: var(--text);
}
.theme-light.tracking { background: linear-gradient(180deg, #F4F7FD, var(--nevoa)); }
#perguntas.theme-light { background: #FFFFFF; }
.theme-light .section-head h2,
.theme-light .audience-title,
.theme-light .audience-grid h3,
.theme-light .track-steps h3,
.theme-light .process h3,
.theme-light .faq-item summary h3 { color: var(--marinho); }
.theme-light .section-head p { color: var(--muted); }
.theme-light .faq-item summary:hover h3 { color: var(--pixel); }
.theme-light .aud-pain { color: var(--pixel); }
.theme-light .process-mark { background: var(--nevoa); color: var(--pixel); }
.theme-light .process-mark::before { box-shadow: 0 0 0 5px var(--nevoa), 0 0 12px rgba(46,107,255,.5); }
.theme-light .process::before { background: var(--line-2); }
.theme-light .track-steps li::before { color: var(--pixel); }
.theme-light ::selection { background: var(--pixel); color: #fff; }
/* "ilhas" escuras dentro de seções claras mantêm as cores do tema escuro */
.theme-light .track-demo {
  --text: #E8EEFC; --muted: #95A4C6;
  --line: rgba(143,176,255,.14); --line-2: rgba(143,176,255,.26); --pixel-3: #9DB8FF;
  color: var(--text);
  background: radial-gradient(90% 70% at 80% 0%, rgba(46,107,255,.35), transparent 60%), linear-gradient(170deg, #13275A, #081230);
  box-shadow: 0 40px 90px -30px rgba(14,31,69,.55), 0 0 0 1px rgba(14,31,69,.08);
}
/* faixa em movimento em Azul Pixel */
.marquee {
  background: var(--pixel);
  border-color: transparent;
  -webkit-mask-image: none; mask-image: none;
}
.marquee-track span { color: #FFFFFF; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.85); }
.marquee-track i { background: var(--marinho); box-shadow: none; }

/* ==========================================================
   AJUSTES DE CELULAR
   ========================================================== */
.wa-float { transition: opacity .3s, transform .3s var(--ease-out); }
.wa-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }

@media (max-width: 960px) {
  .track-demo { order: 0; }                 /* título antes da demonstração */
}
@media (max-width: 560px) {
  .cookie-banner { padding: 14px 16px; font-size: var(--t-xs); }
  .cookie-actions { margin-top: 10px; }
  .cookie-actions .btn { min-height: 38px; font-size: var(--t-xs); }
  .md-kpis { gap: 6px; }
  .md-kpis div { padding: 8px 9px; }
  .md-kpis span { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .md-kpis b { font-size: .95rem; white-space: nowrap; }
  .md-funnel div { grid-template-columns: 66px 1fr 40px; gap: 8px; }
}

/* campo anti-spam invisível */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
