:root {
  --ink: #0A0D12;
  --ink-2: #12161E;
  --ink-3: #1B2130;
  --line: #232C3D;
  --lime: #C6F04D;
  --lime-dim: #8FB431;
  --paper: #F4F4EF;
  --cream: #EFEDE4;
  --cream-ink: #14161A;
  --cream-line: #C9C5B6;
  --mist: #8A93A3;
  --mist-2: #8890A0;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- intro / abertura ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s ease, visibility .8s;
}
.intro.out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.intro-v {
  fill: var(--lime);
  fill-opacity: 0;
  stroke: var(--lime);
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: intro-draw 1s .25s cubic-bezier(.6, 0, .2, 1) forwards,
             intro-fill .5s 1.05s ease forwards;
}
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fill { to { fill-opacity: 1; } }
.intro-word {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(26px, 5vw, 50px);
  letter-spacing: .14em;
  color: var(--paper);
  opacity: 0;
  transform: translateY(12px);
  animation: intro-rise .8s 1.25s cubic-bezier(.2, .7, .2, 1) forwards;
}
.intro-cur { color: var(--lime); animation: blink 1.1s steps(1) infinite; }
.intro-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  animation: intro-line 1s 1.45s cubic-bezier(.6, 0, .2, 1) forwards;
}
@keyframes intro-line { to { width: min(320px, 64vw); } }
.intro-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mist-2);
  opacity: 0;
  animation: intro-rise .8s 1.75s ease forwards;
}
@keyframes intro-rise { to { opacity: 1; transform: none; } }

/* ---------- grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- progress bar ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 85;
  background: rgba(138, 147, 163, .12);
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--lime);
  transform-origin: left;
}

/* ---------- cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 99;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-100px, -100px);
}
.cursor-dot { width: 6px; height: 6px; background: var(--lime); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(198, 240, 77, .5);
  transition: width .25s ease, height .25s ease, border-color .25s ease;
}
.cursor-ring.big { width: 62px; height: 62px; border-color: var(--lime); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 34px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  color: #fff;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}
.nav.nav-hide { transform: translateY(-110%); opacity: 0; pointer-events: none; }
@media (max-width: 1240px) {
  .nav-right a[href^="mailto"] { display: none; }
  .nav-side { gap: 18px; }
}
.nav-side { display: flex; gap: 26px; }
.nav-right { justify-content: flex-end; }
.nav a { opacity: .75; transition: opacity .2s; white-space: nowrap; }
.nav a:hover { opacity: 1; }
.nav-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  white-space: nowrap;
  opacity: 1 !important;
}
.nav-logo span { font-weight: 300; opacity: .7; }

/* ---------- pill ---------- */
.pill {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 30px;
  border-radius: 99px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  transition: transform .25s ease;
}
.pill:hover { transform: translateX(-50%) scale(1.05); }

/* ---------- reveal helpers ---------- */
.blur-reveal {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(20px);
  transition: opacity 1.1s ease, filter 1.1s ease, transform 1.1s cubic-bezier(.22, 1, .36, 1);
}
.blur-reveal.in { opacity: 1; filter: blur(0); transform: none; }
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }

.spec-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 14px;
}
.gw-dot { color: var(--lime); }

/* =====================================================
   CENA 1 — HERO (zoom scrub)
   ===================================================== */
.hero-wrap { height: 180vh; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-giant {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -54%;
  font-size: 16.5vw;
  font-weight: 900;
  font-stretch: 115%;
  letter-spacing: .02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(138, 147, 163, .28);
  white-space: nowrap;
  user-select: none;
  will-change: transform, opacity;
}
.hero-phrase {
  position: absolute;
  z-index: 3;
  font-weight: 600;
  font-stretch: 108%;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.01em;
  will-change: transform, opacity;
}
.ph-tl { top: 15vh; left: 4.5vw; }
.ph-br { bottom: 15vh; right: 4.5vw; text-align: right; color: var(--lime); }

.browser {
  position: relative;
  z-index: 2;
  width: min(620px, 82vw);
  background: #12161E;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  will-change: transform;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.browser-url {
  margin-left: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mist-2);
  background: var(--ink);
  border-radius: 5px;
  padding: 4px 14px;
  flex: 1;
  text-align: center;
}
.browser-stage { position: relative; height: 300px; }
.stage-code {
  position: absolute;
  inset: 0;
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--mist);
  white-space: pre-wrap;
}
.stage-code .tk { color: var(--lime); }
.stage-code .ts { color: var(--paper); }
.cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--lime);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.stage-site {
  position: absolute;
  inset: 0;
  padding: 20px 24px;
  opacity: 0;
}
.stage-site > *, .ss-cards i {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.stage-site.on > *, .stage-site.on .ss-cards i { opacity: 1; transform: none; }
.stage-site.on .ss-h1 { transition-delay: .12s; }
.stage-site.on .ss-h2 { transition-delay: .24s; }
.stage-site.on .ss-btn { transition-delay: .36s; }
.stage-site.on .ss-cards i:nth-child(1) { transition-delay: .48s; }
.stage-site.on .ss-cards i:nth-child(2) { transition-delay: .58s; }
.stage-site.on .ss-cards i:nth-child(3) { transition-delay: .68s; }
.ss-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.ss-logo { width: 58px; height: 12px; border-radius: 3px; background: var(--lime); display: block; }
.ss-links { display: flex; gap: 8px; }
.ss-links i { width: 34px; height: 8px; border-radius: 3px; background: var(--ink-3); display: block; }
.ss-h1 { width: 78%; height: 26px; border-radius: 5px; background: var(--paper); opacity: .92; margin-bottom: 12px; }
.ss-h2 { width: 55%; height: 12px; border-radius: 4px; background: var(--mist-2); margin-bottom: 22px; }
.ss-btn { width: 132px; height: 32px; border-radius: 16px; background: var(--lime); margin-bottom: 28px; }
.ss-cards { display: flex; gap: 12px; }
.ss-cards i { flex: 1; height: 64px; border-radius: 7px; background: var(--ink-3); border: 1px solid var(--line); display: block; }

.hero-foot {
  position: absolute;
  bottom: 24px;
  left: 34px;
  right: 34px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist-2);
}
.hf-scroll { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hf-line { width: 1px; height: 34px; background: var(--mist-2); overflow: hidden; position: relative; display: block; }
.hf-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--lime);
  animation: drop 1.8s ease infinite;
}
@keyframes drop { to { top: 100%; } }

/* =====================================================
   CENA 2 — CAPACIDADES (scroll horizontal)
   ===================================================== */
.caps { height: 320vh; background: var(--ink); }
.caps-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.caps-ghost {
  position: absolute;
  top: 46%;
  right: 3vw;
  translate: 0 -50%;
  font-size: 40vw;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(35, 44, 61, .9);
  user-select: none;
  pointer-events: none;
}
.caps-head {
  padding: 0 6vw;
  margin-bottom: 44px;
}
.caps-title {
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: .98;
  letter-spacing: -.02em;
}
.caps-track {
  display: flex;
  gap: 26px;
  padding: 0 6vw;
  will-change: transform;
}
.cap {
  flex: 0 0 min(460px, 78vw);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: border-color .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 240, 77, .09), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.cap:hover { border-color: var(--lime-dim); background: #141a24; }
.cap:hover::before { opacity: 1; }
.cap > * { position: relative; }
.cap-idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
  letter-spacing: .1em;
}
.cap h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.01em;
  margin: 20px 0 16px;
  line-height: 1.05;
}
.cap p { color: var(--mist); font-size: 15.5px; }
.cap-tag {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mist-2);
}

/* =====================================================
   CENA 3 — ANATOMIA (blueprint que se desenha)
   ===================================================== */
.anatomia { height: 200vh; background: var(--cream); color: var(--cream-ink); }
.anat-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 90px 5vw;
}
.anat-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px) minmax(250px, 1fr);
  grid-template-areas: "head schem specs";
  gap: 40px 48px;
  align-items: center;
}
.spec-head { grid-area: head; }
.schematic { grid-area: schem; display: grid; justify-items: center; gap: 18px; }
.spec-grid { grid-area: specs; }

.spec-title {
  font-size: clamp(52px, 6vw, 104px);
  font-weight: 800;
  font-stretch: 115%;
  line-height: .9;
  letter-spacing: -.03em;
  margin-top: 10px;
}
.spec-head-right { margin-top: 40px; max-width: 340px; }
.spec-class {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  font-stretch: 108%;
  line-height: 1.1;
  margin-bottom: 16px;
}
.spec-desc { font-size: 14px; opacity: .7; }
.anatomia .spec-label { opacity: .74; }

.schematic svg { width: min(360px, 80vw); height: auto; overflow: visible; }
.sch-frame rect, .sch-frame line { fill: none; stroke: var(--cream-ink); stroke-width: 1.2; opacity: .8; }
.sch-block rect { fill: none; stroke: var(--cream-ink); stroke-width: 1; opacity: .45; }
.sch-block .sch-lime { stroke: var(--lime-dim); fill: rgba(198, 240, 77, .28); opacity: 1; }
.sch-block .sch-hair { stroke: var(--cream-ink); stroke-width: 1; opacity: .3; }
.sch-note line { stroke: var(--cream-ink); stroke-width: .8; opacity: .5; stroke-dasharray: 3 3; }
.sch-note text {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  fill: var(--cream-ink);
  opacity: .65;
}
.anat-scan {
  stroke: var(--lime-dim);
  stroke-width: 2;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(143, 180, 49, .6));
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--cream-line);
  border-left: 1px solid var(--cream-line);
}
.spec-grid > div {
  border-right: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  padding: 18px 18px 22px;
}
.spec-grid dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 8px;
}
.spec-grid dd {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  gap: 18px;
  background: var(--ink);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  font-weight: 700;
  font-stretch: 115%;
  font-size: clamp(20px, 2.6vw, 34px);
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1px var(--mist-2);
  will-change: transform;
}
.marquee-track.mt-2 {
  -webkit-text-stroke: 0;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  color: var(--mist);
}
.marquee-track span { padding-right: 10px; }

/* =====================================================
   CENA — INTELIGÊNCIA (IA × humano)
   ===================================================== */
.intel { padding: 130px 6vw; }
.intel-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.intel-title {
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.0;
  letter-spacing: -.025em;
  margin-bottom: 26px;
}
.intel-mark { position: relative; display: inline-block; }
.scribble {
  position: absolute;
  inset: -18% -7% -22% -6%;
  width: 113%;
  height: 140%;
  pointer-events: none;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: .9;
}
.intel-lede { color: var(--mist); font-size: 15.5px; max-width: 54ch; }
.intel-line {
  margin-top: 20px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--paper);
}
.intel-line .gw-dot { color: var(--lime); }
.intel-brazil {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  max-width: 54ch;
}
.intel-brazil .spec-label { color: var(--lime); opacity: 1; margin-bottom: 8px; }
.intel-brazil p:last-child { margin: 0; color: var(--mist); font-size: 15.5px; line-height: 1.65; }
.intel-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
}
.intel-pills li {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 18px;
  transition: border-color .25s, color .25s;
}
.intel-pills li:hover { border-color: var(--lime-dim); color: var(--lime); }
.robo { position: relative; margin: 0; display: grid; gap: 16px; justify-items: center; }
.robo-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}
.robo .spec-label { margin: 0; }
.trail-img {
  position: absolute;
  width: clamp(90px, 10vw, 150px);
  height: auto;
  border: 1px solid var(--lime-dim);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  animation: trail-pop .9s cubic-bezier(.22, 1, .36, 1) forwards;
  filter: saturate(.85);
}
@keyframes trail-pop {
  0% { opacity: 0; scale: .55; }
  18% { opacity: 1; scale: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; scale: .92; translate: 0 -26px; }
}

/* =====================================================
   CENA — CINEMA (manifesto em vídeo)
   ===================================================== */
.cinema { position: relative; padding: 150px 6vw 170px; overflow: hidden; }
.cinema-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.cinema-head { margin-bottom: 54px; text-align: center; }
.cinema-title {
  font-size: clamp(46px, 7.4vw, 112px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: .98;
  letter-spacing: -.025em;
}
.cinema-sub {
  margin: 22px auto 0;
  max-width: 52ch;
  color: var(--mist);
  font-size: 15.5px;
}
.cine-video {
  position: relative;
  min-width: 0;
  max-width: 960px;
  margin: 0 auto;
}
.cine-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: 0 50px 140px rgba(0, 0, 0, .55);
}
.cine-play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 0;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, opacity .3s;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.cine-play:hover { transform: scale(1.08); }
.cine-play.off { opacity: 0; pointer-events: none; }
.cine-still {
  position: absolute;
  z-index: 1;
  width: clamp(180px, 22vw, 320px);
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  opacity: .35;
  filter: grayscale(1) brightness(.75) contrast(1.05);
  pointer-events: none;
  will-change: transform;
}
.cs-1 { top: 6%; right: -3%; }
.cs-2 { bottom: 4%; left: -4%; }

/* =====================================================
   CENA 4 — ESCALA (legível)
   ===================================================== */
.escala { height: 200vh; background: var(--ink); }
.escala-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.escala-word {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  font-size: clamp(52px, 11vw, 168px);
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: .02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(198, 240, 77, .55);
  white-space: nowrap;
  user-select: none;
  will-change: transform, opacity;
}
#globe {
  width: min(600px, 92vw);
  height: auto;
  aspect-ratio: 1;
  position: relative;
  z-index: 2;
}
.escala-copy {
  position: absolute;
  z-index: 3;
  right: 6vw;
  bottom: 12vh;
  max-width: 340px;
  color: var(--mist);
  font-size: 15.5px;
}
.escala-copy .spec-label { color: var(--lime); opacity: 1; }

/* =====================================================
   CENA 5 — NÚMEROS
   ===================================================== */
.numeros { padding: 130px 5vw; content-visibility: auto; contain-intrinsic-size: auto 640px; }
.numeros > .spec-label { color: var(--mist-2); opacity: 1; margin-bottom: 40px; }
.num-rows { border-top: 1px solid var(--line); }
.num-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.num-row {
  position: relative;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), background .35s ease;
  padding-left: 0;
}
.num-row::after {
  content: "→";
  position: absolute;
  left: -44px;
  top: 50%;
  translate: 0 -50%;
  color: var(--lime);
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  opacity: 0;
  transition: opacity .3s, left .35s cubic-bezier(.22, 1, .36, 1);
}
@media (pointer: fine) {
  .num-row:hover { transform: translateX(34px); }
  .num-row:hover::after { opacity: 1; left: -40px; }
  .num-row:hover .num { text-shadow: 0 0 34px rgba(198, 240, 77, .45); }
}
.num {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: text-shadow .3s ease;
}
.odo { display: inline-flex; overflow: hidden; height: 1em; vertical-align: top; }
.odo-col { display: flex; flex-direction: column; transform: translateY(0); }
.odo-col.go { transition: transform 1.35s cubic-bezier(.16, 1, .3, 1); }
.odo-col span { height: 1em; line-height: 1; }
.num-desc {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: right;
  max-width: 300px;
}
.ast { color: var(--lime); font-weight: 500; }
sup.ast { font-size: .7em; }
.num-note {
  margin-top: 30px;
  max-width: 620px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: .02em;
  color: var(--mist-2);
}

/* =====================================================
   CENA 6 — CONTATO
   ===================================================== */
.contato {
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5vw 160px;
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
  position: relative;
  overflow: hidden;
}
#constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.contato > :not(#constellation):not(.shader) { position: relative; z-index: 2; }
.contato > .shader { position: absolute; inset: 0; z-index: 0; }
#constellation { z-index: 1; }
.btn-big { will-change: transform; }
.cta-giant {
  font-size: clamp(44px, 7.6vw, 110px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.cta-giant em { font-style: normal; color: var(--lime); }
.cta-sub { margin: 28px auto 40px; max-width: 480px; color: var(--mist); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-big {
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  font-size: 15.5px;
  padding: 16px 36px;
  border-radius: 99px;
  transition: transform .2s ease;
}
.btn-big:hover { transform: scale(1.05); }
.btn-line { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--mist-2); }

/* ---------- processo ---------- */
.processo {
  padding: 90px 6vw;
  border-top: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
.processo > .spec-label { color: var(--mist-2); opacity: 1; margin-bottom: 36px; }
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid var(--line);
}
.proc-step { border-right: 1px solid var(--line); padding: 8px 26px 4px; }
.proc-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--lime);
  display: block;
  margin-bottom: 14px;
}
.proc-step h3 {
  font-size: 19px;
  font-weight: 700;
  font-stretch: 110%;
  margin-bottom: 8px;
}
.proc-step p { font-size: 13.5px; color: var(--mist); line-height: 1.6; }

/* ---------- formulário ---------- */
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(560px, 100%);
  margin: 36px auto 18px;
}
.cta-form input {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 18px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 15px;
  transition: border-color .25s;
}
.cta-form input::placeholder { color: var(--mist-2); }
.cta-form input:focus { border-color: var(--lime); outline: none; }
.cta-form input[name="empresa"] { grid-column: 1 / -1; }
.cta-form button { grid-column: 1 / -1; border: 0; cursor: pointer; font-family: var(--display); }
.form-msg { grid-column: 1 / -1; font-family: var(--mono); font-size: 13px; min-height: 20px; color: var(--lime); margin: 0; }
.form-msg.err { color: #F09595; }
@media (max-width: 900px) {
  .proc-grid { grid-template-columns: 1fr 1fr; border-left: 0; }
  .proc-step { border-right: 0; border-left: 1px solid var(--line); margin-bottom: 26px; }
  .cta-form { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 34px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist-2);
  content-visibility: auto;
  contain-intrinsic-size: auto 90px;
}
.footer-mid { color: var(--lime); font-family: var(--display); font-weight: 800; font-size: 16px; }
.footer-links { display: flex; gap: 20px; align-items: center; }
.footer-links a, .footer-link-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .2s;
}
.footer-links a:hover, .footer-link-btn:hover { color: var(--lime); }

/* ---------- banner de cookies ---------- */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: flex;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.cookie[hidden] { display: none; }
.cookie-inner {
  pointer-events: auto;
  max-width: 780px;
  width: 100%;
  background: #12161E;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  gap: 22px;
  align-items: center;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .55);
}
.cookie-txt { font-size: 13.5px; color: var(--mist); line-height: 1.55; margin: 0; }
.cookie-txt a { color: var(--lime); }
.cookie-acts { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  transition: border-color .2s, transform .15s;
}
.cookie-reject:hover { border-color: var(--mist-2); }
.cookie-accept { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.cookie-accept:hover { transform: translateY(-1px); }
body.ck-open .pill { opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-acts { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blur-reveal, .reveal { opacity: 1; filter: none; transform: none; transition: none; }
  .cursor, .bt-cursor, .intro-cur, .hf-line::after { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
  .anat-scan { opacity: 0; }
  .intro { display: none; }
  .nav { transition: none; }
  .marquee-track { animation: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .anat-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "schem" "specs";
    gap: 34px;
  }
  .anat-sticky { position: relative; min-height: auto; padding: 90px 6vw; }
  .anatomia { height: auto; }
  .spec-head-right { margin-top: 24px; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; padding: 18px 20px; }
  .nav-side:first-child { display: none; }
  .nav-right { gap: 16px; }
  .nav-right a[href*="wa.me"] { display: none; }
  .nav-logo { font-size: 13px; }
  .hero-giant { font-size: 24vw; }
  .ph-tl { top: 11vh; left: 6vw; }
  .ph-br { bottom: 22vh; right: 6vw; }
  .hf-scroll .hf-line { height: 22px; }
  .browser-stage { height: 250px; }
  .hero-foot { bottom: 96px; }
  .hero-foot .hf-item:first-child, .hero-foot .hf-item:last-child { display: none; }
  .hf-scroll { margin: 0 auto; }
  .caps { height: 300vh; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .intel { padding: 80px 6vw; }
  .intel-grid { grid-template-columns: 1fr; }
  .robo { order: -1; }
  .robo-img { max-width: 340px; max-height: 56vh; }
  .cinema { padding: 80px 6vw 100px; }
  .cine-play { width: 72px; height: 72px; }
  .cine-still { display: none; }
  .escala-word { top: 26%; }
  .escala-copy { right: 6vw; left: 6vw; bottom: 8vh; max-width: none; }
  .num-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .num-desc { text-align: left; }
  .contato { contain-intrinsic-size: auto 1600px; }
  .footer { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .nav-right a { display: none; }
  .nav-right a[href="en/"], .nav-right a[href="../"] { display: inline; }
  .cap { flex-basis: 82vw; padding: 32px 26px; min-height: 300px; }
  .proc-grid { grid-template-columns: 1fr; }
  .proc-step { margin-bottom: 18px; padding-right: 12px; }
}

/* =====================================================
   V4 LAYER — releitura moderna
   ===================================================== */

/* shader de atmosfera */
.shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-giant { z-index: 1; }
.hero-sticky .browser { z-index: 2; }
.contato .shader { position: absolute; }

/* rail lateral */
.rail {
  position: fixed;
  left: 26px;
  top: 50%;
  translate: 0 -50%;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  mix-blend-mode: difference;
}
.rail a { color: rgba(255,255,255,.45); transition: color .25s, letter-spacing .25s; writing-mode: vertical-rl; text-orientation: mixed; }
.rail a:hover, .rail a.on { color: #C6F04D; letter-spacing: .3em; }
.rail-line { position: absolute; left: -12px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.15); }
.rail-line i { position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #C6F04D; box-shadow: 0 0 12px #C6F04D; }

/* reveals v4 — máscara de linha no lugar do blur */
.blur-reveal {
  opacity: 1;
  filter: none;
  transform: none;
  clip-path: inset(0 0 102% 0);
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1);
}
.blur-reveal.in { clip-path: inset(-2% 0 -8% 0); }

/* bento */
.bento { padding: 130px 6vw 120px; }
.bento-head { max-width: 1180px; margin: 0 auto 44px; }
.bento-title {
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: .98;
  letter-spacing: -.02em;
}
.bento-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
}
.bento-grid .cap { flex: none; min-height: 0; padding: 30px 28px; }
.b-a { grid-column: span 2; grid-row: span 2; display: flex; }
.b-b { grid-column: span 1; }
.b-c { grid-column: span 1; grid-row: span 2; padding: 0 !important; position: relative; }
.b-d { grid-column: span 1; position: relative; }
.b-e { grid-column: span 4; position: relative; }
.bento-grid h3 { font-size: clamp(20px, 2vw, 27px); margin: 14px 0 10px; }
.bento-grid p { font-size: 14px; }
.bento-grid .cap-tag { padding-top: 16px; }

.b-mock { margin: auto 0 18px; max-width: 340px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink); overflow: hidden; }
.bm-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.bm-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.bm-bar em { margin-left: 8px; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--mist-2); letter-spacing: .04em; }
.bm-body { display: grid; gap: 9px; padding: 16px 14px; }
.bm-body span { display: block; border-radius: 4px; }
.bm-logo { width: 52px; height: 10px; background: var(--lime); }
.bm-h1 { width: 85%; height: 20px; background: var(--paper); opacity: .9; }
.bm-h2 { width: 60%; height: 10px; background: var(--mist-2); }
.bm-btn { width: 110px; height: 26px; border-radius: 13px; background: var(--lime); }

.b-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(10,13,18,0) 30%, rgba(10,13,18,.92) 82%);
}
.b-overlay h3 { color: var(--paper); }
.b-overlay p { color: var(--mist); }

.b-gauge { position: absolute; right: 20px; bottom: 48px; width: 48px; height: 48px; }
.b-gauge svg { width: 48px; height: 48px; transform: rotate(-90deg); }
.b-gauge .track { fill: none; stroke: var(--ink-3); stroke-width: 8; }
.b-gauge .fill { fill: none; stroke: var(--lime); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.b-gauge b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--lime); font-variant-numeric: tabular-nums; }
.b-d p { padding-right: 8px; }

.b-e { padding-bottom: 78px !important; }
.b-term {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mist);
}
.bt-dots { display: flex; gap: 5px; }
.bt-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.b-term code span { color: var(--lime); }
.bt-cursor { display: inline-block; width: 7px; height: 13px; background: var(--lime); vertical-align: -2px; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
.b-term .cap-tag { margin-left: auto; padding: 0; }

/* hero v4: letras do gigante viram spans p/ onda de peso */
.hero-giant span { display: inline-block; will-change: font-variation-settings; }

@media (max-width: 1100px) { .rail { display: none; } }
@media (max-width: 900px) {
  .bento { padding: 80px 6vw; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .b-a { grid-column: span 2; }
  .b-e { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-a, .b-c, .b-e { grid-column: span 1; grid-row: span 1; }
  .b-c { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .blur-reveal { clip-path: none; transition: none; }
  .shader { display: none; }
  .bt-cursor { animation: none; }
}

/* touch: reveals abrem instantâneos; máscara por clip-path é experiência desktop
   (content-visibility atrasa o layout e deixaria seções em branco no flick) */
@media (pointer: coarse) {
  .blur-reveal, .blur-reveal.in { clip-path: none; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* reforços bento */
.b-d p { padding-right: 74px; }
.b-c .b-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(10,13,18,0) 30%, rgba(10,13,18,.94) 82%);
  z-index: 1;
}
.b-c .b-overlay .cap-tag { margin-top: 12px; padding-top: 0; }

.bm-shot { display: block; width: 100%; height: auto; }

/* shader: desligado em touch por decisão (bateria/GPU); nevoa é experiência desktop */
@media (pointer: coarse), (max-width: 900px) {
  .shader { display: none; }
}
/* card 05 mobile: terminal entra no fluxo abaixo do texto, sem sobrepor */
@media (max-width: 900px) {
  .b-e { padding-bottom: 30px !important; }
  .b-term {
    position: static;
    margin: 18px -28px -30px;
    border-radius: 0 0 14px 14px;
  }
}

.b-term { flex-wrap: wrap; }
.b-term code { white-space: nowrap; }


/* Conteudo lido por buscadores e leitores de tela, invisivel na tela.
   Usado no h1 da home: o hero e formado por duas frases em cantos opostos,
   movidas por scrub, entao nao existe bloco unico que possa virar titulo sem
   quebrar a animacao. O texto do h1 diz a mesma coisa que a pagina comunica
   visualmente, entao nao e texto oculto no sentido que o Google penaliza. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
