/* ==========================================================================
   LA TYPO DU SITE (11 nov. 2026) - inc/typo-site.php
   Grands titres de rubrique : Hanken Grotesk (« Flowly V3 Texte »), comme avant.
   Tout le reste : DM Sans (« Flowly DM Sans »), la police de la carte de remerciement.
   Le site entier lit ses polices dans des variables (--v3-texte, --v3-titre, --fl-font, --fl-font-titre) : on les
   change sur chaque élément (avec !important, pour passer devant celles posées plus bas dans la page), puis on remet
   Hanken sur les grands titres. Barre d'admin, icônes et codes (bon cadeau) ne sont pas touchés.
   ========================================================================== */

/* 1. DM Sans partout */
html body,
html body *:not(#wpadminbar *):not(svg):not(svg *):not(code):not(pre):not(kbd):not(.fl-bc-carte__code) {
	--v3-texte: 'Flowly DM Sans', 'Nunito', system-ui, sans-serif !important;
	--v3-titre: 'Flowly DM Sans', 'Nunito', system-ui, sans-serif !important;
	--v3-titre-var: normal !important;
	--fl-font: 'Flowly DM Sans', 'Nunito', system-ui, sans-serif !important;
	--fl-font-titre: 'Flowly DM Sans', 'Nunito', system-ui, sans-serif !important;
	font-family: 'Flowly DM Sans', 'Nunito', system-ui, sans-serif !important;
}

/* 2. Les grands titres de rubrique gardent Hanken Grotesk.
   Accueil et guide : bannière, titres de section, titre des créations, ruban qui défile.
   Autres pages : titre de la page (h1), titres de section (h2), titres des blocs de contenu. */
html body :is(
	.fl-v3-plateau__titre, .fl-v3-h2, .fl-v3-creations__titre, .fl-v3-defile, .fl-v3-defile *,
	h1, .entry-title, .page-title, .product_title, .woocommerce-products-header__title,
	h2, .fl-h2, .fl-accroche__titre, .fl-histoire__titre, .fl-avant__titre, .fl-gestes__titre
):not(#wpadminbar *):not(.woocommerce-Address-title *):not(.fl-filters__head *):not(.fl-filters__head):not(.woocommerce-loop-product__title):not(.fl-carr__nom):not(.fl-pied__titre):not(.fl-eyebrow) {
	--v3-texte: 'Flowly V3 Texte', 'Nunito', system-ui, sans-serif !important;
	--v3-titre: 'Flowly V3 Texte', 'Nunito', system-ui, sans-serif !important;
	--fl-font: 'Flowly V3 Texte', 'Nunito', system-ui, sans-serif !important;
	--fl-font-titre: 'Flowly V3 Texte', 'Nunito', system-ui, sans-serif !important;
	font-family: 'Flowly V3 Texte', 'Nunito', system-ui, sans-serif !important;
}
/* ce qui est posé dans un grand titre (mot mis en avant, retour à la ligne) suit le titre */
html body :is(.fl-v3-plateau__titre, .fl-v3-h2, .fl-v3-creations__titre, h1, h2, .fl-h2) :is(em, strong, b, span, a, .fl-mot):not(#wpadminbar *):not(.fl-filters__head *):not(.woocommerce-loop-product__title *) {
	font-family: inherit !important;
}
