/* ═══════════════════════════════════════════════════════════════════
   Inter — Police auto-hébergée (latin subset)
   Économise 1 DNS + 1 TLS handshake vs Google Fonts.
   font-display: swap → texte affiché immédiatement avec police système
   pendant le chargement, puis bascule sans flash de page blanche.

   IMPORTANT : size-adjust et metric overrides alignent les métriques
   d'Inter sur celles d'Arial/system-ui. Quand la police bascule, le
   texte ne saute plus → CLS = 0 et LCP plus stable.
   ═══════════════════════════════════════════════════════════════════ */

/* Police de fallback adaptée pour matcher Inter (zéro shift visuel) */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/inter-900.woff2') format('woff2');
}
