/* ═══════════════════════════════════════════════════════════════════════════
   POLICES AUTO-HÉBERGÉES — conformité RGPD/CNIL
   ═══════════════════════════════════════════════════════════════════════════
   Avant : Fraunces + Inter chargées depuis fonts.googleapis.com, ce qui
   transmettait l'adresse IP de chaque visiteur à Google sans consentement
   (position CNIL 2022, jurisprudence Munich LG München I, jan. 2022).

   Maintenant : fichiers woff2 variables servis depuis /fonts/ (même origine).
   Source : paquets npm @fontsource-variable/fraunces et @fontsource-variable/inter
   (licence OFL — libre, redistribution autorisée).

   Bonus performance : plus de connexion DNS/TLS vers 2 domaines Google,
   et `font-display: swap` conservé (texte visible immédiatement).

   Sous-ensemble « latin » : couvre tout le français (é à ç œ …).
   ═══════════════════════════════════════════════════════════════════════════ */

/* Fraunces variable — axes opsz (9–144) + wght (100–900), romain */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/fraunces-latin-opsz-normal.woff2') format('woff2-variations');
  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;
}

/* Fraunces variable — italique (utilisée par .font-display-italic) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/fraunces-latin-opsz-italic.woff2') format('woff2-variations');
  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;
}

/* Inter variable — wght 100–900 (le site utilise 300–600) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  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;
}
