/* Block: MP – Étapes (Comment on joue) */

.mp-etapes {
	position: relative;
	overflow: hidden;
}

.mp-etapes__filtres {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.mp-etapes__inner {
	padding-top: 96px;
	padding-bottom: 104px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 56px;
}

/* Section heading */

.mp-etapes__tete {
	max-width: 680px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.mp-etapes__surtitre,
.mp-etapes__numero {
	font-family: var(--mp-font-title);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mp-pink);
}

.mp-etapes__titre {
	margin: 0;
	font-family: var(--mp-font-title);
	font-weight: 700;
	font-size: 44px;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--mp-black);
	text-transform: none;
	text-wrap: balance;
}

.mp-etapes__intro {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--mp-muted);
}

/* Steps */

.mp-etapes__liste {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 32px 4px;
}

.mp-etapes__etape {
	flex: 1 1 280px;
	max-width: 340px;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.mp-etapes__etape::before,
.mp-etapes__fleche::before {
	content: none;
}

.mp-etapes__visuel {
	position: relative;
	width: 100%;
	max-width: 300px;
	height: 240px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-etapes__lavis {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.mp-etapes__image {
	position: relative;
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 225px;
	transform: rotate(var(--a, 0deg));
}

.mp-etapes__badge {
	position: absolute;
	right: 6px;
	bottom: 4px;
	width: 78px;
	height: 78px;
	border-radius: 100px;
	background: #ffffff;
	box-shadow: 0 8px 20px -8px rgba(60, 30, 20, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-etapes__badge img {
	display: block;
	width: 66px;
	height: 66px;
	object-fit: contain;
}

/* Crowned picture (e.g. the Master Parfums bottle). */
.mp-etapes__couronne-wrap {
	position: relative;
	display: block;
	width: 240px;
	height: 240px;
}

.mp-etapes__image--couronne {
	position: absolute;
	left: 50%;
	top: 52%;
	width: 124px;
	max-height: none;
	transform: translate(-50%, -50%) rotate(var(--a, 0deg));
}

.mp-etapes__couronne {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.mp-etapes__etape-titre {
	margin: 0;
	font-family: var(--mp-font-title);
	font-weight: 700;
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--mp-black);
	text-transform: none;
}

.mp-etapes__texte {
	max-width: 300px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--mp-muted);
}

.mp-etapes__texte p {
	margin: 0 0 6px;
}

.mp-etapes__texte p:last-child {
	margin-bottom: 0;
}

.mp-etapes__texte strong {
	color: var(--mp-text);
}

.mp-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 100px;
	background: var(--c);
	margin-right: 2px;
	vertical-align: 1px;
}

/* Dotted hand-drawn arrows between steps */

.mp-etapes__fleche {
	flex: 0 0 64px;
	margin: 96px 0 0;
	padding: 0;
}

.mp-etapes__fleche svg {
	display: block;
	width: 64px;
	height: 32px;
	fill: none;
	stroke: var(--mp-ink);
	stroke-width: 2.2;
	stroke-linecap: round;
}

.mp-etapes--vide {
	padding: 24px;
	text-align: center;
	color: var(--mp-muted);
}

@media (max-width: 960px) {
	.mp-etapes__fleche {
		display: none;
	}
}

@media (max-width: 760px) {
	.mp-etapes__inner {
		padding-top: 64px;
		padding-bottom: 72px;
		gap: 40px;
	}

	.mp-etapes__titre {
		font-size: 30px;
	}

	.mp-etapes__liste {
		gap: 44px;
	}
}
