/* Decoraokê, landing page.
   Layout: faixas escuras de largura total; o herói mostra o refrão acendendo como karaokê,
   e cada matéria usa a cor que tem no app. Visual único escuro, igual ao app. */
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("fonts/Manrope_600SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/Manrope_700Bold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/Manrope_800ExtraBold.woff2") format("woff2"); }

:root {
  --ink: #101214;
  --surface: #1b1e22;
  --raised: #25292f;
  --line: #343a42;
  --text: #f5f7f3;
  --muted: #a7aeb8;
  --lime: #d7fa60;
  --lilac: #b9a2ff;
  --green: #7bd7ac;
  --pink: #f9a5c3;
  --orange: #f5b67b;
  --blue: #89bdf8;
  --on-color: #101214;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.1rem, 4.6vw, 3.1rem);
  --step-4: clamp(2.6rem, 7vw, 4.6rem);
  --radius: 22px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font); font-weight: 600; font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(64px, 9vw, 112px); }
.band + .band { border-top: 1px solid var(--line); }
.eyebrow { font-size: var(--step--1); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.lead { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 34ch; }
.section-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); max-width: 56ch; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--on-color); }
.btn-ghost { background: var(--raised); color: var(--text); }
.btn-ghost:hover { background: var(--line); }
.btn small { font-weight: 600; opacity: .7; }

/* Topo */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 20px; color: var(--on-color); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Herói */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.hero h1 .hl { color: var(--lime); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.fine { color: var(--muted); font-size: var(--step--1); }

/* Cartão de karaokê */
.karaoke { margin: 0; background: var(--lilac); color: var(--on-color); border-radius: 28px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 18px; position: relative; overflow: hidden; min-width: 0; }
.karaoke::after { content: ""; position: absolute; right: -130px; bottom: -150px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(16,18,20,.25); box-shadow: 0 0 0 22px transparent, 0 0 0 24px rgba(16,18,20,.18), 0 0 0 46px transparent, 0 0 0 48px rgba(16,18,20,.12); pointer-events: none; }
.k-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--step--1); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.k-title { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.k-label { font-size: var(--step--1); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.lyric { display: grid; gap: 4px; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; line-height: 1.3; position: relative; z-index: 1; }
.lyric .w { transition: color .18s ease, opacity .18s ease; }
.lyric.playing .w { opacity: .42; }
.lyric.playing .w.on { opacity: 1; }
.k-bar { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.k-play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: var(--lime); display: grid; place-items: center; cursor: pointer; flex: none; }
.k-play svg { width: 20px; height: 20px; }
.k-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(16,18,20,.2); overflow: hidden; }
.k-fill { height: 100%; width: 0; background: var(--ink); border-radius: 3px; }
.k-note { font-size: var(--step--1); opacity: .75; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--line); min-width: 0; }
.steps li::before { counter-increment: s; content: counter(s); font-weight: 800; color: var(--lime); font-size: var(--step-2); line-height: 1; }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); }

/* Matérias */
.subjects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .subjects { grid-template-columns: minmax(0, 1fr); } }
.subject { border-radius: var(--radius); padding: 22px; color: var(--on-color); display: grid; gap: 30px; min-height: 172px; align-content: space-between; min-width: 0; }
.subject .s-name { font-size: var(--step--1); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.subject .s-song { font-size: var(--step-2); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.subject .s-hook { font-size: var(--step--1); opacity: .75; }
.c-green { background: var(--green); } .c-lilac { background: var(--lilac); } .c-blue { background: var(--blue); }
.c-pink { background: var(--pink); } .c-orange { background: var(--orange); } .c-lime { background: var(--lime); }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.plan.best { border: 2px solid var(--lime); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-name { font-weight: 800; font-size: var(--step-1); }
.badge { background: var(--lime); color: var(--on-color); font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.price { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: var(--step-0); color: var(--muted); font-weight: 700; letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: var(--step--1); min-height: 1.6em; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23d7fa60' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.plan .btn { width: 100%; margin-top: auto; }
.plans-note { margin-top: 22px; color: var(--muted); font-size: var(--step--1); max-width: 70ch; }

/* Segurança */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.trust-item { padding: 24px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 8px; min-width: 0; }
.trust-item h3 { font-size: var(--step-1); }
.trust-item p { color: var(--muted); }

/* Perguntas */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 65ch; }

/* Lista de espera */
.download { background: var(--lime); color: var(--on-color); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
@media (max-width: 860px) { .download { grid-template-columns: minmax(0, 1fr); } }
.download h2 { font-size: var(--step-3); }
.download p { margin-top: 12px; max-width: 42ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: var(--text); text-decoration: none; font-weight: 800; font-size: var(--step-1); line-height: 1.1; transition: transform .15s ease; }
.store:hover { transform: translateY(-1px); }
.store:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .62em; font-weight: 700; opacity: .8; }

/* Rodapé */
.footer { padding-block: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Páginas legais */
.legal { max-width: 760px; padding-block: 56px 80px; }
.legal h1 { font-size: var(--step-3); margin-bottom: 8px; }
.legal h2 { font-size: var(--step-1); margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal .note { background: var(--raised); border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 10px; color: var(--text); margin: 18px 0 8px; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .tbl { overflow-x: auto; }
.samples{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.sample{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:grid;gap:14px;align-content:start}
.sample.playing{border-color:var(--sc)}
.sample-head{display:flex;align-items:center;gap:14px}
.sample-play{flex:none;width:52px;height:52px;border-radius:999px;border:0;background:var(--sc);color:var(--on-color);display:grid;place-items:center;cursor:pointer;transition:transform .15s ease}
.sample-play:hover{transform:scale(1.05)}
.sample-play:focus-visible{outline:3px solid var(--text);outline-offset:3px}
.sample-play svg{width:22px;height:22px}
.sample-meta{min-width:0}
.sample-subject{font-size:var(--step--1);font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sc)}
.sample-title{font-weight:800;font-size:var(--step-1);line-height:1.2}
.sample-track{height:4px;border-radius:4px;background:var(--raised);overflow:hidden}
.sample-fill{height:100%;width:0;background:var(--sc)}
.sample-lyric{display:grid;gap:4px;font-weight:700;line-height:1.35;min-height:9.5em}
.sample-lyric .ln{color:var(--muted);transition:color .2s ease}
.sample-lyric .ln.now{color:var(--text)}
.sample-lyric .w{transition:color .12s ease}
.sample-lyric .w.on{color:var(--sc)}
.samples-cta{justify-content:center;margin-top:28px}
.sample.c-pink{--sc:var(--pink)}.sample.c-orange{--sc:var(--orange)}.sample.c-blue{--sc:var(--blue)}.sample.c-lime{--sc:var(--lime)}.sample.c-green{--sc:var(--green)}.sample.c-lilac{--sc:var(--lilac)}
@media (prefers-reduced-motion:reduce){.sample-lyric .w,.sample-lyric .ln,.sample-play{transition:none}}
