/* charte/variables.css : les tokens de l'instance. Noms stables, valeurs propres à l'instance. */
@font-face {
  font-family: "Geist";
  src: url("polices/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("polices/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Surfaces et texte */
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.54 0 0);

  /* Actions */
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);

  /* États : 4,5:1 sur background et sur leur fond doux à 10 % */
  --destructive: oklch(0.53 0.22 27);
  --destructive-foreground: oklch(0.985 0 0);
  --success: oklch(0.5 0.13 150);
  --success-foreground: oklch(0.985 0 0);
  --warning: oklch(0.52 0.13 60);
  --warning-foreground: oklch(0.985 0 0);
  --info: oklch(0.5 0.19 260);
  --info-foreground: oklch(0.985 0 0);

  /* Traits : input à 3:1 sur background */
  --border: oklch(0.922 0 0);
  --input: oklch(0.66 0 0);
  --ring: oklch(0.708 0 0);

  /* Typographie */
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-heading: var(--font-sans);
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Forme */
  --spacing: 0.25rem;
  --radius: 0.625rem;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
