/* Tokens do design "Engenharia editorial": fundo tinta, tipografia display grande,
   laranja-sinal como acento e uma cor por área de atuação. Todas as versões importam este arquivo. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/shared/fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/shared/fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("/shared/fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-elev: #141418;
  --bg-elev-2: #1b1b21;
  --bg-sunken: #070709;
  --border: #26262e;
  --border-strong: #3a3a45;
  --text: #f1efe9;
  --text-muted: #9a988f;
  --accent: #ff6a2b;
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --accent-contrast: #160600;
  --focus: #8ab4ff;

  --area-1: #5b8cff;
  --area-2: #3ee089;
  --area-3: #ffc53d;
  --area-4: #b18cff;
  --area-5: #ff5c8a;
  --area-6: #3dd6e0;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-sm: 8px; --radius: 12px; --radius-lg: 20px; --radius-xl: 28px;
  --shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 20px 50px -20px rgb(0 0 0 / .7);
  --glow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 20px 60px -15px color-mix(in srgb, var(--accent) 45%, transparent);
  --grain-opacity: .05;

  --dur-fast: 160ms; --dur: 280ms; --dur-slow: 900ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f1ea;
  --bg-elev: #fbfaf6;
  --bg-elev-2: #ffffff;
  --bg-sunken: #ebe7de;
  --border: #dcd6ca;
  --border-strong: #c4bcad;
  --text: #16151a;
  --text-muted: #5f5c55;
  --accent: #d9480f;
  --accent-contrast: #ffffff;
  --focus: #1d4ed8;
  --area-1: #2f5fe0; --area-2: #0f8a4c; --area-3: #a86a00;
  --area-4: #7346d6; --area-5: #c8235a; --area-6: #0a7f88;
  --shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 20px 50px -25px rgb(40 30 10 / .35);
  --grain-opacity: .07;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; }
}
