/*
 * Fonts CSS - Police Exo (self-hosted)
 * Charte graphique Olivier Becht / Le Projet France
 *
 * Fichiers sources : Elements/charte graphique/POLICES/*.ttf
 *
 * @package Campagne_2026
 */

/* ============================================
   POLICE UNIQUE DE LA CHARTE : EXO
   Utilisée à la fois pour les titres et le corps de texte
   ============================================ */

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo';
    src: url('../fonts/Exo-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   FALLBACKS SI LES POLICES NE SONT PAS CHARGÉES
   ============================================ */

:root {
    --font-display: 'Exo', Arial, sans-serif;
    --font-body: 'Exo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   CHARGEMENT DES POLICES
   ============================================ */

body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
}
