/* steps/panneau-trois-temps — panneau nuit arrondi a 3 etapes sous filet.
 * Engagement 5 : aucun hexadecimal, valeurs de repli comprises. */

.ivy-steps--panneau-trois-temps {
	padding-block: clamp( 80px, 9vw, 136px );
	color: var( --ivy-ink, rgb( 14 47 56 ) );
}

.ivy-steps--panneau-trois-temps .ivy-steps__inner {
	box-sizing: border-box;
	inline-size: 100%;
	max-inline-size: calc( 1376px + 2 * clamp( 20px, 2.4vw, 32px ) );
	margin-inline: auto;
	padding-inline: clamp( 20px, 2.4vw, 32px );
}

.ivy-steps--panneau-trois-temps .ivy-steps__panel {
	box-sizing: border-box;
	padding: clamp( 28px, 4vw, 64px );
	border-radius: calc( var( --ivy-radius-surface, 20px ) * 1.6 );
	background: var( --ivy-deep, rgb( 14 47 56 ) );
	color: var( --ivy-on-deep, rgb( 246 241 232 ) );
}

.ivy-steps--panneau-trois-temps .ivy-steps__title {
	margin: 0;
	color: var( --ivy-title-color, inherit );
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.ivy-steps--panneau-trois-temps .ivy-steps__title .ivy-hl {
	color: var( --ivy-highlight-color, var( --ivy-accent-on-deep, rgb( 226 179 60 ) ) );
}

.ivy-steps--panneau-trois-temps .ivy-steps__list {
	list-style: none;
	margin: clamp( 48px, 5vw, 80px ) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 32px;
}

.ivy-steps--panneau-trois-temps .ivy-steps__item {
	display: grid;
	gap: 8px;
	align-content: start;
	margin: 0;
	padding-block-start: 24px;
	border-block-start: 1px solid var( --ivy-line-deep, rgb( 246 241 232 / 0.14 ) );
}

.ivy-steps--panneau-trois-temps .ivy-steps__num {
	margin-block-end: 4px;
	color: var( --ivy-item_number-color, var( --ivy-mirabelle, rgb( 226 179 60 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.8235 );
	line-height: 1.55;
}

.ivy-steps--panneau-trois-temps .ivy-steps__item-title {
	margin: 0;
	color: var( --ivy-item_title-color, inherit );
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ivy-steps--panneau-trois-temps .ivy-steps__item-text {
	margin: 0;
	color: var( --ivy-item_text-color, var( --ivy-on-deep-muted, rgb( 246 241 232 / 0.72 ) ) );
	line-height: 1.55;
}

.ivy-steps--panneau-trois-temps .ivy-steps__note {
	margin: clamp( 40px, 4vw, 56px ) 0 0;
	color: var( --ivy-note-color, var( --ivy-on-deep-muted, rgb( 246 241 232 / 0.72 ) ) );
	line-height: 1.55;
}

.ivy-steps--panneau-trois-temps .ivy-steps__link {
	color: var( --ivy-cta_secondary-color, var( --ivy-on-deep, rgb( 246 241 232 ) ) );
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

@media ( hover: hover ) {
	.ivy-steps--panneau-trois-temps .ivy-steps__link:hover {
		text-decoration-thickness: 2px;
	}
}

@media ( max-width: 799px ) {
	.ivy-steps--panneau-trois-temps .ivy-steps__list {
		grid-template-columns: minmax( 0, 1fr );
		gap: 0;
	}

	.ivy-steps--panneau-trois-temps .ivy-steps__item {
		padding-block: 24px;
	}

	.ivy-steps--panneau-trois-temps .ivy-steps__item-title {
		margin-block-start: 8px;
	}
}
