/* ─────────────────────────────────────────────────────────────
   Proposta — [ M ]
   Mesma identidade do briefing e do deck da proposta:
   fundo #0a0a0b · Darker Grotesque + Inter · linhas de 1px · gradiente da marca
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --fg: #f5f5f3;
  --fg-2: #d6d6da;
  --fg-3: #b4b4b9;
  --muted: #a8a8ad;
  --muted-2: #8a8a90;
  --muted-3: #6b6b70;
  --line: #26262a;
  --line-2: #3a3a3e;
  --line-3: #4a4a4e;
  --line-strong: #949494;
  --ok: #8ef0c4;
  --error: #e48bd0;
  --grad: linear-gradient(90deg, #5b6cff 0%, #9b7bff 28%, #e48bd0 52%, #7fd8ff 76%, #8ef0c4 100%);
  --grad-v: linear-gradient(180deg, #5b6cff, #9b7bff 30%, #e48bd0 55%, #7fd8ff 80%, #8ef0c4);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: 'Darker Grotesque', 'Arial Narrow', Arial, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gx: clamp(20px, 5vw, 72px);
  --top: 76px;
  --sec: clamp(104px, 17vh, 200px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg); overflow-x: clip; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: rgba(155, 123, 255, .45); color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
[hidden] { display: none !important; }
b, strong { font-weight: 600; }

/* ───────── camadas fixas ───────── */
.flow {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
}
.flow.is-on { opacity: 1; }

.top-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 2px;
  background: rgba(255, 255, 255, .05);
}
.top-progress i {
  display: block; height: 100%;
  background: var(--grad); background-size: 100vw 100%;
  box-shadow: 0 0 14px rgba(155, 123, 255, .4);
  transform: scaleX(0); transform-origin: left;
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--top);
  padding: 0 var(--gx);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  pointer-events: none;
  transition: background-color .5s, opacity .6s var(--ease), transform .6s var(--ease);
}
.topbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 10, 11, .92) 20%, rgba(10, 10, 11, 0));
  opacity: 0; transition: opacity .5s;
}
body.is-scrolled .topbar::before { opacity: 1; }
.brand {
  font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1;
  white-space: pre; text-decoration: none; pointer-events: auto;
}
.top-label {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; max-width: 62vw; overflow: hidden;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.top-label span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s, transform .5s var(--ease); }
.top-label span.is-out { opacity: 0; transform: translateY(-6px); }

/* desfoque progressivo na borda de baixo (Skiper · Progressive Blur) */
.edge-blur {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: 96px;
  pointer-events: none;
  opacity: 0; transition: opacity .6s;
}
body.is-scrolled .edge-blur { opacity: 1; }
body.at-end .edge-blur { opacity: 0; }
.edge-blur i { position: absolute; inset: 0; }
.edge-blur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%); mask: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%); }
.edge-blur i:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask: linear-gradient(to bottom, transparent 30%, #000 60%, #000 100%); mask: linear-gradient(to bottom, transparent 30%, #000 60%, #000 100%); }
.edge-blur i:nth-child(3) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-mask: linear-gradient(to bottom, transparent 60%, #000 100%); mask: linear-gradient(to bottom, transparent 60%, #000 100%); }
.edge-blur::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 10, 11, 0), rgba(10, 10, 11, .55)); }

main { position: relative; z-index: 1; }
.sec { position: relative; z-index: 2; background: var(--bg); }
.wrap { padding: 0 var(--gx); }

/* ───────── tipografia ───────── */
.k {
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 6.4vw, 112px);
  line-height: .92; letter-spacing: -.012em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: .96; letter-spacing: -.008em;
  text-wrap: balance;
}
.lead {
  max-width: 36em;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.6;
  color: var(--fg-3);
}
.small { font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.head { display: flex; flex-direction: column; gap: 20px; }
.head .h2 { max-width: 14ch; }

/* revelação na entrada (animada pelo Motion) */
html.js .rv { opacity: 0; }
html.js .hello .hw { display: inline-block; opacity: 0; }
.hello .hw { display: inline-block; }

/* ───────── botões ───────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px;
  border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap; text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .07); }
.btn-ghost { border: 1px solid var(--line-3); color: var(--fg); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .05); }
.btn:disabled { opacity: .4; cursor: default; }
/* rótulo que rola no hover (Skiper · Text roll) */
.roll { position: relative; display: inline-flex; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.roll span { display: block; transition: transform .55s var(--ease); }
.roll span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .roll span { transform: translateY(-100%); }
.btn .ico { display: inline-flex; transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* ───────── 1 · abertura ───────── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--top) + clamp(24px, 9vh, 120px));
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 11, .1) 0%, rgba(10, 10, 11, .3) 45%, rgba(10, 10, 11, .9) 100%);
  pointer-events: none;
}
.hero-main { padding: 0 var(--gx); }
.hero .k { margin-bottom: clamp(16px, 2.4vh, 28px); }
.hello {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(68px, 12.5vw, 220px);
  line-height: .84; letter-spacing: -.02em;
}
.hello .ch { display: inline-block; white-space: pre; }
.hello-name {
  display: inline-block;
  padding: 0 .04em .14em 0; margin-bottom: -.14em;
  background: linear-gradient(90deg, #5b6cff, #9b7bff, #e48bd0, #7fd8ff, #8ef0c4, #9b7bff, #5b6cff);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: hello-shift 9s linear infinite;
}
.hello-name .ch { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200vw 100%; animation: none; }
@keyframes hello-shift { to { background-position: -200% 0; } }
.hero-sub {
  margin-top: clamp(18px, 3vh, 34px);
  max-width: 17ch;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 62px);
  line-height: .98;
  color: var(--fg-3);
  text-wrap: balance;
}
.hero-space { flex: 1 0 clamp(40px, 8vh, 120px); }
.band {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  height: clamp(88px, 19vh, 220px);
}
.band-cell { position: relative; display: grid; place-items: center; padding: 0 12px; text-align: center; }
.band-glass { background: rgba(10, 10, 11, .28); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.band-text { font-size: clamp(10px, 1.25vw, 17px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.band-mark { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.2vw, 62px); line-height: 1; white-space: pre; }
.band-line { position: absolute; z-index: 2; background: var(--line-strong); opacity: .8; }
.band-line-t, .band-line-b { left: 0; right: 0; height: 1px; }
.band-line-t { top: 0; transform-origin: left; }
.band-line-b { bottom: 0; transform-origin: right; }
.band-line-v { left: 0; top: 0; bottom: 0; width: 1px; transform-origin: top; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: clamp(18px, 3.4vh, 36px) var(--gx) clamp(22px, 4vh, 44px);
  font-size: clamp(11px, 1.05vw, 15px); letter-spacing: .06em;
}
.hero-meta span:nth-child(2) { text-align: center; }
.hero-meta span:nth-child(3) { text-align: right; }
.scroll-cue {
  position: absolute; right: var(--gx); top: calc(var(--top) + clamp(24px, 9vh, 120px));
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2);
  writing-mode: vertical-rl;
}
.scroll-cue i { position: relative; width: 1px; height: 72px; overflow: hidden; background: var(--line-2); }
.scroll-cue i::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--grad-v); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ───────── 2 · manifesto (palavra por palavra) ───────── */
.manifesto { height: 280vh; }
.manifesto-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
/* metade direita: o olho do deck vira a fita cromada conforme a leitura avança */
.manifesto-media {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 46vw;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 30%);
  mask: linear-gradient(90deg, transparent 0%, #000 30%);
}
.mm-img { position: absolute; inset: 0; background-position: center; background-size: cover; will-change: transform, opacity; }
.mm-olho { background-image: url('/assets/proposta/img/olho.jpg'); background-position: 62% 50%; transform-origin: 66% 48%; }
.mm-cromo { background-image: url('/assets/proposta/img/cromo-onda.jpg'); opacity: 0; }
.manifesto-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 11, .5), rgba(10, 10, 11, 0) 30%);
}
.manifesto-text { position: relative; width: 54vw; padding: var(--top) clamp(28px, 4vw, 72px) 0 var(--gx); }
.m1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(38px, 4.6vw, 84px); line-height: .94; letter-spacing: -.01em;
  margin-bottom: clamp(22px, 4vh, 44px);
}
.m1 .m1a { color: #7d7d82; }
.m2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.3vw, 58px); line-height: 1; letter-spacing: -.006em;
  text-wrap: pretty;
}
.w { display: inline-block; white-space: pre; opacity: .14; filter: blur(5px); will-change: opacity, filter; }
html.no-motion .w { opacity: 1; filter: none; }

/* ───────── 3 · nossa proposta ───────── */
.statement {
  min-height: 115vh; min-height: 115svh;
  display: grid; place-items: center;
  overflow: hidden;
  padding: var(--sec) var(--gx);
}
/* a moldura cromada inteira, sem corte: cresce com a rolagem e gira devagar */
.ring {
  /* o PNG tem margem transparente: a moldura ocupa ~62% da imagem */
  position: absolute; inset: -50vh -50vw; margin: auto;
  width: min(140vh, 130vw); height: min(140vh, 130vw);
  pointer-events: none;
  will-change: transform;
}
.ring img { width: 100%; height: 100%; object-fit: contain; animation: ring-spin 140s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.statement p {
  position: relative;
  max-width: 15ch;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 3.2vw, 56px); line-height: 1; letter-spacing: -.008em;
  text-align: center; color: #9a9aa0;
  text-wrap: balance;
}
.statement p b { font-weight: 800; color: var(--fg); }

/* ───────── 4 · projetos (galeria horizontal) ───────── */
.port-pin { position: relative; }
.port-sticky { position: relative; padding: var(--sec) 0; }
.port-track {
  display: flex; align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  padding: 0 var(--gx);
}
.port-intro { flex: none; width: min(36vw, 540px); display: flex; flex-direction: column; gap: 20px; margin-right: clamp(20px, 4vw, 72px); }
.port-intro .h2 { max-width: 11ch; }
.port-stat { display: flex; align-items: baseline; gap: 16px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.port-stat b { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 5vw, 92px); line-height: .8; }
.port-stat span { max-width: 13em; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pc { --h: 60vh; flex: none; position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.pc-g { --h: 60vh; }
.pc-m { --h: 44vh; align-self: flex-end; }
.pc-p { --h: 32vh; align-self: flex-start; }
.pc-img {
  position: relative; overflow: hidden;
  height: var(--h); width: calc(var(--h) * var(--ar));
  border-radius: 4px; background: var(--bg-2);
}
.pc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.pc figcaption { display: flex; align-items: baseline; gap: 12px; font-size: 12px; color: var(--muted-2); }
.pc figcaption span { font-weight: 600; color: var(--muted-3); }
.pc figcaption b { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--fg); }
.pc figcaption i { font-style: normal; letter-spacing: .04em; }
html.js .pc .pc-img { clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease); }
html.js .pc.is-in .pc-img { clip-path: inset(0 0 0 0); }
html.js .pc figcaption { opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
html.js .pc.is-in figcaption { opacity: 1; transform: none; }
.port-end { flex: none; width: min(34vw, 520px); padding-left: clamp(20px, 4vw, 72px); }
.port-end p { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 6vw, 112px); line-height: .88; letter-spacing: -.015em; }
.port-bar { display: none; }

/* desktop: o trilho anda na horizontal enquanto a página rola */
@media (min-width: 900px) and (hover: hover) {
  .port-sticky { position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .port-track { width: max-content; height: 74vh; will-change: transform; }
  .port-bar {
    position: absolute; left: var(--gx); right: var(--gx); bottom: 5vh;
    display: flex; align-items: center; gap: 20px;
    font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2);
  }
  .port-count { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .port-count b { color: var(--fg); font-weight: 600; }
  .port-line { position: relative; flex: 1; height: 1px; background: var(--line-2); }
  .port-line i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
  .port-proj { min-width: 18em; text-align: right; white-space: nowrap; }
}

/* ───────── 5 · jornada ───────── */
.jornada { padding-top: var(--sec); }
.jornada .lead { margin-top: 4px; }
.track-pin { position: relative; }
.track-sticky { padding: clamp(48px, 8vh, 88px) 0 var(--sec); }
.track {
  position: relative;
  display: flex; gap: 24px;
  padding: 0 var(--gx);
}
.track-line {
  position: absolute; left: var(--gx); right: var(--gx); top: 0;
  height: 1px; background: var(--line-2);
}
.track-line i { position: absolute; inset: 0; background: var(--grad); background-size: 100% 100%; transform: scaleX(0); transform-origin: left; }
.j-card {
  position: relative;
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 14px;
  min-height: clamp(360px, 50vh, 520px);
  margin-top: 36px;
  padding: clamp(26px, 2.6vw, 44px);
  border: 1px solid var(--line-3); border-radius: 6px;
  background: var(--bg-2);
}
.j-card::before {
  content: ''; position: absolute; left: clamp(26px, 2.6vw, 44px); top: -37px;
  width: 9px; height: 9px; margin-top: -4px;
  border-radius: 50%; border: 1px solid var(--line-3); background: var(--bg);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.j-card.is-on::before { background: var(--fg); border-color: var(--fg); box-shadow: 0 0 0 4px rgba(245, 245, 243, .1); }
.j-side { display: flex; justify-content: space-between; align-items: flex-start; }
.j-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(88px, 9vw, 150px); line-height: .78;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color .5s;
}
.j-card.is-on .j-num { -webkit-text-stroke-color: var(--fg); }
.icon { width: 56px; height: 56px; flex: none; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.j-main { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.j-name { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 4.4vw, 76px); line-height: .9; text-wrap: balance; }
.j-desc { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.5; color: var(--fg-3); max-width: 26em; }
.j-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--line-2);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.j-meta span:last-child { color: var(--muted-2); }

/* rolagem horizontal fixa (desktop, 3 ou mais projetos): cards deitados, mais largos */
@media (min-width: 900px) and (hover: hover) {
  .jornada.is-h .track-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; overflow: hidden; }
  .jornada.is-h .track { width: max-content; will-change: transform; }
  .jornada.is-h .track-line { right: auto; width: calc(100% - 2 * var(--gx)); }
  .jornada.is-h .j-card {
    flex: none;
    width: min(70vw, 1080px); min-height: min(54vh, 500px);
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: 1fr auto;
    column-gap: clamp(28px, 3.4vw, 64px); row-gap: 26px;
    padding: clamp(30px, 3vw, 52px);
  }
  .jornada.is-h .j-side { flex-direction: column; justify-content: space-between; }
  .jornada.is-h .j-num { font-size: clamp(130px, 12vw, 220px); }
  .jornada.is-h .j-main { align-self: end; }
  .jornada.is-h .j-name { font-size: clamp(56px, 5.4vw, 96px); }
  .jornada.is-h .j-meta { grid-column: 1 / -1; }
}

/* ───────── 6 · cada serviço ───────── */
.servico { position: relative; z-index: 1; }
.abre {
  position: sticky; top: 0; z-index: 1;
  height: 100vh; height: 100svh;
  display: flex;
  overflow: hidden;
}
.abre-panel {
  position: relative;
  width: min(640px, 48vw);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--top) + 32px) clamp(28px, 4.5vw, 84px) clamp(40px, 9vh, 104px);
  background: rgba(10, 10, 11, .5);
  border-right: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  backdrop-filter: blur(22px) saturate(115%);
}
.m-box {
  width: 48px; height: 48px;
  display: grid; place-items: center; padding-bottom: 4px;
  border-radius: 4px; background: var(--fg); color: var(--bg);
  font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1;
}
.abre-title {
  margin-top: 16px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(60px, 7.6vw, 136px); line-height: .86; letter-spacing: -.015em;
  text-wrap: balance;
}
.abre-desc { margin-top: 22px; max-width: 24em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--fg-3); }
.abre-meta {
  position: absolute; right: var(--gx); bottom: clamp(40px, 9vh, 104px);
  display: flex; gap: 28px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.abre-meta span { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.abre-meta small { font-size: 10px; letter-spacing: .22em; color: var(--muted-2); font-weight: 600; }
.abre-meta.is-mob { display: none; }
.abre-num {
  position: absolute; right: var(--gx); top: calc(var(--top) + 8px);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(120px, 18vw, 320px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 245, 243, .22);
  pointer-events: none;
}

.corpo {
  position: relative; z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -40px 80px rgba(0, 0, 0, .55);
}

/* etapas empilhadas (React Bits · Scroll Stack) */
.etapas {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 120px);
  padding: var(--sec) var(--gx) clamp(40px, 8vh, 96px);
}
.etapas-head { position: sticky; top: calc(var(--top) + 6vh); align-self: start; display: flex; flex-direction: column; gap: 22px; }
.etapas-count { display: flex; align-items: baseline; gap: 14px; margin-top: 8px; }
.etapas-count b { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.etapas-count span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.etapas-index { list-style: none; max-width: 340px; margin-top: 6px; border-top: 1px solid var(--line-2); }
.etapas-index li {
  position: relative;
  display: flex; gap: 14px; align-items: baseline;
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--muted-3);
  transition: color .4s;
}
.etapas-index li span { font-size: 11px; font-weight: 600; color: inherit; }
.etapas-index li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--line-3); transition: background-color .4s, transform .5s var(--ease);
}
.etapas-index li.is-done { color: var(--muted-2); }
.etapas-index li.is-on { color: var(--fg); }
.etapas-index li.is-on::before { background: var(--fg); transform: scale(1.4); box-shadow: 0 0 0 3px rgba(245, 245, 243, .12); }
.stack { display: flex; flex-direction: column; gap: 22vh; padding-bottom: 6vh; }
.etapa {
  position: sticky;
  top: calc(var(--top) + 6vh + var(--i) * 16px);
  min-height: clamp(300px, 46vh, 440px);
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(26px, 2.8vw, 44px);
  border: 1px solid var(--line-3); border-radius: 6px;
  background: var(--bg-2);
  transform-origin: 50% 0;
  will-change: transform;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .5);
}
.etapa::after {
  content: ''; position: absolute; inset: -1px; border-radius: 6px;
  background: var(--bg); opacity: var(--dim, 0);
  pointer-events: none;
}
.etapa-top { display: flex; justify-content: space-between; align-items: center; }
.etapa-num { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.etapa h4 {
  margin-top: auto;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 3.6vw, 64px); line-height: .94;
}
.etapa p { max-width: 30em; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: var(--fg-3); }

/* o que você recebe */
.entrega {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 120px);
  padding: clamp(40px, 8vh, 96px) var(--gx) var(--sec);
}
.entrega-head { display: flex; flex-direction: column; gap: 22px; }
.nota {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 34em; margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line-3); border-radius: 6px; background: var(--bg-2);
}
.nota .k { color: var(--fg); letter-spacing: .2em; }
.nota p { font-size: 14px; line-height: 1.6; color: var(--fg-3); }
.checks { list-style: none; align-self: center; }
.checks li {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  padding: 22px 0;
  font-size: clamp(17px, 1.45vw, 22px); line-height: 1.4; color: var(--fg-2);
}
.checks li::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2);
  transform-origin: left;
}
.checks li:first-child::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2);
  transform-origin: left;
}
/* entrada em cascata, com as linhas se desenhando (classe .is-in vem do JS) */
html.js .checks li { opacity: 0; transform: translateX(-14px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .checks li::before, html.js .checks li:first-child::after { transform: scaleX(0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .checks.is-in li { opacity: 1; transform: none; }
html.js .checks.is-in li::before, html.js .checks.is-in li:first-child::after { transform: scaleX(1); }
.ck {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-3); color: var(--fg);
}
.ck svg { width: 14px; height: 14px; }

/* arquivos (identidade) */
.arquivos {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 120px);
  padding: 0 var(--gx) var(--sec);
}
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile {
  height: clamp(110px, 15vh, 150px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line-3); border-radius: 6px; background: var(--bg-2);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.tile svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { padding: 8px 16px; border: 1px solid var(--line-3); border-radius: 999px; font-size: 14px; color: var(--fg-2); }
.files-k { margin-top: 30px; }

/* ───────── 7 · cronograma ───────── */
.cronograma { padding: var(--sec) var(--gx); border-top: 1px solid var(--line); }
.crono-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.crono-total { display: flex; align-items: baseline; gap: 14px; }
.crono-total b { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 10vw, 180px); line-height: .8; font-variant-numeric: tabular-nums; }
.crono-total span { max-width: 9em; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gantt { margin-top: clamp(48px, 8vh, 88px); }
.g-row {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-2);
}
.g-row:last-child { border-bottom: 1px solid var(--line-2); }
.g-name { display: flex; flex-direction: column; gap: 4px; }
.g-name b { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.3vw, 36px); line-height: 1; }
.g-name small { font-size: 13px; line-height: 1.45; color: var(--muted-2); }
.g-lane { position: relative; height: 44px; }
.g-lane::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.g-bar {
  position: absolute; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 14px;
  border-radius: 3px;
  background: var(--grad) no-repeat;
  background-size: var(--gw, 100%) 100%;
  background-position: var(--bx, 0%) 0;
  transform-origin: left;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bg);
  white-space: nowrap;
}
.g-bar.is-tiny { justify-content: flex-start; background: none; padding: 0; }
.g-bar.is-tiny::before { content: ''; position: absolute; inset: 0; border-radius: 3px; background: inherit; background-image: var(--grad); background-size: var(--gw, 100%) 100%; background-position: var(--bx, 0%) 0; background-repeat: no-repeat; }
.g-bar.is-tiny span { position: absolute; left: calc(100% + 12px); color: var(--fg-2); }
.g-bar.is-tiny.to-left span { left: auto; right: calc(100% + 12px); }
.cronograma { overflow-x: clip; }
.crono-note { margin-top: 24px; }

/* ───────── 8 · revisões ───────── */
.revisoes {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 120px);
  padding: var(--sec) var(--gx);
  border-top: 1px solid var(--line);
}
.revisoes .lead + .lead { margin-top: 14px; }
.rodadas { align-self: center; border-top: 1px solid var(--line-2); }
.rodada {
  display: grid; grid-template-columns: clamp(64px, 7vw, 110px) minmax(0, 1fr) auto;
  gap: 18px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.rodada b { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 5.6vw, 92px); line-height: .78; }
.rodada small { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; color: var(--fg); }
.rodada span { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* ───────── 9 · investimento ───────── */
.investimento { padding: var(--sec) var(--gx); border-top: 1px solid var(--line); }
.inv-list { margin-top: clamp(40px, 7vh, 72px); list-style: none; }
.inv-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 20px; align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line-2);
}
.inv-row:last-child { border-bottom: 1px solid var(--line-2); }
.inv-num { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.inv-name b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 2.8vw, 46px); line-height: 1; }
.inv-name small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.inv-price { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3vw, 50px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-price.is-strike { color: var(--muted-2); }
.inv-urg {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  margin-top: clamp(28px, 5vh, 48px);
  padding: 24px 0;
  border-top: 1px solid rgba(155, 123, 255, .45); border-bottom: 1px solid rgba(155, 123, 255, .45);
}
.inv-urg::before { content: '+'; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; color: #b9a6ff; }
.inv-urg .inv-name small { max-width: 40em; }
.inv-urg .inv-price { color: #b9a6ff; }
.crono-exp { display: block; margin-top: 10px; font-style: normal; color: #b9a6ff; }
.inv-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 30px 0 0;
}
.inv-total span { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.inv-total b { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 6vw, 104px); line-height: .9; font-variant-numeric: tabular-nums; }
.obs { max-width: 46em; margin-top: 28px; white-space: pre-line; }

.combo {
  position: relative;
  margin: clamp(48px, 9vh, 96px) calc(var(--gx) * -1) 0;
  padding: clamp(72px, 14vh, 160px) var(--gx);
  overflow: hidden;
  display: grid; place-items: center;
}
.combo-bg { position: absolute; inset: -8% 0; background: url('/assets/proposta/img/cromo-fita.jpg') center / cover no-repeat; will-change: transform; }
.combo-card {
  position: relative;
  width: min(1200px, 100%);
  display: flex; flex-direction: column; gap: 30px;
  padding: clamp(32px, 5vw, 72px) clamp(26px, 6vw, 96px);
  background: rgba(10, 10, 11, .72);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.combo-k { display: flex; align-items: center; gap: 18px; }
.combo-k .m-box { width: 40px; height: 40px; font-size: 28px; }
.combo h3 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.2vw, 88px); line-height: .94; max-width: 15ch; text-wrap: balance; }
.combo-vals {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px clamp(40px, 6vw, 96px);
  padding-top: 36px; border-top: 1px solid var(--line-3);
}
.combo-vals > div { display: flex; flex-direction: column; gap: 8px; }
.combo-vals small { font-size: 14px; color: var(--muted-2); }
.strike { position: relative; display: inline-block; font-family: var(--display); font-weight: 500; font-size: clamp(36px, 3.6vw, 56px); line-height: 1; color: var(--muted); }
.strike::after { content: ''; position: absolute; left: -2%; right: -2%; top: 55%; height: 2px; background: var(--muted); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .35s; }
.strike.is-in::after { transform: scaleX(1); }
.combo-total { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 9vw, 150px); line-height: .82; font-variant-numeric: tabular-nums; }
.chip-save {
  align-self: flex-start;
  padding: 11px 22px;
  border: 1px solid var(--fg); border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* ───────── 10 · pagamento ───────── */
.pagamento { padding: var(--sec) var(--gx); border-top: 1px solid var(--line); }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: clamp(40px, 7vh, 72px); }
.pay {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 330px;
  padding: 30px 28px;
  border: 1px solid var(--line-3); border-radius: 6px;
  background: var(--bg-2);
  text-align: left;
  transition: border-color .3s, background-color .3s, transform .5s var(--ease);
}
/* luz que segue o mouse (React Bits · Spotlight Card) */
.pay::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(155, 123, 255, .16), rgba(127, 216, 255, .06) 40%, transparent 70%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.pay:hover::before { opacity: 1; }
.pay:hover { border-color: var(--line-strong); }
.pay[aria-checked="true"] { border-color: var(--fg); background: #18181b; }
.pay-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pay-big { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 4.6vw, 80px); line-height: .8; }
.pay-radio {
  flex: none; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-3); color: transparent;
  transition: background-color .3s, border-color .3s, color .3s;
}
.pay[aria-checked="true"] .pay-radio { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.pay-radio svg { width: 12px; height: 12px; }
.pay-title { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.pay-text { font-size: 14px; line-height: 1.55; color: var(--fg-3); }
.pay-val { padding-top: 16px; border-top: 1px solid var(--line-2); }
.pay-val b { display: block; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.pay-val small { font-size: 13px; color: var(--muted-2); }
.pay-note { margin-top: 22px; }

/* ───────── 11 · próximos passos ───────── */
.passos { padding: var(--sec) var(--gx); border-top: 1px solid var(--line); }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: clamp(48px, 8vh, 88px);
  list-style: none;
}
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.steps-line i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.steps.is-in .steps-line i { transform: scaleX(1); }
.step { position: relative; padding-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.step::before { content: ''; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--fg); }
.step-n { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.step b { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 2.8vw, 46px); line-height: 1; }
.step p { font-size: 15px; line-height: 1.55; color: var(--fg-3); max-width: 22em; }
.validade {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(40px, 7vh, 64px);
  padding: 12px 18px;
  border: 1px solid var(--line-3); border-radius: 4px;
  font-size: 14px; color: var(--fg-2);
}
.validade i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(142, 240, 196, .12); }
.validade.is-expired i { background: var(--error); box-shadow: 0 0 0 4px rgba(228, 139, 208, .12); }

/* ───────── 12 · fechamento ───────── */
.final {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--top) + 40px) var(--gx) 0;
}
.final::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10, 10, 11, .92) 0%, rgba(10, 10, 11, .25) 45%, rgba(10, 10, 11, .55) 100%);
  pointer-events: none;
}
.final-title {
  max-width: 12ch;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(60px, 9.6vw, 176px); line-height: .86; letter-spacing: -.018em;
  text-wrap: balance;
}
.final .lead { margin-top: 26px; }
.final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.final-state {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 9px 14px;
  border: 1px solid rgba(142, 240, 196, .4); border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ok);
}
.final-state svg { width: 14px; height: 14px; }
.final-state.is-expired { border-color: rgba(228, 139, 208, .45); color: var(--error); }
.foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: clamp(80px, 16vh, 160px) calc(var(--gx) * -1) 0;
  padding: 26px var(--gx) calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2);
  font-size: 12px; letter-spacing: .06em; color: var(--muted-2);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot span:nth-child(2) { text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; color: var(--fg); white-space: pre; }
.foot span:nth-child(3) { text-align: right; }

/* ───────── aprovação (diálogo) ───────── */
.dlg {
  position: fixed; inset: 0; z-index: 90;
  display: flex; justify-content: flex-end;
  overflow: hidden;
  visibility: hidden;
}
.dlg.is-open { visibility: visible; }
.dlg-back {
  position: absolute; inset: 0;
  background: rgba(5, 5, 6, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.dlg.is-open .dlg-back { opacity: 1; }
.dlg-panel {
  position: relative;
  width: min(560px, 100%); height: 100%;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 28px clamp(22px, 4vw, 48px) calc(32px + env(safe-area-inset-bottom));
  background: rgba(14, 14, 16, .94);
  border-left: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transform: translateX(100%);
  transition: transform .7s var(--ease);
}
.dlg.is-open .dlg-panel { transform: none; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.dlg-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; color: var(--fg); }
.dlg h2 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 60px); line-height: .94; }
.dlg .lead { margin-top: 14px; font-size: 16px; }
.field { position: relative; display: block; margin-top: 30px; }
.field > span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  display: block; width: 100%;
  margin-top: 6px; padding: 8px 0 12px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-3); border-radius: 0;
  color: var(--fg); font: 300 20px/1.4 var(--sans);
  caret-color: #9b7bff; outline: none; resize: none;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 84px; font-size: 17px; }
.field input::placeholder, .field textarea::placeholder { color: #55555b; }
.field i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.field input:focus ~ i, .field textarea:focus ~ i { transform: scaleX(1); }
.opts { display: grid; gap: 8px; margin-top: 12px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line-2); border-radius: 4px;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.opt:hover { border-color: var(--line-strong); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .pay-radio { width: 20px; height: 20px; }
.opt-text { flex: 1; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.opt-text small { color: var(--muted-2); font-size: 14px; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--fg); background: rgba(255, 255, 255, .05); }
.opt:has(input:checked) .pay-radio { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.opt:has(input:focus-visible) { outline: 1px solid var(--fg); outline-offset: 3px; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--fg-3); }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree .box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--line-3); border-radius: 3px; color: transparent; transition: all .25s; }
.agree .box svg { width: 12px; height: 12px; }
.agree:has(input:checked) .box { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.agree:has(input:focus-visible) .box { outline: 1px solid var(--fg); outline-offset: 3px; }
.form-err { min-height: 22px; margin-top: 16px; font-size: 14px; color: var(--error); }
.dlg-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.done-mark {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 28px;
  border-radius: 50%; background: var(--fg); color: var(--bg);
}
.done-mark svg { width: 28px; height: 28px; }
.loader { position: relative; overflow: hidden; width: 140px; height: 1px; margin-top: 18px; background: var(--line-2); }
.loader span { position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: var(--grad); animation: load 1.5s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(240%); } }

/* ───────── estado vazio / carregando ───────── */
.empty {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: var(--top) var(--gx);
}
.empty .h2 { max-width: 13ch; }
.boot { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--bg); transition: opacity .8s var(--ease), visibility .8s; }
.boot .loader { margin: 0; }
body.is-ready .boot { opacity: 0; visibility: hidden; }

/* ───────── cursor (mesmo do briefing) ───────── */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor-dot { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
.cursor-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor i {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from var(--a), #5b6cff, #9b7bff, #e48bd0, #7fd8ff, #8ef0c4, #5b6cff);
  animation: cursor-spin 2.4s linear infinite;
  transition: transform .45s var(--ease), opacity .35s;
}
.cursor-dot i { filter: drop-shadow(0 0 6px rgba(155, 123, 255, .55)); }
.cursor-ring i {
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  opacity: 0; transform: scale(.35);
}
.cursor.is-link .cursor-dot i { transform: scale(.5); }
.cursor.is-link .cursor-ring i { opacity: 1; transform: scale(1); }
.cursor.is-text .cursor-dot i { transform: scale(.4); }
.cursor.is-down .cursor-dot i { transform: scale(.7); }
@keyframes cursor-spin { to { --a: 360deg; } }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* ───────── responsivo ───────── */
@media (max-width: 1100px) {
  .etapas, .entrega, .arquivos, .revisoes { grid-template-columns: 1fr; }
  .etapas-head { position: relative; top: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}

@media (max-width: 899px), (hover: none) {
  .track { flex-direction: column; gap: 16px; padding-left: calc(var(--gx) + 28px); }
  .track-line { left: calc(var(--gx) + 4px); right: auto; top: 38px; bottom: 38px; width: 1px; height: auto; }
  .track-line i { transform: scaleY(0); transform-origin: top; background: var(--grad-v); }
  .j-card { flex: none; margin-top: 0; min-height: 0; }
  /* projetos: arrastar para o lado */
  .port-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-end; padding-bottom: 6px; scroll-padding: 0 var(--gx); }
  .port-track::-webkit-scrollbar { display: none; }
  .port-intro { width: 78vw; align-self: center; scroll-snap-align: start; margin-right: 6px; }
  .pc { scroll-snap-align: start; }
  .pc-g { --h: 62vw; }
  .pc-m { --h: 50vw; }
  .pc-p { --h: 42vw; }
  .pc-img img { transform: none; }
  .port-end { width: 70vw; align-self: center; scroll-snap-align: end; }
  .j-num { font-size: 72px; }
  .j-card::before { left: -28px; top: 34px; margin-top: 0; }
  .j-name { margin-top: 18px; }
}

@media (max-width: 900px) {
  .manifesto-pin { align-items: flex-end; }
  .manifesto-media { left: 0; width: auto; bottom: 46%; -webkit-mask: linear-gradient(0deg, transparent 0%, #000 45%); mask: linear-gradient(0deg, transparent 0%, #000 45%); }
  .manifesto-media::after { background: none; }
  .manifesto-text { width: auto; padding: 0 var(--gx) clamp(48px, 10vh, 96px); }
  .m1 { font-size: clamp(34px, 9vw, 60px); }
  .m2 { font-size: clamp(27px, 6.6vw, 44px); }
  .statement p { max-width: 12ch; font-size: clamp(21px, 5.8vw, 30px); }
  .ring { width: min(160vw, 120vh); height: min(160vw, 120vh); }
  .abre { flex-direction: column; justify-content: flex-end; }
  .abre-panel {
    width: 100%;
    gap: 26px;
    padding: 30px var(--gx) calc(36px + env(safe-area-inset-bottom));
    border-right: 0; border-top: 1px solid rgba(255, 255, 255, .18);
    background: rgba(10, 10, 11, .55);
  }
  .abre-meta.is-desk { display: none; }
  .abre-meta.is-mob { display: flex; position: static; justify-content: flex-start; gap: 22px; margin-top: 22px; }
  .abre-meta span { align-items: flex-start; }
  .abre-num { font-size: 38vw; }
  .m-box { width: 40px; height: 40px; font-size: 28px; }
  .g-row { grid-template-columns: 1fr; gap: 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --top: 62px; }
  .brand { font-size: 22px; }
  .top-label { font-size: 10px; letter-spacing: .16em; }
  .scroll-cue { display: none; }
  .hello { font-size: 17.5vw; }
  .band { height: 84px; }
  .band-text { font-size: 9.5px; letter-spacing: .06em; }
  .band-mark { font-size: 30px; }
  .hero-meta { font-size: 10.5px; letter-spacing: .04em; }
  .manifesto { height: 240vh; }
  .stack { gap: 14vh; }
  .etapa { top: calc(var(--top) + 16px + var(--i) * 10px); min-height: 0; }
  .etapa h4 { margin-top: 18px; }
  .inv-row, .inv-urg { grid-template-columns: 1fr auto; }
  .inv-urg::before { display: none; }
  .inv-num { display: none; }
  .steps { grid-template-columns: 1fr; }
  .combo { margin-left: calc(var(--gx) * -1); margin-right: calc(var(--gx) * -1); }
  .combo-card { padding: 28px 22px; }
  .pay { min-height: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot span:nth-child(2) { display: none; }
  .final-actions .btn { width: 100%; }
  .dlg-panel { width: 100%; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  html.js .rv { opacity: 1; }
  .w { opacity: 1; filter: none; }
}
