/*
Theme Name: WIVA
Theme URI: https://wiva-bet.fr
Author: WIVA
Description: Thème sur mesure pour WIVA — Bureau d'études & Maîtrise d'œuvre TCE. Pages Accueil, Expertises, Références, WIVA et Contact ; gestion des références et de l'équipe ; formulaire Contact Form 7.
Version: 2.2.3
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wiva
*/

/* ---------- Variables ---------- */
:root {
	--navy: #0f2c4a;
	--navy-deep: #0a2239;
	--navy-soft: #1d3d60;
	--gold: #d69d16;
	--gold-dark: #b98510;
	--gold-soft: #fdf5e2;
	--text: #1d2d3f;
	--muted: #5b6b7c;
	--line: #e2e7ee;
	--tint: #f1f4f8;
	--white: #fff;
	--radius: 6px;
	--shadow: 0 1px 2px rgba(15, 44, 74, .06), 0 6px 18px rgba(15, 44, 74, .06);
	--shadow-hover: 0 2px 4px rgba(15, 44, 74, .08), 0 14px 32px rgba(15, 44, 74, .12);
	--container: 1180px;
	--font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--navy); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--gold { color: var(--gold); }
.l-gold { color: var(--gold); }
.l-navy { color: var(--navy); }

/* ---------- Boutons & liens ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: 13px 24px; border-radius: 3px; border: 1.5px solid transparent;
	font-weight: 500; font-size: 15px; line-height: 1.2; white-space: nowrap;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 15px 34px; font-size: 17px; min-width: 220px; }

.link-arrow {
	white-space: nowrap;
	display: inline-flex; align-items: center; gap: .5em;
	font-weight: 600; font-size: 14px; color: var(--navy);
	border-bottom: 1.5px solid var(--gold); padding-bottom: 2px;
}
.link-arrow .icon { color: var(--gold); transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--underline { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--navy); text-underline-offset: 3px; }

.icon-btn {
	width: 42px; height: 42px; display: inline-grid; place-items: center;
	background: none; border: 0; color: var(--navy); border-radius: 50%;
}
.icon-btn:hover { background: var(--tint); }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: #fff;
	box-shadow: 0 1px 0 var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-brand { flex: none; }
.site-brand img { height: 48px; width: auto; }
.site-logo { display: block; }
.logo-text {
	display: inline-flex; font-weight: 800; font-size: 42px; letter-spacing: -.04em;
	line-height: 1; font-style: italic;
}
.logo-text--light { color: #fff; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { display: flex; gap: 34px; }
.site-nav .menu a {
	position: relative; display: block; padding: 8px 0; font-size: 15px; color: var(--navy); font-weight: 500;
}
.site-nav .menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
.site-nav .menu a:hover::after,
.site-nav .menu .is-active > a::after { transform: scaleX(1); }
.site-nav .sub-menu { display: none; }
.site-nav__cta { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.site-search { border-top: 1px solid var(--line); padding: 14px 0; background: #fff; }
.site-search form { display: flex; gap: 10px; }
.site-search input { flex: 1; }

/* ---------- Héro ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(120% 140% at 90% 10%, #2a5078 0%, var(--navy) 45%, var(--navy-deep) 100%);
	min-height: 300px; display: flex; align-items: center;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(10, 34, 57, .92) 0%, rgba(10, 34, 57, .78) 38%, rgba(10, 34, 57, .15) 75%, rgba(10, 34, 57, 0) 100%);
}
.hero:not(.hero--has-image)::after {
	content: ""; position: absolute; inset: 0; opacity: .08;
	background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.hero--lg { min-height: 380px; }
.hero--lg .hero__inner { padding-top: 64px; padding-bottom: 64px; }
.hero__eyebrow {
	display: flex; align-items: flex-start; gap: 12px;
	font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: #fff; margin-top: .55em; flex: none; }
.hero__eyebrow a { color: #fff; }
.hero__eyebrow a:hover { color: var(--gold); }
.hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 56px); font-weight: 700; line-height: 1.08; margin-bottom: 16px; }
.hero__title--md { font-size: clamp(30px, 4vw, 44px); }
.hero__highlight { color: var(--gold); }
.hero__text { font-size: clamp(17px, 1.7vw, 20px); max-width: 560px; margin-bottom: 20px; font-weight: 300; }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 28px; }
.hero__tags::before { content: ""; width: 26px; height: 3px; background: var(--gold); margin-right: 14px; border-radius: 2px; }
.hero__tags li + li::before { content: "•"; margin-right: 10px; color: var(--gold); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; }
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta .icon { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }
.section--tight-top { padding-top: 16px; }
.section-head {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px;
	align-items: end; margin-bottom: 32px;
}
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 15px; }
.section-head__aside p { max-width: 520px; }
.section-head:has(.link-arrow):has(.section-head__aside p) .section-head__aside { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eyebrow {
	display: flex; align-items: center; gap: 12px;
	font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
	color: var(--gold); margin-bottom: 8px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex: none; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; width: 0; }
.section-title { font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; margin-bottom: 16px; }
.section-head .section-title { margin-bottom: 0; }
.section-title em { font-style: italic; font-weight: 600; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

.card, .exp-card, .exp-detail, .stat, .ref-card, .philo-card, .member {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}

.img-placeholder {
	display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #e7edf4 0%, #d5dfea 100%); color: #9fb2c6;
}
.img-placeholder .icon { width: 42px; height: 42px; stroke-width: 1.2; }
.rounded-img { border-radius: var(--radius); width: 100%; object-fit: cover; }

/* ---------- Cartes expertises (accueil) ---------- */
.exp-card {
	position: relative; display: flex; flex-direction: column; gap: 12px;
	padding: 14px 12px 40px; color: var(--text); transition: box-shadow .25s, transform .25s;
}
.exp-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); color: var(--text); }
.exp-card__head { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.exp-card__head .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.exp-card__title { font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.2; }
.exp-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: 2px; }
.exp-card__text { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.exp-card__arrow { position: absolute; right: 12px; bottom: 12px; color: var(--gold); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; position: relative; counter-reset: step; }
.steps::before {
	content: ""; position: absolute; top: 13px; left: 8.33%; right: 8.33%; height: 2px; background: var(--gold); opacity: .7;
}
.step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step__num {
	position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%;
	background: var(--gold); color: #fff; font-weight: 600; font-size: 13px;
	display: grid; place-items: center; box-shadow: 0 0 0 5px var(--tint);
}
.section:not(.section--tint) .step__num { box-shadow: 0 0 0 5px #fff; }
.step__icon { margin: 14px 0 8px; color: var(--navy); }
.step__icon .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.step__title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step__text { font-size: 13.5px; color: var(--muted); line-height: 1.45; max-width: 180px; }

/* ---------- Chiffres ---------- */
.stats { gap: 16px; }
.stat { display: flex; align-items: center; gap: 18px; padding: 22px 22px; box-shadow: none; background: #fafbfd; }
.stat__icon { width: 40px; height: 40px; stroke-width: 1.4; }
.stat__value { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.05; margin-bottom: 6px; }
.stat__value span { display: block; font-size: 17px; font-weight: 600; }
.stat__value--zone { font-size: 19px; line-height: 1.2; }
.stat__note { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.stats--compact { margin-top: 24px; }
.stats--compact .stat { background: #fff; }
.stats--compact .stat__value { font-size: 22px; margin-bottom: 2px; }

/* ---------- Références ---------- */
.ref-tile {
	position: relative; display: block; overflow: hidden; border-radius: var(--radius);
	aspect-ratio: 16 / 8.5; color: #fff; background: var(--navy);
}
.ref-tile img, .ref-tile .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .5s; }
.ref-tile:hover img { transform: scale(1.05); }
.ref-tile .img-placeholder .icon { display: none; }
.ref-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,34,57,0) 30%, rgba(10,34,57,.9) 100%); }
.ref-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 44px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.ref-tile__label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.ref-tile__title { font-size: 18px; font-weight: 600; }
.ref-tile__text { font-size: 13px; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ref-tile__arrow { position: absolute; right: 14px; bottom: 16px; color: var(--gold); }
.ref-tile:hover { color: #fff; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.filters__label { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; color: var(--navy); margin: 0 24px 0 0; }
.filters__label::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.chip {
	min-width: 100px; padding: 8px 22px; border-radius: 999px; border: 1px solid var(--line);
	background: #f7f9fb; color: var(--navy); font-size: 14px; transition: all .2s;
}
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.filters__empty, .empty-state { text-align: center; color: var(--muted); padding: 24px 0; }

.ref-card { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.ref-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.ref-card[hidden] { display: none; }
.ref-card__media img, .ref-card__media .img-placeholder { aspect-ratio: 16 / 7.2; width: 100%; object-fit: cover; }
.ref-card__body { position: relative; padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.ref-card__label { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.ref-card__label::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.ref-card__title { font-size: 20px; margin-bottom: 10px; }
.ref-card__title a { color: var(--navy); }
.ref-card__meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; margin-bottom: 10px; }
.ref-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ref-card__meta .icon { color: var(--gold); width: 18px; height: 18px; }
.ref-card__text { font-size: 14px; color: var(--muted); line-height: 1.45; padding-right: 28px; }
.ref-card__arrow { position: absolute; right: 16px; bottom: 18px; color: var(--gold); }

.zoom { display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: center; }
.zoom__lead { font-size: 17px; margin-bottom: 20px; }
.zoom__media .rounded-img { aspect-ratio: 16 / 7; }

/* ---------- Expertises (détail) ---------- */
.exp-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.exp-detail { padding: 16px 12px 18px; display: flex; flex-direction: column; box-shadow: none; }
.exp-detail__head { display: flex; align-items: flex-start; gap: 16px; padding: 4px 8px 12px; }
.exp-detail__icon { width: 44px; height: 44px; stroke-width: 1.3; flex: none; }
.exp-detail__title { font-size: 20px; margin-bottom: 2px; }
.exp-detail__subtitle { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.exp-detail__img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
.exp-detail .checklist { margin: 12px 8px 16px; flex: 1; }
.exp-detail__lead { margin: 0 8px 4px; font-size: 14.5px; color: var(--navy); font-weight: 500; line-height: 1.45; }
.exp-detail__img + .checklist { margin-top: 16px; }
.exp-detail__img { margin-top: 8px; }

/* Badges de certification sur une expertise */
.exp-certs { display: grid; gap: 8px; margin: 0 8px 16px; }
.exp-cert { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid #f1dfb2; color: var(--text); transition: border-color .2s; }
.exp-cert:hover { border-color: var(--gold); color: var(--text); }
.exp-cert__logos { display: flex; gap: 6px; flex: none; }
.exp-cert__logos .cert-logo { height: 34px; width: auto; max-width: 80px; object-fit: contain; background: #fff; border-radius: 4px; padding: 3px; }
.exp-cert__logos .cert-logo--text { height: 34px; }
.exp-cert__txt { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.exp-cert__txt strong { font-size: 13.5px; color: var(--navy); font-weight: 600; }
.exp-cert__txt em { font-style: normal; color: var(--gold-dark); font-weight: 500; }

/* Page Certifications */
.cert-list { display: grid; gap: 18px; }
.cert-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cert-card--pending { border-style: dashed; }
.cert-card__logos { display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; min-height: 160px; padding: 18px; background: var(--tint); border-radius: var(--radius); }
.cert-card__logos .cert-logo { max-width: 100%; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.cert-logo--text { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 4px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: 13px; letter-spacing: .04em; }
.cert-logo--text .icon { color: var(--gold); width: 18px; height: 18px; }
.cert-card__logos .cert-logo--text { font-size: 20px; padding: 12px 18px; }
.cert-card__logos .cert-logo--text .icon { width: 26px; height: 26px; }
.cert-card__status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); margin-bottom: 6px; }
.cert-card__status .icon { width: 16px; height: 16px; }
.cert-card__title { font-size: 24px; margin-bottom: 10px; }
.cert-card__text { color: #3b4b5d; max-width: 70ch; }
.cert-card__facts { margin: 14px 0 0; max-width: 560px; }
.cert-card__links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; }
@media (max-width: 760px) { .cert-card { grid-template-columns: 1fr; gap: 18px; padding: 18px; } .cert-card__logos { min-height: 120px; } }
.exp-detail .link-arrow { margin: 0 8px; align-self: flex-start; }

.checklist li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; margin-bottom: 3px; }
.checklist li::before {
	content: ""; position: absolute; left: 0; top: .22em; width: 15px; height: 15px; border-radius: 50%;
	background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value { text-align: center; padding: 4px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.value + .value { border-left: 1px solid #cfd8e3; }
.value__icon { width: 44px; height: 44px; stroke-width: 1.3; margin: 0 auto 8px; }
.value__title { font-size: 17px; margin-bottom: 4px; }

/* ---------- Page WIVA ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media .rounded-img, .split__media .img-placeholder { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.prose { color: #3b4b5d; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .4em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose > :first-child { margin-top: 0; }
.lead { font-size: 19px; color: var(--navy); margin-bottom: 24px; }

.philo-card { position: relative; display: flex; gap: 20px; padding: 22px 22px 40px; color: var(--text); transition: box-shadow .25s, transform .25s; }
.philo-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); color: var(--text); }
.philo-card__icon { width: 48px; height: 48px; stroke-width: 1.3; }
.philo-card__title { display: block; font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.philo-card__text { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.philo-card__arrow { position: absolute; right: 18px; bottom: 16px; color: var(--gold); }

.member { overflow: hidden; display: flex; flex-direction: column; }
.member__photo img, .member__photo .img-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.member__body { position: relative; padding: 16px 18px 20px; flex: 1; }
.member__name { font-size: 18px; }
.member__role { color: var(--gold); font-size: 14.5px; margin-bottom: 10px; }
.member__bio { font-size: 14px; color: var(--muted); line-height: 1.45; padding-right: 30px; }
.member__linkedin { position: absolute; right: 16px; bottom: 16px; color: var(--gold); }
.member__linkedin .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.cta-band__media {
	position: absolute; left: 0; top: 0; bottom: 0; width: 23%;
	clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}
.cta-band__media::after {
	content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 22%;
	background: var(--gold); clip-path: polygon(0 0, 30% 0, 100% 100%, 70% 100%);
}
.cta-band__media img, .cta-band__media .img-placeholder { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.cta-band__media .img-placeholder { background: linear-gradient(135deg, var(--navy-soft), var(--navy)); color: rgba(255,255,255,.25); }
.cta-band__inner {
	position: relative; display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 32px;
	padding-top: 26px; padding-bottom: 26px;
	max-width: none; margin-left: 23%; width: 77%;
	padding-left: 36px; padding-right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.cta-band__title { color: #fff; font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.2; }
.cta-band__heading .eyebrow { margin-bottom: 6px; font-size: 10.5px; }
.cta-band__text { font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.5; margin: 0; }
.cta-band--items .cta-band__inner { grid-template-columns: auto 1fr; }
.cta-band__items { display: grid; grid-template-columns: repeat(4, 1fr); }
.cta-band__items li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 14px; gap: 2px; }
.cta-band__items li + li { border-left: 1px solid rgba(255,255,255,.2); }
.cta-band__items .icon { color: var(--gold); width: 28px; height: 28px; margin-bottom: 4px; stroke-width: 1.4; }
.cta-band__items strong { font-size: 15px; font-weight: 600; }
.cta-band__items span { font-size: 12px; color: rgba(255,255,255,.8); line-height: 1.35; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact-info__intro { color: #3b4b5d; max-width: 440px; margin-bottom: 28px; }
.info-list li { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.info-list__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; color: var(--gold); flex: none; }
.info-list__icon .icon { width: 26px; height: 26px; }
.info-list strong { display: block; color: var(--navy); font-size: 16px; }
.info-list div > span, .info-list div > a { display: block; font-size: 16px; color: #3b4b5d; }
.info-list small { display: block; color: var(--muted); font-size: 14px; }
.contact-form { padding: 28px 24px; background: #fbfcfd; box-shadow: none; }
.contact-form__intro { color: #3b4b5d; }
.form-missing { padding: 16px; background: var(--gold-soft); border-radius: var(--radius); }

.map-layout { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: center; }
.zone-card { display: flex; gap: 20px; padding: 20px; margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.zone-card .icon { width: 44px; height: 44px; stroke-width: 1.3; }
.zone-card strong { display: block; font-size: 19px; color: var(--navy); line-height: 1.2; }
.zone-card span { font-size: 14px; color: var(--muted); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e5e9ee; }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

.commitments { display: grid; grid-template-columns: repeat(3, 1fr); }
.commitments li { display: flex; gap: 22px; padding: 0 28px; }
.commitments li:first-child { padding-left: 0; }
.commitments li + li { border-left: 1px solid var(--line); }
.commitments__icon { width: 52px; height: 52px; stroke-width: 1.3; }
.commitments h3 { font-size: 17px; margin-bottom: 4px; }
.commitments p { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Formulaire (Contact Form 7) ---------- */
.wpcf7 form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; color: var(--navy); font-size: 15px; }
.req { color: #c0392b; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .site-search input {
	width: 100%; padding: 11px 14px; border: 1px solid #d5dde6; border-radius: 4px; background: #fff;
	font: inherit; font-size: 14.5px; color: var(--text); font-weight: 400; transition: border-color .2s, box-shadow .2s;
}
.wpcf7 textarea { min-height: 110px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .site-search input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 157, 22, .15); }
.wpcf7 ::placeholder { color: #93a1b0; }
.wpcf7-form-control-wrap { display: block; }

.need-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.need-choice legend { font-weight: 500; color: var(--navy); font-size: 15px; margin-bottom: 8px; padding: 0; }
.need-choice .wpcf7-radio { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.need-choice .wpcf7-list-item { margin: 0; }
.need-choice .wpcf7-list-item label {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
	min-height: 84px; padding: 12px 8px 10px; border: 1px solid #d5dde6; border-radius: 4px; background: #fff;
	text-align: center; font-size: 14px; line-height: 1.2; color: var(--navy); font-weight: 500; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.need-choice .wpcf7-list-item label::before {
	content: ""; width: 32px; height: 32px; background: var(--gold);
	-webkit-mask: var(--need-icon) center / contain no-repeat; mask: var(--need-icon) center / contain no-repeat;
}
.need-choice .wpcf7-list-item:nth-child(1) label { --need-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5' /%3E %3Cpath d='M14 6a6 6 0 0 1 6 6v3' /%3E %3Cpath d='M4 15v-3a6 6 0 0 1 6-6' /%3E %3Crect x='2' y='15' width='20' height='4' rx='1' /%3E%3C/svg%3E"); }
.need-choice .wpcf7-list-item:nth-child(2) label { --need-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 12h4' /%3E %3Cpath d='M10 8h4' /%3E %3Cpath d='M14 21v-3a2 2 0 0 0-4 0v3' /%3E %3Cpath d='M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2' /%3E %3Cpath d='M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16' /%3E%3C/svg%3E"); }
.need-choice .wpcf7-list-item:nth-child(3) label { --need-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5' /%3E %3Cpath d='M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12' /%3E %3Cpath d='m14 16-3 3 3 3' /%3E %3Cpath d='M8.293 13.596 7.196 9.5 3.1 10.598' /%3E %3Cpath d='m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843' /%3E %3Cpath d='m13.378 9.633 4.096 1.098 1.097-4.096' /%3E%3C/svg%3E"); }
.need-choice .wpcf7-list-item:nth-child(4) label { --need-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 2h2' /%3E %3Cpath d='m14.28 14-4.56 8' /%3E %3Cpath d='m21 22-1.558-4H4.558' /%3E %3Cpath d='M3 10v2' /%3E %3Cpath d='M6.245 15.04A2 2 0 0 1 8 14h12a1 1 0 0 1 .864 1.505l-3.11 5.457A2 2 0 0 1 16 22H4a1 1 0 0 1-.863-1.506z' /%3E %3Cpath d='M7 2a4 4 0 0 1-4 4' /%3E %3Cpath d='m8.66 7.66 1.41 1.41' /%3E%3C/svg%3E"); }
.need-choice .wpcf7-list-item:nth-child(5) label { --need-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' /%3E %3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3' /%3E %3Cpath d='M12 17h.01' /%3E%3C/svg%3E"); }
.need-choice input[type="radio"] { position: absolute; top: 8px; left: 8px; margin: 0; accent-color: var(--gold); width: 15px; height: 15px; }
.need-choice label:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.field--consent { font-size: 13px; color: var(--muted); font-weight: 400; }
.field--consent .wpcf7-list-item { margin: 0; }
.field--consent label { display: flex; gap: 8px; align-items: flex-start; }
.field--consent input { margin-top: 3px; accent-color: var(--gold); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--muted); }
.wpcf7-submit { font-family: var(--font); }
.wpcf7-submit:disabled { opacity: .75; cursor: not-allowed; }
.wpcf7-spinner { margin: 0 12px; }
.wpcf7-not-valid-tip { font-size: 13px; font-weight: 400; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: 4px; font-size: 14px; }

/* Formulaire intégré (sans Contact Form 7) */
.wiva-form-native form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.wiva-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 16px; border-radius: 4px; font-size: 14px; margin-top: 16px; }
.form-status--ok { background: #e8f5ec; border: 1px solid #46b450; color: #1e5e2c; }
.form-status--error { background: #fdecea; border: 1px solid #dc3232; color: #8a1f1f; }

/* ---------- Pages simples ---------- */
.page-header { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-header__title { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.post-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-list a { font-size: 20px; font-weight: 600; }
.back-link { margin-top: 32px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { height: 52px; width: auto; }
.site-footer__logo .logo-text { font-size: 50px; }
.site-footer__baseline { margin: 6px 0 12px; color: #fff; }
.site-footer__tagline { color: rgba(255,255,255,.75); }
.site-footer__title { color: #fff; font-size: 14px; font-weight: 600; margin: 10px 0 10px; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--gold); }
.site-footer__col ul li { margin-bottom: 3px; }
.contact-list li { display: flex; gap: 12px; align-items: center; margin-bottom: 8px !important; }
.contact-list .icon { color: var(--gold); width: 17px; height: 17px; }
.social-link { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-top: 6px; border-radius: 3px; background: #fff; }
.social-link .icon { width: 16px; height: 16px; color: var(--navy-deep); fill: currentColor; stroke: none; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; font-size: 12px; }
.legal-links { display: flex; }
.legal-links li + li::before { content: "|"; margin: 0 12px; opacity: .6; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-nav .menu { gap: 22px; }
	.cta-band__media { width: 18%; }
	.cta-band__inner { margin-left: 18%; width: 82%; grid-template-columns: 1fr auto; }
	.cta-band__text { display: none; }
	.cta-band--items .cta-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 66px; }
	.nav-toggle { display: inline-grid; }
	.header-cta { display: none; }
	.site-header__inner { justify-content: space-between; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
		flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 24px;
		padding: 24px; transform: translateX(100%); transition: transform .3s; overflow-y: auto;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { transform: none; }
	.nav-open { overflow: hidden; }
	.nav-open .nav-toggle .icon-open { display: none; }
	.nav-open .nav-toggle .icon-close { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { font-size: 19px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { display: none; }
	.site-nav .menu .is-active > a { color: var(--gold-dark); }
	.site-nav__cta { display: inline-flex; }
	.logo-text { font-size: 36px; }
	.site-brand img { height: 40px; }

	.section { padding: 48px 0; }
	.section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
	.section-head:has(.link-arrow):has(.section-head__aside p) .section-head__aside { flex-direction: column; align-items: flex-start; }
	.grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
	.steps::before { display: none; }
	.exp-detail-grid { grid-template-columns: 1fr 1fr; }
	.need-choice .wpcf7-radio { grid-template-columns: repeat(3, 1fr); }
	.values { grid-template-columns: 1fr 1fr; row-gap: 28px; }
	.value:nth-child(3) { border-left: 0; }
	.split, .zoom, .contact-layout, .map-layout { grid-template-columns: 1fr; gap: 32px; }
	.commitments { grid-template-columns: 1fr; gap: 24px; }
	.commitments li { padding: 0; }
	.commitments li + li { border-left: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.cta-band__media { display: none; }
	.cta-band__inner, .cta-band--items .cta-band__inner { margin: 0 auto; width: 100%; padding: 32px 24px; grid-template-columns: 1fr; gap: 18px; }
	.cta-band__items { grid-template-columns: 1fr 1fr; row-gap: 20px; }
	.cta-band__items li:nth-child(3) { border-left: 0; }
	.hero::before { background: linear-gradient(90deg, rgba(10,34,57,.9) 0%, rgba(10,34,57,.7) 100%); }
}

@media (max-width: 600px) {
	.container { padding: 0 16px; }
	.hero__inner { padding-top: 44px; padding-bottom: 44px; }
	.hero__buttons .btn { width: 100%; }
	.hero__tags::before { display: none; }
	.hero__tags { font-size: 12px; letter-spacing: .14em; }
	.grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.exp-detail-grid { grid-template-columns: 1fr; }
	.values { grid-template-columns: 1fr; }
	.value + .value { border-left: 0; }
	.form-grid { grid-template-columns: 1fr; }
	.need-choice .wpcf7-radio { grid-template-columns: 1fr 1fr; }
	.filters__label { width: 100%; margin: 0; }
	.chip { min-width: 0; padding: 7px 16px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.btn--lg { width: 100%; }
}



/* ---------- Texte justifié ---------- */
.prose p, .prose li,
.hero__text, .section-head__aside p, .zoom__lead, .zoom__mission, .lead,
.exp-card__text, .exp-detail__lead, .cert-card__text, .philo-card__text, .member__bio,
.ref-card__text, .ref-tile__text, .stat__note, .cta-band__text,
.contact-info__intro, .contact-form__intro, .commitments p,
.map-layout p, .site-footer__tagline {
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 7 3 3;
}
/* Les blocs centrés restent centrés. */
.value p, .step__text, .cta-band__items span, .timeline__item span { text-align: center; }

/* ---------- V2 : équipe ---------- */
.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid--1 { grid-template-columns: minmax(0, 360px); }
.team-grid--2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.team-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.member__photo { background: linear-gradient(135deg, #e7edf4, #d5dfea); }
.member__photo img { aspect-ratio: 1 / 1; object-fit: cover; }
.member__photo .member__img--top { object-position: 50% 0; }
.member__photo .member__img--center { object-position: 50% 50%; }
.member__photo .member__img--bottom { object-position: 50% 100%; }
.member__initials { display: grid; place-items: center; aspect-ratio: 1 / 1; font-size: 44px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.member__body { display: flex; flex-direction: column; }
.member__bio { padding-right: 0; flex: 1; }
.member__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.li-pill {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 10px;
	border-radius: 999px; background: #0a66c2; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.2;
	transition: background .2s, transform .2s;
}
.li-pill:hover { background: #004182; color: #fff; transform: translateY(-1px); }
.li-pill .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.li-pill--ghost { background: var(--tint); color: var(--navy); border: 1px solid var(--line); }
.li-pill--ghost .icon { fill: none; stroke: currentColor; stroke-width: 2; }
.li-pill--ghost:hover { background: #fff; color: var(--navy); border-color: var(--gold); }
.li-pill--solid { padding: 9px 18px 9px 14px; font-size: 14px; }
.split__links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 22px; }

/* ---------- V2 : fiches références ---------- */
.ref-card__facts { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; padding-right: 28px; }
.ref-card__facts div { display: flex; gap: 8px; }
.ref-card__facts dt { color: var(--muted); }
.ref-card__facts dd { margin: 0; color: var(--navy); font-weight: 500; }
.zoom__mission { font-size: 14px; color: var(--muted); font-style: italic; margin-bottom: 10px; }

.hero--ref { min-height: 380px; }
.hero--ref .hero__text { max-width: 640px; font-size: 17px; }
.ref-figures { background: var(--tint); padding: 0 0 8px; }
.ref-figures .stats--compact { margin-top: 0; transform: translateY(-28px); margin-bottom: -20px; position: relative; z-index: 3; }
.ref-figures .stat { box-shadow: var(--shadow); }
.ref-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.ref-subtitle { font-size: 20px; margin: 32px 0 14px; }
.checklist--lg li { font-size: 15.5px; margin-bottom: 8px; }
.ref-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; border-top: 3px solid var(--gold); }
.side-card__title { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.side-card__title .icon { width: 20px; height: 20px; }
.side-card__main { font-size: 18px; font-weight: 600; color: var(--navy); margin: 0; }
.side-card__sub { font-size: 14px; color: var(--muted); }
.kv { margin: 0; display: grid; gap: 8px; }
.kv div { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--navy); font-weight: 500; text-align: right; }
.kv .is-wiva dd, .kv .is-wiva dt { color: var(--gold-dark); font-weight: 600; }
.side-cta { white-space: normal; text-align: center; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--gold); opacity: .6; }
.timeline__item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.timeline__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #fff; margin-bottom: 6px; }
.timeline__item.is-planned .timeline__dot { background: #fff; border: 2px solid var(--gold); }
.timeline__item strong { font-size: 14px; color: var(--navy); }
.timeline__item span { font-size: 13.5px; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius); background: #dfe6ee; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.section--tight { padding: 28px 0; }

@media (max-width: 960px) {
	.team-grid, .team-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ref-layout { grid-template-columns: 1fr; gap: 32px; }
	.ref-side { position: static; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.team-grid, .team-grid--2, .team-grid--3 { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: 1fr 1fr; row-gap: 20px; }
	.timeline::before { display: none; }
	.ref-figures .stats--compact { transform: none; margin: 0; padding-top: 16px; }
	.stats--compact { grid-template-columns: 1fr 1fr; gap: 10px; }
	.stats--compact .stat { padding: 14px; gap: 10px; }
	.stats--compact .stat__icon { display: none; }
	.stats--compact .stat__value { font-size: 18px; }
	.member__photo img, .member__initials { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Carte Contact ---------- */
.map-frame { position: relative; }
.wiva-map { width: 100%; height: 380px; background: #e8edf3; z-index: 0; }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 10px 14px; font-size: 13px; color: var(--navy); background: #fff; border-top: 1px solid var(--line); }
.map-legend__swatch { width: 18px; height: 12px; border: 2px solid var(--gold); background: rgba(214, 157, 22, .15); border-radius: 2px; }
.map-legend__pin { width: 12px; height: 12px; margin-left: 12px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--navy); }
.wiva-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 3px 8px rgba(0,0,0,.3); }
.wiva-map-tip { font-family: var(--font); font-weight: 600; color: var(--navy); }
.leaflet-container { font-family: var(--font); }
.wiva-map .leaflet-tile-pane { filter: grayscale(1) contrast(.9) brightness(1.06); }
@media (max-width: 600px) { .wiva-map { height: 300px; } }
