/*
 * Tout pour l'ecole - Polices de marque auto-hebergees (Loi 25: aucun appel tiers).
 * Direction "Institutionnel premium": Fraunces (serif, titres d'affichage) +
 * Inter (corps/interface/sous-titres). Poppins conserve pour les backends.
 * Sous-ensemble latin (couvre les accents francais). Source: @fontsource.
 * Voir BRANDING.md. A lier dans tous les layouts:
 *   <link rel="stylesheet" href="/assets/fonts/fonts.css">
 */

/* ---- Fraunces (titres d'affichage - serif premium) ---- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fraunces-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fraunces-latin-700-normal.woff2") format("woff2");
}

/* ---- Clash Display (titres immersifs - direction "Immersif clair editorial") ---- */
/* Licence ITF Free Font (Fontshare), usage web libre. */
@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./clashdisplay-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./clashdisplay-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./clashdisplay-700-normal.woff2") format("woff2");
}

/* ---- Inter (corps et interface) ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./inter-latin-700-normal.woff2") format("woff2");
}

/* ---- Poppins (titres - backends uniquement) ---- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./poppins-latin-700-normal.woff2") format("woff2");
}
