/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 720;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 720;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  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;
}

:root {
  color-scheme: light;
  --bg: #f5f3ee;
  --bg-soft: #eeece4;
  --surface: #ffffff;
  --surface-2: #faf9f5;
  --ink: #0d1411;
  --ink-soft: #2a332e;
  --muted: #5d665f;
  --line: #dedbd1;
  --line-strong: #c9c5b8;

  --brand: #0b3b2e;
  --brand-2: #12533f;
  --brand-3: #1a6b51;
  --gold: #d9a441;
  --gold-strong: #b9862a;
  --gold-soft: #f3e3bf;
  --danger: #b4472f;
  --success: #1c7a55;

  --on-dark: #f7f4ec;
  --on-dark-muted: #c9d2cb;
  --line-dark: rgba(247, 244, 236, 0.16);

  --font-sans: "Inter", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Échelle typographique unique : toutes les tailles du site en dérivent. */
  --text-2xs: 0.6875rem;  /* 11 px : libellés techniques, badges */
  --text-xs: 0.8125rem;   /* 13 px : notes, métadonnées */
  --text-sm: 0.9375rem;   /* 15 px : texte des cartes */
  --text-base: 1.0625rem; /* 17 px : texte courant */
  --text-lg: 1.1875rem;   /* 19 px : chapeaux, h3 courts */
  --text-xl: 1.375rem;    /* 22 px : titres de cartes */
  --text-2xl: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);     /* 24 → 30 px */
  --text-3xl: clamp(1.875rem, 1.45rem + 1.5vw, 2.625rem);  /* 30 → 42 px : titres de section */
  --text-4xl: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem);     /* 36 → 52 px : titres de page */
  --text-display: clamp(2.6rem, 1.7rem + 3vw, 4rem);       /* 42 → 64 px : accueil */
  --text-metric: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);     /* chiffres mis en avant */

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 20, 17, 0.05);
  --shadow: 0 12px 32px -12px rgba(13, 20, 17, 0.18);
  --shadow-lg: 0 30px 70px -30px rgba(11, 59, 46, 0.35);
  --shadow-brand: 0 10px 24px -10px rgba(11, 59, 46, 0.55);
  --ring: 0 0 0 3px rgba(185, 134, 42, 0.28);

  --container: 1180px;
  --container-narrow: 820px;
  --header-height: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 220ms var(--ease);
}
