/* =========================================================
   EDF 2020 — Famille de police officielle EDF
   Fichiers hébergés en local dans /fonts/
   Sources : woff2 + woff (fallback navigateurs anciens)

   Graisses disponibles :
     300  → Light    (EDF2020Light)
     400  → Regular  (EDF2020)
     400i → Italic   (EDF2020-Italic)
     700  → Bold     (EDF2020-Bold)

   Note : EDF 2020 Soft Bold Italic non disponible dans ce lot.
   Prévoir acquisition séparée si usage "mots-clés surlignés".

   font-display: block
   -------------------
   Bloque le rendu du texte jusqu'à 3s (puis bascule sur le fallback
   Work Sans si la font n'est toujours pas chargée). Combiné au
   <link rel="preload"> des graisses critiques (regular + bold)
   déclaré dans functions.php, ce choix garantit qu'aucun switch
   de police n'est visible au chargement.
   ========================================================= */

@font-face {
  font-family: "EDF 2020";
  src: url("../fonts/edf-2020-light.woff2") format("woff2"),
       url("../fonts/edf-2020-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "EDF 2020";
  src: url("../fonts/edf-2020-regular.woff2") format("woff2"),
       url("../fonts/edf-2020-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "EDF 2020";
  src: url("../fonts/edf-2020-italic.woff2") format("woff2"),
       url("../fonts/edf-2020-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "EDF 2020";
  src: url("../fonts/edf-2020-bold.woff2") format("woff2"),
       url("../fonts/edf-2020-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

/* =========================================================
   EDF 2020 Soft — variante "mots-clés surlignés" dans titres
   Fichier non disponible dans ce lot — déclaration en attente.
   ========================================================= */

/* @font-face {
  font-family: "EDF 2020 Soft";
  src: url("../fonts/edf-2020-soft-bold-italic.woff2") format("woff2"),
       url("../fonts/edf-2020-soft-bold-italic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: block;
} */
