/* steps/couture — un sejour vu des deux cotes d'une couture (Frise.astro). */
.ivy-steps--couture { --ivy-seam: clamp( 150px, 15vw, 210px ); padding: clamp( 5rem, 10vw, 8.75rem ) clamp( 1.25rem, 4vw, 4rem ); overflow-x: clip; background: var( --ivy-section-background-background, linear-gradient( 90deg, var( --ivy-surface, rgb( 247 243 236 ) ) 50%, rgb( 228 233 225 ) 50% ) ); color: var( --ivy-ink, rgb( 42 36 32 ) ); }
.ivy-steps--couture .ivy-steps__header { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.ivy-steps--couture .ivy-steps__seal { display: block; width: 84px; border-radius: 50%; background: var( --ivy-media-background-background, rgb( 220 207 194 ) ); box-shadow: 0 0 0 8px var( --ivy-surface, rgb( 247 243 236 ) ); }
.ivy-steps--couture .ivy-steps__seal img { display: block; width: 100%; height: auto; }
.ivy-steps--couture .ivy-steps__title { margin: 0; color: var( --ivy-title-color, inherit ); }
.ivy-steps--couture :is( .ivy-steps__sides, .ivy-steps__moment ) { display: grid; grid-template-columns: 1fr var( --ivy-seam ) 1fr; align-items: center; max-width: 1200px; margin-inline: auto; }
.ivy-steps--couture .ivy-steps__sides { margin-block-start: 56px; color: var( --ivy-sides-color, var( --ivy-muted, rgb( 95 87 80 ) ) ); font-size: calc( var( --ivy-font-body ) * .734 ); font-weight: 600; line-height: normal; letter-spacing: .12em; text-transform: uppercase; }
.ivy-steps--couture .ivy-steps__sides span:first-child { text-align: end; }
.ivy-steps--couture .ivy-steps__sides span:last-child { grid-column: 3; }
.ivy-steps--couture .ivy-steps__moments { margin: 18px 0 0; padding: 0; list-style: none; }
.ivy-steps--couture .ivy-steps__moment { margin-block: 0; padding: 26px 0; border-block-start: 1px solid rgb( 42 36 32 / 10% ); font-size: inherit; }
.ivy-steps--couture .ivy-steps__guest { display: flex; align-items: center; justify-content: flex-end; gap: 22px; text-align: end; }
.ivy-steps--couture .ivy-steps__guest img { order: 2; flex: none; width: clamp( 96px, 11vw, 150px ); height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc( var( --ivy-radius-surface, 1.25rem ) * .15 ); }
.ivy-steps--couture :is( .ivy-steps__guest p, .ivy-steps__owner ) { margin: 0; color: var( --ivy-item_text-color, inherit ); font-size: calc( var( --ivy-font-body ) * 1.059 ); line-height: 1.45; }
.ivy-steps--couture .ivy-steps__owner { color: var( --ivy-item_result-color, inherit ); }
.ivy-steps--couture .ivy-steps__seam { margin: 0; color: var( --ivy-item_title-color, var( --ivy-accent, rgb( 156 86 54 ) ) ); font-family: inherit; font-weight: 600; line-height: normal; letter-spacing: .08em; text-align: center; text-transform: uppercase; -webkit-text-stroke: 0; }
.ivy-steps--couture .ivy-steps__who { display: none; }
.ivy-steps--couture .ivy-steps__more-line { margin: 48px 0 0; text-align: center; }
.ivy-steps--couture .ivy-steps__more { padding-block-end: 2px; border-block-end: 1px solid currentColor; color: var( --ivy-cta-color, inherit ); text-decoration: none; }
.ivy-steps--couture .ivy-steps__more::after { content: ' \2192'; }

/* Chaque moment s'ouvre depuis la couture, a son entree dans l'ecran. */
@media ( prefers-reduced-motion: no-preference ) {
	@supports ( animation-timeline: view() ) {
		.ivy-steps--couture :is( .ivy-steps__guest, .ivy-steps__owner ) { animation: ivy-steps-couture-ouvre linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
		.ivy-steps--couture .ivy-steps__guest { --ivy-from-x: 32px; }
		.ivy-steps--couture .ivy-steps__owner { --ivy-from-x: -32px; }
	}
}
@keyframes ivy-steps-couture-ouvre { from { opacity: 0; transform: translateX( var( --ivy-from-x, 0 ) ); } }

@media ( max-width: 799px ) {
	.ivy-steps--couture { background: var( --ivy-surface, rgb( 247 243 236 ) ); }
	.ivy-steps--couture .ivy-steps__sides { display: none; }
	.ivy-steps--couture .ivy-steps__moment { grid-template-columns: 1fr; gap: 12px; }
	.ivy-steps--couture .ivy-steps__seam { order: -1; text-align: start; }
	.ivy-steps--couture .ivy-steps__guest { flex-direction: row; justify-content: flex-start; text-align: start; }
	.ivy-steps--couture .ivy-steps__guest img { order: 0; width: 96px; }
	.ivy-steps--couture .ivy-steps__owner { padding: 14px 16px; border-radius: calc( var( --ivy-radius-surface, 1.25rem ) * .15 ); background: var( --ivy-item_result-background-background, rgb( 228 233 225 ) ); }
	.ivy-steps--couture .ivy-steps__who { display: block; margin-block-end: 4px; color: var( --ivy-muted, rgb( 95 87 80 ) ); font-size: calc( var( --ivy-font-body ) * .678 ); font-weight: 600; line-height: normal; letter-spacing: .1em; text-transform: uppercase; }
}
