/* ============================================================= *
 *  Polices auto-hébergées — fafchamps.be
 *  Feuille partagée par la page d'accueil et par /blog/ : un seul
 *  chemin (/assets/fonts.css), un seul jeu de fichiers, un seul
 *  cache. Remplace l'appel à fonts.googleapis.com — deux origines
 *  tierces et une feuille bloquante en moins.
 *
 *  Sous-ensemble « latin » uniquement (U+0000-00FF + ponctuation
 *  typographique). Les subsets latin-ext, vietnamese et thai que
 *  servait Google n'étaient jamais utilisés ici. Les flèches (→, ↗),
 *  puces (●) et symboles (★, ∞, ⌂) ne figurent dans AUCUN subset de
 *  ces trois familles : ils étaient déjà rendus par la police
 *  système avant ce changement, rien ne bouge de ce côté.
 *
 *  IBM Plex Sans et JetBrains Mono sont livrées en fonte variable :
 *  un seul fichier couvre tout l'axe de graisse, d'où la plage
 *  « font-weight: 100 700 » plutôt que quatre @font-face. Chakra
 *  Petch, elle, n'est pas variable : une fonte par graisse, et
 *  seulement les trois réellement employées (400, 600, 700) — le
 *  500 chargé auparavant ne servait à rien, comme le 300 d'IBM Plex.
 *
 *  font-display:swap : le texte s'affiche tout de suite dans la
 *  police de repli, la police finale prend le relais en arrivant.
 * ============================================================= */

/* ---------- Chakra Petch (titres) ---------- */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-400-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;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-600-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;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-700-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;
}

/* ---------- IBM Plex Sans (corps) — fonte variable 100→700 ---------- */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-var-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;
}

/* ---------- JetBrains Mono (console) — fonte variable 400→800 ---------- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-var-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;
}
