/* =========================================================================
   Manrope — police officielle du site Fondation MARCI (SIL OFL 1.1)
   Remplace les polices du template (Nunito Sans / Libre Baskerville / Cookie).
   ========================================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/manrope-thin.otf") format("opentype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/manrope-light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/manrope-regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/manrope-medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/manrope-semibold.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/manrope-bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/manrope-extrabold.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* Bascule toutes les polices du thème vers Manrope (sauf les icônes). */
:root {
  --body-font: "Manrope", sans-serif;
  --title-font: "Manrope", sans-serif;
  --title-font2: "Manrope", sans-serif;
  --title-font3: "Manrope", sans-serif;
  --theme-font: "Manrope", sans-serif;
}

/* Filet de sécurité pour les éléments qui ne passent pas par les variables. */
body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
p, a, span, li, input, textarea, select, button, label, .th-btn {
  font-family: "Manrope", sans-serif;
}

/* On laisse les icônes Font Awesome intactes. */
[class^="fa-"], [class*=" fa-"], .fa, .fas, .far, .fal, .fab {
  font-family: var(--icon-font) !important;
}
