/* ============================================================
   CREANA CLEANING — FONTES
   Système B : Instrument Serif (display) + Switzer (texte)
   Auto-hébergées. Aucun appel réseau tiers.
   ============================================================ */

/* --- Switzer 300 — réservé aux très grands chiffres --- */
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Switzer 400 — corps de texte --- */
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Switzer 500 — labels, boutons, eyebrows, H3 --- */
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Instrument Serif 400 — display uniquement --- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Instrument Serif 400 italique — accent, 1 à 2 mots par page --- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Repli aux métriques ajustées : supprime le saut de mise en page
   pendant le swap des fontes. */
@font-face {
  font-family: "Switzer Fallback";
  src: local("Helvetica Neue"), local("Arial");
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: "Instrument Fallback";
  src: local("Times New Roman"), local("Georgia");
  ascent-override: 90%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 104%;
}
