/* KEYCON · landing page. Cores do manual da marca: grafite #242833 (estrutura)
   e coral #F17860 (só ações, marca e estados ativos). Fonte Inter. */
:root {
  --canvas: #14161D;
  --bg: #1A1D24;
  --surface: #222631;
  --surface-2: #2A2F3A;
  --line: #2F3441;
  --graphite: #242833;
  --coral: #F17860;
  --coral-strong: #E2654D;
  --coral-soft: rgba(241, 120, 96, .14);
  --text: #FFFFFF;
  --text-2: #C9CDD6;
  --text-3: #8C93A1;
  --danger-text: #FCA5A5;
  --success-text: #4ADE80;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
/* Traduções mais longas (pt, es) e palavras compridas nunca estouram a coluna */
h1, h2, h3, p, summary, li, .tab b, .tab small { overflow-wrap: break-word; hyphens: auto; }
p, .tab small { text-wrap: pretty; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--coral); color: #fff; padding: 12px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
@media (hover: hover) { .btn-primary:hover { background: var(--coral-strong); transform: translateY(-1px); } }
.btn-primary:active { background: var(--coral-strong); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20, 22, 29, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 140px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--text-3); background: none; border: 0; border-radius: 999px;
  padding: 6px 10px; cursor: pointer; min-width: 36px;
}
.lang-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
/* Em telas de toque (inclusive tablets deitados), cada idioma tem alvo de 44px */
@media (pointer: coarse) { .lang-switch button { min-height: 44px; min-width: 44px; } }

/* Aurora (o mesmo fundo do teclado) */
.aurora {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(241, 120, 96, .30), transparent 70%),
    radial-gradient(45% 45% at 92% 80%, rgba(185, 87, 63, .28), transparent 70%),
    radial-gradient(55% 60% at 10% 10%, rgba(59, 74, 107, .45), transparent 70%);
}

/* Abertura */
/* ── Abertura: logo, slogan e o teclado em 3D ───────────────────────── */
.intro {
  /* Neon das teclas: salmão escuro */
  --neon-salmon: 226, 101, 77;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 68px); display: grid; place-items: center; padding: 40px 0 24px;
  background:
    radial-gradient(70% 55% at 50% -5%, rgba(124, 147, 230, .30), transparent 65%),
    radial-gradient(55% 45% at 88% 78%, rgba(241, 120, 96, .34), transparent 70%),
    radial-gradient(50% 45% at 8% 70%, rgba(59, 74, 107, .70), transparent 70%),
    linear-gradient(180deg, #1d2130 0%, #171a23 55%, var(--canvas) 100%);
}
/* Passagem suave para a seção seguinte */
.intro::after { content: ''; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--canvas)); z-index: -1; pointer-events: none; }
.intro-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.intro-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro-logo { width: clamp(220px, 30vw, 400px); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.intro-title { margin-top: 20px; font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.intro-title span { display: block; }
.intro-title span + span { color: var(--text-2); }

/* O teclado: uma placa inclinada com teclas em relevo; a luz neon passa pelos vãos */
/* Na diagonal o teclado ocupa mais altura que a própria largura sugere: espaço extra em cima e embaixo */
.kb3d-scene { --kb-w: min(620px, calc(100vw - 64px)); width: var(--kb-w); margin: clamp(48px, 7vh, 88px) 0 clamp(20px, 3vh, 40px); perspective: 1300px; perspective-origin: 50% 20%; }
.kb3d {
  --rx: 36deg; --ry: -6deg; --rz: -6deg; --lift: 0px;
  position: relative; font-size: calc(var(--kb-w) / 32);
  transform-style: preserve-3d; transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz));
  will-change: transform;
}
.kb3d-glow {
  position: absolute; inset: 8% 6% -6%; border-radius: 30%;
  background: rgb(var(--neon-salmon)); filter: blur(64px); opacity: .16;
  transform: translateZ(-4em);
}
/* Lateral do teclado: 9 camadas de .2em (1,8em de espessura), do grafite ao preto */
.kb3d-slab { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.kb3d-slab i { position: absolute; inset: 0; border-radius: 1.5em; background: #161922; }
.kb3d-slab i:nth-child(1) { transform: translateZ(-.2em); background: #232733; }
.kb3d-slab i:nth-child(2) { transform: translateZ(-.4em); background: #1e222c; }
.kb3d-slab i:nth-child(3) { transform: translateZ(-.6em); background: #1b1e27; }
.kb3d-slab i:nth-child(4) { transform: translateZ(-.8em); background: #181b23; }
.kb3d-slab i:nth-child(5) { transform: translateZ(-1em); background: #15181f; }
.kb3d-slab i:nth-child(6) { transform: translateZ(-1.2em); background: #12141b; }
.kb3d-slab i:nth-child(7) { transform: translateZ(-1.4em); background: #0f1117; }
.kb3d-slab i:nth-child(8) { transform: translateZ(-1.6em); background: #0c0e13; }
.kb3d-slab i:nth-child(9) { transform: translateZ(-1.8em); background: #08090d; box-shadow: 0 2.4em 3.4em -1em rgba(0, 0, 0, .85); }
.kb3d-body {
  position: relative; transform-style: preserve-3d; padding: .9em .9em 1em; border-radius: 1.5em;
  background: linear-gradient(180deg, #11131a, #08090d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 3em 4em -1.6em rgba(0, 0, 0, .8);
}
.kb-bar { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .1em .5em .8em; transform: translateZ(.2em); }
.kb-bar img { height: 1.25em; width: auto; }
.kb-ico svg { width: 1.25em; height: 1.25em; display: block; fill: none; stroke: #9AA3B2; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kb-ico:nth-child(3) svg { stroke: var(--coral); }
/* A placa de luz embaixo das teclas: o que aparece entre elas é o neon */
.kb-keys {
  position: relative; transform-style: preserve-3d; display: flex; flex-direction: column; gap: .42em; padding: .3em; border-radius: 1em;
}
.kb-row { position: relative; display: flex; gap: .42em; transform-style: preserve-3d; }
.kb-row-mid { padding-inline: 5%; }
.k {
  position: relative; flex: 1 1 0; min-width: 0; height: 2.3em; display: grid; place-items: center;
  border-radius: .42em; color: #E6E8EC; font-size: 1em; font-weight: 600; line-height: 1; text-transform: lowercase;
  background: linear-gradient(180deg, #3b4252 0%, #2b303c 100%);
  /* Contorno neon: fino e brilhante perto da tecla, esmaecendo logo em volta */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -.12em 0 rgba(0, 0, 0, .35),
    0 0 0 1px rgba(var(--neon-salmon), .85), 0 0 .3em rgba(var(--neon-salmon), .95), 0 0 .9em rgba(var(--neon-salmon), .5), 0 0 1.8em rgba(var(--neon-salmon), .2);
  transform: translateZ(.95em); transform-style: preserve-3d;
  transition: transform .16s cubic-bezier(.16, 1, .3, 1), background-color .16s ease, box-shadow .16s ease, color .16s ease;
}
/* Lateral da tecla (o relevo) */
.k::before, .k::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.k::before { background: #161922; transform: translateZ(-.48em); }
.k::after { background: #0b0d12; transform: translateZ(-.95em); }
.k svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-mod { flex-grow: 1.45; background: linear-gradient(180deg, #2f3542, #232731); color: #C9CDD6; }
.k-txt { font-size: .72em; font-weight: 700; text-transform: none; }
.k-sm { flex-grow: .9; background: linear-gradient(180deg, #2f3542, #232731); }
.k-space { flex-grow: 4.6; }
.k-enter { flex-grow: 1.45; background: linear-gradient(180deg, #F58A75, #F17860); color: #242833; }
/* Tecla "apertada" pelo efeito de digitação: afunda e acende */
.k.is-hit {
  transform: translateZ(.35em); color: #242833;
  background: linear-gradient(180deg, #FFB199, #F17860);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(var(--neon-salmon), .9), 0 0 .5em rgba(var(--neon-salmon), .95), 0 0 1.4em rgba(var(--neon-salmon), .5);
}

.intro-next {
  margin-top: clamp(16px, 3vh, 40px); display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  min-height: 44px; color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600;
}
.intro-next svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: next-bob 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@media (hover: hover) { .intro-next:hover { color: var(--text); } }
@keyframes next-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(40px, 5vw, 62px); font-weight: 800; max-width: 12ch; }
.lead { margin-top: 22px; font-size: 19px; color: var(--text-2); max-width: 34em; }
.hero-note { margin-top: 18px; color: var(--text-3); font-size: 15px; }

/* Lista de espera: celular + e-mail, um passo só */
.signup { margin-top: 32px; max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.waitlist { display: flex; flex-direction: column; gap: 12px; }
.platform { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.platform legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.platform-opt {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid #3A4050; background: var(--surface); color: var(--text-2);
  font-size: 15px; font-weight: 600; transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.platform-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.platform-opt svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
@media (hover: hover) { .platform-opt:hover { color: var(--text); } }
.platform-opt:has(input:checked) { border-color: var(--coral); background: var(--coral-soft); color: var(--text); }
.platform-opt:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 3px; }
.field-row { display: flex; gap: 8px; }
.email {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1px solid #3A4050; background: #0B0C10; color: var(--text);
  font: inherit; font-size: 16px; caret-color: var(--coral);
}
.email::placeholder { color: var(--text-3); }
.email:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.email[aria-invalid="true"] { border-color: var(--danger-text); }
.field-row .btn { flex: none; min-height: 52px; }
.btn:disabled { cursor: progress; opacity: .75; transform: none; }
.wl-error { color: var(--danger-text); font-size: 15px; font-weight: 500; }
.wl-error:empty { display: none; }
.wl-note { color: var(--text-3); font-size: 14px; }
.wl-note a, .link-btn { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.wl-note a:hover, .link-btn:hover { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.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; }
.wl-done {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.wl-done:focus { outline: none; }
.wl-done:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.wl-done svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--success-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wl-done-title { font-weight: 700; font-size: 17px; }
.wl-done-text { color: var(--text-2); font-size: 15px; margin-top: 2px; overflow-wrap: anywhere; }
.link-btn { background: none; border: 0; padding: 11px 0; margin-top: 0; font: inherit; font-size: 14px; cursor: pointer; }
.signup-cta { width: 100%; margin: 8px auto 0; text-align: left; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* Selos das lojas na abertura: afastados do teclado inclinado, que passa da própria caixa */
.intro-stores { justify-content: center; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px;
  background: #0B0C10; border: 1px solid #3A4050; color: #fff; text-decoration: none;
}
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; color: var(--text-2); }
.store b { font-size: 18px; font-weight: 600; }
span.store { cursor: default; }
a.store:hover { border-color: var(--coral); }


/* Celular com a captura do teclado */
.phone {
  margin: 0; width: min(330px, 100%); aspect-ratio: 640 / 1218;
  border-radius: 40px; padding: 10px; background: #0B0C10;
  border: 1px solid #3A4050;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .03);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; background: var(--bg); }

/* Topo: a venda em 3 quadros, com os passos ao lado do celular */
.story { display: grid; grid-template-columns: 200px 300px; gap: 24px; align-items: center; }
.story-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.story-steps button {
  position: relative; overflow: hidden; width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left;
  font: inherit; color: var(--text-3); background: none; border: 0; border-radius: 14px; padding: 14px 14px 16px; cursor: pointer;
  transition: color .3s ease, background-color .3s ease;
}
@media (hover: hover) { .story-steps button:hover { color: var(--text-2); } }
.story-steps button[aria-current] { color: var(--text); background: rgba(255, 255, 255, .05); }
.story-n {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.story-steps button[aria-current] .story-n { border-color: var(--coral); color: var(--coral); }
.story-txt b { display: block; font-size: 16px; line-height: 1.3; }
.story-txt small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--text-3); }
.story-steps button[aria-current] small { color: var(--text-2); }
/* A barra do passo atual enche no tempo do passo; parada, fica cheia */
.story-bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); opacity: 0; }
.story-bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--coral); transform-origin: left; transform: scaleX(1); }
.story-steps button[aria-current] .story-bar { opacity: 1; }
.is-playing .story-steps button[aria-current] .story-bar::after { animation: story-fill var(--step-ms, 3400ms) linear both; }
@keyframes story-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.story-phone { position: relative; width: 300px; }
.story-frame {
  position: absolute; inset: 10px; width: calc(100% - 20px) !important; height: calc(100% - 20px) !important;
  opacity: 0; transform: scale(.985); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.story-frame.is-active { opacity: 1; transform: none; }
.story-toggle {
  position: absolute; right: -16px; top: 24px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid #3A4050; background: var(--surface); color: var(--text-2); cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.story-toggle:hover { color: var(--text); }
.story-toggle svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.story-toggle .i-pause { fill: none; }
.story-toggle .i-play, .story-toggle[aria-pressed="true"] .i-pause { display: none; }
.story-toggle[aria-pressed="true"] .i-play { display: block; }

/* Faixa */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.strip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.strip p { color: var(--text-3); font-size: 15px; }
.strip b { display: block; color: var(--text); font-size: 16px; }

/* Seções */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-tight .section-head { margin-bottom: 32px; }
.section-alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }

/* Recursos com abas */
.showcase { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.tabs { display: flex; flex-direction: column; gap: 12px; }
.tab {
  min-width: 0;
  display: flex; gap: 16px; align-items: flex-start; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  padding: 18px 20px; transition: background-color .15s ease, border-color .15s ease;
}
@media (hover: hover) { .tab:hover { background: var(--surface); } }
.tab[aria-selected="true"] { background: var(--surface); border-color: rgba(241, 120, 96, .55); }
.tab b { display: block; font-size: 19px; margin-bottom: 4px; }
.tab small { display: block; font-size: 15.5px; color: var(--text-2); line-height: 1.5; }
.tab-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2); color: var(--text-2);
}
.tab[aria-selected="true"] .tab-icon { background: var(--coral-soft); color: var(--coral); }
.tab-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-caption { display: none; }
.panels { display: flex; justify-content: center; }
.panels .phone { width: 320px; }
.panels .phone:not([hidden]) { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Cartões */
.extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.extras-in { margin-top: 88px; }
.extras li { border-top: 1px solid #3A4050; padding-top: 22px; }
.extras h3 { font-size: 22px; margin-bottom: 10px; }
.extras p { color: var(--text-2); font-size: 16px; max-width: 34ch; }
.section-lead { margin-top: 16px; color: var(--text-2); font-size: 18px; max-width: 46ch; }

/* Ramos */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.chips li:last-child { background: transparent; border-style: dashed; color: var(--text-2); }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps { gap: 40px; }
.steps li { border-top: 1px solid #3A4050; padding-top: 22px; }
.step-n {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid #3A4050; color: var(--text-2); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 20px; margin: 16px 0 8px; }
.steps p { color: var(--text-2); font-size: 15.5px; }

/* Perguntas */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.faq-section .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.faq-section .section-head { position: sticky; top: 96px; margin-bottom: 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--text-2); font-size: 16px; }

/* Chamada final */
.cta { position: relative; overflow: hidden; padding: 104px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.cta h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; max-width: 16ch; }
.cta-inner > p { color: var(--text-2); font-size: 18px; margin-bottom: 8px; }
.signup-cta .platform { justify-content: center; }
.signup-cta legend, .signup-cta .wl-note, .signup-cta .wl-error { text-align: center; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; background: var(--canvas); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer-row nav { display: flex; gap: 24px; }
.footer-row nav a { display: inline-block; padding: 10px 0; color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer-row nav a:hover { color: var(--text); text-decoration: underline; }
.fine { width: 100%; color: var(--text-3); font-size: 13px; }

/* Páginas legais */
.legal-main { max-width: 780px; padding-top: 56px; padding-bottom: 96px; }
.legal-doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.legal-date { color: var(--text-3); margin: 10px 0 36px; font-size: 15px; }
.legal-doc h2 { font-size: 21px; margin: 36px 0 12px; }
.legal-doc p { color: var(--text-2); margin-bottom: 12px; font-size: 16px; }
.legal-page .header-row { justify-content: space-between; }
.legal-back { margin-top: 48px; }
.legal-back a { color: var(--coral); font-weight: 600; }

/* Privacidade: o que fica no celular e o que vai para o servidor */
.section-peak { padding: 120px 0; }
.privacy { background: var(--graphite); border-block: 1px solid var(--line); }
.privacy-panel {
  max-width: 960px; margin-inline: auto; padding: 48px;
  background: var(--canvas); border: 1px solid var(--line); border-radius: 24px;
}
.privacy-head { text-align: center; margin-bottom: 40px; }
.privacy-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.privacy-head .section-lead { margin-inline: auto; }
.privacy-cols { display: grid; grid-template-columns: 3fr 2fr; }
.privacy-col + .privacy-col { border-left: 1px solid var(--line); padding-left: 40px; margin-left: 40px; }
.privacy-col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 16px; }
.privacy-col h3 svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.privacy-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.privacy-col li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 16.5px; line-height: 1.55; }
.privacy-col li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #3A4050; }
.privacy-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.privacy-foot p { color: var(--text-2); font-size: 15.5px; max-width: 72ch; }
.privacy-foot b { color: var(--text); }
.privacy-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--coral); font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* Topo entre 961 e 1100px: o texto ganha espaço e o título cabe em 2 linhas */
@media (max-width: 1100px) and (min-width: 961px) {
  .story { grid-template-columns: 170px 260px; gap: 20px; }
  .story-phone { width: 260px; }
  .hero-title { font-size: 48px; }
}

/* Botão fixo do celular (zona do polegar), acima da barra de gestos */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(20, 22, 29, .92); border-top: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.mobile-cta .btn { width: 100%; min-height: 48px; }

/* Celular e tablet */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .showcase { grid-template-columns: 1fr; gap: 44px; }
  .hero-title { max-width: none; }
  .story { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .story-phone { width: min(300px, 82%); }
  .story-steps { flex-direction: row; width: 100%; max-width: 520px; gap: 4px; }
  .story-steps li { flex: 1 1 0; min-width: 0; }
  .story-steps button { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 6px 16px; }
  .story-txt small { display: none; }
  .story-txt b { font-size: 14px; }
  .faq-section .wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-section .section-head { position: static; margin-bottom: 32px; }
  .lang-switch button { min-height: 44px; min-width: 44px; }
  .showcase { gap: 16px; }
  .tabs {
    flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin-inline: -24px; padding: 2px 24px; scroll-padding-inline: 24px; scroll-snap-type: x proximity;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 8px; border-radius: 999px; border-color: #3A4050; scroll-snap-align: start; }
  .tab b { font-size: 15px; margin: 0; white-space: nowrap; }
  .tab small { display: none; }
  .tab-icon { width: 30px; height: 30px; border-radius: 50%; background: none; }
  .tab-icon svg { width: 18px; height: 18px; }
  .tab-caption { display: block; text-align: center; color: var(--text-2); font-size: 16px; max-width: 40ch; margin: 0 auto 8px; min-height: 3em; }
  .panels .phone { width: min(290px, 80%); }
}
/* Três colunas até o tablet em pé; abaixo disso, uma */
@media (max-width: 760px) {
  .extras, .steps { grid-template-columns: 1fr; gap: 28px; }
  .extras-in { margin-top: 64px; }
  .section-peak { padding: 72px 0; }
  .privacy-panel { padding: 24px; border-radius: 20px; }
  .privacy-head { text-align: left; margin-bottom: 28px; }
  .privacy-cols { grid-template-columns: 1fr; }
  .privacy-col + .privacy-col { border-left: 0; padding-left: 0; margin-left: 0; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
}
@media (max-width: 640px) {
  .intro { min-height: calc(100svh - 61px); padding: 44px 0 28px; }
  .kb3d-scene { --kb-w: calc(100vw - 56px); perspective: 900px; margin: 48px 0 32px; }
  .kb3d { --rx: 30deg; --ry: -4deg; --rz: -4deg; }
  .kb-bar { padding-bottom: .6em; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { gap: 12px; min-height: 60px; }
  .brand img { width: 112px; }
  .header-actions .btn-sm { display: none; }
  .lead { font-size: 17px; }
  .strip-row { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .store { flex: 1 1 180px; }
  /* Na abertura, os dois selos lado a lado e mais baixos */
  .intro-stores { flex-wrap: nowrap; gap: 10px; width: 100%; max-width: 380px; }
  .intro-stores .store { flex: 1 1 0; min-width: 0; min-height: 50px; gap: 10px; padding: 6px 12px; }
  .intro-stores .store svg { width: 22px; height: 22px; }
  .intro-stores .store b, .intro-stores .store small { white-space: nowrap; }
  .intro-stores .store b { font-size: 16px; }
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
  .platform-opt { flex: 1 1 0; justify-content: center; }
  .tabs { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .site-footer { padding-bottom: calc(44px + 76px + env(safe-area-inset-bottom)); }
  .cta { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
