/* ==========================================================================
   ADESOL — Action pour un Développement Endogène et Solidaire
   Feuille de style principale
   ========================================================================== */

:root {
  /* Couleurs issues du logo : vert de l'emblème, bleu du Lac, sable du Sahel */
  --green-900: #0f3d1e;
  --green-800: #145227;
  --green-700: #1a6b32;
  --green-600: #20883e;
  --green-100: #e3f2e6;
  --blue-700: #13598f;
  --blue-600: #1a6fb0;
  --blue-100: #e2eff9;
  --sand-50: #fbf8f1;
  --sand-100: #f5efe2;
  --sand-200: #ebe1cb;
  --ochre-500: #c9862b;
  --ochre-600: #a86b1c;
  --ink: #17231b;
  --ink-soft: #4a5a4f;
  --line: #e2ddd0;
  --white: #ffffff;

  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 61, 30, .06), 0 8px 24px rgba(15, 61, 30, .08);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); }
a:hover { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--ochre-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--sand { background: var(--sand-50); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-800); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ochre-500); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: var(--white); }
.btn--primary:hover { background: var(--green-800); color: var(--white); }
.btn--ghost { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn--ghost:hover { background: var(--green-700); color: var(--white); }
.btn--light { background: var(--white); color: var(--green-900); }
.btn--light:hover { background: var(--sand-100); color: var(--green-900); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--green-900); }
.btn svg { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(15,61,30,.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); }
.brand img { width: 52px; height: 52px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; line-height: 1; }
.brand__tag { display: block; font-family: var(--font-body); font-size: .74rem; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--green-100); color: var(--green-800); }
.nav a[aria-current="page"] { color: var(--green-700); background: var(--green-100); }
.nav .btn { margin-left: 10px; padding: 10px 20px; color: var(--white); }
.nav .btn:hover { background: var(--green-800); color: var(--white); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--green-900); position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Héro (accueil) ---------- */
.hero { background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--green-700); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: .95rem; color: var(--ink-soft); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }

.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-200); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.collage__a, .collage__b { aspect-ratio: 4 / 3; }
.collage__badge {
  position: absolute; left: -14px; bottom: 26%; z-index: 2;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.collage__badge img { width: 44px; height: 44px; }
.collage__badge strong { display: block; font-family: var(--font-head); color: var(--green-900); line-height: 1.2; }
.collage__badge small { color: var(--ink-soft); font-size: .82rem; }

/* ---------- Bandeau de page (pages intérieures) ---------- */
.page-hero { background: var(--green-900); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,136,62,.55) 0%, rgba(32,136,62,0) 70%);
}
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 720px; margin: 0; }
.page-hero .eyebrow { color: #9fd8ac; }
.breadcrumb { font-size: .9rem; margin-bottom: 18px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); }

/* ---------- Chiffres clés ---------- */
.stats { background: var(--green-800); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 34px 26px; border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: var(--white); }
.stat__num small { font-size: .55em; font-weight: 600; margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: .97rem; color: rgba(255,255,255,.82); line-height: 1.45; }
.stat__src { display: block; margin-top: 6px; font-size: .8rem; color: #9fd8ac; }

/* ---------- Domaines d'intervention ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-top: 18px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
}
.icon svg { width: 26px; height: 26px; }
.icon--blue { background: var(--blue-100); color: var(--blue-700); }
.icon--ochre { background: #f8ead3; color: var(--ochre-600); }

/* ---------- Bloc texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split__media figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--green-600) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Projets ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project__img { aspect-ratio: 16 / 9; background: var(--sand-200); overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__img--plain { display: grid; place-items: center; background: linear-gradient(135deg, var(--green-700), var(--blue-700)); color: var(--white); }
.project__img--plain svg { width: 64px; height: 64px; opacity: .9; }
.project__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project__body h3 { margin: 0; }
.project__body p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .03em;
  padding: 4px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-800);
}
.tag--blue { background: var(--blue-100); color: var(--blue-700); }
.tag--ochre { background: #f8ead3; color: var(--ochre-600); }
.project__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Fiche projet détaillée */
.pfiche {
  display: grid; grid-template-columns: 340px 1fr; gap: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px;
}
.pfiche__aside { background: var(--sand-50); padding: 28px; border-right: 1px solid var(--line); }
.pfiche__aside img { border-radius: var(--radius); margin-bottom: 18px; }
.pfiche__aside dl { margin: 0; display: grid; gap: 12px; font-size: .95rem; }
.pfiche__aside dt { font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.pfiche__aside dd { margin: 2px 0 0; }
.pfiche__body { padding: 32px; }
.pfiche__body h3 { font-size: 1.45rem; }
.pfiche__body h4 { font-size: 1rem; margin-top: 22px; color: var(--green-800); }
.pfiche__body ul { margin: 0; color: var(--ink-soft); }
.pfiche__body li { margin-bottom: 6px; }
.year-badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  background: var(--green-800); color: var(--white); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0 6px; }
.kpi { background: var(--green-100); border-radius: var(--radius); padding: 14px 16px; }
.kpi strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--green-800); line-height: 1.1; }
.kpi span { font-size: .88rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: 4px; }

/* Filtres projets */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
}
.filter:hover { border-color: var(--green-600); }
.filter[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.pfiche[hidden] { display: none; }

/* ---------- Actualités ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.news__date { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ochre-600); }
.news__item h3 { font-size: 1.15rem; margin: 0; }
.news__item p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.news__src { margin-top: auto; padding-top: 8px; font-size: .88rem; }

/* ---------- Frise chronologique ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--sand-200); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -31px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--green-600);
}
.timeline strong { display: block; font-family: var(--font-head); color: var(--green-800); font-size: 1.05rem; }
.timeline p { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- Partenaires ---------- */
.partners-strip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; overflow-x: auto; }
.partners-strip img { min-width: 900px; width: 100%; }
.partner-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 0; padding: 0; list-style: none; }
.partner-list li {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink);
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.gallery button {
  padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand-200);
  aspect-ratio: 156 / 140;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 24, 13, .92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 900px; width: 100%; text-align: center; }
.lightbox img { margin: 0 auto; width: min(100%, 720px); max-height: 76vh; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.88); margin-top: 14px; font-size: 1rem; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: var(--white); font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,.28); }

/* ---------- Valeurs / gouvernance ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.value h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.value p { font-size: .98rem; color: var(--ink-soft); margin: 0; }

.org { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.org div { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: 10px; padding: 16px 18px; }
.org strong { font-family: var(--font-head); color: var(--green-900); display: block; }
.org span { font-size: .93rem; color: var(--ink-soft); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.fact { background: var(--sand-50); border-radius: var(--radius); padding: 18px 20px; }
.fact strong { display: block; font-family: var(--font-head); color: var(--green-800); font-size: 1.05rem; }
.fact span { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Appel à l'action ---------- */
.cta {
  background: linear-gradient(120deg, var(--green-800) 0%, var(--green-700) 55%, var(--blue-700) 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.86); margin: 0; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.contact-card a { font-weight: 600; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--green-900); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfc8b6; border-radius: 10px; background: var(--sand-50); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(32,136,62,.18); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: .88rem; color: var(--ink-soft); margin: 12px 0 0; }

.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); background: var(--sand-100); }

.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 64px 0 28px; font-size: .97rem; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 52px; height: 52px; background: var(--white); border-radius: 50%; padding: 2px; }
.footer__brand strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--white); }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.6); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .project, .btn, .gallery img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cards, .project-grid, .news { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pfiche { grid-template-columns: 280px 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px;
    background: var(--white); border-top: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; }
  .nav .btn { margin: 12px 0 0; padding: 14px 20px; }
  body.nav-open { overflow: hidden; }

  .hero__grid, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .collage__badge { left: 12px; bottom: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .cta__actions { justify-content: flex-start; }
  .org, .support { grid-template-columns: 1fr 1fr; }
  .pfiche { grid-template-columns: 1fr; }
  .pfiche__aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .pfiche__aside img { max-height: 240px; width: 100%; object-fit: cover; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .brand__tag { display: none; }
  .brand img { width: 44px; height: 44px; }
  .cards, .project-grid, .news, .values, .org, .support, .facts, .form__row { grid-template-columns: 1fr; }
  .stat { padding: 26px 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .collage { gap: 10px; }
  .collage__badge { position: static; grid-column: 1 / -1; max-width: none; }
  .pfiche__body, .pfiche__aside { padding: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

.more-link { margin-top: 32px; }
.contact-card .icon { flex: none; }

/* Projets récents (octobre 2026) */
.list-title { font-size: 1.5rem; margin: 40px 0 20px; }
.filters + .list-title { margin-top: 0; }
.pfiche__aside video { width: 100%; max-height: 420px; border-radius: var(--radius); background: #000; margin-bottom: 18px; }
.gallery--fiche { grid-template-columns: repeat(4, 1fr); margin-top: 20px; gap: 8px; }
.gallery--fiche button { aspect-ratio: 4 / 3; border-radius: 10px; }
.project-grid--others { margin-bottom: 8px; }
.project[hidden] { display: none; }
@media (max-width: 620px) { .gallery--fiche { grid-template-columns: repeat(2, 1fr); } }
