/* Clube Coins — vidro estilo Apple para os sites públicos (clube-page e clube-docs). 08/11/2026.
   Fundo neutro (sem aurora colorida); a cor vem só da marca (violeta) e da moeda (âmbar), com parcimônia.
   Sem build e sem dependências: Inter (Google Fonts) + este arquivo. */

:root {
  --bg: #f5f5f7;
  --ink: #1d1d1f; --ink-2: #424245; --ink-3: #6e6e73;
  --line: rgba(0, 0, 0, .08); --line-2: rgba(0, 0, 0, .05);
  --accent: #5b5bd6; --accent-ink: #3f3fb8; --accent-wash: rgba(91, 91, 214, .09);
  --coin: #f6b93b; --ok: #1d9a5b;
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-edge: rgba(255, 255, 255, .85);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -12px rgba(0, 0, 0, .12);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .04), 0 30px 60px -24px rgba(0, 0, 0, .22);
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--ink);
  background: radial-gradient(90vw 70vh at 50% -20%, #fff 0%, rgba(255, 255, 255, 0) 70%), var(--bg);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(91, 91, 214, .55); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ── Vidro ── */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-1);
  border-radius: var(--r-lg);
}
.glass-strong { background: var(--glass-strong); }
.card { padding: 24px; }
@media (min-width: 720px) { .card { padding: 32px; } }

/* ── Topo: pílula de vidro flutuante ── */
.top { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; }
.top .bar { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.top nav a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.top nav a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-1); }
.top .hide-sm { display: none; }
@media (min-width: 860px) { .top .hide-sm { display: inline-flex; } }
/* Rótulo longo/curto conforme a largura (topo no celular). */
.xs { display: none; }
@media (max-width: 560px) { .xs { display: inline; } .no-xs { display: none; } .top .bar { padding-left: 12px; } .top nav a { padding: 0 10px; } }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0; cursor: pointer; font: 600 15px/1 Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: transform .45s var(--spring), box-shadow .25s, background .2s; touch-action: manipulation;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .55); }
.btn-primary:hover { background: #000; }
.btn-glass { background: rgba(255, 255, 255, .72); color: var(--ink); box-shadow: inset 0 1px 0 #fff, var(--shadow-1); }
.btn-glass:hover { background: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ── Tipografia ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--ink-3); }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -.025em; line-height: 1.08; }
.display { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.title { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; letter-spacing: -.035em; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
code, kbd { font: 500 .9em "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--accent-wash); padding: .12em .4em; border-radius: 6px; }

/* ── Seções ── */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 18px; }

/* ── Celular (moldura) ── */
.phone {
  position: relative; width: 300px; aspect-ratio: 390 / 844; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2a2a2e, #0c0c0e); box-shadow: var(--shadow-2), inset 0 0 0 1.5px #3a3a3f;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #fff; }
.phone .screen img, .phone .screen iframe { width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; }

/* ── Janela do navegador (painel) ── */
.window { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2), 0 0 0 1px var(--line); }
.window .chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f2f2f4; border-bottom: 1px solid var(--line); }
.window .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #d6d6da; }
.window .chrome span { margin-left: 10px; font-size: 12.5px; color: var(--ink-3); background: #fff; border-radius: 8px; padding: 3px 12px; }
.window img { width: 100%; height: auto; }

/* ── Lista de abas (segmented) ── */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .05); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 14px Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-1); }

/* ── Rodapé ── */
.foot { padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; }
.foot .row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ── Entrada suave (respeita reduzir movimento) ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .seg button { transition: none; }
}
