/* ============================================================
   Ritmo — site (estilo escuro + coral, dinâmica de corrida)
   Paleta alinhada com a app (AppColors).
   ============================================================ */
:root {
  --bg: #0D0D0F;
  --bg-deep: #05070A;
  --card: #1A1D24;
  --card2: #22262F;
  --line: #2C313C;
  --text: #F2F4F8;
  --muted: #9AA3B2;
  --accent: #FF6A3D;   /* coral */
  --accent-ink: #160B06;
  --success: #39D98A;  /* verde */
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---- Header / nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand .rit { color: var(--text); }
.brand .mo { color: var(--accent); }
.brand img { height: 26px; }
nav.links { display: flex; gap: 26px; align-items: center; }
nav.links a { color: var(--muted); font-size: 15px; transition: color .2s; }
nav.links a:hover, nav.links a.active { color: var(--text); }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; padding: 12px 22px; border-radius: 999px; transition: transform .15s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.nav .btn { padding: 9px 18px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -1px; }
.hero .tagline {
  display: inline-block; color: var(--accent); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px; margin-bottom: 18px;
}
.hero p.lead { color: var(--muted); font-size: 19px; max-width: 620px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* pista de corrida animada no fundo do hero */
.track { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.track .lane {
  position: absolute; height: 2px; width: 100%;
  background: repeating-linear-gradient(90deg, var(--line) 0 30px, transparent 30px 60px);
}
.runner {
  position: absolute; font-size: 30px;
  animation: run 7s linear infinite;
}
@keyframes run {
  from { left: -6%; }
  to   { left: 106%; }
}

/* ---- Secções ---- */
section.block { padding: 76px 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
h2.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.5px; margin: 10px 0 14px; }
.section-sub { color: var(--muted); max-width: 640px; font-size: 17px; }

.grid { display: grid; gap: 20px; margin-top: 42px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,106,61,0.12); color: var(--accent); font-size: 22px; margin-bottom: 16px;
}
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* pricing / destaque */
.price-card {
  background: linear-gradient(160deg, var(--card), var(--bg-deep));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
}
.price-card .price { font-size: 42px; font-weight: 800; color: var(--accent); }
.price-card ul { list-style: none; margin: 20px 0; }
.price-card li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--text); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* store badges */
.stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.store {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 20px; background: var(--card);
  font-weight: 600; display: flex; align-items: center; gap: 10px; color: var(--muted);
}

/* CTA final */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; }

/* ---- Footer ---- */
footer.site {
  border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14px;
}
footer.site .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  nav.links { display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); padding: 16px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  nav.links.open { display: flex; }
  .menu-toggle { display: block; }
}

/* Páginas legais (privacidade / termos) */
.legal{color:var(--text);line-height:1.7;margin-top:8px}
.legal h3{margin:28px 0 8px;font-size:19px}
.legal p{margin:0 0 12px;color:var(--muted)}
.legal p strong{color:var(--text)}
