/*
 * Jetons de la landing Qivent.
 *
 * Les rôles de couleur, les rayons et les polices sont CEUX de l'application
 * (frontend/src/styles/tokens.css + kryptonite.css : kit Obra shadcn/ui « Nova »,
 * Geist, statuts métier A12). Seuls l'échelle d'affichage et le rythme vertical
 * sont propres à la page de vente.
 */

:root {
  /* Surfaces et texte — identiques à l'app */
  --background: #ffffff;
  --foreground: #0a0a0a;
  --primary: #171717;
  --primary-foreground: #ffffff;
  --secondary: #f5f5f5;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --subtle: #fafafa;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --card: #ffffff;

  /* Données, liens, graphiques — le bleu du kit */
  --info: #2563eb;
  --info-muted: #eff6ff;
  --info-muted-foreground: #1d4ed8;
  --chart-1: #93c5fd;
  --chart-2: #3b82f6;
  --chart-4: #1d4ed8;

  /* Statuts métier : ne servent QU'À dire un état, jamais à décorer */
  --success: #059669;
  --success-muted: #ecfdf5;
  --success-muted-foreground: #047857;
  --warning: #d97706;
  --warning-muted: #fffbeb;
  --warning-muted-foreground: #b45309;
  --destructive: #dc2626;
  --destructive-muted: #fef2f2;
  --destructive-muted-foreground: #b91c1c;

  --focus: var(--info);

  /* Rayons du kit */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius: 10px;
  --radius-xl: 14px;
  --radius-2xl: 16px;

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-window: 0 1px 0 0 rgb(0 0 0 / 0.04), 0 24px 48px -24px rgb(0 0 0 / 0.22);

  /* Polices de l'app */
  --font-sans: 'Geist Variable', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono Variable', 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Échelle d'affichage — propre à la landing */
  --text-display: clamp(2.5rem, 1.1rem + 5.4vw, 5.25rem);
  --text-title: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
  --text-subtitle: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-mini: 0.75rem;

  /* Rythme */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --largeur-page: 78rem;

  --duree-rapide: 150ms;
  --duree-normale: 320ms;
  --courbe-sortie: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Bande sombre du simulateur : les valeurs `.dark` de l'app. */
.sombre {
  --background: #0a0a0a;
  --foreground: #ffffff;
  --primary: #e5e5e5;
  --primary-foreground: #0a0a0a;
  --secondary: #262626;
  --muted: #171717;
  --muted-foreground: #a3a3a3;
  --subtle: #111111;
  --border: #2e2e2e;
  --border-strong: #404040;
  --card: #141414;
  --info: #60a5fa;
  --success: #34d399;
  --success-muted: #022c22;
  --success-muted-foreground: #34d399;
  --warning: #fbbf24;
  --warning-muted: #451a03;
  --warning-muted-foreground: #fbbf24;
  --destructive: #f87171;
  --destructive-muted: #450a0a;
  --destructive-muted-foreground: #f87171;
  --focus: #60a5fa;

  background: var(--background);
  color: var(--foreground);
}
