/* =========================================================
   CEDAR ONGD — feuille de style (d'après la maquette)
   ========================================================= */
:root {
  --vert-fonce: #0b4d26;
  --vert: #0f6b34;
  --vert-vif: #1e8c3a;
  --vert-clair: #e9f4ec;
  --vert-pale: #f3f8f4;
  --jaune: #f6c400;
  --jaune-pale: #fff8e6;
  --orange: #f2a900;
  --rouge: #e3262f;
  --rouge-pale: #fdeff0;
  --bleu: #0e6e8c;
  --bleu-pale: #eaf5f8;
  --violet: #6b3fa0;
  --texte: #1f2d24;
  --texte-doux: #4c5a50;
  --bordure: #e3ebe5;
  --blanc: #ffffff;
  --ombre: 0 6px 20px rgba(11, 77, 38, .08);
  --rayon: 12px;
  --police: "Ubuntu", "Segoe UI", Arial, sans-serif;
  --script: "Kalam", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--police);
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--vert-fonce); font-weight: 700; }
p { margin: 0 0 1em; color: var(--texte-doux); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 64px 0; }
.section--pale { background: var(--vert-pale); }
.surtitre { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vert); margin-bottom: 6px; }
.titre-section { font-size: clamp(24px, 3vw, 32px); }
.titre-maj { text-transform: uppercase; font-size: clamp(20px, 2.4vw, 26px); }
.sous-titre { color: var(--texte-doux); margin-top: -4px; }
.text-jaune { color: var(--jaune); }
.entete-section { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, color .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }
.btn--vert { background: var(--vert); color: #fff; }
.btn--vert:hover { background: var(--vert-fonce); }
.btn--jaune { background: var(--jaune); color: var(--vert-fonce); }
.btn--rouge { background: var(--rouge); color: #fff; }
.btn--bleu { background: var(--bleu); color: #fff; }
.btn--blanc { background: #fff; color: var(--vert-fonce); }
.btn--contour { border-color: #fff; color: #fff; background: transparent; }
.btn--contour-vert { border-color: var(--vert); color: var(--vert); background: #fff; }
.btn--petit { padding: 7px 16px; font-size: 13px; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--vert-fonce); color: #fff; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.topbar__infos { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar__infos span, .topbar__social { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }
.topbar__social { gap: 14px; }
.topbar__social svg { width: 16px; height: 16px; }

/* ---------- En-tête / navigation ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 68px; height: 68px; border-radius: 50%; object-fit: contain; background: #fff; }
.brand__nom { font-size: 22px; font-weight: 700; color: var(--vert); line-height: 1; }
.brand__sous { font-size: 11.5px; color: var(--vert-fonce); }
.brand__devise { font-family: var(--script); font-size: 13px; color: var(--vert); line-height: 1.1; }
.nav ul { display: flex; gap: 4px; align-items: center; }
.brand__texte { display: flex; flex-direction: column; gap: 4px; }
.brand__long { max-width: 300px; font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--vert-vif); text-transform: uppercase; }
.brand .brand__nom { color: var(--rouge); font-weight: 700; text-transform: uppercase; }
.footer .brand .brand__nom { color: #fff; }
.footer .brand__long { color: #fff; }
.nav a { display: block; padding: 8px 7px; font-size: 13px; color: var(--texte); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--vert); }
.nav a.actif { color: var(--vert); font-weight: 700; border-bottom-color: var(--vert); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; background: var(--vert); margin: 5px 0; border-radius: 2px; }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--vert-fonce);
  min-height: 330px; display: flex; align-items: center;
}
.hero__img { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--vert-fonce) 0%, var(--vert-fonce) 36%, rgba(11,77,38,.75) 48%, rgba(11,77,38,0) 66%);
}
.hero .container { position: relative; z-index: 2; padding: 42px 0; }
.hero__contenu { max-width: 540px; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--vert-vif); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.badge svg { width: 14px; height: 14px; fill: currentColor; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 50px); margin-bottom: 10px; }
.hero h1 em { font-style: normal; color: var(--jaune); }
.hero__lead { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.hero p { color: #e6f1e9; font-size: 15.5px; }
.hero__trait { width: 70px; height: 4px; background: var(--jaune); border-radius: 2px; margin: 0 0 18px; }
.fil-ariane { font-size: 13px; color: #d7eadd; display: flex; gap: 8px; }
.hero__script {
  position: absolute; right: 4%; top: 50%; z-index: 2;
  transform: translateY(-50%) rotate(-10deg);
  font-family: var(--script); font-size: clamp(22px, 2.6vw, 32px); font-weight: 700;
  color: #fff; text-align: right; line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.hero__script::after { content: ""; display: block; height: 4px; background: var(--jaune); border-radius: 4px; margin: 6px 0 0 auto; width: 85%; transform: rotate(-4deg); }

/* Héros de l'accueil */
.hero-accueil { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--vert-fonce); position: relative; overflow: hidden; }
.hero-accueil__photo { position: relative; min-height: 440px; }
.hero-accueil__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-accueil__devise {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--vert-fonce); color: #fff; font-family: var(--script); font-size: 22px;
  padding: 10px 46px 10px 40px; border-top-right-radius: 60px; border-top: 4px solid #fff;
}
.hero-accueil__texte {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 50px 6% 50px 9%;
  background: radial-gradient(circle at 80% 20%, #1a7a3b 0%, var(--vert-fonce) 70%);
}
.hero-accueil__texte::before {
  content: ""; position: absolute; left: -120px; top: 0; bottom: 0; width: 240px;
  background: inherit; border-radius: 50%; background: var(--vert-fonce);
}
.hero-accueil__texte > * { position: relative; }
.hero-accueil h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; margin-bottom: 18px; }
.hero-accueil h1 em { font-style: normal; color: var(--jaune); }
.hero-accueil h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 20px; }
.hero-accueil h2 em { font-style: normal; color: var(--jaune); }
.hero-accueil p { color: #e6f1e9; font-size: 16px; max-width: 460px; }
.hero-accueil__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.bande-couleurs { height: 6px; background: linear-gradient(90deg, var(--vert-vif) 0 40%, var(--jaune) 40% 70%, var(--rouge) 70% 100%); }

/* ---------- Chiffres clés ---------- */
.impact { display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--vert-pale); border-radius: var(--rayon); padding: 26px 14px; text-align: center; box-shadow: var(--ombre); }
.stat__icone { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: -54px auto 12px; background: var(--vert); color: #fff; border: 4px solid #fff; }
.stat__icone svg { width: 26px; height: 26px; fill: currentColor; }
.stat__icone--jaune { background: var(--orange); }
.stat strong { display: block; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; color: var(--vert-fonce); }
.stat strong.jaune { color: var(--orange); }
.stat span { color: var(--texte); font-size: 15px; }
.stats--accueil { margin-top: 30px; }

/* ---------- Partenaires (logos) ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logos--5 { grid-template-columns: repeat(5, 1fr); margin-top: 14px; }
.logo-carte { background: #fff; border-radius: 10px; box-shadow: var(--ombre); display: grid; place-items: center; padding: 14px; min-height: 92px; }
.logo-carte img { max-height: 62px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.centre { text-align: center; margin-top: 28px; }

/* ---------- Programmes (accueil) ---------- */
.programmes-accueil { display: grid; grid-template-columns: 1fr 3.2fr; gap: 28px; align-items: start; }
.prog-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.prog-carte { border: 2px solid var(--c, var(--vert-vif)); border-radius: 6px; overflow: hidden; background: #fff; }
.prog-carte__tete { background: var(--c, var(--vert-vif)); color: #fff; padding: 16px 16px 12px; }
.prog-carte__tete svg { width: 40px; height: 40px; fill: #fff; margin-bottom: 6px; }
.prog-carte__tete h3 { color: #fff; font-size: 17px; margin: 0; }
.prog-carte ul { padding: 12px 16px 16px; }
.prog-carte li { font-size: 13px; padding: 3px 0; color: var(--texte-doux); }
.prog-carte li::before { content: "• "; color: var(--c); font-weight: 700; }
.c-vert { --c: var(--vert-vif); --pale: var(--vert-pale); }
.c-jaune { --c: var(--orange); --pale: var(--jaune-pale); }
.c-rouge { --c: var(--rouge); --pale: var(--rouge-pale); }
.c-bleu { --c: var(--bleu); --pale: var(--bleu-pale); }
.c-fonce { --c: var(--vert); --pale: var(--vert-pale); }
.c-violet { --c: var(--violet); }

/* ---------- Projets ---------- */
.filtres { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filtre {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border: 1px solid var(--bordure); border-radius: 999px; background: #fff;
  font-family: inherit; font-size: 14px; cursor: pointer; color: var(--texte);
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.filtre svg { width: 20px; height: 20px; fill: var(--vert-vif); }
.filtre.actif { background: var(--vert); color: #fff; border-color: var(--vert); font-weight: 700; }
.filtre.actif svg { fill: #fff; }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.carte { background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; border: 1px solid var(--bordure); display: flex; flex-direction: column; transition: transform .2s; }
.carte:hover { transform: translateY(-4px); }
.carte__media { position: relative; aspect-ratio: 2.3 / 1; }
.carte__media img { width: 100%; height: 100%; object-fit: cover; }
.etiquette {
  position: absolute; left: 10px; bottom: -10px; display: inline-flex; align-items: center; gap: 5px;
  background: var(--c, var(--vert-vif)); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
}
.etiquette.c-jaune { color: var(--vert-fonce); background: var(--jaune); }
.carte__corps { padding: 20px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.carte__corps h3 { font-size: 15px; color: var(--vert-fonce); }
.meta { font-size: 12.5px; color: var(--texte-doux); display: grid; gap: 4px; margin-bottom: 14px; }
.meta span, .meta-ligne span { display: inline-flex; align-items: center; gap: 8px; }
.meta svg, .meta-ligne svg { width: 14px; height: 14px; fill: var(--vert); flex-shrink: 0; }
.meta-ligne { display: flex; gap: 18px; font-size: 12px; color: var(--texte-doux); margin-top: auto; }
.carte__corps .btn { margin-top: auto; align-self: flex-start; }
.statut { display: inline-block; align-self: flex-start; margin-top: auto; background: var(--vert-vif); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 16px; border-radius: 999px; }
.cache { display: none !important; }

.projet-vedette { display: grid; grid-template-columns: 1fr 1.25fr 1.15fr; gap: 26px; background: var(--vert-pale); border-radius: var(--rayon); padding: 22px; margin-top: 28px; align-items: start; }
.projet-vedette__img { position: relative; border-radius: 10px; overflow: hidden; }
.projet-vedette__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1.55; }
.projet-vedette__img .etiquette { top: 10px; bottom: auto; }
.projet-vedette h3 { font-size: 20px; margin-top: 10px; }
.etiquette--statique { position: static; }
.objectifs { background: #fff; border-radius: 10px; padding: 18px; }
.objectifs h4 { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.objectifs h4 svg { width: 20px; height: 20px; fill: var(--vert); }
.liste-coche li { position: relative; padding-left: 22px; font-size: 13.5px; margin-bottom: 5px; color: var(--texte-doux); }
.liste-coche li::before { content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 8px; border-left: 3px solid var(--c, var(--vert-vif)); border-bottom: 3px solid var(--c, var(--vert-vif)); transform: rotate(-45deg); }
.mini-logos { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.mini-logos img { height: 34px; width: auto; background: #fff; border: 1px solid var(--bordure); border-radius: 6px; padding: 4px; }
.bandeau-stats { display: grid; grid-template-columns: repeat(3, auto) 1.4fr; gap: 28px; align-items: center; background: var(--vert-pale); border-radius: var(--rayon); padding: 22px 28px; margin-bottom: 30px; }
.bandeau-stats__item { display: flex; align-items: center; gap: 14px; padding-right: 24px; border-right: 1px solid var(--bordure); }
.bandeau-stats__item .stat__icone { margin: 0; width: 62px; height: 62px; border: 0; }
.bandeau-stats strong { font-size: 32px; color: var(--vert-fonce); display: block; line-height: 1; }
.bandeau-stats span { font-weight: 700; font-size: 14px; }
.bandeau-stats p { margin: 0; font-size: 13.5px; }

/* ---------- À propos / présentation ---------- */
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.bloc-titre { display: flex; gap: 18px; align-items: flex-start; }
.icone-rond { width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; background: var(--c, var(--vert)); display: grid; place-items: center; }
.icone-rond svg { width: 28px; height: 28px; fill: #fff; }
.photo-arrondie { border-radius: 16px; overflow: hidden; box-shadow: var(--ombre); }
.photo-arrondie img { width: 100%; height: 100%; object-fit: cover; }
.photo-blob { border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; overflow: hidden; aspect-ratio: 1.15; }
.photo-blob img { width: 100%; height: 100%; object-fit: cover; }
.cartes-vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carte-vmv { background: var(--vert-pale); border-radius: var(--rayon); padding: 24px; display: flex; gap: 16px; }
.carte-vmv h3 { font-size: 22px; }
.carte-vmv p { margin: 0; }
.zone { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.zone__cartes { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-top: 18px; }
.panneau { background: var(--vert-pale); border-radius: var(--rayon); padding: 22px; }
.panneau-blanc { background: #fff; border-radius: 10px; padding: 14px; box-shadow: var(--ombre); }
.legende li { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 5px 0; }
.legende i { width: 14px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: inline-block; }
.citation { font-family: var(--script); color: var(--vert); font-size: 20px; text-align: center; margin: 18px 0 0; font-weight: 700; }
.equipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.equipe img { border-radius: 8px; aspect-ratio: 2.05; object-fit: cover; width: 100%; }

/* ---------- Programmes (page domaines) ---------- */
.prog-ligne { display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 18px; margin-bottom: 22px; align-items: stretch; }
.prog-ligne--inverse { grid-template-columns: 2fr 1.25fr 1.2fr; }
.prog-ligne__img { border-radius: 10px; overflow: hidden; min-height: 200px; }
.prog-ligne__img img { width: 100%; height: 100%; object-fit: cover; }
.prog-ligne__texte { display: flex; gap: 18px; padding: 18px; border-radius: 10px; }
.prog-ligne--inverse .prog-ligne__texte { background: var(--pale); }
.prog-ligne__texte h3 { color: var(--c); font-size: 22px; margin-bottom: 2px; }
.prog-ligne__texte h4 { font-size: 14px; color: var(--vert-fonce); margin-bottom: 10px; }
.prog-ligne__texte h3 + h4 { color: var(--c); }
.c-jaune .prog-ligne__texte h3 + h4, .c-rouge .prog-ligne__texte h3 + h4 { color: var(--vert-fonce); }
.realisations { background: var(--pale); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; }
.realisations h4 { color: var(--c); font-size: 15px; }
.realisations li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; padding: 5px 0; color: var(--texte-doux); }
.realisations li svg { width: 18px; height: 18px; fill: var(--c); flex-shrink: 0; }
.realisations .btn { margin-top: auto; align-self: flex-start; background: var(--c); color: #fff; }
.c-jaune .realisations .btn { background: var(--jaune); color: var(--vert-fonce); }

/* ---------- Galerie ---------- */
.galerie .carte__media { aspect-ratio: 1.68; cursor: zoom-in; }
.videos { background: var(--vert-pale); border-radius: var(--rayon); padding: 26px; margin-top: 30px; }
.grille-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.video .carte__media { aspect-ratio: 2.4; }
.video .duree { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 6px; }
.video .carte__corps { padding: 12px; }
.video h3 { font-size: 13.5px; }
.lightbox { position: fixed; inset: 0; background: rgba(5,30,15,.9); display: none; place-items: center; z-index: 100; padding: 24px; }
.lightbox.ouvert { display: grid; }
.lightbox img { max-height: 82vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }
.galerie-accueil { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.galerie-accueil img { aspect-ratio: 1.6; object-fit: cover; border-radius: 6px; width: 100%; }

/* ---------- Nos réalisations (accueil) ---------- */
.titre-centre { text-align: center; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 38px); color: var(--vert); letter-spacing: .02em; margin-bottom: 14px; }
.separateur { display: flex; justify-content: center; margin-bottom: 40px; }
.separateur span { position: relative; width: 70px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--vert) 50%, #e8501e 50%); }
.separateur span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--rouge); transform: translate(-50%, -50%); }
.liste-realisations { max-width: 900px; margin-inline: auto; }
.liste-realisations li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--bordure); }
.liste-realisations li:last-child { border-bottom: 0; }
.liste-realisations i { color: var(--rouge); font-size: 24px; margin-top: 2px; flex-shrink: 0; }
.liste-realisations p { margin: 0; font-size: 15.5px; line-height: 1.75; }
.liste-realisations strong { color: var(--texte); }

/* ---------- Actualités (accueil) ---------- */
.apropos-accueil { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 30px; align-items: center; }
.actus { border-left: 1px solid var(--bordure); padding-left: 28px; }
.actu { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--bordure); }
.actu img { width: 74px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.actu small { color: var(--texte-doux); font-size: 11px; }
.actu h4 { font-size: 13.5px; color: var(--vert-fonce); margin: 2px 0 0; font-weight: 500; }

/* ---------- Partenaires (page) ---------- */
.carte-part { background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 22px; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.carte-part__logo { height: 80px; display: flex; align-items: center; margin-bottom: 14px; }
.carte-part__logo img { max-height: 76px; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.carte-part h4 { font-size: 14px; color: var(--vert); margin: 4px 0 10px; }
.domaines { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.domaines span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--texte-doux); }
.domaines svg { width: 20px; height: 20px; fill: var(--vert); }
.partenariat { margin-top: auto; background: var(--vert-pale); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--texte-doux); }
.partenariat b { color: var(--vert-fonce); }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; }
.coordonnees li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--bordure); }
.coordonnees .icone-rond { width: 46px; height: 46px; }
.coordonnees .icone-rond svg { width: 20px; height: 20px; }
.coordonnees strong { display: block; color: var(--vert-fonce); }
.formulaire { background: #fff; border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
.formulaire .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ--plein { grid-column: 1 / -1; }
.champ label { font-size: 13px; font-weight: 700; color: var(--vert-fonce); }
.champ input, .champ select, .champ textarea {
  font-family: inherit; font-size: 14px; padding: 12px 14px; border: 1px solid #cfdcd3; border-radius: 8px; background: var(--vert-pale);
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--vert-vif); border-color: transparent; background: #fff; }
.champ textarea { min-height: 140px; resize: vertical; }
.form-message { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--vert-clair); color: var(--vert-fonce); display: none; }
.form-message.visible { display: block; }
.carte-maps { margin-top: 30px; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
.carte-maps__barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--vert-pale); }
.carte-maps__barre h3 { margin: 0; font-size: 17px; }
.carte-maps__lieux { display: flex; gap: 8px; flex-wrap: wrap; }
.carte-maps iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Appel à l'action ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(90deg, rgba(11,77,38,.96), rgba(11,77,38,.86)), url("../img/hero-accueil.jpg") center / cover;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; flex-wrap: wrap; }
.cta__texte { display: flex; gap: 18px; align-items: center; }
.cta__texte svg { width: 54px; height: 54px; fill: #fff; flex-shrink: 0; }
.cta h2 { color: #fff; font-size: clamp(19px, 2.2vw, 24px); margin: 0; }
.cta h2 em { font-style: normal; color: var(--jaune); }
.cta p { color: #dcebe1; margin: 4px 0 0; font-size: 13.5px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Pied de page ---------- */
.footer { background: var(--vert-fonce); color: #e3efe7; font-size: 13.5px; }
.footer__haut { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.3fr 1.4fr; gap: 26px; padding: 36px 0 26px; }
.footer__haut > div + div { border-left: 1px solid rgba(255,255,255,.12); padding-left: 22px; }
.footer .brand__nom, .footer .brand__sous, .footer .brand__devise { color: #fff; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer li { padding: 2px 0; }
.footer a:hover { color: var(--jaune); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; font-size: 12.5px; line-height: 1.45; }
.footer__contact i { margin-top: 3px; }
.footer svg { width: 15px; height: 15px; fill: #fff; flex-shrink: 0; }
.footer__social { display: flex; gap: 16px; margin-top: 10px; }
.footer__social svg { width: 18px; height: 18px; }
.newsletter { display: flex; margin-top: 10px; }
.newsletter input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; border-radius: 6px 0 0 6px; font-family: inherit; }
.newsletter button { border: 0; background: var(--vert-vif); color: #fff; font-weight: 700; padding: 0 16px; border-radius: 0 6px 6px 0; cursor: pointer; font-family: inherit; }
.footer__bas { border-top: 1px solid rgba(255,255,255,.15); padding: 16px 0 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.copyright { color: #b8c7bd; font-weight: 700; font-size: 14px; }
.copyright strong { color: #fff; font-size: 15px; transition: color .2s; }
.copyright a:hover strong { color: var(--jaune); text-decoration: underline; }
.footer__bas ul { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__bas li + li::before { content: "•"; margin-right: 10px; }

/* ---------- Icônes (Font Awesome) ---------- */
.topbar i { font-size: 13px; }
.topbar__social i { font-size: 15px; }
.btn i { font-size: 14px; }
.stat__icone i { font-size: 24px; color: #fff; }
.prog-carte__tete i { display: block; font-size: 36px; margin-bottom: 8px; }
.filtre i { color: var(--vert-vif); font-size: 17px; }
.filtre.actif i { color: #fff; }
.meta i, .meta-ligne i { color: var(--vert); width: 14px; text-align: center; }
.icone-rond i { color: #fff; font-size: 24px; }
.coordonnees .icone-rond i { font-size: 18px; }
.realisations li i { color: var(--c); width: 20px; text-align: center; }
.domaines i { color: var(--vert); font-size: 17px; }
.cta__texte > i { font-size: 46px; }
.footer__contact i { width: 15px; }
.footer__social i { font-size: 17px; }
.objectifs h4 i { color: var(--vert); font-size: 18px; }
.carte-maps__barre .filtre { padding: 7px 14px; font-size: 13px; }
.video .lecture { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 30px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }

/* ---------- Animations ---------- */
.apparition { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.apparition.visible { opacity: 1; transform: none; }

/* Apparition en cascade (classe ajoutée par main.js) */
.cascade { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--i, 0) * 90ms); }
.cascade.visible { opacity: 1; transform: none; }

@keyframes monter { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes glisser-gauche { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes zoom-lent { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes flotter { 0%, 100% { transform: translateY(-50%) rotate(-10deg); } 50% { transform: translateY(calc(-50% - 10px)) rotate(-8deg); } }
@keyframes trait { from { width: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,140,58,.45); } 70% { box-shadow: 0 0 0 14px rgba(30,140,58,0); } 100% { box-shadow: 0 0 0 0 rgba(30,140,58,0); } }
@keyframes pulse-jaune { 0% { box-shadow: 0 0 0 0 rgba(246,196,0,.6); } 70% { box-shadow: 0 0 0 14px rgba(246,196,0,0); } 100% { box-shadow: 0 0 0 0 rgba(246,196,0,0); } }
@keyframes balancer { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes bande { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Héros */
.hero__img, .hero-accueil__photo img { animation: zoom-lent 18s ease-in-out infinite alternate; }
.hero__contenu > *, .hero-accueil__texte > * { animation: monter .8s cubic-bezier(.2,.7,.3,1) both; }
.hero__contenu > :nth-child(2), .hero-accueil__texte > :nth-child(2) { animation-delay: .15s; }
.hero__contenu > :nth-child(3), .hero-accueil__texte > :nth-child(3) { animation-delay: .3s; }
.hero__contenu > :nth-child(4), .hero-accueil__texte > :nth-child(4) { animation-delay: .45s; }
.hero__contenu > :nth-child(5) { animation-delay: .6s; }
.hero__trait { animation: trait 1s .5s ease both !important; }
.hero__script { animation: flotter 5s ease-in-out infinite; }
.hero-accueil__devise { animation: glisser-gauche .9s .4s cubic-bezier(.2,.7,.3,1) both; }
.bande-couleurs { transform-origin: left; animation: bande 1.2s .3s ease both; }
.hero-accueil__actions .btn--jaune { animation: pulse-jaune 2.4s 1.5s infinite; }

/* Survols */
.btn i.fa-arrow-right { transition: transform .2s; }
.btn:hover i.fa-arrow-right { transform: translateX(5px); }
.btn:hover .fa-heart { animation: balancer .6s ease; }
.carte__media, .prog-ligne__img, .photo-arrondie, .projet-vedette__img { overflow: hidden; }
.carte__media img, .prog-ligne__img img, .photo-arrondie img, .projet-vedette__img img, .galerie-accueil img, .equipe img, .actu img { transition: transform .6s ease, filter .6s ease; }
.carte:hover .carte__media img, .prog-ligne:hover .prog-ligne__img img, .photo-arrondie:hover img, .projet-vedette__img:hover img { transform: scale(1.08); }
.galerie-accueil img:hover, .equipe img:hover { transform: scale(1.05) rotate(-1deg); filter: saturate(1.2); }
.actu:hover img { transform: scale(1.08); }
.carte:hover { box-shadow: 0 14px 34px rgba(11,77,38,.16); }
.logo-carte, .prog-carte, .stat, .carte-part, .carte-vmv, .realisations, .panneau-blanc { transition: transform .3s ease, box-shadow .3s ease; }
.logo-carte:hover, .prog-carte:hover, .carte-part:hover, .carte-vmv:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11,77,38,.14); }
.logo-carte img { filter: grayscale(.4); transition: filter .3s, transform .3s; }
.logo-carte:hover img { filter: none; transform: scale(1.06); }
.prog-carte__tete i, .icone-rond i { transition: transform .4s ease; }
.prog-carte:hover .prog-carte__tete i, .bloc-titre:hover .icone-rond i, .carte-vmv:hover .icone-rond i, .coordonnees li:hover .icone-rond i { transform: scale(1.18) rotate(-8deg); }
.stat:hover { transform: translateY(-6px); }
.stat__icone { animation: pulse 2.8s infinite; }
.stat:nth-child(2) .stat__icone { animation-delay: .9s; }
.stat:nth-child(3) .stat__icone { animation-delay: 1.8s; }
.liste-realisations li { transition: background .3s, padding-left .3s; border-radius: 8px; }
.liste-realisations li:hover { background: var(--vert-pale); padding-left: 12px; }
.liste-realisations li:hover i { animation: balancer .6s ease; }
.separateur span { animation: trait 1s ease both; }
.nav a { position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -2px; height: 2px; background: var(--vert); transform: scaleX(0); transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.actif::after { display: none; }

/* En-tête réduit au défilement */
.header { transition: box-shadow .3s; }
.header .container { transition: padding .3s; }
.brand img { transition: width .3s, height .3s, transform .6s; }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.header.reduit { box-shadow: 0 6px 22px rgba(0,0,0,.12); }
.header.reduit .container { padding: 4px 0; }
.header.reduit .brand img { width: 54px; height: 54px; }

/* Bouton retour en haut */
.haut-de-page { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--vert); color: #fff; font-size: 18px; cursor: pointer; box-shadow: var(--ombre); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.haut-de-page.visible { opacity: 1; transform: none; pointer-events: auto; }
.haut-de-page:hover { background: var(--jaune); color: var(--vert-fonce); }

/* Barre de progression de lecture */
.progression { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 90; background: linear-gradient(90deg, var(--vert-vif), var(--jaune), var(--rouge)); transform-origin: left; transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .apparition, .cascade { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .header .btn--jaune { display: none; }
}
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: #fff; padding: 90px 22px 22px; transform: translateX(100%); transition: transform .3s; box-shadow: -10px 0 30px rgba(0,0,0,.15); z-index: 60; }
  .nav.ouvert { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { font-size: 15px; padding: 11px 6px; border-bottom: 1px solid var(--bordure); }
  .burger { display: block; z-index: 70; position: relative; }
  .header .btn--jaune { display: none; }
}
@media (max-width: 980px) {
  .impact, .programmes-accueil, .deux-col, .zone, .contact-grille, .apropos-accueil { grid-template-columns: 1fr; }
  .actus { border-left: 0; padding-left: 0; }
  .prog-cartes, .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .grille-3, .cartes-vmv { grid-template-columns: 1fr 1fr; }
  .grille-5, .equipe { grid-template-columns: repeat(3, 1fr); }
  .logos, .logos--5 { grid-template-columns: repeat(3, 1fr); }
  .prog-ligne, .prog-ligne--inverse { grid-template-columns: 1fr 1fr; }
  .prog-ligne__texte { grid-column: 1 / -1; order: -1; }
  .projet-vedette { grid-template-columns: 1fr 1fr; }
  .projet-vedette .objectifs { grid-column: 1 / -1; }
  .bandeau-stats { grid-template-columns: repeat(3, 1fr); }
  .bandeau-stats p { grid-column: 1 / -1; }
  .bandeau-stats__item { border: 0; padding: 0; }
  .footer__haut { grid-template-columns: 1fr 1fr; }
  .footer__haut > div + div { border-left: 0; padding-left: 0; }
  .hero-accueil { grid-template-columns: 1fr; }
  .hero-accueil__photo { min-height: 300px; }
  .hero-accueil__texte::before { display: none; }
  .galerie-accueil { grid-template-columns: repeat(3, 1fr); }
  .hero__img { width: 100%; opacity: .45; }
  .hero::before { background: linear-gradient(90deg, rgba(11,77,38,.95), rgba(11,77,38,.6)); }
  .hero__script { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 46px 0; }
  .topbar__infos span:nth-child(n+2) { display: none; }
  .brand img { width: 48px; height: 48px; }
  .brand__nom { font-size: 19px; }
  .brand__long { font-size: 11px; max-width: 220px; }
  .stats, .prog-cartes, .grille-4, .grille-3, .cartes-vmv, .prog-ligne, .prog-ligne--inverse, .projet-vedette, .zone__cartes, .formulaire .champs, .footer__haut { grid-template-columns: 1fr; }
  .stats { gap: 46px; margin-top: 40px; }
  .grille-5, .equipe, .logos, .logos--5 { grid-template-columns: repeat(2, 1fr); }
  .bandeau-stats { grid-template-columns: 1fr; }
  .carte-vmv, .prog-ligne__texte { flex-direction: column; }
  .hero-accueil__devise { font-size: 16px; padding: 8px 30px 8px 18px; }
}

/* ---------- Ajouts WordPress ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contenu-simple { max-width: 860px; }
.contenu-simple img { height: auto; border-radius: 10px; }
.contenu-simple a { color: var(--vert); text-decoration: underline; }
.contenu-simple ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.article { padding: 22px 0; border-bottom: 1px solid var(--bordure); }
.article h2 a { color: var(--vert-fonce); text-decoration: none; }
.article__date { font-size: 13px; color: var(--texte-doux); }
.nav-links { display: flex; gap: 10px; margin-top: 24px; }
.nav-links .page-numbers { padding: 6px 12px; border-radius: 6px; background: var(--vert-pale); }
.nav-links .current { background: var(--vert); color: #fff; }
