/* Polices officielles miniads.fr : Degular Display (titres) + Inter (corps) */

@font-face {
  font-family: 'Degular Display';
  src: url('Degular-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Degular Display';
  src: url('Degular-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Degular Display';
  src: url('Degular-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Degular Display';
  src: url('Degular-Black.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Degular Display';
  src: url('Degular-SemiboldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* ---- Inter ----
   Deux corrections successives ici.

   1. Les quatre fichiers Inter-*.woff2 étaient le même, octet pour octet :
      une police variable déclarée quatre fois en poids fixe. Le navigateur
      la chargeait à son instance par défaut (400) et fabriquait 500, 600 et
      700 en épaississant les contours. Tout le gras du site était du faux
      gras.

   2. Ce fichier n'avait que l'axe de graisse. InterVariable porte en plus
      l'axe `opsz` (14→32), l'échelle optique : c'est le mécanisme derrière
      « Inter Display ». Le navigateur choisit seul la coupe selon la taille
      rendue — resserrée pour les grands corps, plus ouverte pour le texte
      courant — via font-optical-sizing, actif par défaut.

   Fichier réduit au latin étendu + ponctuation française : 69 Ko au lieu
   des 343 Ko de la version complète, qui embarque cyrillique et grec. */
@font-face {
  font-family: 'Inter';
  src: url('InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
