/*
 * CSS de la page "À propos de nous", reconstruite depuis l'export Elementor
 * "about us export" (elementor-7131-2026-08-24.json). Couleurs, images et
 * texte repris tels quels du JSON (section Création, fondateur, Vision/
 * Mission, BUT, 3 volets, Nos valeurs, mot de la présidente, membres,
 * historique des présidents, réseaux sociaux).
 */

.apropos-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

.apropos-section {
	padding: 64px 0;
}

.apropos-section--tight {
	padding: 40px 0;
}

.apropos-heading {
	text-align: center;
	color: #097D50;
	font-size: 44px;
	font-weight: 700;
	margin: 0 0 32px;
}

.apropos-heading--left {
	text-align: left;
}

/* ---------- Création / Fondateur (texte + image, 2 colonnes) ---------- */

.apropos-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.apropos-split img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.apropos-split p {
	color: #1D1D1D;
	line-height: 1.8;
	margin: 0 0 14px;
}

.apropos-split p:last-child {
	margin-bottom: 0;
}

.section-fondateur {
	background: #EEEEEE;
}

.fondateur-photo--gris {
	filter: grayscale(100%);
}

.section-fondateur .apropos-split {
	grid-template-columns: 1.2fr 1fr;
}

/* ---------- Vision / Mission (fond clair) ---------- */

.vision-mission-light {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.vision-mission-light .valeur-item-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(9, 125, 80, 0.08);
	color: #097D50;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	margin-bottom: 16px;
}

.vision-mission-light h3 {
	color: #0C0C0C;
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 12px;
}

.vision-mission-light p {
	color: #1F1F1F;
	line-height: 1.7;
	margin: 0;
}

/* ---------- BUT ---------- */

.apropos-but {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.apropos-but p {
	color: #2A2A2A;
	line-height: 1.8;
}

/* ---------- Nos valeurs (fond image + dégradé, variante sombre) ---------- */

.section-valeurs-dark {
	position: relative;
	background-image: url('/wp-content/uploads/2023/02/programme-vogny-e1677060564868.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
}

.section-valeurs-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--brand-gradient-a), var(--brand-gradient-b));
	opacity: 0.86;
}

.section-valeurs-dark .apropos-container {
	position: relative;
}

.section-valeurs-dark .apropos-heading {
	color: #fff;
}

.valeurs-grid--dark {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 24px;
	max-width: 1000px;
	margin: 0 auto;
}

.valeurs-grid--dark .valeur-item h3 {
	color: #fff;
}

.valeurs-grid--dark .valeur-icon {
	background: rgba(255, 255, 255, 0.12);
}

/* Les SVG (noun-project) sont importés en <img>, donc pas de fill CSS direct :
   ce filtre force le rendu en blanc quelle que soit la couleur d'origine du SVG. */
.valeurs-grid--dark .valeur-icon img {
	filter: brightness(0) invert(1);
}

/* ---------- Mot de la présidente ---------- */

.president-word {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.president-word img {
	width: 100%;
	max-width: 420px;
	height: auto;
	border-radius: 8px;
	display: block;
	margin: 0 auto;
}

.president-word p {
	color: #000;
	line-height: 1.8;
	margin: 0 0 14px;
}

/* ---------- Les membres (bandeau clair + bouton) ---------- */

.section-membres {
	background: #F5FFEA;
	text-align: center;
}

.section-membres h2 {
	color: #353535;
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 12px;
}

.section-membres .divider {
	width: 60px;
	height: 3px;
	background: var(--jade-primary, #0B6E34);
	margin: 0 auto 20px;
}

.section-membres p {
	max-width: 640px;
	margin: 0 auto 24px;
	color: #181818;
	line-height: 1.7;
}

/* ---------- Historique des présidents (timeline) ---------- */

.timeline {
	max-width: 980px;
	margin: 0 auto;
	position: relative;
}

/* Ligne verticale centrale */
.timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--jade-background, #F2F1EE);
	transform: translateX(-50%);
}

.timeline-row {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 64px;
	margin-bottom: 56px;
}

.timeline-row:last-child {
	margin-bottom: 0;
}

.timeline-row--left .timeline-card {
	grid-column: 1;
}

.timeline-row--right .timeline-card {
	grid-column: 2;
}

.timeline-card {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	padding: 24px 28px;
}

/* Rond central, agrandi, avec l'année en blanc */
.timeline-dot {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--jade-primary, #0B6E34);
	border: 4px solid #fff;
	box-shadow: 0 0 0 3px var(--jade-primary, #0B6E34);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	z-index: 2;
}

.timeline-item-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 10px;
}

.timeline-item-header img {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.timeline-card h3 {
	margin: 0;
	font-size: 19px;
	color: #097D50;
}

.timeline-card .timeline-date {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--jade-secondary, #D9A62E);
	text-transform: uppercase;
	margin-top: 2px;
}

.timeline-card ul {
	margin: 0;
	padding-left: 20px;
	color: #333;
	line-height: 1.7;
}

.timeline-card li {
	margin-bottom: 4px;
}

@media (max-width: 800px) {
	.timeline::before {
		left: 28px;
	}

	.timeline-row,
	.timeline-row--left,
	.timeline-row--right {
		grid-template-columns: 1fr;
		column-gap: 0;
		padding-left: 64px;
	}

	.timeline-row--left .timeline-card,
	.timeline-row--right .timeline-card {
		grid-column: 1;
	}

	.timeline-dot {
		left: 28px;
		width: 64px;
		height: 64px;
		font-size: 13px;
	}
}

@media (max-width: 700px) {
	.apropos-split,
	.section-fondateur .apropos-split,
	.vision-mission-light,
	.president-word {
		grid-template-columns: 1fr;
	}

	.section-fondateur .apropos-split {
		display: flex;
		flex-direction: column-reverse;
	}

	.valeurs-grid--dark {
		grid-template-columns: repeat(2, 1fr);
	}

	.apropos-heading {
		font-size: 32px;
	}

	.timeline {
		padding-left: 24px;
	}

	.timeline-item::before {
		left: -31px;
	}
}
