/* =============================================================================
   Criative Links · Design tokens
   Fonte da verdade: Criative Design System (designsystem.html / tokens.css oficial).
   Tema padrao: dark. Light via [data-theme="light"] no <html>.
   Nao inventar cores, raios ou fontes fora desta lista.
   ============================================================================= */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
}

:root {
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --text-display: 24px;
  --leading-display: 32px;
  --text-title: 18px;
  --leading-title: 28px;
  --text-body: 14px;
  --leading-body: 20px;
  --text-label: 12px;
  --leading-label: 20px;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 10px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;

  --chart-1: oklch(80.8% 0.114 19.6);
  --chart-2: #fb2c36;
  --chart-3: oklch(57.7% 0.245 27.3);
  --chart-4: oklch(50.5% 0.213 27.5);
  --chart-5: #9f0712;

  --ok: #22c55e;
}

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --background: #0c090c;
  --surface: #0c090c;
  --card: #1d161e;
  --foreground: #fafafa;
  --muted-foreground: #a89ea9;
  --primary: #9f0712;
  --primary-foreground: #fef2f2;
  --secondary: #27272a;
  --secondary-foreground: #fafafa;
  --muted: #2a212c;
  --accent: #2a212c;
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.043);
  --input-border: rgba(255, 255, 255, 0.15);
  --ring: rgba(250, 250, 250, 0.14);
  --link: #fb2c36;
  --shadow-pop: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-dialog: 0 20px 50px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] {
  color-scheme: light;
  --background: #ffffff;
  --surface: #f3f1f3;
  --card: #ffffff;
  --foreground: #0c090c;
  --muted-foreground: #79697b;
  --primary: oklch(50.5% 0.213 27.5);
  --primary-foreground: #fef2f2;
  --secondary: #f4f4f5;
  --secondary-foreground: #0c090c;
  --muted: #f3f1f3;
  --accent: #f3f1f3;
  --border: #e7e4e7;
  --input: #ffffff;
  --input-border: #e7e4e7;
  --ring: rgba(12, 9, 12, 0.14);
  --link: oklch(50.5% 0.213 27.5);
  --shadow-pop: 0 10px 30px rgba(12, 9, 12, 0.1);
  --shadow-dialog: 0 20px 50px rgba(12, 9, 12, 0.18);
}
