@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* === FONDS (vert foncé teinté sauge, légèrement plus clair pour laisser respirer la couleur) === */
  --bg-body: #0f1814;
  --bg-primary: #152019;
  --bg-secondary: #1c2c24;
  --bg-card: rgba(28, 44, 36, 0.70);
  --bg-card-solid: #22332a;
  --bg-elevated: rgba(38, 58, 48, 0.92);
  --bg-hover: rgba(110, 231, 183, 0.07);
  --bg-active: rgba(52, 211, 153, 0.14);

  /* Glass */
  --glass-bg: rgba(22, 34, 28, 0.6);
  --glass-border: rgba(134, 239, 172, 0.18);
  --glass-border-hover: rgba(134, 239, 172, 0.32);

  /* Texte (teinté vert) */
  --text-primary: #e8f5ee;
  --text-secondary: #95b5a4;
  --text-muted: #7a9588;
  --text-bright: #ffffff;

  /* === ACCENT MINT / SAUGE — version vibrante === */
  --accent: #22c55e;
  --accent-bright: #4ade80;
  --accent-dim: #16a34a;
  --accent-hover: #34d399;
  --accent-glow: rgba(34, 197, 94, 0.5);
  --accent-bg: rgba(34, 197, 94, 0.14);
  --accent-gradient: linear-gradient(135deg, #4ade80 0%, #059669 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(74, 222, 128, 0.22) 0%, rgba(16, 185, 129, 0.06) 100%);

  /* === SÉMANTIQUE SUIVI === */
  /* Couleurs "alcool consommé" : coral chaleureux (pas alarmiste rouge) */
  --units-color: #fb7185;
  --units-glow: rgba(251, 113, 133, 0.25);
  /* Volume : cyan (eau, hydratation) — distinct de l'ambre */
  --volume-color: #22d3ee;
  --volume-glow: rgba(34, 211, 238, 0.25);
  /* Jour sans alcool : mint vif (= accent) */
  --dry-color: #34d399;
  --dry-glow: rgba(52, 211, 153, 0.25);
  /* Calories — peu utilisé */
  --kcal-color: #fbbf24;

  /* Seuils */
  --danger: #f87171;
  --danger-hover: #fca5a5;
  --danger-glow: rgba(248, 113, 113, 0.25);
  --success: #34d399;
  --warning: #fbbf24;

  /* Bordures */
  --border: rgba(255, 255, 255, 0.10);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(52, 211, 153, 0.35);

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.32);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Typo */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;

  /* Navbar */
  --navbar-height: 54px;

  /* Transitions */
  --transition-fast: 0.15s ease;

  /* Modal */
  --modal-max-width: 560px;
}
