/* ==========================================================
   Tokens
   ========================================================== */
:root {
  color-scheme: light;
  --paper: #f2efe8;
  --paper-2: #e8e3d8;
  --ink: #121212;
  --ink-2: #1c1c1e;
  --ink-3: #2a2a2d;
  --muted: #5b5850;
  --muted-dark: #a3a09a;
  --line: #d4cdbf;
  --line-dark: #333336;
  --red: #e11d26;
  --red-text: #b3121a;      /* vermelho para texto pequeno sobre papel */
  --red-soft: #ff5a61;      /* vermelho para texto pequeno sobre tinta */

  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(88px, 12vw, 168px);
  --radius: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: 1.1s;
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 16px; }

.kicker {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.kicker--light { color: var(--red-soft); }

h2 {
  font-size: clamp(38px, 6.2vw, 86px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 800;
  margin-top: 18px;
  text-wrap: balance;
}
h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

.sec-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 880px; }
.sec-head__note { color: var(--muted); max-width: 460px; margin-top: 22px; font-size: 16px; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; flex-wrap: wrap; }
.sec-head--dark .sec-head__note { color: var(--muted-dark); }

/* ==========================================================
   Botões e links
   ========================================================== */
.btn {
  --bg: var(--ink); --fg: #fff; --fill: var(--red);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 34px -14px rgba(225, 29, 38, .55); }
.btn:active { transform: scale(.97); }
.btn__arrow { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --fg: #fff; color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --fill: var(--ink); }
.btn--light:hover { color: #fff; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); }
/* feedback de clique */
.btn .ripple {
  position: absolute; z-index: -1; width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255, 255, 255, .45); pointer-events: none;
  transform: translate(-50%, -50%) scale(0); animation: ripple .7s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: translate(-50%, -50%) scale(30); opacity: 0; } }

.link {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 4px;
  transition: background-size var(--t-med) var(--ease-out), color var(--t-fast);
}
.link span { transition: transform var(--t-med) var(--ease-out); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.link:hover span { transform: translateX(5px); }

/* ==========================================================
   Navegação
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(242, 239, 232, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-dark { background: rgba(18, 18, 18, .78); color: #fff; box-shadow: 0 1px 0 var(--line-dark); }
.nav.is-dark .btn--sm { --bg: #fff; --fg: var(--ink); }
.nav.is-dark .btn--sm:hover { color: #fff; }
.nav__in { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 16px; }
.brand__mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; transition: background var(--t-med); }
.brand__mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 3px; background: var(--red); box-shadow: 0 5px 0 -0px var(--paper), 0 10px 0 var(--paper); }
.nav.is-dark .brand__mark { background: #fff; }
.nav.is-dark .brand__mark::after { box-shadow: 0 5px 0 var(--ink), 0 10px 0 var(--ink); }
.nav__links { position: relative; display: flex; gap: 6px; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 14.5px; font-weight: 500; text-decoration: none; opacity: .72; transition: opacity var(--t-fast); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__indicator {
  position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--red);
  transform: translateX(var(--x, 0)); width: var(--w, 0); opacity: var(--o, 0);
  transition: transform var(--t-med) var(--ease-out), width var(--t-med) var(--ease-out), opacity var(--t-fast);
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding: clamp(120px, 16vw, 168px) 0 clamp(72px, 9vw, 120px);
}
.hero::before {
  /* grade técnica sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(18, 18, 18, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 18, 18, .055) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-size: clamp(40px, 6.1vw, 96px);
  line-height: .93;
  white-space: nowrap;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 26px 0 30px;
}
.hero__title em { color: var(--red); letter-spacing: -.02em; padding-right: .04em; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }
.hero__sub { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 1px; }

/* Composição do hero */
.stage { position: relative; aspect-ratio: 1 / 1.02; }
.stage__block {
  position: absolute; right: -6%; top: 2%; width: 62%; height: 70%;
  background: var(--red);
  border-radius: 6px;
}
.stage__block::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0 1px, transparent 1px 12px);
  border-radius: inherit;
}
.stage__browser { position: absolute; left: 4%; top: 16%; width: 100%; }
.stage__phone { position: absolute; left: -4%; bottom: 0; width: 31%; }
.stage__tag {
  position: absolute; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); padding: 6px 10px; border: 1px solid var(--ink); border-radius: 4px; white-space: nowrap;
}
.stage__tag--a { right: 0; top: 8%; }
.stage__tag--b { left: 24%; bottom: 12%; }

/* ==========================================================
   Molduras de dispositivo
   ========================================================== */
.device { position: relative; }
.device--browser .mock { border-radius: 0; }
.device--browser {
  background: var(--ink-2);
  border-radius: 12px;
  padding: 0 0 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 2px 4px rgba(0,0,0,.08),
    0 30px 60px -20px rgba(18,18,18,.45),
    0 60px 120px -40px rgba(18,18,18,.35);
}
.device__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #19191b; border-bottom: 1px solid #262629; }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3e; }
.device__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 10.5px; color: #8b8b90; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device--phone {
  background: #0c0c0d;
  border-radius: 13% / 6%;
  padding: 3.2%;
  box-shadow:
    0 0 0 1.5px #3a3a3e inset,
    0 30px 60px -18px rgba(18,18,18,.55),
    0 12px 24px -12px rgba(18,18,18,.4);
}
.device--dark { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -30px rgba(0,0,0,.8); }

/* ==========================================================
   Showcase (seção escura)
   ========================================================== */
.showcase {
  --p: 1;
  position: relative;
  background: var(--ink);
  color: #f3f2ef;
  padding: var(--sec) 0;
  clip-path: inset(0 calc((1 - var(--p)) * 5%) round calc((1 - var(--p)) * 48px));
}
.showcase .kicker { color: var(--red-soft); }
/* Anatomia: mock ilustrativo com marcadores numerados */
.anat { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.anat__stage { position: relative; padding: 0 6% 12% 0; }
.anat__browser { width: 100%; }
.anat__phone { position: absolute; right: 0; bottom: 0; width: 24%; }
.anat__list { display: grid; gap: 4px; counter-reset: a; }
.anat__list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 16px 18px 0; border-top: 1px solid var(--line-dark); transition: background var(--t-fast); border-radius: 4px; }
.anat__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.anat__n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 13px; color: #fff; background: var(--red); margin-top: 2px;
}
.anat__list h3 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 4px; }
.anat__list p { color: var(--muted-dark); font-size: 15.5px; }
.anat__live { display: flex; align-items: center; gap: 12px; margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-dark); color: #d9d7d2; font-size: 17px; }
.anat__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ccf85; box-shadow: 0 0 0 4px rgba(60, 207, 133, .18); flex: none; }

.pin {
  position: absolute; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 13px; color: #fff; background: var(--red);
  box-shadow: 0 0 0 4px rgba(225, 29, 38, .25), 0 8px 18px -6px rgba(0,0,0,.6);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.pin--1 { left: -1.5%; top: 26%; }
.pin--2 { left: 22%; top: 55%; }
.pin--3 { left: 58%; top: 24%; }
.pin--4 { left: 24%; top: 82%; }
.pin--5 { right: 1%; top: 52%; }
/* Passar o mouse num item da lista destaca o marcador correspondente */
.anat:has(li[data-pin="1"]:hover) .pin--1,
.anat:has(li[data-pin="2"]:hover) .pin--2,
.anat:has(li[data-pin="3"]:hover) .pin--3,
.anat:has(li[data-pin="4"]:hover) .pin--4,
.anat:has(li[data-pin="5"]:hover) .pin--5 { transform: scale(1.25); box-shadow: 0 0 0 10px rgba(225, 29, 38, .28), 0 8px 18px -6px rgba(0,0,0,.6); }
.anat__list li:hover { background: rgba(255, 255, 255, .03); }

/* ==========================================================
   Mock de página (ilustração feita em CSS)
   ========================================================== */
.mock {
  container-type: inline-size;
  background: #fbfaf7; color: var(--ink);
  padding: 4% 5% 0;
  overflow: hidden;
  font-family: var(--f-display);
}
.mock i, .mock b { display: block; font-style: normal; }
.mock__nav { display: flex; align-items: center; gap: 3.4cqi; margin-bottom: 7cqi; }
.mock__logo { width: 3.2cqi; height: 3.2cqi; border-radius: .9cqi; background: var(--ink); }
.mock__nav span { width: 7cqi; height: 1cqi; border-radius: 9px; background: #dcd6ca; }
.mock__nav span:first-of-type { margin-left: auto; }
.mock__btn { width: 12cqi; height: 3.6cqi; border-radius: 99px; background: var(--red); }
.mock__hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5cqi; align-items: center; margin-bottom: 6cqi; }
.mock__kick { width: 13cqi; height: 1cqi; border-radius: 9px; background: var(--red); margin-bottom: 2.6cqi; }
.mock__title { font-size: 5.6cqi; line-height: .98; font-weight: 800; letter-spacing: -.045em; margin-bottom: 2.6cqi; }
.mock__p { height: 1.1cqi; width: 92%; border-radius: 9px; background: #dcd6ca; margin-bottom: 1.4cqi; }
.mock__p--s { width: 62%; }
.mock__cta { display: inline-block !important; margin-top: 2.4cqi; padding: 1.5cqi 2.8cqi; border-radius: 99px; background: var(--ink); color: #fff; font-size: 1.7cqi; font-weight: 600; white-space: nowrap; }
.mock__img {
  position: relative; aspect-ratio: 4 / 3.6; border-radius: 1.8cqi; overflow: hidden;
  background: linear-gradient(160deg, #ebe5d9, #d6ccba);
}
.mock__img::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; right: -12%; top: -10%; background: var(--red); opacity: .9; }
.mock__img::after { content: ""; position: absolute; left: 10%; bottom: 10%; width: 52%; height: 38%; border-radius: 1.2cqi; background: var(--ink); box-shadow: 4cqi -4cqi 0 -1.4cqi #fbfaf7; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqi; }
.mock__cards i { height: 12cqi; border-radius: 1.4cqi 1.4cqi 0 0; background: #f0ece4; border: 1px solid #e3ddd0; border-bottom: 0; }

.mock--phone { aspect-ratio: 9 / 19.5; padding: 9% 8% 0; border-radius: 10% / 4.6%; }
.mock--phone .mock__nav { margin-bottom: 16cqi; }
.mock--phone .mock__logo { width: 9cqi; height: 9cqi; border-radius: 2.4cqi; }
.mock--phone .mock__btn { width: 22cqi; height: 9cqi; margin-left: auto; }
.mock--phone .mock__hero { grid-template-columns: 1fr; gap: 10cqi; margin-bottom: 0; }
.mock--phone .mock__kick { width: 30cqi; height: 2.4cqi; margin-bottom: 5cqi; }
.mock--phone .mock__title { font-size: 11cqi; margin-bottom: 6cqi; }
.mock--phone .mock__p { height: 2.6cqi; margin-bottom: 3.4cqi; }
.mock--phone .mock__cta { display: block !important; text-align: center; font-size: 4.6cqi; padding: 4.2cqi 0; margin-top: 6cqi; }
.mock--phone .mock__img { aspect-ratio: 4 / 3; border-radius: 4cqi; }

/* ==========================================================
   Serviços
   ========================================================== */
.services { padding: var(--sec) 0; background: var(--paper-2); }
.svc { border-top: 1.5px solid var(--ink); }
.svc__row {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center;
  padding: clamp(26px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.svc__row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.svc__row:hover::after, .svc__row:focus-within::after { transform: scaleX(1); }
.svc__n { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.svc__row h3 { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.04em; transition: transform var(--t-med) var(--ease-out), color var(--t-fast); }
.svc__row:hover h3 { transform: translateX(10px); color: var(--red-text); }
.svc__row p { color: var(--muted); }
.svc__go {
  justify-self: end; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--ink); transition: background var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-out);
}
.svc__go svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.svc__row:hover .svc__go, .svc__go:focus-visible { background: var(--ink); color: #fff; }
.svc__row:hover .svc__go svg { transform: rotate(45deg); }

/* ==========================================================
   Processo e provas
   ========================================================== */
.process { padding: var(--sec) 0; }
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.steps { --prog: 0; position: relative; padding-left: 40px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1.5px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--red); transform-origin: top; transform: scaleY(var(--prog)); }
.steps li { position: relative; padding-bottom: 44px; }
.steps li:last-child { padding-bottom: 0; }
.steps__dot { position: absolute; z-index: 1; left: -40px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.steps h3 { font-size: 26px; margin-bottom: 6px; }
.steps p { color: var(--muted); max-width: 420px; }
.proof {
  background: var(--ink); color: #f3f2ef; border-radius: 20px; padding: clamp(28px, 4vw, 52px);
  position: sticky; top: 110px;
}
.proof h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; margin: 18px 0 28px; }
.proof dl > div { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.proof dt { font-weight: 700; margin-bottom: 4px; }
.proof dd { color: var(--muted-dark); font-size: 15.5px; }

/* ==========================================================
   Dúvidas
   ========================================================== */
.faq { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq .sec-head { margin-bottom: 0; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover::after { background-color: var(--paper-2); }
.faq details p { color: var(--muted); padding: 0 56px 28px 0; max-width: 640px; }
.faq details[open] p { animation: faq-in .5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================
   CTA final e rodapé
   ========================================================== */
.final { background: var(--red); color: #fff; padding: var(--sec) 0; overflow: hidden; position: relative; }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 1px, transparent 1px 14px);
}
.final .wrap { position: relative; }
.final .kicker { color: #fff; }
.final__title { font-size: clamp(46px, 9vw, 140px); line-height: .92; letter-spacing: -.05em; margin-top: 26px; }
.final__title em { color: var(--ink); }
.final__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.4); }
.final__row p { max-width: 460px; font-size: 19px; }

.foot { background: var(--ink); color: #d6d4cf; padding: 56px 0 64px; font-size: 15px; }
.foot__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__name { color: #fff; font-weight: 700; margin-bottom: 4px; }
.foot__links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot__links span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 4px; }
.foot__links a { text-decoration: none; color: #fff; }
.foot__links a:hover { color: var(--red-soft); }

/* ==========================================================
   Motion: só ativa com JS e sem preferência por menos movimento
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Entrada do hero: keyframes puros, começam assim que a página renderiza */
  .hero__in { animation: hero-rise .8s var(--ease-out) both; animation-delay: calc(var(--d) * 70ms + 60ms); }
  .line > span { transform-origin: left bottom; animation: hero-line 1s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms); }
  .stage__block { transform-origin: bottom; animation: hero-block 1.1s var(--ease-io) .2s both; }
  .stage__browser { animation: hero-browser 1.3s var(--ease-out) .4s both; }
  .stage__phone { animation: hero-phone 1.3s var(--ease-out) .65s both; }
  .stage__tag { animation: hero-rise .5s var(--ease-out) 1.1s both; }
  .stage__tag--b { animation-delay: 1.25s; }

  @keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes hero-line { from { transform: translateY(108%) rotate(2deg); } }
  @keyframes hero-block { from { transform: scaleY(0); } }
  @keyframes hero-browser { from { opacity: 0; transform: translateY(60px) scale(.96); } }
  @keyframes hero-phone { from { opacity: 0; transform: translateY(90px) rotate(-4deg); } }

  /* Parallax: o wrapper recebe --py via JS */
  [data-speed] { translate: 0 var(--py, 0px); }

  /* Revelação na rolagem */
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Marcadores da anatomia surgem um a um depois do mock */
  .js .pin {
    scale: 0;
    transition: scale .6s var(--ease-out) var(--pd, 0s), transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  }
  .js .anat__stage.is-in .pin { scale: 1; }
  .pin--1 { --pd: .5s; } .pin--2 { --pd: .62s; } .pin--3 { --pd: .74s; } .pin--4 { --pd: .86s; } .pin--5 { --pd: .98s; }

  /* Títulos com máscara: cada trecho sobe de dentro do recorte */
  .js .mask[data-reveal] { opacity: 1; transform: none; }
  .js .mask > span {
    display: inline-block;
    clip-path: inset(0 0 100% 0);
    transform: translateY(.4em);
    transition: clip-path 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  }
  .js .mask > span:nth-child(2) { transition-delay: .14s; }
  .js .mask.is-in > span { clip-path: inset(-.1em -.1em -.2em -.1em); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .showcase { clip-path: none; }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .anat { grid-template-columns: 1fr; }
  .anat__stage { max-width: 760px; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(38px, 10.6vw, 88px); }
  .stage { max-width: 620px; width: 100%; margin: 24px auto 0; aspect-ratio: 1 / .9; }
  .faq__grid, .process__grid { grid-template-columns: 1fr; }
  .proof { position: static; }
  .svc__row { grid-template-columns: 44px 1fr 52px; row-gap: 8px; }
  .svc__row p { grid-column: 2 / 3; grid-row: 2; }
  .svc__go { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__in { height: 64px; }
  .brand span:last-child { font-size: 15px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stage__tag { font-size: 9.5px; padding: 4px 7px; }
  .stage__tag--b { left: 30%; bottom: 2%; }
  .pin { width: 26px; height: 26px; font-size: 11px; }
  .anat__list li { grid-template-columns: 34px 1fr; gap: 12px; }
  .svc__row { grid-template-columns: 1fr 48px; }
  .svc__n { grid-column: 1 / -1; }
  .svc__row h3 { grid-column: 1; grid-row: 2; }
  .svc__row p { grid-column: 1 / -1; grid-row: 3; }
  .svc__go { grid-column: 2; grid-row: 2; width: 46px; height: 46px; }
  .faq details p { padding-right: 0; }
  .final__row .btn { width: 100%; justify-content: center; }
  .foot__links { flex-direction: column; gap: 18px; }
}
