/* ============================================================
   zolibat-fonts.css — polices auto-hébergées Zolibat
   Audit P1 item #5 — élimine fonts.googleapis.com comme tier critique.

   font-display: swap → si le woff2 n'est pas encore déployé dans
   /fonts/, le navigateur utilise immédiatement la stack système
   ("FOUT" plutôt que "FOIT"). Aucun freeze visuel.

   Tous les paths sont relatifs à l'origine (/fonts/...). Pas de
   versioning dans les filenames car le SW les cache et le bump
   CACHE_NAME (script inject-sw-version.mjs) invalide tout.
   ============================================================ */

/* ─── Plus Jakarta Sans — corps + UI principal ─── */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-800.woff2') format('woff2');
}

/* ─── DM Serif Display — titres marketing + h1/h2 charte ─── */

@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-italic.woff2') format('woff2');
}
