/* Page Gestion des manifestations — charte nav-nouvelle */

body.lelac-manif-page,
body.lelac-manif-page .wp-site-blocks {
	background: var(--lelac-nv-fond, #f8fafc);
}

body.lelac-manif-page .lelac-page > .wp-block-post-content {
	max-width: none;
	padding-bottom: 0;
}

body.lelac-manif-page .lelac-page-hero .lelac-page-hero__title {
	display: none !important;
}

.lelac-manif {
	padding: 0 0 3.5rem;
	background: transparent !important;
}

.lelac-manif__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Intro */
.lelac-manif__intro {
	margin: 0;
}

body.lelac-manif-page .lelac-manif__intro h1.lelac-section__titre.lelac-section__titre,
body.lelac-manif-page .lelac-manif__carte h2.lelac-section__titre.lelac-section__titre {
	margin: 0 0 0.95rem;
	color: #0f172a !important;
	font-family: Verdana, Geneva, sans-serif !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
}

body.lelac-manif-page .lelac-manif__intro h1.lelac-section__titre.lelac-section__titre {
	font-size: clamp(1.75rem, 3.2vw, 2.35rem) !important;
	letter-spacing: -0.02em !important;
}

body.lelac-manif-page .lelac-manif__carte h2.lelac-section__titre.lelac-section__titre {
	margin: 0.55rem 0 1rem;
	font-size: 1.3rem !important;
	letter-spacing: 0 !important;
}

body.lelac-manif-page .lelac-manif__intro h1.lelac-section__titre.lelac-section__titre::after,
body.lelac-manif-page .lelac-manif__carte h2.lelac-section__titre.lelac-section__titre::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: 0.7rem;
	border-radius: 2px;
	background-color: var(--lelac-nv-accent, #009247);
}

.lelac-manif__chapo {
	margin: 0.85rem 0 0;
	max-width: 42rem;
	color: #475569;
	font-size: 1.05rem;
	line-height: 1.55;
}

/* Cartes */
.lelac-manif__carte {
	margin: 0;
	padding: 1.5rem 1.4rem 1.45rem;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 28px rgba(16, 24, 40, 0.05);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lelac-manif__carte:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
	box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
}

.lelac-manif__badge {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	background: #009247;
	color: #fff;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.2;
}

.lelac-manif__texte {
	margin: 0 0 0.95rem;
	color: #475569;
	font-size: 1.02rem;
	line-height: 1.55;
}

.lelac-manif__texte:last-of-type {
	margin-bottom: 0;
}

.lelac-manif__texte strong {
	color: #1e293b;
}

/* Étapes */
.lelac-manif__etapes {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 1.15rem 0 1.35rem;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.lelac-manif__etape {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.9rem;
	align-items: start;
	margin: 0;
	padding: 1rem 1.05rem;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
}

.lelac-manif__etape-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: #f3faf6;
	border: 1px solid #c7e6d4;
	color: #009247;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
}

.lelac-manif__etape-titre {
	margin: 0 0 0.3rem;
	color: #0f172a;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
}

.lelac-manif__etape-texte {
	margin: 0;
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Double CTA */
.lelac-manif__actions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 0;
}

.lelac-manif__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 1rem 1.15rem;
	border-radius: 14px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lelac-manif__btn-icon {
	display: inline-flex;
	flex: 0 0 auto;
}

.lelac-manif__btn-icon svg {
	width: 1.15rem;
	height: 1.15rem;
	display: block;
}

.lelac-manif__btn--outline {
	border: 1.5px solid #009247;
	background: #fff;
	color: #009247 !important;
	box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
}

.lelac-manif__btn--outline:hover {
	background: #f3faf6;
	color: #007a3a !important;
	box-shadow: 0 8px 20px rgba(16, 24, 40, 0.1);
	transform: translateY(-1px);
}

.lelac-manif__btn--primary {
	border: 1px solid #009247;
	background: #009247;
	color: #fff !important;
	box-shadow: 0 8px 22px rgba(0, 146, 71, 0.28);
}

.lelac-manif__btn--primary:hover {
	background: #007a3a;
	border-color: #007a3a;
	color: #fff !important;
	box-shadow: 0 10px 26px rgba(0, 146, 71, 0.34);
	transform: translateY(-1px);
}

@media (max-width: 720px) {
	.lelac-manif__actions {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.lelac-manif__inner {
		padding: 0 1rem;
	}

	.lelac-manif__carte {
		padding: 1.25rem 1.1rem 1.2rem;
	}
}
