/*
 * Polices auto-hébergées.
 *
 * Aucune requête vers Google : chaque visiteur de chaque boutique aurait sinon
 * envoyé son adresse IP à un tiers, ce qui a déjà valu des sanctions en France
 * pour Google Fonts — et nous vendons « hébergement en France » comme argument.
 * Auto-héberger est aussi plus rapide : pas de résolution DNS ni de connexion
 * TLS supplémentaire avant le premier rendu du texte.
 *
 * font-display: swap — le texte s'affiche immédiatement dans la police de
 * secours puis bascule. Un catalogue lisible tout de suite vaut mieux qu'un
 * catalogue parfait trois cents millisecondes plus tard.
 *
 * Sous-ensemble latin uniquement (24 Ko par graisse). Les boutiques visées
 * vendent en français.
 */

/* ── Inter — corps de texte de Minimal et Élégant, titres de Minimal ── */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}

/* ── Cormorant Garamond — titres d'Élégant ── */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}

/* ── Poppins — Moderne. Déjà la police du socle, désormais auto-hébergée. ── */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2');
}

/* ── Thème 2 « Vitrine » : Bricolage Grotesque pour les titres, Figtree pour le texte ──
 *
 * Deux polices VARIABLES, un fichier chacune, au lieu d'une graisse par fichier : la maquette
 * validée emploie des graisses intermédiaires (750 pour le nom de la boutique), et Bricolage
 * Grotesque doit son caractère à son axe de taille optique — serré et contrasté en grand, plus
 * ouvert en petit. Le navigateur le règle seul d'après la taille du texte (font-optical-sizing).
 *
 * Bricolage Grotesque : 77 Ko, graisses 200 à 800 et taille optique. Figtree : 20 Ko, graisses
 * 300 à 900. Tirées de Fontsource 5.2.10, sous-ensemble latin.
 *
 * Licence : SIL Open Font License 1.1 — The Bricolage Grotesque Project Authors
 * (github.com/ateliertriay/bricolage) ; The Figtree Project Authors (github.com/erikdkennedy/figtree).
 */
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2');
}

/* ── Thèmes 3 « Terroir », 4 « Écrin » et 5 « Studio » (25/11/2026) ──
 *
 * Six familles, hébergées ici comme les autres : la politique de sécurité des boutiques n'autorise aucune police
 * venue d'ailleurs. Un navigateur ne télécharge que celles que le thème de la boutique emploie.
 *
 *   Terroir : Fraunces (titres, droit et italique, variable) et Karla (texte, variable).
 *   Écrin   : Marcellus (titres, une graisse) et Jost (texte, variable).
 *   Studio  : Cormorant Garamond (titres : 400 et 600 déjà là, plus 500 et les italiques 400 et 500) et
 *             Hanken Grotesk (texte, variable).
 *
 * Tirées de Fontsource, sous-ensemble latin, le 25/11/2026, avec l'accord d'Amory. Licence : SIL Open Font License 1.1
 * — The Fraunces Project Authors, The Karla Project Authors, The Marcellus Project Authors, The Jost Project Authors,
 * The Cormorant Project Authors, The Hanken Grotesk Project Authors.
 */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/karla-latin-wght-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/marcellus-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/jost-latin-wght-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
}
