/* ==========================================================================
   Tecla Leve — Landing Page (style.css)
   Linguagem visual: instrumento / estúdio. Azul vivo, cores chapadas, bordas finas,
   sem brilhos nem sombras coloridas. Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paleta viva: azul elétrico + azul-marinho + amarelo nas urgências */
  --primary:      #1B55FF;   /* azul vivo — botões e destaques */
  --primary-dark: #1140D6;   /* hover dos botões */
  --primary-light: #4D8BFF;  /* azul claro para fundos escuros */
  --blue:         #1B55FF;   /* foco e links */
  --yellow:       #FFC21A;   /* etiquetas de oferta, CTA sobre fundo escuro */
  --green:        #12A150;   /* frete grátis, confirmações */
  --bg:           #FFFFFF;
  --bg-alt:       #EEF2FF;   /* azul bem claro para alternar seções */
  --text:         #0F1730;
  --text-muted:   #5A6480;
  --border:       #D8E0F5;
  --radius:       6px;
  --radius-lg:    10px;
  --shadow:       0 0 0 1px var(--border);
  --shadow-lg:    0 0 0 1px var(--border);

  --white:         #FFFFFF;
  --ink:           #0B1C42;  /* azul-marinho das seções escuras */
  --ink-2:         #102A5C;
  --ink-3:         #1B3A73;
  --ink-line:      #2A4E8F;
  --paper:         #FFFFFF;
  --paper-2:       #EEF2FF;
  --signal:        #FF3B30;  /* desconto e LED */
  --star:          #FFB300;
  --key-white:     #FFFFFF;
  --key-top:       #E3E9F7;
  --key-edge:      #C6D1E8;
  --on-dark:       #F2F6FF;
  --on-dark-muted: #A9BCE2;

  --font-display: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;
  --ease:         cubic-bezier(.2, .7, .2, 1);
  --container:    1200px;
  --sticky-h:     72px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 20px; }
.container--mid { max-width: 980px; }

/* Ícones SVG (traço fino, cor do texto) */
.ico {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

/* Títulos */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.035em;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display--light { color: var(--on-dark); }
.muted { color: var(--text-muted); }

/* Rótulo de seção numerado automaticamente: "03 / Por que funciona" */
main { counter-reset: secao; }
.kicker {
  counter-increment: secao;
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-body); font-size: .74rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-muted);
}
.kicker::before { content: counter(secao, decimal-leading-zero) " /"; color: var(--primary); }
.kicker--light { color: var(--on-dark-muted); }
.kicker--light::before { color: var(--on-dark); }

.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars .ico { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   3. Botões — retangulares, sólidos, preço em bloco separado
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: stretch; justify-content: space-between;
  min-height: 54px; padding: 0;
  border: 1.5px solid var(--primary); border-radius: var(--radius);
  background: var(--primary); color: var(--paper);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn > span { display: flex; align-items: center; padding: 0 20px; }
.btn > span:only-child, .btn:not(:has(> span)) { justify-content: center; }
.btn:not(:has(> span)) { align-items: center; padding: 0 20px; }
.btn__price {
  font-family: var(--font-body); font-weight: 500; font-size: .95em;
  border-left: 1px solid rgba(242,239,232,0.22);
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.btn--primary { /* padrão: azul vivo */ }

.btn--accent { background: var(--primary-light); border-color: var(--primary-light); color: var(--ink); }
.btn--accent .btn__price { border-left-color: rgba(11,28,66,0.28); }
.btn--accent:hover { background: var(--on-dark); border-color: var(--on-dark); }

.btn--xl { width: 100%; min-height: 62px; font-size: 1.06rem; }
.btn--sm { min-height: 42px; font-size: .9rem; }
.btn--sm > span { padding: 0 14px; }

/* --------------------------------------------------------------------------
   4. Animação de entrada (discreta)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   5. Faixa de vantagens + header
   -------------------------------------------------------------------------- */
.topbar { background: var(--primary); color: var(--white); font-family: var(--font-body); font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; }
.topbar__track { display: flex; justify-content: center; flex-wrap: wrap; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.topbar__track span { padding: 8px 12px; white-space: nowrap; }
/* Celular: 1 item (cabe numa linha) | tablet+: os 4 itens */
.topbar__track span[aria-hidden="true"], .topbar__track span:nth-child(n+2) { display: none; }
.topbar__track span + span { border-left: 1px solid rgba(255,255,255,0.35); }

.header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: center; gap: 16px; height: 58px; }
.header__meta, .header__cta { display: none; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em;
}
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__mark .m-bg { fill: var(--primary); }
.brand__mark .m-white { fill: var(--paper); }
.brand__mark .m-black { fill: var(--primary); }
.brand--light { color: var(--on-dark); }
.brand--light .brand__mark .m-bg { fill: var(--ink-3); }
.brand--light .brand__mark .m-black { fill: var(--ink-3); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { padding: 14px 0 56px; }
.hero__grid { display: grid; gap: 24px; }

/* Galeria */
.gallery { min-width: 0; }
.gallery__stage { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 0 0 1px var(--border); }
.gallery__track {
  position: relative; display: flex; aspect-ratio: 1 / 1;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; background: var(--white); }
.gallery__slide img, .gallery__slide video { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide--contain { background: var(--paper-2); }
.gallery__slide--contain img { object-fit: contain; }

.gallery__badge, .gallery__count {
  position: absolute; z-index: 2; padding: 5px 8px; border-radius: 3px;
  font-family: var(--font-body); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  pointer-events: none;
}
.gallery__badge { top: 12px; left: 12px; background: var(--primary); color: var(--white); }
.gallery__count { right: 12px; bottom: 12px; background: var(--white); color: var(--text); box-shadow: 0 0 0 1px var(--border); }

.gallery__nav {
  position: absolute; top: 50%; z-index: 2; display: none; place-items: center;
  width: 40px; height: 40px; margin-top: -20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text); cursor: pointer;
}
.gallery__nav:hover { border-color: var(--ink); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }

.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb {
  position: relative; flex: none; width: 60px; height: 60px; padding: 0;
  border: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); cursor: pointer;
  box-shadow: 0 0 0 1px var(--border);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-selected="true"] { box-shadow: 0 0 0 2px var(--ink); }
.gallery__thumb--video .ico {
  position: absolute; inset: 50% auto auto 50%; width: 20px; height: 20px;
  transform: translate(-50%, -50%); color: var(--white); filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}

/* Caixa de compra */
.buy__flags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.flag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px; border-radius: 3px;
  font-family: var(--font-body); font-size: .7rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
}
.flag .ico { width: 14px; height: 14px; }
.flag--hot { background: var(--primary); color: var(--white); }
/* Sobre fundo escuro, o azul claro mantém a leitura */
.play .flag--hot, .offer .flag--hot { background: var(--primary-light); color: var(--ink); }
.flag--timer { color: var(--text); box-shadow: inset 0 0 0 1px var(--border); font-variant-numeric: tabular-nums; }
.flag--timer b { font-weight: 600; }

.buy__title {
  margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.05rem, 1.55rem + 1.6vw, 2.85rem);
  line-height: 1; letter-spacing: -.025em; text-wrap: balance;
}
.buy__title em { font-style: normal; color: var(--text-muted); }
.buy__lead { color: var(--text-muted); font-size: .95rem; line-height: 1.5; max-width: 46ch; margin-bottom: 14px; }

.rating { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; text-decoration: none; }
.rating:hover span:last-child { text-decoration: underline; }

.swatches { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.swatches legend { margin-bottom: 8px; padding: 0; font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; color: var(--text-muted); }
.swatches legend b { color: var(--text); font-weight: 600; }
.swatches__list { display: flex; gap: 8px; }
.swatch {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: var(--radius);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--border);
  font-weight: 500; font-size: .92rem; cursor: pointer;
}
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch.is-checked { box-shadow: inset 0 0 0 2px var(--ink); }
.swatch:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.swatch__chip { width: 26px; height: 26px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(20,20,20,0.18); }
.swatch__chip--preto { background: var(--ink); }
.swatch__chip--branco { background: var(--white); }

.price { margin: 24px 0 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.price__row { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.price__old { color: var(--text-muted); text-decoration: line-through; }
.price__save { font-family: var(--font-body); font-size: .75rem; font-weight: 600; color: var(--signal); }
.price__now {
  display: flex; align-items: flex-start; margin: 4px 0 6px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 3.8rem; line-height: 1; letter-spacing: -.035em;
}
.price__currency { margin: .38em .14em 0 0; font-size: .32em; letter-spacing: 0; }
.price__cents { margin-top: .14em; font-size: .4em; }
.price__note { margin: 0; color: var(--text-muted); font-size: .9rem; }
.price__note b { color: var(--text); font-weight: 600; }

.buy__try {
  display: block; margin-top: 14px; text-align: center; font-size: .9rem;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border);
}
.buy__try:hover { text-decoration-color: var(--ink); }

.assurances { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--border); }
.assurances li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: .88rem; line-height: 1.35; }
.assurances .ico { width: 22px; height: 22px; }
.pix-logo { width: 22px; height: 22px; flex: none; }
.footer__pay .pix-logo { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; display: inline-block; }
.assurances b { display: block; font-weight: 600; }
.assurances span { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   7. Experimente — piano interativo
   -------------------------------------------------------------------------- */
.play { padding: 80px 0 64px; background: var(--ink); color: var(--on-dark); }
.play__head { max-width: 680px; margin-bottom: 36px; }
.play__lead { margin: 16px 0 0; color: var(--on-dark-muted); font-size: 1.04rem; }
.play__lead b { color: var(--on-dark); font-weight: 600; }

.piano {
  display: grid; gap: 10px; padding: 10px;
  border-radius: 14px; background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--ink-line);
}
.piano__panel {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--radius-lg); background: var(--ink);
}
.piano__speaker {
  width: 56px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--ink-line) 1.2px, transparent 1.7px) 0 0 / 6px 6px, var(--ink-2);
}
.piano__controls { display: flex; flex-wrap: wrap; gap: 6px; }
.pbtn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border: 0; border-radius: var(--radius);
  background: var(--ink-3); color: var(--on-dark);
  font: 500 .76rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .02em;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pbtn:hover { background: var(--ink-line); }
.pbtn:active { transform: translateY(1px); }
.pbtn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.pbtn__led { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-line); }
.pbtn[aria-pressed="true"] .pbtn__led { background: var(--signal); }
.pbtn--learn { background: var(--on-dark); color: var(--ink); }
.pbtn--learn:hover { background: var(--white); }
.pbtn--learn .pbtn__led { background: var(--key-edge); }
.pbtn--learn[aria-pressed="true"] .pbtn__led { background: var(--yellow); box-shadow: 0 0 0 1px var(--ink); }
.pbtn--icon { padding: 8px; }
.pbtn--icon .ico { width: 16px; height: 16px; }

.piano__display {
  grid-column: 1 / -1; display: flex; align-items: center;
  min-height: 36px; margin: 0; padding: 8px 12px; border-radius: 4px;
  background: var(--ink-2); color: var(--yellow);
  font: 500 .78rem/1.2 var(--font-body); letter-spacing: .03em;
}

.piano__scroll { overflow-x: auto; border-radius: 8px; scrollbar-width: thin; scrollbar-color: var(--ink-line) transparent; overscroll-behavior-x: contain; }
.piano__keys {
  position: relative; display: flex;
  min-width: calc(29 * 42px); height: 210px; padding-bottom: 2px;
  user-select: none; -webkit-user-select: none; touch-action: pan-x;
}
.key { padding: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.key--white {
  position: relative; flex: 1 1 0; margin: 0 1px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px;
  padding-bottom: 12px; border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, var(--key-top) 0%, var(--key-white) 12%);
  box-shadow: inset 0 -6px 0 var(--key-edge);
  transform-origin: top; transition: transform .06s ease, box-shadow .06s ease;
}
.key--white.is-down { transform: scaleY(.985); box-shadow: inset 0 -2px 0 var(--key-edge); background: var(--key-top); }
.key--black {
  position: absolute; top: 0; z-index: 2;
  left: calc(var(--i) / 29 * 100% - 100% / 29 * .31);
  width: calc(100% / 29 * .62); height: 60%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 8px;
  border-radius: 0 0 4px 4px;
  background: var(--ink); box-shadow: inset 0 -5px 0 var(--ink-3);
  transform-origin: top; transition: transform .06s ease, box-shadow .06s ease;
}
.key--black.is-down { transform: scaleY(.97); box-shadow: inset 0 -2px 0 var(--ink-3); }

.key.is-hint { background: var(--yellow); box-shadow: inset 0 -6px 0 rgba(20,20,20,0.18); }
.key.is-hint::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--yellow); transform: translateX(-50%);
}
.key.is-wrong { animation: shake .3s ease; }
@keyframes shake { 25% { translate: -3px 0; } 75% { translate: 3px 0; } }

.key__label { font: 500 .58rem/1 var(--font-body); color: var(--text-muted); pointer-events: none; }
.key kbd { display: none; font: 500 .6rem/1 var(--font-body); color: var(--text-muted); pointer-events: none; }
.key--black kbd { color: var(--on-dark-muted); }

.learn {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: 12px; padding: 14px 16px; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--ink-line);
}
.learn__info { display: flex; flex-direction: column; line-height: 1.3; font-size: .9rem; }
.learn__info span { color: var(--on-dark-muted); font-size: .8rem; }
.learn__bar { flex: 1; min-width: 120px; height: 4px; background: var(--ink-3); }
.learn__bar span { display: block; width: 0; height: 100%; background: var(--yellow); transition: width .3s var(--ease); }
.learn__count { font: 500 .8rem/1 var(--font-body); color: var(--on-dark-muted); }
.learn__done { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: 100%; padding-top: 12px; border-top: 1px solid var(--ink-line); }
.learn__done p { flex: 1; min-width: 200px; margin: 0; font-size: .9rem; color: var(--on-dark-muted); }
.learn__done b { color: var(--on-dark); }

.play__hint { margin: 14px 0 0; font: 400 .74rem/1.4 var(--font-body); color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   8. Portátil — desenrolar na rolagem
   -------------------------------------------------------------------------- */
.unroll { position: relative; height: 230vh; border-top: 1px solid var(--border); }
.unroll__sticky { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; overflow: hidden; }
.unroll__captions { position: relative; height: 2.1em; }
.unroll__caption { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(-10%); transition: opacity .2s ease, transform .2s ease; }
.unroll__caption.is-active { opacity: 1; transform: none; transition: opacity .45s var(--ease) .12s, transform .6s var(--ease) .12s; }

/* Padrão de teclas (reutilizado) — 28 teclas brancas = 4 oitavas */
.keys-pattern {
  background:
    linear-gradient(90deg,
      transparent 10.2%, var(--ink) 10.2% 18.37%, transparent 18.37% 24.49%,
      var(--ink) 24.49% 32.65%, transparent 32.65% 53.06%, var(--ink) 53.06% 61.22%,
      transparent 61.22% 67.35%, var(--ink) 67.35% 75.51%, transparent 75.51% 81.63%,
      var(--ink) 81.63% 89.8%, transparent 89.8%) 0 0 / 25% 60% repeat-x,
    repeating-linear-gradient(90deg, var(--key-white) 0 calc(100% / 28 - 2px), var(--key-edge) calc(100% / 28 - 2px) calc(100% / 28));
}

.unroll__stage { --p: 0; position: relative; height: clamp(120px, 19vw, 240px); margin: 36px 0 22px; }
.unroll__module {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 3; width: 17%;
  border-radius: 12px 40% 40% 12px / 12px 50% 50% 12px;
  background: var(--ink);
}
.unroll__module::before {
  content: ""; position: absolute; top: 14%; left: 42%; width: 44%; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, var(--ink-line) 1px, transparent 1.5px) 0 0 / 5px 5px, var(--ink-2);
}
.unroll__module::after { content: ""; position: absolute; bottom: 22%; left: 42%; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.unroll__strip {
  position: absolute; left: 15%; right: 0; top: 7%; bottom: 7%; z-index: 1;
  padding: 3.2% 1% 1.4%; border-radius: 0 10px 10px 0; background: var(--ink);
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}
.unroll__strip::before {
  content: ""; position: absolute; left: 1%; right: 1%; top: 2.2%; height: 4%;
  background: radial-gradient(circle, var(--ink-line) 45%, transparent 50%) 0 50% / 3.3% 100% repeat-x;
}
.unroll__keys { height: 100%; border-radius: 2px; }
.unroll__roll {
  position: absolute; top: 50%; z-index: 2;
  left: calc(15% + 85% * var(--p)); height: calc(100% * (1 - var(--p) * .55)); aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, var(--ink) 0 5%, var(--ink-3) 5% 7%);
  transform: translate(-50%, -50%) rotate(calc(var(--p) * 1080deg));
  opacity: clamp(0, calc((1 - var(--p)) * 14), 1);
}
.unroll__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.unroll__meter { margin: 0; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; color: var(--text-muted); }
.unroll__meter b {
  display: inline-block; min-width: 2ch; margin-right: 4px;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.unroll__note { margin: 0; color: var(--text-muted); font-size: .9rem; }
.unroll.is-static { height: auto; }
.unroll.is-static .unroll__sticky { position: static; height: auto; padding: 80px 0; }

/* --------------------------------------------------------------------------
   9. Seções genéricas
   -------------------------------------------------------------------------- */
.section { padding: 80px 0; border-top: 1px solid var(--border); }
.section--paper { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head > p:not(.kicker) { margin: 16px 0 0; color: var(--text-muted); font-size: 1.04rem; }
.section-head .section-head__lead--light { color: var(--on-dark-muted); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* --------------------------------------------------------------------------
   10. Benefícios (grade)
   -------------------------------------------------------------------------- */
.bento {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "keys keys" "video speaker" "video guide" "soft power";
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 210px; padding: 16px;
  border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--border);
}
.tile h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.15; letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--text-muted); font-size: .86rem; line-height: 1.45; }

.tile--keys { grid-area: keys; min-height: 300px; background: var(--ink); color: var(--on-dark); box-shadow: none; justify-content: space-between; }
.tile--keys p { color: var(--on-dark-muted); }
.tile__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(6.5rem, 4rem + 9vw, 11rem); line-height: .78; letter-spacing: -.05em; color: var(--on-dark); }
.tile__text { position: relative; max-width: 320px; margin-top: 16px; }
.tile__strip { height: 54px; margin: 18px -16px -16px; }

.tile--video { grid-area: video; min-height: 420px; padding: 0; background: var(--ink); color: var(--on-dark); box-shadow: none; }
.tile--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__over { position: relative; padding: 16px; margin: 10px; border-radius: var(--radius); background: var(--ink); }
.tile__over p { color: var(--on-dark-muted); }

.tile--speaker { grid-area: speaker; }
.grille {
  position: relative; width: 80px; aspect-ratio: 1; margin: 6px 0 auto; border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 1.2px, transparent 1.7px) 0 0 / 7px 7px, var(--paper-2);
}
.grille::before, .grille::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid var(--ink); opacity: 0; animation: wave 2.6s ease-out infinite;
}
.grille::after { animation-delay: 1.3s; }
@keyframes wave { 0% { transform: scale(.92); opacity: .35; } 100% { transform: scale(1.45); opacity: 0; } }

.tile--guide { grid-area: guide; }
.staff { position: relative; height: 62px; margin: 8px 0 auto; background: repeating-linear-gradient(180deg, var(--border) 0 1px, transparent 1px 12px) 0 6px / 100% 49px no-repeat; }
.staff i { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 10px; border-radius: 50%; background: var(--ink); transform: rotate(-20deg); }
.staff i::after { content: ""; position: absolute; right: 0; bottom: 4px; width: 1.5px; height: 30px; background: var(--ink); }
.staff i.is-next { background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); }

.tile--soft { grid-area: soft; }
.squish {
  width: 44px; height: 86px; margin: 0 0 auto 6px; border-radius: 0 0 10px 10px;
  background: var(--key-white); box-shadow: inset 0 0 0 1px var(--border), inset 0 -8px 0 var(--key-edge);
  transform-origin: top; animation: squish 3s var(--ease) infinite;
}
@keyframes squish { 0%, 55%, 100% { transform: scale(1, 1); } 65% { transform: scale(1.08, .88); } 78% { transform: scale(.98, 1.03); } }

.tile--power { grid-area: power; }
.tile--power img { position: absolute; inset: 1px 1px auto; width: calc(100% - 2px); height: 58%; object-fit: cover; object-position: 55% 65%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* --------------------------------------------------------------------------
   11. Em uso — vídeos
   -------------------------------------------------------------------------- */
.reels { padding: 80px 0; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.reels__track { display: flex; gap: 10px; padding: 0 20px 8px; scroll-padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reels__track::-webkit-scrollbar { display: none; }
.reel { position: relative; flex: none; height: min(118vw, 480px); aspect-ratio: 9 / 16; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-3); scroll-snap-align: start; }
.reel--wide { aspect-ratio: 4 / 5; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.reel figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius);
  background: var(--ink); font-weight: 500; font-size: .88rem; pointer-events: none;
}
.reel figcaption span { font: 500 .7rem/1 var(--font-body); color: var(--on-dark-muted); }
.reel__sound {
  position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center;
  width: 36px; height: 36px; border: 0; border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark); cursor: pointer;
}
.reel__sound .ico { width: 17px; height: 17px; }

/* Setas e barra de progresso do carrossel */
.reels__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 36px; }
.reels__top .section-head { margin-bottom: 0; }
.reels__nav { display: flex; gap: 8px; }
.reels__btn {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--ink-line); border-radius: var(--radius);
  background: transparent; color: var(--on-dark); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.reels__btn .ico { width: 20px; height: 20px; }
.reels__btn:hover:not(:disabled) { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.reels__btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.reels__btn:disabled { opacity: .3; cursor: default; }
.reels__track:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.reels__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.reels__track.is-dragging video { pointer-events: none; }
.reels__progress { position: relative; height: 2px; margin-top: 22px; background: var(--ink-line); overflow: hidden; }
.reels__progress span { display: block; width: 20%; height: 100%; background: var(--on-dark); }
@media (hover: hover) { .reels__track { cursor: grab; } }

/* --------------------------------------------------------------------------
   12. Comparativo
   -------------------------------------------------------------------------- */
.compare { overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; }
.compare__row + .compare__row { border-top: 1px solid var(--border); }
.compare__label { grid-column: 1 / -1; padding: 14px 16px 2px; font-family: var(--font-body); font-size: .7rem; font-weight: 500; text-transform: uppercase; color: var(--text-muted); }
.compare__cell { display: flex; align-items: flex-start; gap: 8px; padding: 8px 16px 14px; font-size: .92rem; line-height: 1.4; }
.compare__cell .ico { width: 17px; height: 17px; margin-top: 2px; }
.compare__cell--us { font-weight: 600; }
.compare__cell--them { color: var(--text-muted); }
.compare__head { background: var(--ink); color: var(--on-dark); }
.compare__head .compare__label { display: none; }
.compare__head .compare__cell { padding: 14px 16px; font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.compare__head .compare__cell--us { background: var(--primary); color: var(--white); }
.compare__head .compare__cell--them { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   13. Como funciona
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 30px; }
.step::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 1px; background: var(--border); }
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1.5px var(--ink); font: 600 1rem/1 var(--font-body);
}
.step:last-child .step__num { background: var(--primary); color: var(--white); }
.step__when { font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; color: var(--text-muted); }
.step h3 { margin: 2px 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   14. Depoimentos
   -------------------------------------------------------------------------- */
.proof { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem; }
.proof .stars .ico { width: 16px; height: 16px; }
.quotes { display: grid; gap: 10px; }
.quote { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 24px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; line-height: 1.38; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); line-height: 1.3; }
.quote figcaption b { display: block; font-weight: 600; }
.quote small { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-size: .7rem; text-transform: uppercase; color: var(--text-muted); }
.quote small .ico { width: 13px; height: 13px; color: var(--green); }
.avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--text); font: 600 .8rem/1 var(--font-body); }

/* --------------------------------------------------------------------------
   15. Especificações
   -------------------------------------------------------------------------- */
.specs-grid { display: grid; gap: 36px; }
.specs-media { overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.specs-media img { width: 100%; height: auto; }
.specs { margin: 0; border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.specs dt { font-family: var(--font-body); font-size: .74rem; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.specs dd { margin: 0; font-weight: 500; }

/* --------------------------------------------------------------------------
   16. Garantia
   -------------------------------------------------------------------------- */
.guarantee { padding: 0 0 80px; }
.guarantee__inner { display: grid; justify-items: start; align-items: center; gap: 28px; padding: 32px 22px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--border); }
.guarantee__text { margin: 16px 0 0; max-width: 560px; color: var(--text-muted); font-size: 1.04rem; }
.seal { position: relative; width: 160px; aspect-ratio: 1; }
.seal svg { width: 100%; height: 100%; }
.seal text { font: 500 12.5px var(--font-body); letter-spacing: .06em; fill: var(--text); }
.seal__core { position: absolute; inset: 25%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--primary); color: var(--white); }
.seal__core b { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: .9; }
.seal__core span { font: 500 .62rem/1.4 var(--font-body); text-transform: uppercase; }

/* --------------------------------------------------------------------------
   17. Oferta final
   -------------------------------------------------------------------------- */
.offer { padding: 80px 0; background: var(--ink); color: var(--on-dark); }
.offer__grid { display: grid; gap: 32px; align-items: center; }
.offer__media { overflow: hidden; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--white); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer .display { margin-top: 18px; }
.offer__list { list-style: none; display: grid; gap: 0; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--ink-line); }
.offer__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ink-line); color: var(--on-dark-muted); font-size: .95rem; }
.offer__list b { color: var(--on-dark); font-weight: 600; }
.offer__list .ico { width: 16px; height: 16px; color: var(--on-dark); }

.price--light { border-top: 0; padding-top: 0; }
.price--light .price__old, .price--light .price__note { color: var(--on-dark-muted); }
.price--light .price__save { color: var(--yellow); }
.price--light .price__note b { color: var(--on-dark); font-variant-numeric: tabular-nums; }

.offer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 16px; font-family: var(--font-body); font-size: .74rem; text-transform: uppercase; color: var(--on-dark-muted); }
.offer__meta p { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.offer__meta .ico { width: 15px; height: 15px; }
.viewers b { color: var(--on-dark); font-variant-numeric: tabular-nums; }
.viewers__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; gap: 8px; }
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 20px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--text);
}
.faq__q:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq__q:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px;
  background: var(--text); transform: translate(-50%, -50%); transition: transform .25s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { height: 0; overflow: hidden; transition: height .35s var(--ease); }
.faq__a p { margin: 0; padding: 0 40px 20px 0; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer { padding: 56px 0 calc(32px + var(--sticky-h)); background: var(--ink); color: var(--on-dark-muted); font-size: .88rem; }
.footer p { margin: 0 0 4px; }
.footer .brand { margin-bottom: 14px; }
.footer__grid { display: grid; gap: 28px; }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__links a { color: var(--on-dark); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__pay { line-height: 2; }
.footer__pay .ico { width: 15px; height: 15px; margin-right: 8px; vertical-align: -3px; }
.footer__legal { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid var(--ink-line); font-family: var(--font-body); font-size: .7rem; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   20. CTA fixo (mobile) — barra rente ao rodapé da tela
   -------------------------------------------------------------------------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky.is-visible { transform: none; }
.sticky img { width: 44px; height: 44px; border-radius: var(--radius); object-fit: cover; background: var(--white); box-shadow: 0 0 0 1px var(--border); }
.sticky__info { flex: 1; min-width: 0; line-height: 1.15; }
.sticky__info strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.sticky__info small { font-family: var(--font-body); font-size: .66rem; text-transform: uppercase; color: var(--text-muted); }
.sticky .btn { min-height: 46px; }

/* ==========================================================================
   TABLET — 768px
   ========================================================================== */
@media (min-width: 768px) {
  .container { padding-inline: 32px; }
  .section, .reels, .offer { padding: 110px 0; }
  .guarantee { padding-bottom: 110px; }

  .topbar__track span:nth-child(n+3):not([aria-hidden="true"]) { display: block; }

  .btn--xl { width: auto; min-width: 360px; }
  .gallery__nav { display: grid; }
  .gallery__thumb { width: 72px; height: 72px; }

  .piano__keys { min-width: calc(29 * 46px); height: 240px; }

  .bento { gap: 12px; }
  .tile { padding: 22px; min-height: 240px; }
  .tile__strip { margin: 22px -22px -22px; height: 64px; }

  .reels__track { gap: 12px; padding-inline: 32px; scroll-padding-inline: 32px; }

  .compare__row { grid-template-columns: .9fr 1.2fr 1.2fr; }
  .compare__label { grid-column: auto; display: flex; align-items: center; padding: 18px 22px; }
  .compare__cell { align-items: center; padding: 18px 22px; }
  .compare__head .compare__label { display: flex; visibility: hidden; }
  .compare__head .compare__cell { padding: 18px 22px; font-size: 1.05rem; }

  .quotes { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .guarantee__inner { grid-template-columns: 200px 1fr; gap: 48px; padding: 48px; }
  .seal { width: 200px; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ==========================================================================
   DESKTOP — 1024px
   ========================================================================== */
@media (min-width: 1024px) {
  .footer { padding-bottom: 40px; }
  .sticky { display: none; }

  .header__inner { justify-content: space-between; height: 66px; }
  .header__meta { display: flex; align-items: center; gap: 10px; margin: 0 auto 0 32px; font-size: .86rem; color: var(--text-muted); }
  .header__meta b { color: var(--text); }
  .header__cta { display: inline-flex; }

  .hero { padding: 40px 0 110px; }
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: start; }
  .gallery { position: sticky; top: 96px; }
  .buy { padding-top: 6px; }

  .play { padding: 120px 0 100px; }
  .piano { grid-template-columns: minmax(0, 1fr) 210px; padding: 12px; gap: 12px; }
  .piano__panel { order: 2; grid-template-columns: 1fr; align-content: start; justify-items: center; text-align: center; padding: 18px 14px; }
  .piano__speaker { width: 110px; }
  .piano__controls { justify-content: center; }
  .piano__scroll { overflow: visible; }
  .piano__keys { min-width: 0; height: 280px; }
  .piano__display { width: 100%; justify-content: center; }
  .play__hint { display: none; }

  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "keys keys video speaker" "guide soft video power"; }
  .tile--video { min-height: 0; }

  .reels__track { padding-inline: max(32px, calc((100vw - var(--container)) / 2 + 32px)); scroll-padding-inline: max(32px, calc((100vw - var(--container)) / 2 + 32px)); }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 20px; padding-bottom: 0; }
  .step::before { left: 60px; right: -16px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step:last-child::before { display: none; }

  .specs-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .offer__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: 100px; }
}

@media (hover: hover) and (min-width: 1024px) {
  .key kbd { display: block; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .grille::before, .grille::after, .squish, .viewers__dot { animation: none; }
}

/* Números alinhados onde a fonte monoespaçada era usada */
.btn__price, .flag--timer, .learn__count, .gallery__count, .offer__meta,
.price__save, .unroll__meter, .step__num, .reel figcaption span,
.timer, .progress__step span, .copy__row input { font-variant-numeric: tabular-nums; }

/* Números sempre em Inter — a serifada fica só nos títulos */
.price__now, .price__currency, .price__cents, .tile__big,
.unroll__meter b, .seal__core b, .sticky__info strong {
  font-family: var(--font-body);
  font-weight: 860;
  letter-spacing: -.032em;
  font-variant-numeric: tabular-nums;
}
