/* cta/bande-finale — panneau nuit arrondi sur surface claire, texte et photo cote a cote.
 * Engagement 5 : aucun hexadecimal, valeurs de repli comprises. */

.ivy-cta--bande-finale {
	padding-block: clamp( 80px, 9vw, 136px );
	color: var( --ivy-ink, rgb( 14 47 56 ) );
}

.ivy-cta--bande-finale .ivy-cta__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-cta--bande-finale .ivy-cta__panel {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax( 0, 6fr ) minmax( 0, 5fr );
	gap: clamp( 24px, 4vw, 64px );
	align-items: center;
	padding: clamp( 24px, 4vw, 56px );
	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-cta--bande-finale .ivy-cta__copy {
	display: grid;
	gap: 20px;
	justify-items: start;
}

.ivy-cta--bande-finale .ivy-cta__title {
	margin: 0;
	color: var( --ivy-title-color, inherit );
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.ivy-cta--bande-finale .ivy-cta__title .ivy-hl {
	color: var( --ivy-highlight-color, var( --ivy-accent-on-deep, rgb( 226 179 60 ) ) );
}

.ivy-cta--bande-finale .ivy-cta__text {
	margin: 0;
	color: var( --ivy-text-color, var( --ivy-on-deep-muted, rgb( 246 241 232 / 0.72 ) ) );
	line-height: 1.45;
}

.ivy-cta--bande-finale .ivy-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-block-start: 12px;
}

.ivy-cta--bande-finale .ivy-cta__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-block-size: 48px;
	padding: 0 20px 0 24px;
	border: 0;
	border-radius: var( --ivy-radius-action, 999px );
	background: var( --ivy-on-deep, rgb( 246 241 232 ) );
	color: var( --ivy-cta-color, var( --ivy-deep, rgb( 14 47 56 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.9412 );
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.01em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color calc( 250ms * var( --ivy-motion, 1 ) ) var( --ivy-ease, cubic-bezier( 0.16, 1, 0.3, 1 ) );
}

.ivy-cta--bande-finale .ivy-cta__cta .ivy-button__icon {
	inline-size: 1.125rem;
	block-size: 1.125rem;
	margin: 0;
	border-radius: 0;
	background: none;
	transition: transform calc( 250ms * var( --ivy-motion, 1 ) ) var( --ivy-ease, cubic-bezier( 0.16, 1, 0.3, 1 ) );
}

.ivy-cta--bande-finale .ivy-cta__cta--secondary {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	color: var( --ivy-cta_secondary-color, var( --ivy-on-deep, rgb( 246 241 232 ) ) );
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ivy-cta--bande-finale .ivy-cta__media {
	border-radius: calc( var( --ivy-radius-surface, 20px ) * 1.2 );
	overflow: hidden;
	aspect-ratio: 4 / 3;
	inline-size: 100%;
}

.ivy-cta--bande-finale .ivy-cta__image {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

@media ( hover: hover ) {
	.ivy-cta--bande-finale .ivy-cta__cta:hover {
		background: var( --ivy-card, rgb( 255 255 255 ) );
	}

	.ivy-cta--bande-finale .ivy-cta__cta:hover .ivy-button__icon {
		rotate: 0deg;
		transform: translate( 2px, -2px );
	}
}

@media ( max-width: 899px ) {
	.ivy-cta--bande-finale .ivy-cta__panel {
		grid-template-columns: minmax( 0, 1fr );
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.ivy-cta--bande-finale .ivy-cta__cta,
	.ivy-cta--bande-finale .ivy-cta__cta .ivy-button__icon {
		transition: none;
	}
}
