/**
 * Page « Soutenir Calendanse » — compléments scopés sous .cd-land-page--support.
 * Réutilise calendanse-func-landing.css (cd-land-*).
 */

.cd-land-page--support {
	--cd-land-max: 920px;
	--cd-support-section-gap: clamp(1.15rem, 3vw, 1.65rem);
	padding-bottom: 1.25rem;
}

/* ——— Rythme vertical (plus compact que cd-land-page générique) ——— */
.cd-land-page--support > .cd-land-hero {
	margin-bottom: var(--cd-support-section-gap);
	padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 3.5vw, 2rem);
}

.cd-land-page--support > .cd-land-hero .cd-land-kicker {
	margin-bottom: 0.65rem !important;
}

.cd-land-page--support > .cd-land-hero h1 {
	margin-bottom: 0.65rem !important;
}

.cd-land-page--support > .cd-land-hero .cd-land-hero__subtitle {
	margin-bottom: 0 !important;
	font-size: clamp(0.98rem, 2.2vw, 1.08rem) !important;
}

.cd-land-page--support > .cd-land-section {
	margin-bottom: var(--cd-support-section-gap);
	padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(0.95rem, 2vw, 1.25rem);
}

.cd-land-page--support .cd-land-section__head {
	margin-bottom: 1rem;
}

.cd-land-page--support .cd-land-section__intro {
	font-size: 0.98rem;
	line-height: 1.55;
}

/* ——— Grilles ——— */
.cd-land-page--support .cd-land-grid--support {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.cd-land-page--support .cd-land-grid--support-reassure {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.cd-land-page--support .cd-land-card--support,
.cd-land-page--support .cd-land-card--eco.cd-land-card--support {
	padding: 1rem 0.95rem;
}

.cd-land-page--support .cd-land-card--support-reassure {
	text-align: center;
	padding: 0.95rem 0.85rem;
}

.cd-land-page--support .cd-land-card--support-reassure h3 {
	font-size: 1.02rem;
	margin-bottom: 0.35rem !important;
}

/* ——— Séparateurs orange (h2::after) ——— */
/* Sections titrées à gauche : trait à gauche (défaut cd-land-section). */
.cd-land-page--support .cd-land-section--support-why h2::after {
	margin-left: 0;
	margin-right: auto;
}

/* Sections titrées au centre : trait centré sous le titre. */
.cd-land-page--support .cd-land-section--support-donate h2::after,
.cd-land-page--support .cd-land-section--support-reassure h2::after,
.cd-land-page--support .cd-land-section--support-contact h2::after {
	margin-left: auto;
	margin-right: auto;
}

/* ——— Faire un don (conteneur gris plus compact) ——— */
.cd-land-page--support .cd-land-section--support-donate {
	text-align: center;
	padding-bottom: clamp(0.95rem, 2vw, 1.15rem);
}

.cd-land-page--support .cd-land-section--support-donate .cd-land-section__head {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	max-width: 36rem;
	margin-bottom: 0.75rem;
}

.cd-land-page--support .cd-donation {
	max-width: 34rem;
	margin: 0.25rem auto 0;
	padding: 1rem 1.05rem;
	text-align: left;
}

.cd-land-page--support .cd-donation__title:empty {
	display: none;
	margin: 0;
	padding: 0;
}

.cd-land-page--support .cd-donation__intro {
	margin-bottom: 0.85rem;
	font-size: 0.92rem;
}

.cd-land-page--support .cd-donation__amounts {
	justify-content: center;
	margin-bottom: 0.85rem;
}

.cd-land-page--support .cd-donation__custom {
	justify-content: center;
	margin-bottom: 0.85rem;
}

.cd-land-page--support .cd-donation__submit {
	display: block;
	width: 100%;
	max-width: 20rem;
	min-height: 48px;
	margin: 0 auto;
	box-sizing: border-box;
}

.cd-land-page--support .cd-donation__hint {
	text-align: center;
	margin-top: 0.65rem;
}

/* ——— En toute confiance ——— */
.cd-land-page--support .cd-land-section--support-reassure {
	padding-bottom: clamp(0.95rem, 2vw, 1.15rem);
}

.cd-land-page--support .cd-land-section--support-reassure .cd-land-section__head {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 0.85rem;
}

/* ——— Contact (moins de blanc en bas) ——— */
.cd-land-page--support .cd-land-section--support-contact {
	text-align: center;
	margin-bottom: 0.5rem;
	padding-bottom: clamp(1rem, 2vw, 1.25rem);
}

.cd-land-page--support .cd-land-section--support-contact .cd-land-section__head {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.75rem;
}

.cd-land-page--support .cd-land-finale-cta {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.cd-land-page--support .cd-land-finale-cta .wp-block-button__link {
	background: linear-gradient(135deg, var(--cd-land-pink) 0%, #c026d3 100%) !important;
	border-radius: 999px;
	padding: 0.7rem 1.45rem;
	font-weight: 700;
	min-height: 48px;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	.cd-land-page--support {
		--cd-support-section-gap: 1rem;
	}

	.cd-land-page--support .cd-land-grid--support,
	.cd-land-page--support .cd-land-grid--support-reassure {
		grid-template-columns: 1fr;
	}

	.cd-land-page--support > .cd-land-hero {
		padding: 1.15rem 0.95rem 1.25rem;
	}

	.cd-land-page--support > .cd-land-section {
		padding: 1rem 0.85rem;
	}

	.cd-land-page--support .cd-donation {
		padding: 0.95rem 0.85rem;
	}

	.cd-land-page--support .cd-donation__amount-btn {
		min-height: 44px;
	}

	.cd-land-page--support .cd-donation__submit {
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 375px) {
	.cd-land-page--support {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		padding-bottom: 0.75rem;
	}

	.cd-land-page--support > .cd-land-hero {
		padding: 1rem 0.8rem 1.1rem;
	}

	.cd-land-page--support > .cd-land-hero h1 {
		font-size: 1.55rem !important;
	}

	.cd-land-page--support > .cd-land-hero .cd-land-hero__subtitle {
		font-size: 0.92rem !important;
		line-height: 1.5 !important;
	}

	.cd-land-page--support .cd-land-card {
		padding: 0.85rem 0.75rem;
	}

	.cd-land-page--support .cd-donation__amounts {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.45rem;
	}

	.cd-land-page--support .cd-donation__amount-btn {
		width: 100%;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		font-size: 0.9rem;
	}

	.cd-land-page--support .cd-donation__custom {
		flex-direction: column;
		align-items: stretch;
		gap: 0.4rem;
	}

	.cd-land-page--support .cd-donation__custom-input {
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}

	.cd-land-page--support .cd-land-finale-cta .wp-block-button,
	.cd-land-page--support .cd-land-finale-cta .wp-block-button__link {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}
