/* Astro Player — site público (estático). Cores de brand/brand.json; espaçamento em escala de 8 px. */
:root {
  /* marca (brand.json) */
  --accent: #6366F1;
  --accent-600: #4F46E5;
  --accent-400: #8B5CF6;
  --space-900: #05070F;
  --space-800: #0B1020;
  /* derivados */
  --bg: var(--space-900);
  --bg-2: var(--space-800);
  --card: #0F1530;
  --line: #1F2750;
  --text: #EEF0FA;
  --muted: #A7AED0;
  --ok: #34D399;
  --soon: #FBBF24;
  --direct: #60A5FA;
  --test: #C4B5FD;
  /* escala de 8 px */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;
  --radius: 16px;
  --max: 1120px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); }
a { color: #A5B4FC; }
a:hover { color: #C7D2FE; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--s3); padding-right: var(--s3); }
@media (max-width: 480px) { .wrap { padding-left: var(--s2); padding-right: var(--s2); } }

/* ── topo ─────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5, 7, 15, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 64px; }
.brand { display: flex; align-items: center; gap: var(--s1); color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a.nav-cta { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px var(--s2); }
.nav a.nav-cta:hover { border-color: var(--accent); }
@media (max-width: 720px) { .nav .nav-sec { display: none; } .nav { gap: var(--s2); } }
.brand { white-space: nowrap; }
@media (max-width: 420px) { .nav .nav-opt { display: none; } }

/* ── botões ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 48px; padding: 0 var(--s3); border-radius: 12px; font: 600 16px var(--font); text-decoration: none; color: #fff; background: linear-gradient(135deg, #7C3AED, var(--accent-600)); border: 0; cursor: pointer; } /* contraste branco ≥ 5,7:1 nas duas pontas */
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn-2 { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); }
.btn-2:hover { background: rgba(255, 255, 255, .12); }
.btn[disabled], .btn[aria-disabled="true"] { background: rgba(255, 255, 255, .08); color: var(--muted); border: 1px dashed rgba(255, 255, 255, .25); cursor: default; filter: none; }

/* ── 1. abertura em tela cheia ────────────────────────── */
.hero { position: relative; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 15, 0) 22%, rgba(5, 7, 15, .6) 48%, rgba(5, 7, 15, .9) 74%, var(--bg) 100%); }
.hero-body { position: relative; z-index: 1; width: 100%; padding-top: var(--s12); padding-bottom: var(--s10); text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #C7D2FE; margin-bottom: var(--s2); }
.hero h1 { font-size: clamp(44px, 9vw, 88px); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(5, 7, 15, .6); }
.hero h1 span { background: linear-gradient(90deg, #A78BFA, #818CF8); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hero-lead { font-size: clamp(18px, 2.4vw, 24px); color: #E0E4FA; max-width: 640px; margin: var(--s2) auto var(--s4); }
.cta { display: flex; justify-content: center; gap: var(--s2); flex-wrap: wrap; }
@media (max-width: 720px) { .hero-body { padding-bottom: var(--s6); } .hero-img img { object-position: 68% 28%; } }

/* ── seções ───────────────────────────────────────────── */
.section { padding-top: var(--s12); padding-bottom: var(--s12); }
@media (max-width: 720px) { .section { padding-top: var(--s8); padding-bottom: var(--s8); } }
.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-400); margin-bottom: var(--s1); }
.section h2, .band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: var(--s2); font-size: 18px; }

/* ── 2. faixa "Disponível em" ─────────────────────────── */
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: var(--s10); padding-bottom: var(--s10); }
@media (max-width: 720px) { .band { padding-top: var(--s8); padding-bottom: var(--s8); } }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
@media (max-width: 480px) { .stores { gap: var(--s1); } .stores .store { width: calc(50% - 4px); } }
.store { width: 196px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: var(--s2); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3) var(--s2); text-align: center; }
.store-mark { height: 72px; width: 100%; display: flex; align-items: center; justify-content: center; }
/* selo e logo oficiais: arquivo original, sem recolorir nem distorcer; só escala proporcional */
.store-mark img { max-height: 56px; max-width: 100%; width: auto; height: auto; }
.store-mark a { line-height: 0; display: block; } /* respiro do selo = padding do cartão (16 px ≥ 1/4 da altura) */
.store-mark-logo { flex-direction: column; gap: 6px; }
.store-mark-logo img { max-height: 36px; } /* menor que o selo do Google Play (regra do Google) */
.store-mark-logo small { font-size: 13px; color: var(--muted); }
.store-name { font-size: 19px; font-weight: 700; line-height: 1.25; }
.store-name small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.status { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); }
.status.direct { color: var(--direct); }
.status.test { color: var(--test); }
.status.soon { color: var(--soon); }
.badge-slot { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 56px; padding: 0 var(--s2); border: 1px dashed var(--soon); border-radius: 8px; color: var(--soon); font-size: 12px; line-height: 1.3; }
.band-foot { text-align: center; margin-top: var(--s5); }
.band-foot a { font-weight: 600; text-decoration: none; }

/* ── 3. recursos (3 colunas → 1) ──────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; gap: var(--s2); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.card h3 { font-size: 20px; font-weight: 700; margin: var(--s2) 0 var(--s1); }
.card p { color: var(--muted); font-size: 16px; }
.ico { width: 32px; height: 32px; fill: none; stroke: var(--accent-400); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-wrap { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(99, 102, 241, .12); border: 1px solid rgba(139, 92, 246, .28); }

/* ── 4. painel ────────────────────────────────────────── */
.band-soft { background: linear-gradient(180deg, var(--bg) 0%, #0A0E1F 50%, var(--bg) 100%); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s8); align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: var(--s5); } }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.feat-list li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s2); align-items: start; }
.feat-list h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.feat-list p { color: var(--muted); font-size: 16px; }
.illus { margin: 0; }
.illus img { display: block; width: 100%; border-radius: 20px; border: 1px solid var(--line); }
.illus figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: var(--s1); }

/* ── 5. chamada de revendedor ─────────────────────────── */
.cta-band { background: radial-gradient(900px 400px at 20% 0%, rgba(139, 92, 246, .28), transparent 70%), linear-gradient(135deg, #14123A, #0B1020); border: 1px solid rgba(139, 92, 246, .35); border-radius: 24px; padding: var(--s8); display: grid; grid-template-columns: 240px 1fr; gap: var(--s6); align-items: center; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: var(--s5) var(--s3); gap: var(--s4); text-align: center; } .cta-band .cta-img { margin: 0 auto; } .cta-band .checks { display: inline-block; text-align: left; } .cta-actions { justify-content: center; } }
.cta-img { width: 240px; max-width: 70%; aspect-ratio: 1; border-radius: 22%; overflow: hidden; box-shadow: 0 24px 60px rgba(79, 70, 229, .45); }
.cta-img img { display: block; width: 100%; height: 100%; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta-band p { color: #D6DBF5; margin-top: var(--s2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: var(--s1); }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.cta-actions .fine { color: var(--muted); font-size: 15px; }

/* ── páginas de texto (instalar, privacidade, termos, suporte) ─ */
.doc { max-width: 800px; padding-top: var(--s6); padding-bottom: var(--s8); }
.doc h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 800; margin-bottom: var(--s1); }
.doc h2 { margin-top: var(--s5); margin-bottom: var(--s1); font-size: 22px; }
.doc h3 { margin-top: var(--s3); margin-bottom: var(--s1); font-size: 18px; }
.doc p { margin-bottom: var(--s2); }
.doc .meta { color: var(--muted); margin-bottom: var(--s4); }
.doc li { margin: var(--s1) 0; }
.doc ol.steps { padding-left: var(--s3); }
.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: var(--s2) var(--s3); color: var(--muted); margin: var(--s3) 0; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: var(--s2) var(--s3); margin-bottom: var(--s4); }
.toc a { text-decoration: none; }
.lang { float: right; font-size: 14px; }
code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.em-breve { color: var(--soon); font-weight: 600; }

/* ── rodapé ───────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; background: var(--bg); }
.foot .wrap { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-top: var(--s6); padding-bottom: var(--s6); }
.foot nav { display: flex; gap: var(--s2) var(--s3); flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot-cols { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s6); }
@media (max-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: var(--s4); } }
.foot-cols h4 { margin: 0 0 var(--s1); color: var(--text); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); }
.foot-brand p { margin-top: var(--s1); max-width: 320px; }

/* acessibilidade: foco visível */
a:focus-visible, .btn:focus-visible { outline: 2px solid #A5B4FC; outline-offset: 3px; }
