/* Sabiáfina — tema espelhando o app (dark, Baloo 2, verde/laranja) */
:root {
  --bg: #15110d;
  --bg-2: #211a14;
  --card: #2b2219;
  --fg: #fef9c3;
  --muted: #9a8b79;
  --border: #3a2e22;
  --primary: #22c55e;       /* afinado */
  --primary-fg: #15110d;
  --green-light: #86efac;
  --green-dark: #14532d;
  --orange: #fb923c;
  --orange-deep: #ea580c;   /* desafinado */
  --amber: #fbbf24;         /* perto */
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(21, 17, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.25rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { color: var(--fg); }
.brand b { color: var(--primary); }
.nav-link { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-link:hover { color: var(--fg); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(34, 197, 94, 0.18), transparent 70%),
    var(--bg);
}
.hero-logo { width: 116px; height: 116px; margin-bottom: 18px; border-radius: 28px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.5px;
}
.hero h1 b { color: var(--primary); }
.hero p.tagline {
  margin: 16px auto 0; max-width: 620px;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--muted);
}

/* Mostrador de afinação (gauge) */
.gauge { display: flex; gap: 8px; justify-content: center; align-items: flex-end; margin: 30px 0 6px; }
.gauge .tick {
  width: 8px; border-radius: 999px; opacity: .55;
  background: var(--orange-deep);
}
.gauge .tick.t1 { height: 26px; }
.gauge .tick.t2 { height: 38px; background: var(--amber); }
.gauge .tick.t3 { height: 56px; background: var(--primary); opacity: 1; box-shadow: 0 0 18px rgba(34,197,94,.6); }
.gauge .tick.t4 { height: 38px; background: var(--amber); }
.gauge .tick.t5 { height: 26px; }
.note-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(34,197,94,.14); border: 1px solid var(--primary);
  color: var(--primary); font-weight: 600; font-size: 1.05rem;
}

/* CTA */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--fg); font-weight: 500; cursor: not-allowed; opacity: .85;
  position: relative;
}
.store-btn:hover { text-decoration: none; }
.store-btn svg { width: 24px; height: 24px; }
.store-btn small { display: block; font-size: .7rem; color: var(--muted); line-height: 1; }
.store-btn strong { font-size: 1.05rem; line-height: 1.15; }
.store-btn .soon {
  position: absolute; top: -10px; right: -8px;
  background: var(--primary); color: var(--primary-fg);
  font-size: .65rem; font-weight: 600; padding: 2px 8px; border-radius: 999px;
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title { text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; }
.section-sub { text-align: center; color: var(--muted); margin: 10px auto 0; max-width: 560px; }

.features {
  margin-top: 44px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  transition: transform .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(34, 197, 94, 0.14); margin-bottom: 14px;
}
.feature h3 { font-size: 1.2rem; font-weight: 600; }
.feature p { color: var(--muted); margin-top: 6px; font-size: .98rem; }

/* CTA band */
.band {
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(251,191,36,.08));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted); font-size: .92rem;
}
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.site-footer .foot-brand { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; }
.site-footer .foot-brand img { width: 28px; height: 28px; border-radius: 8px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--primary); }

/* ---------- Legal page ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 700; }
.legal .updated { color: var(--muted); margin-top: 6px; margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; font-weight: 600; margin: 36px 0 10px; color: var(--primary); }
.legal h3 { font-size: 1.12rem; font-weight: 600; margin: 22px 0 8px; }
.legal p { color: #efe9d2; margin: 10px 0; }
.legal ul { margin: 10px 0 10px 22px; color: #efe9d2; }
.legal li { margin: 6px 0; }
.legal ol { margin: 10px 0 10px 22px; color: #efe9d2; }
.legal ol li { margin: 12px 0; }
.legal a { color: var(--primary); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--muted); font-weight: 500; }

@media (max-width: 560px) {
  section { padding: 48px 0; }
}
