/* ============================================================================
 * fonts.css — Polices auto-hébergées (sécurité/RGPD #5, 2026-06).
 * Remplace Google Fonts : plus aucune requête vers Google (l'IP des
 * utilisateurs n'est plus exposée), et le site fonctionne même si le CDN
 * est inaccessible. Fichiers woff2 (subset latin) dans static/fonts/,
 * récupérés depuis Fontsource (mêmes binaires que Google Fonts).
 * ========================================================================== */

/* Inter — police UI */
@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: 500;
    font-display: swap;
    src: url("fonts/inter-500.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");
}

/* JetBrains Mono — chiffres, dates, montants */
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
}
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/jetbrains-mono-600.woff2") format("woff2");
}
