/* steps/journee-arc — colonne collante a arc solaire et cartes horaires a vignette.
 * Engagement 5 : aucun hexadecimal, valeurs de repli comprises. */

.ivy-steps--journee-arc {
	--p: var( --ivy-fill, 1 );
	padding-block: clamp( 80px, 9vw, 136px );
	color: var( --ivy-ink, rgb( 14 47 56 ) );
}

.ivy-steps--journee-arc .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 );
	display: grid;
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: clamp( 40px, 6vw, 96px );
	align-items: start;
}

.ivy-steps--journee-arc .ivy-steps__head {
	position: sticky;
	top: calc( var( --ivy-navbar-h, 72px ) + 32px );
	display: grid;
	gap: 20px;
}

.ivy-steps--journee-arc .ivy-steps__title {
	--ivy-heading-motion: none;
	margin: 0;
	color: var( --ivy-title-color, inherit );
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.ivy-steps--journee-arc .ivy-steps__text {
	margin: 0;
	color: var( --ivy-text-color, var( --ivy-muted, rgb( 86 101 106 ) ) );
	font-size: var( --ivy-font-lead );
	line-height: 1.45;
}

.ivy-steps--journee-arc .ivy-steps__text p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.ivy-steps--journee-arc .ivy-steps__arc {
	inline-size: min( 100%, 420px );
	block-size: auto;
	margin-block-start: 24px;
	overflow: visible;
}

.ivy-steps--journee-arc .ivy-steps__arc-bg {
	fill: none;
	stroke: rgb( 14 47 56 / 0.28 );
	stroke-width: 1.2;
	stroke-dasharray: 0.006 0.012;
}

.ivy-steps--journee-arc .ivy-steps__arc-fill {
	fill: none;
	stroke: var( --ivy-mirabelle-text, rgb( 166 116 24 ) );
	stroke-width: 1.6;
	stroke-dasharray: 1;
	stroke-dashoffset: calc( 1 - var( --p ) );
}

.ivy-steps--journee-arc .ivy-steps__arc-ground {
	stroke: var( --ivy-line, rgb( 14 47 56 / 0.12 ) );
	stroke-width: 1;
}

.ivy-steps--journee-arc .ivy-steps__arc-dot {
	fill: var( --ivy-surface-soft, rgb( 237 227 211 ) );
	stroke: var( --ivy-ink, rgb( 14 47 56 ) );
	stroke-width: 1;
}

.ivy-steps--journee-arc .ivy-steps__arc-time {
	font-family: inherit;
	font-size: calc( var( --ivy-font-body ) * 0.6471 );
	font-weight: 400;
	fill: var( --ivy-muted, rgb( 86 101 106 ) );
}

.ivy-steps--journee-arc .ivy-steps__arc-sun {
	transform-origin: 140px 140px;
	transform: rotate( calc( var( --p ) * 180deg ) );
}

.ivy-steps--journee-arc .ivy-steps__arc-sun circle {
	fill: var( --ivy-mirabelle, rgb( 226 179 60 ) );
	stroke: var( --ivy-surface-soft, rgb( 237 227 211 ) );
	stroke-width: 3;
}

.ivy-steps--journee-arc .ivy-steps__note {
	margin: -8px 0 0;
	color: var( --ivy-note-color, var( --ivy-muted, rgb( 86 101 106 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.8235 );
	line-height: 1.55;
}

.ivy-steps--journee-arc .ivy-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.ivy-steps--journee-arc .ivy-steps__card {
	display: grid;
	grid-template-columns: 120px minmax( 0, 1fr );
	gap: 20px;
	align-items: start;
	margin: 0;
	padding: 16px;
	border-radius: var( --ivy-radius-surface, 20px );
	background: var( --ivy-card, rgb( 255 255 255 ) );
}

.ivy-steps--journee-arc .ivy-steps__photo {
	display: block;
	inline-size: 120px;
	block-size: 120px;
	border-radius: calc( var( --ivy-radius-surface, 20px ) * 0.7 );
	object-fit: cover;
}

.ivy-steps--journee-arc .ivy-steps__time {
	margin: 0 0 4px;
	color: var( --ivy-item_number-color, var( --ivy-muted, rgb( 86 101 106 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.7647 );
	line-height: 1.55;
	letter-spacing: 0.06em;
}

.ivy-steps--journee-arc .ivy-steps__item-title {
	margin: 0;
	color: var( --ivy-item_title-color, inherit );
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.ivy-steps--journee-arc .ivy-steps__item-text {
	margin: 6px 0 0;
	color: var( --ivy-item_text-color, var( --ivy-muted, rgb( 86 101 106 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.8824 );
	line-height: 1.5;
}

@media ( hover: hover ) and ( prefers-reduced-motion: no-preference ) {
	.ivy-steps--journee-arc .ivy-steps__card {
		transition: transform calc( 320ms * var( --ivy-motion, 1 ) ) var( --ivy-ease, cubic-bezier( 0.16, 1, 0.3, 1 ) );
	}

	.ivy-steps--journee-arc .ivy-steps__card:hover {
		transform: translateY( -3px );
	}
}

@media ( max-width: 899px ) {
	.ivy-steps--journee-arc .ivy-steps__inner {
		grid-template-columns: minmax( 0, 1fr );
	}

	.ivy-steps--journee-arc .ivy-steps__head {
		position: static;
	}

	.ivy-steps--journee-arc .ivy-steps__arc {
		inline-size: min( 100%, 320px );
	}
}

@media ( max-width: 519px ) {
	.ivy-steps--journee-arc .ivy-steps__card {
		grid-template-columns: 88px minmax( 0, 1fr );
		gap: 14px;
		padding: 12px;
	}

	.ivy-steps--journee-arc .ivy-steps__photo {
		inline-size: 88px;
		block-size: 88px;
	}
}
