/* ============================================================
   zarraPrime — landing institucional
   Direção: One motif (seed 1799109382) · motivo: o círculo da moeda
   Sem desenho: o círculo é máscara de fotografia, nunca ilustração.
   Paleta travada pela marca: teal #173E73 no claro, #2A5CA8 no escuro · laranja #D9A435
   Tipografia: Albert Sans 400/500/600
   ============================================================ */

:root {
  /* Paleta clara, de banco. O escuro com teal brilhante era vocabulário
     de fintech noturna: trocado por decisão do Luis em 27/10/2026.      */
  --ground:      #F6F7F6;   /* o campo da página */
  --ground-step: #FFFFFF;   /* superfícies que sobem: cartões, aparelhos */
  --ground-deep: #EBEEED;   /* o degrau que desce, no lugar do escuro */

  --ink:      #10201F;
  --ink-soft: #5A6B69;

  --teal:        #173E73;   /* fechado o bastante para texto em branco */
  --teal-bright: #2A5CA8;
  --teal-deep:   #0E2A52;
  --orange:      #C9962E;   /* vivo, com tinta escura: branco não passa */
  --orange-hot:  #E0AC3C;

  --gutter: clamp(16px, 2.2vw, 32px);
  --edge:   clamp(16px, 8vw, 148px);
  --max:    1480px;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body:  clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead:  clamp(1.25rem, 1.05rem + 1.15vw, 2.125rem);
  --step-head:  clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-hero:  clamp(2.5rem, 1.1rem + 4.6vw, 4.5rem);

  /* Curvas próprias; as do CSS são fracas */
  --ease-out:  cubic-bezier(0.22, 0.86, 0.26, 1);
  --ease-soft: cubic-bezier(0.33, 0.9, 0.4, 1);
  --t-press:  110ms;
  --t-small:  190ms;
  --t-enter:  520ms;
  --t-signature: 1100ms;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
fieldset { border: 0; }
ul, ol { list-style: none; }

::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  text-wrap: balance;
}

.wrap { width: min(100% - (2 * var(--gutter)), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: var(--ink);
  padding: 14px 20px; border-radius: 999px; z-index: 200;
}
.skip:focus { left: var(--gutter); top: 14px; }

/* ---------- Botões: um formato só, redondo, chapado ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px;
  font-weight: 500; font-size: var(--step-body); letter-spacing: -0.01em;
  padding: 1.05em 2.1em; cursor: pointer;
  background: var(--orange);
  color: var(--ink);                   /* tinta escura no laranja: branco não passa */
  transition: background var(--t-small) var(--ease-out),
              transform var(--t-press) var(--ease-out);
}
.btn:hover { background: var(--orange-hot); }
.btn:active { transform: scale(0.97); }

/* par de ações no topo: um texto e um botão cheio, como na referência */
.btn--sm { padding: 0.72em 1.5em; font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem); }

.link-plain {
  display: inline-flex; align-items: center;
  font-weight: 500; padding: 0.4em 0;
  transition: color var(--t-small) var(--ease-out);
}
.link-plain:hover { color: var(--teal-bright); }
.link-plain:active { transform: translateY(1px); }

/* ---------- Topo ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 40; padding: clamp(20px, 3vh, 38px) 0; }
.top__inner { display: flex; align-items: center; gap: 2rem; }
.top__mark { display: inline-flex; align-items: center; gap: 10px; }
.top__mark .top__simbolo { height: clamp(30px, 3vw, 40px); width: auto; }
.top__nome { font-weight: 600; letter-spacing: -0.01em; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); color: var(--ink); }
.top__nome b { font-weight: 600; color: var(--teal); }
.top__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem); }

/* ============================================================
   HERÓI — imagem em cima, título embaixo, tudo centrado
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(104px, 15vh, 150px) clamp(72px, 12vh, 130px); }
.hero__inner { text-align: center; display: grid; justify-items: center; }

/* o palco: a fotografia, o celular com o sistema, e as etiquetas */
.palco {
  position: relative; width: min(100%, 760px);
  aspect-ratio: 16 / 9; margin-bottom: clamp(28px, 5vh, 52px);
}
/* O campo atrás da fotografia. Faixas verticais de tons chapados do
   mesmo teal, nunca degradê: é o que tira o ar de imagem solta sem
   quebrar a regra da casa. */
.palco__fundo, .papel {
  position: absolute; z-index: 0; overflow: hidden; display: flex;
  /* largura de tela: sai do contêiner e atravessa a página inteira */
  top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
}
.palco__fundo i, .papel i { flex: 1; background: #173E73; }
.palco__fundo i:nth-child(2n), .papel i:nth-child(2n) { flex: 1.4; background: #1E4C8F; }
.palco__fundo i:nth-child(3n), .papel i:nth-child(3n) { flex: .7; background: #10325E; }
.palco__fundo i:nth-child(5n), .papel i:nth-child(5n) { flex: 1.8; background: #27559B; }
.palco__fundo i:nth-child(7n), .papel i:nth-child(7n) { flex: .6; background: #0B2448; }

/* a seção que corre sobre o papel: tinta clara, porque o campo é escuro */
/* cor de fundo real, não só as faixas: sem ela o medidor de
   contraste lê a cor da página e acusa texto claro sobre claro */
.sec--papel { position: relative; background: #173E73; color: #F2F5FA; }
.sec--papel .wrap { position: relative; z-index: 1; }
.sec--papel .sec__head, .sec--papel .sec__say,
.sec--papel .field > span, .sec--papel .rates span { color: #F2F5FA; }
.sec--papel .rates b { color: #FFFFFF; }
.sec--papel .rates__note, .sec--papel .sim__note { color: #DCE4F0; }
/* o aparelho tem fundo próprio e não herda a tinta clara da seção */
.sec--papel [data-ui] { color: var(--ink); }
.sec--papel [data-ui] .dh-label, .sec--papel [data-ui] .dh-pending { color: var(--ink-soft); }
.sec--papel .dev figcaption { color: #DCE4F0; }
.sec--papel .field input[type="number"] {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #F2F5FA;
}
.sec--papel .field input[type="number"]:hover { border-color: #FFFFFF; }
.sec--papel .field input[type="number"]:focus { border-color: var(--orange); }
.sec--papel .choice label { border-color: rgba(255,255,255,.45); color: #F2F5FA; }
.sec--papel .choice label:hover,
.sec--papel .choice label:has(input:checked) { background: #FFFFFF; color: var(--teal-deep); }

.palco__foto {
  position: absolute; inset: 9% 6% 9% 22%; z-index: 1;
  border-radius: 18px; overflow: hidden; background: var(--ground-step);
}
.palco__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }

/* o celular com o sistema, na frente da fotografia */
.fone {
  position: absolute; left: 2%; bottom: 10%; width: 37%; z-index: 2;
  background: #192638; border-radius: 26px; padding: clamp(7px, 0.8vw, 11px);
}
.fone__tela {
  background: var(--ground-deep); border-radius: 20px;
  padding: clamp(12px, 1.4vw, 18px); text-align: left;
  font-size: clamp(0.8125rem, 0.72rem + 0.3vw, 0.875rem); line-height: 1.35;
}
.fone .dh-value { font-size: 1.75em; }
.fone .ui__v { padding-left: 0.45em; }
.fone .ui__row:first-of-type { margin-top: 0.7em; }

/* as etiquetas que flutuam */
.pill {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .62em 1.1em; border-radius: 999px;
  background: var(--ground-step); color: var(--ink);
  font-size: clamp(0.75rem, 0.68rem + 0.28vw, 0.9375rem); font-weight: 500;
  white-space: nowrap;
}
.pill::before {
  content: ""; width: .5em; height: .5em; border-radius: 50%;
  background: var(--teal-bright); flex: none;
}
.pill--a { top: 13%; right: 3%; }
.pill--b { top: 46%; right: 1%; background: var(--teal); color: var(--ground-deep); }
.pill--b::before { background: var(--ground-deep); }
.pill--c { top: 22%; left: 4%; }

.hero__title {
  font-size: var(--step-hero); letter-spacing: -0.03em; margin-bottom: 0.4em;
  max-width: 14ch;
}
.hero__say { font-size: var(--step-body); line-height: 1.5; max-width: 58ch; margin-bottom: 2em; }
.hero__act { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   DECLARAÇÃO
   ============================================================ */
.statement { padding-block: clamp(96px, 18vh, 190px); }
.statement p {
  width: min(100%, 62%); margin-inline: auto; text-align: center;
  font-size: var(--step-lead); font-weight: 500;
  line-height: 1.3; letter-spacing: -0.02em;
}

/* ============================================================
   Seções
   ============================================================ */
.sec { padding-block: clamp(96px, 16vh, 190px); overflow-x: clip; }
.sec--step { background: var(--ground-step); }
.sec--deep { background: var(--ground-deep); }

/* um campo de cor inteiro, para a página não ser escura de ponta a ponta */
.sec--teal { background: var(--teal); color: var(--ground-deep); }
.sec--teal .sec__say { color: var(--ground-deep); }

.sec__head { font-size: var(--step-head); max-width: 17ch; margin-bottom: 0.6em; }
.sec__head--wide { max-width: 22ch; }
.sec__say { font-size: var(--step-body); max-width: 56ch; line-height: 1.55; }

.two {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}

/* par assimétrico: evita que o celular repita a composição do simulador */
.feature {
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
  margin-top: clamp(3rem, 7vh, 5.5rem);
}

/* ---------- Taxas em destaque ---------- */
.rates {
  display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 3.4rem);
  margin-top: clamp(1.8rem, 3.4vw, 2.6rem);
}
.rates__note { margin-top: 1.2em; color: var(--ink-soft); max-width: 48ch; line-height: 1.55; }
.rates b {
  display: block; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  color: var(--teal-bright); font-variant-numeric: tabular-nums;
}
.rates span { display: block; margin-top: 0.3em; color: var(--ink); }

/* ============================================================
   A COISA VIVA — o resultado num campo de cor, não num desenho
   ============================================================ */
.sim__read {
  width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%;
  background: var(--teal); color: var(--ground-deep);
  display: grid; place-content: center; text-align: center;
  padding: 16%; margin-inline: auto;
}
.sim__out {
  font-size: clamp(2rem, 4.8vw, 3.25rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums;
  transition: opacity var(--t-small) var(--ease-out);
}
.sim__when { font-size: var(--step-body); margin-top: 0.6em; line-height: 1.35; }
.sim__note {
  font-size: var(--step-small); color: var(--ink-soft);
  max-width: 44ch; margin: clamp(1.4rem, 2.6vw, 2rem) auto 0;
  text-align: center; line-height: 1.5;
}

.sim__panel { display: grid; gap: 1.8rem; margin-top: clamp(1.9rem, 3.4vw, 2.8rem); }

.field { display: grid; gap: 0.55rem; }
.field > span { font-weight: 500; }

/* campos de formulário: a exceção que a casa permite ter contorno */
.field input[type="number"] {
  background: var(--ground); border: 2px solid var(--teal);
  border-radius: 999px; padding: 0.95em 1.4em;
  font-variant-numeric: tabular-nums; width: 100%;
  transition: border-color var(--t-small) var(--ease-out);
}
.field input[type="number"]:hover { border-color: var(--teal-bright); }
.field input[type="number"]:focus { border-color: var(--orange); }
.sec--step .field input[type="number"] { background: var(--ground-deep); }

.choice { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.choice label {
  position: relative; border-radius: 999px; padding: 0.8em 1.6em;
  cursor: pointer; font-weight: 500; border: 2px solid var(--teal);
  transition: background var(--t-small) var(--ease-out),
              color var(--t-small) var(--ease-out),
              transform var(--t-press) var(--ease-out);
}
.choice label:hover { background: var(--teal); color: #fff; }
.choice label:active { transform: scale(0.96); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label:has(input:checked) { background: var(--teal); color: #fff; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ============================================================
   OS DISPOSITIVOS — reconstrução fiel do painel real
   Estrutura, rótulos e ordem vêm de app/dashboard/page.tsx do
   liberpay-frontend (branch core, idêntica ao que roda no pratina).
   Números são de amostra; nenhum dado de cliente.
   ============================================================ */
.devices {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.63fr) minmax(0, 0.47fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem); align-items: end;
  margin-top: clamp(3rem, 7vh, 5.5rem);
}

/* Três aparelhos, cada um com a moldura do seu tipo. A espessura da
   borda e o raio são o que distingue laptop, tablet e celular. */
.dev--laptop .dev__screen { border-width: clamp(8px, 0.85vw, 12px); border-radius: 12px; }
.dev--laptop::after {           /* a base do laptop */
  content: ""; display: block; height: clamp(7px, 0.8vw, 11px);
  width: 110%; margin-left: -5%;
  background: #192638; border-radius: 0 0 10px 10px;
}
.dev--tablet .dev__screen { border-width: clamp(10px, 1.1vw, 15px); border-radius: 20px; }
.dev--phone .dev__screen  { border-width: clamp(8px, 0.9vw, 12px); border-radius: 26px; }

/* a moldura: sem ela o aparelho e a pagina tem quase o mesmo tom e o
   bloco inteiro le como vazio, que foi exatamente o que aconteceu */
.dev { width: 100%; }
.dev__screen {
  background: var(--ground-deep);
  border: clamp(9px, 1vw, 14px) solid #192638;   /* a moldura do aparelho */
  border-radius: 22px;
  padding: clamp(14px, 1.6vw, 24px);
  font-size: clamp(0.75rem, 0.66rem + 0.3vw, 0.875rem);
  line-height: 1.4;
}
.dev--phone .dev__screen { padding: clamp(11px, 1.2vw, 16px); }
.dev--tablet .dev__screen { padding: clamp(13px, 1.4vw, 19px); }
/* conceito, não produto: a tela usa a linguagem do painel real para não divergir */
.dev--pos .dev__screen { border-radius: 24px; padding: clamp(14px, 1.4vw, 20px); text-align: center; }
.dev--pos .dh-chips { justify-content: center; }
.dev--pos .dh-card { margin-top: 0.9em; }
.dev figcaption {
  margin-top: 0.8em; font-size: var(--step-small);
  color: var(--ink-soft); text-align: center;
}

.dh-hero { margin-bottom: 1.1em; }
.dh-hello { color: var(--ink-soft); }
.dh-name { font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.dh-sub { color: var(--ink-soft); margin-top: 0.35em; }

.dh-balance { margin-bottom: 1.1em; }
.dh-label { color: var(--ink-soft); }
.dh-value {
  font-size: 2.1em; font-weight: 600; letter-spacing: -0.04em;
  line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--teal-bright);
}
.dh-value small { font-size: 0.5em; font-weight: 500; margin-right: 0.25em; }
.dh-pending { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.dh-chips { display: flex; gap: 0.45em; margin-bottom: 1.1em; flex-wrap: wrap; }
.dh-chips span {
  padding: 0.4em 0.9em; border-radius: 999px;
  background: var(--ground-step); color: var(--ink-soft);
}
.dh-chips .is-on { background: var(--teal); color: var(--ground-deep); font-weight: 500; }

.dh-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8em; }
.dh-card { background: var(--ground-step); border-radius: 12px; padding: 1em; }
.dh-card-title { font-weight: 500; }
.dh-card-sub { color: var(--ink-soft); margin-bottom: 0.7em; }

.dh-chart { display: flex; align-items: flex-end; gap: 0.35em; height: 64px; margin-top: 0.8em; }
.dh-chart i { flex: 1; height: var(--h); background: var(--teal); border-radius: 3px 3px 0 0; }
.dh-chart i:last-child { background: var(--teal-bright); }

.dh-stats { display: grid; gap: 0.45em; }
.dh-stats div { display: flex; justify-content: space-between; gap: 0.8em; }
.dh-stats dt { color: var(--ink-soft); }
.dh-stats dd { font-weight: 500; font-variant-numeric: tabular-nums; }

/* Linhas de extrato dentro do aparelho. Estavam faltando: foram
   removidas na reescrita sem desenhos e nao voltaram junto com os
   aparelhos, entao rotulo e valor apareciam colados.               */
[data-ui] .ui__top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.9em; font-weight: 500;
}
[data-ui] .ui__row {
  display: flex; align-items: center; gap: 0.8rem;
  padding-block: 0.62em; font-variant-numeric: tabular-nums;
}
[data-ui] .ui__row + .ui__row { border-top: 1px solid rgba(157, 179, 178, 0.16); }
[data-ui] .ui__k { display: flex; align-items: center; gap: 0.55em; min-width: 0; flex: 1 1 auto; }
[data-ui] .ui__k b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .ui__v { white-space: nowrap; font-weight: 500; margin-left: auto; padding-left: 0.8em; }
[data-ui] .ui__sum {
  display: flex; justify-content: space-between; gap: 0.8em;
  margin-top: 0.9em; padding-top: 0.75em;
  border-top: 2px solid var(--teal); font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* o saldo depois da venda, dentro do fragmento de interface */
[data-ui] .sim__saldo {
  margin-top: 1.1em; padding-top: 1em;
  border-top: 1px solid rgba(157, 179, 178, 0.16);
}
#liquido { transition: opacity var(--t-small) var(--ease-out); }

/* ---------- Fotografia: no círculo, e em faixa cheia ---------- */
.photo {
  position: relative;
  width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; margin-inline: auto; background: var(--ground-step);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

.band { width: 100%; height: clamp(280px, 44vh, 540px); overflow: hidden; }
/* enquadra a mesa e o terminal: a 35% a faixa cortava o rosto nos olhos */
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }

/* ---------- Métodos: linhas alternadas, nunca grade de cartões ---------- */
.rows { display: grid; gap: clamp(72px, 11vh, 132px); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.row:nth-child(even) > .row__media { order: -1; }
.row__head { font-size: var(--step-head); max-width: 14ch; margin-bottom: 0.55em; }
.row__say { max-width: 46ch; line-height: 1.55; }

/* ---------- Pilares da infraestrutura ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.4rem, 5vw, 4.5rem) clamp(2rem, 4.5vw, 4rem);
  margin-top: clamp(3rem, 7vh, 6rem);
}
.pillar h3 {
  font-size: var(--step-lead); font-weight: 600;
  letter-spacing: -0.025em; margin-bottom: 0.45em;
}
.pillar p { line-height: 1.55; max-width: 38ch; }

/* ---------- Lista de capacidades ---------- */
.caps { columns: 3; column-gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.caps--tight { columns: 2; margin-top: clamp(1.8rem, 3.4vw, 2.6rem); }
.caps li {
  break-inside: avoid; display: flex; align-items: baseline;
  gap: 0.7em; padding-block: 0.5em; line-height: 1.45;
}
.caps li::before {
  content: ""; width: 0.55em; height: 0.55em; border-radius: 50%;
  background: var(--teal-bright); flex: none; transform: translateY(-0.08em);
}

/* ---------- Perguntas: separadas por espaço e tom, nunca por régua ---------- */
.faq { display: grid; gap: clamp(0.5rem, 1vw, 0.9rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.faq__item {
  padding: clamp(1.5rem, 2.8vw, 2.3rem) clamp(1.4rem, 2.6vw, 2.2rem);
  border-radius: 20px; background: var(--ground);
}
.faq__q { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 0.45em; }
.faq__a { max-width: 62ch; line-height: 1.6; }

/* ---------- Chamada final ---------- */
.cta { text-align: center; }
.cta__head { margin-inline: auto; }
.cta__say { margin-inline: auto; }
.act-row {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-top: clamp(1.8rem, 3.4vw, 2.8rem);
}
.act-row--mid { justify-content: center; }

/* ---------- Rodapé: o nome volta em largura cheia ---------- */
.foot { background: var(--ground-deep); padding-block: clamp(72px, 12vh, 130px) 40px; }
.foot__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem); margin-bottom: clamp(60px, 10vh, 110px);
}
.foot__title { font-weight: 600; margin-bottom: 0.9em; }
.foot__cols li { padding-block: 0.38em; }
.foot__cols a { transition: color var(--t-small) var(--ease-out); }
.foot__cols a:hover { color: var(--teal-bright); }

.foot__name {
  display: block; width: 100%; color: var(--teal);
  font-size: clamp(3.5rem, 15.5vw, 15rem); font-weight: 600;
  letter-spacing: -0.05em; line-height: 0.82;
}
.foot__fine {
  margin-top: clamp(32px, 6vh, 64px);
  display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: space-between;
  font-size: var(--step-small); color: var(--ink-soft); line-height: 1.6;
}

/* ============================================================
   MOVIMENTO
   ============================================================ */
.js .rise {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--t-enter) var(--ease-out),
              transform var(--t-enter) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .rise.is-in { opacity: 1; transform: none; }

/* Entrada de SEÇÃO: a seção inteira sobe junto, por baixo das entradas
   dos elementos. Percurso curto e tempo longo, para somar profundidade
   em vez de brigar com o movimento de dentro. */
.js .sec-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 820ms var(--ease-soft);
}
.js .sec-in.is-in { opacity: 1; transform: none; }
.js .hero.sec-in { opacity: 1; transform: none; transition: none; }

/* Cada seção se anuncia: o título entra por uma persiana de baixo para
   cima. Usa a mesma classe .is-in das entradas, então está coberto pela
   mesma rede de segurança e nunca fica escondido se o script falhar. */
.js .hero__title.rise, .js .sec__head.rise, .js .row__head.rise, .js .faq__q.rise {
  clip-path: inset(0 0 104% 0);
  transition: opacity var(--t-enter) var(--ease-out),
              transform var(--t-enter) var(--ease-out),
              clip-path 760ms var(--ease-soft);
  transition-delay: var(--d, 0ms);
}
.js .hero__title.rise.is-in, .js .sec__head.rise.is-in,
.js .row__head.rise.is-in, .js .faq__q.rise.is-in { clip-path: inset(0 0 -12% 0); }

/* as etiquetas flutuam, em alturas e tempos diferentes, para o palco
   nunca ficar parado. Só transform, nenhuma propriedade de layout. */
@keyframes flutua {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -7px, 0); }
}
.js .pill { animation: flutua 7.5s var(--ease-soft) infinite; }
.js .pill--b { animation-duration: 8.8s; animation-delay: -2.6s; }
.js .pill--c { animation-duration: 8.1s; animation-delay: -4.4s; }
/* o aparelho não flutua: com o campo atrás, movimento demais vira ruído */

.palco__foto img { transform: translate3d(0, var(--drift, 0px), 0) scale(1.04); }
.band img { transform: translate3d(0, var(--drift, 0px), 0) scale(1.08); }

/* O movimento assinatura: a persiana sobre a faixa.
   .is-cut é posta pelo script, nunca pelo CSS: se o script falhar,
   a fotografia aparece inteira em vez de ficar escondida.          */
.js .band.is-cut { clip-path: inset(0 0 100% 0); transition: clip-path var(--t-signature) var(--ease-soft); }
.js .band.is-cut.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .sec-in { opacity: 1; transform: none; transition: none; }
  .js .hero__title.rise, .js .sec__head.rise,
  .js .row__head.rise, .js .faq__q.rise { clip-path: none; transition: none; }
  .js .pill, .js .fone { animation: none; }
  .js .band.is-cut { clip-path: none; transition: none; }
  .palco__foto img { transform: scale(1.04); }
  .band img { transform: scale(1.08); }
  .btn:active, .choice label:active, .link-plain:active { transform: none; }
}

/* ============================================================
   Telefone — composição própria
   ============================================================ */
@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .two, .row, .feature, .devices { grid-template-columns: minmax(0, 1fr); }
  .devices { align-items: stretch; }
  .dev--phone { width: min(100%, 320px); margin-inline: auto; }
  .row:nth-child(even) > .row__media { order: 0; }
  .caps { columns: 2; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --edge: 20px; }

  .top { padding-top: 18px; }
  .top__nav { gap: 1rem; }
  .top__nav a:not(:last-child) { display: none; }

  .hero { padding-block: 108px 72px; }
  .hero__title { font-size: 11.5vw; max-width: 100%; }
  .hero__say { max-width: 36ch; margin-bottom: 1.6em; }
  /* no telefone o palco vira vertical: foto em cima, aparelho na base,
     e uma etiqueta só, para não virar bagunça */
  .palco { aspect-ratio: 4 / 5; }
  .palco__foto { inset: 0 0 18% 0; }
  .fone { left: 50%; width: 52%; bottom: 0; transform: translateX(-50%); }
  .js .fone { animation: none; }
  .pill--a { top: 3%; right: 0; }
  .pill--b, .pill--c { display: none; }

  .statement { padding-block: 96px; }
  .statement p { width: 100%; text-align: left; font-size: 1.5rem; line-height: 1.24; }

  .pillars { grid-template-columns: minmax(0, 1fr); }
  .caps, .caps--tight { columns: 1; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .act-row { flex-direction: column; align-items: stretch; }
  .act-row .btn { width: 100%; }
  .act-row .link-plain { justify-content: center; }
}
