/* steps/saisons — trois temps a gauche, deux rangees de barres a droite qui montent au defilement (sous-location.astro). */
.ivy-steps--saisons { display: grid; grid-template-columns: minmax( 0, 5fr ) minmax( 0, 6fr ); gap: clamp( 2rem, 5vw, 5rem ); align-items: center; padding: clamp( 5rem, 10vw, 8.75rem ) clamp( 1.25rem, 4vw, 4rem ); background: var( --ivy-section-background-background, transparent ); color: var( --ivy-ink, rgb( 42 36 32 ) ); }
.ivy-steps--saisons .ivy-steps__title { margin: 0; color: var( --ivy-title-color, inherit ); }
.ivy-steps--saisons .ivy-steps__text { margin-block-start: .875rem; color: var( --ivy-text-color, var( --ivy-muted, rgb( 95 87 80 ) ) ); font-size: calc( var( --ivy-font-body ) * 1.059 ); line-height: 1.6; }
.ivy-steps--saisons .ivy-steps__text p { margin: 0; font-size: inherit; }
.ivy-steps--saisons .ivy-steps__list { margin: 2rem 0 0; padding: 0; list-style: none; }
.ivy-steps--saisons .ivy-steps__item { display: grid; grid-template-columns: 52px 1fr; gap: .75rem; margin: 0; padding: 1rem 0; border: var( --ivy-item-border-border, 0 ); border-block-start: 1px solid rgb( 42 36 32 / 10% ); font-size: inherit; }
.ivy-steps--saisons .ivy-steps__number { color: var( --ivy-item_number-color, var( --ivy-accent, rgb( 156 86 54 ) ) ); font-family: var( --ivy-font-titre, inherit ); font-size: calc( var( --ivy-font-body ) * 1.506 ); line-height: .95; letter-spacing: -.01em; -webkit-text-stroke: .012em currentColor; }
.ivy-steps--saisons .ivy-steps__item div { display: flex; flex-direction: column; gap: 2px; }
.ivy-steps--saisons .ivy-steps__name { color: var( --ivy-item_title-color, inherit ); }
.ivy-steps--saisons .ivy-steps__detail { color: var( --ivy-item_text-color, var( --ivy-muted, rgb( 95 87 80 ) ) ); }
.ivy-steps__chart { margin: 0; padding: clamp( 1.5rem, 3vw, 2.5rem ); border-radius: calc( var( --ivy-radius-surface, 1.25rem ) * 1.3 ); background: var( --ivy-chart-background-background, rgb( 255 255 255 ) ); border: var( --ivy-chart-border-border, 0 ); box-shadow: 0 1px 1px rgb( 42 36 32 / 6% ), 0 8px 18px rgb( 42 36 32 / 5% ), 0 30px 60px rgb( 42 36 32 / 6% ); }
.ivy-steps--saisons .ivy-steps__graph { display: grid; grid-template-columns: 120px minmax( 0, 1fr ); gap: 14px 18px; align-items: end; }
.ivy-steps--saisons .ivy-steps__series { align-self: center; color: var( --ivy-series-color, var( --ivy-muted, rgb( 95 87 80 ) ) ); font-weight: 600; }
.ivy-steps--saisons .ivy-steps__series--last { color: var( --ivy-bar_last-background-background, var( --ivy-accent, rgb( 156 86 54 ) ) ); }
.ivy-steps--saisons :is( .ivy-steps__bars, .ivy-steps__months ) { display: grid; grid-auto-columns: minmax( 0, 1fr ); grid-auto-flow: column; gap: 6px; }
.ivy-steps--saisons .ivy-steps__bars { height: 120px; align-items: end; border-block-end: 1px solid rgb( 42 36 32 / 12% ); }
.ivy-steps--saisons .ivy-steps__bars i { height: var( --ivy-h ); border-radius: calc( var( --ivy-radius-surface, 1.25rem ) * .3 ) calc( var( --ivy-radius-surface, 1.25rem ) * .3 ) calc( var( --ivy-radius-surface, 1.25rem ) * .1 ) calc( var( --ivy-radius-surface, 1.25rem ) * .1 ); background: var( --ivy-bar-background-background, rgb( 220 207 194 ) ); transform-origin: bottom; }
.ivy-steps--saisons .ivy-steps__bars--last i { background: var( --ivy-bar_last-background-background, var( --ivy-accent, rgb( 156 86 54 ) ) ); }
.ivy-steps--saisons .ivy-steps__months { grid-column: 2; color: var( --ivy-months-color, var( --ivy-muted, rgb( 95 87 80 ) ) ); font-size: calc( var( --ivy-font-body ) * .706 ); font-weight: 600; line-height: 1.6; text-align: center; }
.ivy-steps--saisons .ivy-steps__caption { margin-block-start: 1.25rem; padding-block-start: 1rem; border-block-start: 1px solid rgb( 42 36 32 / 10% ); color: var( --ivy-caption-color, var( --ivy-muted, rgb( 95 87 80 ) ) ); font-size: calc( var( --ivy-font-body ) * .847 ); line-height: 1.6; }

/* Les barres montent pendant la traversee de la section : pleines a 49 % de la course (maquette : (p - .18) * 3,2). */
@media ( prefers-reduced-motion: no-preference ) {
	@supports ( animation-timeline: view() ) {
		.ivy-steps--saisons { view-timeline: --ivy-steps-saisons block; }
		.ivy-steps--saisons .ivy-steps__bars i { animation: ivy-steps-saisons-monte linear both; animation-timeline: --ivy-steps-saisons; animation-range: cover 18% cover 49.25%; }
	}
}
@keyframes ivy-steps-saisons-monte { from { transform: scaleY( 0 ); } }

@media ( max-width: 899px ) {
	.ivy-steps--saisons, .ivy-steps--saisons .ivy-steps__graph { grid-template-columns: minmax( 0, 1fr ); }
	.ivy-steps--saisons .ivy-steps__months { grid-column: 1; }
	.ivy-steps--saisons .ivy-steps__bars { height: 90px; gap: 4px; }
}
