/* Design system do Prolux: neutros + um único acento laranja (o sol da marca) */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/vendor/inter.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/vendor/inter-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/vendor/jetbrains-mono.woff2') format('woff2-variations');
}

:root {
  color-scheme: light;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --page: #fafafa;
  --surface: #ffffff;
  --surface-sunken: #f5f5f5;
  --surface-hover: #f5f5f5;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;

  --text: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #8a8a8a;

  --brand: #f2600c;
  --brand-hover: #d9530a;
  --brand-soft: #fff1e8;
  --brand-text: #c2410c;
  --on-brand: #ffffff;

  --primary: #0a0a0a;
  --primary-hover: #262626;
  --on-primary: #ffffff;

  --success: #16a34a;
  --success-soft: #dcfce7;
  --warning: #d97706;
  --warning-soft: #fef3c7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --info: #2563eb;
  --info-soft: #dbeafe;

  --code-bg: #0f172a;
  --code-text: #e2e8f0;

  --chart-1: #f2600c;
  --chart-2: #2563eb;
  --chart-3: #16a34a;
  --chart-4: #9333ea;
  --chart-grid: #ececec;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 16px rgb(0 0 0 / 0.08), 0 1px 3px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 24px 64px rgb(0 0 0 / 0.18), 0 4px 12px rgb(0 0 0 / 0.08);
  --focus: 0 0 0 3px rgb(242 96 12 / 0.25);

  --header-h: 64px;
  --content-w: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --page: #0a0a0a;
    --surface: #141414;
    --surface-sunken: #0f0f0f;
    --surface-hover: #1c1c1c;
    --border: #262626;
    --border-strong: #363636;

    --text: #fafafa;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;

    --brand-soft: #2a1407;
    --brand-text: #fb923c;

    --primary: #fafafa;
    --primary-hover: #e5e5e5;
    --on-primary: #0a0a0a;

    --success: #22c55e;
    --success-soft: #0f2a19;
    --warning: #f59e0b;
    --warning-soft: #2b1f06;
    --danger: #ef4444;
    --danger-soft: #2c1010;
    --info: #60a5fa;
    --info-soft: #0f1d33;

    --code-bg: #0b0b0b;
    --chart-grid: #222222;
    --shadow-md: 0 4px 16px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 24px 64px rgb(0 0 0 / 0.6);
  }
}
