/**
 * CSS : Page de détail fiche_etc — refonte mobile
 * Chargé sur single-fiche_etc et sur la page d'avis /commentaires/ (même template)
 * Template : template-parts/fiche_etc-new-single-content.php
 */

:root {
	--fiche-primary: #F87700;
	--fiche-primary-deep: #D96500;
	--fiche-primary-soft: #FFF1E2;
	--fiche-qualidog: #F78500; /* orange du visuel du label QUALIDOG (média 129774) */
	--fiche-teal: #2FA79B;
	--fiche-teal-deep: #1C5E57;
	--fiche-teal-soft: #E5F4F2;
	--fiche-dark: #17332E;
	--fiche-text: #46605B;
	--fiche-muted: #6B7A77;
	--fiche-line: #EAE2D6;
	--fiche-cream: #FBF7F1;
	--fiche-bg-soft: #FFF7EF;
	--fiche-radius: var(--radius, 14px);
	--fiche-radius-sm: var(--radius-minus, 8px);
	--fiche-radius-lg: 22px;
	--fiche-shadow: 0 2px 10px rgba(23, 51, 46, 0.08);
	--fiche-shadow-lift: 0 2px 4px rgba(23, 51, 46, 0.05), 0 18px 40px rgba(23, 51, 46, 0.12);
	--fiche-display: "Barlow", sans-serif;
	--fiche-header-h: 61px; /* hauteur de l'en-tête du site, fixé au scroll : les éléments sticky se collent dessous */
	--fiche-anchors-top: var(--fiche-header-h);
}

@media (max-width: 767px) {
	:root {
		--fiche-header-h: 53px;
	}
}

/* Sticky (menu d'ancres, colonne des avis) : le thème met html, body et #page-content en overflow-x: hidden,
   ce qui en fait des conteneurs de défilement et bloque position: sticky. overflow-x: clip coupe toujours
   le débordement horizontal sans créer de conteneur de défilement. Limité à la fiche et à sa page d'avis. */
html:has(body.single-fiche_etc),
html:has(body.fiche-etc-comments),
body.single-fiche_etc,
body.fiche-etc-comments,
body.single-fiche_etc #page-content,
body.fiche-etc-comments #page-content {
	overflow-x: clip !important;
}

/* Connecté : la barre d'admin WordPress (fixe à partir de 601px) s'ajoute au-dessus de l'en-tête */
@media (min-width: 601px) {
	body.admin-bar {
		--fiche-anchors-top: calc(var(--fiche-header-h) + 46px);
	}
}

@media (min-width: 783px) {
	body.admin-bar {
		--fiche-anchors-top: calc(var(--fiche-header-h) + 32px);
	}
}

.fiche-etc-single {
	color: var(--fiche-dark);
	background: var(--fiche-cream);
	padding: 16px 0 48px;
}

/* ============================================================
   1. Galerie
   Mobile : grille 2x2 (4 premières photos).
   Desktop : carrousel pleine largeur, 4 photos visibles au format 1:1.
   ============================================================ */
.fiche-gallery {
	--fiche-gallery-gutter: 15px; /* aligné sur la gouttière du .container */
	position: relative;
	margin-bottom: 20px;
	padding: 0 var(--fiche-gallery-gutter);
}

.fiche-gallery__track {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.fiche-gallery__item {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--fiche-radius);
	background: #EEE;
	overflow: hidden;
}

/* Loader affiché tant que la photo n'est pas chargée (classe is-loaded posée par single-new.js) */
.fiche-gallery__item::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border: 3px solid rgba(248, 119, 0, 0.2);
	border-top-color: var(--fiche-primary);
	border-radius: 50%;
	animation: fiche-spin 0.8s linear infinite;
	transition: opacity 0.3s ease;
}

.fiche-gallery__item.is-loaded::after {
	opacity: 0;
	animation: none;
}

@keyframes fiche-spin {
	to {
		transform: rotate(360deg);
	}
}

.fiche-gallery__item img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease, opacity 0.4s ease;
}

/* Fondu à l'arrivée de la photo, uniquement si le JS gère le chargement (sinon les photos restent visibles) */
.fiche-gallery.is-enhanced .fiche-gallery__item img {
	opacity: 0;
}

.fiche-gallery.is-enhanced .fiche-gallery__item.is-loaded img {
	opacity: 1;
}

.fiche-gallery__item:hover img {
	transform: scale(1.03);
}

/* Mobile : seules les 4 premières photos sont dans la grille, les autres restent accessibles dans la visionneuse */
.fiche-gallery__item:nth-child(n+5) {
	display: none;
}

/* 1 photo : pleine largeur */
.fiche-gallery--count-1 .fiche-gallery__track {
	grid-template-columns: 1fr;
}
.fiche-gallery--count-1 .fiche-gallery__item {
	aspect-ratio: 3 / 2;
}

/* 3 photos : 1 large en haut, 2 en dessous */
.fiche-gallery--count-3 .fiche-gallery__item:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 3 / 2;
}

/* Photo unique (ou logo ETC à défaut) : fond flou fait de la même image (URL passée en --fiche-gallery-bg).
   Invisible derrière une photo en mobile (recadrée en plein cadre), visible autour en desktop */
.fiche-gallery--count-1 .fiche-gallery__item::before {
	content: "";
	position: absolute;
	inset: -30px;
	background: var(--fiche-gallery-bg) center / cover no-repeat;
	filter: blur(28px) brightness(0.92);
}

/* Aucune photo : le logo ETC prend la place d'une photo unique, ajusté dans le cadre au lieu d'être recadré */
.fiche-gallery.fiche-gallery--empty .fiche-gallery__item img {
	box-sizing: border-box;
	padding: 6%;
	object-fit: contain;
	box-shadow: none;
}

/* Fond flou du logo atténué (aplats orange très présents une fois agrandis) */
.fiche-gallery--empty .fiche-gallery__item::before {
	opacity: 0.45;
}

.fiche-gallery__badges {
	position: absolute;
	top: 10px;
	left: calc(var(--fiche-gallery-gutter) + 10px);
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}

.fiche-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--fiche-radius-sm);
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font: 500 12px/1.6 var(--fiche-display);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.fiche-badge--qualidog {
	background: rgba(248, 119, 0, 0.9);
}

.fiche-badge--coup-coeur {
	background: rgba(47, 167, 155, 0.9);
}

.fiche-gallery__more {
	position: absolute;
	right: calc(var(--fiche-gallery-gutter) + 12px);
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--fiche-dark);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: var(--fiche-shadow);
	cursor: pointer;
}

.fiche-gallery__more:hover,
.fiche-gallery__more:focus-visible {
	background: var(--fiche-bg-soft);
}

.fiche-gallery__nav {
	display: none;
}

@media (min-width: 768px) {
	.fiche-gallery {
		--fiche-gallery-gutter: 20px;
	}

	.fiche-gallery__track {
		display: flex;
		gap: 20px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		scrollbar-width: none;
	}

	.fiche-gallery__track::-webkit-scrollbar {
		display: none;
	}

	.fiche-gallery__item,
	.fiche-gallery__item:nth-child(n+5),
	.fiche-gallery--count-1 .fiche-gallery__item,
	.fiche-gallery--count-3 .fiche-gallery__item:first-child {
		display: block;
		flex: 0 0 calc((100% - 60px) / 4);
		aspect-ratio: 1 / 1;
		scroll-snap-align: start;
	}

	.fiche-gallery__nav {
		position: absolute;
		top: 50%;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin-top: -20px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #fff;
		color: var(--fiche-dark);
		box-shadow: var(--fiche-shadow);
		cursor: pointer;
	}

	.fiche-gallery__nav--prev {
		left: calc(var(--fiche-gallery-gutter) + 12px);
	}

	.fiche-gallery__nav--next {
		right: calc(var(--fiche-gallery-gutter) + 12px);
	}

	/* Moins de 4 photos : même hauteur que le carrousel à 4 photos carrées, sans trou à droite.
	   Hauteur = (largeur de la galerie - 3 gouttières de 20px) / 4, via les unités de conteneur (cqw) */
	.fiche-gallery--count-1,
	.fiche-gallery--count-2,
	.fiche-gallery--count-3 {
		container-type: inline-size;
	}

	.fiche-gallery--count-1 .fiche-gallery__item,
	.fiche-gallery--count-2 .fiche-gallery__item,
	.fiche-gallery--count-3 .fiche-gallery__item {
		height: calc((100cqw - 60px) / 4);
		aspect-ratio: auto;
	}

	/* 2 photos : une moitié chacune */
	.fiche-gallery--count-2 .fiche-gallery__item {
		flex: 0 0 calc((100% - 20px) / 2);
	}

	/* 3 photos : un tiers chacune */
	.fiche-gallery--count-3 .fiche-gallery__item {
		flex: 0 0 calc((100% - 40px) / 3);
	}

	/* 1 photo : entière en 3/2 au centre, sur un fond flou fait de la même image */
	.fiche-gallery--count-1 .fiche-gallery__item {
		flex: 0 0 100%;
	}

	.fiche-gallery--count-1 .fiche-gallery__item img {
		display: block;
		width: auto;
		max-width: 100%;
		height: 100%;
		margin: 0 auto;
		aspect-ratio: 3 / 2;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	}

	.fiche-gallery--count-1 .fiche-gallery__item:hover img {
		transform: none;
	}
}

/* ============================================================
   2. En-tête
   ============================================================ */
.fiche-header {
	margin-bottom: 24px;
}

.fiche-header__meta {
	margin-bottom: 4px;
	color: var(--fiche-muted);
	font-size: 14px;
}

/* Liens soulignés (catégorie, ville, département, pays) pour les distinguer du texte simple */
.fiche-header__meta a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}

.fiche-header__meta a:hover,
.fiche-header__meta a:focus-visible {
	color: var(--fiche-primary-deep);
}

.fiche-etc-single .fiche-header__title {
	margin: 0 0 6px;
	color: var(--fiche-dark);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

/* Accroche : sous-titre du H1, mise en avant */
.fiche-header__tagline {
	max-width: 60ch;
	margin: 4px 0 16px;
	color: var(--fiche-text);
	font: 400 18px/1.5 var(--fiche-display);
}

.fiche-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Mobile : titre > accroche > infos (catégorie - ville - département - pays), puis chips et notes.
   Le HTML garde l'ordre desktop (infos > titre > accroche) ; la colonne flex réordonne sans toucher au DOM. */
@media (max-width: 767px) {
	.fiche-header {
		display: flex;
		flex-direction: column;
	}

	.fiche-header > * {
		order: 4;
	}

	.fiche-etc-single .fiche-header__title {
		order: 1;
	}

	/* Pas de fusion des marges en flex : on garde l'écart titre / accroche d'origine (6px) */
	.fiche-header__tagline {
		order: 2;
		margin: 0 0 8px;
	}

	.fiche-header__meta {
		order: 3;
		margin-bottom: 16px;
	}
}

.fiche-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--fiche-line);
	border-radius: 999px;
	background: #fff;
	color: var(--fiche-dark);
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(23, 51, 46, 0.05);
}

.fiche-chip i {
	color: var(--fiche-primary);
	font-size: 12px;
}

a.fiche-chip:hover {
	border-color: var(--fiche-teal);
	color: var(--fiche-dark);
}

.fiche-chip--rating strong {
	color: var(--fiche-teal);
}

/* Notes de l'en-tête : alertes façon Tailwind. Par défaut grise (gray-50 / gray-200 / gray-600),
   ex. « Cette adresse a été partagée par un Wouafer's » */
.fiche-note {
	margin-top: 14px;
	padding: 6px 12px;
	border: 1px solid #e5e7eb;
	border-radius: var(--fiche-radius);
	background: #f9fafb;
	color: #4b5563;
	font-size: 13px;
	line-height: 1.5;
}

/* Code promo : palette teal (teal-50 / teal-200 / teal-600 / teal-800 / teal-900), avec icône */
.fiche-note--promo {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border-color: #99f6e4;
	background: #f0fdfa;
	color: #115e59;
}

.fiche-note--promo > i {
	flex: none;
	margin-top: 4px;
	color: #0d9488;
}

.fiche-note--promo strong {
	color: #134e4a;
}

.fiche-note p:last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.fiche-etc-single {
		padding-top: 24px;
	}

	/* Conteneur central desktop */
	.fiche-etc-single > .container {
		max-width: 1100px;
	}
}

/* ============================================================
   Éléments communs : sections, cartes, titres, textes, boutons
   ============================================================ */
.fiche-section {
	margin-top: 24px;
	scroll-margin-top: calc(var(--fiche-anchors-top) + 70px);
}

.fiche-card {
	padding: 22px 18px;
	border: 1px solid var(--fiche-line);
	border-radius: var(--fiche-radius-lg);
	background: #fff;
	box-shadow: var(--fiche-shadow);
}

/* Titre de section : libellé court orange en capitales, précédé d'un trait */
.fiche-etc-single .fiche-section__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--fiche-primary-deep);
	font: 700 16px/1.3 var(--fiche-display);
	letter-spacing: 2.5px;
	text-transform: uppercase;
}

.fiche-etc-single .fiche-section__title::before {
	content: "";
	flex: none;
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.fiche-etc-single h3 {
	margin: 0 0 12px;
	color: var(--fiche-dark);
	font: 700 17px/1.3 var(--fiche-display);
}

/* Contenus WYSIWYG */
.fiche-prose {
	color: var(--fiche-text);
	font-size: 15px;
	line-height: 1.7;
}

.fiche-prose > :first-child {
	margin-top: 0;
}

.fiche-prose > :last-child {
	margin-bottom: 0;
}

.fiche-prose p {
	margin: 0 0 14px;
}

.fiche-prose strong {
	color: var(--fiche-dark);
}

.fiche-prose a {
	color: var(--fiche-teal-deep);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fiche-prose ul {
	margin: 0 0 14px;
	padding-left: 20px;
}

.fiche-prose li {
	margin-bottom: 6px;
}

.fiche-prose li::marker {
	color: var(--fiche-primary);
}

.fiche-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--fiche-radius-sm);
}

/* Boutons */
.fiche-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 700 15px/1.2 var(--fiche-display);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.fiche-btn:active {
	transform: scale(0.98);
}

.fiche-btn--primary {
	background: var(--fiche-primary);
	color: #fff;
	box-shadow: 0 8px 20px rgba(248, 119, 0, 0.25);
}

.fiche-btn--primary:hover,
.fiche-btn--primary:focus-visible {
	background: var(--fiche-primary-deep);
	color: #fff;
}

.fiche-btn--ghost {
	border-color: #FFD2A6;
	background: #fff;
	color: var(--fiche-primary-deep);
}

.fiche-btn--ghost:hover,
.fiche-btn--ghost:focus-visible {
	background: var(--fiche-primary-soft);
	color: var(--fiche-primary-deep);
}

.fiche-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
}

/* "Voir plus" (details/summary) et "Lire le descriptif complet" */
.fiche-more {
	margin-top: 14px;
}

.fiche-more summary,
.fiche-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fiche-primary-deep);
	font: 700 15px var(--fiche-display);
	list-style: none;
	cursor: pointer;
}

.fiche-more summary::-webkit-details-marker {
	display: none;
}

.fiche-more summary i,
.fiche-toggle i {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--fiche-primary-soft);
	font-size: 11px;
	transition: transform 0.3s ease;
}

.fiche-more[open] summary i,
.fiche-toggle[aria-expanded="true"] i {
	transform: rotate(45deg);
}

.fiche-more__list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.fiche-more__list li {
	position: relative;
	padding: 8px 0 8px 24px;
	border-bottom: 1px dashed var(--fiche-line);
	color: var(--fiche-text);
	font-size: 15px;
}

.fiche-more__list li::before {
	content: "\f00c";
	position: absolute;
	top: 10px;
	left: 2px;
	color: var(--fiche-teal);
	font: 900 12px "Font Awesome 5 Free";
}

.fiche-collapsible {
	position: relative;
	max-height: var(--fiche-collapsed-height, 220px);
	overflow: hidden;
}

/* « L'accueil réservé à votre chien » : 12 lignes visibles une fois replié (interligne .fiche-prose : 1.7) */
#fiche-collapsible-chien {
	--fiche-collapsed-height: calc(12 * 1.7em);
}

.fiche-collapsible::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 90px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.fiche-collapsible.is-open,
.fiche-collapsible.is-short {
	max-height: none;
}

.fiche-collapsible.is-open::after,
.fiche-collapsible.is-short::after {
	opacity: 0;
}

.fiche-toggle {
	margin-top: 12px;
}

.fiche-toggle[hidden] {
	display: none;
}

/* ============================================================
   3. Est-ce fait pour votre chien ?
   ============================================================ */
/* Mobile : badge centré entre le titre et les cases */
.fiche-seal {
	flex: none;
	width: 150px;
	margin: 0 auto 18px;
	text-align: center;
}

.fiche-seal__label {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(23, 51, 46, 0.22);
}

/* Nombre de truffes sous le visuel, en orange du label */
.fiche-seal__truffes {
	display: block;
	margin-top: 8px;
	color: var(--fiche-qualidog);
	font: 700 16px/1.2 var(--fiche-display);
}

.fiche-dog-fit__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* Mobile / tablette : le badge QUALIDOG devient la première case de la grille.
   La grille des cases est "dissoute" (display: contents) et c'est la section qui fait la grille. */
@media (max-width: 767px) {
	.fiche-dog-fit--label {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.fiche-dog-fit--label > .fiche-section__title,
	.fiche-dog-fit--label > .fiche-callout {
		grid-column: 1 / -1;
	}

	.fiche-dog-fit--label > .fiche-section__title {
		margin-bottom: 6px;
	}

	.fiche-dog-fit--label > .fiche-dog-fit__grid {
		display: contents;
	}

	.fiche-dog-fit--label > .fiche-seal {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: auto;
		margin: 0;
	}

	.fiche-dog-fit--label > .fiche-seal .fiche-seal__label {
		max-width: 130px;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.fiche-dog-fit--label {
		grid-template-columns: repeat(3, 1fr);
	}
}

.fiche-tile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border: 1px solid var(--fiche-line);
	border-radius: var(--fiche-radius);
	background: #fdfcfb;
}

.fiche-tile > i {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-bottom: 4px;
	border-radius: 9px;
	background: var(--fiche-teal-soft);
	color: var(--fiche-teal-deep);
	font-size: 13px;
}

.fiche-tile__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.fiche-tile__label {
	color: var(--fiche-muted);
	font-size: 12px;
	line-height: 1.3;
}

.fiche-tile__value {
	color: var(--fiche-dark);
	font: 700 15px/1.3 var(--fiche-display);
}

.fiche-tile__value small {
	display: block;
	margin-top: 2px;
	color: var(--fiche-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.fiche-callout {
	display: flex;
	gap: 12px;
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px solid #FFD9B0;
	border-radius: var(--fiche-radius);
	background: var(--fiche-primary-soft);
	color: var(--fiche-dark);
	font-size: 14px;
	line-height: 1.55;
}

.fiche-callout > i {
	margin-top: 3px;
	color: var(--fiche-primary);
}

.fiche-callout p:last-child {
	margin-bottom: 0;
}

/* ============================================================
   5. Avis : synthèse + slider + formulaire replié
   ============================================================ */
.fiche-stars {
	display: inline-flex;
	gap: 2px;
	color: #F5B301;
	font-size: 13px;
}

.fiche-reviews__summary {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fiche-reviews__score {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Nombre d'avis + étoiles, empilés et centrés verticalement face à la note */
.fiche-reviews__score-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.fiche-reviews__badge {
	flex: none;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: var(--fiche-teal);
	color: #fff;
	font: 800 20px/1 var(--fiche-display);
}

.fiche-reviews__count {
	display: block;
	color: var(--fiche-dark);
	font: 700 17px/1.3 var(--fiche-display);
}

/* Slider d'avis : 1 carte + aperçu de la suivante en mobile, 2 cartes en desktop */
.fiche-slider {
	margin-top: 18px;
}

.fiche-slider__track {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 -15px;
	padding: 8px 15px 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 15px;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.fiche-slider__track::-webkit-scrollbar {
	display: none;
}

.fiche-review-card {
	flex: 0 0 85%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--fiche-line);
	border-radius: var(--fiche-radius-lg);
	background: #fff;
	box-shadow: var(--fiche-shadow);
	scroll-snap-align: start;
}

.fiche-review-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fiche-review-card__author {
	flex: 1;
	min-width: 0;
}

.fiche-review-card__rating {
	display: contents;
}

/* Étoiles en haut à droite de la card */
.fiche-review-card__head .fiche-stars {
	flex: none;
	align-items: center;
	line-height: 1;
}

.fiche-review-card__avatar {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--fiche-cream);
	color: var(--fiche-dark);
	font: 700 14px var(--fiche-display);
}

.fiche-review-card__head strong {
	display: block;
	color: var(--fiche-dark);
	font: 700 15px/1.2 var(--fiche-display);
}

.fiche-review-card__head time {
	display: block;
	margin-top: 1px;
	color: var(--fiche-muted);
	font-size: 13px;
	line-height: 1.3;
}

.fiche-review-card__text {
	--fiche-review-lines: 6;
	max-height: calc(1.6em * var(--fiche-review-lines));
	margin: 0;
	overflow: hidden;
	color: var(--fiche-text);
	font-size: 15px;
	line-height: 1.6;
}

/* Guillemets verts juste avant le texte de l'avis */
.fiche-review-card__text::before {
	content: "\f10e";
	float: left;
	margin: 4px 10px 0 0;
	color: var(--fiche-teal);
	font: 900 20px/1 "Font Awesome 5 Free";
}

.fiche-review-card__text.is-open {
	max-height: none;
}

.fiche-review-card__more {
	align-self: flex-start;
	margin-top: -4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fiche-primary-deep);
	font: 700 14px var(--fiche-display);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.fiche-review-card__more[hidden] {
	display: none;
}

/* Page /commentaires/ : tous les avis en liste (paquets de 20 + "Voir plus") */
.fiche-reviews__list {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.fiche-reviews__list > [hidden] {
	display: none;
}

.fiche-reviews__list .fiche-review-card__text {
	--fiche-review-lines: 8;
}

.fiche-reviews__more {
	justify-self: center;
	margin-top: 4px;
}

/* Réponse (de l'établissement…) sous l'avis */
.fiche-review-card__reply {
	margin-top: 4px;
	padding: 12px 14px;
	border-left: 3px solid var(--fiche-teal);
	border-radius: 0 var(--fiche-radius-sm) var(--fiche-radius-sm) 0;
	background: var(--fiche-teal-soft);
	color: var(--fiche-text);
	font-size: 14px;
	line-height: 1.55;
}

.fiche-review-card__reply strong {
	color: var(--fiche-teal-deep);
	font: 700 14px var(--fiche-display);
}

.fiche-review-card__reply time {
	margin-left: 6px;
	color: var(--fiche-muted);
	font-size: 12px;
}

.fiche-review-card__reply div {
	margin-top: 4px;
}

.fiche-slider__nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 4px;
}

.fiche-slider__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--fiche-line);
	border-radius: 50%;
	background: #fff;
	color: var(--fiche-dark);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.fiche-slider__btn:hover,
.fiche-slider__btn:focus-visible {
	background: var(--fiche-dark);
	color: #fff;
}

.fiche-reviews__actions {
	margin-top: 14px;
}

/* Formulaire de dépôt */
.fiche-reviews__form {
	margin-top: 18px;
}

.fiche-reviews__form[hidden] {
	display: none;
}

.fiche-reviews__form .comment-reply-title {
	margin: 0 0 12px;
}

.fiche-reviews__form-title {
	color: var(--fiche-dark);
	font: 700 20px/1.3 var(--fiche-display);
}

.fiche-reviews__form .form-control {
	border: 1px solid var(--fiche-line);
	border-radius: var(--fiche-radius);
	background: var(--fiche-cream);
}

.fiche-reviews__form .form-control:focus {
	border-color: var(--fiche-primary);
	background: #fff;
	box-shadow: 0 0 0 3px var(--fiche-primary-soft);
}

/* Visiteur non connecté : créer son compte / se connecter (retour sur le formulaire ensuite) */
.fiche-reviews__login p {
	margin: 0;
	color: var(--fiche-text);
	font-size: 15px;
}

.fiche-reviews__login {
	margin-bottom: 20px;
}

.fiche-reviews__login .fiche-actions {
	margin-top: 14px;
}

.fiche-reviews__form .h-info {
	color: var(--fiche-muted);
	font-size: 13px;
}

/* Encart "Note globale" du formulaire (module d'avis) : même arrondi que les tuiles.
   Sélecteur plus fort que celui du thème (.comment-with-review #lt-comment-reviews …), dont le CSS est chargé après le nôtre */
#lt-comment-review.fiche-reviews__form #lt-comment-reviews .comment-reviews-content .avg-total-tmp {
	border-radius: var(--fiche-radius);
}

/* Bouton "Publier mon avis" aligné sur .fiche-btn--primary.
   Sélecteur renforcé : le thème cible input[type*="submit"]:not(.fa):not(.btn-theme) (radius 4px, majuscules…) */
.fiche-etc-single .fiche-reviews__form input[type="submit"]:not(.fa):not(.btn-theme) {
	height: auto;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--fiche-primary);
	color: #fff;
	font: 700 15px/1.2 var(--fiche-display);
	letter-spacing: 0;
	text-transform: none;
	box-shadow: 0 8px 20px rgba(248, 119, 0, 0.25);
	transition: background 0.2s ease, transform 0.15s ease;
}

.fiche-etc-single .fiche-reviews__form input[type="submit"]:not(.fa):not(.btn-theme):hover,
.fiche-etc-single .fiche-reviews__form input[type="submit"]:not(.fa):not(.btn-theme):focus-visible {
	background: var(--fiche-primary-deep);
	color: #fff;
}

@media (min-width: 768px) {
	.fiche-reviews__summary {
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}

	.fiche-reviews__badge {
		width: 72px;
		height: 72px;
		font-size: 24px;
	}

	.fiche-slider__track {
		margin: 0;
		padding: 8px 0 18px;
		scroll-padding: 0;
	}

	.fiche-review-card {
		flex-basis: calc((100% - 14px) / 2);
	}

	/* Note globale + boutons à gauche, avis à droite, formulaire sur toute la largeur */
	.fiche-reviews--split {
		display: grid;
		grid-template-columns: 300px minmax(0, 1fr);
		grid-template-rows: auto auto 1fr auto;
		grid-template-areas:
			"title   title"
			"summary slider"
			"actions slider"
			"form    form";
		column-gap: 28px;
	}

	.fiche-reviews--split > .fiche-section__title { grid-area: title; }
	.fiche-reviews--split > .fiche-reviews__actions { grid-area: actions; align-self: start; }
	.fiche-reviews--split > .fiche-reviews__form { grid-area: form; }

	.fiche-reviews--split > .fiche-reviews__summary {
		grid-area: summary;
		align-self: start;
		margin-top: 8px; /* aligné sur le haut des cartes d'avis (padding du slider) */
		padding: 24px;
	}

	.fiche-reviews--split > .fiche-slider,
	.fiche-reviews--split > .fiche-reviews__list {
		grid-area: slider;
		margin-top: 0;
	}

	/* Liste : même décalage vertical que les cartes du slider, alignées sur la note */
	.fiche-reviews--split > .fiche-reviews__list {
		padding-top: 8px;
	}

	/* Page /commentaires/ : note + boutons dans une colonne qui reste visible au scroll de la liste */
	.fiche-reviews--split > .fiche-reviews__aside {
		position: sticky;
		top: calc(var(--fiche-anchors-top) + 24px);
		grid-column: 1;
		grid-row: 2 / 4;
		align-self: start;
		margin-top: 8px;
	}

	.fiche-reviews__aside .fiche-reviews__summary {
		padding: 24px;
	}

	.fiche-reviews__aside .fiche-reviews__actions {
		flex-direction: column;
	}

	.fiche-reviews__aside .fiche-reviews__actions .fiche-btn {
		width: 100%;
	}

	/* Boutons empilés sous la note, pleine largeur de la colonne */
	.fiche-reviews--split > .fiche-reviews__actions {
		flex-direction: column;
	}

	.fiche-reviews--split > .fiche-reviews__actions .fiche-btn {
		width: 100%;
	}
}

/* ============================================================
   6. Widget de réservation
   ============================================================ */
/* Widget vide (div itea pas encore remplie par son script, ou widget en erreur) : encart « Disponibilités »
   et lien de la nav d'ancres masqués ; ils réapparaissent dès que le script remplit la div */
.fiche-booking:has(> .fiche-booking__widget > div:empty),
.fiche-etc-single:has(.fiche-booking__widget > div:empty) .fiche-anchors a[href="#disponibilites"] {
	display: none;
}

/* Ancien code d'intégration en iframe (arrondi sur l'iframe : pas d'overflow sur le conteneur,
   qui couperait l'ombre du bouton du widget HTML/JS ci-dessous) */
.fiche-booking__widget iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
	border-radius: var(--fiche-radius);
}

/* ------------------------------------------------------------
   Widget de réservation itea en mode HTML/JS (data-widget-itea="resa")
   Le script itea ajoute sa feuille (itea_widget.v2.css) en fin de <head>, donc après celle-ci :
   tous les sélecteurs passent par .fiche-booking__widget pour être plus spécifiques que les siens
   (jusqu'à 4 classes + 4 éléments côté itea). Les !important ne contrent que ses propres !important.
   ------------------------------------------------------------ */
.fiche-booking__widget {
	--itea-cell: 40px;
	--itea-free: var(--fiche-teal);
	--itea-ask: var(--fiche-teal-soft);
	--itea-busy: #F3EEE6;
	--itea-request: var(--fiche-primary-soft);
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo {
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fiche-text);
	font-size: 14px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_title {
	margin: 0 0 14px;
	color: var(--fiche-dark);
	font: 600 17px/1.3 var(--fiche-display);
	text-align: left;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_title .nomGite {
	color: var(--fiche-primary-deep);
}

/* --- Calendrier --- */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend {
	position: relative;
	padding: 14px;
	border: 1px solid var(--fiche-line);
	border-radius: var(--fiche-radius);
	background: var(--fiche-cream);
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 4px;
	table-layout: fixed;
	background: none;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table caption {
	caption-side: top;
	height: 36px;
	margin: 0 0 6px;
	padding: 0 44px;
	border: 0;
	color: var(--fiche-dark);
	font: 700 16px/36px var(--fiche-display);
	text-align: center;
	text-transform: capitalize;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table th,
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table td {
	padding: 0;
	border: 0;
	background: none;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table thead th {
	padding: 0 0 4px;
	border: 0;
	color: var(--fiche-muted);
	font: 600 12px/1 var(--fiche-display);
	letter-spacing: 1px;
	text-transform: uppercase;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody tr:first-child td {
	padding-top: 0;
}

/* Jour : pastille arrondie (base = jour passé / sans info, en clair) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span {
	height: var(--itea-cell);
	padding: 0;
	overflow: hidden;
	border-radius: 10px;
	background: none;
	color: #B9C2C0;
	font: 600 14px/var(--itea-cell) var(--fiche-display);
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table a {
	display: block;
	text-decoration: none;
}

/* Libre, arrivée possible (réservable en ligne) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.spanCalendCliquable {
	background: var(--itea-free);
	color: #fff;
}

/* Libre, arrivée sur demande (contact propriétaire) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.canlendrier_classe_by_lettre_L,
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.spanCalendJour_libre {
	background: var(--itea-ask);
	box-shadow: inset 0 0 0 1px rgba(47, 167, 155, 0.35);
	color: var(--fiche-teal-deep);
}

/* Sur demande */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.spanCalendJour_inconnu,
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.canlendrier_classe_by_lettre_inconnu {
	background: var(--itea-request);
	color: var(--fiche-primary-deep);
}

/* Indisponible : barré, sans la diagonale d'itea */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.spanCalendJour_occupe {
	background: var(--itea-busy);
	color: #A9B3B1;
	text-decoration: line-through;
	text-decoration-color: rgba(107, 122, 119, 0.5);
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .spanCalendJour_occupe::after {
	content: none;
}

/* Après choix d'une date d'arrivée, le JS itea rend cliquable le 1er jour indisponible (départ possible) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.spanCalendJour_depart {
	background: linear-gradient(135deg, var(--itea-ask) 50%, var(--itea-busy) 50%) !important;
	box-shadow: inset 0 0 0 1px rgba(47, 167, 155, 0.35);
	color: var(--fiche-teal-deep);
	text-decoration: none;
	cursor: pointer;
}

/* Séjour sélectionné (classes ajoutées par le JS itea au clic) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.spanCalendJour_periodeRecherchee {
	background: var(--fiche-primary) !important;
	box-shadow: none;
	color: #fff;
	text-decoration: none;
}

/* Jour d'arrivée du séjour en cours : le JS itea ne retire jamais spanCalendJour_debutSejour des anciens
   jours d'arrivée, mais leur retire spanCalendJour_periodeRecherchee → on exige les deux classes */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table tbody td span.spanCalendJour_debutSejour.spanCalendJour_periodeRecherchee {
	background: var(--fiche-primary-deep) !important;
	box-shadow: 0 6px 14px rgba(217, 101, 0, 0.3);
}

/* Survol / clavier d'un jour réservable */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table a:hover span,
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table a:focus-visible span {
	background: var(--fiche-primary);
	box-shadow: none;
	color: #fff;
	transform: translateY(-1px);
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend table a:focus-visible {
	outline: 2px solid var(--fiche-primary-deep);
	outline-offset: 2px;
	border-radius: 10px;
}

/* Mois précédent / suivant : boutons ronds de part et d'autre du mois. Le JS itea masque / réaffiche
   les flèches en style inline (display: none puis display: block) : :not([style*="none"]) respecte le
   masquage, et le !important passe outre le display: block réappliqué sur la flèche « précédent » */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navig {
	position: absolute;
	top: 14px;
	z-index: 1;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navigGauche {
	left: 18px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navigDroite {
	right: 18px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navig a:not([style*="none"]) {
	display: block !important;
	position: relative;
	width: 36px;
	height: 36px;
	border: 1px solid var(--fiche-line);
	border-radius: 50%;
	background-color: #fff;
	box-shadow: var(--fiche-shadow);
	color: transparent;
	font-size: 0;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navig a:hover {
	border-color: var(--fiche-primary);
	background-color: var(--fiche-primary-soft);
}

/* Chevron en SVG de fond, centré dans le rond (remplace l'icône FontAwesome 4 des pseudo-éléments itea) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navig a::before,
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navig a::after {
	content: none !important;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navigGauche a {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M10 3L5 8l5 5' fill='none' stroke='%2317332E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navigDroite a {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' fill='none' stroke='%2317332E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend .calendItea_navig a {
	background-position: center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
}

/* --- Légende : pastilles de couleur + libellé ---
   Le JS itea la masque au chargement : « Afficher la légende » l'ouvre (et se masque),
   un clic sur la légende la referme (et réaffiche le bouton) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .divBtLegendeCalendrierWidget {
	margin: 14px 0;
	font-size: 13px;
	text-align: left;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .divBtLegendeCalendrierWidget span {
	color: var(--fiche-teal-deep);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color 0.2s ease;
}

/* Pastille « i » devant le libellé */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .divBtLegendeCalendrierWidget span::before {
	content: "i";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--fiche-teal-soft);
	color: var(--fiche-teal-deep);
	font: 700 11px/16px var(--fiche-display);
	text-align: center;
	text-decoration: none;
	vertical-align: 1px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .divBtLegendeCalendrierWidget span:hover {
	color: var(--fiche-primary-deep);
}

/* Cliquable pour se refermer */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende {
	cursor: pointer;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende {
	margin: 14px 0 18px;
	padding: 0;
	overflow: visible;
	font-size: 13px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende li {
	display: flex;
	align-items: center;
	gap: 8px;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	color: var(--fiche-text);
	line-height: 1.3;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende li .spanCalendVisuel {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	border-radius: 5px;
	font-size: 0;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende li .spanCalendLibelle {
	padding: 0;
	font-size: 13px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende .spanCalendCliquable {
	background: var(--itea-free);
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende .spanCalendJour_libre {
	background: var(--itea-ask);
	box-shadow: inset 0 0 0 1px rgba(47, 167, 155, 0.35);
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende .spanCalendJour_occupe {
	background: var(--itea-busy);
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende .spanCalendJour_inconnu {
	background: var(--itea-request);
	box-shadow: inset 0 0 0 1px #FFD2A6;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende .spanCalendJour_depart {
	background: linear-gradient(135deg, var(--itea-ask) 50%, var(--itea-busy) 50%) !important;
	box-shadow: inset 0 0 0 1px rgba(47, 167, 155, 0.35);
}

/* --- Formulaire : date d'arrivée, durée, voyageurs --- */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_datedeb,
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_capa {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 8px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_duree {
	margin: 0 0 8px;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_capa_alert:empty {
	display: none;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_capa_alert {
	grid-column: 1 / -1;
	color: var(--fiche-primary-deep);
	font-size: 13px;
}

/* :nth-child(n) : dépasse la règle itea « select:last-child » (largeur réduite du 3e menu) */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_datedeb select:nth-child(n),
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_capa select:nth-child(n),
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_duree select:nth-child(n) {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 34px 0 14px;
	border: 1px solid var(--fiche-line);
	border-radius: 12px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2317332E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--fiche-dark);
	font: 500 14px/1.2 inherit;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo select:hover {
	border-color: #D8CCBA;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo select:focus {
	border-color: var(--fiche-teal);
	outline: none;
	box-shadow: 0 0 0 3px rgba(47, 167, 155, 0.18);
}

/* Bouton Réserver : même rendu que .fiche-btn--primary */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_valid {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: none;
	min-height: 50px;
	margin: 14px 0 0;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--fiche-primary);
	box-shadow: 0 8px 20px rgba(248, 119, 0, 0.25);
	color: #fff;
	font: 700 16px/1.2 var(--fiche-display);
	transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_valid:hover {
	background: var(--fiche-primary-deep);
	color: #fff;
}

.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_valid:active {
	transform: scale(0.98);
}

/* Tant que la date n'est pas choisie */
.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_valid.disabled {
	background: var(--fiche-primary);
	box-shadow: none;
	color: #fff;
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
}

@media (max-width: 767px) {
	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_navigEtCalend {
		padding: 10px;
	}

	/* Menus étroits (3 par ligne) : moins de marge pour ne pas tronquer « Enfants » */
	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_datedeb select:nth-child(n),
	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .div_itea_widget_resa_capa select:nth-child(n) {
		padding: 0 26px 0 10px;
		background-position: right 10px center;
	}
}

/* Desktop : calendrier à gauche, légende + formulaire à droite */
@media (min-width: 768px) {
	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_form {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		grid-template-rows: auto repeat(5, auto) 1fr;
		column-gap: 32px;
		align-items: start;
	}

	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_title {
		grid-column: 1 / -1;
	}

	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_dispo {
		grid-column: 1;
		grid-row: 2 / -1;
	}

	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .itea_widget_resa_form > :not(.itea_widget_resa_title):not(.itea_widget_dispo) {
		grid-column: 2;
	}

	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .calendItea_legende {
		margin-top: 0;
	}

	.fiche-booking__widget .divContentWidgetAvecCss .widgetIteaCalendrierDispo .divBtLegendeCalendrierWidget {
		margin: 0 0 14px;
	}
}

/* ============================================================
   7. Ancres sticky
   ============================================================ */
.fiche-anchors {
	position: sticky;
	top: var(--fiche-anchors-top);
	z-index: 50;
	display: flex;
	gap: 6px;
	margin: 32px -15px 0;
	padding: 10px 15px;
	overflow-x: auto;
	background: rgba(251, 247, 241, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	scrollbar-width: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fiche-anchors::-webkit-scrollbar {
	display: none;
}

.fiche-anchors.is-stuck {
	border-bottom-color: var(--fiche-line);
	box-shadow: 0 10px 20px -10px rgba(23, 51, 46, 0.08);
}

.fiche-anchors a {
	flex: none;
	padding: 7px 14px;
	border: 1px solid var(--fiche-line);
	border-radius: 999px;
	background: #fff;
	color: var(--fiche-text);
	font: 600 14px/1.3 var(--fiche-display);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fiche-anchors a:hover {
	border-color: var(--fiche-primary);
	color: var(--fiche-dark);
}

.fiche-anchors a.is-active {
	border-color: var(--fiche-primary);
	background: var(--fiche-primary);
	color: #fff;
}

.fiche-anchors .fiche-anchors__reserve {
	border-color: var(--fiche-primary);
	color: var(--fiche-primary-deep);
}

/* ============================================================
   9. Critères QUALIDOG / 13. Services sur place
   ============================================================ */
.fiche-criteria__top,
.fiche-services__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fiche-criteria__top li,
.fiche-services__top li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--fiche-line);
	border-radius: var(--fiche-radius);
	background: #fff;
	color: var(--fiche-dark);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
}

.fiche-criteria__top li > i,
.fiche-services__top li > i {
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	font-size: 13px;
}

.fiche-criteria__top li > i {
	background: var(--fiche-teal-soft);
	color: var(--fiche-teal-deep);
}

.fiche-services__top li > i {
	background: var(--fiche-primary-soft);
	color: var(--fiche-primary-deep);
}

.fiche-criteria__top li span,
.fiche-services__top li span {
	padding-top: 5px;
}

/* ============================================================
   10. Accordéon tarifs détaillés
   ============================================================ */
.fiche-accordion.fiche-card {
	padding: 0;
}

.fiche-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
	list-style: none;
	cursor: pointer;
}

.fiche-accordion summary::-webkit-details-marker {
	display: none;
}

.fiche-etc-single .fiche-accordion .fiche-section__title {
	margin: 0;
}

.fiche-accordion summary > i {
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--fiche-primary-soft);
	color: var(--fiche-primary-deep);
	transition: transform 0.3s ease;
}

.fiche-accordion[open] summary > i {
	transform: rotate(45deg);
}

.fiche-accordion__body {
	padding: 0 18px 20px;
}

/* ============================================================
   11. Réserver en direct
   ============================================================ */
.fiche-direct.fiche-card {
	position: relative;
	overflow: hidden;
	border: 0;
	background: var(--fiche-teal-deep);
	color: #fff;
}

.fiche-direct::after {
	content: "\f1b0";
	position: absolute;
	right: -24px;
	bottom: -40px;
	color: rgba(255, 255, 255, 0.06);
	font: 900 170px/1 "Font Awesome 5 Free";
	transform: rotate(-18deg);
	pointer-events: none;
}

.fiche-etc-single .fiche-direct .fiche-section__title {
	color: #FFC58A;
}

.fiche-direct__intro {
	font-style: italic;
	position: relative;
	z-index: 1;
	margin: -4px 0 18px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	line-height: 1.5;
}

.fiche-direct__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.fiche-direct__item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--fiche-radius);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	/* Même police que le texte courant de la fiche (pas de Barlow gras) */
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: background 0.2s ease;
}

.fiche-direct__item:hover,
.fiche-direct__item:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.fiche-direct__item > i {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #fff;
	color: var(--fiche-teal-deep);
}

.fiche-direct__item span {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Réseaux sociaux : dernière ligne de la grille en mobile, dans la même rangée que les contacts en desktop */
.fiche-direct__social {
	grid-column: 1 / -1;
	display: flex;
	gap: 10px;
	margin-top: 8px;
}

.fiche-direct__social a {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: var(--fiche-teal-deep);
	font-size: 24px;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.fiche-direct__social a i {
	font-size: 24px;
}

.fiche-direct__social a:hover,
.fiche-direct__social a:focus-visible {
	background: var(--fiche-primary);
	color: #fff;
	transform: translateY(-2px);
}

/* ============================================================
   14. Autres animaux sur place
   ============================================================ */
.fiche-animals {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.fiche-animals__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--fiche-teal-soft);
	color: var(--fiche-teal-deep);
	font-size: 20px;
}

.fiche-etc-single .fiche-animals .fiche-section__title {
	margin-bottom: 8px;
}

/* ============================================================
   Vidéo (hors maquette)
   ============================================================ */
.fiche-video iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--fiche-radius-lg);
}

/* Vignette cliquable (le lecteur YouTube est chargé au clic) */
.fiche-video__lite {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--fiche-radius-lg);
	background: #000;
	cursor: pointer;
}

.fiche-video__lite img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.fiche-video__lite:hover img,
.fiche-video__lite:focus-visible img {
	opacity: 1;
}

.fiche-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin: -34px 0 0 -34px;
	border-radius: 50%;
	background: var(--fiche-primary);
	color: #fff;
	font-size: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease;
}

.fiche-video__play i {
	margin-left: 4px; /* centrage optique du triangle */
}

.fiche-video__lite:hover .fiche-video__play,
.fiche-video__lite:focus-visible .fiche-video__play {
	transform: scale(1.08);
}

/* ============================================================
   16. Carte
   ============================================================ */
.fiche-map__address {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: -6px 0 14px;
	color: var(--fiche-text);
	font-size: 15px;
}

.fiche-map__address i {
	color: var(--fiche-primary);
}

/* isolation : les z-index internes de Leaflet (calques 400+, contrôles 1000) restent confinés à la carte
   et ne passent plus au-dessus de l'en-tête du site, du menu d'ancres ou de la barre du bas */
.fiche-map__canvas {
	position: relative;
	z-index: 0;
	isolation: isolate;
	overflow: hidden;
	border: 1px solid var(--fiche-line);
	background: #fff;
	border-radius: var(--fiche-radius-lg);
	box-shadow: var(--fiche-shadow);
}

.fiche-map__leaflet {
	height: 300px;
}

/* ============================================================
   17. Informations complémentaires
   ============================================================ */
.fiche-more-info__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.fiche-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fiche-labels li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid var(--fiche-line);
	border-radius: 999px;
	background: var(--fiche-cream);
	color: var(--fiche-dark);
	font: 600 14px/1.3 var(--fiche-display);
}

.fiche-labels li i {
	color: var(--fiche-teal);
}

.fiche-labels .fiche-labels__qualidog {
	border-color: #FFD2A6;
	background: var(--fiche-primary-soft);
	color: var(--fiche-primary-deep);
}

.fiche-labels .fiche-labels__qualidog i {
	color: var(--fiche-primary);
}

.fiche-period {
	display: flex;
	gap: 14px;
	padding: 14px;
	border-radius: var(--fiche-radius);
	background: var(--fiche-cream);
}

.fiche-period > i {
	margin-top: 4px;
	color: var(--fiche-primary);
}

.fiche-similar {
	text-align: center;
}

/* ============================================================
   Encarts pub — strates (positions 1, 2, 3, contenu Gutenberg du CPT encart_pub)
   ============================================================ */
.fiche-strate__inner {
	overflow: hidden;
	border: 1px solid var(--fiche-line);
	border-radius: var(--fiche-radius-lg);
	box-shadow: var(--fiche-shadow);
}

.fiche-strate__inner > .wp-block-group,
.fiche-strate .encart_pub_group {
	width: 100%;
	max-width: none;
	min-height: 160px;
	margin: 0;
}

.fiche-strate img {
	max-width: 100%;
	height: auto;
}

.fiche-strate .wp-block-columns {
	margin-bottom: 0;
}

/* Classe à mettre sur un bloc (ex. colonne visuelle) pour le masquer sous 782px, quand les colonnes s'empilent */
@media (max-width: 781px) {
	.fiche-strate .strate-masquer-mobile {
		display: none !important;
	}
}

/* Images de strate en colonnes jointives : pas d'espace sous les images */
.fiche-strate .wp-block-column > .wp-block-image {
	margin: 0;
}

.fiche-strate .wp-block-column > .wp-block-image img {
	display: block;
	width: 100%;
}

/* ============================================================
   4. Barre sticky bas de page
   ============================================================ */
body.single-fiche_etc,
body.fiche-etc-comments {
	padding-bottom: 120px;
}

.fiche-sticky-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9990;
	padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--fiche-line);
	background: #fff;
	box-shadow: 0 -8px 24px rgba(23, 51, 46, 0.08);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fiche-sticky-bar.is-hidden {
	transform: translateY(110%);
}

.fiche-sticky-bar__inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 1070px; /* aligné sur le contenu du conteneur (1100px - gouttières) */
	margin: 0 auto;
}

.fiche-sticky-bar__infos {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 12px;
}

.fiche-sticky-bar__price {
	color: var(--fiche-muted);
	font-size: 13px;
}

.fiche-sticky-bar__price strong {
	color: var(--fiche-dark);
	font: 800 18px var(--fiche-display);
}

.fiche-sticky-bar__meta {
	color: var(--fiche-muted);
	font-size: 12px;
}

.fiche-sticky-bar__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.fiche-sticky-bar__actions .fiche-btn {
	padding: 11px 12px;
	box-shadow: none;
}

.fiche-sticky-bar__actions .fiche-btn:only-child {
	grid-column: 1 / -1;
}

/* ============================================================
   Tablette et desktop
   ============================================================ */
@media (min-width: 576px) {
	.fiche-dog-fit__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.fiche-criteria__top,
	.fiche-services__top,
	.fiche-direct__grid,
	.fiche-more-info__grid {
		grid-template-columns: 1fr 1fr;
	}

	.fiche-more__list {
		columns: 2;
		column-gap: 28px;
	}

	.fiche-more__list li {
		break-inside: avoid;
	}

	.fiche-actions {
		flex-direction: row;
	}

}

@media (min-width: 768px) {
	.fiche-card {
		padding: 30px;
	}

	.fiche-etc-single .fiche-section__title {
		font-size: 18px;
	}

	/* L'essentiel avec label : titre en haut, badge QUALIDOG en colonne à gauche des cases */
	.fiche-dog-fit--label {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"title title"
			"seal  grid"
			"info  info";
		column-gap: 28px;
	}

	.fiche-dog-fit--label > .fiche-section__title { grid-area: title; }
	.fiche-dog-fit--label > .fiche-dog-fit__grid { grid-area: grid; }
	.fiche-dog-fit--label > .fiche-callout { grid-area: info; }

	.fiche-dog-fit--label > .fiche-seal {
		grid-area: seal;
		align-self: center;
		width: 200px;
		margin: 0;
	}

	.fiche-seal__truffes {
		font-size: 18px;
	}

	/* L'essentiel : picto à gauche, libellé + valeur à droite (tuiles moins hautes) */
	.fiche-tile {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}

	.fiche-tile > i {
		flex: none;
		margin-bottom: 0;
	}

	/* Réserver en direct : tous les boutons sur une même ligne */
	.fiche-direct__grid {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.fiche-direct__social {
		margin-top: 0;
		margin-left: 10px;
	}

	.fiche-accordion summary {
		padding: 22px 30px;
	}

	.fiche-accordion__body {
		padding: 0 30px 26px;
	}

	.fiche-map__leaflet {
		height: 380px;
	}

	body.single-fiche_etc,
	body.fiche-etc-comments {
		padding-bottom: 90px;
	}

	.fiche-sticky-bar {
		padding: 14px 20px;
	}

	.fiche-sticky-bar__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.fiche-sticky-bar__infos {
		flex-direction: column;
		align-items: flex-start;
	}

	.fiche-sticky-bar__actions {
		display: flex;
	}

	.fiche-sticky-bar__actions .fiche-btn {
		padding: 11px 24px;
	}
}

/* ============================================================
   Animation de l'en-tête au chargement (CSS seul, en cascade)
   ============================================================ */
@keyframes fiche-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

.fiche-header__meta,
.fiche-header__title,
.fiche-header__tagline,
.fiche-chips,
.fiche-header .fiche-note {
	animation: fiche-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.fiche-etc-single .fiche-header__title { animation-delay: 0.08s; }
.fiche-header__tagline { animation-delay: 0.16s; }
.fiche-chips { animation-delay: 0.24s; }
.fiche-header .fiche-note { animation-delay: 0.32s; }

/* Mobile : les infos passent sous l'accroche, elles apparaissent donc après elle */
@media (max-width: 767px) {
	.fiche-header__meta { animation-delay: 0.2s; }
}

/* ============================================================
   Apparition progressive au scroll (classes posées par single-new.js)
   ============================================================ */
.fiche-reveal-ready .fiche-section {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fiche-reveal-ready .fiche-section.is-in {
	opacity: 1;
	transform: none;
}

/* Tuiles, critères et services : apparition en cascade dans leur section */
.fiche-reveal-ready .fiche-section .fiche-tile,
.fiche-reveal-ready .fiche-section .fiche-criteria__top li,
.fiche-reveal-ready .fiche-section .fiche-services__top li {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fiche-reveal-ready .fiche-section.is-in .fiche-tile,
.fiche-reveal-ready .fiche-section.is-in .fiche-criteria__top li,
.fiche-reveal-ready .fiche-section.is-in .fiche-services__top li {
	opacity: 1;
	transform: none;
}

.fiche-reveal-ready .fiche-section.is-in :is(.fiche-tile, .fiche-criteria__top li, .fiche-services__top li):nth-child(2) { transition-delay: 0.06s; }
.fiche-reveal-ready .fiche-section.is-in :is(.fiche-tile, .fiche-criteria__top li, .fiche-services__top li):nth-child(3) { transition-delay: 0.12s; }
.fiche-reveal-ready .fiche-section.is-in :is(.fiche-tile, .fiche-criteria__top li, .fiche-services__top li):nth-child(4) { transition-delay: 0.18s; }
.fiche-reveal-ready .fiche-section.is-in :is(.fiche-tile, .fiche-criteria__top li, .fiche-services__top li):nth-child(5) { transition-delay: 0.24s; }
.fiche-reveal-ready .fiche-section.is-in :is(.fiche-tile, .fiche-criteria__top li, .fiche-services__top li):nth-child(6) { transition-delay: 0.3s; }
.fiche-reveal-ready .fiche-section.is-in :is(.fiche-tile, .fiche-criteria__top li, .fiche-services__top li):nth-child(7) { transition-delay: 0.36s; }
.fiche-reveal-ready .fiche-section.is-in :is(.fiche-tile, .fiche-criteria__top li, .fiche-services__top li):nth-child(8) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
	.fiche-etc-single *,
	.fiche-sticky-bar {
		transition: none !important;
		animation: none !important;
	}
}
