/* =====================================================================
   MPAP — Page « Qui sommes-nous » (page-qui-sommes-nous.php)
   Inspirée de Charifund about-us, charte MPAP. Réutilise les composants
   de mpap-home.css (.mpap-section, .mpap-grid, .mpap-pillar, .mpap-counter,
   .mpap-member, .mpap-btn, .mpap-head, .mpap-kicker).
   ===================================================================== */

/* Masque la bannière du thème parent sur les pages sur-mesure (on a la nôtre). */
.mpap-custom-page .innerbanner { display: none !important; }

#mpap-about-page { overflow: hidden; }
#mpap-about-page *, #mpap-about-page *::before, #mpap-about-page *::after { box-sizing: border-box; }
#mpap-about-page h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; }

/* =================== BANNIÈRE =================== */
.mpap-pbanner {
	position: relative; overflow: hidden;
	background: var(--mpap-green-darker); background-size: cover; background-position: center top;
	padding: clamp(70px, 10vw, 130px) 0; text-align: center; color: #fff;
	border-radius: 0 0 26px 26px;
}
.mpap-pbanner__scrim {
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(180deg, rgba(9,16,7,.45), rgba(9,16,7,.66)),
		linear-gradient(120deg, rgba(53,101,26,.42), rgba(230,0,126,.24));
}
.mpap-pbanner__inner { position: relative; z-index: 2; }
.mpap-pbanner h1 {
	color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; margin: 4px 0 14px;
	text-shadow: 0 2px 6px rgba(0,0,0,.35), 0 6px 30px rgba(0,0,0,.4);
}
.mpap-pbanner__devise {
	font-family: var(--mpap-head); font-weight: 600; letter-spacing: .08em;
	text-transform: uppercase; font-size: clamp(13px, 1.6vw, 16px);
	color: #fff; margin: 0 0 16px; text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.mpap-pbanner__devise span { color: #FFE24D; margin: 0 8px; }
.mpap-breadcrumb {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,.85);
}
.mpap-breadcrumb a { color: #fff; }
.mpap-breadcrumb a:hover { color: #FFC9E6; }
.mpap-breadcrumb i { font-size: 12px; color: #FFE24D; }

/* =================== PRÉSENTATION (2 colonnes) =================== */
.mpap-about2__grid {
	display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start;
}
.mpap-about2__media { position: sticky; top: 100px; align-self: start; min-height: 440px; }
.mpap-about2__img1, .mpap-about2__img2 {
	position: absolute; border-radius: 18px; object-fit: cover; box-shadow: var(--mpap-shadow-lg);
}
.mpap-about2__img1 { width: 74%; aspect-ratio: 3/4; top: 0; left: 0; z-index: 1; }
.mpap-about2__img2 { width: 56%; aspect-ratio: 4/3; bottom: 0; right: 0; z-index: 2; border: 6px solid #fff; }
.mpap-about2__badge {
	position: absolute; z-index: 3; top: 12px; right: 8px;
	background: var(--mpap-pink); color: #fff; border-radius: 16px;
	padding: 16px 20px; text-align: center; box-shadow: var(--mpap-shadow);
	line-height: 1.1;
}
.mpap-about2__badge strong { font-family: var(--mpap-head); font-size: 24px; font-weight: 800; }

.mpap-about2__text .mpap-kicker { margin-bottom: 6px; }

/* Contenu éditorial (the_content) */
.mpap-prose { color: var(--mpap-body); font-size: 15.5px; line-height: 1.75; }
.mpap-prose h1, .mpap-prose h2, .mpap-prose h3, .mpap-prose h4, .mpap-prose strong { color: var(--mpap-ink); }
.mpap-prose > *:first-child { margin-top: 0; }
.mpap-prose h1, .mpap-prose h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin: 0 0 14px; }
.mpap-prose h3 { font-size: 20px; font-weight: 700; margin: 22px 0 10px; }
.mpap-prose p { margin: 0 0 14px; }
.mpap-prose a { color: var(--mpap-green-dark); text-decoration: underline; }

.mpap-about2__facts {
	list-style: none; margin: 22px 0 26px; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
}
.mpap-about2__facts li { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; color: var(--mpap-ink); font-size: 14.5px; }
.mpap-about2__facts i { color: var(--mpap-green); margin-top: 3px; }

/* =================== TEMPS FORTS (frise) =================== */
.mpap-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; position: relative; }
.mpap-timeline::before {
	content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 3px;
	background: var(--mpap-green-light); transform: translateX(-50%); border-radius: 3px;
}
.mpap-timeline__item { position: relative; width: 50%; padding: 0 42px 34px; }
.mpap-timeline__item:nth-child(odd) { left: 0; text-align: right; }
.mpap-timeline__item:nth-child(even) { left: 50%; text-align: left; }
.mpap-timeline__dot {
	position: absolute; top: 4px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--mpap-pink); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--mpap-pink-light);
}
.mpap-timeline__item:nth-child(odd) .mpap-timeline__dot { right: -8px; }
.mpap-timeline__item:nth-child(even) .mpap-timeline__dot { left: -8px; }
.mpap-timeline__date {
	display: inline-block; font-family: var(--mpap-head); font-weight: 700;
	color: var(--mpap-green-dark); margin-bottom: 8px; font-size: 15px;
}
.mpap-timeline__card {
	background: #fff; border: 1px solid var(--mpap-border); border-radius: var(--mpap-radius);
	box-shadow: var(--mpap-shadow-sm); padding: 18px 20px; text-align: left;
	transition: transform .3s var(--mpap-ease), box-shadow .3s var(--mpap-ease);
}
.mpap-timeline__card:hover { transform: translateY(-4px); box-shadow: var(--mpap-shadow); }
.mpap-timeline__card h3 { font-size: 18px; margin: 0 0 6px; }
.mpap-timeline__card p { color: var(--mpap-muted); font-size: 14.5px; margin: 0; }

@media (max-width: 700px) {
	.mpap-timeline::before { left: 7px; }
	.mpap-timeline__item,
	.mpap-timeline__item:nth-child(odd),
	.mpap-timeline__item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 26px 34px; }
	.mpap-timeline__item .mpap-timeline__dot { left: 0; right: auto; }
}

/* =================== PRÉSIDENCE =================== */
.mpap-lead-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.mpap-lead-card {
	width: 280px; background: #fff; border: 1px solid var(--mpap-border);
	border-radius: var(--mpap-radius); box-shadow: var(--mpap-shadow-sm);
	overflow: hidden; text-align: center;
	transition: transform .3s var(--mpap-ease), box-shadow .3s var(--mpap-ease);
}
.mpap-lead-card:hover { transform: translateY(-5px); box-shadow: var(--mpap-shadow-lg); }
.mpap-lead-card__photo { display: block; aspect-ratio: 1/1; background: var(--mpap-green-light); overflow: hidden; }
.mpap-lead-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--mpap-ease); }
.mpap-lead-card:hover .mpap-lead-card__photo img { transform: scale(1.05); }
.mpap-lead-card__ph {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	font-family: var(--mpap-head); font-weight: 800; font-size: 64px; color: #fff;
	background: linear-gradient(135deg, var(--mpap-green), var(--mpap-pink));
}
.mpap-lead-card__body { padding: 20px; }
.mpap-lead-card__body h3 { font-size: 19px; margin: 0 0 4px; }
.mpap-lead-card__body h3 a { color: var(--mpap-ink); }
.mpap-lead-card__body h3 a:hover { color: var(--mpap-green-dark); }
.mpap-lead-card__role { color: var(--mpap-pink); font-weight: 600; margin: 0; font-size: 14.5px; }

/* =================== CTA =================== */
.mpap-cta {
	background: linear-gradient(120deg, var(--mpap-green-darker), var(--mpap-pink-dark));
	color: #fff; padding: 66px 0;
}
.mpap-cta__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.mpap-cta__inner > div:first-child { max-width: 620px; }
.mpap-cta h2 { color: #fff; margin: 4px 0 12px; }
.mpap-cta p { color: rgba(255,255,255,.92); font-size: 17px; margin: 0; }
.mpap-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =================== RESPONSIVE =================== */
@media (max-width: 860px) {
	.mpap-about2__grid { grid-template-columns: 1fr; gap: 40px; }
	.mpap-about2__media { position: static; top: auto; min-height: 0; max-width: 460px; margin: 0 auto; }
	.mpap-about2__img1, .mpap-about2__img2 { position: relative; width: 100%; aspect-ratio: 16/10; display: block; }
	.mpap-about2__img1 { margin-bottom: 16px; }
	.mpap-about2__img2 { width: 100%; }
	.mpap-about2__badge { top: 12px; right: 12px; }
	.mpap-cta__inner { flex-direction: column; text-align: center; }
	.mpap-cta__inner > div:first-child { max-width: none; }
	.mpap-cta__btns { justify-content: center; }
}
@media (max-width: 560px) {
	.mpap-about2__facts { grid-template-columns: 1fr; }
}
