/* BrainFight — estilos do site (redesenho "premium", novembro 2026)
   Princípios: tipografia do sistema Apple, muito espaço, um só acento (dourado) nos CTA,
   secções alternadas roxo/quase-preto, movimento discreto e respeito por "reduzir movimento". */

/* Montserrat fica só no logótipo (wordmark) */
@font-face {
  font-family: "Montserrat";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #0b0a14;          /* quase-preto */
  --bg: #120e33;           /* roxo da marca */
  --bg-2: #1a1446;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #a7a3c2;
  --muted-2: #86829f;
  --gold: #ffc94d;
  --gold-2: #ffd977;
  --a: #e8593c;
  --b: #1f9e7a;
  --c: #2467b8;
  --d: #c27c1a;
  --e: #7c4ddb;
  --f: #c03fa8;
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --logo: "Montserrat", var(--sans);
  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; background: var(--ink); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--sans); line-height: 1.07; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.75rem, 8vw, 6.25rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
h1, h2, .statement, .hero-tagline { text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: #1a1033; padding: 0.6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.fine { color: var(--muted-2); font-size: 0.88rem; letter-spacing: 0; margin: 0; }
.kicker { color: var(--gold); font-weight: 600; font-size: clamp(0.95rem, 1.4vw, 1.15rem); letter-spacing: -0.01em; margin-bottom: 0.9rem; }
.section-lead { color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.45; letter-spacing: -0.015em; max-width: 38em; margin-inline: auto; }
.grad { background: linear-gradient(95deg, #fff 0%, #f0d6ff 45%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Cabeçalho ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 20, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled { background: rgba(11, 10, 20, 0.78); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 56px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 0.55rem; color: var(--text); text-decoration: none; font-family: var(--logo); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.logo-icon { width: 32px; height: 32px; flex: none; border-radius: 8px; }
.logo-text { color: #fff; }
.mainnav { margin-left: auto; }
.mainnav ul { display: flex; gap: 0.15rem; }
.mainnav a { display: block; white-space: nowrap; padding: 0.4rem 0.7rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: -0.005em; transition: color 0.2s; }
.mainnav a:hover { color: var(--text); }
.langs ul { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.langs a { display: block; min-width: 34px; padding: 0.25rem 0.5rem; text-align: center; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; }
.langs a:hover { color: var(--text); }
.langs a[aria-current="page"] { background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.site-header .langs { margin-left: auto; }
.mainnav + .langs { margin-left: 0; }
.header-cta { flex: none; padding: 0.38rem 0.95rem; border-radius: 999px; background: var(--gold); color: #1a1033; font-size: 0.82rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.header-cta:hover { background: var(--gold-2); color: #1a1033; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(900px 520px at 50% 72%, rgba(139, 92, 246, 0.35), transparent 70%),
    radial-gradient(700px 420px at 85% 10%, rgba(217, 70, 239, 0.18), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--bg) 55%, var(--bg-2) 100%);
}
.hero-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(2.75rem, 7.4vw, 5.6rem);
  max-width: 11ch; margin-bottom: 0.25em;
  background: linear-gradient(180deg, #fff 30%, #d9d2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.hero-tagline { font-size: clamp(1.2rem, 2.3vw, 1.75rem); font-weight: 500; color: #dcd8f0; letter-spacing: -0.02em; line-height: 1.3; max-width: 26em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.75rem; margin-bottom: 1.1rem; }
.hero-actions .store { margin: 0; }
.link-more { color: var(--gold); font-weight: 500; font-size: 1.05rem; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

.hero-stage { position: relative; margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 6%; max-width: 1060px; }
.stage-glow { position: absolute; inset: 10% 5% 0; background: radial-gradient(closest-side, rgba(255, 201, 77, 0.18), transparent); filter: blur(30px); z-index: 0; }
.tv-hero { position: relative; z-index: 1; width: 88%; }
.phone.phone-hero { position: absolute; z-index: 2; right: 0; bottom: 0; width: 22%; min-width: 92px; }

/* Molduras de aparelhos (mais realistas) */
.tv, .mac {
  position: relative; padding: clamp(5px, 0.7vw, 9px); border-radius: clamp(10px, 1.4vw, 18px);
  background: linear-gradient(180deg, #2a2832, #0d0c12 40%, #08070c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12),
              0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 30px 80px -30px rgba(124, 77, 219, 0.45);
}
.tv img, .mac img, .tv video { border-radius: clamp(5px, 0.7vw, 9px); }
.phone {
  position: relative; padding: clamp(4px, 0.55vw, 7px); border-radius: clamp(22px, 3.2vw, 40px);
  background: linear-gradient(145deg, #5b5866, #1b1a21 30%, #0c0b10 70%, #3b3944);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 60px -20px rgba(0, 0, 0, 0.85);
}
.phone::before { /* Dynamic Island */
  content: ""; position: absolute; z-index: 2; top: calc(clamp(4px, 0.55vw, 7px) + 2.2%); left: 50%; transform: translateX(-50%);
  width: 30%; height: 2.6%; border-radius: 999px; background: #000;
}
.phone img { border-radius: clamp(18px, 2.7vw, 34px); }

/* ── Botões ────────────────────────────────────────────────── */
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem; }
.store-center { justify-content: center; }
.btn-store, .btn-soon {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; margin: 0;
  min-height: 50px; padding: 0.75rem 1.6rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; text-decoration: none;
}
.btn-store { color: #1a1033; background: var(--gold); box-shadow: 0 10px 30px -10px rgba(255, 201, 77, 0.55); transition: transform 0.2s var(--ease), background 0.2s; }
.btn-store:hover { color: #1a1033; background: var(--gold-2); transform: scale(1.02); }
.btn-store svg { width: 1.1em; height: 1.1em; }
.btn-soon { color: var(--text); border: 1px solid rgba(255, 201, 77, 0.5); background: rgba(255, 201, 77, 0.06); cursor: default; }
.btn-soon svg { color: var(--gold); }
.link-testflight { font-weight: 500; font-size: 0.98rem; }
.btn-ghost { display: inline-block; padding: 0.65rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

/* ── Secções ───────────────────────────────────────────────── */
.section { padding: clamp(5rem, 11vw, 9.5rem) 0; background: var(--bg); position: relative; }
.section-dark { background: var(--ink); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -0.015em; line-height: 1.45; }
.h-small { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: clamp(4rem, 8vw, 6rem) 0 2rem; }

/* Frase de impacto */
.statement { font-weight: 700; font-size: clamp(2.6rem, 7.5vw, 6rem); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 1.5rem; }
.statement span { display: block; }
.statement-lead { margin-inline: 0; }

/* Como funciona */
.steps-row { display: grid; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.steps-row h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.steps-row p { color: var(--muted); margin: 0; }
.step-n { display: block; font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.75rem; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 201, 77, 0.8); }
.tv-wide { max-width: 1000px; margin-inline: auto; }

/* Galeria horizontal ("rail") */
.rail {
  display: grid; grid-auto-flow: column; gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 1rem max(1.25rem, calc((100vw - var(--wrap)) / 2)) 2rem;
  scroll-padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -3px; }
.rail-tv { grid-auto-columns: min(86vw, 760px); }
.shot { margin: 0; }
.shot figcaption { margin-top: 1rem; color: var(--muted); font-size: 1rem; max-width: 36em; }
.phones-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(60vw, 240px); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: clamp(2.5rem, 5vw, 4rem) 0.25rem 0.5rem; }
.phones-row::-webkit-scrollbar { display: none; }
.phones-row .shot { scroll-snap-align: start; }
.shot-phone figcaption { font-size: 0.95rem; }

/* Modos */
.rail-modes { grid-auto-columns: min(78vw, 320px); }
.mode-tile {
  position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 1.75rem; border-radius: var(--radius);
  background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--mc) 32%, transparent), transparent 70%), #16141f;
  border: 1px solid var(--line); overflow: hidden;
}
.mode-tile h3 { font-size: 1.6rem; margin: auto 0 0.5rem; }
.mode-tile p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.mode-letter { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mc); color: #fff; font-weight: 700; font-size: 1.4rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2); }
.mode-0 { --mc: var(--a); } .mode-1 { --mc: var(--b); } .mode-2 { --mc: var(--c); }
.mode-3 { --mc: var(--d); } .mode-4 { --mc: var(--e); } .mode-5 { --mc: var(--f); }

/* Multilíngue */
.multi-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 980px; margin-inline: auto; }
.multi-phones li { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.multi-phones .phone { width: min(100%, 220px); }
.multi-phones span { font-weight: 600; color: var(--text); }

/* Números */
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin: clamp(2.5rem, 5vw, 4rem) 0; }
.numbers strong { display: block; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-bottom: 0.5rem;
  background: linear-gradient(180deg, #fff, #ffd977); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: var(--muted); }
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 52rem; margin: 0 auto 1.5rem; }
.cats li { padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--surface); color: #dcd8f0; font-size: 0.92rem; font-weight: 500; }

/* Funcionalidades */
.feature-grid { display: grid; gap: 2.5rem 2rem; }
.feat { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.feat h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.feat ul { display: grid; gap: 0.55rem; }
.feat li { color: var(--muted); }

/* Para quem é */
.audience-list { display: grid; gap: 2rem; }
.audience-list li { padding-left: 1.25rem; border-left: 2px solid rgba(255, 201, 77, 0.6); }
.audience-list h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.audience-list p { margin: 0; color: var(--muted); }

/* Privacidade */
.privacy-icon svg { width: 64px; height: 64px; color: #5ee0b5; stroke-width: 1.5; margin: 0 auto 1.5rem; }
.privacy-block h2 { max-width: 18ch; margin-inline: auto; }
.arrow-link { font-weight: 500; font-size: 1.1rem; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }

/* Especificações */
.specs { border-top: 1px solid var(--line); margin-top: 2rem; }
.spec-row { display: grid; gap: 0.35rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-weight: 600; }
.spec-row dd { margin: 0; color: var(--muted); }
.future { margin-top: 2.5rem; color: var(--muted-2); font-size: 0.95rem; }
.future h3 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.future p { margin: 0; }
.tag { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 2rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker, .faq-more summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--muted); transition: transform 0.3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary h3 { margin: 0; font-size: 1.12rem; font-weight: 600; }
.qa summary:hover h3 { color: #fff; }
.qa p { margin: 0; padding: 0 2.5rem 1.4rem 0; color: var(--muted); }
.faq-more > summary { display: inline-block; margin-top: 1.75rem; color: var(--gold); font-weight: 500; cursor: pointer; list-style: none; }
.faq-more > summary::after { content: " ›"; }
.faq-more[open] > summary { display: none; }
.faq-more .faq { margin-top: 0; border-top: 0; }

/* CTA final */
.section-cta { background: linear-gradient(180deg, var(--bg) 0%, var(--ink) 100%); }
.cta {
  position: relative; overflow: hidden; display: grid; gap: 2.5rem; align-items: center; text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem); border-radius: 32px;
  background: radial-gradient(700px 360px at 50% 0%, rgba(255, 201, 77, 0.16), transparent 70%), linear-gradient(140deg, #2c1766, #4a1b72 55%, #22175a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 50px 120px -50px rgba(217, 70, 239, 0.55);
}
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 16ch; margin-inline: auto; }
.cta p { color: #e4def8; font-size: 1.15rem; }
.tf-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin-top: 1.5rem; counter-reset: tf; color: #d4cdee; font-size: 0.92rem; }
.tf-steps li { counter-increment: tf; display: flex; align-items: center; gap: 0.45rem; }
.tf-steps li::before { content: counter(tf); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); font-size: 0.75rem; font-weight: 700; }
.qr { display: none; margin: 0; }
.qr-box { width: 196px; padding: 16px; border-radius: 20px; background: #fff; margin: 0 auto 0.9rem; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); }
.qr-box img { width: 100%; image-rendering: pixelated; }
.qr figcaption { color: #d4cdee; font-size: 0.85rem; max-width: 16em; margin-inline: auto; }

/* ── Apresentador (personagem) ───────────────────────────── */
.host { display: block; height: auto; width: auto; max-height: 220px; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
.head-host { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.head-host > div, .head-host > h2 { max-width: 40rem; }
.head-host .host { max-height: 200px; margin-bottom: -0.5rem; }
.host-cta { display: none; }
.contact-card { position: relative; }
.host-support { float: right; max-height: 190px; margin: -0.5rem 0 0 1rem; }
.host-root { margin: 0 auto 0.5rem; max-height: 220px; }

/* ── Entrada suave ao fazer scroll ─────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.steps-row .reveal:nth-child(2), .numbers .reveal:nth-child(2), .multi-phones .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps-row .reveal:nth-child(3), .numbers .reveal:nth-child(3), .multi-phones .reveal:nth-child(3) { transition-delay: 0.16s; }
.numbers .reveal:nth-child(4), .multi-phones .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Hero: entrada e a TV "endireita-se" com o scroll (onde o browser suporta) */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-head > * { animation: rise 1s var(--ease) both; }
.hero-head > *:nth-child(2) { animation-delay: 0.06s; }
.hero-head > *:nth-child(3) { animation-delay: 0.12s; }
.hero-head > *:nth-child(4) { animation-delay: 0.18s; }
.hero-head > *:nth-child(5) { animation-delay: 0.24s; }
.hero-stage { animation: rise 1.2s 0.25s var(--ease) both; }
@supports (animation-timeline: scroll()) {
  @keyframes straighten { from { transform: perspective(1800px) rotateX(14deg) scale(0.94); } to { transform: none; } }
  .tv-hero { transform-origin: 50% 100%; animation: straighten linear both; animation-timeline: scroll(root); animation-range: 0 60vh; }
}

/* ── CTA fixo (telemóvel) ──────────────────────────────────── */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  .sticky-cta.is-ready { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(11, 10, 20, 0.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s var(--ease); }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta .store { margin: 0; }
  .sticky-cta .btn-store, .sticky-cta .btn-soon { width: 100%; justify-content: center; min-height: 48px; }
}

/* ── Páginas simples (suporte, privacidade, escolha de idioma, 404) ── */
.page { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); background: var(--ink); }
body:not(.home):not(.chooser) { background: linear-gradient(180deg, var(--ink), var(--bg) 120%); }
.page h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36em; }
.card { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin: 1.75rem 0 2rem; }
.card h2 { margin-top: 0; }
.checks { display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); }
.checks svg { color: var(--b); margin-top: 0.2em; stroke-width: 2.6; }
.btn-mail { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 1.1rem; word-break: break-all; }
.more { margin-top: 2rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
.policy { padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.policy p { color: #e4e0f7; }
.policy strong { color: var(--text); }
.chooser { display: grid; min-height: 100vh; align-items: center; background: radial-gradient(800px 500px at 50% 20%, rgba(139, 92, 246, 0.3), transparent 70%), var(--ink); }
.chooser .page { background: transparent; }
.brand-lg { font-size: 1.8rem; justify-content: center; display: flex; }
.brand-lg .logo-icon { width: 44px; height: 44px; border-radius: 11px; }
.brand-lg a { color: inherit; text-decoration: none; display: inline-flex; gap: 0.5rem; align-items: center; }
.chooser h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.chooser h1 span { display: block; color: var(--muted); font-size: 0.6em; margin-top: 0.3em; }
.lang-cards { display: grid; gap: 0.75rem; margin-top: 2rem; text-align: left; }
.lang-card { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.35rem; border-radius: 16px; background: var(--surface); color: var(--text); text-decoration: none; transition: background 0.2s; }
.lang-card:hover { background: var(--surface-2); color: var(--text); }
.lang-card span { color: var(--muted); }
.nf-grid { display: grid; gap: 1rem; margin-top: 1.5rem; text-align: left; }
.nf-grid section { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.nf-grid h2 { font-size: 1.2rem; margin: 0 0 0.3rem; }

/* ── Rodapé ────────────────────────────────────────────────── */
.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); background: var(--ink); font-size: 0.88rem; color: var(--muted); }
.footer-grid { display: grid; gap: 2rem; }
.footer-about p { color: var(--muted); margin-top: 0.9rem; max-width: 26rem; }
.footer-title { font-size: 0.8rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 0.8rem; }
.site-footer ul { display: grid; gap: 0.45rem; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.8rem; }

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 1099px) {
  .mainnav { display: none; }
}
@media (max-width: 639px) {
  .head-host .host { max-height: 120px; }
  .host-support { max-height: 140px; }
  .header-inner { gap: 0.6rem; }
  .langs a { min-width: 28px; padding: 0.25rem 0.35rem; font-size: 0.7rem; }
  .header-cta { display: none; }
  .brand .logo-text { font-size: 1.02rem; }
  .hero-stage { margin-top: 2.25rem; }
  .tv-hero { width: 92%; }
  .phone-hero { width: 27%; }
  .spec-row { padding: 1.2rem 0; }
  .mode-tile { min-height: 260px; }
}
@media (max-width: 380px) {
  .brand .logo-text { display: none; }
}
@media (max-width: 420px) {
  .hero-actions .btn-store, .hero-actions .btn-soon { width: 100%; }
  .hero-actions .store { width: 100%; }
}
@media (min-width: 640px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-list { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .multi-phones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spec-row { grid-template-columns: 13rem 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .lang-cards, .nf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .phones-row { grid-auto-flow: row; grid-template-columns: repeat(3, 240px); justify-content: space-around; overflow: visible; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-list { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr auto; text-align: left; padding-left: clamp(2rem, 18%, 13rem); }
  .cta h2 { margin-inline: 0; }
  .cta .store-center, .cta .tf-steps { justify-content: flex-start; }
  .qr { display: block; padding-right: 1rem; text-align: center; }
  .host-cta { display: block; position: absolute; left: 3%; bottom: 0; max-height: 300px; margin: 0; }
  .head-host .host { max-height: 230px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .footer-about { grid-column: auto; }
}
@media (min-width: 1200px) {
  .rail-modes { grid-auto-columns: 340px; }
}

/* ── Movimento reduzido ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }
  .hero-video + .hero-poster { display: block !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tv-hero { transform: none; }
}

/* Vídeo do hero (quando VIDEO_HERO está definido em config.js) */
.hero-video { display: block; width: 100%; height: auto; }
.hero-video:not([hidden]) + .hero-poster { display: none; }
