/* AFDEC — feuille de style du site public. Couleurs issues du logo : bleu du globe, orange des grains, vert de l'épi. */
@font-face { font-family: Fraunces; src: url(/fonts/fraunces.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Fraunces; src: url(/fonts/fraunces-italic.woff2) format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --ink: #15201c; --ink-2: #44524c; --ink-3: #68756f;
  --paper: #fbf8f1; --sand: #f3ecdd; --line: #e6dfd0;
  --blue: #1794ba; --blue-d: #0b5f7a; --blue-ink: #06323f; --blue-soft: #e1f0f5;
  --orange: #f29111; --orange-d: #964c00; --orange-soft: #fdebd0;
  --green: #3f9b32; --green-d: #1f6b25; --green-soft: #e7f3df; --leaf: #8fd64a;
  --radius: 22px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 32, 28, .05), 0 14px 34px -14px rgba(21, 32, 28, .22);
  --font: Figtree, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: Fraunces, Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lock { overflow: hidden; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-d); }
h1, h2, h3 { font-family: var(--display); font-weight: 560; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange-d); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; border-radius: 6px; }
::selection { background: var(--orange); color: #1d1300; }
@view-transition { navigation: auto; }

.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.icon.big { width: 40px; height: 40px; color: var(--blue); margin-bottom: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; color: #fff; }
.wrap { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }
.wrap.narrow, .narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Boutons, étiquettes ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.3rem; border-radius: 999px; border: 2px solid transparent; font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #1d1300; box-shadow: 0 10px 24px -12px rgba(242, 145, 17, .95); }
.btn-primary:hover { background: #ffa530; color: #1d1300; }
.btn-blue { background: var(--blue-d); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-glass:hover, .btn-ghost-light:hover { background: #fff; color: var(--blue-ink); border-color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.center-actions { justify-content: center; margin-top: 1.6rem; }

.chip { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; padding: .32rem .8rem; border-radius: 999px; background: var(--green-soft); color: var(--green-d); font-size: .82rem; font-weight: 650; text-decoration: none; margin: 0; }
.chip-status { background: var(--orange-soft); color: var(--orange-d); }
.chip-float { position: absolute; left: .9rem; top: .9rem; background: rgba(255, 255, 255, .95); color: var(--ink); }
.chip-float.chip-status { left: auto; right: .9rem; background: var(--orange); color: #1d1300; }
.eyebrow { display: flex; align-items: center; gap: .55em; font-size: .82rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); margin: 0 0 1rem; }
.eyebrow::before { content: ''; width: 1em; height: 1em; flex: none; background: var(--leaf); border-radius: 0 70% 0 70%; }
.center .eyebrow { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--blue-d); text-decoration: none; margin-top: auto; }
.note { display: flex; align-items: flex-start; gap: .6rem; background: var(--orange-soft); padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .95rem; text-align: left; }
.note .icon { margin-top: .2em; color: var(--orange-d); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(21, 32, 28, .6); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a:not(.btn) { padding: .5rem .75rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; transition: background .2s; }
.nav a:not(.btn):hover { background: var(--sand); }
.nav a[aria-current] { color: var(--blue-d); background: var(--blue-soft); }
.nav-cta { margin-left: .6rem; }
.burger { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.burger .i-close, .burger[aria-expanded='true'] .i-open { display: none; }
.burger[aria-expanded='true'] .i-close { display: block; }
@media (max-width: 1100px) {
  .burger { display: inline-grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 76px); background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 2rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font: 560 1.35rem var(--display); padding: 1rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 1.4rem 0 0; padding-block: 1rem; }
}

/* ---------- Accueil : bandeau ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(88vh, 800px); display: grid; align-items: end; border-radius: 0 0 40px 40px; overflow: hidden; }
.hero-img, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .page-hero.has-img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 40, 51, .93) 0%, rgba(4, 40, 51, .72) 48%, rgba(4, 40, 51, .28) 100%), linear-gradient(0deg, rgba(4, 40, 51, .6), transparent 50%); }
.hero-in { padding-block: clamp(5rem, 12vh, 8rem) clamp(7rem, 15vh, 9.5rem); }
.hero h1 { max-width: 19ch; }
.hero .lead { max-width: 620px; color: #e4eff2; margin-bottom: 2rem; }
.hero .eyebrow, .has-img .eyebrow, .dark .eyebrow, .band .eyebrow { color: #ffd08a; }
.hero-stats { margin-top: -4.4rem; position: relative; z-index: 2; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stats > div { background: #fff; padding: 1.5rem 1rem; display: flex; flex-direction: column-reverse; text-align: center; }
.stats dd { margin: 0; font: 600 clamp(2rem, 4vw, 2.7rem)/1.1 var(--display); color: var(--blue-d); font-variant-numeric: tabular-nums; }
.stats dt { font-size: .92rem; color: var(--ink-2); margin-top: .3rem; }
.stats-mini { box-shadow: none; margin: 1.4rem 0 1.6rem; }
.stats-mini > div { padding: .9rem .5rem; background: var(--paper); }
.stats-mini dd { font-size: 1.6rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.tint { background: var(--sand); }
.dark { background: var(--blue-ink) radial-gradient(60rem 30rem at 85% -10%, rgba(23, 148, 186, .35), transparent 60%); color: #dbe9ed; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #c3dbe2; }
.head { max-width: 740px; margin-bottom: 2.4rem; }
.head.center { margin-inline: auto; }
.head .lead { margin: 0; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.head-row > .head, .head-row > .filters { margin-bottom: 0; }
.sub { margin-top: 3rem; font-size: 1.5rem; }

.grid { display: grid; gap: 1.6rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cols-values { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-top { align-items: start; }
.split-media { position: relative; isolation: isolate; }
.split-media::before { content: ''; position: absolute; width: 36%; aspect-ratio: 1; right: -5%; top: -7%; z-index: -1; background: var(--leaf); border-radius: 0 70% 0 70%; opacity: .6; }
.frame { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px 28px 28px 110px; box-shadow: var(--shadow); }
.stamp { position: absolute; right: 5%; bottom: -1.3rem; margin: 0; display: flex; flex-direction: column; line-height: 1.1; background: var(--orange); color: #1d1300; border-radius: 20px; padding: .9rem 1.2rem; box-shadow: var(--shadow); }
.stamp strong { font: 600 2rem var(--display); }
.stamp span { font-size: .8rem; font-weight: 650; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: .22em; }
@media (min-width: 861px) { .zone:nth-of-type(odd) .split-media { order: 2; } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.card:has(.stretch):hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pad { padding: clamp(1.4rem, 3vw, 2.2rem); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-ph { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--green-soft), var(--blue-soft)); color: var(--green-d); }
.card-ph .icon { width: 64px; height: 64px; opacity: .7; }
.card-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.stretch { color: inherit; text-decoration: none; }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.meta { display: flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--ink-3); margin: 0; }
.card-body .funding { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); font-size: .88rem; }
.card.pad > h3 { margin-top: .8rem; }
.feature { padding: 1.8rem; gap: .5rem; }
.feature h3 { margin: .6rem 0 0; font-size: 1.22rem; }
.feature p { color: var(--ink-2); font-size: .98rem; }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px 18px 18px 4px; background: var(--green-soft); color: var(--green-d); }
.feature-icon .icon { width: 28px; height: 28px; }
.feature:nth-child(2) .feature-icon { background: var(--orange-soft); color: var(--orange-d); }
.feature:nth-child(3) .feature-icon { background: var(--blue-soft); color: var(--blue-d); }
.quote-card { padding: 2.2rem; }
.quote-card p { color: var(--ink-2); }
blockquote { margin: 1rem 0 0; padding-left: 1rem; border-left: 4px solid var(--orange); font: italic 500 1.15rem/1.45 var(--display); color: var(--ink-2); }
.partner { padding: 1.5rem; gap: .6rem; }
.partner-logo { height: 90px; display: grid; align-items: center; justify-items: start; color: var(--blue); }
.partner-logo img { max-height: 80px; max-width: 190px; width: auto; object-fit: contain; }
.partner-logo .icon { width: 44px; height: 44px; }
.partner h3 { font-size: 1.15rem; margin: 0; }
.partner p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.partner .chip { margin-top: auto; }
.contact-card { gap: .4rem; }
.contact-card h2 { font-size: 1.2rem; margin: 0; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.contact-card .big { color: var(--orange-d); margin-bottom: .4rem; }
.member { align-items: flex-start; gap: .3rem; }
.member h3 { margin: 0; }
.member p { color: var(--ink-2); font-size: .96rem; margin: 0 0 .6rem; }
.member .role { color: var(--orange-d); font-weight: 650; }
.avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin-bottom: .7rem; }
.avatar-ph { display: grid; place-items: center; background: var(--blue-d); color: #fff; font: 600 1.5rem var(--display); }
.contact-lines { line-height: 2; margin: 0; }
.contact-lines .icon { color: var(--blue); margin-right: .3rem; }

/* ---------- Valeurs, logos, bandeau de don ---------- */
.values-cloud { list-style: none; padding: 0; margin: 0 auto 2.2rem; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.values-cloud li { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); font-weight: 550; }
.values-cloud .icon, .value .icon { color: var(--leaf); }
.value { padding: 1.4rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.value .icon { width: 28px; height: 28px; margin-bottom: .7rem; }
.value h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.value p { margin: 0; font-size: .95rem; color: #c3dbe2; }
.logos { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.logos li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.logos img { max-height: 72px; width: auto; object-fit: contain; }
/* Carrousel des partenaires : défilement automatique logo par logo, glisser, flèches, pause, boucle infinie */
.logo-carousel { margin: 0 0 2rem; }
.lc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: .6rem 0 1rem; cursor: grab; outline-offset: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lc-viewport::-webkit-scrollbar { display: none; }
.lc-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.lc-viewport.dragging a { pointer-events: none; }
.lc-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; width: max-content; }
.lc-track li { flex: none; scroll-snap-align: start; }
.lc-track a { display: grid; place-items: center; width: 176px; height: 112px; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .3s, box-shadow .3s, border-color .3s; user-select: none; -webkit-user-drag: none; }
.lc-track a:hover, .lc-track a:focus-visible { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 14px 28px -18px rgba(6, 50, 63, .55); }
.lc-track img { max-height: 74px; max-width: 100%; width: auto; object-fit: contain; pointer-events: none; }
@media (max-width: 560px) { .lc-track a { width: 138px; height: 92px; } }
.band { padding-block: clamp(2rem, 5vw, 4rem); }
.band-in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; padding: clamp(2rem, 6vw, 4.5rem); border-radius: 36px; background: linear-gradient(120deg, var(--blue-ink), var(--blue-d)); color: #fff; }
.band-in::after { content: ''; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; background: var(--orange); border-radius: 0 70% 0 70%; opacity: .25; }
.band h2 { color: #fff; }
.band .lead { color: #d3e7ed; margin: 0; }
.band .actions { flex-direction: column; align-items: stretch; position: relative; z-index: 1; }
@media (max-width: 860px) { .band-in { grid-template-columns: 1fr; } }

/* ---------- En-tête de page, fil d'Ariane, chronologie ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.2rem); background: linear-gradient(180deg, var(--sand), var(--paper)); }
.page-hero::before { content: ''; position: absolute; right: -90px; top: -110px; width: 340px; height: 340px; z-index: -1; background: var(--leaf); border-radius: 0 70% 0 70%; opacity: .28; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 700px; margin: 0; }
.page-hero.has-img { color: #fff; padding-block: clamp(5rem, 13vw, 8.5rem) clamp(3rem, 7vw, 5rem); border-radius: 0 0 40px 40px; }
.page-hero.has-img::before { display: none; }
.page-hero.has-img .lead { color: #e4eff2; }
.don-hero { padding-bottom: clamp(7rem, 12vw, 9rem) !important; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .92rem; color: var(--ink-3); }
.crumbs a { font-weight: 650; text-decoration: none; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.7rem; border-left: 2px solid var(--line); display: grid; gap: 1.8rem; }
.tint .timeline { border-color: #dfd5bf; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.7rem - 8px); top: .3rem; width: 14px; height: 14px; background: var(--orange); border-radius: 0 70% 0 70%; }
.timeline h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--ink-2); }
.timeline .when { font-size: .85rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-d); margin-bottom: .2rem; }
.organs { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.organs li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.organs h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.organs p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.organ-n { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-d); color: #fff; font-weight: 750; }
@media (min-width: 861px) { .organs li:nth-child(2) { margin-left: 1.5rem; } .organs li:nth-child(3) { margin-left: 3rem; } .organs li:nth-child(4) { margin-left: 4.5rem; } }

/* ---------- Filtres, articles, galerie ---------- */
.filter-box { padding: 1.2rem 1.4rem; margin-bottom: 2.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filter-label { font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.filters:last-child { margin: 0; }
.filters .chip { padding: .45rem 1rem; font-size: .9rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.filters .chip:hover { border-color: var(--blue-d); }
.filters .chip.on { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.empty { padding: 3rem 1.5rem; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.article-cover { margin: 0 0 2rem; }
.article-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--orange); }
.facts { position: sticky; top: 100px; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.facts h2 { font-size: 1.3rem; }
.facts dl { margin: 0 0 1.4rem; }
.facts dl div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt, .pay-lines dt { font-size: .78rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 550; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .facts { position: static; } }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .9rem; }
.shot { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand); cursor: zoom-in; }
.shot img { width: 100%; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shots:not(.shots-wall) .shot { aspect-ratio: 4 / 3; }
.shots:not(.shots-wall) .shot img { height: 100%; object-fit: cover; }
.shots-wall { display: block; columns: 4 240px; column-gap: .9rem; }
.shots-wall .shot { margin-bottom: .9rem; break-inside: avoid; }
.shot-cap { position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .7rem; background: linear-gradient(transparent, rgba(4, 40, 51, .88)); color: #fff; font-size: .82rem; line-height: 1.3; opacity: 0; transition: opacity .25s; }
.shot:hover .shot-cap, .shot:focus-visible .shot-cap { opacity: 1; }
.lightbox { display: none; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(3, 22, 28, .95); }
.lightbox figure { margin: 0; max-width: min(92vw, 1300px); display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 78dvh; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; max-width: 70ch; font-size: .98rem; padding-inline: 1rem; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--orange); color: #1d1300; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: calc(50% - 26px); }
.lb-next { right: 1rem; top: calc(50% - 26px); }

/* ---------- Carte, listes, tableau ---------- */
.map { position: relative; z-index: 0; height: 520px; overflow: hidden; background: #dfe9e4; border: 1px solid var(--line); border-radius: var(--radius); }
.map-small { height: 380px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 1.6rem; }
.legend { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.legend h2 { font-size: 1.3rem; }
.legend ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.legend li { display: flex; gap: .7rem; font-size: .92rem; color: var(--ink-2); }
.legend strong { display: block; color: var(--ink); }
.dot { flex: none; width: 16px; height: 16px; margin-top: .25rem; border-radius: 50%; border: 2px solid; }
.dot-hq { background: var(--orange); border-color: #fff; box-shadow: 0 0 0 2px var(--orange); }
.dot-office { background: var(--ink); border-color: #fff; box-shadow: 0 0 0 2px var(--ink); }
.dot-green { background: rgba(63, 155, 50, .3); border-color: var(--green); }
.dot-blue { background: rgba(23, 148, 186, .3); border-color: var(--blue); }
.dot-orange { background: rgba(242, 145, 17, .3); border-color: var(--orange); }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } .map { height: 400px; } }
.overview, .reasons { list-style: none; padding: 0; margin: 0; display: grid; }
.overview { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: .9rem; }
.overview li { display: flex; flex-direction: column; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-sm); font-size: .93rem; color: var(--ink-2); }
.overview strong { font-size: 1rem; color: var(--ink); }
.reasons { gap: 1.1rem; margin-bottom: 1.5rem; }
.reasons li { display: flex; gap: .9rem; }
.reasons .icon { width: 26px; height: 26px; margin-top: .15rem; color: var(--blue); }
.reasons strong { display: block; }
.reasons span { color: var(--ink-2); font-size: .96rem; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; min-width: 640px; border-collapse: collapse; }
th, td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--blue-ink); color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
tfoot th, tfoot td { background: var(--orange-soft); font-weight: 700; border: 0; }
.faq { display: grid; gap: .8rem; }
.faq details { padding: 0 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue-d); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .prose { font-size: 1rem; color: var(--ink-2); padding-bottom: .4rem; }

/* ---------- Formulaires ---------- */
.form h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.3rem; }
.field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; font-weight: 650; font-size: .93rem; }
.field small { font-weight: 400; color: var(--ink-3); }
input:not([type='radio'], [type='checkbox']), select, textarea { width: 100%; padding: .8rem 1rem; font: 400 1rem/1.4 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
input:not([type='radio'], [type='checkbox']):focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 148, 186, .18); }
textarea { resize: vertical; min-height: 120px; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; cursor: pointer; }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--blue-d); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 1rem; }
.form-status { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--radius-sm); font-weight: 600; background: var(--blue-soft); color: var(--blue-ink); }
.form-status:empty { display: none; }
.form-status.ok { background: var(--green-soft); color: var(--green-d); }
.form-status.err { background: #fde9e4; color: #96260f; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Page de dons ---------- */
.don-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: -7rem; }
.don { box-shadow: var(--shadow); }
.don fieldset { min-width: 0; margin: 0 0 1.8rem; padding: 0; border: 0; }
.don legend { display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: .9rem; font: 600 1.25rem var(--display); }
.step { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-d); color: #fff; font: 750 .9rem var(--font); }
.seg, .amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: .6rem; }
.amounts { margin-bottom: .9rem; }
.seg label, .amounts label, .method { position: relative; cursor: pointer; }
.seg input, .amounts input, .method input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span, .amounts span { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: .85rem .5rem; text-align: center; font-weight: 750; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, background .2s, box-shadow .2s; }
.seg small { font-weight: 500; color: var(--ink-3); }
.seg input:checked + span, .amounts input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: #5c2f00; box-shadow: 0 0 0 3px rgba(242, 145, 17, .2); }
.don input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.input-unit { position: relative; display: flex; align-items: center; }
.input-unit input { padding-right: 4.5rem; }
.input-unit span { position: absolute; right: 1rem; font-weight: 750; color: var(--ink-3); }
.methods { display: grid; gap: .7rem; }
.method-in { position: relative; display: grid; gap: .25rem; padding: 1rem 1.1rem 1rem 3rem; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, background .2s; }
.method-in::before { content: ''; position: absolute; left: 1rem; top: 1.15rem; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-3); background: #fff; }
.method input:checked + .method-in { border-color: var(--orange); background: #fffaf1; }
.method input:checked + .method-in::before { border-color: var(--orange-d); background: radial-gradient(var(--orange-d) 42%, #fff 48%); }
.method small { color: var(--ink-2); font-size: .9rem; }
.brands { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.brand { padding: .2rem .55rem; border-radius: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; background: var(--sand); color: var(--ink); }
.brand-wave { background: #1dc8ff; color: #00263a; }
.brand-orange { background: #ff7900; color: #000; }
.brand-free { background: #cd1e25; color: #fff; }
.brand-visa { background: #1a1f71; color: #fff; }
.brand-mastercard { background: #2b2b2b; color: #fff; }
.brand-paypal { background: #003087; color: #fff; }
.brand-applepay { background: #000; color: #fff; }
.brand-googlepay { background: #fff; color: #3c4043; box-shadow: inset 0 0 0 1px #dadce0; }
.secure { display: flex; justify-content: center; gap: .5rem; margin: 1rem 0 0; font-size: .88rem; color: var(--ink-3); }
.don-side { display: grid; gap: 1.2rem; }
.don-side h2 { font-size: 1.25rem; }
.don-side .card p { color: var(--ink-2); font-size: .97rem; }
.don-soon { align-items: center; text-align: center; box-shadow: var(--shadow); }
.don-soon .actions { justify-content: center; }
.thanks .card { align-items: center; }
.icon.state { width: 72px; height: 72px; margin-bottom: 1rem; color: var(--blue); }
.icon.state.ok { color: var(--green); }
.icon.state.warn { color: var(--orange-d); }
.pay-lines { width: 100%; margin: 1rem 0 1.5rem; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.pay-lines div { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; align-items: center; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.pay-lines div:last-child { border: 0; }
.pay-lines dd { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin: 0; font-weight: 700; word-break: break-word; }
.copy { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--sand); cursor: pointer; }
.copy.done { background: var(--green-soft); color: var(--green-d); }
@media (max-width: 900px) { .don-layout { grid-template-columns: 1fr; margin-top: -5rem; } }
@media (max-width: 560px) { .pay-lines div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Pied de page ---------- */
.footer { padding-top: clamp(3rem, 7vw, 5rem); background: var(--ink); color: #c5d0ca; font-size: .96rem; }
.footer a { color: #edf2ee; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer h2 { font: 750 .82rem var(--font); letter-spacing: .11em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr 1.3fr; gap: 2.5rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-logo { display: inline-block; padding: .6rem .8rem; margin-bottom: 1rem; background: #fff; border-radius: 16px; }
.footer-logo img { height: 64px; width: auto; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact .icon { margin-top: .25rem; color: var(--leaf); }
.socials a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.newsletter input[type='email'] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; border-radius: 999px; }
.newsletter input::placeholder { color: #9fb0a8; }
.newsletter .form-status { grid-column: 1 / -1; margin: .3rem 0 0; font-size: .9rem; }
.newsletter .nl-consent { grid-column: 1 / -1; margin: .2rem 0 0; font-size: .78rem; color: #9fb0a8; }
.newsletter .nl-consent a { color: inherit; }
.test-banner { position: relative; z-index: 100; padding: .45rem 1rem; background: #a52712; color: #fff; font-weight: 700; text-align: center; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .hero, .page-hero.has-img { border-radius: 0 0 26px 26px; } .hero { min-height: 0; } .hero-in { padding-block: 3.2rem 6.5rem; } .hero .lead { margin-bottom: 1.5rem; } }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.wait { opacity: 0; transform: translateY(24px); }
  .grid > .reveal:nth-child(3n + 2) { transition-delay: .08s; }
  .grid > .reveal:nth-child(3n + 3) { transition-delay: .16s; }
  .hero-in > * { animation: rise .9s var(--ease) both; }
  .hero-in > :nth-child(2) { animation-delay: .1s; }
  .hero-in > :nth-child(3) { animation-delay: .2s; }
  .hero-in > :nth-child(4) { animation-delay: .3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .header, .footer, .band, .lightbox, .burger { display: none !important; } body { background: #fff; } }

/* ---------- Assistant ---------- */
.chat { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; }
.chat-fab { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.2rem; border: 0; border-radius: 999px; background: var(--blue-d); color: #fff; font: 650 1rem var(--font); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(6, 50, 63, .75); transition: transform .2s var(--ease), background .2s; }
.chat-fab:hover { transform: translateY(-2px); background: var(--blue-ink); }
.chat-fab .icon { width: 22px; height: 22px; }
.chat.open .chat-fab { display: none; }
.chat-panel { display: flex; flex-direction: column; width: min(400px, calc(100vw - 2rem)); height: min(640px, calc(100dvh - 6.5rem)); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px -25px rgba(6, 50, 63, .6); }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; background: linear-gradient(120deg, var(--blue-ink), var(--blue-d)); color: #fff; }
.chat-head p { flex: 1; display: grid; margin: 0; line-height: 1.25; }
.chat-head small { font-size: .8rem; color: #cfe6ee; }
.chat-avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #1d1300; }
.chat-head button { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background .2s; }
.chat-head button:hover { background: rgba(255, 255, 255, .3); }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: .7rem; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; max-width: 88%; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-bubble { padding: .7rem .95rem; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; font-size: .96rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg.user .chat-bubble { background: var(--blue-d); border-color: var(--blue-d); color: #fff; border-radius: 18px 18px 6px 18px; white-space: pre-wrap; }
.chat-msg.error .chat-bubble { background: #fde9e4; border-color: #f6c9bf; color: #96260f; }
.chat-bubble p { margin: 0 0 .5em; }
.chat-bubble ul { margin: .2em 0 .5em; padding-left: 1.1rem; }
.chat-bubble > :last-child { margin-bottom: 0; }
.chat-doc { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .25rem .6rem; border-radius: 999px; background: var(--orange-soft); color: var(--orange-d); font-size: .8rem; font-weight: 650; }
.chat-speak { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .2rem; border: 0; background: none; color: var(--ink-3); font-size: .78rem; cursor: pointer; }
.chat-speak:hover { color: var(--blue-d); }
.chat-info { align-self: center; margin: 0; padding: .4rem .8rem; border-radius: 10px; background: var(--orange-soft); color: #5c2f00; font-size: .85rem; text-align: center; }
.chat-typing { display: inline-block; width: 6px; height: 6px; margin: .35rem 22px .2rem 2px; border-radius: 50%; background: var(--ink-3); box-shadow: 10px 0 var(--ink-3), 20px 0 var(--ink-3); animation: chat-blink .8s infinite alternate; }
@keyframes chat-blink { from { opacity: .25; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .8rem; background: var(--paper); }
.chat-suggest button { padding: .4rem .8rem; border: 1px solid var(--blue); border-radius: 999px; background: #fff; color: var(--blue-d); font: 600 .85rem var(--font); cursor: pointer; transition: background .2s; }
.chat-suggest button:hover { background: var(--blue-soft); }
.chat-form { padding: .7rem .8rem .6rem; border-top: 1px solid var(--line); background: #fff; }
.chat-file { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; padding: .35rem .6rem; border-radius: 10px; background: var(--orange-soft); font-size: .85rem; font-weight: 600; }
.chat-file span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-file button { display: grid; padding: 0; border: 0; background: none; cursor: pointer; }
.chat-row { display: flex; align-items: flex-end; gap: .35rem; }
.chat-row button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.chat-row button:hover { background: var(--blue-soft); color: var(--blue-d); }
.chat-row .chat-send { background: var(--orange); color: #1d1300; }
.chat-row .chat-send:hover { background: #ffa530; color: #1d1300; }
.chat-form.busy .chat-send { opacity: .5; pointer-events: none; }
.chat-row textarea { flex: 1; min-height: 40px; max-height: 120px; padding: .55rem .85rem; border-radius: 20px; resize: none; font-size: .96rem; }
.chat-row .i-stop, .chat-row .rec .i-mic { display: none; }
.chat-row .rec .i-stop { display: block; }
.chat-row .rec { background: #d6341c; color: #fff; animation: chat-pulse 1.2s infinite; }
@keyframes chat-pulse { 50% { box-shadow: 0 0 0 8px rgba(214, 52, 28, .18); } }
.chat-note { margin: .45rem 0 0; font-size: .74rem; color: var(--ink-3); text-align: center; }
@media (max-width: 560px) {
  .chat { right: .8rem; bottom: .8rem; }
  .chat-fab { padding: .95rem; }
  .chat-fab span { display: none; }
  .chat.open { inset: 0; }
  .chat.open .chat-panel { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
}
@media print { .chat { display: none !important; } }
