/* tokens.css — brand design tokens shared with the Zero ao Cubo ecosystem.
   Always use these variables, never raw hex. See CLAUDE.md (Identidade Visual). */

:root {
  /* Brand */
  --color-pink: #FF2D6E;            /* energy, CTA, brand signal */
  --color-pink-deep: #D11857;       /* closed pink for buttons (white text passes AA) */
  --color-pink-glow: rgba(255, 45, 110, 0.4);
  --color-bg-dark: #161413;         /* default dark background */
  --color-bg-paper: #F6F2E9;        /* cream background */
  --color-ink: rgba(255, 255, 255, 0.88);
  --color-ink-dim: rgba(255, 255, 255, 0.5);

  /* Derived surfaces (dark theme) */
  --color-surface: #1e1b19;
  --color-surface-2: #272320;
  --color-line: rgba(255, 255, 255, 0.10);
  --color-line-strong: rgba(255, 255, 255, 0.20);
  --color-success: #3ddc84;

  /* Fonts */
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bangers", var(--font-body);   /* stand-in until LINT MCCREE BB */
  --font-hand: "Caveat", "Segoe Script", cursive;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadow / glow */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, 0.5);
  --glow-pink: 0 0 0 3px var(--color-pink-glow), 0 10px 34px rgba(255, 45, 110, 0.32);

  /* Motion */
  --t-fast: 120ms ease;
  --t: 200ms ease;
  --t-slow: 380ms cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Theme-aware (mudam no modo claro) */
  --color-heading: #ffffff;
  --grid-line: rgba(255, 255, 255, 0.028);

  /* Layout */
  --maxw: 580px;
}

/* ---------------------------------------------------------- Modo claro */
html[data-theme="light"] {
  --color-bg-dark: #f6f2e9;
  --color-surface: #ffffff;
  --color-surface-2: #efe9db;
  --color-line: rgba(24, 20, 18, 0.12);
  --color-line-strong: rgba(24, 20, 18, 0.24);
  --color-ink: rgba(26, 22, 20, 0.92);
  --color-ink-dim: rgba(26, 22, 20, 0.55);
  --color-heading: #1b1714;
  --grid-line: rgba(24, 20, 18, 0.05);
}
