/* ==========================================================================
   Audacia — Typographie du site

   Deux familles, servies depuis le thème (donc versionnées et à l'abri des
   mises à jour de WordPress) :
     - Exo       : titres, chiffres clés, libellés — géométrique, affirmée.
     - Sansation : textes courants — humaniste, plus lisible en paragraphe.

   Exception assumée : le slogan « Allez audacieusement au-delà des chiffres »
   garde Cormorant Garamond, qui porte son caractère éditorial. C'est la seule
   famille tierce encore chargée.

   Exo est déclarée via ses fichiers VARIABLES : un seul fichier couvre les
   graisses 100→900 (149 Ko), là où les 18 fichiers statiques pesaient 1,67 Mo.
   ========================================================================== */

/* ---------- Exo — titres (variable, 100→900) ---------- */
@font-face {
	font-family: "Exo";
	src: url("../fonts/Exo-VariableFont_wght.ttf") format("truetype-variations"),
	     url("../fonts/Exo-VariableFont_wght.ttf") format("truetype");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Exo";
	src: url("../fonts/Exo-Italic-VariableFont_wght.ttf") format("truetype-variations"),
	     url("../fonts/Exo-Italic-VariableFont_wght.ttf") format("truetype");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* ---------- Sansation — textes ----------
   Cette police n'a jamais fonctionné sur ce site, pour deux raisons cumulées :
   le formulaire la déclarait depuis /uploads/fonts/ (chemin qui renvoie 404),
   et les options du thème parent la demandaient à Google Fonts — où elle
   n'existe pas. Le texte retombait donc sur une police système. Elle est
   désormais servie depuis le thème. */
@font-face {
	font-family: "Sansation";
	src: url("../fonts/Sansation-Light.ttf") format("truetype");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Sansation";
	src: url("../fonts/Sansation-LightItalic.ttf") format("truetype");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Sansation";
	src: url("../fonts/Sansation-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Sansation";
	src: url("../fonts/Sansation-Italic.ttf") format("truetype");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Sansation";
	src: url("../fonts/Sansation-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Sansation";
	src: url("../fonts/Sansation-BoldItalic.ttf") format("truetype");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
	--audacia-font-titre: "Exo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--audacia-font-texte: "Sansation", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* Réservée au slogan — ne pas réutiliser ailleurs. */
	--audacia-font-slogan: "Cormorant Garamond", Georgia, serif;
}

/* ---------- Application ----------
   Sélecteurs volontairement larges : ils doivent l'emporter sur les polices
   posées par le thème parent et par Elementor. */
body,
button,
input,
select,
textarea,
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--audacia-font-texte);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6,
.react-heading .title,
.rt-title,
.widget-title {
	font-family: var(--audacia-font-titre);
}

/* ---------- L'exception : le slogan ----------
   Trois emplacements portent la même phrase — le hero de l'accueil (widget
   react-heading), la déclaration du pied de page, et le titre du bloc footer. */
.audacia-footer__statement,
.audacia-footer__statement em,
.elementor-element-1ce783e .title,
.elementor-element-1ce783e .title span,
.aud-slogan,
.aud-slogan em {
	font-family: var(--audacia-font-slogan);
}
