/* Polices de marque AGL Consult, portées depuis le projet WebDev source */

@font-face {
  font-family: "Gravur Condensed";
  src: url("../fonts/GravurCondensed-Thin.woff") format("woff"), url("../fonts/GravurCondensed-Thin.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gravur Condensed";
  src: url("../fonts/GravurCondensed-Light.woff") format("woff"), url("../fonts/GravurCondensed-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gravur Condensed";
  src: url("../fonts/GravurCondensed-Regular.woff") format("woff"), url("../fonts/GravurCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gravur Condensed";
  src: url("../fonts/GravurCondensed-Bold.woff") format("woff"), url("../fonts/GravurCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gravur Condensed";
  src: url("../fonts/GravurCondensed-Black.woff") format("woff"), url("../fonts/GravurCondensed-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Simplon Norm";
  src: url("../fonts/SimplonNorm-Light.woff") format("woff"), url("../fonts/SimplonNorm-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Simplon Norm";
  src: url("../fonts/SimplonNorm-Regular.woff") format("woff"), url("../fonts/SimplonNorm-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Simplon Norm";
  src: url("../fonts/SimplonNorm-Bold.woff") format("woff"), url("../fonts/SimplonNorm-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------------------------------
   Polices de secours CALIBREES (2026-09-17).

   Pourquoi : les .woff ne sont demandes qu'une fois site.css analyse (2,2 s en 4G lente), donc
   ils arrivent APRES le premier rendu (2,6 s). La substitution qui suit reflowe le texte : sur
   Prestations/RefonteGraphique le titre du hero perdait une ligne puis la regagnait, pour un CLS
   de 0,317 — le pire du site. Verifie a la trace : les deux sauts tombent a 5,73 s et 6,08 s,
   exactement sur la fin de telechargement de GravurCondensed-Bold/Regular puis -Light.

   Ce qui NE marche pas, mesure : font-display:optional (la periode de blocage court depuis le
   debut du chargement de la fonte, pas depuis la navigation - la police tardive est appliquee
   quand meme) ; alleger la page (CLS inchange a poids divise par deux) ; fetchpriority:low sur
   les images ; precharger les fontes (CLS divise par deux mais +1,2 s de FCP).

   Ce qui marche : donner a la police de SECOURS le meme encombrement que la vraie, pour que la
   substitution ne decale rien. Les ratios ci-dessous sont mesures dans le navigateur (largeur
   d'une meme chaine a 100px, police reelle / police de secours). Les hauteurs de ligne, elles,
   sont deja identiques : pas besoin d'ascent-override.

   Limite assumee : local() ne trouve Arial Narrow et Segoe UI que sous Windows. Ailleurs la
   famille de secours ne resout pas et la pile retombe sur la suivante, sans calibrage - le
   comportement est alors celui d'avant, pas pire.
   --------------------------------------------------------------------------------------------- */
@font-face { font-family: "Gravur Fallback"; src: local("Arial Narrow"); font-weight: 200; size-adjust: 112.3%; }
@font-face { font-family: "Gravur Fallback"; src: local("Arial Narrow"); font-weight: 300; size-adjust: 112.3%; }
@font-face { font-family: "Gravur Fallback"; src: local("Arial Narrow"); font-weight: 400; size-adjust: 105.7%; }
@font-face { font-family: "Gravur Fallback"; src: local("Arial Narrow"); font-weight: 700; size-adjust: 97.8%; }
@font-face { font-family: "Gravur Fallback"; src: local("Arial Narrow"); font-weight: 900; size-adjust: 97.8%; }
@font-face { font-family: "Simplon Fallback"; src: local("Segoe UI"); font-weight: 300; size-adjust: 95.3%; }
@font-face { font-family: "Simplon Fallback"; src: local("Segoe UI"); font-weight: 400; size-adjust: 95.3%; }
@font-face { font-family: "Simplon Fallback"; src: local("Segoe UI"); font-weight: 700; size-adjust: 93.6%; }
