/* TreinoUp — site oficial.
   Escrito à mão: sem framework, sem build, uma folha para as três páginas.

   Direção visual: caderno de treino industrial. O produto é um registro de
   números — carga, série, repetição, semana — então a página usa a linguagem
   de um placar: fundo quase preto morno, uma única cor quente de destaque,
   filetes finos, numerais tabulares e rótulos condensados em caixa alta.
   Fundo morno (#0b0a09) em vez de preto puro: o preto puro achata a foto do
   celular e deixa a página com cara de terminal.

   ┌──────────────────────────────────────────────────────────────────────┐
   │ TROCAR AS CORES DA MARCA: apenas o bloco :root abaixo. Nada mais no  │
   │ arquivo tem cor escrita na mão — tudo referencia estas variáveis.    │
   └──────────────────────────────────────────────────────────────────────┘ */

:root {
  /* --- fundo e superfícies ------------------------------------------- */
  --bg:        #0b0a09;
  --surface:   #141211;
  --surface-2: #1d1a18;
  --surface-3: #262220;

  /* Filetes. Levemente quentes para não cortar o fundo com cinza azulado. */
  --hair:      rgba(255, 244, 236, .105);
  --hair-soft: rgba(255, 244, 236, .052);

  /* --- texto ---------------------------------------------------------- */
  --fg:   #f8f5f1;
  --fg-2: #ada49c;
  --fg-3: #8f8781;  /* >=4.5:1 sobre --bg e --surface-2 — WCAG AA em texto pequeno */

  /* --- destaque -------------------------------------------------------- */
  --acc:      #ff4a1c;
  --acc-2:    #ff8a3d;
  --acc-ink:  #1a0500;                     /* texto sobre o destaque */
  --acc-soft: rgba(255, 74, 28, .12);
  --acc-line: rgba(255, 74, 28, .32);

  /* Verde só em dado positivo (check, evolução). Nunca em botão. */
  --ok: #46d98a;

  /* --- medidas --------------------------------------------------------- */
  --max: 1140px;
  --pad: clamp(20px, 5.2vw, 36px);
  --sec: clamp(42px, 6vw, 75px);           /* respiro vertical de seção */
  --nav-h: 56px;

  --r-s:  10px;
  --r-m:  18px;
  --r-l:  26px;
  --r-xl: 34px;

  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

/* Archivo variável: um arquivo cobre peso 400–800 e largura 62–125%, então os
   títulos largos e os rótulos condensados saem da mesma fonte. Subset latin —
   cobre ã õ ç á é í ó ú â ê ô, tudo que o português precisa. Auto-hospedada:
   nenhuma requisição a terceiros, nada bloqueando o primeiro paint. */
@font-face {
  font-family: 'Archivo var';
  src: url('fonts/archivo-latin-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Archivo var', 'Archivo', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-stretch: 100%;
  line-height: 1.58;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Celular com notch: a barra fixa e as faixas de ponta a ponta não podem
     ficar embaixo do recorte nem da barra de gestos. */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Grão fino sobre tudo. Fica atrás de qualquer clique e não repinta em scroll. */
body::before {
  content: '';
  position: fixed; inset: -50%;
  z-index: 0; pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }

::selection { background: rgba(255, 74, 28, .32); color: var(--fg); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Pular para o conteúdo: some até receber foco pelo teclado. */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-160%);
  background: var(--acc); color: var(--acc-ink);
  padding: 10px 16px; border-radius: var(--r-s); font-weight: 700;
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; text-decoration: none; }

/* ═══════════════════════════════════════════════════════ escala tipográfica */

h1, h2, h3, h4 { font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }

h1 {
  font-size: clamp(40px, 9.4vw, 82px);
  font-stretch: 112%;
  line-height: .98;
  letter-spacing: -.038em;
}
h2 {
  font-size: clamp(29px, 5.6vw, 51px);
  font-stretch: 110%;
  line-height: 1.03;
}
h3 { font-size: clamp(19px, 2.4vw, 23px); font-stretch: 104%; line-height: 1.24; letter-spacing: -.022em; }
h4 { font-size: 17px; font-stretch: 104%; letter-spacing: -.018em; }

/* Rótulo condensado em caixa alta — o "código da série" de um placar. */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--acc);
  font-size: 12px; font-weight: 700; font-stretch: 78%;
  text-transform: uppercase; letter-spacing: .17em;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px; flex: none;
  background: var(--acc); opacity: .7;
}

.lead  { font-size: clamp(17px, 2.3vw, 20px); color: var(--fg-2); line-height: 1.55; }
.muted { color: var(--fg-2); }
.fine  { font-size: 14px; color: var(--fg-3); line-height: 1.5; }
.num   { font-variant-numeric: tabular-nums; }

/* Uma seção = um respiro vertical, sempre o mesmo. */
section { padding: var(--sec) 0; }
.sechead { max-width: 620px; margin-bottom: clamp(22px, 3.3vw, 35px); }
.sechead .lead { margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ══════════════════════════════════════════════════════════════════ botões */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-stretch: 104%; font-size: 16.5px; letter-spacing: -.015em;
  text-align: center; white-space: nowrap;
  transition: transform .22s var(--ease), background-color .22s, border-color .22s, box-shadow .22s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.975); }

.btn-1 {
  background: var(--acc); color: var(--acc-ink);
  box-shadow: 0 8px 26px -8px rgba(255, 74, 28, .58);
}
.btn-1:hover { background: var(--acc-2); box-shadow: 0 12px 32px -8px rgba(255, 74, 28, .7); }

.btn-2 {
  background: rgba(255, 244, 236, .055);
  color: var(--fg);
  border: 1px solid var(--hair);
}
.btn-2:hover { background: rgba(255, 244, 236, .1); border-color: rgba(255, 244, 236, .2); }

.btn-3 { color: var(--fg-2); padding: 0 6px; min-height: 44px; }
.btn-3:hover { color: var(--fg); }

.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 19px; height: 19px; flex: none; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* No celular os dois CTAs empilham. Larguras diferentes deixam a pilha
   desalinhada e encolhem o alvo de toque — aqui eles ocupam a linha inteira. */
@media (max-width: 560px) {
  .hero .btns, .final .btns { flex-direction: column; align-items: stretch; }
  .hero .btns .btn, .final .btns .btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════ barra de navegação */

nav {
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(11, 10, 9, .8);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--hair-soft);
}
.nav-in { display: flex; align-items: center; gap: 18px; height: 100%; }

/* Sem `gap` aqui: o "Up" é um <b> dentro do texto, e um gap de flex abriria
   espaço entre "Treino" e "Up" como se fossem duas palavras. O respiro do
   ícone vem da margem dele. */
.brand {
  display: flex; align-items: center; min-height: 44px;
  color: var(--fg); font-weight: 800; font-stretch: 108%;
  font-size: 18px; letter-spacing: -.03em;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  height: 24px; width: auto;            /* nunca os dois juntos: o aspecto é da arte */
  display: block; margin-right: 8px;
  /* a arte é clara sobre preto; `screen` dissolve o preto no fundo do site,
     no cabeçalho (--bg) e no rodapé (--surface), sem repintar o arquivo. */
  mix-blend-mode: screen;
}
.brand svg { width: 26px; height: 26px; margin-right: 9px; }
.brand b { color: var(--acc); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links .nl {
  display: flex; align-items: center; min-height: 44px;
  color: var(--fg-2);
  font-size: 15px; font-weight: 600;
  padding: 0 12px; border-radius: var(--r-s);
  transition: color .18s, background-color .18s;
}
.nav-links .nl:hover { color: var(--fg); background: rgba(255, 244, 236, .05); text-decoration: none; }
.nav-links .nl.on { color: var(--fg); }

.nav-cta { margin-left: 8px; }

/* Hambúrguer: duas barras que viram ✕. */
.nav-toggle {
  display: none;
  position: relative; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  position: absolute; width: 19px; height: 1.6px; border-radius: 2px; background: var(--fg);
  transition: transform .3s var(--ease);
}
.nav-toggle span:first-child { transform: translateY(-3.5px); }
.nav-toggle span:last-child  { transform: translateY(3.5px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

@media (max-width: 859.98px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ─────────────────────────────────────────── folha de navegação (celular)
   Os mesmos links da barra, dobrados. Cai de baixo da barra e o hambúrguer
   que a abriu vira o ✕ que a fecha. */
.navsheet {
  position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 80;
  padding: 10px var(--pad) calc(22px + env(safe-area-inset-bottom));
  background: #0b0a09;
  border-bottom: 1px solid var(--hair);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .85);
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  /* visibility comuta num instante, nunca é interpolada: animá-la deixaria o
     painel escondido durante a própria abertura — ele apareceria de golpe no
     fim e nada dentro dele poderia receber foco antes disso. */
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}
body.menu-open .navsheet {
  transform: none; opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s;
}
@media (min-width: 860px) { .navsheet { display: none; } }

/* Uma linha por link, folgadamente acima dos 44px de alvo de toque. */
.navsheet .nl {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 6px 2px;
  color: var(--fg); font-size: 18px; font-weight: 700; font-stretch: 104%;
  border-bottom: 1px solid var(--hair-soft);
}
.navsheet .nl:hover { text-decoration: none; color: var(--acc); }
.navsheet .nl span { color: var(--fg-3); font-size: 14px; font-weight: 500; }
.navsheet .btn { width: 100%; margin-top: 18px; }

/* ════════════════════════════════════════════ barra fixa de ação (celular)
   O maior ganho de conversão no celular: o preço e o botão continuam na tela
   enquanto a pessoa lê. Entra só depois que o hero sai de vista, para não
   competir com o CTA do próprio hero. */
.ctabar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: flex; align-items: center; gap: 14px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 10, 9, .93);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--hair);
  transform: translateY(120%);
  transition: transform .34s var(--ease);
}
body.cta-on .ctabar { transform: none; }
.ctabar .btn { flex: 1; min-height: 48px; }
.ctabar .cb-txt { min-width: 0; }
.ctabar .cb-txt strong { display: block; font-size: 15px; font-stretch: 104%; letter-spacing: -.02em; }
.ctabar .cb-txt span { display: block; font-size: 12.5px; color: var(--fg-3); }
/* Acima de 860px o rodapé da tela não é onde a mão está — barra só no celular. */
@media (min-width: 860px) { .ctabar { display: none; } }
/* Enquanto a barra está na tela, o fim da página precisa de folga para não
   ficar embaixo dela. */
@media (max-width: 859.98px) { body.cta-on .foot { padding-bottom: 96px; } }

/* ════════════════════════════════════════════════════════════════════ hero */

.hero {
  position: relative;
  padding: clamp(34px, 5.6vw, 64px) 0 clamp(16px, 3.6vw, 38px);
  overflow: hidden;
}
/* Brilho quente atrás do celular + grade de filetes. Atmosfera, não decoração:
   dá profundidade ao fundo chapado sem custar nenhuma imagem. */
.hero::before {
  content: ''; position: absolute; z-index: 0;
  top: -18%; right: -14%; width: min(760px, 108%); aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, rgba(255, 74, 28, .2), transparent 62%);
  filter: blur(18px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--hair-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair-soft) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 12%, transparent 72%);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; gap: clamp(34px, 5vw, 48px);
  grid-template-columns: 1.06fr .94fr; align-items: center;
}
@media (max-width: 899.98px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-in .eyebrow { justify-content: center; }
  .hero-in .btns { justify-content: center; }
  .hero-copy { order: 1; }
  .hero-art  { order: 2; }
}
.hero h1 { margin-bottom: 16px; text-wrap: balance; }
/* Só a cor. Uma faixa de destaque atrás deste texto vira borrão sobre o fundo
   quase preto, e a palavra já carrega o peso sozinha. */
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lead { max-width: 33em; margin-bottom: 24px; }
@media (max-width: 899.98px) { .hero .lead { margin-inline: auto; } }
.hero .btns { margin-bottom: 20px; }

/* Especificações do build, em numerais tabulares e separadas por ponto médio. */
.specline {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  font-size: 13.5px; color: var(--fg-3); font-variant-numeric: tabular-nums;
}
@media (max-width: 899.98px) { .hero .specline { justify-content: center; } }
/* a mesma linha, usada fora do hero como nota de pé */
.specline-sec { margin-top: 26px; }
.specline li { display: flex; align-items: center; gap: 8px; }
.specline li + li::before { content: '·'; color: var(--hair); margin-right: 6px; }
/* Em tela estreita a lista quebra e o separador sobra sozinho abrindo a linha
   de baixo. Sem ele, o espaçamento já separa os itens. */
@media (max-width: 560px) {
  .specline { gap: 6px 16px; }
  .specline li + li::before { display: none; }
}

/* ──────────────────────────────────────────────────── moldura do celular */
.phone {
  position: relative;
  width: min(300px, 74vw);
  margin-inline: auto;
  padding: 9px;
  background: linear-gradient(160deg, #35302c, #161412 58%);
  border-radius: 40px;
  box-shadow:
    0 0 0 1px rgba(255, 244, 236, .09),
    0 42px 70px -26px rgba(0, 0, 0, .9),
    0 8px 20px -8px rgba(0, 0, 0, .7);
}
.phone::after {                                  /* alto-falante */
  content: ''; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 5px; border-radius: 99px; background: rgba(0, 0, 0, .55);
}
.phone img, .phone .screen {
  width: 100%; aspect-ratio: 9 / 19.5;
  border-radius: 32px; background: var(--surface);
  object-fit: cover; object-position: top;
}

/* ───────────────────────── figuras reais dos exercícios dentro do mockup
   O mockup desenha a interface; a figura do exercício é a MESMA do
   aplicativo. Ela é buscada em tempo de exibição no mesmo CDN e no mesmo
   commit que o build mobile usa (VITE_IMG_BASE, em frontend/package.json),
   então a pessoa vê aqui o arquivo que vai ver no app.

   A landing não guarda cópia desses arquivos de propósito: a mídia é de
   terceiros com titularidade em aberto e o próprio projeto do app não a
   redistribui (NOTICE.md, "Images & animations"). Sem rede fica a placa
   branca do mockup — que é o que o app mostra enquanto a figura carrega.

   As porcentagens são as coordenadas do SVG (viewBox 360×780) convertidas:
   a camada cobre exatamente a área de tela, por isso acompanha o celular
   em qualquer largura. Mexer no SVG exige refazer as contas. */
.phone { --screen-pad: 9px; }
.shot .phone { --screen-pad: 7px; }
.exlayer {
  position: absolute; inset: var(--screen-pad);
  border-radius: 32px; overflow: hidden; pointer-events: none;
}
.phone .exlayer img {
  position: absolute; display: block;
  width: auto; aspect-ratio: auto;
  background: #fff;                 /* a placa do app, enquanto carrega */
}
/* animação do exercício em foco — rect x16 y110 w328 h120 r16 */
.phone .exlayer .ex-media {
  left: 4.444%; top: 14.103%; width: 91.111%; height: 15.385%;
  object-fit: contain; border-radius: 4.88% / 13.33%;
}
/* miniaturas da biblioteca — rects x28 w50 h50 r9, object-fit igual ao .thumb do app */
.phone .exlayer .ex-thumb {
  left: 7.778%; width: 13.889%; height: 6.410%;
  object-fit: cover; border-radius: 18%;
}
/* O celular do hero sai levemente do eixo — quebra a simetria da grade sem
   atrapalhar a leitura. Só no desktop: girado no celular, ele encosta nas bordas. */
@media (min-width: 900px) {
  .hero-art .phone { transform: rotate(-2.6deg); width: min(318px, 100%); }
}

/* ════════════════════════════════════════════════════ seção: o problema */

.pains { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 859.98px) { .pains { grid-template-columns: 1fr; } }

.pain {
  position: relative;
  padding: 30px 26px 28px;
  background: var(--surface);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-l);
  overflow: hidden;
}
.pain::before {                                  /* numeral de placar, na marca d'água */
  content: attr(data-n);
  position: absolute; top: -18px; right: 14px;
  font-size: 108px; font-weight: 800; font-stretch: 70%;
  line-height: 1; color: rgba(255, 244, 236, .038);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.pain h3 { margin-bottom: 10px; }
.pain p { color: var(--fg-2); font-size: 16px; }

/* Faixa de virada: a promessa, logo depois das três dores. */
.turn {
  margin-top: clamp(22px, 3.4vw, 32px);
  padding: clamp(22px, 3.2vw, 30px) clamp(22px, 3.4vw, 34px);
  background: linear-gradient(120deg, var(--acc-soft), transparent 78%);
  border: 1px solid var(--acc-line);
  border-radius: var(--r-l);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.turn p {
  font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; font-stretch: 106%;
  letter-spacing: -.025em; max-width: 30em; line-height: 1.32;
}

/* ═══════════════════════════════════════════════════════ seção: as telas
   Carrossel de rolagem nativa com scroll-snap. No celular a pessoa arrasta
   com o dedo, como num carrossel de app — nenhum JS envolvido no gesto. */

.shots-rail {
  display: flex; gap: clamp(14px, 2.4vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* Sangra até as bordas da tela, mas o primeiro e o último card param
     alinhados com o texto da página. */
  margin-inline: calc(var(--pad) * -1);
  padding: 4px var(--pad) 22px;
  scrollbar-width: none;
}
.shots-rail::-webkit-scrollbar { display: none; }

.shot { flex: 0 0 min(240px, 66vw); scroll-snap-align: center; }
.shot .phone { width: 100%; padding: 7px; border-radius: 32px; }
.shot .phone::after { width: 42px; height: 4px; top: 15px; }
.shot .phone img, .shot .phone .screen { border-radius: 26px; }
.shot figcaption { margin-top: 16px; padding: 0 4px; }
.shot .st {
  font-size: 11.5px; font-weight: 700; font-stretch: 78%;
  text-transform: uppercase; letter-spacing: .15em; color: var(--acc);
  margin-bottom: 6px;
}
.shot .sd { font-size: 14.5px; color: var(--fg-2); line-height: 1.45; }

/* Controles: setas só onde existe cursor, pontos em toda largura. */
.rail-ctl { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.rail-ctl .arrows { display: flex; gap: 8px; margin-left: auto; }
.rail-ctl button.arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--hair); color: var(--fg);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.rail-ctl button.arrow:hover { background: rgba(255, 244, 236, .07); border-color: rgba(255, 244, 236, .2); }
.rail-ctl button.arrow[disabled] { opacity: .3; cursor: default; }
@media (hover: none) { .rail-ctl .arrows { display: none; } }

.dots { display: flex; gap: 7px; margin: -11px 0; }
/* O traço tem 2px, mas o botão precisa dos 44px de alvo de toque — a altura
   extra é transparente e a margem negativa acima evita que ela empurre a linha. */
.dots button { width: 26px; height: 44px; padding: 0; display: flex; align-items: center; }
.dots button::before {
  content: ''; width: 100%; height: 2px; border-radius: 2px;
  background: var(--hair); transition: background-color .25s;
}
.dots button[aria-current="true"]::before { background: var(--acc); }

.swipehint { font-size: 13px; color: var(--fg-3); margin-top: 4px; }
@media (hover: hover) { .swipehint { display: none; } }

/* ═══════════════════════════════════════════════════════ seção: recursos */

.feat {
  display: grid; gap: clamp(20px, 3.4vw, 44px);
  grid-template-columns: 1fr 1fr; align-items: center;
  padding: clamp(20px, 2.8vw, 31px) 0;
  border-top: 1px solid var(--hair-soft);
}
.feat:first-of-type { border-top: 0; padding-top: 0; }
.feat .fx { max-width: 30em; }
/* Alterna o lado da imagem. A ordem no HTML é sempre texto→imagem, então
   quem lê com leitor de tela recebe a explicação antes da figura. */
@media (min-width: 860px) {
  .feat:nth-of-type(even) .fx  { order: 2; }
  .feat:nth-of-type(even) .fig { order: 1; }
}
@media (max-width: 859.98px) { .feat { grid-template-columns: 1fr; } }

.feat h3 { margin-bottom: 12px; }
.feat p { color: var(--fg-2); }
.feat .fig { display: flex; justify-content: center; }
.feat .fig .phone { width: min(266px, 70vw); }

/* Cartão de dado — o "mostrador" que acompanha alguns recursos. */
.stat {
  display: grid; gap: 2px;
  padding: 18px 20px; border-radius: var(--r-m);
  background: var(--surface-2); border: 1px solid var(--hair-soft);
}
.stat b { font-size: 27px; font-stretch: 108%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--fg-3); font-stretch: 84%; text-transform: uppercase; letter-spacing: .1em; }
.stats-row { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
@media (max-width: 560px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* Ressalva dentro de um bloco de recurso: continua legível, mas se lê como
   nota de pé e não como argumento de venda. */
.fineline {
  font-size: 14.5px; line-height: 1.55; color: var(--fg-3);
  border-left: 2px solid var(--hair);
  padding-left: 14px;
}

/* "Mais N coisas": o resto dos recursos sem pesar a página.
   Fechado, isto é uma linha só — por isso o painel tem a borda toda e o
   espaçamento vem do padding dele, não de margem empilhada. Antes a margem
   do .more somava com o padding-bottom do último .feat e abria um vão de
   mais de 120px debaixo de uma linha de texto. */
.feat:last-of-type { padding-bottom: clamp(12px, 1.7vw, 18px); }

.more {
  margin-top: clamp(6px, 1.4vw, 14px);
  background: var(--surface);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-m);
  overflow: hidden;
}
.more summary {
  display: flex; align-items: center; gap: 12px;
  padding: 19px clamp(17px, 3vw, 26px);
  cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; font-stretch: 104%;
  letter-spacing: -.02em; color: var(--fg);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.more summary:hover { color: var(--acc); background: var(--surface-2); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: '+'; margin-left: auto; flex: none; color: var(--acc);
  font-size: 23px; font-weight: 700; line-height: 1;
  transition: transform .25s var(--ease);
}
.more[open] summary::after { transform: rotate(45deg); }
/* Pílula "abrir", só enquanto está fechado — aberto, o "+" girado já diz
   que dá para fechar, e a pílula viraria ruído em cima do conteúdo. */
.more summary .mc {
  font-size: 11.5px; font-weight: 700; font-stretch: 80%;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--fg-3);
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--hair);
}
.more[open] summary .mc { display: none; }
@media (max-width: 480px) { .more summary .mc { display: none; } }

.more dl {
  display: grid; gap: 22px 34px; grid-template-columns: 1fr 1fr;
  padding: clamp(22px, 3vw, 26px) clamp(17px, 3vw, 26px) clamp(22px, 3vw, 28px);
  border-top: 1px solid var(--hair-soft);
  margin: 0;
}
@media (max-width: 720px) { .more dl { grid-template-columns: 1fr; } }
.more dt { font-weight: 700; font-stretch: 104%; margin-bottom: 3px; }
.more dd { color: var(--fg-2); font-size: 15.5px; margin: 0; }

/* ══════════════════════════════════════════════ seção: como funciona (passos) */

.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 859.98px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px 26px;
  background: var(--surface); border: 1px solid var(--hair-soft);
  border-radius: var(--r-l);
}
.step .sn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 18px;
  border-radius: 50%; background: var(--acc); color: var(--acc-ink);
  font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--fg-2); font-size: 16px; }

/* ═════════════════════════════════════════════════ seção: instalar o APK
   A objeção mais caras da página. O Android vai mostrar um aviso e a pessoa
   precisa saber disso ANTES, escrito por nós, não descobrir na hora. */

/* SEM USO hoje: a seção "Depois da compra" virou uma coluna só quando foi
   encurtada. O CSS fica para quando houver um segundo bloco ao lado. */
.install { display: grid; gap: clamp(24px, 3.4vw, 40px); grid-template-columns: 1.1fr .9fr; align-items: start; }
@media (max-width: 899.98px) { .install { grid-template-columns: 1fr; } }

.howto { counter-reset: h; }
.howto li { position: relative; padding: 0 0 22px 46px; counter-increment: h; }
.howto li::before {
  content: counter(h);
  position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-3); border: 1px solid var(--hair);
  font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}
/* Filete ligando um passo ao próximo. */
.howto li:not(:last-child)::after {
  content: ''; position: absolute; left: 15px; top: 34px; bottom: 8px;
  width: 1px; background: var(--hair-soft);
}
.howto strong { display: block; font-stretch: 104%; margin-bottom: 4px; }
.howto p { color: var(--fg-2); font-size: 15.5px; }
/* Nome de arquivo dentro do texto — o único lugar da página que precisa dele. */
.howto code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; color: var(--fg);
  background: var(--surface-3); border: 1px solid var(--hair);
  border-radius: 5px; padding: 1px 5px;
  white-space: nowrap;
}

/* Cartão de aviso. SEM USO hoje: os três blocos que viviam na seção de
   instalação ("fonte desconhecida", lista de permissões, "e a Play Store?")
   saíram da landing comercial — eram tutorial técnico criando objeção antes
   da compra. O CSS fica pronto para o material pós-compra. */
.note {
  padding: 22px 24px;
  background: var(--surface-2); border: 1px solid var(--hair-soft);
  border-left: 2px solid var(--acc);
  border-radius: var(--r-s);
}
.note h4 { margin-bottom: 8px; }
.note p { color: var(--fg-2); font-size: 15.5px; }
.note p + p { margin-top: 10px; }

/* SEM USO hoje: as specs da seção "Depois da compra" viraram uma linha
   discreta (.specline-sec). Volta se precisarem de destaque de novo. */
.spec-cells {
  display: grid; gap: 1px; margin-top: 24px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--hair-soft); border: 1px solid var(--hair-soft);
  border-radius: var(--r-m); overflow: hidden;
}
@media (max-width: 620px) { .spec-cells { grid-template-columns: repeat(2, 1fr); } }
/* Na coluna estreita da seção de instalação as quatro celulas nao caberiam lado a lado. */
.install .spec-cells { grid-template-columns: repeat(2, 1fr); }
.spec-cells div { background: var(--bg); padding: 16px 18px; }
.spec-cells dt { font-size: 11.5px; font-stretch: 80%; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-3); margin-bottom: 5px; }
.spec-cells dd { margin: 0; font-weight: 700; font-stretch: 104%; font-variant-numeric: tabular-nums; }

/* ══════════════════════════════════════════════════════════ seção: preço */

.price-card {
  max-width: 500px; margin-inline: auto;
  padding: clamp(30px, 5vw, 44px);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--acc-line);
  border-radius: var(--r-xl);
  box-shadow: 0 40px 80px -40px rgba(255, 74, 28, .3);
  text-align: center;
}
.tag {
  display: inline-block; margin-bottom: 22px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--acc-soft); border: 1px solid var(--acc-line);
  color: var(--acc);
  font-size: 12px; font-weight: 700; font-stretch: 80%;
  text-transform: uppercase; letter-spacing: .14em;
}
.price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 6px; }
.price .cur { font-size: 25px; font-weight: 700; color: var(--fg-2); }
.price .val {
  font-size: clamp(56px, 13vw, 84px); font-weight: 800; font-stretch: 108%;
  line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums;
}
.price .per { font-size: 16px; color: var(--fg-3); font-weight: 600; }
.price-card > .once {
  font-size: 16px; color: var(--fg-3); font-weight: 600;
  margin-bottom: 28px;
}
.price-card > .fine { margin-bottom: 28px; }
/* Preço riscado de referência. SEM USO hoje, de propósito: só volta ao HTML
   se existir de fato um preço anterior praticado — preço riscado inventado é
   publicidade enganosa (CDC art. 37). */
.was { color: var(--fg-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }

.incl { text-align: left; display: grid; gap: 13px; margin: 0 auto 30px; max-width: 350px; }
.incl li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.incl li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--ok); }
.price-card .btn { width: 100%; }
.guarantee {
  display: flex; gap: 11px; align-items: flex-start; text-align: left;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hair-soft);
}
.guarantee svg { width: 21px; height: 21px; flex: none; margin-top: 2px; color: var(--fg-3); }

/* Comparação com a alternativa recorrente. SEM USO hoje: o "R$ 359/ano" que
   estava aqui não tinha fonte. Só volta ao HTML com um concorrente nomeado,
   o preço conferido e a data da consulta. */
.compare {
  max-width: 500px; margin: 26px auto 0;
  display: grid; gap: 1px; grid-template-columns: 1fr 1fr;
  background: var(--hair-soft); border: 1px solid var(--hair-soft);
  border-radius: var(--r-m); overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.compare div { background: var(--bg); padding: 18px 20px; }
.compare .lbl { font-size: 12px; font-stretch: 80%; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-3); margin-bottom: 6px; }
.compare b { font-size: 21px; font-stretch: 106%; letter-spacing: -.03em; }
.compare .hi b { color: var(--acc); }

/* ═══════════════════════════════════════════════════ seção: depoimentos
   A seção saiu do HTML por não haver depoimento real. O CSS fica aqui,
   pronto para quando houver: a estrutura está num comentário no index.html,
   no lugar onde a seção vivia. */

.quotes { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 859.98px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  padding: 28px 26px;
  background: var(--surface); border: 1px solid var(--hair-soft);
  border-radius: var(--r-l);
  display: flex; flex-direction: column; gap: 20px;
}
.quote blockquote { font-size: 16.5px; line-height: 1.55; }
.quote blockquote::before {
  content: '\201C'; color: var(--acc); font-size: 34px; line-height: 0;
  vertical-align: -12px; margin-right: 2px;
}
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .av {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--surface-3); border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: var(--fg-2);
}
.quote .who { font-size: 14.5px; font-weight: 700; font-stretch: 104%; }
.quote .ctx { font-size: 13px; color: var(--fg-3); }

/* Marca de placeholder: fica óbvio na tela que o conteúdo é provisório.
   Remover a classe .placeholder do HTML quando o conteúdo real entrar. */
.placeholder { position: relative; }
.placeholder::after {
  content: 'PLACEHOLDER';
  position: absolute; top: 12px; right: 12px;
  font-size: 9.5px; font-weight: 700; font-stretch: 78%; letter-spacing: .14em;
  padding: 4px 8px; border-radius: 5px;
  background: rgba(255, 74, 28, .16); color: var(--acc);
  border: 1px dashed var(--acc-line);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════ seção: FAQ
   <details> nativo: abre e fecha sem uma linha de JS e continua funcionando
   com o JS desligado. */

.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--hair-soft); }
.faq summary {
  display: flex; align-items: center; gap: 18px;
  min-height: 62px; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: 17.5px; font-weight: 700; font-stretch: 104%; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acc); }
.faq summary::after {
  content: ''; margin-left: auto; flex: none;
  width: 13px; height: 13px;
  border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq .ans { padding: 0 44px 24px 0; color: var(--fg-2); }
.faq .ans p + p { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════ CTA de fecho */

.final {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(46px, 6.8vw, 80px) 0;
  border-top: 1px solid var(--hair-soft);
}
.final::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 50% 118%, rgba(255, 74, 28, .2), transparent 68%);
}
.final .wrap { position: relative; z-index: 1; }
.final h2 { max-width: 20em; margin: 0 auto 16px; text-wrap: balance; }
.final .lead { max-width: 34em; margin: 0 auto 24px; }
.final .btns { justify-content: center; }

/* ══════════════════════════════════════════════════════════════════ rodapé */

.foot {
  padding: clamp(34px, 4.4vw, 52px) 0 32px;
  border-top: 1px solid var(--hair-soft);
  background: var(--surface);
}
.foot-in { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 720px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--fg-3); font-size: 14.5px; max-width: 30em; }
.foot h4 {
  font-size: 11.5px; font-stretch: 80%; text-transform: uppercase; letter-spacing: .14em;
  color: var(--fg-3); margin-bottom: 14px;
}
.foot ul { display: grid; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-2); font-size: 15px; }
.foot ul a:hover { color: var(--fg); text-decoration: none; }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair-soft);
  font-size: 13.5px; color: var(--fg-3);
}
.foot-base .made { margin-left: auto; }
@media (max-width: 560px) { .foot-base .made { margin-left: 0; } }

/* ══════════════════════════════════════════════ páginas legais (texto corrido) */

.page-head { padding: clamp(44px, 7vw, 76px) 0 clamp(26px, 4vw, 40px); border-bottom: 1px solid var(--hair-soft); }
.page-head h1 { font-size: clamp(34px, 6.4vw, 56px); margin-bottom: 14px; }

.prose { max-width: 720px; padding: clamp(38px, 6vw, 60px) 0 var(--sec); }
.prose h2 { font-size: clamp(22px, 3.4vw, 29px); margin: 46px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { color: var(--fg-2); }
.prose p { margin-bottom: 15px; }
.prose ul { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: ''; position: absolute; left: 2px; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--acc);
}
.prose strong { color: var(--fg); }
.prose .toc {
  margin: 0 0 40px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--hair-soft); border-radius: var(--r-m);
}
.prose .toc h4 { margin-bottom: 12px; }
.prose .toc ol { display: grid; gap: 7px; counter-reset: t; }
.prose .toc li { counter-increment: t; padding-left: 26px; position: relative; }
.prose .toc li::before {
  content: counter(t) '.'; position: absolute; left: 0;
  color: var(--fg-3); font-variant-numeric: tabular-nums; font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════ animação
   .rv = "reveal". A classe .js entra no <html> antes do primeiro paint, então
   sem JS nada disso é aplicado e o conteúdo simplesmente aparece. */

html.js .rv { opacity: 0; transform: translateY(16px); }
html.js .rv.in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* Entrada do hero, escalonada, uma vez por aba. */
html.intro .hero-copy > * { opacity: 0; animation: rise .8s var(--ease) forwards; }
html.intro .hero-copy > *:nth-child(1) { animation-delay: .05s; }
html.intro .hero-copy > *:nth-child(2) { animation-delay: .13s; }
html.intro .hero-copy > *:nth-child(3) { animation-delay: .21s; }
html.intro .hero-copy > *:nth-child(4) { animation-delay: .29s; }
html.intro .hero-copy > *:nth-child(5) { animation-delay: .37s; }
html.intro .hero-art { opacity: 0; animation: rise 1s var(--ease) .18s forwards; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
/* O celular já é girado pela sua própria regra; aqui o contêiner só assenta,
   então o estado final é "sem transform" — somar as duas dobraria o giro. */
@keyframes rise-tilt {
  from { opacity: 0; transform: translateY(24px) rotate(1.4deg); }
  to   { opacity: 1; transform: none; }
}
@media (min-width: 900px) { html.intro .hero-art { animation-name: rise-tilt; } }

@media (prefers-reduced-motion: reduce), print {
  html.js .rv, html.intro .hero-copy > *, html.intro .hero-art {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .btn:active { transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  body::before, nav, .navsheet, .ctabar,
  .hero::before, .hero::after, .final::before { display: none; }
  body { background: #fff; color: #000; }
}
