/* Faiskô — tokens gerados de tokens.json. Tema: claro por padrão; escuro com [data-theme="dark"] ou preferência do sistema. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('./fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('./fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('./fonts/figtree-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('./fonts/figtree-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('./fonts/figtree-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('./fonts/figtree-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root, [data-theme="light"] {
  --surface-100: #fff6f0;
  --surface-200: #fcebdf;
  --surface-0: #ffffff;
  --line: #f3dccb;
  --line-strong: #8f7f74;
  --ink: #2b1b14;
  --ink-muted: #6b5a50;
  --faisca: #f95512;
  --faisca-forte: #d63e00;
  --on-faisca: #ffffff;
  --faisca-texto: #c22e00;
  --faisca-suave: #ffe0cf;
  --brasa: #ffc21a;
  --on-brasa: #2b1b14;
  --sucesso: #1f7a4d;
  --on-sucesso: #ffffff;
  --erro: #b3261e;
  --focus: #2b1b14;
  --shadow-card: 0 1px 2px rgba(43,27,20,0.06), 0 8px 24px rgba(43,27,20,0.08);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: Figtree, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --surface-100: #1a110d;
  --surface-200: #24170f;
  --surface-0: #2c1d15;
  --line: #3d2a1f;
  --line-strong: #8a7365;
  --ink: #fff6f0;
  --ink-muted: #c2afa4;
  --faisca: #ff6420;
  --faisca-forte: #ff6b3d;
  --on-faisca: #2b1b14;
  --faisca-texto: #ff8a63;
  --faisca-suave: #4a2516;
  --brasa: #ffc21a;
  --on-brasa: #2b1b14;
  --sucesso: #5cc08a;
  --on-sucesso: #2b1b14;
  --erro: #ff8a7a;
  --focus: #ffc21a;
  --shadow-card: 0 8px 24px rgba(0,0,0,0.4);
  }
}
[data-theme="dark"] {
  --surface-100: #1a110d;
  --surface-200: #24170f;
  --surface-0: #2c1d15;
  --line: #3d2a1f;
  --line-strong: #8a7365;
  --ink: #fff6f0;
  --ink-muted: #c2afa4;
  --faisca: #ff6420;
  --faisca-forte: #ff6b3d;
  --on-faisca: #2b1b14;
  --faisca-texto: #ff8a63;
  --faisca-suave: #4a2516;
  --brasa: #ffc21a;
  --on-brasa: #2b1b14;
  --sucesso: #5cc08a;
  --on-sucesso: #2b1b14;
  --erro: #ff8a7a;
  --focus: #ffc21a;
  --shadow-card: 0 8px 24px rgba(0,0,0,0.4);
}

/* Estilos de texto */
.display-xl { font-family: var(--font-display); font-size: 56px; line-height: 56px; font-weight: 800; letter-spacing: -0.02em; }
.display-l { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.02em; }
.title-1 { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; }
.title-2 { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; }
.body-l { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
.label { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 700; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 500; }
