/* ===================================================================
   font.css — DÉCLARATION UNIQUEMENT (aucune règle d'application)
   Thème : ecdc_boot5trap — Format web : WOFF2 (auto-hébergé)
   Règle : ce fichier ne FAIT QUE charger les polices. L'application
   des familles se fait via les variables dans colors.css.
   =================================================================== */

/* ---------- Polices VARIABLES (1 fichier = toutes les graisses) ---------- */

/* Inter — base neutre moderne (axes : opsz + wght) */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* Nunito Sans — base ronde et chaleureuse (axes : YTLC, opsz, wdth, wght) */
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
}

/* Bitter — titre slab solide, "accueil paysan" (axe : wght) */
@font-face {
  font-family: 'Bitter';
  src: url('../fonts/Bitter-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* Playfair Display — titre élégant, "gîte de charme" (axe : wght) */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 400 900; font-style: normal; font-display: swap;
}

/* Fraunces — titre artisanal (axes : SOFT, WONK, opsz, wght).
   SOFT/WONK = axes décoratifs optionnels, activables via font-variation-settings. */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* Caveat — accent manuscrit, annotations/signatures (axe : wght) */
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* JetBrains Mono — détail "carnet / fiche / recette" (axe : wght) */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 800; font-style: normal; font-display: swap;
}

/* ---------- Polices STATIQUES (un poids = un fichier) ---------- */

/* Montserrat — base de référence (2 graisses) */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* Comfortaa — accent arrondi doux (2 graisses) */
@font-face {
  font-family: 'Comfortaa';
  src: url('../fonts/Comfortaa-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Comfortaa';
  src: url('../fonts/Comfortaa-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Polices signature (titres marqués / brand) ---------- */

/* Morris Roman Black — titre très contrasté */
@font-face {
  font-family: 'Morris Roman Black';
  src: url('../fonts/MorrisRomanBlack.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* Poetsen One — titre chaleureux, accents */
@font-face {
  font-family: 'Poetsen One';
  src: url('../fonts/PoetsenOne-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* Pacifico — BRAND (Accueil Paysan). Se prête au dégradé vert. */
@font-face {
  font-family: 'Pacifico';
  src: url('../fonts/Pacifico.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* --- Chelsea Market (26-sy-di — Gilberdière) --- */
@font-face {
  font-family: 'Chelsea Market';
  src: url('../fonts/ChelseaMarket-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Overlock (26-ce-ma — Sabots de laine) : 2 graisses --- */
@font-face {
  font-family: 'Overlock';
  src: url('../fonts/Overlock-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Overlock';
  src: url('../fonts/Overlock-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
