/* Bandeau foncé d'appel à l'action */
.cta-band {
	text-align: center;
}

.cta-band__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: clamp(8px, 2vw, 24px);
}

.cta-band__title {
	max-width: 20em;
	font-size: var(--fs-h2);
	color: var(--c-white);
}

.cta-band__title .section-heading__muted {
	color: #a8a397;
}

.cta-band__text {
	max-width: 62ch;
	margin-top: 18px;
	font-size: var(--fs-lead);
	line-height: 1.45;
	color: var(--c-on-dark);
}

.cta-band .section-actions {
	margin-top: 28px;
}

.cta-band__swoosh {
	left: -10%;
	right: -10%;
	top: 30%;
	height: 160%;
	transform: rotate(-8deg);
}

/* Variante « encart » : carte foncée dans la largeur du contenu. */
.cta-band--card {
	padding-block: 8px;
}

.cta-band__box {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	max-width: 1000px;
	margin-inline: auto;
	padding-block: clamp(36px, 4vw, 52px);
	border-radius: 10px;
	background: var(--c-dark);
	color: var(--c-white);
}

.cta-band__box .cta-band__swoosh {
	left: -20%;
	top: -40%;
	width: 50%;
	height: 200%;
	border-radius: 0;
	transform: rotate(-30deg);
}

.cta-band--card .cta-band__inner {
	padding-block: 0;
}

/* Encart suivi d'une section à fond crème : espace comme sur la maquette. */
.cta-band--card + .section-soft {
	margin-top: clamp(40px, 5vw, 64px);
}

/* Encart clair (ex : « Besoin d'informations complémentaires ? ») */
.cta-band--light .cta-band__box {
	background: var(--c-ivory);
	color: var(--c-dark);
}

.cta-band--light .cta-band__swoosh {
	display: none;
}

.cta-band--light .cta-band__title {
	color: var(--c-dark);
}

.cta-band--light .cta-band__text {
	color: var(--c-text);
}
