/* ADAV — feuille de style principale
   Structure inspirée des grands sites humanitaires : double en-tête, barre de navigation collante,
   bandeaux photo avec encadré, grilles de cartes, pied de page coloré. Identité : vert ADAV. */

@font-face { font-family: "Noto Sans"; src: url("../fonts/noto-sans-latin-standard-normal.woff2") format("woff2-variations"), url("../fonts/noto-sans-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62.5% 100%; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; src: url("../fonts/noto-sans-latin-standard-italic.woff2") format("woff2-variations"), url("../fonts/noto-sans-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62.5% 100%; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Noto Sans"; src: url("../fonts/noto-sans-latin-ext-standard-normal.woff2") format("woff2-variations"), url("../fonts/noto-sans-latin-ext-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62.5% 100%; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brand: #008542;
  --brand-dark: #005c2e;
  --brand-logo: #00a651;
  --accent: #ffc72c;
  --ink: #13241a;
  --text: #2f3b34;
  --muted: #5b675f;
  --line: #d5ddd8;
  --tint: #eef5f0;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* l'attribut hidden doit toujours masquer, même un élément en grille */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: #fff; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; font-stretch: 92%; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.45rem + 2.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 100%; line-height: 1.28; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.navbar :focus-visible, .footer :focus-visible, .banner-cta .banner-box :focus-visible, .tile:focus-visible, .mv :focus-visible, .fact-callout :focus-visible { outline-color: #fff; }
main:focus { outline: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; font-weight: 700; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.img-fallback { display: block; position: absolute; inset: 0; background: linear-gradient(135deg, #dfeae3, #c8dacd); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .65em 1.5em; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 86%, #000); border-color: color-mix(in srgb, var(--accent) 86%, #000); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .93rem; }

/* Bandeau d'alerte */
.alertbar { background: var(--ink); color: #fff; font-size: .95rem; }
.alertbar-in { padding: 10px 0; text-align: center; }
.alertbar p { margin: 0; }
.alertbar a { color: var(--accent); font-weight: 700; }

/* En-tête : barre blanche */
.topbar { background: #fff; position: relative; z-index: 60; }
.topbar-in { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; height: 66px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 1.75rem; font-weight: 900; font-stretch: 88%; letter-spacing: .03em; color: var(--brand); }
.brand-name span { font-size: .82rem; color: var(--muted); max-width: 25ch; }
.toplinks ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.toplinks a { color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
.toplinks a:hover { color: var(--brand); text-decoration: underline; }
.menu-btn { display: none; }

/* Barre de navigation verte */
.navbar { background: var(--brand); color: #fff; }
.navbar ul { list-style: none; margin: 0; padding: 0; }
.searchbar { background: var(--brand-dark); padding: 20px 0; }
.searchbar-in { display: flex; gap: 12px; }
.searchbar-input { flex: 1; min-height: 52px; border: 0; border-radius: 999px; padding: 0 22px; font: inherit; font-size: 1.05rem; }

@media (min-width: 1100px) {
  .navbar { position: sticky; top: 0; z-index: 50; }
  .navbar-in { display: flex; align-items: stretch; min-height: 60px; }
  .navbar-logo { display: none; align-items: center; margin-right: 14px; }
  .navbar.is-stuck .navbar-logo { display: flex; }
  .navbar-logo img { display: block; height: 42px; width: auto; background: #fff; border-radius: 4px; padding: 3px; }
  .mainnav, .mainnav-list { display: flex; }
  .mainnav-item { position: relative; display: flex; align-items: center; }
  .mainnav-link { display: flex; align-items: center; height: 100%; padding: 0 clamp(8px, .9vw, 15px); color: #fff; font-weight: 700; font-size: clamp(.9rem, .74rem + .26vw, 1rem); text-decoration: none; white-space: nowrap; }
  .mainnav-link:hover, .mainnav-item.is-active > .mainnav-link { box-shadow: inset 0 -4px 0 var(--accent); }
  .sub-btn { display: flex; align-items: center; height: 100%; margin-left: -8px; padding: 0 8px 0 2px; border: 0; background: none; color: #fff; cursor: pointer; }
  .sub-btn .icon { width: 16px; height: 16px; transition: transform .2s; }
  .has-sub.open .sub-btn .icon { transform: rotate(180deg); }
  .submenu { position: absolute; top: 100%; left: 0; min-width: 290px; padding: 10px 0; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); display: none; z-index: 70; }
  .has-sub:hover > .submenu, .has-sub.open > .submenu { display: block; }
  .submenu a { display: block; padding: 10px 22px; color: var(--ink); font-weight: 600; font-size: .97rem; text-decoration: none; }
  .submenu a:hover { background: var(--tint); color: var(--brand); }
  .navpanel-extra { display: none; }
  .search-btn { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 4px 0 16px; border: 0; background: none; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
  .search-btn .icon { width: 22px; height: 22px; }
}
@media (min-width: 1100px) and (max-width: 1299px) { .search-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

@media (max-width: 1099px) {
  .topbar { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line); }
  .topbar-in { min-height: 66px; gap: 12px; }
  .brand-logo { height: 48px; }
  .brand-name span, .toplinks { display: none; }
  .brand-name strong { font-size: 1.45rem; }
  .donate { min-height: 40px; padding: .4em 1.05em; font-size: .92rem; }
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 4px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
  .menu-btn .icon { width: 26px; height: 26px; }
  .navbar { display: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .navbar { display: block; position: fixed; left: 0; right: 0; top: var(--panel-top, 66px); bottom: 0; overflow-y: auto; z-index: 55; }
  .navbar-in { display: flex; flex-direction: column; padding: 8px 0 40px; }
  .navbar-logo, .search-btn, .searchbar { display: none !important; }
  .mainnav-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .mainnav-link { flex: 1; padding: 15px 0; color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
  .sub-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; }
  .sub-btn .icon { transition: transform .2s; }
  .has-sub.open .sub-btn .icon { transform: rotate(180deg); }
  .submenu { display: none; width: 100%; padding: 0 0 12px 14px; }
  .has-sub.open > .submenu { display: block; }
  .submenu a { display: block; padding: 9px 0; color: #fff; text-decoration: none; }
  .navpanel-extra { margin-top: 24px; display: grid; gap: 20px; }
  .mobile-search { display: flex; gap: 8px; }
  .mobile-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; border-radius: 999px; padding: 0 16px; font: inherit; }
  .extra-links { display: grid; gap: 12px; }
  .extra-links a { color: #fff; font-weight: 600; }
}
@media (max-width: 420px) { .brand-name { display: none; } }

/* Sections */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-compact { padding-block: clamp(32px, 4vw, 56px); }
.section-compact + .section-compact { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.125rem; }
.section-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: clamp(32px, 4vw, 48px) 0 0; }
.sub-title { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); margin: 48px 0 24px; }
.lead { font-size: clamp(1.12rem, 1rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink); }
.strong { font-weight: 700; font-size: 1.15rem; color: var(--ink); }

/* Bandeaux photo */
.banner { position: relative; background: var(--tint); }
.banner-media { position: relative; height: clamp(420px, 46vw, 640px); overflow: hidden; background: #c8d7ce; }
.banner-media img, .split-media img, .card-media img, .tile img, .zone-img img, .doc-cover img, .member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-wrap { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 56px); }
.banner-box { width: min(100%, 590px); padding: clamp(24px, 3vw, 40px); background: #fff; }
.banner-right .banner-box { margin-left: auto; }
.banner-label { margin-bottom: .5rem; color: var(--brand); font-weight: 700; }
.banner-title { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 3rem); margin-bottom: .35em; }
.banner-text { font-size: 1.1rem; margin: 0; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.3em 0 0; }
.banner-page .banner-media { height: clamp(300px, 34vw, 470px); }
.banner-page .banner-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.banner-cta .banner-box { background: var(--brand); color: #fff; }
.banner-cta .banner-title, .banner-cta .banner-text { color: #fff; }
.banner-feature .banner-box { border-top: 6px solid var(--accent); }
.banner-figs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 0; padding: 0; }
.banner-figs .stat-value { font-size: 2rem; }
.banner-figs .stat-label { font-size: .85rem; font-weight: 600; margin-top: 4px; }

.slider { position: relative; display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .7s ease; }
.slider-ui { position: absolute; top: 20px; right: var(--gutter); z-index: 3; display: flex; align-items: center; gap: 8px; }
.slider-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); cursor: pointer; }
.slider-btn:hover { background: #fff; color: var(--brand); }
.slider-count { padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .9rem; font-weight: 700; }

@media (max-width: 767px) {
  .banner-media, .banner-page .banner-media { height: auto; aspect-ratio: 4 / 3; }
  .banner-page .banner-media { aspect-ratio: 16 / 10; }
  .banner-wrap { position: relative; bottom: auto; margin-top: -52px; padding-bottom: 8px; }
  .banner-box { width: 100%; }
  .banner-figs { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .banner-figs .stat-value { font-size: 1.6rem; }
}

/* En-tête de page sans image et fil d'Ariane */
.pagehead { background: var(--tint); padding: clamp(44px, 6vw, 84px) 0; }
.pagehead h1 { max-width: 22ch; margin-bottom: .3em; }
.pagehead p { max-width: 62ch; margin: 0; font-size: 1.2rem; }
.crumbs { padding: 18px 0 0; font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa59f; }
.crumbs a { color: var(--muted); }

/* Cartes */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 28px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.card-tag { margin: 0 0 6px; color: var(--brand); font-size: .92rem; font-weight: 700; }
.card-tag a { color: inherit; text-decoration: none; }
.card-title { margin: 0 0 8px; font-size: 1.22rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title a, .card-title a:focus-visible { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }
.card-text { margin: 0 0 10px; color: var(--text); font-size: 1rem; }
.card-meta { margin: auto 0 0; color: var(--muted); font-size: .9rem; }
.card-action .btn { position: relative; z-index: 2; align-self: flex-start; margin-top: auto; }
.card-action .card-title { font-size: 1.35rem; }
.card-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.card-feature .card-body { padding-top: 0; }
.card-feature .card-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; font-stretch: 92%; line-height: 1.12; }
.card-feature .card-text { font-size: 1.12rem; }
@media (max-width: 860px) { .card-feature { grid-template-columns: 1fr; } .card-feature .card-body { padding-top: 0; } }

/* Mosaïque des domaines */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; background: var(--brand-dark); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 32, 16, .9) 0%, rgba(0, 32, 16, .45) 42%, rgba(0, 32, 16, 0) 68%); }
.tile-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.tile-title { display: block; font-size: 1.3rem; font-weight: 800; font-stretch: 92%; line-height: 1.15; }
.tile-text { margin-top: 8px; font-size: .95rem; line-height: 1.45; opacity: .93; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile:hover .tile-title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile { aspect-ratio: 1 / 1.05; } .tile-text { display: none; } .tile-title { font-size: 1.05rem; } .tile-body { left: 14px; right: 14px; bottom: 14px; } }

/* Image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #c8d7ce; }
.split-body > :last-child { margin-bottom: 0; }
.split-reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-reverse .split-media { order: 0; } }

/* Chiffres */
.stats { margin-top: clamp(44px, 5vw, 72px); }
.stats-list, .figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.figures { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 44px; }
.stat { margin: 0; padding-top: 16px; border-top: 4px solid var(--brand); }
.stat-value { display: block; color: var(--brand); font-size: clamp(2.6rem, 2rem + 2.4vw, 4.2rem); font-weight: 900; font-stretch: 75%; line-height: 1; letter-spacing: -.02em; }
.figures .stat-value { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); }
.stat-label { display: block; margin-top: 10px; max-width: 26ch; color: var(--ink); font-weight: 600; line-height: 1.4; }
.stats-note { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .stats-list { grid-template-columns: repeat(2, 1fr); } }

/* Zones et carte */
.zones { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.zone-map { margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); }
.map-svg { display: block; width: 100%; height: auto; }
.map-land { fill: #e8f1eb; }
.map-lake { fill: #cbe3eb; stroke: #8db7c4; stroke-width: 1.5; }
.map-island { fill: #e8f1eb; stroke: #8db7c4; stroke-width: 1.5; }
.map-border { fill: none; stroke: #7c8b83; stroke-width: 1.3; stroke-dasharray: 5 5; }
.map-country { fill: #6b7a72; font: 800 13px var(--font); letter-spacing: .08em; }
.map-lakename { fill: #3f7183; font: italic 600 15px var(--font); }
.map-north path { fill: var(--ink); }
.map-north text { fill: var(--ink); font: 800 12px var(--font); text-anchor: middle; }
.map-pin { cursor: pointer; }
.map-pin-dot { fill: var(--brand); stroke: #fff; stroke-width: 3; transition: fill .15s; }
.map-pin-label { fill: var(--ink); font: 800 14px var(--font); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map-pin:hover .map-pin-dot, .map-pin:focus .map-pin-dot, .map-pin.is-hot .map-pin-dot { fill: var(--accent); stroke: var(--ink); }
.zone-map figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.zone-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.zone-link { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; padding: 12px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
a.zone-link:hover, .zone.is-hot .zone-link, .zone:target .zone-link { border-color: var(--brand); box-shadow: inset 5px 0 0 var(--brand); }
.zone-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.zone-body { display: block; }
.zone-role { display: block; color: var(--brand); font-size: .9rem; font-weight: 700; }
.zone-name { display: block; margin: 2px 0 4px; color: var(--ink); font-size: 1.25rem; line-height: 1.25; }
.zone-loc { display: block; color: var(--muted); font-size: .95rem; }
.zone-desc { display: block; margin-top: 8px; font-size: 1rem; }
.zones-detailed .zone-link { grid-template-columns: 220px 1fr; align-items: start; padding: 16px; }
@media (max-width: 900px) { .zones { grid-template-columns: 1fr; } .zone-map { width: 100%; max-width: 440px; margin-inline: auto; } }
@media (max-width: 560px) { .zone-link, .zones-detailed .zone-link { grid-template-columns: 104px 1fr; gap: 14px; } }

/* Citations */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.quote { margin: 0; padding-left: 24px; border-left: 4px solid var(--brand-logo); }
.quote-text { margin: 0 0 16px; color: var(--ink); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; line-height: 1.42; }
.quote-text p { margin: 0; }
.quote-cite { color: var(--muted); font-size: .95rem; }
.quote-cite strong { display: block; color: var(--brand); }
@media (max-width: 860px) { .quotes-grid { grid-template-columns: 1fr; } }

/* Documents */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 28px; }
.doc { position: relative; display: flex; flex-direction: column; }
.doc-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #f4f6f5; border: 1px solid var(--line); }
.doc-cover img { object-position: top; }
.doc-cover-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); }
.doc-cover-empty .icon { width: 64px; height: 64px; }
.doc-body { padding-top: 16px; }
.doc-tag { margin: 0 0 6px; color: var(--brand); font-size: .9rem; font-weight: 700; }
.doc-title { margin: 0 0 8px; font-size: 1.12rem; }
.doc-title a { color: var(--ink); text-decoration: none; }
.doc:hover .doc-title a { color: var(--brand); text-decoration: underline; }
.doc-text { margin: 0 0 12px; font-size: .97rem; }
.doc-actions { margin: 0; }
.doc-dl { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; font-size: .95rem; }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.partner { display: flex; flex-direction: column; gap: 6px; min-height: 140px; padding: 24px; background: #fff; }
.partner-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 8px; }
.partner-cat { color: var(--brand); font-size: .85rem; font-weight: 700; }
.partner-name { color: var(--ink); font-size: 1.1rem; font-weight: 800; line-height: 1.28; }
.partner-name a { color: inherit; }
.partner-text { margin: 0; color: var(--muted); font-size: .95rem; }
.split-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.split-cta h2 { margin-bottom: .2em; }
.split-cta .lead { margin: 0; max-width: 60ch; }

/* Lettre d'information */
.newsletter { padding: 44px 0; background: var(--tint); border-top: 1px solid var(--line); }
.newsletter-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.newsletter h2 { margin: 0 0 4px; font-size: 1.55rem; }
.newsletter-copy p { margin: 0; color: var(--muted); }
.newsletter-form { display: flex; flex: 1 1 380px; gap: 10px; max-width: 540px; }
.newsletter-input { flex: 1; min-width: 0; min-height: 48px; padding: 0 20px; border: 2px solid #c5cfc9; border-radius: 999px; font: inherit; background: #fff; }
.newsletter-input:focus { border-color: var(--brand); outline: none; }
.newsletter-msg { flex-basis: 100%; margin: 0; padding: 10px 16px; background: #fff; border-left: 4px solid var(--brand); font-weight: 600; }
.newsletter-msg.is-error { border-color: #b42318; }
@media (max-width: 520px) { .newsletter-form { flex-direction: column; } }

/* Pied de page */
.footer { background: var(--brand); color: #fff; }
.footer a { color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(240px, 1.1fr) 3fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 80px); }
.footer-logo { display: inline-block; padding: 8px; background: #fff; border-radius: 4px; }
.footer-logo img { display: block; height: 74px; width: auto; }
.footer-mission { max-width: 40ch; margin: 20px 0 24px; line-height: 1.55; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col h2 { margin: 0 0 14px; color: #fff; font-size: 1.05rem; font-stretch: 100%; }
.footer-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-col a { font-size: .97rem; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col address { margin-bottom: 12px; font-size: .97rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; }
.footer-bottom { background: var(--brand-dark); }
.footer-bottom-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 20px; font-size: .9rem; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; }
.social a:hover { background: #fff; color: var(--brand-dark); }
.social .icon { width: 19px; height: 19px; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.copy { margin: 0 0 0 auto; opacity: .85; }
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } .copy { margin-left: 0; } }

/* Pages de détail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-aside { position: sticky; top: 84px; display: grid; gap: 24px; }
.facts { margin: 0; padding: 8px 24px; background: var(--tint); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--brand); font-size: .85rem; font-weight: 700; }
.facts dd { margin: 2px 0 0; color: var(--ink); }
.aside-box { padding: 24px; border: 2px solid var(--line); }
.aside-box .btn { margin: 4px 8px 4px 0; }
.aside-title { font-size: 1.15rem; font-stretch: 100%; margin-bottom: 10px; }
.aside-nav ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.aside-nav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.aside-nav a:hover { color: var(--brand); }
.fact-callout { padding: 28px; background: var(--brand); color: #fff; }
.fact-callout strong { display: block; color: var(--accent); font-size: clamp(2.4rem, 2rem + 1.5vw, 3.4rem); font-weight: 900; font-stretch: 75%; line-height: 1; }
.fact-callout span { display: block; margin-top: 10px; font-weight: 600; }
.keypoints { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.keypoints li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.keypoints .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--brand); }
.keypoints-2 { grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 7px 16px; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail-aside { position: static; } }
@media (max-width: 700px) { .keypoints-2 { grid-template-columns: 1fr; } }

/* Contenu enrichi */
.prose { max-width: 70ch; }
.prose-wide { max-width: 80ch; }
.prose-center { margin: 0 auto 40px; text-align: center; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 4px solid var(--brand-logo); color: var(--ink); font-size: 1.2rem; }
.prose img { display: block; height: auto; margin: 1.5em 0; }
.prose iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 1.5em 0; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }

/* Article */
.article-head { max-width: 860px; padding-top: clamp(28px, 4vw, 48px); }
.article-head h1 { margin-bottom: .4em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: .95rem; }
.article-meta .icon { color: var(--brand); }
.article-figure { margin-top: 24px; margin-bottom: 0; }
.article-figure img { display: block; width: 100%; max-height: 640px; object-fit: cover; }
.article-body { max-width: 860px; padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-title { margin: 0; color: var(--ink); font-weight: 700; }
.share ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand); }

/* Galerie et visionneuse */
.gallery-grid { columns: 3 280px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin: 0 0 14px; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; height: auto; }
.gallery-item figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 2px 0; font-size: .92rem; }
.gallery-item figcaption span { color: var(--muted); }
.lightbox { width: min(1200px, 96vw); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 15, 10, .9); }
.lightbox-fig { margin: 0; text-align: center; }
.lightbox-fig img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; display: block; }
.lightbox-fig figcaption { margin-top: 10px; color: #fff; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* À propos */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 4px solid var(--brand); }
.tl-item { position: relative; padding: 22px 20px 0 0; }
.tl-item::before { content: ""; position: absolute; top: -12px; left: 0; width: 20px; height: 20px; border: 4px solid var(--brand); border-radius: 50%; background: #fff; }
.tl-year { display: block; margin-top: 10px; color: var(--brand); font-size: 2.1rem; font-weight: 900; font-stretch: 75%; line-height: 1; }
.tl-title { display: block; margin: 8px 0 6px; color: var(--ink); }
.tl-text { margin: 0; font-size: .95rem; }
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 4px solid var(--brand); padding-left: 26px; }
  .tl-item { padding: 0 0 26px; }
  .tl-item::before { left: -38px; top: 4px; }
  .tl-year { margin-top: 0; }
}
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-item { padding: clamp(24px, 3vw, 40px); background: var(--brand); color: #fff; }
.mv-item:nth-child(2) { background: var(--brand-dark); }
.mv-item h2 { color: var(--accent); font-size: 1.15rem; font-stretch: 100%; letter-spacing: 0; }
.mv-item p { margin: 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; line-height: 1.45; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.value { padding: 24px; background: #fff; }
.value strong { display: block; margin-bottom: 6px; color: var(--brand); font-size: 1.2rem; }
.value span { font-size: .97rem; }
.actors { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.actors li { padding-top: 14px; border-top: 3px solid var(--brand-logo); }
.actors strong { display: block; margin-bottom: 6px; color: var(--ink); }
.actors span { font-size: .97rem; }
.organs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.organ { padding: 26px; background: #fff; border-top: 4px solid var(--brand); }
.section:not(.section-tint) .organ { background: var(--tint); }
.organ p { margin: 0; }
.commit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.commit { padding: 26px; background: var(--tint); border-top: 4px solid var(--brand-logo); }
.commit a { font-weight: 700; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } .organs { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .mv { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.member-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--brand); margin-bottom: 14px; }
.member-initials { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 3rem; font-weight: 800; }
.member-name { margin: 0 0 2px; font-size: 1.15rem; }
.member-role { margin: 0 0 8px; color: var(--brand); font-weight: 700; font-size: .95rem; }
.member-bio { font-size: .95rem; }

/* Formulaires */
.form-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-intro-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-top: 24px; }
.form-intro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.form-panel { padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); }
.section-tint .form-panel { border-color: #fff; }
.form-title { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid > .field { grid-column: 1 / -1; }
.form-grid > .field-half { grid-column: span 1; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
fieldset.field { padding: 18px; border: 1px solid var(--line); }
fieldset.field legend { padding: 0 6px; }
.field-label { color: var(--ink); font-size: .97rem; font-weight: 700; }
.req { color: #b42318; }
.field-input { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid #c5cfc9; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
textarea.field-input { min-height: 120px; resize: vertical; }
.field-input:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 25%, transparent); outline-offset: 0; }
.field-input[aria-invalid="true"] { border-color: #b42318; }
.field-error { margin: 0; color: #b42318; font-size: .9rem; font-weight: 600; }
.field-help { margin: 0; color: var(--muted); font-size: .9rem; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); }
.form-note { margin: 18px 0; color: var(--muted); font-size: .9rem; }
.notice { margin: 0 0 24px; padding: 14px 18px; background: var(--tint); border-left: 4px solid var(--brand); }
.notice p { margin: 0; font-weight: 600; }
.notice-error { background: #fdecea; border-color: #b42318; }
@media (max-width: 960px) { .form-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-grid > .field-half { grid-column: 1 / -1; } }

/* Don */
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.method { padding: 26px; border: 2px solid var(--line); }
.method-icon { width: 38px; height: 38px; color: var(--brand); }
.method h3 { margin: 14px 0 8px; }
.method p { margin: 0; white-space: pre-line; }
.impact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; align-items: start; margin: 0; padding: 0; list-style: none; }
.impact-item { display: grid; gap: 10px; padding: 24px; background: #fff; border-top: 4px solid var(--accent); color: var(--ink); font-weight: 600; }
.impact-item strong { color: var(--brand); font-size: 2rem; font-weight: 900; font-stretch: 75%; line-height: 1; }
.impact-icon { width: 30px; height: 30px; color: var(--brand); }
.impact-text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.impact-more { justify-self: start; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.impact-more:hover { color: var(--accent); }

/* Contact et signalement */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.office { margin-bottom: 26px; }
.office h3 { margin-bottom: 10px; }
.office p, .office-hours { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; }
.office .icon, .office-hours .icon { margin-top: 3px; color: var(--brand); }
.urgent { margin: 28px 0 0; padding: 16px 20px; background: #fff7e6; border-left: 4px solid #d97706; }
.urgent p { margin: 0; }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-embed-full iframe { height: 420px; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.principle { display: grid; gap: 6px; padding: 22px; background: var(--tint); }
.principle .icon { width: 28px; height: 28px; color: var(--brand); }
.principle strong { color: var(--ink); font-size: 1.1rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* Listes : filtres, emplois, recherche, pagination, état vide */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.filters a { display: inline-block; padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
.filters a:hover { border-color: var(--brand); }
.filters a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.jobs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.job-title { margin: 0 0 6px; font-size: 1.35rem; }
.job-title a { color: var(--ink); }
.job-text { margin: 0; }
.job-deadline { margin: 0; padding: 8px 14px; background: var(--tint); color: var(--ink); font-weight: 700; font-size: .92rem; }
.job.is-closed { opacity: .6; }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; } .job-deadline { justify-self: start; } }
.search-form { display: flex; gap: 10px; max-width: 720px; margin-bottom: 28px; }
.results-count { color: var(--muted); }
.results { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.result h2 { margin: 0 0 6px; font-size: 1.3rem; }
.result p { margin: 0; }
.pager { display: flex; justify-content: center; gap: 8px; margin: 48px 0 0; padding: 0; list-style: none; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; }
.pager span { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty { padding: clamp(32px, 5vw, 56px); text-align: center; background: var(--tint); }
.empty p { max-width: 60ch; margin: 0 auto 16px; font-size: 1.1rem; }
.section-tint .empty { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .navbar, .newsletter, .footer, .slider-ui, .share, .skip { display: none !important; }
  .banner-media { height: 260px; }
  .banner-wrap { position: static; }
}

/* Ajustements : grille des partenaires sans case grise, accueil allégé sur mobile */
.partners { gap: 0; background: none; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .grid-home > .card:nth-child(n+5) { display: none; } }

/* v1.0.1 : slogan et statut dans le pied de page, photo des citations */
.footer-tagline { margin: 18px 0 0; font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.footer-tagline + .footer-mission { margin-top: 8px; }
.footer-legal { max-width: 42ch; margin: -10px 0 22px; font-size: .85rem; opacity: .85; }
.quote-cite { display: flex; align-items: center; gap: 12px; }
.quote-photo { position: relative; flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--tint); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; }

/* v1.0.1 : fondu du diaporama sans superposition des textes (seules les photos se fondent) */
.slide, .slide.is-active { opacity: 1; }
.slide { visibility: hidden; z-index: 0; transition: visibility 0s linear .7s; }
.slide.is-active { visibility: visible; z-index: 1; transition: none; }
.slide .banner-media { opacity: 0; transition: opacity .7s ease; }
.slide.is-active .banner-media { opacity: 1; }
.slide .banner-box { opacity: 0; transition: opacity .2s ease; }
.slide.is-active .banner-box { opacity: 1; transition: opacity .45s ease .3s; }
@media (prefers-reduced-motion: reduce) { .slide .banner-media, .slide .banner-box { transition: none !important; } }

/* v1.0.1 : recherche du menu mobile contenue dans l'écran */
.navpanel-extra, .navpanel-extra > *, .mobile-search { min-width: 0; max-width: 100%; }
.mobile-search input { width: 100%; flex: 1 1 auto; }
.mobile-search .btn { flex: none; }

/* v1.0.3 : frise chronologique lisible sur plusieurs lignes */
.timeline { border-top: 0; row-gap: 30px; }
.tl-item { border-top: 4px solid var(--brand); }
@media (max-width: 700px) { .tl-item { border-top: 0; } }

/* v1.0.4 : photos au fil des textes, mission en deux volets */
.prose figure, .inline-photo { margin: 2em 0; }
.prose figure img, .inline-photo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 620px; margin: 0 auto; }
.inline-photo button { display: block; width: 100%; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; }
.prose figcaption, .inline-photo figcaption { margin-top: 8px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.prose-history { max-width: 760px; }
.album-link { margin: 36px 0 0; }
.mv { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; }
.mv-item .mv-lead { margin: 0 0 6px; }
.mv-sub { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .28); }
.mv-sub h3 { margin: 0 0 6px; color: var(--accent); font-size: 1rem; font-stretch: 100%; }
.mv-item .mv-sub p { font-size: 1rem; font-weight: 400; line-height: 1.6; }
.values-intro { max-width: 70ch; margin: -8px 0 24px; }
@media (max-width: 700px) { .mv { grid-template-columns: 1fr; } }

.zone-noimg .zone-link, .zone-noimg.zone .zone-link { grid-template-columns: 1fr; }

/* ---- Gouvernance : 3 organes (v1.0.5) ---- */
.organs { grid-template-columns: repeat(2, 1fr); align-items: start; }
.organ { position: relative; }
.organ h3 { margin-top: 0; padding-right: 44px; }
.organ p { margin: 0 0 .7em; }
.organ-num { position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.organ-wide { grid-column: 1 / -1; }
.organ-members-label { margin-top: 1.2em !important; font-weight: 700; color: var(--brand-dark); }
.organ-members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: m; }
.organ-members li { counter-increment: m; position: relative; padding: 14px 16px 14px 52px; background: var(--tint); border: 1px solid var(--line); }
.section-tint .organ-members li { background: #f6faf7; }
.organ-members li::before { content: counter(m, lower-alpha) ")"; position: absolute; left: 16px; top: 14px; color: var(--brand); font-weight: 800; }
.organ-members strong { display: block; margin-bottom: 4px; color: var(--ink); }
.organ-members span { display: block; font-size: .97rem; }
@media (max-width: 960px) { .organs { grid-template-columns: 1fr; } .organ-members { grid-template-columns: 1fr; } }

/* ---- Carte réelle des zones d'intervention (v1.0.5) ---- */
.zones, .zones-detailed { display: block; }
.zone-map-wrap { margin: 0 0 32px; }
.zone-map-canvas { height: 420px; border: 1px solid var(--line); background: #e8f1eb; position: relative; z-index: 0; }
.zone-map-canvas.is-large { height: clamp(420px, 62vh, 640px); }
.zone-map-fallback { margin: 0; padding: 24px; color: var(--muted); }
.zone-map-canvas .leaflet-container { font-family: inherit; }
.zone-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { min-height: 40px; padding: .35em 1.1em; border: 2px solid var(--brand); border-radius: 999px; background: #fff; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.chip.is-on, .chip:hover { background: var(--brand); color: #fff; }
.zone-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.dot { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); vertical-align: -1px; }
.dot-siege { background: #c0392b; } .dot-bureau { background: var(--brand); } .dot-antenne { background: #2b7bb9; } .dot-zone { background: var(--accent); }
.zone-province { margin: 0 0 40px; }
.zone-province-title { margin: 0 0 18px; padding-bottom: 8px; border-bottom: 3px solid var(--brand); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.zone-province-title small { margin-left: 10px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.zones-detailed .zone-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.zones-detailed .zone-link { grid-template-columns: 1fr; gap: 12px; align-items: start; padding: 14px; height: 100%; }
.zones-detailed .zone-img { aspect-ratio: 16 / 9; }
.zone-role .dot { width: 10px; height: 10px; margin-right: 6px; }
.zone-show { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.zone-summary { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: start; }
.zone-summary > p { grid-column: 1 / -1; margin: 0; text-align: center; }
.zone-summary h3 { margin: 0 0 8px; font-size: 1.15rem; }
.zone-names { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.zone:target .zone-link { border-color: var(--brand); box-shadow: inset 5px 0 0 var(--brand); }
.zone-popup strong { display: block; font-size: 1rem; }
.zone-popup span { display: block; color: #555; }
.zone-popup a { font-weight: 700; }
@media (max-width: 560px) { .zone-map-canvas { height: 340px; } .zones-detailed .zone-list { grid-template-columns: 1fr; } }

/* ---- Page « Postuler » (v1.0.6) ---- */
.field-file { padding: 10px; background: #fff; }
.field-file::file-selector-button { margin-right: 12px; padding: .45em 1em; border: 2px solid var(--brand); border-radius: 999px; background: #fff; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
