/* =============================================================================
   polices.css — les deux typographies de la maison, servies par le site

   Avant, chaque page ouvrait trois connexions vers Google (deux preconnect et
   une feuille de style) avant de pouvoir afficher le moindre mot. Cette feuille
   distante est bloquante : le navigateur ne peint rien tant qu'elle n'est pas
   revenue. Elle coutait une resolution DNS, une poignee de main TLS et un aller
   retour, sur un domaine qui n'est pas le notre, pour 156 ko de fichiers que
   l'on peut tout aussi bien poser a cote du reste du site.

   Les fichiers viennent de Fontsource 5.3.0, qui redistribue les memes binaires
   que Google sous licence SIL Open Font. Sous jeu latin uniquement : il couvre
   tout le francais, y compris le e dans l'o et le signe euro.

   font-display: swap garde le comportement d'avant. Le texte s'affiche tout de
   suite dans la police de secours, puis bascule quand la vraie arrive. Jamais
   de page blanche en attendant une typographie.
   ========================================================================== */

/* ---------- Cormorant Garamond, la serif des titres ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(polices/cormorant-garamond-latin-300-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/cormorant-garamond-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/cormorant-garamond-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(polices/cormorant-garamond-latin-300-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(polices/cormorant-garamond-latin-400-italic.woff2) format('woff2');
}

/* ---------- Jost, la sans serif du texte courant ---------- */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(polices/jost-latin-300-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/jost-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/jost-latin-500-normal.woff2) format('woff2');
}
