/* Acorde — site de venda. Mundo: o próprio app (tokens copiados do CSS do index.html do app). */
:root {
  --bg: #12141a;
  --surface: #1b1f28;
  --btn: #252a35;
  --btn-2: #2a2f3b;
  --line: #2c3240;
  --line-2: #31394b;
  --text: #e9ecf2;
  --soft: #c9cfdb;
  --muted: #9aa3b5;
  --amber: #f0a030;
  --amber-lt: #ffd27a;
  --amber-bg: #332814;
  --blue: #2962cc;
  --blue-cur: #2f6fe0;
  --fT: #1f3a6b;
  --fS: #1f5a48;
  --fD: #7a4315;
  --fX: #2a2f3b;
  --stop: #a52a2a;
  --fim: #3a4152;
  --chord: #f0c070;
  --lyric: #aeb7c8;
  --section: #7da6ff;
  --ok: #9fd7a8;
  --err: #ff8d7a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, Consolas, "SF Mono", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color-scheme: dark; scrollbar-color: var(--line-2) var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; caret-color: var(--amber); }
::selection { background: var(--amber); color: var(--bg); }
::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; border: 3px solid var(--bg); }
a { color: var(--amber); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-lt); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }

/* ── barra superior ── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(18, 20, 26, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--soft); text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav-links a:hover { background: var(--btn); color: var(--text); }
.nav-links .nav-ghost { background: var(--btn); }
.nav-links .nav-cta { margin-left: 4px; background: var(--amber); color: var(--bg); font-weight: 800; }
.nav-links .nav-cta:hover { background: var(--amber-lt); color: var(--bg); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 1px; }

/* ── botões no estilo do app ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; font: 800 1.05rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .08s, background .15s; }
.btn:active { transform: scale(.97); }
.btn-amber { background: var(--amber); color: var(--bg); }
.btn-amber:hover { background: var(--amber-lt); color: var(--bg); }
.btn-gray { background: var(--btn); color: var(--text); }
.btn-gray:hover { background: var(--btn-2); color: var(--text); }
.btn:disabled { cursor: not-allowed; background: var(--btn); color: var(--muted); transform: none; }

/* ── primeira dobra ── */
.hero { padding: 64px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: center; }
h1 { margin: 0 0 22px; font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h1 span { display: block; color: var(--amber); }
.lede { margin: 0 0 30px; color: var(--soft); font-size: 1.15rem; max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.facts li { padding: 7px 12px; border-radius: 10px; background: var(--surface); color: var(--soft); font-size: .92rem; font-weight: 600; }

/* aparelho: réplica funcional do app */
.device { padding: 14px; border-radius: 28px; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 9px #0c0d11, 0 0 0 10px var(--line); display: grid; gap: 8px; font-family: var(--sans); }
.d-keys { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.d-keys span { display: grid; place-items: center; height: 34px; border-radius: 10px; background: var(--btn); font-weight: 600; font-size: 12.5px; }
.d-keys span.on { background: var(--amber); color: var(--bg); }
.d-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.d-seg { display: flex; padding: 2px; border-radius: 10px; background: var(--surface); }
.d-seg b { padding: 7px 11px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.d-seg b.on { background: var(--amber); color: var(--bg); font-weight: 700; }
.d-bpm { display: flex; align-items: center; gap: 4px; }
.d-bpm i { display: grid; place-items: center; width: 38px; height: 36px; border-radius: 10px; background: var(--btn); font-style: normal; font-size: 20px; }
.d-bpm i.tap { width: auto; padding: 0 12px; font-size: 13px; font-weight: 700; }
.d-bpm b { width: 54px; text-align: center; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.d-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.d-tabs span { padding: 8px 14px; border-radius: 10px; background: var(--btn); font-size: 14px; font-weight: 600; opacity: .55; }
.d-tabs span.on { opacity: 1; background: var(--blue); color: #fff; }
.d-pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.d-pad { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 104px; padding: 2px; border: 2px solid transparent; border-radius: 12px; color: var(--text); cursor: pointer; font-family: var(--sans); transition: transform .05s, filter .15s, border-color .15s; }
.d-pad b { font-size: clamp(22px, 3vw, 34px); line-height: 1.04; font-weight: 700; white-space: nowrap; }
.d-pad small { font-size: 11.5px; line-height: 1; opacity: .75; }
.d-pad:active { transform: scale(.96); }
.d-pad[aria-pressed="true"] { border-color: #fff; filter: brightness(1.45); }
.d-pad.nxt:not([aria-pressed="true"]) { border-color: var(--amber-lt); }
.d-pad.nxt:not([aria-pressed="true"])::after { content: "PRÓX ▸"; position: absolute; top: 5px; right: 6px; padding: 1.5px 4.5px; border-radius: 5px; background: var(--amber); color: var(--bg); font-size: 9.5px; font-weight: 800; letter-spacing: .03em; line-height: 1.05; }
.fT { background: var(--fT); } .fS { background: var(--fS); } .fD { background: var(--fD); } .fX { background: var(--fX); }
.d-groove { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface); }
.d-groove-label { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.d-groove-label b { color: var(--amber); font-size: 14px; }
.d-steps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.d-steps i { display: grid; place-items: center; height: 26px; border-radius: 6px; background: var(--btn); }
.d-steps i.hit { background: #3a4152; }
.d-steps i.dn::before, .d-steps i.up::before { content: ""; border-left: 5px solid transparent; border-right: 5px solid transparent; }
.d-steps i.dn::before { border-top: 8px solid var(--text); }
.d-steps i.up::before { border-bottom: 8px solid var(--text); }
.d-steps i.now { background: var(--blue-cur); }
.d-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.d-stop, .d-final { display: grid; place-items: center; height: 48px; border: 0; border-radius: 10px; color: var(--text); font: 700 17px/1 var(--sans); }
.d-stop { background: var(--stop); cursor: pointer; }
.d-final { background: var(--fim); }
.d-note { margin: 2px 4px 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.d-play { margin-left: 6px; padding: 4px 10px; border: 0; border-radius: 8px; background: var(--btn); color: var(--text); font: 700 12.5px/1.4 var(--sans); cursor: pointer; }
.d-play[hidden] { display: none; }

/* ── seções ── */
.zone { padding: 96px 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.zone h2 { margin: 0 0 16px; font-weight: 800; font-size: clamp(2rem, 3.8vw, 3rem); }
.sub { margin: 0 0 16px; color: var(--soft); font-size: 1.12rem; max-width: 62ch; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }

.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); }
.legend .sw { height: 56px; border-radius: 12px; }
.legend b { font-size: 1.1rem; }
.legend p { margin: 2px 0 0; color: var(--soft); }

.instruments { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 64px 0 0; padding: 0; border-top: 1px solid var(--line); }
.instruments li { padding: 22px 24px 0 0; }
.instruments li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.instruments b { display: block; margin-bottom: 6px; font-size: 1.15rem; }
.instruments p { margin: 0; color: var(--soft); }

.shots { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-top: 40px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2); }
.shot-phone img { border-radius: 22px; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; }

.song { padding: 12px 14px 16px; border-radius: 14px; background: var(--surface); }
.song-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); }
.song-head b { font-size: 1.05rem; }
.song-head span { color: var(--muted); font-size: .9rem; }
.cifra { margin: 12px 4px 14px; font: 14.5px/1.5 var(--mono); white-space: pre; overflow-x: auto; color: #d6dce8; }
.cifra .cl { color: var(--chord); font-weight: 700; }
.cifra .ll { color: var(--lyric); }
.cifra .sl { color: var(--section); font-weight: 700; }
.cifra .ck { border-radius: 4px; padding: 0 3px; margin: 0 -3px; }
.cifra .ck.cur { background: var(--blue-cur); color: #fff; box-shadow: 0 0 0 1px #7bb0ff; }
.cifra .ck.nxt { background: var(--amber); color: var(--bg); }
.setlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.setlist li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--btn); font-weight: 600; }
.setlist li em { font-style: normal; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.setlist li.on { background: var(--blue); color: #fff; }
.setlist li.on em { color: #dfe8ff; }

.includes { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; padding: 12px 14px; border-radius: 10px; background: #232836; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; }
.includes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.includes li::before { content: "★"; color: var(--amber); font-size: .95rem; }

.specs { margin: 34px 0 22px; display: grid; }
.specs div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--soft); max-width: 65ch; }
.link { font-weight: 700; }

.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 5px; max-width: 860px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--btn); }
.steps li:first-child { background: var(--blue); }
.steps li:first-child p, .steps li:first-child strong { color: #fff; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--surface); color: var(--amber); font-size: 1.2rem; font-weight: 800; }
.steps li:first-child .n { background: #1d4aa3; color: #fff; }
.steps p { margin: 0; color: var(--soft); }
.steps strong { color: var(--text); }

.faq { max-width: 860px; margin-top: 26px; display: grid; gap: 6px; }
.faq details { border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 20px; font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--soft); max-width: 65ch; }

.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.buy-offer h2 { margin-bottom: 22px; }
.order { padding-top: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plans { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.plan { position: relative; display: grid; gap: 4px; padding: 16px 18px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: background .15s, box-shadow .15s; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { background: var(--amber-bg); box-shadow: inset 0 0 0 2px var(--amber); }
.plan:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 3px; }
.plan:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan-head b { font-size: 1.15rem; }
.plan-head em { padding: 3px 8px; border-radius: 7px; background: var(--amber); color: var(--bg); font-style: normal; font-size: .78rem; font-weight: 800; }
.plan-price { font-size: 2.6rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 1rem; font-weight: 600; color: var(--soft); letter-spacing: 0; }
.plan-note { color: var(--soft); font-size: .95rem; }
.plan:has(input:checked) .plan-note { color: var(--amber-lt); }
.renew-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--blue); color: #fff; }
.renew-note[hidden] { display: none; }
.order { display: grid; gap: 16px; }
.order h2 { margin: 0 0 4px; font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.order label { display: grid; gap: 6px; font-size: .95rem; font-weight: 600; color: var(--soft); }
.order input:not([type=checkbox]) { font: 400 1.05rem/1.4 var(--sans); padding: 13px 14px; border: 0; border-radius: 10px; background: var(--btn); color: var(--text); }
.order input::placeholder { color: var(--muted); }
.order input:focus { outline: 2px solid var(--amber); outline-offset: 0; }
.order input[aria-invalid=true] { outline: 2px solid var(--err); }
.order .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.order .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--amber); }
.order .btn { justify-self: start; }
.msg { margin: 0; min-height: 1.5em; color: var(--err); }
.msg.ok { color: var(--ok); }
.msg.info { color: var(--muted); }

.foot { padding: 36px 0 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.foot .brand { font-size: 1rem; }
.foot p { margin: 0; }

/* ── páginas de texto: confirmação, termos, privacidade, requisitos ── */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { margin: 40px 0 12px; font-size: 1.5rem; }
.doc p, .doc li { color: var(--soft); }
.doc ul, .doc ol { padding-left: 22px; }
.doc strong { color: var(--text); }
.muted { color: var(--muted); }
.eula { white-space: pre-wrap; font: 1rem/1.65 var(--sans); color: var(--soft); }
.eula h2 { color: var(--text); font-size: 1.2rem; margin: 30px 0 6px; }
.state { display: none; } .state.active { display: block; }
.keybox { margin: 26px 0; padding: 18px 20px 20px; border-radius: 16px; background: var(--amber-bg); box-shadow: inset 0 0 0 1px var(--amber); }
.keybox .label { margin: 0 0 6px; color: var(--amber-lt); font-weight: 700; }
.keybox .key { margin: 0 0 14px; font: 700 1.6rem/1.2 var(--mono); letter-spacing: .03em; color: var(--text); word-break: break-all; }
.btn-primary { background: var(--amber); color: var(--bg); }
.btn-primary:hover { background: var(--amber-lt); color: var(--bg); }
.btn-line { background: var(--btn); color: var(--text); }
.callout { margin-top: 30px; padding: 16px 18px; border-radius: 12px; background: var(--surface); }
.callout p { margin: 0; color: var(--soft); }
.spinner { width: 38px; height: 38px; margin: 22px 0; border: 3px solid var(--line-2); border-top-color: var(--amber); border-radius: 50%; animation: gira 1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* ── telas menores ── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .device { max-width: 520px; }
  .two, .buy-grid { grid-template-columns: 1fr; gap: 36px; }
  .instruments { grid-template-columns: repeat(2, 1fr); }
  .instruments li:nth-child(3) { padding-left: 0; border-left: 0; }
  .shots { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .nav-cta { margin: 6px 0 0; text-align: center; }
  .hero { padding: 40px 0 64px; }
  .device { padding: 10px; border-radius: 22px; gap: 6px; }
  .d-keys span { height: 32px; font-size: 13px; }
  .d-pad { height: 84px; }
  .d-pad b { font-size: 22px; }
  .d-groove { grid-template-columns: 1fr; gap: 6px; }
  .zone { padding: 72px 0; }
  .instruments { grid-template-columns: 1fr; }
  .instruments li, .instruments li + li { padding: 20px 0 0; border-left: 0; }
  .shots { grid-template-columns: 1fr; }
  .shot-phone { width: 62%; justify-self: center; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .includes { grid-template-columns: 1fr; }
  .d-keys { grid-template-columns: repeat(6, 1fr); }
  .d-bpm i { width: 34px; height: 34px; }
  .cifra { font-size: 13px; }
}

.launch-note{color:#f0a030;font-weight:700;margin:0 0 20px}.launch-contact{align-self:center}.launch-contact h3{font-size:1.5rem;line-height:1.3}.launch-contact p{max-width:44ch}.launch-contact .muted{color:#9aa3b5;font-size:.875rem;margin-top:20px}
