/* ==========================================================================
   Neo Partners Technology · site
   Tokens da identidade (docs/PROMPT-SITE-NPT.md §2)
   ========================================================================== */
:root {
  --bg: #030407;
  --surface: #0a0c10;
  --line: #1c2028;
  --text: #f2f2f2;
  --muted: #9a9ea6;
  --green: #00ff41;
  --green-dim: rgb(0 255 65 / 0.12);

  /* acabamento premium: vidro, metal e borda em gradiente */
  --panel: linear-gradient(180deg, rgb(16 19 25 / 0.82), rgb(7 9 12 / 0.86));
  --edge: linear-gradient(150deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.06) 30%, rgb(255 255 255 / 0.03) 65%, rgb(255 255 255 / 0.1));
  --metal: linear-gradient(180deg, #ffffff 0%, #e9ebef 46%, #a4a9b2 100%);
  --emerald: linear-gradient(180deg, #8dffab 0%, #00ff41 55%, #00c234 100%);
  --hairline: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.12) 50%, transparent);
  --shadow: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 40px 80px -40px rgb(0 0 0 / 0.95);

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --radius: 14px;
  --glow: 0 0 12px rgb(0 255 65 / 0.55);
}

/* intensidade do brilho que segue o mouse (animável) */
@property --spot { syntax: "<number>"; inherits: false; initial-value: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* scanlines (3%) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.03;
  background: repeating-linear-gradient(to bottom, #fff 0 1px, transparent 1px 3px);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--bg); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ---------- fundo vivo: brilhos, grade e granulado ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::after {
  content: ""; position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- utilitários ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--green); color: var(--bg); padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.g { color: var(--green); }
.muted { color: var(--muted); }
.mono, .term, .label, .tag, .chips { font-family: var(--f-mono); font-weight: 500; }
.tag {
  display: inline-block; font-size: 11px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase;
  font-style: normal; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 5px 8px;
}
.tag--g { color: var(--green); border-color: rgb(0 255 65 / 0.4); background: var(--green-dim); }
.link { color: var(--green); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cursor { color: var(--green); text-shadow: var(--glow); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.icon { width: 1em; height: 1em; flex: none; }

/* painel de vidro com borda em gradiente (+ brilho que segue o mouse em .spot) */
.glass, .term, .editor {
  --spot: 0;
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    var(--spot-fill, none) padding-box,
    var(--panel) padding-box,
    var(--spot-edge, none) border-box,
    var(--edge) border-box;
  box-shadow: var(--shadow);
}
.spot {
  --mx: 50%; --my: 0%;
  --spot-fill: radial-gradient(520px circle at var(--mx) var(--my), rgb(255 255 255 / calc(0.035 * var(--spot))), transparent 60%);
  --spot-edge: radial-gradient(260px circle at var(--mx) var(--my), rgb(0 255 65 / calc(0.55 * var(--spot))), transparent 65%);
  transition: --spot 0.45s ease;
}
.spot:hover { --spot: 1; }

/* títulos com acabamento metálico */
.sec__title, .hero__title .word__in, .ise__title, .ent__title, .safe__title {
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* rótulo de seção: Space Grotesk 500, caixa alta, 0.5em */
.label {
  font-family: var(--f-display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.label [data-type]::before { content: "▍"; color: var(--green); margin-right: 0.6em; letter-spacing: 0; }
.label .is-typing::after { content: "▋"; color: var(--green); margin-left: 2px; animation: blink 0.8s steps(1) infinite; }

/* ---------- botões (glitch no hover) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid var(--line);
  font: 500 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; background: transparent;
  transition: border-color 0.2s, box-shadow 0.3s, background-position 0.8s ease, transform 0.2s;
}
.btn::after {
  content: attr(data-text); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--green); opacity: 0; pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { animation: glitch 0.32s steps(2) 1; }
@keyframes glitch {
  0% { opacity: 0.9; transform: translate(2px, 0); clip-path: inset(0 0 55% 0); }
  50% { opacity: 0.9; transform: translate(-2px, 1px); clip-path: inset(50% 0 0 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}
/* principal: verde com reflexo que atravessa no hover */
.btn--primary {
  color: var(--bg); border-color: var(--green); font-weight: 600;
  background: linear-gradient(110deg, var(--green) 38%, #c8ffd6 50%, var(--green) 62%) 100% 0 / 260% 100%;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.5) inset, 0 10px 30px -10px rgb(0 255 65 / 0.55);
}
.btn--primary::after { color: var(--text); mix-blend-mode: difference; }
.btn--primary:hover { background-position: 0 0; box-shadow: 0 0 0 1px var(--green), 0 0 28px rgb(0 255 65 / 0.55); transform: translateY(-1px); }
.btn--ghost { color: var(--text); background: rgb(255 255 255 / 0.03); border-color: rgb(255 255 255 / 0.14); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green-dim), 0 0 24px rgb(0 255 65 / 0.15); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 18px; }

/* ---------- navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s;
}
.nav.is-scrolled {
  background: rgb(3 4 7 / 0.72); border-color: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.nav__inner {
  height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo { text-decoration: none; margin-right: auto; }
.wordmark { display: inline-flex; align-items: flex-end; font: 700 30px/1 var(--f-display); letter-spacing: -0.04em; }
.wordmark__dot { width: 0.24em; height: 0.24em; background: var(--green); margin: 0 0 0.08em 0.06em; box-shadow: var(--glow); }
.nav__links { display: flex; gap: 26px; }
.nav__links a, .footer__links a {
  position: relative; text-decoration: none; font-size: 15px; color: var(--muted); transition: color 0.2s;
}
.nav__links a::after, .footer__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav__links a:hover, .footer__links a:hover, .nav__links a:focus-visible { color: var(--text); }
.nav__links a:hover::after, .footer__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }

/* ---------- abertura ---------- */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg);
  animation: intro-failsafe 0.4s 9s forwards; /* se o JS falhar, a intro some sozinha */
}
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
.intro-on .nav__logo { opacity: 0; }
.intro > * { grid-area: 1 / 1; }
.intro__rain { width: 100%; height: 100%; opacity: 0; }
.intro__term { font: 500 clamp(13px, 1.6vw, 17px)/1.9 var(--f-mono); width: min(560px, 100% - 32px); }
.intro__cmd { color: var(--text); }
.intro__logs li { color: var(--muted); opacity: 0; }
.intro__logs .ok { color: var(--green); }
.intro__line {
  width: min(526px, 75vw); height: 2px; background: var(--green); box-shadow: var(--glow);
  transform: scaleX(0); opacity: 0;
}
.intro__brand { position: relative; opacity: 0; width: min(560px, 80vw); }
.intro__brand .npt-eye { width: 100%; overflow: visible; }
.intro__name {
  position: absolute; top: calc(100% + 28px); left: 0; right: 0; display: grid; justify-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
}
.intro__neo { font-size: clamp(16px, 2.4vw, 26px); letter-spacing: 0.5em; min-height: 1.2em; margin-right: -0.5em; }
.intro__tech { font-size: clamp(11px, 1.3vw, 14px); letter-spacing: 0.7em; color: var(--green); min-height: 1.2em; margin-right: -0.7em; }
.intro__skip {
  position: fixed; right: 20px; bottom: 20px; z-index: 2; font: 500 13px var(--f-mono); color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; cursor: pointer;
}
.intro__skip:hover { color: var(--text); border-color: var(--muted); }

/* ---------- olho NPT ---------- */
.npt-eye__letters { fill: var(--text); }
.npt-eye__pupil { fill: var(--green); filter: drop-shadow(0 0 10px rgb(0 255 65 / 0.7)); transform-box: fill-box; transform-origin: center; }

/* ---------- janelas de terminal ---------- */
.term { overflow: hidden; }
.term__bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgb(255 255 255 / 0.06);
  font-size: 12px; color: var(--muted); background: rgb(255 255 255 / 0.015);
}
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2f38; }
.term__bar i:first-child { background: rgb(0 255 65 / 0.55); box-shadow: 0 0 6px rgb(0 255 65 / 0.5); }
.term__bar span { margin-left: 8px; }
.term__bar .tag { margin-left: auto; color: var(--green); border-color: rgb(0 255 65 / 0.35); }
.term__body { padding: 18px; font-size: 14px; line-height: 1.9; }
.term__cmd { color: var(--muted); margin-bottom: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; isolation: isolate;
  padding: calc(var(--nav-h) + 40px) 0 28px;
}
/* conteúdo centralizado no espaço livre; o letreiro de clientes fica colado no pé da primeira tela */
.hero > .wrap { margin-block: auto; }
/* chuva de código sutil (static/js/rain.js), com máscara para não brigar com o texto */
.code-rain { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.code-rain--hero {
  opacity: 0.9;
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.12) 0%, rgb(0 0 0 / 0.3) 40%, #000 65%), linear-gradient(180deg, transparent, #000 15%, #000 75%, transparent);
  mask-composite: intersect;
}
/* contato: a chuva fica atrás do calendário (a parte de cima, com o título, fica limpa) */
.code-rain--cta {
  mask-image: linear-gradient(180deg, transparent 12%, #000 38%, #000 88%, transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__title { font-size: clamp(38px, 5vw, 70px); margin-bottom: 28px; }
.hero .label { font-size: 12px; letter-spacing: 0.4em; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.word__in { display: inline-block; }
.hl { position: relative; display: inline-block; }
.hero__title .hl {
  background: var(--emerald); -webkit-background-clip: text; background-clip: text; color: transparent;
  
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.07em; background: var(--green);
  box-shadow: var(--glow); transform-origin: left; transform: scaleX(var(--hl, 1));
}
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: #b5b9c0; max-width: 35em; margin-bottom: 36px; }
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font: 500 13px var(--f-mono); color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 16px; height: 16px; color: var(--green); }
.hero__visual { position: relative; isolation: isolate; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.term--hero { --panel: linear-gradient(180deg, rgb(14 17 22 / 0.96), rgb(7 9 12 / 0.97)); box-shadow: var(--shadow), 0 40px 100px -30px rgb(0 0 0 / 0.9); }
.leak { display: flex; align-items: baseline; gap: 8px; color: var(--muted); white-space: nowrap; }
.leak__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 12px; }
.leak .num { color: var(--green); font-variant-numeric: tabular-nums; }
.leak--total { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--text); }
.leak--total .num { text-shadow: var(--glow); }

/* empresas atendidas (letreiro de logos) */
.clients { --cg: clamp(48px, 6vw, 88px); padding-top: clamp(40px, 6vh, 64px); user-select: none; }
.clients__title {
  text-align: center; font: 500 12px var(--f-mono); letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px; padding: 0 var(--gutter);
}
.clients__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.clients__track { display: flex; align-items: center; gap: var(--cg); width: max-content; animation: marquee-logos 42s linear infinite; }
.clients__viewport:hover .clients__track { animation-play-state: paused; }
.clients__item { flex: none; display: flex; align-items: center; }
.clients__item img { --h: 44px; display: block; height: var(--h); width: auto; max-width: 150px; object-fit: contain; opacity: 0.32; transition: opacity 0.3s; }
.clients__item:hover img { opacity: 0.75; }
.clients__item--pro-mind-insights img, .clients__item--tattoo-ornamento img { --h: 54px; }
.clients__item--synergy-group-core img { --h: 58px; }
/* telas baixas de notebook: o letreiro continua cabendo na primeira tela */
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 18px; }
  .clients { padding-top: 20px; }
  .clients__title { margin-bottom: 16px; }
  .clients__item img { --h: 38px; }
  .clients__item--pro-mind-insights img, .clients__item--tattoo-ornamento img { --h: 46px; }
  .clients__item--synergy-group-core img { --h: 50px; }
}
@keyframes marquee-logos { to { transform: translateX(calc(-50% - var(--cg) / 2)); } }

/* ---------- seções ---------- */
.sec { position: relative; isolation: isolate; padding: clamp(96px, 12vw, 160px) 0; }
/* divisor: linha fina iluminada no centro */
.sec::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), 92%); height: 1px;
  transform: translateX(-50%); background: var(--hairline);
}
/* brilho de ambiente de cada seção (posição via --gx/--gy) */
.sec::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at var(--gx, 80%) var(--gy, 20%), rgb(255 255 255 / var(--ga, 0.025)), transparent 70%);
}
.sec--processo { --gx: 15%; --gy: 30%; }
.sec--pilares { --gx: 90%; --gy: 70%; }
.sec--confianca { --gx: 50%; --gy: 0%; --ga: 0.03; }
.sec--faq { --gx: 10%; --gy: 40%; }
.sec--cta { --gx: 25%; --gy: 45%; --ga: 0.03; }
.sec--ent { --gx: 85%; --gy: 8%; padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px)); }
.sec--ent-cta { --gx: 50%; --gy: 50%; --ga: 0.03; }
.sec__head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .sec__text { margin: 0 auto; }
.sec__title { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 20px; padding-bottom: 0.06em; }
.sec__text { color: var(--muted); max-width: 40em; }
.sec__note { color: var(--muted); font-size: 15px; margin-top: 40px; max-width: 46em; }

.safe__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: var(--green); font-size: 24px;
  background: rgb(255 255 255 / 0.03); border: 1px solid rgb(255 255 255 / 0.1);
}

/* pilares */
.editor { overflow: hidden; }
.editor__tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px; border-bottom: 1px solid rgb(255 255 255 / 0.06); scrollbar-width: none; }
.editor__tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px;
  font: 500 14px var(--f-body); color: var(--muted); text-decoration: none; border: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.editor__tab b { font: 500 12px var(--f-mono); }
.editor__tab:hover { color: var(--text); }
.editor__tab.is-active { color: var(--text); border-color: rgb(0 255 65 / 0.4); background: rgb(0 255 65 / 0.06); }
.editor__tab.is-active b { color: var(--green); }
.pilar {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 3vw, 38px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 20px);
}
.pilar:last-child { border-bottom: 0; }
.pilar__q { font: 500 clamp(17px, 1.5vw, 20px)/1.4 var(--f-display); color: #c9ccd2; margin-bottom: 22px; padding-left: 14px; border-left: 2px solid var(--green); }
.pilar__name { display: flex; align-items: baseline; gap: 12px; font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.pilar__n { font-size: 0.75em; color: transparent; -webkit-text-stroke: 1px rgb(0 255 65 / 0.6); }
.pilar__team { margin-bottom: 18px; }
.pilar__ctx { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.gain { border: 1px solid rgb(0 255 65 / 0.45); border-radius: 10px; padding: 16px 18px; font-size: 16px; background: rgb(0 255 65 / 0.05); }
.gain__k { font: 500 12px var(--f-mono); color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.pilar__k {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  font: 500 12px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 18px 0 10px;
}
.pilar__k a { color: var(--green); text-decoration: none; letter-spacing: 0.06em; }
.pilar__k a:hover, .pilar__k a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.pilar__do { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; font-size: 14.5px; line-height: 1.45; color: #c9ccd2; }
.pilar__do li { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pilar__do .icon { width: 16px; height: 16px; color: var(--green); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { font-size: 12px; padding: 6px 10px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 99px; color: var(--text); background: rgb(255 255 255 / 0.03); }

/* gráfico de cada pilar (anima quando o pilar ganha .is-on, via ui.js) */
.viz { margin: 0; padding: 14px 18px 12px; border-radius: 12px; background: rgb(0 0 0 / 0.32); border: 1px solid rgb(255 255 255 / 0.07); }
.viz__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px var(--f-mono); color: var(--muted); margin-bottom: 8px; }
.viz__svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz__note { font: 500 12.5px var(--f-mono); color: var(--green); margin-top: 8px; }
.viz__note--warn { color: #ffbe3c; }
.viz__axis, .viz__label { fill: var(--muted); font: 500 11px var(--f-mono); }
.viz__val { fill: var(--text); font: 500 12px var(--f-mono); }
/* caixa */
.viz__zero { stroke: rgb(255 190 60 / 0.5); stroke-dasharray: 4 4; }
.viz__line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz__alert-dot { fill: #ffbe3c; }
.viz__alert-ring { fill: none; stroke: #ffbe3c; opacity: 0; transform-box: fill-box; transform-origin: center; }
.js .viz__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .viz__area, .js .viz__alert-dot { opacity: 0; transition: opacity 0.6s 0.9s; }
.pilar.is-on .viz__line { animation: draw 1.4s ease-in-out 0.1s both; }
.pilar.is-on .viz__area, .pilar.is-on .viz__alert-dot { opacity: 1; }
.pilar.is-on .viz__alert-ring { animation: ping 1.8s ease-out 1.5s infinite; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ping { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
/* regimes */
.viz__track { fill: rgb(255 255 255 / 0.05); }
.viz__bar { fill: #3a404b; transform-box: fill-box; transform-origin: left center; }
.viz__bar.is-best { fill: var(--green); }
.js .viz__bar { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .viz__bar:nth-of-type(4) { transition-delay: 0.15s; }
.js .viz__bar:nth-of-type(6) { transition-delay: 0.3s; }
.pilar.is-on .viz__bar { transform: none; }
/* integrações */
.viz__link { stroke: rgb(0 255 65 / 0.55); stroke-width: 1.5; stroke-dasharray: 3 6; }
.pilar.is-on .viz__link { animation: flowdash 0.9s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -9; } }
.viz__node rect { fill: #0d1015; stroke: rgb(255 255 255 / 0.16); }
.viz__node text { fill: var(--text); font: 500 12px var(--f-mono); }
.viz__hub circle { fill: rgb(0 255 65 / 0.12); stroke: var(--green); }
.viz__hub text { fill: var(--green); font: 600 13px var(--f-mono); }
.js .viz__node { opacity: 0; transition: opacity 0.4s; }
.pilar.is-on .viz__node { opacity: 1; }
.viz__node:nth-of-type(2) { transition-delay: 0.12s; }
.viz__node:nth-of-type(3) { transition-delay: 0.24s; }
.viz__node:nth-of-type(4) { transition-delay: 0.36s; }
.viz__node:nth-of-type(5) { transition-delay: 0.48s; }
/* segmentos da base */
.viz__donut { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; align-items: center; }
.viz__svg--donut { max-height: 130px; }
.viz__ring, .viz__seg { fill: none; stroke-width: 16; transform-box: view-box; transform-origin: center; transform: rotate(-90deg); }
.viz__ring { stroke: rgb(255 255 255 / 0.05); }
.viz__seg--1, .viz__key--1 { stroke: #00ff41; background: #00ff41; }
.viz__seg--2, .viz__key--2 { stroke: rgb(0 255 65 / 0.45); background: rgb(0 255 65 / 0.45); }
.viz__seg--3, .viz__key--3 { stroke: #8a909a; background: #8a909a; }
.viz__seg--4, .viz__key--4 { stroke: #4a505a; background: #4a505a; }
.viz__center { fill: var(--text); font: 700 22px var(--f-display); }
.viz__legend { display: grid; gap: 6px; font-size: 13px; color: #c9ccd2; }
.viz__legend li { display: flex; align-items: center; gap: 8px; }
.viz__legend b { margin-left: auto; font: 500 12px var(--f-mono); color: var(--text); }
.viz__key { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.js .viz__seg { opacity: 0; transition: opacity 0.5s; }
.pilar.is-on .viz__seg { opacity: 1; }
.viz__seg--2 { transition-delay: 0.15s; }
.viz__seg--3 { transition-delay: 0.3s; }
.viz__seg--4 { transition-delay: 0.45s; }
/* funil */
.viz__step { fill: rgb(0 255 65 / 0.08); stroke: rgb(0 255 65 / 0.3); }
.viz__step--4 { fill: rgb(0 255 65 / 0.3); stroke: var(--green); }
.viz__step-t { fill: var(--text); font: 600 13px var(--f-body); }
.viz__step-k { fill: var(--muted); font: 500 11px var(--f-mono); }
.js .viz__step, .js .viz__step-t { opacity: 0; transition: opacity 0.4s; }
.pilar.is-on .viz__step, .pilar.is-on .viz__step-t { opacity: 1; }
.viz__step:nth-of-type(2), .viz__step-t:nth-of-type(2) { transition-delay: 0.15s; }
.viz__step:nth-of-type(3), .viz__step-t:nth-of-type(3) { transition-delay: 0.3s; }
.viz__step:nth-of-type(4), .viz__step-t:nth-of-type(4) { transition-delay: 0.45s; }

/* ISE: painel no fim do "Como funciona" */
.ise {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 4vw, 56px); scroll-margin-top: calc(var(--nav-h) + 20px);
}
.ise__title { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 16px; padding-bottom: 0.06em; }
.levels { margin-top: 32px; border-top: 1px solid var(--line); }
.level {
  display: grid; grid-template-columns: 64px 120px 1fr; gap: 12px; align-items: baseline;
  padding: 14px 0 14px 14px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent;
  color: var(--muted); transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.level__range { font: 500 13px var(--f-mono); }
.level strong { font-family: var(--f-display); color: var(--text); opacity: 0.6; transition: opacity 0.3s; }
.level__desc { font-size: 15px; }
.level.is-passed strong { opacity: 1; }
.level.is-on { border-left-color: var(--green); background: linear-gradient(90deg, rgb(0 255 65 / 0.14), transparent); color: var(--text); }
.level.is-on strong { opacity: 1; color: var(--green); }
.ise__chart { position: relative; margin: 0; isolation: isolate; }
.ise__tag { position: absolute; top: 0; right: 0; color: var(--green); border-color: rgb(0 255 65 / 0.35); }
.radar { width: 100%; max-width: 480px; margin: 0 auto; overflow: visible; }
.radar__ring { fill: none; stroke: #232833; }
.radar__axis { stroke: #232833; }
.radar__shape { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgb(0 255 65 / 0.5)); }
.radar__fill { fill: rgb(0 255 65 / 0.14); }
.radar__pt { fill: var(--green); transform-box: fill-box; transform-origin: center; }
.radar__label { fill: var(--muted); font: 500 12px var(--f-mono); }
.radar__score { fill: var(--green); font-size: 14px; }
.ise__chart figcaption { margin-top: 24px; text-align: center; font: 500 15px var(--f-mono); color: var(--muted); }
.ise__avg { font: 700 40px var(--f-display); color: var(--green); letter-spacing: -0.03em; vertical-align: -6px; text-shadow: 0 0 24px rgb(0 255 65 / 0.4); }
.ise__level { color: var(--text); }

/* como funciona: texto do início ao fim + tela que muda de cena */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.story__step {
  position: relative; min-height: 48vh; display: flex; flex-direction: column; justify-content: center;
  padding: 28px 0 28px 30px; border-left: 1px solid var(--line); opacity: 0.38; transition: opacity 0.4s;
}
.story__step::before {
  content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--muted); transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.story__step.is-on { opacity: 1; }
.story__step.is-on::before { background: var(--green); border-color: var(--green); box-shadow: var(--glow); }
.story__when { display: flex; align-items: center; gap: 12px; font: 500 13px var(--f-mono); color: var(--green); margin-bottom: 10px; }
.story__n { font: 700 12px var(--f-mono); color: var(--text); background: #2a2f38; border-radius: 6px; padding: 3px 7px; transition: background-color 0.3s, color 0.3s; }
.story__step.is-on .story__n { background: var(--green); color: var(--bg); }
.story__name { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 16px; }
/* rótulo em cima do texto (coluna fixa deixava um vão ao lado de "você" e "nós") */
.story__dl { display: grid; gap: 14px; margin: 0; }
.story__dl div { display: grid; gap: 3px; }
.story__dl dt { font: 500 11px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.story__dl dd { margin: 0; color: #c9ccd2; font-size: 16px; }
.story__out dt { color: var(--green); }
.story__out dd { color: var(--text); font-weight: 500; }
.story__stage { position: sticky; top: calc(50vh - 200px + var(--nav-h) / 2); }
.stage { overflow: hidden; }
.stage__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; font: 500 12px var(--f-mono); color: var(--muted); background: rgb(255 255 255 / 0.02); }
.stage__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2f38; }
.stage__bar i:first-child { background: rgb(0 255 65 / 0.55); }
.stage__bar span { margin-left: 8px; }
.stage__bar b { color: var(--green); font-weight: 500; }
.stage__bar .tag { margin-left: auto; }
.stage__progress { height: 2px; background: rgb(255 255 255 / 0.06); }
.stage__progress span { display: block; height: 100%; background: var(--green); box-shadow: var(--glow); transform-origin: left; transform: scaleX(0.2); transition: transform 0.5s ease; }
.stage__body { position: relative; height: 360px; }
.scene {
  position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.45s, transform 0.45s, visibility 0s 0.45s;
}
.scene.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s, transform 0.45s; }
.scene__ok {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 12px; border-radius: 99px;
  font: 500 13px var(--f-mono); color: var(--green); border: 1px solid rgb(0 255 65 / 0.35); background: rgb(0 255 65 / 0.06);
}
.scene__ok .icon { width: 16px; height: 16px; }
.scene.is-on .scene__ok { animation: pop 0.5s ease 1.3s both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes slidein { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes pick { to { background: var(--green); color: var(--bg); border-color: var(--green); box-shadow: 0 0 16px rgb(0 255 65 / 0.45); } }
/* cena 1: call */
.scene--call { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-content: center; gap: 18px 24px; }
.scene--call .scene__ok { grid-column: 1 / -1; }
.mini-cal__t { font: 500 12px var(--f-mono); color: var(--muted); margin-bottom: 10px; }
.mini-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.mini-cal__wd { font: 500 10px var(--f-mono); color: var(--muted); text-align: center; }
.mini-cal__d { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; font: 500 12px var(--f-mono); background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.07); }
.mini-cal__d.is-off { opacity: 0.3; background: none; }
.mini-times { display: grid; gap: 6px; align-content: center; }
.mini-times__t { padding: 7px 10px; border-radius: 8px; text-align: center; font: 500 12px var(--f-mono); border: 1px solid rgb(255 255 255 / 0.1); }
.scene.is-on .is-pick { animation: pick 0.35s ease 0.4s both; }
.scene.is-on .mini-times__t.is-pick { animation-delay: 0.9s; }
/* cena 2: dados entrando, só leitura */
.scene--data { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; }
.pipe { display: grid; gap: 12px; }
.pipe__src { display: grid; grid-template-columns: auto minmax(20px, 1fr); align-items: center; }
.pipe__src span { font: 500 12px var(--f-mono); padding: 7px 12px; border-radius: 8px; background: #0d1015; border: 1px solid rgb(255 255 255 / 0.12); white-space: nowrap; }
.pipe__line { height: 1px; background: repeating-linear-gradient(90deg, rgb(0 255 65 / 0.75) 0 6px, transparent 6px 12px); opacity: 0.7; }
.scene.is-on .pipe__src { animation: slidein 0.45s ease both; }
.scene.is-on .pipe__src:nth-child(2) { animation-delay: 0.1s; }
.scene.is-on .pipe__src:nth-child(3) { animation-delay: 0.2s; }
.scene.is-on .pipe__src:nth-child(4) { animation-delay: 0.3s; }
.scene.is-on .pipe__src:nth-child(5) { animation-delay: 0.4s; }
.scene.is-on .pipe__line { animation: pipe 0.6s linear infinite; }
@keyframes pipe { to { background-position: 12px 0; } }
.pipe__vault {
  align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 18px 12px; border-radius: 16px; border: 1px solid rgb(0 255 65 / 0.45); background: rgb(0 255 65 / 0.05);
}
.pipe__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; color: var(--green); border: 1px solid rgb(0 255 65 / 0.4); margin-bottom: 4px; }
.pipe__vault strong { font: 600 15px var(--f-display); }
.pipe__vault small { font: 500 11px var(--f-mono); color: var(--muted); }
/* cena 3: quatro times */
.scene--teams { gap: 12px; }
.lane {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: "name bar" "name log"; gap: 6px 14px; align-items: center;
  padding: 10px 14px; border-radius: 10px; background: rgb(0 0 0 / 0.3); border: 1px solid rgb(255 255 255 / 0.06);
}
.lane__name { grid-area: name; font: 600 14px var(--f-display); }
.lane__bar { grid-area: bar; height: 4px; border-radius: 4px; background: rgb(255 255 255 / 0.06); overflow: hidden; }
.lane__bar i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0.08); }
.scene.is-on .lane__bar i { animation: fill 2.6s cubic-bezier(0.3, 0.7, 0.3, 1) both; }
.scene.is-on .lane:nth-child(2) .lane__bar i { animation-duration: 3.1s; }
.scene.is-on .lane:nth-child(3) .lane__bar i { animation-duration: 2.2s; }
.scene.is-on .lane:nth-child(4) .lane__bar i { animation-duration: 3.4s; }
@keyframes fill { to { transform: scaleX(1); } }
.lane__log { grid-area: log; height: 18px; overflow: hidden; font: 500 12px var(--f-mono); color: var(--muted); }
.lane__logs { display: grid; }
.lane__logs span { height: 18px; line-height: 18px; white-space: nowrap; }
.scene.is-on .lane__logs { animation: logs3 2.7s steps(3) infinite; }
.scene.is-on .lane:nth-child(even) .lane__logs { animation-duration: 3.3s; }
@keyframes logs3 { to { transform: translateY(-54px); } }
/* cena 4: relatório */
.report { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.report__ise { display: grid; justify-items: center; gap: 4px; padding: 20px 10px; border-radius: 14px; border: 1px solid rgb(255 190 60 / 0.35); background: rgb(255 190 60 / 0.06); }
.report__ise span { font: 500 11px var(--f-mono); color: var(--muted); }
.report__ise strong { font: 700 48px/1 var(--f-display); color: #ffbe3c; }
.report__ise em { font: 500 12px var(--f-mono); font-style: normal; color: #ffd27a; }
.report__leaks { display: grid; gap: 6px; }
.report__leaks li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-radius: 8px; font: 500 12.5px var(--f-mono); color: #c9ccd2; background: rgb(0 0 0 / 0.3); border: 1px solid rgb(255 255 255 / 0.06); }
.report__leaks b { color: var(--green); font-weight: 500; }
.scene.is-on .report__leaks li { animation: slidein 0.4s ease both; }
.scene.is-on .report__leaks li:nth-child(2) { animation-delay: 0.15s; }
.scene.is-on .report__leaks li:nth-child(3) { animation-delay: 0.3s; }
.scene.is-on .report__leaks li:nth-child(4) { animation-delay: 0.45s; }
.scene.is-on .report__leaks li:nth-child(5) { animation-delay: 0.6s; }
/* cena 5: evolução */
.grow { width: 100%; height: auto; max-height: 230px; overflow: visible; }
.grow__bar { fill: #2f353f; transform-box: fill-box; transform-origin: bottom; }
.grow__bar.is-last { fill: var(--green); }
.grow__v { fill: var(--text); font: 700 16px var(--f-display); }
.grow__k { fill: var(--muted); font: 500 11px var(--f-mono); }
.scene.is-on .grow__bar { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.scene.is-on .grow__bar:nth-of-type(2) { animation-delay: 0.15s; }
.scene.is-on .grow__bar:nth-of-type(3) { animation-delay: 0.3s; }
.scene.is-on .grow__bar:nth-of-type(4) { animation-delay: 0.45s; }
@keyframes rise { from { transform: scaleY(0); } }

/* na prática: telas de exemplo (painel de BI e WhatsApp com IA) */
.sec--pratica { --gx: 70%; --gy: 55%; --ga: 0.03; }
.pratica { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.mock { margin: 0; }
.mock__cap { margin-top: 16px; font-size: 15px; color: var(--muted); text-align: center; }
.mock__cap strong { display: block; color: var(--text); font: 600 16px var(--f-display); }
.browser { overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgb(255 255 255 / 0.06); background: rgb(255 255 255 / 0.02); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2f38; }
.browser__url {
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin: 0 12px; padding: 5px 12px; border-radius: 6px; font: 500 12px var(--f-mono); color: var(--muted);
  background: rgb(0 0 0 / 0.35); border: 1px solid rgb(255 255 255 / 0.05);
}
.bi { padding: clamp(14px, 2vw, 22px); display: grid; gap: 14px; }
.bi__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bi__kpi, .bi__card { background: rgb(0 0 0 / 0.3); border: 1px solid rgb(255 255 255 / 0.06); border-radius: 10px; }
.bi__kpi { display: grid; gap: 2px; padding: 12px 14px; }
.bi__kpi span { font: 500 11px var(--f-mono); color: var(--muted); }
.bi__kpi strong { font: 700 clamp(17px, 1.7vw, 22px) var(--f-display); letter-spacing: -0.02em; }
.bi__kpi em { font: 500 11px var(--f-mono); font-style: normal; color: var(--green); }
.bi__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.bi__card { padding: 14px; }
.bi__t { font: 500 12px var(--f-mono); color: var(--muted); margin-bottom: 10px; }
.bi__line, .bi__bars { width: 100%; height: auto; overflow: visible; }
.bi__grid { stroke: rgb(255 255 255 / 0.06); stroke-dasharray: 3 4; }
.bi__path { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgb(0 255 65 / 0.55)); }
.bi__dot { fill: var(--green); stroke: var(--bg); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.bi__axis { fill: var(--muted); font: 500 10px var(--f-mono); }
.bi__track { fill: rgb(255 255 255 / 0.05); }
.bi__bar { fill: var(--green); opacity: 0.85; transform-box: fill-box; transform-origin: left center; }
.bi__val { fill: var(--text); font: 500 11px var(--f-mono); }
.bi__alert {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font: 500 12px var(--f-mono);
  color: #ffd27a; background: rgb(255 190 60 / 0.07); border: 1px solid rgb(255 190 60 / 0.25);
}
.bi__pulse { width: 8px; height: 8px; border-radius: 50%; background: #ffbe3c; box-shadow: 0 0 0 0 rgb(255 190 60 / 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(255 190 60 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 190 60 / 0); } }

.phone {
  width: min(320px, 100%); margin: 0 auto; padding: 10px; border-radius: 44px;
  background: linear-gradient(160deg, #2b3038, #0c0e12 40%, #1d2128);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08) inset, 0 50px 100px -40px rgb(0 0 0 / 0.95);
}
.phone__screen { border-radius: 35px; overflow: hidden; background: #0b141a; display: flex; flex-direction: column; min-height: 540px; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 34px 14px 12px; background: #1f2c33; }
.wa__head .tag { margin-left: auto; font-size: 9px; padding: 4px 6px; }
.wa__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #030407; border: 1px solid rgb(0 255 65 / 0.4); padding: 7px; flex: none; }
.wa__avatar .npt-eye { width: 100%; }
.wa__who { display: grid; line-height: 1.25; }
.wa__who strong { font: 600 14px var(--f-body); }
.wa__who small { font-size: 11px; color: var(--green); }
.wa__msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px; font-size: 13.5px; line-height: 1.4; }
.msg { position: relative; max-width: 82%; padding: 8px 10px 18px; border-radius: 10px; color: #e9edef; }
.msg--in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.msg--out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.msg__time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: rgb(233 237 239 / 0.6); }
.msg__time .g { color: #53bdeb; }
.wa__input { display: flex; align-items: center; gap: 8px; margin: 0 10px 14px; }
.wa__input span { flex: 1; padding: 9px 14px; border-radius: 99px; background: #1f2c33; font-size: 13px; color: rgb(233 237 239 / 0.45); }
.wa__input i { width: 36px; height: 36px; border-radius: 50%; background: #00a884; }

.pratica__more { margin-top: clamp(28px, 4vw, 44px); text-align: center; font-size: 16px; }

/* segurança: cofre de 4 camadas */
.safe {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 330px) minmax(0, 1fr);
  grid-template-areas: "a core c" "b core d"; gap: 20px clamp(24px, 4vw, 56px); align-items: center;
}
.safe__list { display: contents; }
.safe__item { padding: 24px; }
.safe__item--1 { grid-area: a; }
.safe__item--2 { grid-area: b; }
.safe__item--3 { grid-area: c; }
.safe__item--4 { grid-area: d; }
.safe__item::after { content: ""; position: absolute; top: 50%; width: clamp(24px, 4vw, 56px); height: 1px; }
.safe__item--1::after, .safe__item--2::after { left: 100%; background: linear-gradient(90deg, rgb(255 255 255 / 0.12), rgb(0 255 65 / 0.6)); }
.safe__item--3::after, .safe__item--4::after { right: 100%; background: linear-gradient(270deg, rgb(255 255 255 / 0.12), rgb(0 255 65 / 0.6)); }
.safe__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.safe__layer { font: 500 11px var(--f-mono); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.safe__when { font: 500 12px var(--f-mono); color: var(--green); margin-bottom: 6px; }
.safe__title { font-size: 20px; margin-bottom: 8px; }
.safe__text { color: var(--muted); font-size: 15px; }
.safe__core { grid-area: core; display: grid; justify-items: center; }
.safe__core svg { width: 100%; height: auto; overflow: visible; }
.safe__core-t { margin-top: 6px; font: 500 11px var(--f-mono); letter-spacing: 0.25em; text-transform: uppercase; color: var(--green); }
.safe__orbit { fill: none; stroke: rgb(255 255 255 / 0.14); stroke-dasharray: 2 10; transform-box: view-box; transform-origin: center; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.safe__ring { fill: none; stroke: rgb(255 255 255 / 0.1); stroke-width: 1.5; }
.safe__ring-n { fill: var(--muted); font: 500 10px var(--f-mono); paint-order: stroke; stroke: var(--bg); stroke-width: 6px; }
.safe__heart { fill: rgb(0 255 65 / 0.08); stroke: var(--green); transform-box: fill-box; transform-origin: center; }
.safe__lock { stroke: var(--green); }
.js .safe__ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .safe__item { opacity: 0.4; transition: opacity 0.5s; }
.safe.is-on .safe__ring { stroke: rgb(0 255 65 / 0.65); animation: draw 0.9s ease both; }
.safe.is-on .safe__ring-n { fill: var(--green); transition: fill 0.3s; }
.safe.is-on .safe__item { opacity: 1; }
.safe.is-on .safe__heart { animation: beat 2.4s ease-in-out 1.6s infinite; }
@keyframes beat { 50% { transform: scale(1.07); } }
.safe__ring--2, .safe__ring-n--2, .safe__item--2 { animation-delay: 0.35s !important; transition-delay: 0.35s !important; }
.safe__ring--3, .safe__ring-n--3, .safe__item--3 { animation-delay: 0.7s !important; transition-delay: 0.7s !important; }
.safe__ring--4, .safe__ring-n--4, .safe__item--4 { animation-delay: 1.05s !important; transition-delay: 1.05s !important; }

/* dúvidas */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 12px; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  padding: 20px 24px; font: 500 18px/1.35 var(--f-display); letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
.faq__plus { position: relative; flex: none; width: 14px; height: 14px; color: var(--green); transition: transform 0.3s ease; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: currentColor; }
.faq__plus::after { transform: rotate(90deg); transition: transform 0.3s ease; }
.faq__item[open] .faq__plus { transform: rotate(180deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__item[open] { --edge: linear-gradient(150deg, rgb(0 255 65 / 0.45), rgb(255 255 255 / 0.08) 35%, rgb(255 255 255 / 0.1)); }

/* entregáveis (/entregaveis): só nome e definição, sem telas de prévia */
.ent-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 6vw, 72px); }
.ent-index a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; text-decoration: none;
  font: 500 14px var(--f-body); color: var(--muted); border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.02);
  transition: color 0.2s, border-color 0.2s;
}
.ent-index a:hover, .ent-index a:focus-visible { color: var(--text); border-color: rgb(0 255 65 / 0.45); }
.ent-index b { font: 500 12px var(--f-mono); color: var(--green); }
.ent {
  position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px);
  padding: clamp(40px, 5vw, 64px) 0; scroll-margin-top: var(--nav-h);
  background: var(--hairline) top / 100% 1px no-repeat;
}
.ent__head { align-self: start; position: sticky; top: calc(var(--nav-h) + 28px); }
.ent__n { font: 700 clamp(30px, 3vw, 40px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgb(0 255 65 / 0.6); margin-bottom: 14px; }
.ent__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 14px; }
.ent__team { margin-bottom: 18px; }
.ent__k { font: 500 12px var(--f-mono); color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.ent__gain { color: var(--muted); font-size: 16px; max-width: 26em; }
.ent__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.ent__item { padding: 20px 0 22px; border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.ent__item dt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; font: 600 18px/1.3 var(--f-display); margin-bottom: 6px; }
.ent__item dt .icon { width: 16px; height: 16px; color: var(--green); transform: translateY(2px); }
.ent__item dd { margin: 0 0 0 26px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.ent__more { margin-top: 18px; font: 500 13px var(--f-mono); color: var(--muted); }
.ent-cta { text-align: center; display: grid; justify-items: center; }
.ent-cta .sec__text { margin-bottom: 32px; }

/* contato: agendamento da call (dia -> horário -> dados) */
.cta__head { display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1000px; margin-bottom: clamp(32px, 4vw, 48px); }
.cta__eye { width: 100%; }
.cta__head .sec__title { margin-bottom: 14px; }
.cta__head .trust { margin-top: 18px; }
.booking { --panel: linear-gradient(180deg, rgb(16 19 25 / 0.62), rgb(7 9 12 / 0.72)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr) minmax(0, 1.2fr); box-shadow: var(--shadow), 0 40px 120px -40px rgb(0 0 0 / 0.9); }
.booking__col { padding: clamp(20px, 2.4vw, 30px); }
.booking__col + .booking__col { border-left: 1px solid rgb(255 255 255 / 0.07); }
.booking__step { display: flex; align-items: center; gap: 10px; font: 600 15px var(--f-display); margin-bottom: 16px; }
.booking__step span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 600 12px var(--f-mono); color: var(--bg); background: var(--green); }
.cal__title { font: 500 13px var(--f-mono); color: var(--muted); margin-bottom: 12px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__wd { text-align: center; font: 500 11px var(--f-mono); color: var(--muted); padding-bottom: 4px; }
.cal__day {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 0; border-radius: 10px; cursor: pointer;
  font: 500 14px var(--f-mono); color: var(--text); background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.12);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.cal__day small { position: absolute; bottom: 1px; font-size: 8px; line-height: 1.4; color: var(--muted); text-transform: uppercase; }
.cal__day:hover { border-color: rgb(0 255 65 / 0.6); }
.cal__day[aria-pressed="true"] { background: var(--green); color: var(--bg); border-color: var(--green); box-shadow: 0 0 18px rgb(0 255 65 / 0.4); }
.cal__day[aria-pressed="true"] small { color: rgb(3 4 7 / 0.7); }
.cal__day.is-off { cursor: default; color: rgb(255 255 255 / 0.22); background: transparent; border-color: transparent; }
.cal__day.is-today { border-color: rgb(255 255 255 / 0.14); }
.cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; font: 500 11px var(--f-mono); color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { width: 10px; height: 10px; border-radius: 3px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.2); }
.cal__legend i.is-off { background: none; border-color: rgb(255 255 255 / 0.08); }
.booking__day { font: 500 13px var(--f-mono); color: var(--green); margin-bottom: 12px; min-height: 1.4em; }
.booking:not(.is-ready) .booking__day { display: none; }
.times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.times[hidden] { display: none; }
.times__legend { padding: 0; margin-bottom: 8px; font: 500 12px var(--f-mono); color: var(--muted); }
.is-ready .times__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.time { position: relative; }
.time input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.time span {
  display: block; padding: 11px 8px; border-radius: 10px; text-align: center; font: 500 14px var(--f-mono);
  border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.03); transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.time:hover span { border-color: rgb(0 255 65 / 0.6); }
.time input:checked + span { background: var(--green); color: var(--bg); border-color: var(--green); box-shadow: 0 0 18px rgb(0 255 65 / 0.4); }
.time input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.time.is-taken span { color: rgb(255 255 255 / 0.25); text-decoration: line-through; background: none; border-style: dashed; }
.time.is-taken input { cursor: not-allowed; }
.booking__empty { color: var(--muted); font-size: 15px; }
.booking__col--form { display: grid; gap: 14px; align-content: start; }
.booking__col--form .booking__step { margin-bottom: 2px; }
.booking__summary {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  font: 500 13px var(--f-mono); color: var(--muted); border: 1px dashed rgb(255 255 255 / 0.15);
}
.booking__summary .icon { width: 18px; height: 18px; color: rgb(255 255 255 / 0.25); }
.has-slot .booking__summary { color: var(--green); border-style: solid; border-color: rgb(0 255 65 / 0.4); background: rgb(0 255 65 / 0.06); }
.has-slot .booking__summary .icon { color: var(--green); }
.booking__submit { width: 100%; }
.cta__alt { margin-top: 20px; text-align: center; color: var(--muted); font-size: 15px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 13px var(--f-mono); color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: rgb(0 0 0 / 0.45); color: var(--text); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 8px;
  padding: 12px 14px; font: 400 16px var(--f-body); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-dim), 0 0 20px -6px rgb(0 255 65 / 0.5); }
.field.has-error input, .field.has-error textarea { border-color: #ff5f56; }
.field__error { color: #ff8a80; font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__legal { font-size: 13px; color: var(--muted); }
.flash { display: flex; align-items: center; gap: 8px; font: 500 14px var(--f-mono); padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line); }
.flash--ok { border-color: var(--green); color: var(--green); background: var(--green-dim); }
.flash--error { border-color: #ff5f56; color: #ff8a80; }

/* rodapé */
.footer { position: relative; padding: 72px 0 32px; }
.footer::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), 92%); height: 1px; transform: translateX(-50%); background: var(--hairline); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer__logo { width: 150px; height: auto; margin-bottom: 18px; }
.footer__tagline { color: var(--muted); font-size: 15px; max-width: 26em; }
.footer__k { font: 500 12px var(--f-mono); color: var(--green); margin-bottom: 14px; }
.footer__links { display: grid; gap: 10px; justify-items: start; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px;
  font: 500 12px var(--f-mono); color: var(--muted);
  background: linear-gradient(rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.07)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* ==========================================================================
   Modo "cinema" (desktop + movimento permitido): seções fixadas e scrub.
   O MESMO media query está em static/js/site.js (MQ_CINEMA).
   ========================================================================== */
@media (min-width: 1024px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .js .sec--pilares { min-height: 100vh; padding: calc(var(--nav-h) + 16px) 0 20px; }
  /* tudo do pilar precisa caber numa tela */
  .js .sec--pilares .label { margin-bottom: 10px; }
  .js .sec--pilares .sec__title { font-size: clamp(28px, 2.6vw, 38px); }
  .js .pilar { padding: 22px 30px; gap: 40px; }
  .js .pilar__q { font-size: 17px; margin-bottom: 14px; }
  .js .pilar__name { font-size: clamp(26px, 2.4vw, 34px); }
  .js .pilar__ctx { font-size: 15px; margin-bottom: 16px; }
  .js .gain { padding: 12px 16px; font-size: 15px; }
  .js .viz { padding: 12px 16px 10px; }
  .js .viz__svg { max-height: 128px; }
  .js .viz__svg--donut { max-height: 112px; }
  .js .pilar__k { margin: 12px 0 8px; }
  .js .pilar__do { font-size: 13.5px; gap: 6px 20px; }
  .js .chips { margin-top: 12px; }
  .js .chips li { padding: 4px 9px; font-size: 11.5px; }
  .js .sec--pilares .sec__head { margin-bottom: 24px; }
  .js .sec--pilares .sec__title { margin-bottom: 0; }
  .js .editor__viewport { overflow: hidden; }
  .js .editor__track { display: flex; will-change: transform; }
  .js .pilar { flex: 0 0 100%; border-bottom: 0; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .booking { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .booking__col--form { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid rgb(255 255 255 / 0.07); }
  .safe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "core core" "a c" "b d"; }
  .safe__core { max-width: 300px; margin: 0 auto 8px; }
  .safe__item::after { display: none; }
  .nav__links { gap: 20px; }
}
@media (max-width: 960px) {
  .nav__toggle { display: inline-grid; place-items: center; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgb(3 4 7 / 0.96); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 12px 0; font-size: 17px; }
  .nav__inner { gap: 12px; }
  .hero__grid, .ise, .cta, .pilar, .faq, .ent, .pratica, .bi__row { grid-template-columns: minmax(0, 1fr); }
  .bi__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent__head { position: static; }
  .faq__head { position: static; }
  .pilar__do { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story__stage { order: -1; top: var(--nav-h); z-index: 2; padding: 8px 0 14px; background: linear-gradient(var(--bg) 85%, transparent); }
  .stage { --panel: linear-gradient(180deg, #0e1116, #07090c); }
  .stage__body { height: 290px; }
  .scene { padding: 16px; gap: 12px; }
  .story__step { min-height: 0; justify-content: flex-start; padding: 36px 0 56px 24px; }
  .story__step::before { top: 44px; }
  .cta__head { grid-template-columns: minmax(0, 1fr); }
  .cta__eye { max-width: 200px; }
  .ise__chart { max-width: 440px; width: 100%; margin: 0 auto; }
  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav__cta { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .label, .hero .label { font-size: 11px; letter-spacing: 0.28em; }
  .hero__ctas .btn { width: 100%; }
  .term__body { padding: 14px; font-size: 13px; }
  .lead-form__row, .booking, .ent__list { grid-template-columns: minmax(0, 1fr); }
  .booking__col + .booking__col { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.07); }
  .safe { grid-template-columns: minmax(0, 1fr); grid-template-areas: "core" "a" "b" "c" "d"; }
  .safe__core { max-width: 240px; }
  .scene--data { grid-template-columns: minmax(0, 1fr) 110px; }
  .report { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
  .report__ise strong { font-size: 38px; }
  .lane { grid-template-columns: 108px minmax(0, 1fr); gap: 6px 10px; padding: 8px 10px; }
  .lane__name { font-size: 12.5px; }
  .scene--teams { gap: 8px; }
  .viz__donut { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .viz__legend { width: 100%; }
  .level { grid-template-columns: 56px 1fr; }
  .level__desc { grid-column: 2; }
  .clients__item img { --h: 34px; max-width: 120px; }
  .clients__title { letter-spacing: 0.16em; }
  .clients__item--pro-mind-insights img, .clients__item--tattoo-ornamento img { --h: 44px; }
  .clients__item--synergy-group-core img { --h: 46px; }
  .faq__item summary { padding: 18px; font-size: 17px; }
  .faq__item p { padding: 0 18px 18px; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .cursor, .label .is-typing::after { animation: none; }
  .hero__visual, .bi__pulse, .safe__orbit { animation: none; }
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 28px 48px; padding: 0 var(--gutter); }
  .clients__track [aria-hidden] { display: none; }
  .clients__viewport { mask-image: none; }
}
