/* Vitrine – bloc « Récit de marques »
 * Couleurs modifiables via les variables ci-dessous (CSS additionnel du thème).
 */
.vtr-recit {
	--vtr-recit-encre: #151a21;
	--vtr-recit-doux: #5e6670;
	--vtr-recit-filet: #e7e5e0;
	--vtr-recit-fond: #fff;
	--vtr-recit-bouton: #151a21;
	--vtr-recit-bouton-texte: #fff;
	--vtr-recit-haut: 96px;
	--vtr-recit-ratio: 4/3;
	--vtr-recit-ease: cubic-bezier(0.22, 1, 0.36, 1);

	box-sizing: border-box;
	color: var(--vtr-recit-encre);
}

.vtr-recit *,
.vtr-recit *::before,
.vtr-recit *::after {
	box-sizing: border-box;
}

/* ---------- Disposition empilée (mobile, ou sans JavaScript) ---------- */
.vtr-recit__panneau {
	display: none;
}

.vtr-recit__chapitres {
	display: grid;
	gap: 64px;
}

.vtr-recit__chapitre {
	position: relative;
	display: grid;
	margin: 0;
}

.vtr-recit__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--vtr-recit-ratio);
	max-width: 100%;
	background: #f4f3f0;
}

.vtr-recit__image img,
.vtr-recit__detail img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.vtr-recit__detail {
	position: relative;
	z-index: 2;
	justify-self: end;
	width: 52%;
	margin-top: -22%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f4f3f0;
	box-shadow: 0 0 0 6px var(--vtr-recit-fond);
}

.vtr-recit__chapitre:nth-child(even) .vtr-recit__detail {
	justify-self: start;
}

.vtr-recit__texte-mobile {
	display: grid;
	gap: 14px;
	margin-top: 24px;
}

/* ---------- Textes ---------- */
.vtr-recit p.vtr-recit__origine {
	margin: 0;
	color: var(--vtr-recit-doux);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.vtr-recit .vtr-recit__titre {
	margin: 0;
	padding: 0;
	color: var(--vtr-recit-encre);
	font-size: clamp(34px, 4.6vw, 64px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
}

.vtr-recit p.vtr-recit__desc {
	max-width: 40ch;
	margin: 0;
	color: var(--vtr-recit-doux);
	line-height: 1.65;
}

.vtr-recit .vtr-recit__atouts {
	max-width: 40ch;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	border-top: 1px solid var(--vtr-recit-filet);
	list-style: none;
}

.vtr-recit .vtr-recit__atouts li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 11px 0;
	border-bottom: 1px solid var(--vtr-recit-filet);
	font-size: 15px;
	line-height: 1.4;
}

.vtr-recit .vtr-recit__atouts li::before {
	content: none;
}

.vtr-recit .vtr-recit__atouts li span:last-child {
	color: var(--vtr-recit-doux);
	text-align: right;
}

.vtr-recit p.vtr-recit__nombre {
	margin: 0;
	color: var(--vtr-recit-doux);
	font-size: 14px;
}

.vtr-recit a.vtr-recit__bouton {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
	padding: 14px 24px;
	border: 1px solid var(--vtr-recit-bouton);
	border-radius: 0;
	background: var(--vtr-recit-bouton);
	color: var(--vtr-recit-bouton-texte);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: gap 0.25s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.vtr-recit a.vtr-recit__bouton:hover {
	gap: 18px;
	color: var(--vtr-recit-bouton-texte);
	opacity: 0.88;
}

.vtr-recit a.vtr-recit__bouton--contour {
	background: transparent;
	color: var(--vtr-recit-bouton);
}

.vtr-recit a.vtr-recit__bouton--contour:hover {
	background: var(--vtr-recit-bouton);
	color: var(--vtr-recit-bouton-texte);
	opacity: 1;
}

.vtr-recit a.vtr-recit__bouton--lien {
	padding: 0 0 4px;
	border-width: 0 0 1px;
	background: transparent;
	color: var(--vtr-recit-bouton);
}

.vtr-recit a.vtr-recit__bouton--lien:hover {
	color: var(--vtr-recit-bouton);
}

.vtr-recit a:focus-visible {
	outline: 2px solid var(--vtr-recit-encre);
	outline-offset: 3px;
}

/* ---------- Récit (ordinateur, avec JavaScript) ---------- */
@media (min-width: 861px) {
	.vtr-recit.vtr-recit-js {
		display: grid;
		grid-template-columns: minmax(280px, 0.8fr) 1.45fr;
		gap: clamp(32px, 5vw, 80px);
		align-items: start;
	}

	.vtr-recit.vtr-recit-js.vtr-recit--texte-droite {
		grid-template-columns: 1.45fr minmax(280px, 0.8fr);
	}

	.vtr-recit-js.vtr-recit--texte-droite .vtr-recit__panneau {
		order: 2;
	}

	.vtr-recit-js .vtr-recit__panneau {
		position: sticky;
		top: var(--vtr-recit-haut);
		display: grid;
		gap: 36px;
		padding-block: 8px 40px;
	}

	.vtr-recit-js .vtr-recit__texte-mobile {
		display: none;
	}

	.vtr-recit-js .vtr-recit__chapitres {
		gap: clamp(72px, 12vh, 140px);
		padding-bottom: 80px;
	}

	.vtr-recit-js .vtr-recit__detail {
		width: 46%;
		margin-top: -18%;
		margin-right: -3%;
		box-shadow: 0 0 0 10px var(--vtr-recit-fond);
	}

	.vtr-recit-js .vtr-recit__chapitre:nth-child(even) .vtr-recit__detail {
		margin-right: 0;
		margin-left: -3%;
	}

	.vtr-recit-js.vtr-recit--profondeur .vtr-recit__detail {
		transform: translateY(var(--vtr-decal, 0px));
		will-change: transform;
	}

	.vtr-recit-js.vtr-recit--profondeur .vtr-recit__image img {
		transform: scale(1.06);
		transition: transform 1.4s var(--vtr-recit-ease);
	}

	.vtr-recit-js.vtr-recit--profondeur .vtr-recit__chapitre.is-vu .vtr-recit__image img {
		transform: none;
	}
}

/* Index des marques */
.vtr-recit .vtr-recit__index {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	/* Les thèmes (Astra notamment) ajoutent une marge à gauche des listes. */
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.vtr-recit .vtr-recit__index li {
	margin: 0;
	padding: 0;
}

.vtr-recit .vtr-recit__index li::before {
	content: none;
}

.vtr-recit .vtr-recit__index a {
	position: relative;
	display: block;
	padding-bottom: 8px;
	color: var(--vtr-recit-doux);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.vtr-recit .vtr-recit__index a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--vtr-recit-filet);
}

.vtr-recit .vtr-recit__index a i {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: calc(var(--vtr-p, 0) * 100%);
	height: 2px;
	background: var(--vtr-recit-encre);
}

.vtr-recit .vtr-recit__index a[aria-current="true"],
.vtr-recit .vtr-recit__index a:hover {
	color: var(--vtr-recit-encre);
}

/* Textes superposés, un seul visible */
.vtr-recit__textes {
	display: grid;
}

.vtr-recit__texte {
	grid-area: 1 / 1;
	display: grid;
	gap: 18px;
	align-content: start;
	opacity: 0;
	transform: translateY(14px);
	visibility: hidden;
	transition: opacity 0.55s ease, transform 0.7s var(--vtr-recit-ease), visibility 0s linear 0.55s;
}

.vtr-recit__texte.is-actif {
	opacity: 1;
	transform: none;
	visibility: visible;
	transition-delay: 0.08s, 0.08s, 0s;
}

/* ---------- Points cliquables sur la photo ---------- */
.vtr-recit__point {
	position: absolute;
	z-index: 3;
	width: 0;
	height: 0;
}

.vtr-recit .vtr-recit__point-bouton {
	position: absolute;
	left: -15px;
	top: -15px;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.vtr-recit .vtr-recit__point-bouton::before {
	content: "";
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.25s var(--vtr-recit-ease);
}

.vtr-recit .vtr-recit__point-bouton::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.9);
	animation: vtr-recit-pulse 2.4s ease-out infinite;
}

.vtr-recit .vtr-recit__point-bouton:hover::before,
.vtr-recit .vtr-recit__point.is-ouvert .vtr-recit__point-bouton::before {
	transform: scale(1.25);
}

.vtr-recit .vtr-recit__point-bouton:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@keyframes vtr-recit-pulse {
	from {
		opacity: 0.9;
		transform: scale(1);
	}

	to {
		opacity: 0;
		transform: scale(1.8);
	}
}

.vtr-recit .vtr-recit__fiche {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	max-width: min(280px, 70vw);
	padding: 10px 16px 10px 10px;
	background: #fff;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
	color: var(--vtr-recit-encre);
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.3s var(--vtr-recit-ease), visibility 0s linear 0.25s;
}

.vtr-recit__point.is-droite .vtr-recit__fiche { left: 24px; }
.vtr-recit__point.is-gauche .vtr-recit__fiche { right: 24px; }
.vtr-recit__point.is-bas .vtr-recit__fiche { top: -28px; }
.vtr-recit__point.is-haut .vtr-recit__fiche { bottom: -28px; }

.vtr-recit__point.is-ouvert .vtr-recit__fiche,
.vtr-recit__point:focus-within .vtr-recit__fiche {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

@media (hover: hover) {
	.vtr-recit__point:hover .vtr-recit__fiche {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
}

.vtr-recit .vtr-recit__fiche img {
	flex: none;
	width: 56px !important;
	height: 56px !important;
	margin: 0;
	object-fit: cover;
	background: #f4f3f0;
}

.vtr-recit__fiche-texte {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.vtr-recit__fiche-nom {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.vtr-recit__fiche-prix {
	color: var(--vtr-recit-doux);
	font-size: 13px;
	line-height: 1.3;
}

.vtr-recit__fiche-prix del {
	opacity: 0.7;
}

.vtr-recit__fiche-prix ins {
	background: none;
	text-decoration: none;
}

.vtr-recit .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Carrousel de produits ---------- */
.vtr-recit .vtr-recit__produits {
	margin: 48px 0 0;
	min-width: 0;
}

.vtr-recit__produits-tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.vtr-recit p.vtr-recit__produits-titre {
	margin: 0;
	color: var(--vtr-recit-doux);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.vtr-recit__fleches {
	display: flex;
	gap: 6px;
}

.vtr-recit__produits.is-statique .vtr-recit__fleches {
	visibility: hidden;
}

.vtr-recit .vtr-recit__fleche {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--vtr-recit-filet);
	border-radius: 0;
	background: var(--vtr-recit-fond);
	color: var(--vtr-recit-encre);
	cursor: pointer;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.vtr-recit .vtr-recit__fleche:hover:not(:disabled) {
	border-color: var(--vtr-recit-encre);
}

.vtr-recit .vtr-recit__fleche:disabled {
	opacity: 0.35;
	cursor: default;
}

.vtr-recit .vtr-recit__rail {
	display: flex;
	gap: 20px;
	margin: 0 !important;
	padding: 0 0 6px !important;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.vtr-recit .vtr-recit__rail::-webkit-scrollbar {
	display: none;
}

.vtr-recit .vtr-recit__rail > li {
	flex: 0 0 calc((100% - 60px) / 4);
	min-width: 150px;
	scroll-snap-align: start;
	transition: opacity 0.3s ease;
}

.vtr-recit .vtr-recit__rail.is-survol > li:not(.is-mis-en-avant) {
	opacity: 0.4;
}

@media (max-width: 860px) {
	.vtr-recit .vtr-recit__rail > li {
		flex-basis: 42%;
	}

	.vtr-recit .vtr-recit__produits {
		order: 3;
	}

	.vtr-recit .vtr-recit__texte-mobile {
		order: 2;
		margin-bottom: 8px;
	}

	.vtr-recit .vtr-recit__fleches {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vtr-recit .vtr-recit__point-bouton::after {
		animation: none;
	}

	.vtr-recit .vtr-recit__rail {
		scroll-behavior: auto;
	}
}

.vtr-recit--vide {
	padding: 24px;
	border: 1px dashed #c7c7c7;
	color: #555;
}

@media (prefers-reduced-motion: reduce) {
	.vtr-recit *,
	.vtr-recit *::before,
	.vtr-recit *::after {
		transition-duration: 0.01ms !important;
	}

	.vtr-recit .vtr-recit__detail,
	.vtr-recit .vtr-recit__image img {
		transform: none !important;
	}
}

/* ---------- Logo de la marque ---------- */
.vtr-recit {
	--vtr-recit-logo: 56px;
}

.vtr-recit .vtr-recit__titre--logo {
	line-height: 0;
}

.vtr-recit .vtr-recit__logo {
	line-height: 0;
}

.vtr-recit img.vtr-recit__logo-img {
	display: block;
	width: auto !important;
	max-width: min(100%, 320px);
	height: auto !important;
	max-height: var(--vtr-recit-logo);
	margin: 0;
	object-fit: contain;
	object-position: left center;
}

.vtr-recit .vtr-recit__logo + .vtr-recit__titre {
	font-size: clamp(26px, 2.6vw, 36px);
}

/* Logo en noir : toutes les marques au même ton, plus sobre. */
.vtr-recit img.vtr-recit__logo-img--noir {
	filter: brightness(0);
}

.vtr-recit img.vtr-recit__logo-img--noir.is-opaque {
	filter: grayscale(1) contrast(1.4);
	mix-blend-mode: multiply;
}

/* ---------- Mobile : fiche du point actif sous la photo ---------- */
.vtr-recit__pm {
	display: none;
}
@media (max-width: 860px) {
	.vtr-recit .vtr-recit__point .vtr-recit__fiche {
		display: none;
	}
	.vtr-recit .vtr-recit__point.is-actif .vtr-recit__point-bouton {
		background: rgba(255, 255, 255, 0.95);
	}
	.vtr-recit .vtr-recit__point.is-actif .vtr-recit__point-bouton::before {
		inset: 9px;
		background: var(--vtr-recit-encre);
	}
	.vtr-recit .vtr-recit__point:not(.is-actif) .vtr-recit__point-bouton::after {
		animation: none;
		opacity: 0;
	}
	.vtr-recit__pm {
		display: grid;
		order: 1;
		margin-top: 16px;
		border-top: 1px solid rgba(20, 23, 31, 0.12);
		border-bottom: 1px solid rgba(20, 23, 31, 0.12);
	}
	.vtr-recit .vtr-recit__pm-item {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 12px 0;
		color: var(--vtr-recit-encre);
		text-decoration: none !important;
	}
	.vtr-recit .vtr-recit__pm-item * {
		text-decoration: none !important;
	}
	.vtr-recit-js .vtr-recit__pm-item {
		grid-area: 1 / 1;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}
	.vtr-recit-js .vtr-recit__pm-item.is-actif {
		opacity: 1;
		visibility: visible;
		transition-delay: 0s;
	}
	.vtr-recit .vtr-recit__pm-item img {
		flex: none;
		width: 64px !important;
		height: 64px !important;
		margin: 0;
		object-fit: cover;
		background: #f4f3f0;
	}
	.vtr-recit .vtr-recit__pm-item .vtr-recit__fiche-texte {
		flex: 1 1 auto;
	}
	.vtr-recit .vtr-recit__pm-item .vtr-recit__fiche-nom {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 15px;
	}
	.vtr-recit__pm-num {
		flex: none;
		align-self: flex-start;
		padding-top: 2px;
		color: var(--vtr-recit-doux);
		font-size: 11px;
		letter-spacing: 0.12em;
	}
}
