/**
 * Faunaline — charte graphique appliquée à Kadence.
 *
 * Valeurs reprises du design system (Fauna-line_design_system.html) : tokens,
 * thème « Nuit », typographies et composants. Les couleurs de base passent aussi
 * par la palette Kadence (--global-palette1 à 9), réglée dans le Customizer.
 *
 * @package faunaline
 */

/* -------------------------------------------------------------------------
 * Polices hébergées dans le thème (aucun appel à Google Fonts)
 * ---------------------------------------------------------------------- */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400 500;
	font-display: swap;
	src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 400 500;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 400 500;
	font-display: swap;
	src: url("../fonts/jost.woff2") format("woff2");
}
@font-face {
	font-family: "La Belle Aurore";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/la-belle-aurore.woff2") format("woff2");
}

/* -------------------------------------------------------------------------
 * Tokens (thème Ivoire) et thème Nuit
 * ---------------------------------------------------------------------- */

:root {
	--fond-100: #f6f1e7;
	--fond-200: #ece4d4;
	--fond-300: #ddd2bd;
	--encre: #1d1a16;
	--encre-survol: #3a332b;
	--encre-douce: #5e554a;
	--terre-cuite: #a4532f;
	--terre-cuite-survol: #8c4426;
	--sur-accent: #f6f1e7;
	--sauge: #556148;
	--or-patine: #8a7350;
	--filet: #cfc3ad;
	--succes: #4d6b3c;
	--erreur: #9b2c2c;
	--anneau-focus: var(--encre);
	--ombre-cadre: 0 24px 48px -24px rgba(29, 26, 22, 0.35);

	--espace-1: 8px;
	--espace-2: 16px;
	--espace-3: 24px;
	--espace-4: 40px;
	--espace-5: 64px;
	--espace-6: 112px;
	--arrondi-0: 0px;
	--arrondi-1: 2px;
	--arrondi-ovale: 999px;

	--font-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
	--font-sans: Jost, "Futura PT", Futura, "Century Gothic", system-ui, sans-serif;
	--font-script: "La Belle Aurore", "Segoe Script", cursive;
}

/* Thème Nuit : sur une section (style de groupe « Section Nuit ») ou via data-theme. */
[data-theme="dark"],
.is-style-fl-section-nuit {
	--fond-100: #1b1814;
	--fond-200: #26221d;
	--fond-300: #3a332b;
	--encre: #f3ece0;
	--encre-survol: #ddd2bd;
	--encre-douce: #b5aa99;
	--terre-cuite: #d98a63;
	--terre-cuite-survol: #e6a07c;
	--sur-accent: #1b1814;
	--sauge: #9aa98a;
	--or-patine: #c4a56b;
	--filet: #3d362e;
	--succes: #9cc08a;
	--erreur: #e08a80;
	--ombre-cadre: 0 24px 48px -24px rgba(0, 0, 0, 0.7);

	/* Palette Kadence inversée, pour les titres, liens et boutons du thème. */
	--global-palette1: #d98a63;
	--global-palette2: #e6a07c;
	--global-palette3: #f3ece0;
	--global-palette4: #f3ece0;
	--global-palette5: #b5aa99;
	--global-palette6: #c4a56b;
	--global-palette7: #3a332b;
	--global-palette8: #26221d;
	--global-palette9: #1b1814;
	--global-palette9rgb: 27, 24, 20;

	background-color: var(--fond-100);
	color: var(--encre);
}

/* -------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------- */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--fond-300);
	color: var(--encre);
}

/* Focus clavier : 2px plein, décalé de 2px, sur tout élément interactif. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--anneau-focus);
	outline-offset: 2px;
}

/* Un seul mot en italique dans un titre, en terre cuite. */
:where(h1, h2, h3) em {
	font-style: italic;
	color: var(--terre-cuite);
}

/* Liens dans le texte : soulignement fin or patiné. */
.entry-content :where(p, li) a:not(.wp-block-button__link) {
	color: var(--encre);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-color: var(--or-patine);
	transition: text-decoration-color 0.2s ease;
}
.entry-content :where(p, li) a:not(.wp-block-button__link):hover {
	text-decoration-color: var(--encre);
}

hr,
.wp-block-separator:not(.is-style-fl-ornement) {
	border: 0;
	border-top: 1px solid var(--filet);
	background: none;
	opacity: 1;
}

/* Pas d'ombres ni d'arrondis hérités : angles nets, comme une estampe. */
.content-bg,
.entry.single-entry,
.loop-entry,
.woocommerce ul.products li.product,
.wp-block-image img {
	box-shadow: none;
	border-radius: var(--arrondi-0);
}

/* -------------------------------------------------------------------------
 * Boutons (le style par défaut, « secondaire », vient du Customizer)
 * ---------------------------------------------------------------------- */

.wp-block-button__link,
.button,
button.button,
.wc-block-components-button:not(.is-link) {
	letter-spacing: 0.06em;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	box-shadow: none;
}

/* Principal : terre cuite, un seul par écran. */
.wp-block-button.is-style-fl-principal .wp-block-button__link {
	background-color: var(--terre-cuite);
	color: var(--sur-accent);
}
.wp-block-button.is-style-fl-principal .wp-block-button__link:hover,
.wp-block-button.is-style-fl-principal .wp-block-button__link:focus {
	background-color: var(--terre-cuite-survol);
	color: var(--sur-accent);
}

/* Contour : action douce (section hommage). */
.wp-block-button.is-style-fl-contour .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	color: var(--encre);
	border: 1px solid var(--encre);
}
.wp-block-button.is-style-fl-contour .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--encre);
	color: var(--sur-accent);
}

/* Lien : action tertiaire, soulignée or patiné. */
.wp-block-button.is-style-fl-lien .wp-block-button__link {
	background: none;
	color: var(--encre);
	padding-left: 0;
	padding-right: 0;
	border-radius: 0;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--or-patine);
}
.wp-block-button.is-style-fl-lien .wp-block-button__link:hover,
.wp-block-button.is-style-fl-lien .wp-block-button__link:focus,
.wp-block-button.is-style-fl-lien .wp-block-button__link:active {
	background: none;
	color: var(--encre);
	text-decoration-color: var(--encre);
	box-shadow: none;
	transform: none;
}

/* Grand bouton (héros, appel final). */
.wp-block-button.fl-bouton-lg .wp-block-button__link {
	padding: 18px 48px;
	font-size: 16px;
}

/* -------------------------------------------------------------------------
 * Textes : surtitre, chapeau, légende, signature
 * ---------------------------------------------------------------------- */

.is-style-fl-surtitre {
	margin-bottom: var(--espace-1);
	font-family: var(--font-sans);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--encre-douce);
}
.is-style-fl-surtitre.fl-or {
	color: var(--or-patine);
}

.is-style-fl-chapeau {
	font-size: 18px;
	line-height: 29px;
	color: var(--encre-douce);
	max-width: 640px;
}
.has-text-align-center.is-style-fl-chapeau {
	margin-left: auto;
	margin-right: auto;
}

.is-style-fl-legende {
	font-size: 13px;
	line-height: 20px;
	color: var(--encre-douce);
}

/* Touche manuscrite : prénom de l'animal, cinq mots au plus. */
.is-style-fl-signature,
.fl-signature {
	font-family: var(--font-script);
	font-size: 30px;
	line-height: 36px;
	font-weight: 400;
	color: var(--encre);
}

/* H1 SEO affiché comme un surtitre : le titre porte les mots-clés,
 * l'accroche de marque garde le grand format (paragraphe « Accroche »). */
h1.is-style-fl-surtitre,
.single-content h1.is-style-fl-surtitre,
.entry-content h1.is-style-fl-surtitre {
	margin: 0 0 var(--espace-2);
	font-family: var(--font-sans);
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--encre-douce);
}

/* Accroche : style display-xl (ou display-l avec fl-accroche-l), sans valeur de titre. */
.is-style-fl-accroche,
.single-content p.is-style-fl-accroche {
	margin: 0 0 var(--espace-3);
	font-family: var(--font-display);
	font-size: 72px;
	line-height: 76px;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--encre);
}
.is-style-fl-accroche.fl-accroche-l,
.single-content p.is-style-fl-accroche.fl-accroche-l {
	font-size: 48px;
	line-height: 54px;
	letter-spacing: 0;
}
.is-style-fl-accroche em {
	font-style: italic;
	color: var(--terre-cuite);
}
.is-style-fl-accroche.fl-italique {
	font-style: italic;
}
@media (max-width: 1024px) {
	.is-style-fl-accroche,
	.single-content p.is-style-fl-accroche {
		font-size: 56px;
		line-height: 60px;
	}
}
@media (max-width: 767px) {
	.is-style-fl-accroche,
	.single-content p.is-style-fl-accroche {
		font-size: 40px;
		line-height: 46px;
	}
	.is-style-fl-accroche.fl-accroche-l,
	.single-content p.is-style-fl-accroche.fl-accroche-l {
		font-size: 32px;
		line-height: 38px;
	}
}

/* Titre de carte ou de style : Cormorant italique. */
.is-style-fl-titre-italique {
	font-style: italic;
}

@media (max-width: 720px) {
	.is-style-fl-chapeau {
		font-size: 16px;
		line-height: 26px;
	}
}

/* -------------------------------------------------------------------------
 * Étiquette ovale
 * ---------------------------------------------------------------------- */

.fl-etiquette,
.is-style-fl-etiquette {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	padding: 5px 14px;
	font-family: var(--font-sans);
	font-size: 11px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--encre);
	border: 1px solid var(--or-patine);
	border-radius: var(--arrondi-ovale);
	background: transparent;
}
.fl-etiquette--sauge {
	background: var(--sauge);
	border-color: var(--sauge);
	color: var(--sur-accent);
}

/* -------------------------------------------------------------------------
 * Sections (styles de groupe) : fond-100 et fond-200 en alternance
 * ---------------------------------------------------------------------- */

/* Sélecteurs renforcés : Kadence remet à zéro le padding des blocs pleine largeur
 * (.entry-content .alignfull) et ajoute une marge basse aux groupes. */
.is-style-fl-section,
.is-style-fl-section-alt,
.is-style-fl-section-nuit,
.entry-content .alignfull.is-style-fl-section,
.entry-content .alignfull.is-style-fl-section-alt,
.entry-content .alignfull.is-style-fl-section-nuit {
	padding: var(--espace-6) var(--espace-4);
	margin-top: 0;
	margin-bottom: 0;
}
.is-style-fl-section {
	background-color: var(--fond-100);
}
.is-style-fl-section-alt {
	background-color: var(--fond-200);
}
.is-style-fl-section > *,
.is-style-fl-section-alt > *,
.is-style-fl-section-nuit > * {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}
.is-style-fl-section-nuit :where(h1, h2, h3, h4, p, li, summary) {
	color: var(--encre);
}

/* Les sections pleine largeur s'enchaînent sans marge. */
.entry-content > .alignfull + .alignfull {
	margin-top: 0;
}

@media (max-width: 720px) {
	.is-style-fl-section,
	.is-style-fl-section-alt,
	.is-style-fl-section-nuit,
	.entry-content .alignfull.is-style-fl-section,
	.entry-content .alignfull.is-style-fl-section-alt,
	.entry-content .alignfull.is-style-fl-section-nuit {
		padding: var(--espace-5) var(--espace-3);
	}
}

/* Dernier élément d'une section ou d'une carte : pas de marge basse ajoutée par Kadence. */
.single-content :where(.is-style-fl-section, .is-style-fl-section-alt, .is-style-fl-section-nuit, .fl-carte-style, .fl-avis) > :last-child {
	margin-bottom: 0;
}
.single-content .fl-carte-style .wp-block-group {
	margin-bottom: 0;
}

/* En-tête de section : surtitre, titre, chapeau. */
.fl-entete-section {
	display: flex;
	flex-direction: column;
	gap: var(--espace-2);
	max-width: 720px;
	margin-bottom: var(--espace-5);
}
/*
 * Kadence insère un conteneur (.wp-block-group__inner-container) entre le groupe et ses blocs :
 * l'espacement de 16 px s'applique aussi à l'intérieur, sinon les titres gardent leurs marges
 * par défaut (72 à 108 px sous le surtitre).
 */
.fl-entete-section > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: var(--espace-2);
}
.fl-entete-section > *,
.entry-content .fl-entete-section > *,
.fl-entete-section > .wp-block-group__inner-container > *,
.entry-content .fl-entete-section > .wp-block-group__inner-container > * {
	margin: 0;
}
/* Boutons dans un en-tête : un peu plus d'air au-dessus (32 px en tout). */
.fl-entete-section > .wp-block-group__inner-container > .wp-block-buttons,
.entry-content .fl-entete-section > .wp-block-group__inner-container > .wp-block-buttons {
	margin-top: var(--espace-2);
}
/* En-tête des pages du configurateur (Créer mon portrait, portrait hommage) : titre sur deux lignes. */
.fl-entete-section.fl-entete-configurateur {
	max-width: 960px;
}
.fl-entete-configurateur h1 {
	text-wrap: balance;
}
.fl-entete-section.fl-centre,
.fl-entete-section.fl-centre > .wp-block-group__inner-container {
	align-items: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* -------------------------------------------------------------------------
 * Ornement : filet or patiné interrompu par un petit ovale
 * ---------------------------------------------------------------------- */

.wp-block-separator.is-style-fl-ornement {
	position: relative;
	width: 160px;
	max-width: 100%;
	height: 14px;
	margin: var(--espace-3) auto;
	border: 0;
	background:
		radial-gradient(ellipse 5px 7px at center, transparent 4px, var(--or-patine) 4.5px, var(--or-patine) 5px, transparent 5.5px) center / 12px 14px no-repeat,
		linear-gradient(var(--or-patine), var(--or-patine)) left center / calc(50% - 14px) 1px no-repeat,
		linear-gradient(var(--or-patine), var(--or-patine)) right center / calc(50% - 14px) 1px no-repeat;
	opacity: 1;
}

/* -------------------------------------------------------------------------
 * Visuels : portrait encadré, médaillon, emplacement factice
 * ---------------------------------------------------------------------- */

/* Portrait encadré : cadre encre, passe-partout, seule ombre du système.
 * Les proportions de l'image sont conservées (pas de recadrage du portrait). */
.wp-block-image.is-style-fl-portrait {
	margin: 0;
}
.wp-block-image.is-style-fl-portrait img {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 9%;
	background: var(--fond-100);
	border: 12px solid var(--encre);
	box-shadow: var(--ombre-cadre);
}
/* Cadre ivoire, souligné d'un filet. */
.wp-block-image.is-style-fl-portrait.fl-cadre-ivoire img {
	border-color: var(--fond-100);
	outline: 1px solid var(--filet);
}

/* Médaillon ovale (photo d'origine, vignette d'avis, hommage), centré sur le visage. */
.wp-block-image.is-style-fl-medaillon {
	position: relative;
	width: 200px;
	max-width: 100%;
	margin: 0 auto;
}
.wp-block-image.is-style-fl-medaillon.fl-medaillon--grand {
	width: 260px;
}
.wp-block-image.is-style-fl-medaillon img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: 50% 42%;
	border-radius: 50%;
}

/* Mise en situation (photo du portrait encadré chez soi) : aucun cadre ajouté. */
.wp-block-image.fl-mise-en-situation {
	margin: 0;
}
.wp-block-image.fl-mise-en-situation img {
	display: block;
	width: 100%;
	height: auto;
}

/* Visuel d'une carte de style : 4/5, recadré sur le sujet, comme les emplacements factices.
 * (Kadence enveloppe le contenu des groupes : pas de sélecteur « enfant direct ».) */
.fl-carte-style .wp-block-image.fl-carte-style__visuel,
.single-content .fl-carte-style .wp-block-image.fl-carte-style__visuel {
	margin: 0;
}
.fl-carte-style .wp-block-image.fl-carte-style__visuel img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 45%;
}

@media (max-width: 781px) {
	.wp-block-image.is-style-fl-medaillon.fl-medaillon--grand {
		width: 200px;
	}
}
.wp-block-image.is-style-fl-medaillon::after {
	content: "";
	position: absolute;
	inset: -7px;
	border: 1px solid var(--or-patine);
	border-radius: 50%;
	pointer-events: none;
}

/* Emplacement factice tant qu'il n'y a pas de vrai portrait
 * (jamais de photo de banque d'images à la place). */
.fl-factice {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--espace-2);
	aspect-ratio: 4 / 5;
	padding: var(--espace-2);
	background: var(--fond-300);
	color: var(--encre-douce);
	text-align: center;
}
.fl-factice::before {
	content: "";
	width: 46%;
	aspect-ratio: 3 / 4;
	max-height: 62%;
	border: 1px solid var(--or-patine);
	border-radius: 50%;
}
.fl-factice > * {
	margin: 0;
	font-size: 13px;
	line-height: 20px;
	letter-spacing: 0.04em;
}
.fl-factice.fl-portrait-cadre {
	aspect-ratio: 3 / 4;
	border: 12px solid var(--encre);
	box-shadow: var(--ombre-cadre);
	outline: 0;
	background:
		linear-gradient(var(--fond-300), var(--fond-300)) center / 82% 86% no-repeat,
		var(--fond-100);
}
.fl-factice.fl-medaillon {
	width: 200px;
	max-width: 100%;
	aspect-ratio: 3 / 4;
	border-radius: 50%;
	margin-left: auto;
	margin-right: auto;
	outline: 1px solid var(--or-patine);
	outline-offset: 7px;
}
.fl-factice.fl-medaillon::before {
	display: none;
}

/* Prénom manuscrit sous un portrait. */
.fl-portrait-prenom {
	margin-top: var(--espace-2);
	text-align: center;
}

/* -------------------------------------------------------------------------
 * Héros
 * ---------------------------------------------------------------------- */

.fl-hero {
	align-items: center;
	gap: var(--espace-5);
}
.fl-hero .wp-block-heading {
	margin-top: 0;
}
.fl-hero__visuel {
	max-width: 380px;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 781px) {
	.fl-hero {
		flex-direction: column-reverse;
		gap: var(--espace-4);
	}
	.fl-hero__visuel {
		max-width: 260px;
	}
}

/* -------------------------------------------------------------------------
 * Page Hommage
 * ---------------------------------------------------------------------- */

.fl-hommage-hero {
	align-items: center;
	gap: var(--espace-5);
}
.fl-hommage-hero h1 {
	margin-top: 0;
}
.fl-factice.fl-medaillon--grand {
	width: 260px;
}

/* Engagements : trois colonnes, titres en italique, sans icône. */
.fl-engagements {
	gap: var(--espace-4);
	text-align: center;
}
.fl-engagements h3 {
	margin: 0 0 var(--espace-1);
	font-size: 24px;
	line-height: 30px;
	font-weight: 500;
}
.fl-engagements p {
	max-width: 320px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 24px;
	color: var(--encre-douce);
}

/* Deux cartes de style, centrées. */
.fl-styles-hommage {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.fl-hommage-fin {
	margin-bottom: 0;
}
.fl-hommage-fin .wp-block-buttons {
	justify-content: center;
}

@media (max-width: 781px) {
	.fl-hommage-hero {
		gap: var(--espace-4);
		text-align: center;
	}
	.fl-hommage-hero .wp-block-buttons {
		justify-content: center;
	}
	.fl-factice.fl-medaillon--grand {
		width: 200px;
	}
}

/* -------------------------------------------------------------------------
 * Section cadeau (« Offrir »)
 * ---------------------------------------------------------------------- */

.fl-cadeau {
	align-items: center;
	gap: var(--espace-5);
}
.fl-cadeau .wp-block-heading {
	margin-top: 0;
}

/* Portrait au cadre ivoire, filet fin autour. */
.fl-factice.fl-portrait-cadre.fl-cadre-ivoire {
	border-color: var(--fond-100);
	outline: 1px solid var(--filet);
}

/* Occasions : étiquettes ovales à contour or patiné. */
.fl-occasions,
.entry-content .fl-occasions {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--espace-1);
	margin: var(--espace-2) 0 0;
	padding: 0;
}
.fl-occasions li {
	margin: 0;
	padding: 5px 14px;
	font-size: 11px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--encre);
	border: 1px solid var(--or-patine);
	border-radius: var(--arrondi-ovale);
}

.fl-cadeau__action,
.single-content .wp-block-buttons.fl-cadeau__action {
	margin-top: var(--espace-3);
}

@media (max-width: 781px) {
	.fl-cadeau {
		gap: var(--espace-4);
	}
}

/* -------------------------------------------------------------------------
 * Carte de style
 * ---------------------------------------------------------------------- */

.fl-carte-style {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--fond-200);
	transition: background-color 0.2s ease;
}
.is-style-fl-section-alt .fl-carte-style {
	background: var(--fond-100);
}
.fl-carte-style:hover {
	background: var(--fond-300);
}
.fl-carte-style > .fl-factice,
.fl-carte-style > .wp-block-image {
	margin: 0;
}
.fl-carte-style > .wp-block-image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}
.fl-carte-style__corps {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: var(--espace-1);
	padding: var(--espace-3);
}
.fl-carte-style__corps > * {
	margin: 0;
}
.fl-carte-style__corps :is(h2, h3) {
	font-size: 24px;
	line-height: 30px;
	font-weight: 500;
	font-style: italic;
}
.fl-carte-style__corps p {
	font-size: 15px;
	line-height: 24px;
	color: var(--encre-douce);
}
.fl-carte-style__corps .fl-prix {
	margin-top: auto;
	padding-top: var(--espace-2);
	border-top: 1px solid var(--filet);
	color: var(--encre);
}
/* Bouton « Créer mon portrait » de la carte, pleine largeur sous le prix. */
.fl-carte-style__corps .wp-block-buttons {
	margin-top: var(--espace-1);
}
.fl-carte-style__corps .wp-block-buttons .wp-block-button,
.fl-carte-style__corps .wp-block-buttons .wp-block-button__link {
	width: 100%;
}

/* -------------------------------------------------------------------------
 * Prix (Cormorant)
 * ---------------------------------------------------------------------- */

.fl-prix strong,
.fl-prix .amount {
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 26px;
	font-weight: 500;
	color: var(--encre);
}

/* -------------------------------------------------------------------------
 * Étapes « Comment ça marche »
 * ---------------------------------------------------------------------- */

.fl-etapes {
	gap: var(--espace-4);
}
.fl-etape > * {
	margin: 0 0 var(--espace-1);
}
.fl-etape__numero {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 56px;
	line-height: 56px;
	color: var(--or-patine);
}
.fl-etape h3 {
	font-size: 24px;
	line-height: 30px;
	font-weight: 500;
	font-style: normal;
}
.fl-etape p:not(.fl-etape__numero) {
	font-size: 15px;
	line-height: 24px;
	color: var(--encre-douce);
}

/* -------------------------------------------------------------------------
 * Réassurance (liste avec icônes)
 * ---------------------------------------------------------------------- */

.is-style-fl-reassurance,
.is-style-fl-reassurance-colonnes,
.entry-content .is-style-fl-reassurance,
.entry-content .is-style-fl-reassurance-colonnes {
	list-style: none;
	margin: var(--espace-3) 0 0;
	padding: 0;
}
.is-style-fl-reassurance {
	display: flex;
	flex-wrap: wrap;
	gap: var(--espace-2) var(--espace-4);
}
.is-style-fl-reassurance li,
.is-style-fl-reassurance-colonnes li {
	display: flex;
	align-items: center;
	gap: var(--espace-1);
	margin: 0;
	font-size: 13px;
	line-height: 20px;
	color: var(--encre-douce);
}
.is-style-fl-reassurance li::before,
.is-style-fl-reassurance-colonnes li::before {
	color: var(--encre);
}
.is-style-fl-reassurance-colonnes,
.entry-content .is-style-fl-reassurance-colonnes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--espace-3);
	margin-top: var(--espace-5);
	padding: var(--espace-3) 0;
	border-top: 1px solid var(--filet);
	border-bottom: 1px solid var(--filet);
}
.is-style-fl-reassurance-colonnes li {
	flex-direction: column;
	text-align: center;
	font-size: 14px;
}
.is-style-fl-reassurance-colonnes li::before {
	width: 24px;
	height: 24px;
}

/* -------------------------------------------------------------------------
 * Avis client
 * ---------------------------------------------------------------------- */

.fl-avis {
	display: flex;
	flex-direction: column;
	gap: var(--espace-2);
	height: 100%;
	padding: var(--espace-4);
	background: var(--fond-200);
}
.is-style-fl-section-alt .fl-avis {
	background: var(--fond-100);
}
.fl-avis > * {
	margin: 0;
}
.fl-avis__note {
	letter-spacing: 0.2em;
	color: var(--encre);
}
.fl-avis blockquote,
.fl-avis .wp-block-quote {
	margin: 0;
	padding: 0;
	border: 0;
}
.fl-avis blockquote p {
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 32px;
	font-style: italic;
	font-weight: 500;
	color: var(--encre);
}
.fl-avis__auteur {
	font-size: 14px;
	line-height: 20px;
	color: var(--encre-douce);
}
.fl-avis__auteur .fl-signature {
	font-size: 26px;
	line-height: 30px;
}

/* -------------------------------------------------------------------------
 * FAQ (bloc Détails)
 * ---------------------------------------------------------------------- */

.is-style-fl-section > .fl-faq {
	max-width: 840px;
}
.fl-faq__action,
.single-content .wp-block-buttons.fl-faq__action,
.fl-section__action,
.single-content .wp-block-buttons.fl-section__action {
	margin-top: var(--espace-5);
}

.is-style-fl-faq {
	margin: 0;
	border-bottom: 1px solid var(--filet);
}
.is-style-fl-faq:first-of-type,
:not(.is-style-fl-faq) + .is-style-fl-faq {
	border-top: 1px solid var(--filet);
}
.is-style-fl-faq + .is-style-fl-faq {
	margin-top: 0;
}
.is-style-fl-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--espace-2);
	padding: var(--espace-3) 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 28px;
	font-weight: 500;
	color: var(--encre);
}
.is-style-fl-faq summary::-webkit-details-marker {
	display: none;
}
.is-style-fl-faq summary::after {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--fl-ic-plus) center / contain no-repeat;
	mask: var(--fl-ic-plus) center / contain no-repeat;
	transition: transform 0.25s ease;
}
.is-style-fl-faq[open] summary::after {
	transform: rotate(45deg);
}
.is-style-fl-faq > :not(summary) {
	max-width: 640px;
	margin: 0;
	padding-bottom: var(--espace-3);
	color: var(--encre-douce);
}

/* -------------------------------------------------------------------------
 * En-tête du site (Kadence)
 * ---------------------------------------------------------------------- */

/* Bandeau d'annonce (rangée du haut). */
.site-top-header-wrap .header-html,
.site-top-header-wrap .header-html p,
.mobile-html,
.mobile-html p {
	margin: 0;
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	color: var(--sur-accent);
}
.site-top-header-wrap .site-header-row-container-inner {
	padding-top: 10px;
	padding-bottom: 10px;
}

.site-main-header-wrap .site-header-row-container-inner {
	border-bottom: 1px solid var(--filet);
}

/* Navigation : liens encre, soulignés or patiné au survol. */
.header-navigation .menu > li > a {
	font-size: 14px;
	letter-spacing: 0.06em;
	color: var(--encre);
}
.header-navigation .menu > li > a:hover,
.header-navigation .menu > li.current-menu-item > a {
	color: var(--encre);
	text-decoration: underline;
	text-decoration-color: var(--or-patine);
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

/* Bouton de l'en-tête : secondaire (le principal est réservé au héros). */
.header-button-wrap .header-button,
.mobile-header-button-wrap .mobile-header-button {
	letter-spacing: 0.06em;
	box-shadow: none;
}

/* Menu mobile. */
#mobile-drawer .drawer-inner {
	background: var(--fond-100);
	color: var(--encre);
}
#mobile-drawer .mobile-navigation ul li > a {
	color: var(--encre);
	font-family: var(--font-display);
	font-size: 22px;
}

/* -------------------------------------------------------------------------
 * Pied de page (Kadence)
 * ---------------------------------------------------------------------- */

.site-footer-wrap {
	background: var(--fond-200);
}
.site-footer .widget-title,
.site-footer .wp-block-heading {
	margin: 0 0 var(--espace-2);
	font-family: var(--font-sans);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--encre-douce);
}
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-footer ul li {
	margin: 0 0 var(--espace-1);
}
.site-footer ul a {
	font-size: 14px;
	color: var(--encre);
	text-decoration: none;
}
.site-footer ul a:hover {
	text-decoration: underline;
	text-decoration-color: var(--or-patine);
	text-underline-offset: 4px;
}
.fl-pied__accroche {
	max-width: 280px;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 20px;
	line-height: 28px;
	color: var(--encre-douce);
}
.site-bottom-footer-wrap .site-footer-row-container-inner {
	border-top: 1px solid var(--filet);
}
.site-bottom-footer-wrap .footer-html,
.site-bottom-footer-wrap .footer-html-inner,
.site-bottom-footer-wrap .footer-html p {
	width: 100%;
	margin: 0;
	font-size: 12px;
	color: var(--encre-douce);
}
.site-bottom-footer-wrap .footer-html-inner p {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--espace-1);
}
.fl-pied__origine {
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Formulaires
 * ---------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select,
.wc-block-components-text-input input,
.wc-block-components-textarea {
	font-family: var(--font-sans);
	color: var(--encre);
	background-color: var(--fond-100);
	border: 1px solid var(--encre-douce);
	border-radius: var(--arrondi-1);
	box-shadow: none;
}
input:hover,
textarea:hover,
select:hover {
	background-color: var(--fond-200);
}
input[aria-invalid="true"],
textarea[aria-invalid="true"],
.woocommerce-invalid input,
.wc-block-components-text-input.has-error input {
	border: 2px solid var(--erreur);
}

/* -------------------------------------------------------------------------
 * WooCommerce
 * ---------------------------------------------------------------------- */

/* Prix en Cormorant ; pas de prix barré (le premium se joue dans le calme). */
.woocommerce .price,
.woocommerce-Price-amount,
.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.wc-block-formatted-money-amount {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--encre);
}
.woocommerce .price del,
.wc-block-components-product-price del {
	display: none;
}

/* Cartes produits : angles nets, fond-200, survol fond-300, sans ombre. */
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product.content-bg {
	background: var(--fond-200);
	box-shadow: none;
}
.woocommerce ul.products li.product:hover .product-details {
	background: var(--fond-300);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 24px;
	line-height: 30px;
	font-weight: 500;
}

/* Messages : couleur d'état + texte, jamais la couleur seule. */
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner.is-success,
.wc-block-components-notice-banner.is-info {
	background: var(--fond-200);
	color: var(--encre);
	border: 0;
	border-left: 2px solid var(--succes);
	border-radius: var(--arrondi-0);
}
.woocommerce-error,
.wc-block-components-notice-banner.is-error {
	background: var(--fond-200);
	color: var(--encre);
	border: 0;
	border-left: 2px solid var(--erreur);
	border-radius: var(--arrondi-0);
}

/* Validation de la commande : le seul bouton principal de l'écran. */
#place_order,
.woocommerce .checkout-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background-color: var(--terre-cuite);
	color: var(--sur-accent);
	border-color: var(--terre-cuite);
}
#place_order:hover,
.woocommerce .checkout-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background-color: var(--terre-cuite-survol);
	border-color: var(--terre-cuite-survol);
	color: var(--sur-accent);
}

/* Récapitulatif (panier, paiement) sur fond-200. */
.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-checkout__sidebar,
.wp-block-woocommerce-cart-order-summary-block {
	background: var(--fond-200);
}

/* Encadré des pages légales (ex. garantie légale de conformité dans les CGV) : groupe avec la classe fl-encadre. */
.fl-encadre {
	border: 1px solid var(--filet);
	background: var(--fond-200);
	padding: 24px;
	margin-block: 24px;
}
.fl-encadre > :first-child { margin-top: 0; }
.fl-encadre > :last-child { margin-bottom: 0; }
