/* ============================================================
   ahod — Typographie auto-hébergée
   Fraunces (VF : wght 400-900, opsz 14-144, WONK=1, SOFT=0)
   Plus Jakarta Sans (VF : wght 400-700)
   Chemin attendu : /wp-content/themes/<child>/fonts/
   ============================================================

   ⚠️ ORDRE DES @font-face — NE PAS RÉORDONNER
   Les deux unicode-range se recouvrent sur 6 codepoints :
     U+0131 ı   U+0152 Œ   U+0153 œ   U+0304 ̄   U+0308 ̈   U+0329 ̩
   Quand un caractère est couvert par PLUSIEURS @font-face d'une même
   famille, le navigateur retient LA DERNIÈRE DÉCLARÉE (CSS Fonts 4).
   Si latin-ext était déclaré en dernier, le mot « cœur » suffirait à
   déclencher le téléchargement de latin-ext (54 Ko) sur chaque page.
   C'est exactement pour cette raison que Google Fonts place toujours
   le subset latin en dernier dans son CSS.
   ============================================================ */

/* ---------- 1. FRAUNCES — titres ---------- */
/* ORDRE IMPOSÉ : latin-ext D'ABORD, latin EN DERNIER. Voir note en bas. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  /* Téléchargé UNIQUEMENT si un glyphe propre à cette plage apparaît. */
  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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* ---------- 2. PLUS JAKARTA SANS — corps, UI, boutons ---------- */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta.latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  /* Téléchargé UNIQUEMENT si un glyphe propre à cette plage apparaît. */
  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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta.latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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;
}

/* Italique réelle du corps de texte (<em>, citations). Sans ces deux blocs,
   le navigateur fabrique une oblique synthétique — visible et laide.
   Supprimer si aucun <em> n'est utilisé. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-italic.latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  /* Téléchargé UNIQUEMENT si un glyphe propre à cette plage apparaît. */
  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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-italic.latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  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;
}
/* Interdit au navigateur de fabriquer un faux gras ou une fausse italique.
   Nos polices variables couvrent 400–900 : toute synthèse serait un défaut,
   pas un secours. */
body { font-synthesis-weight: none; }