/**
 * tokens.css — Variables CSS globales OMNI + Reset
 * Design system complet: couleurs, typographie, espacement
 */

/* ─── IMPORTS GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200;300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  /* Couleurs de fond */
  --bg-primary: #000000;
  --bg-secondary: #0a0804;
  --bg-tertiary: #111008;
  --bg-card: rgba(17, 16, 8, 0.6);

  /* Bordures */
  --border: rgba(255, 140, 0, 0.12);
  --border-hover: rgba(255, 140, 0, 0.3);
  --border-active: rgba(255, 140, 0, 0.5);

  /* Texte */
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Accent orange OMNI */
  --accent: #FF8C00;
  --accent-secondary: #CC6600;
  --accent-glow: rgba(255, 140, 0, 0.15);
  --accent-glow-strong: rgba(255, 140, 0, 0.3);

  /* États sémantiques */
  --success: #FF8C00;
  --warning: #fbbf24;
  --danger: #f87171;

  /* Surfaces verre */
  --glass-bg: rgba(17, 16, 8, 0.4);
  --glass-border: rgba(255, 140, 0, 0.08);
  --surface: #111008;
  --surface-elevated: #1a1810;

  /* Couleur accentuation secondaire */
  --cyan: #22d3ee;

  /* Typographie */
  --font-display: 'Oxanium', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --sidebar-width: 280px;
}

/* ─── RESET CSS ─── */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* ─── SCROLLBARS PREMIUM ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ─── SÉLECTION TEXTE ─── */
::selection {
  background: var(--accent-glow-strong);
  color: var(--text-primary);
}
