/* Polices hébergées sur come-mvdv-photo.ch
   Playfair Display et Inter — licence SIL Open Font License */

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

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

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

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

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

/* ==========================================================================
   Police Amiamie partout (12 octobre 2026)
   Amiamie, par Mirat Masson d'après Aileron de Sora Sagano —
   Typothèque Bye Bye Binary, https://typotheque.genderfluid.space
   (voir Amiamie-LICENCE.txt dans ce dossier).

   Styles : Léger 300, Normal 400, Black 900 (utilisé pour le gras),
   chacun avec son italique. Les ligatures inclusives (ami·e·s,
   auteur·ice·s…) sont actives d'office.

   Pour revenir aux anciennes polices : supprimer tout ce bloc, jusqu'à la fin.
   ========================================================================== */
@font-face { font-family: 'Amiamie'; src: url('Amiamie-Light.woff2') format('woff2'); font-weight: 100 450; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amiamie'; src: url('Amiamie-LightItalic.woff2') format('woff2'); font-weight: 100 450; font-style: italic; font-display: swap; }
@font-face { font-family: 'Amiamie'; src: url('Amiamie-Regular.woff2') format('woff2'); font-weight: 500 750; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amiamie'; src: url('Amiamie-Italic.woff2') format('woff2'); font-weight: 500 750; font-style: italic; font-display: swap; }
@font-face { font-family: 'Amiamie'; src: url('Amiamie-Black.woff2') format('woff2'); font-weight: 800 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amiamie'; src: url('Amiamie-BlackItalic.woff2') format('woff2'); font-weight: 800 900; font-style: italic; font-display: swap; }

/* Tout le texte en Amiamie (remplace Inter et Playfair Display) */
body, body * {
  font-family: 'Amiamie', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-variant-ligatures: common-ligatures contextual;
}

/* Les grands titres en Léger (300) */
.hero-name,
.g-title,
.c-titre,
.c-jour-titre,
main > h1 {
  font-weight: 300 !important;
}

/* Carnets : le gras des récits reste distinct du texte */
.c-texte strong { font-weight: 600 !important; }
