/**
 * Accueil (CWC_Home) — sections de la page d'accueil. Chargée après
 * cwc-base.css (variables, en-tête, pied de page, tiroirs), uniquement sur
 * la page d'accueil.
 */

/* Badge rond du héros */
.jd-badge-round {
	position: relative;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--jd-white);
	background: rgba(255, 255, 255, 0.92);
	user-select: none;
}

.jd-badge-svg {
	width: 100%;
	height: 100%;
	animation: jdSpin 20s linear infinite;
}

.jd-badge-center {
	position: absolute;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes jdSpin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

/* ------------------------------------------------------------------ */
/* 2. Héros                                                            */
/* ------------------------------------------------------------------ */

.jd-hero {
	position: relative;
	min-height: 100svh;
	margin-top: calc(var(--jd-header-height) * -1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--jd-white);
	overflow: hidden;
	background-color: var(--jd-black);
	border-bottom: var(--jd-border-black);
}

.jd-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.jd-hero-bg .jd-hero-poster,
.jd-hero-bg video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	filter: brightness(0.72) contrast(1.05);
}

.jd-hero-bg video {
	opacity: 0;
	transition: opacity 0.8s ease;
}

.jd-hero-bg video.jd-visible {
	opacity: 1;
}

.jd-hero--still .jd-hero-poster {
	animation: jdHeroZoom 9s ease-out forwards;
}

@keyframes jdHeroZoom {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.08);
	}
}

.jd-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.25) 0%, rgba(17, 17, 17, 0.65) 80%, rgba(17, 17, 17, 0.9) 100%);
	transition: opacity 0.9s ease;
}

/* Pendant la vidéo : voile allégé, texte masqué */
.jd-hero--playing:not(.jd-hero--text) .jd-hero-overlay {
	opacity: 0.35;
}

.jd-hero-content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: calc(var(--jd-header-height) + 40px) var(--jd-container-pad) 90px;
	text-align: center;
}

.jd-hero-content > * {
	transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.jd-hero:not(.jd-hero--text) .jd-hero-content > * {
	opacity: 0;
	transform: translateY(24px);
	pointer-events: none;
}

.jd-hero--text .jd-hero-pretitle {
	transition-delay: 0.05s;
}

.jd-hero--text .jd-hero-title {
	transition-delay: 0.18s;
}

.jd-hero--text .jd-hero-desc {
	transition-delay: 0.32s;
}

.jd-hero--text .jd-hero-actions {
	transition-delay: 0.46s;
}

.jd-hero-pretitle {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.88);
}

.jd-hero-title {
	font-family: var(--jd-font-serif);
	font-size: clamp(2.8rem, 7.5vw, 6.5rem);
	line-height: 0.98;
	font-weight: 400;
	margin-bottom: 24px;
	text-wrap: balance;
}

.jd-hero-desc {
	max-width: 580px;
	margin: 0 auto 36px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 300;
	text-wrap: balance;
}

.jd-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

@media (min-width: 540px) {
	.jd-hero-actions {
		flex-direction: row;
		gap: 16px;
	}
}

/* Compte à rebours fin sous les boutons */
.jd-hero-timer {
	width: 120px;
	height: 1px;
	margin: 30px auto 0;
	background: rgba(255, 255, 255, 0.25);
	overflow: hidden;
}

.jd-hero-timer span {
	display: block;
	height: 100%;
	background: var(--jd-white);
	transform: scaleX(0);
	transform-origin: left;
}

.jd-hero--static .jd-hero-timer,
.jd-hero--static .jd-hero-ui {
	display: none;
}

/* Segments de progression + pause */
.jd-hero-ui {
	position: absolute;
	left: var(--jd-container-pad);
	right: var(--jd-container-pad);
	bottom: 22px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 420px;
	color: var(--jd-white);
}

.jd-hero-steps {
	flex: 1;
	display: flex;
	gap: 6px;
}

.jd-hero-steps span {
	flex: 1;
	height: 2px;
	background: rgba(255, 255, 255, 0.3);
	overflow: hidden;
}

.jd-hero-steps i {
	display: block;
	height: 100%;
	background: var(--jd-white);
	transform: scaleX(0);
	transform-origin: left;
}

.jd-body .jd-hero-pause {
	width: 44px;
	height: 44px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: rgba(17, 17, 17, 0.25);
	color: var(--jd-white);
	backdrop-filter: blur(6px);
}

.jd-hero-pause .jd-ico-play {
	display: none;
}

.jd-hero--paused .jd-hero-pause .jd-ico-play {
	display: block;
}

.jd-hero--paused .jd-hero-pause .jd-ico-pause {
	display: none;
}

.jd-hero-badge-float {
	position: absolute;
	bottom: 24px;
	right: 24px;
	z-index: 4;
	display: none;
}

@media (min-width: 768px) {
	.jd-hero-badge-float {
		display: block;
	}
}

/* ------------------------------------------------------------------ */
/* 3. Bandeau défilant                                                 */
/* ------------------------------------------------------------------ */

.jd-marquee-section {
	padding: 14px 0;
	overflow: hidden;
	background-color: var(--jd-black);
	color: var(--jd-white);
	border-bottom: var(--jd-border-black);
	user-select: none;
}

.jd-marquee-track {
	display: flex;
	width: max-content;
	white-space: nowrap;
	animation: jdMarquee 26s linear infinite;
}

.jd-marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	font-family: var(--jd-font-serif);
	font-size: 20px;
	font-style: italic;
	letter-spacing: 0.04em;
}

.jd-marquee-symbol {
	font-family: var(--jd-font-sans);
	font-style: normal;
	font-size: 14px;
	opacity: 0.7;
}

@keyframes jdMarquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* ------------------------------------------------------------------ */
/* 4. À propos                                                         */
/* ------------------------------------------------------------------ */

.jd-section-about {
	padding: clamp(60px, 8vw, 110px) 0;
	background-color: var(--jd-white);
	border-bottom: var(--jd-border-black);
}

.jd-about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

@media (min-width: 992px) {
	.jd-about-grid {
		grid-template-columns: 1fr 1.05fr;
		gap: 80px;
	}
}

.jd-about-lead {
	margin: 22px 0 26px;
	font-size: 16px;
	line-height: 1.7;
	color: #333333;
}

.jd-about-quote {
	margin-bottom: 30px;
	padding-left: 20px;
	border-left: 2px solid var(--jd-black);
	font-family: var(--jd-font-serif);
	font-style: italic;
	font-size: 22px;
	line-height: 1.4;
}

.jd-about-visuals {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 430px;
}

.jd-photo-arch {
	position: relative;
	z-index: 1;
	width: 260px;
	height: 390px;
	border-radius: 140px 140px 0 0;
	overflow: hidden;
	border: var(--jd-border-black);
	background-color: var(--jd-sand);
}

.jd-photo-rotated {
	position: absolute;
	right: 10px;
	bottom: -20px;
	z-index: 2;
	width: 210px;
	height: 260px;
	padding: 8px;
	border: var(--jd-border-black);
	background-color: var(--jd-white);
	transform: rotate(4deg);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.jd-photo-rotated:hover {
	transform: rotate(2deg) scale(1.02);
}

.jd-photo-arch img,
.jd-photo-rotated img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jd-photo-rotated .jd-placeholder {
	inset: 8px;
}

@media (min-width: 640px) {
	.jd-photo-arch {
		width: 280px;
		height: 420px;
	}

	.jd-photo-rotated {
		width: 230px;
		height: 280px;
		right: 24px;
		bottom: -24px;
	}
}

@media (max-width: 400px) {
	.jd-photo-rotated {
		right: 0;
		width: 170px;
		height: 220px;
	}
}

/* ------------------------------------------------------------------ */
/* Cartes produit (communes)                                           */
/* ------------------------------------------------------------------ */

.jd-card-link {
	display: block;
	color: inherit;
}

.jd-card-img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 8px;
	background-color: #ffffff;
	border: 1px solid #e8e4dc;
	margin-bottom: 8px;
}

.jd-card-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* Logique d'ajustement CWC : image hors format → entière, sur fond blanc. */
.jd-card-img img.cwc-fit-contain {
	object-fit: contain;
	padding: 8px;
	background-color: #ffffff;
}

.jd-card-img .jd-placeholder {
	font-size: 13px;
	padding: 8px;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: rgba(17, 17, 17, 0.55);
	background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 60%), var(--jd-sand);
}

.jd-card-title {
	display: block;
	overflow: hidden;
	font-family: var(--jd-font-serif);
	font-style: italic;
	font-size: 16px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jd-card-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 4px;
}

.jd-card-price {
	min-width: 0;
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

.jd-card-price del {
	display: block;
	font-weight: 400;
	font-size: 13px;
	opacity: 0.6;
}

.jd-card-price ins {
	text-decoration: none;
}

.jd-card-price .cwc-price-on-request {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--jd-gray-muted);
}

.jd-card-price .cwc-pro-price-wrap {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
}

.jd-body .jd-card-add {
	flex: none;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--jd-black);
	color: var(--jd-white);
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	transition: transform 0.2s;
}

.jd-body .jd-card-add:hover {
	transform: scale(1.08);
}

.jd-card-add.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.jd-card-add.is-success {
	background-color: #2f6b3a;
}

.jd-card-add.is-error {
	background-color: #9b2c2c;
}

.jd-body .jd-card-quote {
	flex: none;
	min-height: 44px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: var(--jd-black);
	color: var(--jd-white);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.jd-card-soldout {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--jd-gray-muted);
}

/* ------------------------------------------------------------------ */
/* 5. « Nos produits, en scène »                                       */
/* ------------------------------------------------------------------ */

.jd-section-reels {
	position: relative;
	overflow: hidden;
	padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 130px);
	background-color: var(--jd-black);
	color: var(--jd-white);
	border-bottom: var(--jd-border-black);
}

.jd-reels-header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 40px;
}

@media (min-width: 768px) {
	.jd-reels-header {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}
}

.jd-reels-controls {
	display: flex;
	gap: 10px;
}

.jd-body .jd-ctrl-btn {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--jd-white);
	transition: background 0.2s, border-color 0.2s;
}

.jd-body .jd-ctrl-btn:hover {
	border-color: var(--jd-white);
	background-color: rgba(255, 255, 255, 0.15);
}

.jd-reels-track-wrapper {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--jd-container-pad);
	-webkit-overflow-scrolling: touch;
	padding: 10px 0 30px;
	scrollbar-width: none;
}

.jd-reels-track-wrapper::-webkit-scrollbar {
	display: none;
}

.jd-reels-track {
	display: flex;
	gap: 65px;
	width: max-content;
	padding-left: var(--jd-container-pad);
	padding-right: 90px;
}

@media (min-width: 768px) {
	.jd-reels-track {
		gap: 95px;
		padding-right: 140px;
	}
}

.jd-reel-item {
	position: relative;
	flex-shrink: 0;
	width: 270px;
	aspect-ratio: 9 / 16;
	border-radius: 24px;
	background-color: #222222;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	scroll-snap-align: start;
	transition: transform 0.25s ease;
	color: var(--jd-white);
	text-align: left;
}

.jd-reel-item:hover {
	transform: translateY(-4px);
}

@media (min-width: 768px) {
	.jd-reel-item {
		width: 310px;
	}
}

.jd-body .jd-reel-open {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	border-radius: 23px;
	text-align: left;
	color: var(--jd-white);
}

.jd-reel-media {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	border-radius: 23px;
	background: #2a2a2a;
}

.jd-reel-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.jd-reel-media .jd-placeholder {
	background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 60%), #2a2a2a;
	color: rgba(255, 255, 255, 0.55);
	font-size: 26px;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 0 18px 78px;
	text-align: left;
}

.jd-reel-item:hover .jd-reel-media img {
	transform: scale(1.04);
}

.jd-reel-gradient {
	position: absolute;
	inset: 0;
	border-radius: 23px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 30%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.8) 100%);
	pointer-events: none;
}

.jd-story-bars {
	position: absolute;
	top: 14px;
	left: 14px;
	right: 14px;
	z-index: 5;
	display: flex;
	gap: 5px;
}

.jd-story-bar-pill {
	flex: 1;
	height: 2.5px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
	overflow: hidden;
}

.jd-story-bar-active {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--jd-white);
}

.jd-reel-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 5;
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(17, 17, 17, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--jd-white);
	transform: translate(-50%, -50%);
	backdrop-filter: blur(8px);
	transition: transform 0.2s, background 0.2s;
}

.jd-reel-item:hover .jd-reel-play-btn {
	transform: translate(-50%, -50%) scale(1.1);
	background: rgba(17, 17, 17, 0.85);
}

.jd-reel-footer {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 5;
	display: block;
	color: var(--jd-white);
}

.jd-reel-author {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.jd-reel-caption {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.9);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Cartes qui sortent du reel à droite */
.jd-reel-product-card {
	position: absolute;
	right: -52px;
	z-index: 10;
	width: 156px;
	padding: 10px;
	border: var(--jd-border-black);
	border-radius: 12px;
	background-color: var(--jd-white);
	color: var(--jd-black);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jd-card-pos-1 {
	top: 14%;
	transform: rotate(3.5deg);
}

.jd-card-pos-2 {
	bottom: 17%;
	transform: rotate(-2.5deg);
}

/* Mobile : une seule carte, les deux se chevaucheraient. */
@media (max-width: 767px) {
	.jd-reel-product-card.jd-card-pos-2 {
		display: none;
	}

	.jd-card-pos-1 {
		top: auto;
		bottom: 26%;
	}
}

.jd-reel-product-card:hover,
.jd-reel-product-card:focus-within {
	z-index: 15;
	transform: rotate(0deg) scale(1.05);
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45);
}

.jd-reel-product-card .jd-card-img {
	aspect-ratio: 4 / 3;
	border-radius: 6px;
}

.jd-reel-product-card .jd-card-title {
	font-size: 15px;
}

/* ------------------------------------------------------------------ */
/* 6. Nos univers                                                      */
/* ------------------------------------------------------------------ */

.jd-section-univers {
	position: relative;
	background-color: var(--jd-white);
}

.jd-univers-header {
	padding-top: clamp(60px, 8vw, 100px);
	padding-bottom: 32px;
}

.jd-univers-sticky-bar {
	position: sticky;
	top: calc(var(--jd-header-height) + var(--jd-admin-bar));
	z-index: 85;
	padding: 6px 0;
	background-color: rgba(255, 255, 255, 0.96);
	border-top: var(--jd-border-black);
	border-bottom: var(--jd-border-black);
	backdrop-filter: blur(8px);
	transition: top 0.35s ease;
}

body.jd-header-hidden .jd-univers-sticky-bar {
	top: var(--jd-admin-bar);
}

.jd-univers-pills {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 0;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.jd-univers-pills::-webkit-scrollbar {
	display: none;
}

.jd-body .jd-pill-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(17, 17, 17, 0.25);
	border-radius: 999px;
	background: var(--jd-white);
	color: var(--jd-black);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.jd-body .jd-pill-btn:hover {
	border-color: var(--jd-black);
}

.jd-body .jd-pill-btn.jd-active {
	background: var(--jd-black);
	color: var(--jd-white);
	border-color: var(--jd-black);
}

.jd-univ-block {
	position: relative;
	overflow: hidden;
	padding: clamp(50px, 7vw, 90px) 0;
	scroll-margin-top: 130px;
}

.jd-theme-light {
	background-color: var(--jd-white);
	color: var(--jd-black);
	border-bottom: var(--jd-border-black);
}

.jd-theme-dark {
	background-color: var(--jd-black);
	color: var(--jd-white);
	border-bottom: var(--jd-border-black);
}

.jd-theme-dark .jd-univ-pitch,
.jd-theme-dark .jd-univ-empty p {
	color: rgba(255, 255, 255, 0.78);
}

.jd-univ-top-meta {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 32px;
}

@media (min-width: 768px) {
	.jd-univ-top-meta {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
		gap: 28px;
	}
}

.jd-univ-pitch {
	max-width: 540px;
	font-size: 15px;
	line-height: 1.6;
	color: #444444;
}

.jd-univ-cat-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	white-space: nowrap;
}

.jd-body .jd-univ-cat-link {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.jd-univ-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 24px;
}

@media (min-width: 992px) {
	.jd-flow-ltr {
		flex-direction: row;
		align-items: center;
	}

	.jd-flow-rtl {
		flex-direction: row-reverse;
		align-items: center;
	}
}

.jd-univ-reel-wrap {
	position: relative;
	z-index: 5;
	flex-shrink: 0;
	align-self: flex-start;
}

.jd-body .jd-univ-reel-item {
	display: block;
	width: 200px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 24px;
	background-color: #222222;
	cursor: pointer;
}

@media (min-width: 768px) {
	.jd-body .jd-univ-reel-item {
		width: 250px;
	}
}

@media (min-width: 1200px) {
	.jd-body .jd-univ-reel-item {
		width: 290px;
	}
}

.jd-univ-video {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.jd-univ-video.jd-playing {
	opacity: 1;
}

.jd-univ-poster {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
}

.jd-univ-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Le carrousel qui sort du reel */
.jd-univ-carousel-container {
	position: relative;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	padding: 20px 0;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.jd-univ-carousel-container::-webkit-scrollbar {
	display: none;
}

/* Mobile / tablette : carrousel pleine largeur qui chevauche le bas du reel. */
@media (max-width: 991px) {
	.jd-univ-carousel-container {
		z-index: 10;
		margin: -28px calc(var(--jd-container-pad) * -1) 0;
	}

	.jd-univ-track {
		padding-left: var(--jd-container-pad);
		padding-right: var(--jd-container-pad);
	}

	.jd-flow-rtl .jd-univ-reel-wrap {
		align-self: flex-end;
	}
}

@media (min-width: 992px) {
	.jd-flow-ltr .jd-univ-carousel-container {
		z-index: 10;
		margin-left: -52px;
	}

	.jd-flow-rtl .jd-univ-carousel-container {
		z-index: 10;
		margin-right: -52px;
	}
}

.jd-univ-track {
	display: flex;
	align-items: center;
	gap: 20px;
	width: max-content;
	padding: 16px 20px;
}

@keyframes jdScrollLtr {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@keyframes jdScrollRtl {
	from {
		transform: translateX(-50%);
	}

	to {
		transform: translateX(0);
	}
}

.jd-in-view .jd-track-ltr {
	animation: jdScrollLtr 40s linear infinite;
}

.jd-in-view .jd-track-rtl {
	animation: jdScrollRtl 40s linear infinite;
}

.jd-univ-track:hover,
.jd-univ-track:focus-within,
.jd-univ-track:active {
	animation-play-state: paused !important;
}

.jd-univ-card {
	position: relative;
	flex-shrink: 0;
	width: var(--w, 180px);
	padding: 12px;
	border: var(--jd-border-black);
	border-radius: 14px;
	background: var(--jd-white);
	color: var(--jd-black);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
	opacity: 0;
	transform: translateX(45px) scale(0.92);
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, box-shadow 0.2s;
}

.jd-in-view .jd-univ-card {
	opacity: 1;
	transform: translateX(0) scale(1) rotate(var(--jd-rot, 0deg));
	transition-delay: calc(var(--jd-idx, 0) * 120ms);
}

.jd-univ-card:hover,
.jd-univ-card:focus-within {
	z-index: 20;
	transform: scale(1.05) rotate(0deg) !important;
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

.jd-univ-card:hover .jd-card-img img {
	transform: scale(1.06);
}

/* Catégorie sans produit publié : demande de devis */
.jd-univ-empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 480px;
	padding: 8px 0;
}

.jd-univ-empty p {
	font-size: 16px;
	line-height: 1.6;
	color: #444444;
}

@media (min-width: 992px) {
	.jd-univ-empty {
		padding: 0 60px;
	}
}

/* ------------------------------------------------------------------ */
/* 7. Sur mesure                                                       */
/* ------------------------------------------------------------------ */

.jd-section-sur-mesure {
	padding: clamp(60px, 8vw, 110px) 0;
	background-color: var(--jd-white);
	border-bottom: var(--jd-border-black);
	scroll-margin-top: var(--jd-header-height);
}

.jd-sur-mesure-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

@media (min-width: 992px) {
	.jd-sur-mesure-layout {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}
}

.jd-inverted-arch-wrap {
	display: flex;
	justify-content: center;
}

.jd-photo-inverted-arch {
	position: relative;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 0 0 200px 200px;
	border: var(--jd-border-black);
	background-color: var(--jd-sand);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.jd-photo-inverted-arch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jd-steps-list {
	display: flex;
	flex-direction: column;
	gap: 26px;
	margin: 32px 0 38px;
}

.jd-step-item {
	display: flex;
	gap: 20px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.jd-step-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.jd-step-num {
	min-width: 38px;
	font-family: var(--jd-font-serif);
	font-size: 28px;
	line-height: 1;
}

.jd-step-content h3 {
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 700;
}

.jd-step-content p {
	font-size: 15px;
	line-height: 1.6;
	color: #4a4a4a;
}

/* ------------------------------------------------------------------ */
/* 8. Avis clients                                                     */
/* ------------------------------------------------------------------ */

.jd-section-reviews {
	padding: clamp(60px, 8vw, 110px) 0;
	background-color: var(--jd-ivory);
	border-bottom: var(--jd-border-black);
	text-align: center;
}

.jd-review-card {
	max-width: 820px;
	margin: 0 auto;
}

.jd-stars-row {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 24px;
	font-size: 18px;
}

.jd-star-off {
	opacity: 0.25;
}

.jd-review-quote {
	margin-bottom: 26px;
	font-family: var(--jd-font-serif);
	font-style: italic;
	font-size: clamp(1.5rem, 3.2vw, 2.4rem);
	line-height: 1.25;
	text-wrap: balance;
}

.jd-review-author {
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.jd-review-location {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	color: var(--jd-gray-muted);
}

.jd-review-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 34px 0 30px;
}

.jd-review-counter {
	min-width: 48px;
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.jd-body .jd-review-nav-btn {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: var(--jd-border-black);
	transition: background 0.2s, color 0.2s;
}

.jd-body .jd-review-nav-btn:hover {
	background-color: var(--jd-black);
	color: var(--jd-white);
}

.jd-reviews-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
}

.jd-review-nav + .jd-reviews-actions {
	margin-top: 0;
}

@media (min-width: 500px) {
	.jd-reviews-actions {
		flex-direction: row;
		gap: 16px;
	}
}

/* Modale story */
.jd-story-modal-dialog {
	max-width: 420px;
	height: min(88vh, 780px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 24px;
	background-color: #050505;
	color: var(--jd-white);
}

.jd-story-panel {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.jd-story-screen {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	background-color: #000000;
}

.jd-story-screen > img,
.jd-story-screen video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jd-story-screen .jd-placeholder {
	background: #1d1d1d;
	color: rgba(255, 255, 255, 0.6);
	font-size: 30px;
}

.jd-story-top-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	padding: 16px 70px 24px 16px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.jd-story-bars--static {
	position: static;
	margin-bottom: 8px;
}

.jd-story-cat {
	font-size: 13px;
	font-weight: 700;
	color: var(--jd-white);
}

.jd-body .jd-story-nav {
	position: absolute;
	top: 50%;
	z-index: 20;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: var(--jd-white);
	font-size: 26px;
	line-height: 1;
	transform: translateY(-50%);
}

.jd-story-nav--prev {
	left: 10px;
}

.jd-story-nav--next {
	right: 10px;
}

.jd-story-caption {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 12px;
	z-index: 20;
	font-size: 15px;
	line-height: 1.4;
	color: var(--jd-white);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.jd-story-bottom-sheet {
	padding: 14px 16px 16px;
	background-color: var(--jd-white);
	color: var(--jd-black);
	border-top: var(--jd-border-black);
}

.jd-story-tagged-products-title {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jd-gray-muted);
}

.jd-story-products-row {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
}

.jd-story-product {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 260px;
	padding: 6px 6px 6px 8px;
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 10px;
	background-color: var(--jd-sand);
}

.jd-story-product .jd-card-link {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
}

.jd-story-product .jd-card-img {
	flex: none;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 6px;
	background: var(--jd-white);
}

.jd-story-product .jd-card-title {
	font-size: 15px;
}

.jd-story-product .jd-card-row {
	flex: none;
	margin: 0;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.jd-story-product .jd-card-price {
	font-size: 15px;
	text-align: right;
}

.jd-story-cat-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 4px;
}


/* ------------------------------------------------------------------ */
/* Mouvement réduit                                                    */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.jd-marquee-track,
	.jd-badge-svg,
	.jd-univ-track,
	.jd-hero--still .jd-hero-poster {
		animation: none !important;
	}

	.jd-hero-content > *,
	.jd-hero-bg video,
	.jd-hero-overlay,
	.jd-univ-card {
		transition: none !important;
	}

	.jd-univ-card {
		opacity: 1;
		transform: none;
	}

	/* Sans défilement automatique, le carrousel se fait défiler à la main
	   et la copie décorative n'a plus de raison d'être. */
	.jd-univ-card[aria-hidden="true"] {
		display: none;
	}
}
