/* ============================================================
   SILENCODE — main.css
   Dark chrome · azul de marca · editorial assimétrico
   ============================================================ */

/* ---------- Fontes (self-hosted) ---------- */
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/ClashDisplay-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/ClashDisplay-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #07080B;
  --bg-2: #0C0E13;
  --bg-3: #12151C;
  --ink: #F4F6FA;
  --ink-dim: #B9BFCC;
  --muted: #8B93A3;
  --line: rgba(244, 246, 250, .08);
  --line-strong: rgba(244, 246, 250, .16);
  --accent: #2F7BF6;
  --accent-soft: rgba(47, 123, 246, .14);
  --chrome-a: #FBFCFE;
  --chrome-b: #A9B1C0;
  --chrome-c: #5A6170;
  --font-display: 'Clash Display', 'Arial Narrow', sans-serif;
  --font-body: 'Satoshi', 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'SF Mono', Consolas, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Trava horizontal no root: orbs/sparks decorativos podem passar da borda
   e sem isso iOS antigo (sem overflow:clip) desloca a página inteira. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
html.lenis { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
em { font-style: normal; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Scrollbar discreta */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: #232733; border-radius: 8px; border: 2px solid var(--bg); }
  ::-webkit-scrollbar-thumb:hover { background: #333947; }
}

/* ---------- Utilidades ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: .72em;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform .25s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

.chrome {
  background: linear-gradient(120deg, var(--chrome-a) 0%, var(--chrome-b) 42%, var(--chrome-c) 68%, var(--chrome-a) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent { color: var(--accent); }

/* ---------- Luzes de fundo ---------- */
/* Pequenos brilhos azuis que respiram atrás do conteúdo. Posição, tamanho
   e ritmo vêm de custom props inline (--x/--y/--s/--t/--d) em cada seção. */
.orb {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: -1;
  width: var(--s, 320px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(47, 123, 246, .16) 0%,
    rgba(47, 123, 246, .07) 42%,
    transparent 70%);
  pointer-events: none;
  animation: orbDrift var(--t, 16s) ease-in-out var(--d, 0s) infinite alternate;
}
@keyframes orbDrift {
  from { transform: translate3d(-3%, 2%, 0) scale(.92); opacity: .65; }
  to   { transform: translate3d(4%, -5%, 0) scale(1.1); opacity: 1; }
}
/* Pontos de luz azul — box-shadow pinta uma vez na camada, o keyframe só
   anima opacity/transform (composto na GPU, nada por frame na CPU). */
.spark {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: -1;
  width: var(--s, 4px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #7FA9F8;
  box-shadow:
    0 0 8px 2px rgba(47, 123, 246, .7),
    0 0 26px 7px rgba(47, 123, 246, .3);
  pointer-events: none;
  animation: sparkPulse var(--t, 4s) ease-in-out var(--d, 0s) infinite alternate;
}
@keyframes sparkPulse {
  from { opacity: .18; transform: scale(.75); }
  to   { opacity: .95; transform: scale(1.2); }
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out), transform .3s var(--ease-out);
  will-change: transform;
}
.btn--small { padding: 11px 20px; font-size: 13.5px; }
.btn--big { padding: 20px 38px; font-size: 16.5px; }
.btn--solid { background: var(--ink); color: #0A0B0E; }
.btn--solid:hover { background: var(--accent); color: #fff; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn__arrow {
  display: inline-grid;
  place-items: center;
  font-family: var(--font-body);
  transition: transform .3s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--down { transform: translateY(4px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
}
html.no-js .preloader { display: none; }
.preloader__blades { position: relative; width: clamp(84px, 12vw, 132px); }
.preloader__logo { width: 100%; height: auto; filter: drop-shadow(0 8px 40px rgba(47,123,246,.25)); }
.preloader__ring {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  border-top-color: var(--accent);
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader__count {
  position: absolute;
  right: var(--pad);
  bottom: calc(var(--pad) * .75);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 12vw, 150px);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.preloader__count i { font-style: normal; font-size: .38em; color: var(--muted); margin-left: 6px; }
.preloader__tag {
  position: absolute;
  left: var(--pad);
  bottom: calc(var(--pad) * .75);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cursor custom ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  html.js .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 250;
    pointer-events: none;
  }
  .cursor__dot {
    position: absolute;
    top: -3px; left: -3px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ink);
  }
  .cursor__ring {
    position: absolute;
    top: -21px; left: -21px;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(244,246,250,.35);
    display: grid;
    place-items: center;
    transition: transform .28s var(--ease-out), background-color .28s var(--ease-out), border-color .28s var(--ease-out);
  }
  .cursor__label {
    font-family: var(--font-mono);
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transition: opacity .2s;
  }
  .cursor.is-hover .cursor__ring {
    transform: scale(1.6);
    border-color: var(--accent);
    background: rgba(47,123,246,.12);
  }
  .cursor.is-label .cursor__ring {
    transform: scale(2.1);
    border-color: var(--accent);
    background: rgba(47,123,246,.9);
  }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot,
  .cursor.is-hover .cursor__dot { opacity: 0; }
  .cursor.is-down .cursor__ring { transform: scale(.85); }
  html.js.has-cursor,
  html.js.has-cursor a,
  html.js.has-cursor button,
  html.js.has-cursor input,
  html.js.has-cursor textarea,
  html.js.has-cursor label { cursor: none; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1240px, calc(100% - 28px));
  border-radius: 18px;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(9, 10, 14, .72);
  border-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 44px rgba(0,0,0,.35);
}
.header.is-hidden { transform: translateX(-50%) translateY(calc(-100% - 20px)); }
.header { transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s, transform .45s var(--ease-out); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
}
.header__brand { display: inline-flex; align-items: center; gap: 12px; }
.header__logo { width: 34px; height: auto; }
.header__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .3em;
  translate: 0 1px;
}
.header__nav { display: flex; gap: 6px; }
.header__nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  border-radius: 999px;
  transition: color .25s;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.header__nav a:hover { color: var(--ink); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--header-h) + 40px) var(--pad) 36px;
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 11, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  clip-path: circle(0% at calc(100% - 48px) 40px);
  transition: clip-path .65s var(--ease-io);
}
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - 48px) 40px); }
.menu__nav { position: relative; display: grid; align-content: center; gap: 4px; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.1;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .25s;
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .12s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .18s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .24s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .36s; }
.menu__nav a:hover { color: var(--accent); }
.menu__nav i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.menu__foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.menu__wa { color: var(--accent); font-weight: 700; }

/* ---------- Seções base ---------- */
.section {
  position: relative;
  padding: clamp(90px, 14vh, 160px) var(--pad);
  max-width: 1440px;
  margin-inline: auto;
}
.section__head { margin-bottom: clamp(36px, 6vw, 72px); }
.section__eyebrow { display: block; margin-bottom: 18px; font-size: 12px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.section__ghost {
  position: absolute;
  top: clamp(20px, 4vw, 48px);
  right: var(--pad);
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(110px, 22vw, 300px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,246,250,.06);
  pointer-events: none;
  user-select: none;
  /* Parallax scrubado por JS — texto gigante repintar todo frame pesa. */
  will-change: transform;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
  padding: calc(var(--header-h) + 40px) var(--pad) 0;
}
.hero__canvas,
.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__fallback { display: none; }
.hero__fallback svg { width: 100%; height: 100%; opacity: .55; }
html.no-canvas .hero__fallback { display: block; }
html.no-js .hero__fallback { display: block; }
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-bottom: clamp(120px, 16vh, 190px);
}
.hero__eyebrow { margin-bottom: clamp(20px, 3.4vh, 40px); font-size: 12px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 7.4vw, 108px);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__line { display: block; overflow: clip; }
.hero__seg { display: inline-block; }
.hero__line:nth-child(2) { margin-left: clamp(28px, 8vw, 150px); }
.hero__line:nth-child(4) { margin-left: clamp(14px, 4vw, 72px); }
.hero__seg--chrome {
  background: linear-gradient(115deg, var(--chrome-a) 0%, var(--chrome-b) 45%, var(--chrome-c) 70%, var(--chrome-a) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__seg--pill {
  padding: 0 clamp(16px, 2.6vw, 40px);
  border-radius: clamp(18px, 3vw, 44px);
  background: var(--accent);
  color: #fff;
}
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(30px, 5.6vh, 64px);
}
.hero__sub { max-width: 46ch; color: var(--ink-dim); font-size: clamp(15.5px, 1.2vw, 18.5px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__index {
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  gap: 14px;
  text-align: right;
  font-size: 11px;
}
.hero__index li { position: relative; padding-right: 20px; }
.hero__index li::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 10px; height: 1px;
  background: var(--muted);
}
.hero__marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(7,8,11,.85));
}
.marquee { overflow: clip; }
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 21px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,246,250,.28);
}
html.no-js .marquee__track { animation: marquee 28s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- MANIFESTO ---------- */
.manifesto { max-width: 1440px; }
.manifesto__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
}
.manifesto__text {
  max-width: 54ch;
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.62;
  color: var(--ink-dim);
  letter-spacing: .002em;
}
.manifesto__text em { font-style: normal; }
.manifesto__text .accent { color: var(--accent); font-weight: 500; }
.manifesto__text .chrome {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--ink);
  font-weight: 500;
}
.manifesto__text .word { display: inline-block; }

/* Radar de visibilidade — "empresas que precisam ser encontradas". */
.manifesto__radar { display: grid; justify-items: center; gap: 22px; }
.radar {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 50%, rgba(47,123,246,.07), transparent 62%);
}
.radar::before,
.radar::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}
.radar::before { inset: 17%; }
.radar::after { inset: 34%; }
.radar__axis {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.radar__axis::before,
.radar__axis::after {
  content: '';
  position: absolute;
  background: var(--line);
}
.radar__axis::before { left: 0; right: 0; top: 50%; height: 1px; }
.radar__axis::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: clip;
  background: conic-gradient(from 0deg,
    rgba(47,123,246,.30) 0deg,
    rgba(47,123,246,.05) 52deg,
    transparent 78deg,
    transparent 360deg);
  -webkit-mask: radial-gradient(circle, #000 0 66%, transparent 67%);
  mask: radial-gradient(circle, #000 0 66%, transparent 67%);
  animation: radarSweep 6s linear infinite;
}
@keyframes radarSweep { to { transform: rotate(360deg); } }
.radar__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(244,246,250,.08);
}
.radar__dot {
  position: absolute;
  width: 8px; height: 8px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--accent);
  opacity: .2;
  animation: radarDot 6s linear infinite;
  animation-delay: var(--d, 0s);
}
.radar__dot::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(47,123,246,.5);
  opacity: 0;
  animation: radarPing 6s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes radarDot {
  0%, 2% { opacity: .95; }
  16% { opacity: .2; }
  100% { opacity: .2; }
}
@keyframes radarPing {
  0% { opacity: .8; transform: scale(.4); }
  14% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
.radar__caption { color: var(--muted); font-size: 11px; letter-spacing: .16em; }

.manifesto__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--line);
  border: 1px solid var(--line);
}
.manifesto__facts li {
  background: var(--bg);
  padding: clamp(20px, 2.6vw, 34px);
  transition: background-color .35s var(--ease-out);
}
.manifesto__facts li:hover { background: var(--bg-2); }
.manifesto__facts .mono { display: block; margin-bottom: 12px; color: var(--accent); font-size: 11.5px; }
.manifesto__facts p { color: var(--muted); font-size: 14.5px; }

/* ---------- SERVIÇOS (pin horizontal) ---------- */
.services { position: relative; }
.services__head {
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(90px, 14vh, 160px) var(--pad) 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.services__head > div { flex: 1; }
.services__head .section__eyebrow { width: 100%; }
.services__hint { font-size: 11px; padding-bottom: 10px; }
.services__hint-mob { display: none; }
.services__viewport { position: relative; overflow: clip; }
.services__track {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(36px, 6vh, 64px) var(--pad) clamp(60px, 9vh, 100px);
  width: max-content;
  /* Scrubado por JS todo frame do pin — camada própria evita repaint. */
  will-change: transform;
}
.services__progress {
  position: absolute;
  top: 0;
  left: var(--pad); right: var(--pad);
  height: 1px;
  background: var(--line);
}
.services__progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
/* Com o pin ativo (JS), qualquer largura usa a coreografia do desktop:
   viewport travado, barra de progresso e dica de rolagem vertical. */
.services.is-pinned .services__viewport { overflow: clip; scroll-snap-type: none; }
.services.is-pinned .services__progress { display: block; }
.services.is-pinned .services__hint-desk { display: inline; }
.services.is-pinned .services__hint-mob { display: none; }
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(78vw, 640px);
  min-height: clamp(420px, 62vh, 560px);
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg) 65%);
  overflow: clip;
  transition: border-color .4s var(--ease-out);
}
.panel:hover { border-color: rgba(47,123,246,.4); }
.panel--alt { background: linear-gradient(200deg, var(--bg-3) 0%, var(--bg) 70%); }
.panel__num {
  position: absolute;
  top: clamp(18px, 2.4vw, 34px);
  right: clamp(18px, 2.4vw, 34px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,246,250,.14);
  transition: -webkit-text-stroke-color .4s;
}
.panel:hover .panel__num { -webkit-text-stroke-color: rgba(47,123,246,.6); }
.panel__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  margin-bottom: 14px;
}
.panel__desc { color: var(--ink-dim); max-width: 46ch; margin-bottom: 22px; font-size: 15px; }
.panel__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.panel__tags li {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10.5px;
  transition: border-color .3s, color .3s;
}
.panel:hover .panel__tags li { border-color: rgba(47,123,246,.35); }
.panel__blade {
  position: absolute;
  top: -30%;
  left: 58%;
  width: 46%;
  height: 160%;
  background: linear-gradient(115deg, transparent 0%, rgba(244,246,250,.045) 45%, rgba(47,123,246,.08) 55%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  /* Parallax scrubado por JS durante o pin. */
  will-change: transform;
}

/* ---------- PROCESSO ---------- */
.process__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 100px);
}
.process__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.process__lead { margin-top: 20px; max-width: 38ch; color: var(--ink-dim); }
.process__steps { position: relative; display: grid; gap: clamp(36px, 6vh, 64px); padding-left: 34px; }
.process__line {
  position: absolute;
  left: 8px;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.process__line i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), rgba(47,123,246,.2));
  transform: scaleY(0);
  transform-origin: top;
}
.step { position: relative; }
.step::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 10px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.step.is-active::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.step__num { display: block; margin-bottom: 8px; font-size: 11px; color: var(--accent); }
.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 8px;
}
.step__text { color: var(--muted); max-width: 44ch; font-size: 15px; }

/* ---------- DIFERENCIAIS ---------- */
.edge__list { border-top: 1px solid var(--line); }
.edge__row {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 5fr) minmax(0, 6fr) 46px;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  padding: clamp(20px, 3vw, 34px) 8px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease-out), background-color .4s;
}
.edge__row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.edge__row:hover { padding-left: 22px; }
.edge__row:hover::before { opacity: 1; }
.edge__num { font-size: 12px; }
.edge__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.14;
}
.edge__desc { color: var(--muted); font-size: 15px; }
.edge__arrow {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 16px;
  transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease-out);
}
.edge__row:hover .edge__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

/* ---------- CONTATO ---------- */
.contact { text-align: center; }
.contact__glow {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -30%;
  width: min(720px, 90vw);
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at center, rgba(47,123,246,.16), transparent 65%);
  pointer-events: none;
}
.contact__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -.015em;
  max-width: 16ch;
  margin-inline: auto;
}
.contact__sub { margin-top: 20px; color: var(--ink-dim); }
.contact__wa { margin-top: clamp(28px, 4.6vh, 48px); display: grid; justify-items: center; gap: 14px; }
.contact__note { font-size: 11px; }
.contact__divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 560px;
  margin: clamp(40px, 7vh, 72px) auto clamp(28px, 4.6vh, 44px);
}
.contact__divider::before,
.contact__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.contact__divider .mono { font-size: 11px; white-space: nowrap; }

/* ---------- Form ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
.form__field { display: grid; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__field label { font-size: 13px; font-weight: 700; color: var(--ink-dim); }
.form__field label i { color: var(--accent); font-style: normal; }
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #565D6B; }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form__field.is-invalid input,
.form__field.is-invalid textarea { border-color: #E5484D; }
.form__error { min-height: 1em; font-size: 12.5px; color: #FF8589; }
.form__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.form__status { font-size: 12px; }
.form__status.is-ok { color: #4CC38A; }
.form__status.is-err { color: #FF8589; }
.form__privacy {
  grid-column: 1 / -1;
  font-size: 10.5px;
  color: #565D6B;
  text-transform: none;
  letter-spacing: .04em;
}
.btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(60px, 9vh, 100px) var(--pad) 34px;
  overflow: clip;
}
.footer__ghost {
  position: absolute;
  left: 0; right: 0;
  bottom: -.14em;
  z-index: 0;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.footer__ghost span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(80px, 14.5vw, 230px);
  line-height: 1;
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,246,250,.07);
  display: inline-block;
  /* Scrubado por JS na chegada do footer. */
  will-change: transform;
}
.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  max-width: 1240px;
  margin-inline: auto;
}
.footer__brand img { width: 42px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 30ch; font-size: 14.5px; }
.footer__nav, .footer__contact { display: grid; align-content: start; gap: 10px; }
.footer__nav .mono, .footer__contact .mono { margin-bottom: 6px; font-size: 11px; }
.footer__nav a, .footer__contact a {
  width: fit-content;
  color: var(--ink-dim);
  font-size: 14.5px;
  transition: color .25s;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  max-width: 1240px;
  margin: clamp(40px, 7vh, 70px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #565D6B;
  font-size: 12.5px;
}
.footer__legal .mono { font-size: 10.5px; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .hero__index { display: none; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__radar { justify-items: start; }
  .radar { width: min(72vw, 320px); }
  /* Respiro entre seções mais curto — leitura contínua no tablet. */
  .section { padding-block: clamp(64px, 9vh, 96px); }
  .services__head { padding-top: clamp(64px, 9vh, 96px); }
  .section__head { margin-bottom: clamp(30px, 5vw, 48px); }
}
@media (max-width: 860px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .manifesto__facts { grid-template-columns: 1fr; }
  .edge__row { grid-template-columns: 40px 1fr 46px; grid-template-rows: auto auto; }
  .edge__num { grid-row: 1; }
  .edge__title { grid-column: 2; grid-row: 1; }
  .edge__desc { grid-column: 2; grid-row: 2; }
  .edge__arrow { grid-column: 3; grid-row: 1 / span 2; width: 38px; height: 38px; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  /* Serviços: fallback de rolagem nativa (sem JS / reduced-motion).
     Com JS, .is-pinned assume e aplica o pin idêntico ao desktop. */
  .services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .services__viewport::-webkit-scrollbar { display: none; }
  .panel { scroll-snap-align: center; width: 82vw; min-height: 440px; }
  .services__hint-desk { display: none; }
  .services__hint-mob { display: inline; }
  .services__progress { display: none; }

  /* Seções coladas: pouco espaço entre um bloco e outro. */
  .section { padding-block: clamp(52px, 8vh, 72px); }
  .services__head { padding-top: clamp(52px, 8vh, 72px); }
  .services__track { padding-block: 26px 44px; }
  .manifesto__facts { margin-top: clamp(36px, 6vw, 56px); }
  /* Centralização: gutter da timeline espelhado à direita — a coluna de
     texto dos passos fica centrada em vez de socada na esquerda. */
  .process__steps { gap: clamp(30px, 5vh, 44px); padding-inline: 34px; }
  .manifesto__radar { justify-items: center; }
  .radar { width: min(78vw, 320px); }
  .contact__divider { margin: clamp(32px, 5vh, 48px) auto clamp(22px, 4vh, 32px); }
  .footer { padding: clamp(44px, 7vh, 64px) var(--pad) 30px; }
  .footer__legal { margin-top: clamp(28px, 5vh, 44px); }
  .hero__inner { padding-bottom: clamp(96px, 13vh, 130px); }

  /* Conforto de leitura: corpo 16.5px (inputs ficam em 16px, evita zoom
     do iOS) e textos informativos um degrau acima. */
  body { font-size: 16.5px; }
  .form__field input,
  .form__field textarea { font-size: 16px; }
  .hero__sub { font-size: 17px; }
  .manifesto__text { font-size: 19px; }
  .process__lead, .contact__sub { font-size: 17px; }
  .panel__desc, .step__text, .edge__desc { font-size: 16.5px; }
  .panel__tags li { font-size: 11.5px; }
  .manifesto__facts p { font-size: 16px; }
  .footer__brand p, .footer__nav a, .footer__contact a { font-size: 15.5px; }
  .contact__note { font-size: 12px; }
}
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .hero__line:nth-child(2) { margin-left: 8vw; }
  .hero__line:nth-child(4) { margin-left: 4vw; }
  .btn--big { padding: 17px 30px; font-size: 15px; }
  .panel { width: 86vw; }
}

/* ============================================================
   MOVIMENTO REDUZIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .preloader { display: none !important; }
  .hero__canvas { display: none; }
  .hero__fallback { display: block; }
  .preloader__ring { display: none; }
  .marquee__track { animation: none !important; transform: none !important; }
}
