/* =========================================================
   PAUSE · tokens e base compartilhada
   ========================================================= */
:root {
  --cream: #F5F0E8;
  --cream-2: #EDE5D8;
  --sand: #DFD3C0;
  --ink: #1C221E;
  --ink-2: #4A524C;
  --ink-3: #7A817B;
  --forest: #1F3A2B;
  --forest-2: #2B4C39;
  --night: #101512;
  --night-2: #171E1A;
  --moss: #6E8B68;
  --clay: #C2643A;
  --clay-2: #A9522B;
  --gold: #D9A55B;
  --live: #E5484D;
  --line: rgba(28, 34, 30, .12);
  --line-light: rgba(245, 240, 232, .14);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(16, 21, 18, .35);
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--clay); color: var(--cream); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

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

/* Telas grandes (notebooks grandes e monitores Full HD a 100% de zoom) */
@media (min-width: 1440px) {
  :root { --container: 1340px; }
  body { font-size: 18px; }
  .container { padding: 0 40px; }
  .btn { font-size: 16px; padding: 18px 32px; }
  .btn-lg { font-size: 17px; padding: 22px 40px; }
  .eyebrow { font-size: 13px; }
}
@media (min-width: 1800px) {
  :root { --container: 1520px; }
  body { font-size: 19px; }
}
@media (max-width: 640px) { .container { padding: 0 16px; } body { font-size: 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 27px; letter-spacing: -.03em; line-height: 1; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-img { height: 52px; width: auto; flex: none; }
.logo small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; margin-top: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 12px 30px -12px rgba(194, 100, 58, .8); }
.btn-primary:hover { background: var(--clay-2); }
.btn-ghost { border: 1px solid currentColor; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-lg { padding: 20px 36px; font-size: 16px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay);
}

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(229, 72, 77, .7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .7); }
  70% { box-shadow: 0 0 0 10px rgba(229, 72, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
}

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(194, 100, 58, .15); }
.field.invalid input { border-color: var(--live); }
.field .error { font-size: 12px; color: var(--live); min-height: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Dificuldade: bolinhas "●●●○○ Médio" (área de membros e admin) */
.diff { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.diff-dots { display: inline-flex; gap: 2px; }
.diff-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; }
.diff-dots i.on { opacity: 1; background: var(--gold); }
