/* Système typographique commun Stratfu — polices hébergées localement. */
@font-face {
  font-family: 'Uncial Antiqua';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/uncial-antiqua.ttf') format('truetype');
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/rajdhani-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/rajdhani-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/rajdhani-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/rajdhani-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('/fonts/rajdhani-700.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
}

/* Compatibilité avec les anciennes déclarations : elles convergent toutes
   vers les trois familles du système sans réécrire chaque fiche existante. */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/rajdhani-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('/fonts/rajdhani-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/rajdhani-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('/fonts/rajdhani-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/rajdhani-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('/fonts/rajdhani-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/rajdhani-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('/fonts/rajdhani-700.woff2') format('woff2');
}

:root {
  --font-brand: 'Uncial Antiqua', Georgia, serif;
  --font-ui: 'Rajdhani', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
}
