/* ═══════════════════════════════════════════════════════════════════════════
 *  fonts.css  —  POLICES AUTO-HÉBERGÉES
 * ═══════════════════════════════════════════════════════════════════════════
 *
 *  Toutes les polices du site sont chargées depuis le dossier /fonts/
 *  hébergé sur Infomaniak. Aucune requête vers Google Fonts.
 *
 *  Comment obtenir / régénérer les fichiers .woff2 :
 *
 *    1. Aller sur  https://gwfh.mranftl.com/fonts
 *    2. Pour chaque famille (Inter, Newsreader, Caveat, JetBrains Mono) :
 *       a. Sélectionner la famille
 *       b. Cocher les charsets "Latin" + "Latin Extended"
 *       c. Cocher uniquement les poids listés ci-dessous
 *       d. Format : "Modern Browsers" (woff2 uniquement)
 *       e. Télécharger le zip, dézipper
 *    3. Renommer les fichiers selon la convention de ce fichier
 *       (voir le nom dans chaque règle @font-face ci-dessous)
 *    4. Déposer les 12 fichiers .woff2 dans /site/fonts/ via FTP
 *
 *  Liste exhaustive des 12 fichiers à fournir :
 *    inter-400.woff2          (Inter Regular)
 *    inter-500.woff2          (Inter Medium)
 *    inter-600.woff2          (Inter Semi-Bold)
 *    inter-700.woff2          (Inter Bold)
 *    inter-800.woff2          (Inter Extra-Bold)
 *    newsreader-italic-400.woff2   (Newsreader Italic Regular)
 *    newsreader-italic-500.woff2   (Newsreader Italic Medium)
 *    newsreader-italic-600.woff2   (Newsreader Italic Semi-Bold)
 *    caveat-500.woff2         (Caveat Medium)
 *    caveat-600.woff2         (Caveat Semi-Bold)
 *    jetbrains-mono-400.woff2 (JetBrains Mono Regular)
 *    jetbrains-mono-500.woff2 (JetBrains Mono Medium)
 *
 *  En attendant que les fichiers soient déposés, le navigateur retombera
 *  proprement sur les polices système (font-display: swap).
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ─── INTER (corps de texte) ───────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}

/* ─── NEWSREADER (italiques narratifs) ─────────────────────────────────── */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/newsreader-italic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/newsreader-italic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/newsreader-italic-600.woff2') format('woff2');
}

/* ─── CAVEAT (signature manuscrite « Fred ») ───────────────────────────── */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/caveat-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/caveat-600.woff2') format('woff2');
}

/* ─── JETBRAINS MONO (étiquettes / labels techniques) ──────────────────── */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500.woff2') format('woff2');
}
