/*
 * LES POLICES DE LA MAQUETTE, servies par le thème (27/09/2026) : les fichiers
 * variables de Fontsource que la maquette Astro charge, avec l'axe de taille
 * optique de Newsreader. Même dessin, mêmes chasses, donc mêmes retours à la
 * ligne. Les Google Fonts d'Elementor sont coupées (fidelite-kit.php).
 * Licence SIL Open Font License 1.1.
 */
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 200 800; src: url( fonts/newsreader-latin-opsz-normal.woff2 ) format( 'woff2-variations' ); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 200 800; src: url( fonts/newsreader-latin-ext-opsz-normal.woff2 ) format( 'woff2-variations' ); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 200 800; src: url( fonts/newsreader-latin-opsz-italic.woff2 ) format( 'woff2-variations' ); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 200 800; src: url( fonts/newsreader-latin-ext-opsz-italic.woff2 ) format( 'woff2-variations' ); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-display: swap; font-weight: 100 900; src: url( fonts/hanken-grotesk-latin-wght-normal.woff2 ) format( 'woff2-variations' ); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-display: swap; font-weight: 100 900; src: url( fonts/hanken-grotesk-latin-ext-wght-normal.woff2 ) format( 'woff2-variations' ); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: italic; font-display: swap; font-weight: 100 900; src: url( fonts/hanken-grotesk-latin-wght-italic.woff2 ) format( 'woff2-variations' ); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* La taille optique de la maquette : 60 pour les grands titres, 24 pour les titres de carte. */
.ivy-root :is( h1, h2 ) { font-variation-settings: 'opsz' 60; }
.ivy-root h3 { font-variation-settings: 'opsz' 24; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/*
 * Tokens de Maison Majordome Conciergerie.
 *
 * Les couleurs et typographies vivent dans le KIT GLOBAL D'ELEMENTOR :
 * ce fichier ne fait que les aliaser. Le client les modifie depuis une
 * interface qu'il connait, et tout le site suit.
 *
 * Engagement 5 : aucun hexadecimal, valeurs de repli comprises.
 */

/*
 * `body` et non `:root` : Elementor ecrit ses variables globales sur
 * `body.elementor-kit-<id>`, jamais sur `html`. Aliase depuis `:root`,
 * `--e-global-color-primary` n'est pas resolue — une variable ne remonte
 * pas d'un descendant vers son ancetre — et c'est la valeur de REPLI qui
 * part dans tout le site. Le symptome est muet : la page s'affiche, en
 * noir et blanc, quelle que soit la palette du kit. Constate le 16 aout
 * 2026 sur instant-home-tarn, ou les 53 fichiers du socle qui lisent ces
 * tokens servaient tous rgb( 17 17 17 ).
 */
body {
	--ivy-accent: var( --e-global-color-primary, rgb( 17 17 17 ) );
	--ivy-ink: var( --e-global-color-text, rgb( 17 17 17 ) );
	--ivy-surface: var( --e-global-color-secondary, rgb( 255 255 255 ) );
	--ivy-muted: var( --e-global-color-accent, rgb( 110 110 110 ) );
	--ivy-line: rgb( 205 205 201 );
	--ivy-surface-soft: rgb( 247 244 238 );
	--ivy-line-soft: rgb( 218 221 207 );
	--ivy-deep: rgb( 27 30 28 );
	--ivy-on-deep: rgb( 255 255 255 );
	--ivy-on-deep-muted: rgb( 205 205 201 );
	--ivy-line-deep: rgb( 94 91 85 );
	--ivy-accent-on-deep: rgb( 202 194 181 );
	--ivy-on-accent: rgb( 255 255 255 );
	--ivy-on-accent-muted: rgb( 245 243 240 );
	--ivy-line-accent: rgb( 112 91 62 );
	--ivy-support: rgb( 112 91 62 );
	--ivy-veil: rgb( 17 17 17 );
	--ivy-danger: rgb( 169 47 47 );
}


:root {
	/* Multiplicateur de rythme, unique pour tout le site (spec §5.6). Il ne
	   vient pas du kit : il reste donc sur `:root`, ou le JS le lit. */
	--ivy-motion: 1;
}

/*
 * Les liens de TEXTE (corps d'un article, d'une FAQ, d'une page légale) : le
 * bleu du lac de la maquette, l'or encre au survol. Hello Elementor les pose
 * en rouge. `:not([class])` laisse les boutons et les liens des produits à
 * leurs propres couleurs ; le kit d'Elementor, lui, les écraserait tous.
 */
/* Seulement les liens écrits dans un texte (`.texte a` de la maquette) : un menu
   (pied, barre du bas) garde la couleur de son produit. */
body :where( p, dd, article li ) > a:not([class]) { color: rgb( 53 75 104 ); text-underline-offset: 3px; }
body :where( p, dd, article li ) > a:not([class]):hover { color: rgb( 128 104 62 ); }
/* `.titre` : un titre ne laisse jamais un mot seul sur sa dernière ligne. */
.ivy-root :is( h1, h2 ) { text-wrap: pretty; }
