:root {
  --bg: #0b0d10;
  --surface: #14181d;
  --text: #e8edf2;
  --muted: #9aa6b2;
  --accent: #00e08a;
  --border: #232a31;
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand span { color: var(--accent); }

nav a {
  color: var(--muted);
  font-size: 14px;
  margin-left: 18px;
}
nav a:hover { color: var(--text); text-decoration: none; }

.legal h1 {
  font-size: clamp(26px, 5vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 20px;
  margin: 36px 0 10px;
  letter-spacing: -0.01em;
}
.legal p, .legal li { color: #cdd6df; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
}

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
footer.site .wrap {
  padding: 28px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }

.backlink {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

/* ===== Landing ===== */
.section { max-width: 1040px; margin: 0 auto; padding: 72px 20px; }
.section-title { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.02em; text-align: center; margin: 0 0 8px; }

/* Hero */
.hero {
  display: grid; gap: 40px; align-items: center;
  max-width: 1040px; margin: 0 auto; padding: 56px 20px 24px;
  text-align: left;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; }
.hero p { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 460px; margin: 0 0 28px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr .9fr; padding-top: 80px; } }

/* Store badges (rótulo "em breve", não clicáveis) */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 16px; cursor: default; opacity: .9;
}
.store-badge svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge-text small { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.store-badge-text strong { color: var(--text); font-size: 15px; }

/* Phone mockup (CSS puro) */
.phone {
  width: 100%; max-width: 280px; aspect-ratio: 9 / 19.5; margin: 0 auto;
  background: #05070a; border: 1px solid var(--border); border-radius: 36px;
  padding: 12px; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 0 2px #1a2026;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 36%; height: 20px; background: #05070a; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { height: 100%; background: var(--bg); border-radius: 26px; padding: 28px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.app-greeting { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.app-card-label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.app-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.app-bars span { flex: 1; background: linear-gradient(180deg, var(--accent), #0b8f5a); border-radius: 3px; }
.app-exercise { display: flex; justify-content: space-between; align-items: center; }
.app-ex-name { font-size: 13px; font-weight: 600; }
.app-ex-meta { font-size: 12px; color: var(--muted); }
.app-pr { align-self: flex-start; background: rgba(0,224,138,.12); color: var(--accent); border: 1px solid rgba(0,224,138,.3); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.phone.phone-lg { max-width: 320px; }

/* Steps */
.steps { display: grid; gap: 20px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: rgba(0,224,138,.12); color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Features */
.features { display: grid; gap: 20px; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.feat-icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* Showcase band */
.showcase { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.showcase .inner { max-width: 1040px; margin: 0 auto; padding: 72px 20px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .showcase .inner { grid-template-columns: .9fr 1.1fr; } }
.showcase h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.02em; margin: 0; }

/* FAQ */
.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(26px, 4.5vw, 38px); letter-spacing: -.02em; margin: 0 0 10px; }
.cta-final p { color: var(--muted); margin: 0 0 28px; }
.cta-final .store-badges { justify-content: center; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
