/* ==========================================================================
   REIAL — "Calibragem" design system
   Concept: a white lab where scroll tunes reality into focus.
   Techniques (epic-design catalogue): 6-layer depth parallax, pinned hero
   with face-window zoom, scroll-scrubbed calibration (blur → sharp), word-by-
   word scroll lighting, masked line reveal, circle/inset iris expand,
   top-down clip birth, diagonal wipe birth, split converge, cover-scale panel.
   Motion rules: Emil Kowalski (custom curves, <300ms UI, scale .97 press,
   never from scale(0), transform/opacity/clip-path/filter only).
   ========================================================================== */

:root {
  /* Brand gradient — exact logo stops */
  --g-1: #00FC83; --g-2: #00F8B2; --g-3: #00F1EF; --g-4: #00CAFA; --g-5: #0083FD;
  --grad-brand: linear-gradient(90deg, #00FC83 0%, #00F8B2 22%, #00F1EF 46%, #00CAFA 66%, #0083FD 100%);
  /* Text-safe gradient for large type on white (every stop ≥ 3:1) */
  --grad-ink: linear-gradient(90deg, #00A35C 0%, #00968A 40%, #0080B8 70%, #0068D4 100%);

  /* Ink */
  --ink: #061A2E;       /* 17.6:1 */
  --ink-2: #3E5468;     /* 7.9:1 */
  --ink-3: #5B6B7A;     /* 5.5:1 */
  --ink-blue: #0059B8;  /* 6.7:1 */
  --ink-teal: #00786F;  /* 5.4:1 */

  /* Surfaces */
  --bg: #FFFFFF;
  --surface-1: #F7FBFA;
  --surface-2: #F2FAF8;
  --tint-green: #E8FFF4; --tint-cyan: #E6FDFD; --tint-blue: #EAF3FF;
  --line: #DCE7EC; --line-strong: #8FA6B3;
  --deep: #05111F; --deep-2: #0A1E33;
  --on-deep: #FFFFFF; --on-deep-2: #9FB3C4;
  --error: #B3261E;
  --wa: #25D366;

  /* Type */
  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Onest", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, monospace;
  --fs-display: clamp(2.35rem, 1.1rem + 5.4vw, 6.6rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.7vw, 3.6rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .7vw, 1.65rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.375rem);
  --fs-body: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-eyebrow: clamp(.6875rem, .66rem + .12vw, .8125rem);

  /* Space / shape */
  --section-y: clamp(96px, 8vw + 48px, 184px);
  --r-xs: 6px; --r-sm: 12px; --r-md: 20px; --r-lg: 32px; --r-xl: 48px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(6 26 46 / .06), 0 2px 8px rgb(6 26 46 / .04);
  --sh-2: 0 12px 32px -12px rgb(6 26 46 / .18);
  --sh-3: 0 32px 80px -24px rgb(6 26 46 / .28);
  --glow-green: 0 0 0 1px rgb(0 252 131 / .35), 0 12px 40px -8px rgb(0 252 131 / .55);
  --container: 1360px;
  --pad-x: clamp(20px, 5vw, 80px);
  --gutter: clamp(16px, 2vw, 32px);
  --nav-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink-blue); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
::selection { background: var(--g-3); color: var(--ink); }

.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;
}

/* Two-tone focus ring: legible on white, deep and gradient */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--g-3);
  border-radius: 6px;
}
.on-deep :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--g-5); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { position: relative; padding-block: var(--section-y); }

/* ---------- Depth system (epic-design) ---------- */
.layer { position: absolute; inset: 0; pointer-events: none; }
.depth-0 { z-index: 0; }
.depth-1 { z-index: 1; }
.depth-2 { z-index: 2; }
.depth-3 { z-index: 3; }
.depth-4 { z-index: 4; position: relative; pointer-events: auto; }
.depth-5 { z-index: 5; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-teal);
  margin: 0 0 24px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  /* antenna ball — the brand's "live signal" */
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 0 4px rgb(0 241 239 / .18);
}
.on-deep .eyebrow { color: var(--g-1); }

.h-display {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  line-height: .94;
  letter-spacing: -.035em;
  font-weight: 800;
}
.h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -.01em;
  font-weight: 600;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.body-2 { color: var(--ink-2); max-width: 62ch; }
.grad-text, .grad-text .wi {
  background: var(--grad-ink);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.on-deep .grad-text, .on-deep .grad-text .wi { background-image: var(--grad-brand); }

/* split-text scaffolding */
.split .ln { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; will-change: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--h);
  padding: 8px 10px 8px 28px;
  border-radius: var(--r-pill);
  border: 0;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
  line-height: 1.2;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 160ms var(--ease-out), background-position 360ms ease, box-shadow 200ms ease, color 200ms ease, background-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn__arrow {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  transition: transform 200ms var(--ease-out);
}
.btn__arrow svg { width: 16px; height: 16px; }
.btn--primary {
  background-image: linear-gradient(90deg, #00FC83 0%, #00F8B2 11%, #00F1EF 23%, #00CAFA 33%, #0083FD 50%, #00CAFA 67%, #00F1EF 77%, #00FC83 100%);
  background-size: 200% 100%;
  background-position: 0% 0;
}
.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  padding-right: 28px;
}
.btn--ghost .btn__arrow { display: none; }
.on-deep .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .7); }
.btn--sm { --h: 46px; font-size: .8125rem; padding: 4px 6px 4px 20px; }
.btn--sm .btn__arrow { width: 34px; height: 34px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background-position: 100% 0; box-shadow: var(--sh-2); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
  .btn--ghost:hover { background: var(--ink); color: #fff; }
  .on-deep .btn--ghost:hover { background: #fff; color: var(--ink); }
}

/* Spinner inside submit */
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 600ms linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Price chip (robot chip) ---------- */
.price {
  position: relative;
  display: inline-flex; flex-direction: column; gap: 6px;
  padding: 18px 26px 16px;
  border-radius: var(--r-md);
  background: var(--deep);
  color: #fff;
  isolation: isolate;
}
.price::before {
  /* 1px gradient border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  z-index: -1;
}
.price::after {
  /* ear tabs */
  content: ""; position: absolute; top: 50%; left: -7px; right: -7px; height: 26px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--g-1) 0 7px, transparent 7px calc(100% - 7px), var(--g-5) calc(100% - 7px));
  border-radius: 4px; z-index: -2;
}
.price__antenna {
  position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; background: var(--g-3);
  transform: translateX(-50%);
}
.price__antenna::after {
  content: ""; position: absolute; left: 50%; top: -6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--g-3); transform: translateX(-50%);
  animation: antenna 2.4s ease-in-out infinite;
}
@keyframes antenna { 0%, 100% { box-shadow: 0 0 0 0 rgb(0 241 239 / .6); } 50% { box-shadow: 0 0 0 7px rgb(0 241 239 / 0); } }
.price__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-2); }
.price__value {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: transform 240ms var(--ease-out), background-color 240ms ease, box-shadow 240ms ease;
}
.nav.is-scrolled {
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: block; width: 116px; flex: none; transition: opacity 240ms ease, transform 240ms var(--ease-out); }
.nav__logo img { width: 100%; }
.nav:not(.is-scrolled) .nav__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a {
  position: relative; display: block; padding: 10px 14px;
  font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--r-pill);
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-ink); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
}
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__links a[aria-current="true"] { font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); } }
.nav__cta { flex: none; transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.nav__cta.is-muted { opacity: 0; transform: translateY(-4px); pointer-events: none; }
.nav__toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; place-items: center;
  transition: transform 160ms var(--ease-out);
}
.nav__toggle:active { transform: scale(.95); }
.nav__toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

/* progress eyes in nav — scroll progress indicator */
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-brand); transform-origin: left; transform: scaleX(0); }

/* Mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--bg); padding: 16px var(--pad-x) calc(24px + env(safe-area-inset-bottom));
  transform: translateY(-100%); visibility: hidden;
  transition: transform 420ms var(--ease-drawer), visibility 0s linear 420ms;
}
.sheet.is-open { transform: none; visibility: visible; transition: transform 420ms var(--ease-drawer), visibility 0s; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.sheet__top img { width: 116px; }
.sheet__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 1.5rem; line-height: 1; }
.sheet__links { list-style: none; margin: 32px 0 0; padding: 0; display: grid; align-content: start; gap: 4px; }
.sheet__links a { display: block; padding: 12px 0; font-family: var(--f-display); font-size: 1.75rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet__actions { display: grid; gap: 12px; }
.sheet__actions .btn { width: 100%; justify-content: space-between; }
.sheet__actions .btn--ghost { justify-content: center; }

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav__logo { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 64px;
  overflow: clip;
}
.hero__grid {
  background-image: radial-gradient(circle at 1px 1px, rgb(6 26 46 / .12) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 0%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.glow--a { width: 46vw; height: 46vw; right: -6vw; top: 4vh; background: radial-gradient(circle, rgb(0 241 239 / .55), transparent 65%); }
.glow--b { width: 34vw; height: 34vw; left: 26vw; bottom: -14vw; background: radial-gradient(circle, rgb(0 252 131 / .45), transparent 65%); }
.glow--c { width: 28vw; height: 28vw; right: 18vw; bottom: -6vw; background: radial-gradient(circle, rgb(0 131 253 / .35), transparent 65%); }

.hero__inner {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: var(--gutter);
}
.hero__logo { width: clamp(160px, 15vw, 230px); margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero__title { margin-bottom: 24px; max-width: 13ch; font-size: clamp(2.35rem, 1rem + 4.4vw, 5.4rem); }
.hero__title .grad-text { display: inline; }
.hero__text { max-width: 52ch; }
.hero__text p:first-child { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); }
.hero__text p:last-child { color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 28px; margin-top: 28px; }

.hero__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 640px;
  justify-self: end;
}
.robot { position: absolute; inset: 6% 4% 8% 4%; width: 92%; height: auto; overflow: visible; z-index: 3; }
.robot .eye { transform-box: fill-box; transform-origin: center; }
.robot__signal { transform-box: fill-box; transform-origin: center; }

/* Photo tiles orbiting the robot — "real" businesses around the AI */
.tile {
  position: absolute; z-index: 2;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-3);
  background: var(--surface-2);
  outline: 6px solid #fff;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--1 { width: 32%; aspect-ratio: 4 / 3; left: -6%; top: 60%; }
.tile--2 { width: 26%; aspect-ratio: 3 / 4; right: -8%; top: 2%; }
.tile--3 { width: 32%; aspect-ratio: 16 / 10; right: -4%; bottom: 2%; }
.tile__chip {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgb(255 255 255 / .9); padding: 5px 8px; border-radius: var(--r-xs);
  display: inline-flex; gap: 6px; align-items: center;
}
.tile__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g-1); }

/* Calibration brackets (robot "ears" as focus brackets) */
.bracket { position: absolute; width: 28px; height: 28px; border: 2px solid var(--ink); z-index: 4; }
.bracket--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.bracket--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.bracket--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.bracket--br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }

.hero__readout {
  position: absolute; left: 6%; bottom: -2%; z-index: 4;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  display: flex; gap: 16px;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--ink-3);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--ink);
  transform: translateX(-50%); animation: cue 1.8s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translate(-50%, 0); opacity: 1; } 70% { transform: translate(-50%, 12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 8px); align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 340px; width: 78%; justify-self: center; margin-bottom: 8px; }
  .hero__logo { display: none; }
  .tile--1 { left: -22%; } .tile--2 { right: -18%; }
  .hero__readout, .scroll-cue { display: none; }
  .hero__actions { gap: 28px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   2. SERVIÇOS — calibration + bento
   ========================================================================== */
.reality { position: relative; padding-top: clamp(48px, 6vw, 96px); }
.reality__frame {
  position: relative;
  margin-inline: auto;
  width: min(100% - 2 * var(--pad-x), var(--container) - 2 * var(--pad-x));
  aspect-ratio: 16 / 8.2;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--deep);
  isolation: isolate;
}
.reality__photo { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; }
.reality__tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgb(0 252 131 / .55), rgb(0 241 239 / .35) 45%, rgb(0 131 253 / .6));
  mix-blend-mode: soft-light;
}
.reality__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgb(5 17 31 / 0) 30%, rgb(5 17 31 / .82) 100%); }
.grain {
  position: absolute; inset: 0; z-index: 3; opacity: 0; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>");
}
.reality__copy {
  position: absolute; z-index: 4; left: clamp(24px, 5vw, 72px); right: clamp(24px, 5vw, 72px); bottom: clamp(24px, 4.5vw, 64px);
  color: #fff;
}
.reality__copy .eyebrow { color: var(--g-1); }
.reality__title { color: #fff; max-width: 22ch; font-size: clamp(1.5rem, .9rem + 2.6vw, 3.4rem); }
.reality__title .w { overflow: visible; }
.reticle { position: absolute; z-index: 4; inset: clamp(16px, 2.5vw, 32px); pointer-events: none; }
.reticle .bracket { border-color: rgb(255 255 255 / .85); width: 36px; height: 36px; }
.reality__hud {
  position: absolute; z-index: 4; top: clamp(24px, 3.5vw, 48px); right: clamp(28px, 4vw, 60px);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .85);
  display: flex; align-items: center; gap: 10px;
}
.reality__hud b { font-weight: 500; color: var(--g-1); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }

.services { padding-top: clamp(72px, 8vw, 128px); }
.services__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter);
  list-style: none; margin: 0; padding: 0;
}
.service {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 400px;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
  overflow: hidden;
}
.service:nth-child(even) { margin-top: 64px; }
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand);
  clip-path: inset(0 100% 0 0); transition: clip-path 360ms var(--ease-out);
}
.service.is-lit::before { clip-path: inset(0 0 0 0); }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 48px; }
.service__index { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--ink-3); }
.service__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--tint-green); color: var(--ink);
}
.service:nth-child(2) .service__icon, .service:nth-child(3) .service__icon { background: var(--tint-cyan); }
.service:nth-child(4) .service__icon { background: var(--tint-blue); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 14px; }
.service p { color: var(--ink-2); margin: 0; font-size: .975rem; }
@media (hover: hover) and (pointer: fine) {
  .service:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
}
.services__cta { display: flex; justify-content: center; margin-top: clamp(56px, 6vw, 96px); }

@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(even) { margin-top: 0; }
  .service:nth-child(2n) { transform: translateY(40px); }
  .services__grid { padding-bottom: 40px; }
}
@media (max-width: 640px) {
  .reality__frame { aspect-ratio: 4 / 5; border-radius: var(--r-lg); width: calc(100% - 32px); }
  .services__grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .service:nth-child(2n) { transform: none; }
  .service { min-height: 0; }
  .service__top { padding-bottom: 32px; }
  .services__cta .btn { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   3. VÍDEO
   ========================================================================== */
.video { padding-top: var(--section-y); }
.video__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.video__head .h2 { max-width: 16ch; }
.video__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--deep);
}
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__scrim { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(5 17 31 / .25), rgb(5 17 31 / .72)); }
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: clamp(112px, 12vw, 168px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 0; border-radius: 34%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 24px 60px -16px rgb(0 0 0 / .5);
  transition: transform 180ms var(--ease-out);
}
.video__play::before {
  /* gradient ring */
  content: ""; position: absolute; inset: -6px; border-radius: 36%; padding: 3px; background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.video__play .pulse { position: absolute; inset: -6px; border-radius: 36%; box-shadow: 0 0 0 2px var(--g-3); opacity: 0; }
.video__play svg { width: 54%; height: auto; }
@media (hover: hover) and (pointer: fine) { .video__play:hover { transform: translate(-50%, -50%) scale(1.04); } }
.video__label {
  position: absolute; left: 50%; bottom: clamp(20px, 3vw, 36px); z-index: 3; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgb(5 17 31 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap;
}
.video__stage iframe, .video__stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; background: #000; }
.video__stage .bracket { border-color: rgb(255 255 255 / .9); z-index: 4; }
.video__stage .bracket--tl, .video__stage .bracket--bl { left: 24px; } .video__stage .bracket--tr, .video__stage .bracket--br { right: 24px; }
.video__stage .bracket--tl, .video__stage .bracket--tr { top: 24px; } .video__stage .bracket--bl, .video__stage .bracket--br { bottom: 24px; }
.video__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) {
  .video__head { grid-template-columns: 1fr; }
  .video__stage { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
  .video__stage .bracket { display: none; }
  .video__cta .btn { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   4. CASES
   ========================================================================== */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-bottom: clamp(48px, 6vw, 88px); align-items: end; }
.section-head__title { grid-column: 1 / span 7; }
.section-head__text { grid-column: 8 / span 5; margin: 0; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head__title, .section-head__text { grid-column: auto; }
}
.cases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); list-style: none; padding: 0; margin: 0; }
.case { position: relative; }
.case__cover {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--deep); color: #fff; isolation: isolate;
}
.case__art { position: absolute; inset: 0; transition: transform 500ms var(--ease-out); }
.case__mesh { position: absolute; inset: 0; }
.case:nth-child(1) .case__mesh { background: radial-gradient(120% 80% at 0% 0%, rgb(0 252 131 / .75), transparent 55%), radial-gradient(90% 70% at 100% 100%, rgb(0 131 253 / .6), transparent 60%), var(--deep); }
.case:nth-child(2) .case__mesh { background: radial-gradient(110% 80% at 100% 0%, rgb(0 241 239 / .7), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgb(0 252 131 / .45), transparent 60%), var(--deep); }
.case:nth-child(3) .case__mesh { background: radial-gradient(110% 90% at 50% 0%, rgb(0 131 253 / .75), transparent 55%), radial-gradient(90% 70% at 100% 100%, rgb(0 241 239 / .5), transparent 60%), var(--deep); }
.case__robot { position: absolute; right: -18%; bottom: -10%; width: 90%; opacity: .1; }
.case__icon { position: absolute; left: 28px; top: 28px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgb(255 255 255 / .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case__icon svg { width: 32px; height: 32px; }
.case__city {
  position: absolute; left: 24px; right: -40%; bottom: 76px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.6vw, 4.6rem); line-height: .88; letter-spacing: -.04em;
  color: #fff; white-space: nowrap; opacity: .96;
}
.case__uf { position: absolute; left: 28px; bottom: 32px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; color: rgb(255 255 255 / .8); }
.case__chips { position: absolute; right: 20px; top: 24px; display: flex; gap: 6px; }
.chip { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: var(--r-pill); background: rgb(255 255 255 / .14); color: #fff; }
.case__body { padding: 22px 4px 0; display: grid; gap: 14px; }
.case__name { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); }
.case__name small { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; font-weight: 500; color: var(--ink-3); text-transform: uppercase; }
.case__desc { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.case__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.pill-btn:active { transform: scale(.97); }
.pill-btn svg { width: 14px; height: 14px; }
.pill-btn[aria-disabled="true"] { border-style: dashed; border-color: var(--line-strong); color: var(--ink-3); cursor: not-allowed; }
.pill-btn .soon { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; padding: 3px 6px; border-radius: 6px; background: var(--surface-2); color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
  .case:hover .case__art { transform: scale(1.04); }
  .pill-btn:not([aria-disabled="true"]):hover { background: var(--ink); color: #fff; }
}
@media (max-width: 900px) {
  .cases__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
    margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); scroll-padding-inline: var(--pad-x);
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .cases__grid::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: start; }
}

/* Dialog */
.dialog {
  border: 0; padding: 0; border-radius: var(--r-lg); width: min(920px, calc(100% - 32px)); max-height: calc(100svh - 48px);
  background: #fff; color: var(--ink); box-shadow: var(--sh-3);
  opacity: 0; transform: scale(.96);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), overlay 240ms allow-discrete, display 240ms allow-discrete;
}
.dialog[open] { opacity: 1; transform: none; }
@starting-style { .dialog[open] { opacity: 0; transform: scale(.96); } }
.dialog::backdrop { background: rgb(5 17 31 / .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.dialog__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 1.4rem; line-height: 1; transition: transform 160ms var(--ease-out); }
.dialog__close:active { transform: scale(.95); }
.dialog__body img { width: 100%; height: auto; }

/* ==========================================================================
   5. ECOSSISTEMA
   ========================================================================== */
.eco__band {
  position: relative; height: clamp(260px, 34vw, 520px); margin-bottom: clamp(56px, 7vw, 112px);
  border-radius: var(--r-xl); overflow: hidden; background: var(--deep);
}
.eco__band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.eco__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 252 131 / .18), rgb(0 131 253 / .22)); mix-blend-mode: soft-light; }
.eco__band-tag {
  position: absolute; z-index: 2; left: 24px; bottom: 24px;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  background: rgb(255 255 255 / .92); padding: 8px 12px; border-radius: var(--r-pill);
  display: inline-flex; gap: 8px; align-items: center;
}
.eco__band-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-1); box-shadow: 0 0 0 3px rgb(0 252 131 / .25); }
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); list-style: none; margin: 0; padding: 0; }
.partner { display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.partner__logo {
  height: 168px; border-radius: var(--r-md); background: var(--surface-2);
  display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden;
}
.partner__logo img { max-height: 72px; width: auto; filter: grayscale(1); opacity: .7; transition: filter 240ms ease, opacity 240ms ease; }
.partner__mark { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -.03em; color: var(--ink); opacity: .55; transition: opacity 240ms ease; text-align: center; line-height: 1; }
.partner__mark--pinhao { font-family: var(--f-body); font-weight: 600; letter-spacing: -.01em; }
.partner__mark--midia { font-family: var(--f-body); font-weight: 800; letter-spacing: -.04em; }
.partner__logo .bracket { width: 18px; height: 18px; opacity: 0; transition: opacity 200ms ease, transform 240ms var(--ease-out); }
.partner__logo .bracket--tl { left: 14px; top: 14px; transform: translate(6px, 6px); }
.partner__logo .bracket--tr { right: 14px; top: 14px; transform: translate(-6px, 6px); }
.partner__logo .bracket--bl { left: 14px; bottom: 14px; transform: translate(6px, -6px); }
.partner__logo .bracket--br { right: 14px; bottom: 14px; transform: translate(-6px, -6px); }
.partner:focus-within .partner__logo img { filter: none; opacity: 1; }
.partner:focus-within .partner__mark { opacity: 1; }
.partner:focus-within .bracket { opacity: 1; transform: none; }
.partner h3 { margin-bottom: 12px; }
.partner p { color: var(--ink-2); margin: 0; font-size: .975rem; }
.partner__text { border-top: 1px solid var(--line); padding-top: 24px; }
.eco__outro { margin-top: clamp(48px, 6vw, 88px); max-width: 52ch; margin-left: auto; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); }
@media (max-width: 900px) {
  .partners { grid-template-columns: 1fr; }
  .eco__band { border-radius: var(--r-lg); }
}

/* ==========================================================================
   6. DEPOIMENTOS
   ========================================================================== */
.testi { background: var(--surface-1); border-radius: clamp(32px, 5vw, 72px); margin-inline: clamp(8px, 1.5vw, 24px); }
.testi__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); list-style: none; margin: 0; padding: 0; }
.quote {
  position: relative; padding: clamp(28px, 3.5vw, 52px); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px;
}
.quote__mark { font-family: var(--f-display); font-weight: 800; font-size: 7rem; line-height: .6; height: 48px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 18px; background: var(--tint-blue); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--ink); flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__who h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.quote__who h3 span { display: block; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.reserved {
  position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg);
  background: transparent; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
}
.reserved__border { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.reserved__border rect { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 8 8; }
.reserved__glyph { width: 56px; height: 56px; border-radius: 18px; background: #fff; display: grid; place-items: center; position: relative; }
.reserved__glyph svg { width: 34px; }
.reserved__glyph::after { content: ""; position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--g-1); box-shadow: 0 0 0 4px var(--surface-1); animation: antenna 2.4s ease-in-out infinite; }
.reserved h3 { font-size: 1.15rem; margin-bottom: 8px; }
.reserved p { margin: 0; color: var(--ink-2); }
.tag-soon { display: inline-block; margin-top: 14px; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 4px 10px; }
@media (max-width: 900px) { .testi__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   7. SÓCIOS
   ========================================================================== */
.partners-intro { max-width: 60ch; }
.socio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.socio + .socio { margin-top: clamp(80px, 10vw, 160px); }
.socio__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 32px); }
.socio__body { grid-column: 7 / span 6; }
.socio--alt .socio__media { grid-column: 8 / span 5; order: 2; }
.socio--alt .socio__body { grid-column: 1 / span 6; order: 1; }
.portrait {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-xl); overflow: hidden;
  background: var(--tint-cyan);
}
.portrait__mesh { position: absolute; inset: 0; background: radial-gradient(90% 60% at 20% 10%, rgb(0 252 131 / .35), transparent 60%), radial-gradient(90% 70% at 90% 100%, rgb(0 131 253 / .3), transparent 60%); }
.portrait__robot { position: absolute; left: 50%; top: 46%; width: 64%; transform: translate(-50%, -50%); opacity: .9; }
.portrait__initials { position: absolute; left: 28px; bottom: 24px; font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.portrait__note { position: absolute; right: 24px; bottom: 30px; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.portrait img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-ear { position: absolute; top: 50%; width: 10px; height: 88px; border-radius: 6px; transform: translateY(-50%); background: var(--grad-brand); }
.socio .portrait-ear { right: -5px; }
.socio--alt .portrait-ear { left: -5px; right: auto; }
.socio__name { margin-bottom: 14px; }
.socio__area {
  display: inline-block; margin-bottom: 36px; padding-bottom: 8px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-teal);
  background: var(--grad-brand) no-repeat 0 100% / 100% 2px;
}
.socio__body p { color: var(--ink-2); font-size: 1.0625rem; max-width: 60ch; }
.socio__body p:first-of-type { color: var(--ink); font-size: var(--fs-lead); line-height: 1.5; }
@media (max-width: 900px) {
  .socio, .socio--alt { grid-template-columns: 1fr; }
  .socio__media, .socio__body, .socio--alt .socio__media, .socio--alt .socio__body { grid-column: auto; order: 0; position: relative; top: 0; }
  .socio__media { max-width: 420px; }
}

/* ==========================================================================
   8. ENCERRAMENTO
   ========================================================================== */
.closing { padding-block: clamp(24px, 3vw, 48px); }
.closing__panel {
  position: relative; overflow: hidden; isolation: isolate;
  margin-inline: clamp(8px, 1.5vw, 24px);
  border-radius: clamp(32px, 5vw, 72px);
  background: var(--deep); color: var(--on-deep);
  padding-block: clamp(88px, 10vw, 168px);
}
.closing__bg { position: absolute; inset: 0; z-index: -2; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: grayscale(.4); }
.closing__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 15% 0%, rgb(0 252 131 / .25), transparent 60%), radial-gradient(70% 60% at 100% 100%, rgb(0 131 253 / .35), transparent 60%), linear-gradient(180deg, rgb(5 17 31 / .5), rgb(5 17 31 / .92)); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.closing__title { font-size: clamp(2.2rem, 1.2rem + 4vw, 5.4rem); line-height: .96; letter-spacing: -.035em; margin-bottom: 36px; }
.closing__title .half { display: block; }
.closing__sub { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; color: var(--g-1); margin-bottom: 24px; max-width: 24ch; }
.closing__copy p { color: var(--on-deep-2); max-width: 52ch; }
.closing__copy p.strong { color: #fff; font-size: var(--fs-lead); line-height: 1.45; }
.closing__price { margin-top: 40px; background: var(--deep-2); }
.closing__note { margin-top: 28px; font-size: .875rem; color: var(--on-deep-2); max-width: 46ch; }
.closing__why { margin-top: 28px; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); box-shadow: 0 40px 120px -40px rgb(0 0 0 / .6); position: relative; }
.form-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.form-card__top img { width: 40px; }
.form-card__top span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--error); margin-left: 2px; }
.field input, .field select {
  width: 100%; height: 56px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong); background: #fff; font-size: 1rem; color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23061A2E' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink-blue); box-shadow: 0 0 0 4px rgb(0 131 253 / .2); }
.field input:focus-visible, .field select:focus-visible { border-radius: var(--r-sm); }
.field[data-invalid] input, .field[data-invalid] select { border-color: var(--error); }
.field__error { display: none; align-items: center; gap: 6px; font-size: .8125rem; color: var(--error); }
.field[data-invalid] .field__error { display: flex; }
.field__error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: .6875rem; font-weight: 800; display: grid; place-items: center; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; }
.form__legend { font-size: .75rem; color: var(--ink-3); margin: -4px 0 18px; }
.form__submit { width: 100%; justify-content: space-between; margin-top: 8px; }
.form__privacy { font-size: .75rem; color: var(--ink-3); margin: 16px 0 0; }
.form__privacy a { color: var(--ink-blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: left; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-success { display: block; animation: fadeUp 400ms var(--ease-out) both; }
.form-success__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--grad-brand); display: grid; place-items: center; margin-bottom: 20px; }
.form-success__icon svg { width: 30px; }
.form-success p { color: var(--ink-2); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .closing__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .closing__why .btn, .closing .btn--ghost { width: 100%; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; padding-top: clamp(80px, 9vw, 140px); }
.footer__line { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; max-width: 26ch; margin-bottom: clamp(48px, 6vw, 88px); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gutter); padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__cols h2 { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); margin-bottom: 16px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__cols a { color: var(--ink); text-decoration: none; display: inline-block; padding: 6px 0; }

.footer__cols p { color: var(--ink-2); font-size: .9375rem; margin: 0 0 6px; }
.footer__wordmark { width: 100%; margin-top: 40px; margin-bottom: -6%; opacity: .95; }
.footer__wordmark svg { width: 100%; height: auto; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   WHATSAPP FAB
   ========================================================================== */
.wa {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: flex-end; gap: 12px; flex-direction: row-reverse;
  pointer-events: none;
}
.wa__btn {
  pointer-events: auto;
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-3), 0 0 0 0 rgb(37 211 102 / .5);
  text-decoration: none;
  opacity: 0; transform: translateY(24px) scale(.9);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.wa__btn svg { width: 30px; height: 30px; }
.wa__btn::after { /* antenna "live" dot */
  content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--g-1); border: 2px solid #fff; animation: antenna 2.4s ease-in-out infinite;
}
.wa.is-visible .wa__btn { opacity: 1; transform: none; }
.wa.is-away .wa__btn { opacity: 0; transform: translateY(80px); transition-duration: 250ms; pointer-events: none; }
.wa__btn:active { transform: scale(.97); }
.wa__bubble {
  pointer-events: auto;
  position: relative; max-width: 240px; margin-bottom: 8px;
  background: #fff; color: var(--ink); border-radius: var(--r-md) var(--r-md) 6px var(--r-md);
  box-shadow: var(--sh-2), 0 0 0 1px var(--line);
  padding: 14px 40px 14px 16px; font-size: .9375rem; font-weight: 500; line-height: 1.35;
  opacity: 0; transform: translateX(8px); visibility: hidden;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
.wa__bubble a { color: inherit; text-decoration: none; }
.wa__bubble a::after { content: ""; position: absolute; inset: 0; }
.wa.has-bubble .wa__bubble { opacity: 1; transform: none; visibility: visible; transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s; }
.wa.is-away .wa__bubble { opacity: 0; visibility: hidden; transition-duration: 160ms; }
.wa__dismiss { position: absolute; z-index: 1; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-3); font-size: 1.1rem; line-height: 1; }


/* ==========================================================================
   COOKIE BAR
   ========================================================================== */
.cookie {
  position: fixed; z-index: 45; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 112px));
  background: var(--deep); color: #fff; border-radius: var(--r-md); padding: 18px 18px 16px;
  box-shadow: var(--sh-3); font-size: .875rem; line-height: 1.45;
  transform: translateY(calc(100% + 32px)); transition: transform 400ms var(--ease-drawer);
}
.cookie.is-open { transform: none; }
.cookie p { margin: 0 0 12px; color: var(--on-deep-2); }
.cookie a { color: #fff; }
.cookie__actions { display: flex; gap: 8px; }
.cookie__actions button { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 0; font-weight: 600; font-size: .8125rem; transition: transform 160ms var(--ease-out); }
.cookie__actions button:active { transform: scale(.97); }
.cookie__accept { background: var(--grad-brand); color: var(--ink); }
.cookie__decline { background: rgb(255 255 255 / .1); color: #fff; }
@media (max-width: 560px) { .cookie { width: auto; right: 92px; } }

/* ==========================================================================
   COMPLEMENTARY PAGE
   ========================================================================== */
.why-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(64px, 8vw, 120px); overflow: clip; }
.why-hero .h-display { font-size: clamp(2.1rem, 1rem + 4.6vw, 5.6rem); max-width: 16ch; margin-bottom: 36px; }
.why-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; }
.why-hero__grid .lead { max-width: 40ch; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-weight: 600; font-size: .875rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.back-link svg { width: 16px; transition: transform 200ms var(--ease-out); }

.how { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 48px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.how__node { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); min-height: 200px; display: grid; align-content: start; gap: 12px; }
.how__node--deep { background: var(--deep); color: #fff; border-color: transparent; }
.how__node .tagline { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-teal); }
.how__node--deep .tagline { color: var(--g-1); }
.how__node strong { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; }
.how__wire { position: relative; width: clamp(60px, 10vw, 160px); height: 2px; background: var(--line-strong); }
.how__wire::before, .how__wire::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: translateY(-50%); }
.how__wire::before { left: -5px; } .how__wire::after { right: -5px; }
.how__dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 5px rgb(0 241 239 / .25); animation: travel 2.8s var(--ease-in-out) infinite alternate; }
@keyframes travel { from { transform: translateX(-7px); } to { transform: translateX(calc(clamp(60px, 10vw, 160px) - 7px)); } }
@media (max-width: 800px) {
  .why-hero__grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; justify-items: stretch; }
  .how__wire { width: 2px; height: 56px; justify-self: center; }
  .how__wire::before { left: 50%; top: -5px; transform: translateX(-50%); } .how__wire::after { left: 50%; right: auto; top: auto; bottom: -5px; transform: translateX(-50%); }
  .how__dot { left: 50%; top: 0; margin: 0 0 0 -7px; animation-name: travelY; }
  @keyframes travelY { from { transform: translateY(-7px); } to { transform: translateY(49px); } }
}

/* Legal page */
.legal { padding-top: calc(var(--nav-h) + 64px); }
.legal .h2 { margin-bottom: 32px; }
.legal h2, .legal h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); max-width: 70ch; }
.legal__note { background: var(--tint-blue); border-radius: var(--r-md); padding: 16px 20px; color: var(--ink); max-width: 70ch; }

/* ==========================================================================
   MOTION STATES — set only when JS + GSAP are active (no-JS sees everything)
   ========================================================================== */
.js-motion [data-reveal] { opacity: 0; }
.js-motion [data-split] { visibility: hidden; }
.grad-text.is-split { background: none; }
.js-motion .hero__logo,
.js-motion .hero__text > *,
.js-motion .hero__actions > * { opacity: 0; }
.js-motion .robot { clip-path: inset(50% 0 50% 0 round 24px); }
.js-motion .tile { opacity: 0; }

/* ==========================================================================
   REDUCED MOTION — gentler, not zero
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn, .service, .case__art, .nav, .wa__btn, .sheet, .cookie { transition-property: opacity, background-color, color, box-shadow !important; }
  .btn:active, .pill-btn:active, .wa__btn:active { transform: none; }
  .wa__btn { transform: none !important; }
}

/* ==========================================================================
   Refinements after first render pass
   ========================================================================== */
/* Service titles: Unbounded runs wide — keep 4-up cards balanced */
.service h3 { font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.2; }

/* Case covers: city wraps as a poster headline instead of clipping */
.case__city { right: 24px; white-space: normal; font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3.4rem); text-wrap: balance; }

/* Desktop: after the face-window zoom, the calibration frame rises into the
   white face interior instead of leaving a blank viewport (pin overlap). */
.is-desk-motion .reality { margin-top: -75vh; z-index: 5; }

/* ---------- Motion review fixes ---------- */
/* CSS transitions only take over transform after GSAP has finished with it (no double easing) */
.service { transition: box-shadow 220ms ease; }
.service.is-in { transition: transform 220ms var(--ease-out), box-shadow 220ms ease; }
.case__art { transition: none; }
.case__cover.is-in .case__art { transition: transform 500ms var(--ease-out); }

/* Press feedback that actually wins specificity */
.wa.is-visible .wa__btn:active { transform: scale(.97); transition-duration: 160ms; }
.video__play:active { transform: translate(-50%, -50%) scale(.96); transition-duration: 120ms; }
.pill-btn[aria-disabled="true"]:active { transform: none; }

/* Hover only where hover exists */
@media (hover: hover) and (pointer: fine) {
  .partner:hover .partner__logo img { filter: none; opacity: 1; }
  .partner:hover .partner__mark { opacity: 1; }
  .partner:hover .bracket { opacity: 1; transform: none; }
  .footer__cols a:hover { text-decoration: underline; }
  .wa__dismiss:hover { background: var(--surface-2); }
  .back-link:hover svg { transform: translateX(-4px); }
}

/* Exits faster than entrances */
.sheet:not(.is-open) { transition: transform 240ms var(--ease-out), visibility 0s linear 240ms; }
.cookie:not(.is-open) { transition: transform 220ms var(--ease-out); }

/* Calibration: pre-blurred copy (static filter) crossfades away on scroll */
.reality__photo--soft { display: none; filter: blur(14px) saturate(0) contrast(.85); }
.js-motion .reality__photo--soft { display: block; }
@media (max-width: 767px) { .reality__photo--soft { filter: blur(6px) saturate(0) contrast(.85); } }

/* ---------- Accessibility audit fixes ---------- */
[hidden] { display: none !important; }
/* Never focus something you cannot see */
.nav__logo:focus-visible { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
.nav__cta.is-muted:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa .wa__btn:focus-visible { opacity: 1 !important; transform: none !important; pointer-events: auto; }
/* Inputs: keep a strong ring even when invalid (red border wins otherwise) */
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 4px rgb(0 131 253 / .2); }
.on-deep .form-card :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 6px var(--g-3); }
/* Case cover contrast */
.chip { background: rgb(5 17 31 / .6); }
.case__uf { color: #fff; }
/* Video "em breve" live region */
.video__label:empty { display: none; }
/* Finite loops (WCAG 2.2.2) */
.price__antenna::after, .wa__btn::after, .reserved__glyph::after { animation-iteration-count: 3; }
.scroll-cue::after { animation-iteration-count: 3; }
.how__dot { animation-iteration-count: 4; }
/* 200% text on small screens: calibration frame grows with its copy */
@media (max-width: 640px) {
  .reality__frame { aspect-ratio: auto; min-height: 120vw; display: flex; align-items: flex-end; }
  .reality__copy { position: relative; left: auto; right: auto; bottom: auto; padding: 24px; z-index: 4; }
}

/* ---------- Hero fit: everything visible on laptops and large screens ----------
   Type and spacing scale with the smaller of viewport width and height, so short
   laptop viewports (e.g. 1366×768, 1536×730 at 125% scaling) fit the whole hero. */
.hero { padding-top: calc(var(--nav-h) + 2svh); padding-bottom: 4svh; }
.hero__logo { width: clamp(140px, min(13vw, 21svh), 210px); margin-bottom: clamp(14px, 2.6svh, 28px); }
.hero__title {
  font-size: clamp(2.1rem, min(4vw, 7svh), 4.5rem);
  line-height: 1.08;
  margin-bottom: clamp(14px, 2.6svh, 24px);
}
.hero__text p { margin-bottom: clamp(8px, 1.6svh, 16px); }
.hero__text p:first-child { font-size: clamp(1rem, min(1.3vw, 2.4svh), 1.3rem); }
.hero__actions { margin-top: clamp(14px, 2.8svh, 28px); }
.hero__stage { max-width: min(600px, 72svh); }
.hero .price { padding: clamp(12px, 1.8svh, 18px) 24px clamp(10px, 1.6svh, 16px); }
.hero .price__value { font-size: clamp(1.4rem, min(2.2vw, 4svh), 2.2rem); }

/* Masked words: room above the cap height so accents (Ê, Ç, Ã) are never clipped */
.split .w { padding-top: .16em; margin-top: -.16em; }

@media (max-width: 900px) {
  .hero__title { font-size: clamp(2.1rem, 9vw, 3.4rem); }
  .hero__text p:first-child { font-size: var(--fs-lead); }
  .hero__stage { max-width: 340px; }
}
