/**
 * Cartes promo hero — carrousel (remplace RevSlider slider-3).
 */
.mc-hero-promo-cards {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	border-radius: 12px;
}

.mc-hero-promo-card {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #fef5f0;
	box-shadow: 0 4px 18px rgba(34, 34, 34, 0.08);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.55s ease, visibility 0.55s ease;
}

.mc-hero-promo-card.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.mc-hero-promo-card__media {
	display: block;
	line-height: 0;
}

.mc-hero-promo-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1415 / 805;
	object-fit: cover;
}

.mc-hero-promo-card__body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 22px 24px 24px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 100%);
	color: #fff;
	pointer-events: none;
}

.mc-hero-promo-card__title {
	margin: 0 0 6px;
	font-family: "Mochiy Pop P One", Nunito, sans-serif;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 400;
	line-height: 1.25;
	color: #fff;
}

.mc-hero-promo-card__desc {
	margin: 0 0 14px;
	max-width: 36em;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
}

.mc-hero-promo-card__cta {
	pointer-events: auto;
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	background: #fa8400;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.mc-hero-promo-card__cta:hover,
.mc-hero-promo-card__cta:focus {
	background: #227403;
	color: #fff !important;
}

.mc-hero-promo-dots {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 12px;
	display: flex;
	justify-content: center;
	gap: 8px;
	pointer-events: none;
}

.mc-hero-promo-dots button {
	pointer-events: auto;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.mc-hero-promo-dots button.is-active {
	background: #fa8400;
}

@media (max-width: 991px) {
	.mc-hero-promo-card__body {
		padding: 16px 16px 18px;
	}

	.mc-hero-promo-card__desc {
		font-size: 12px;
		margin-bottom: 10px;
	}
}

@media (max-width: 575px) {
	.mc-hero-promo-card__desc {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

/* Masque d'éventuels restes RevSlider sur l'accueil */
.elementor-widget-slider_revolution .wp-block-themepunch-revslider > sr7-module,
.elementor-widget-slider_revolution sr7-module {
	display: none !important;
}
