/* Tokens e reset — paleta Desafio Primal (sem verde) */
:root {
  --c-black: #000000;
  --c-yellow: #FDD502;
  --c-offwhite: #F5F0EC;
  --c-neutral: #141414;
  --c-muted: #B9B2AC;        /* off-white rebaixado, contraste > 9:1 sobre preto */
  --c-line: rgba(245, 240, 236, 0.16);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  --radius: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --z-screen: 1;
  --z-overlay: 10;
  --z-diag: 100;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--c-black);
  color: var(--c-offwhite);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body { overflow: hidden; overscroll-behavior: none; }

h1, p, ul { margin: 0; }

button { font: inherit; color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--space-5);
  border-radius: var(--radius);
  border: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), opacity 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: 3px; }

.btn--primary { background: var(--c-yellow); color: var(--c-black); }
.btn--ghost {
  background: transparent;
  color: var(--c-offwhite);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 236, 0.35);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
