/* ==========================================================================
   ONG DSFPDC — Feuille de style principale
   Direction : éditorial humanitaire — ivoire chaud, bleu nuit, accent ambre.
   ========================================================================== */

:root {
  --ink: #0b1f38;
  --navy: #082a4d;
  --navy-2: #0d3a66;
  --blue: #05487f;
  --blue-soft: #e6eef7;
  --amber: #f0a52e;
  --amber-deep: #d98a12;
  --amber-soft: #fdf1dc;
  --clay: #c4583a;
  --green: #2f7d5b;
  --ivory: #fbf8f3;
  --sand: #f3ede3;
  --line: #e7e0d4;
  --muted: #5d6b7c;
  --white: #fff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 56, .06), 0 2px 8px rgba(11, 31, 56, .04);
  --shadow: 0 10px 30px -12px rgba(11, 31, 56, .18), 0 4px 10px -6px rgba(11, 31, 56, .08);
  --shadow-lg: 0 30px 60px -20px rgba(8, 42, 77, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "opsz" 96;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--amber); font-weight: 400; }
p { margin: 0 0 1.1em; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #dfe8f2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--amber); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.7; }
.section--navy .lead { color: #b9c8d8; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { margin: 0; }
.center { text-align: center; }
.section-head.center { justify-content: center; }
.section-head.center > div { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--amber { --bg: var(--amber); --fg: var(--ink); }
.btn--amber:hover { --bg: #f5b54c; box-shadow: 0 14px 30px -12px rgba(240, 165, 46, .7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--light:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--lg { padding: 19px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Barre supérieure & en-tête ---------- */
.topbar { background: var(--ink); color: #b6c4d4; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--amber); }
.topbar__info, .topbar__social { display: flex; gap: 22px; align-items: center; }
.topbar__social { gap: 14px; }

.header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(251, 248, 243, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s, color .35s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 31, 56, .4); }
.header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
.brand__sub { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: 210px; }
.brand .emblem-light { display: none; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: .93rem; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { padding: 13px 22px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--ink); }

/* En-tête transparent sur l'accueil */
.header--overlay:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.header--overlay:not(.is-scrolled) .brand__sub { color: rgba(255, 255, 255, .7); }
.header--overlay:not(.is-scrolled) .emblem-dark { display: none; }
.header--overlay:not(.is-scrolled) .emblem-light { display: block; }
.header--overlay:not(.is-scrolled) .menu-toggle { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.has-overlay-header .header { position: fixed; left: 0; right: 0; top: 40px; }
.has-overlay-header .header.is-scrolled { top: 0; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: 24px 28px 36px;
  clip-path: circle(0% at calc(100% - 52px) 42px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 52px) 42px); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__top img { height: 44px; }
.mobile-menu nav { display: flex; flex-direction: column; margin: 40px 0 auto; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: 2rem; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease), color .2s;
}
.mobile-menu nav a:hover { color: var(--amber); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .05s; } .mobile-menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .15s; } .mobile-menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .25s; } .mobile-menu.is-open nav a:nth-child(7) { transition-delay: .3s; }
.mobile-menu.is-open nav a:nth-child(8) { transition-delay: .35s; }
.mobile-menu .close-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; display: grid; place-items: center; }
body.menu-open { overflow: hidden; }

/* ---------- Héros d'accueil ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 42, 77, .55) 0%, rgba(8, 42, 77, .15) 30%, rgba(8, 22, 40, .55) 62%, rgba(6, 18, 33, .92) 100%),
    linear-gradient(90deg, rgba(6, 18, 33, .78) 0%, rgba(6, 18, 33, .35) 45%, transparent 70%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 120px) 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: end; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: 26px; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 26px; color: #fff;
}
.hero__card-label { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero__card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.hero__card .progress { background: rgba(255, 255, 255, .18); }
.hero__card .progress-meta { color: rgba(255, 255, 255, .8); }
.hero__card .progress-meta strong { color: #fff; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; padding: clamp(110px, 14vw, 170px) 0 clamp(56px, 7vw, 90px); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 42, 77, .96) 15%, rgba(8, 42, 77, .55) 70%, rgba(8, 42, 77, .3)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; margin-bottom: 18px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; font-size: 1.15rem; margin: 0; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Chiffres clés ---------- */
.stats { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr); margin-top: -70px; position: relative; z-index: 5; overflow: hidden; }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--navy); margin-bottom: 10px; font-weight: 500; }
.stat__value sup { font-size: .5em; color: var(--amber); vertical-align: top; margin-left: 2px; }
.stat__label { font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* ---------- Mission / histoire ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage__main { position: absolute; inset: 0 18% 14% 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.collage__sub { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--ivory); box-shadow: var(--shadow); }
.section--sand .collage__sub { border-color: var(--sand); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__badge { position: absolute; left: -18px; bottom: 22%; background: var(--amber); color: var(--ink); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); max-width: 190px; }
.collage__badge strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 500; }
.collage__badge span { font-size: .82rem; font-weight: 600; line-height: 1.35; display: block; margin-top: 6px; }

.quote-block { position: relative; margin: 34px 0; padding: 28px 30px 28px 34px; border-left: 3px solid var(--amber); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); }
.quote-block p { font-family: var(--font-display); font-size: 1.22rem; font-style: italic; line-height: 1.55; margin: 0 0 16px; }
.signature { display: flex; align-items: center; gap: 14px; }
.signature img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.signature strong { display: block; font-size: .98rem; }
.signature span { font-size: .85rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist .icon { flex-shrink: 0; color: var(--green); margin-top: 3px; }

/* ---------- Cartes domaines ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.domain-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); isolation: isolate; }
.domain-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.domain-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.domain-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.domain-card:hover .domain-card__img img { transform: scale(1.07); }
.domain-card__body { padding: 30px 28px 30px; position: relative; flex: 1; display: flex; flex-direction: column; }
.icon-chip { width: 58px; height: 58px; border-radius: 16px; background: var(--amber); color: var(--ink); display: grid; place-items: center; margin-top: -59px; margin-bottom: 20px; box-shadow: 0 10px 24px -10px rgba(240, 165, 46, .8); position: relative; }
.domain-card h3 { margin-bottom: 10px; }
.domain-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.domain-card .link-arrow { margin-top: 8px; }
.domain-card > a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Projets / campagnes ---------- */
.campaign-feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.campaign-feature__media { position: relative; min-height: 440px; }
.campaign-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--amber-soft); color: #8a5300; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tag--float { position: absolute; top: 22px; left: 22px; background: rgba(255, 255, 255, .95); color: var(--ink); }
.tag--blue { background: var(--blue-soft); color: var(--blue); }
.tag--green { background: #e3f3ea; color: var(--green); }
.tag--muted { background: #eceff3; color: var(--muted); }
.campaign-feature__body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.campaign-feature__body h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: 16px 0 14px; }
.campaign-feature__body > p { color: var(--muted); }

.progress { height: 10px; background: var(--sand); border-radius: 99px; overflow: hidden; margin: 22px 0 14px; }
.progress__bar { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--amber-deep), var(--amber)); transition: width 1.8s var(--ease); position: relative; }
.progress__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shimmer 2.6s infinite; transform: translateX(-100%); }
@keyframes shimmer { to { transform: translateX(100%); } }
.progress-meta { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.progress-meta strong { color: var(--ink); font-size: 1.05rem; }
.quick-amounts { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 20px; }
.quick-amounts a { padding: 11px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; transition: all .25s; }
.quick-amounts a:hover { border-color: var(--amber); background: var(--amber-soft); }

.campaign-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; }
.campaign-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.campaign-card__img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.campaign-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.campaign-card:hover .campaign-card__img img { transform: scale(1.06); }
.campaign-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.campaign-card__body h3 { font-size: 1.35rem; margin: 0 0 10px; }
.campaign-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.campaign-card .progress { margin: 6px 0 12px; height: 8px; }
.campaign-card__foot { display: flex; gap: 10px; margin-top: 18px; }
.campaign-card__foot .btn { flex: 1; padding: 13px 18px; }
.meta-line { display: flex; gap: 16px; font-size: .84rem; color: var(--muted); flex-wrap: wrap; margin-bottom: 10px; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Impact du don ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impact-item { padding: 34px 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .4s, transform .4s var(--ease); }
.impact-item:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.impact-item__amount { font-family: var(--font-display); font-size: 2.3rem; color: var(--amber); line-height: 1; margin-bottom: 16px; }
.impact-item__amount small { font-size: .45em; color: #b9c8d8; font-family: var(--font-body); font-weight: 700; letter-spacing: .1em; margin-left: 4px; }
.impact-item p { color: #c8d5e3; margin: 0; }
.impact-item .icon { color: var(--amber); margin-bottom: 18px; }

/* ---------- Actualités ---------- */
.news-card { display: flex; flex-direction: column; position: relative; }
.news-card__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--sand); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.news-card__meta .cat { color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .72rem; }
.news-card h3 { font-size: 1.38rem; margin-bottom: 10px; transition: color .25s; }
.news-card:hover h3 { color: var(--blue); }
.news-card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.news-card a.stretched::after { content: ""; position: absolute; inset: 0; }

.news-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; position: relative; }
.news-featured__img { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden; }
.news-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-featured:hover .news-featured__img img { transform: scale(1.04); }
.news-featured h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.news-featured a.stretched::after { content: ""; position: absolute; inset: 0; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .88rem; transition: all .2s; background: var(--white); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box { position: relative; }
.search-box input { padding: 12px 18px 12px 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: .92rem; width: 260px; }
.search-box input:focus { outline: none; border-color: var(--blue); }
.search-box .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.pagination a, .pagination span { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 700; padding: 0 14px; }
.pagination span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

/* Article */
.article-head { padding: calc(var(--header-h) + 40px) 0 40px; }
.article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 18px 0 22px; }
.article-head .lead { margin-bottom: 30px; }
.article-meta { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .9rem; font-weight: 600; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-cover { width: min(1100px, 100% - 48px); margin: 0 auto 56px; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.prose { font-size: 1.12rem; line-height: 1.85; }
.prose > p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 4.4rem; line-height: .9; padding: 6px 12px 0 0; color: var(--blue); }
.prose h2 { font-size: 1.9rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.45rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--amber-deep); }
.prose blockquote { margin: 1.8em 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--amber); font-family: var(--font-display); font-size: 1.45rem; font-style: italic; line-height: 1.5; color: var(--navy); }
.share { display: flex; align-items: center; gap: 10px; padding: 28px 0; margin-top: 40px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share strong { margin-right: 6px; font-size: .92rem; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); display: grid; place-items: center; transition: all .25s; color: var(--ink); }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px 0; }
.article-gallery a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.article-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-gallery a:hover img { transform: scale(1.06); }

/* ---------- Galerie ---------- */
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry a { display: block; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; break-inside: avoid; }
.masonry img { width: 100%; transition: transform 1s var(--ease), filter .5s; }
.masonry a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 22, 40, .7)); opacity: 0; transition: opacity .4s; }
.masonry a:hover img { transform: scale(1.05); }
.masonry a:hover::after { opacity: 1; }
.masonry figcaption { position: absolute; left: 18px; right: 18px; bottom: 14px; color: #fff; z-index: 2; font-size: .88rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.masonry a:hover figcaption { opacity: 1; transform: none; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.photo-strip a { border-radius: var(--radius); overflow: hidden; position: relative; }
.photo-strip a:first-child { grid-row: span 2; grid-column: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-strip a:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 26, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; padding: 40px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; max-width: min(1200px, 100%); border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__caption { color: #cfd9e4; text-align: center; margin-top: 16px; font-size: .95rem; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial .icon { color: var(--amber); margin-bottom: 18px; }
.testimonial p { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.6; flex: 1; }
.testimonial footer strong { display: block; }
.testimonial footer span { color: var(--muted); font-size: .88rem; }

/* ---------- Équipe ---------- */
.team-card { text-align: left; }
.team-card__img { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; background: var(--sand); }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.team-card:hover .team-card__img img { transform: scale(1.04); filter: saturate(1.05); }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-card span { color: var(--blue); font-weight: 700; font-size: .88rem; }
.team-card p { color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--amber), rgba(240, 165, 46, .2)); }
.timeline__item { position: relative; padding-top: 62px; }
.timeline__item::before { content: ""; position: absolute; top: 12px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 5px solid var(--amber); }
.timeline__year { font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; margin-bottom: 10px; }
.timeline__item p { color: #b9c8d8; font-size: .96rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 36px 32px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.value:hover { border-color: var(--amber); transform: translateY(-4px); }
.value .icon-chip { margin-top: 0; }

/* ---------- Partenaires ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 18px 48px; justify-content: center; align-items: center; }
.partners a, .partners span { font-family: var(--font-display); font-size: 1.35rem; color: var(--muted); opacity: .75; transition: opacity .2s, color .2s; display: flex; align-items: center; }
.partners img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .7; transition: all .3s; }
.partners a:hover img { filter: none; opacity: 1; }
.partners a:hover { opacity: 1; color: var(--ink); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px); background: var(--navy); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 42, 77, .97) 30%, rgba(8, 42, 77, .5)); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; padding: 24px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; padding-top: 28px; }
.field select { padding: 24px 44px 10px 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6b7c' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field label { position: absolute; left: 19px; top: 17px; font-size: 1rem; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(5, 72, 127, .1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--blue); }
.field .errorlist, .errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--clay); font-size: .85rem; font-weight: 600; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--clay); }
.field--file { border: 1.5px dashed var(--line); border-radius: 14px; padding: 18px; background: var(--white); }
.field--file > span { display: block; font-size: .85rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); margin-top: 2px; flex-shrink: 0; }

.card-panel { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .25s; }
.info-item:hover { border-color: var(--amber); }
.info-item .icon-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.info-item strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.info-item a, .info-item p { font-weight: 700; margin: 0; }
.map { border-radius: var(--radius-lg); overflow: hidden; height: 420px; box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- Page de don ---------- */
.donate-layout { display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; align-items: start; }
.donate-step { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.donate-step:last-of-type { border-bottom: 0; margin-bottom: 0; }
.donate-step__title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.donate-step__title b { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.donate-step__title h3 { margin: 0; font-size: 1.4rem; }
.segmented { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: all .25s; }
.segmented input:checked + span { background: var(--white); box-shadow: var(--shadow-sm); color: var(--blue); }
.segmented input:focus-visible + span { outline: 3px solid var(--amber); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.amount-btn { padding: 20px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); font-weight: 800; font-size: 1.12rem; transition: all .2s; color: var(--ink); }
.amount-btn small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; margin-top: 2px; }
.amount-btn:hover { border-color: var(--amber); }
.amount-btn.is-active { border-color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 3px rgba(240, 165, 46, .25); }
.amount-custom { position: relative; }
.amount-custom input { width: 100%; padding: 18px 80px 18px 20px; border-radius: 14px; border: 1.5px solid var(--line); font: inherit; font-size: 1.1rem; font-weight: 700; background: var(--white); }
.amount-custom input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(5, 72, 127, .1); }
.amount-custom em { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; color: var(--muted); }
.impact-hint { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 14px 18px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); font-size: .92rem; font-weight: 600; min-height: 52px; }
.impact-hint .icon { flex-shrink: 0; color: var(--blue); }
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.method { position: relative; cursor: pointer; }
.method input { position: absolute; opacity: 0; }
.method span { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: .92rem; transition: all .2s; height: 100%; }
.method span .icon { color: var(--blue); }
.method input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5, 72, 127, .15); background: #f6f9fd; }
.method input:focus-visible + span { outline: 3px solid var(--amber); }
.method--om span .icon { color: #ff7900; }
.method--mtn span .icon { color: #d4a500; }

.donate-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-card { background: var(--navy); color: #dbe5f0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.summary-card__img { aspect-ratio: 16 / 9; position: relative; }
.summary-card__img img { width: 100%; height: 100%; object-fit: cover; }
.summary-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--navy)); }
.summary-card__body { padding: 8px 30px 32px; }
.summary-card h3 { color: #fff; font-size: 1.35rem; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .94rem; }
.summary-row strong { color: #fff; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 22px; }
.summary-total strong { font-family: var(--font-display); font-size: 2.1rem; color: var(--amber); font-weight: 500; }
.trust { display: grid; gap: 10px; margin-top: 20px; font-size: .86rem; }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust .icon { color: var(--amber); flex-shrink: 0; }

.pay-instructions { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); margin: 32px 0; text-align: left; }
.pay-instructions ol { padding-left: 1.2em; margin: 0; }
.pay-instructions li { margin-bottom: 10px; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sand); padding: 14px 18px; border-radius: 12px; margin: 8px 0 18px; font-weight: 800; font-size: 1.1rem; letter-spacing: .03em; }
.copy-field button { border: 0; background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.success-mark { width: 92px; height: 92px; border-radius: 50%; background: #e3f3ea; color: var(--green); display: grid; place-items: center; margin: 0 auto 28px; animation: pop .7s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Rapports ---------- */
.report-row { display: flex; align-items: center; gap: 24px; padding: 26px 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease); }
.report-row:hover { border-color: var(--amber); transform: translateX(4px); }
.report-row .icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-deep); display: grid; place-items: center; flex-shrink: 0; }
.report-row h3 { margin: 0 0 4px; font-size: 1.2rem; }
.report-row p { margin: 0; color: var(--muted); font-size: .92rem; }
.report-row .btn { margin-left: auto; }
.empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #9fb0c3; padding-top: 88px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: url("../img/emblem-white.fed8ae40d1fe.png") no-repeat center / contain; opacity: .035; pointer-events: none; }
.footer__newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__newsletter h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.newsletter-form { display: flex; gap: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 6px; border-radius: 999px; }
.newsletter-form input { flex: 1; background: transparent; border: 0; color: #fff; padding: 0 20px; font: inherit; min-width: 0; }
.newsletter-form input::placeholder { color: #7f92a8; }
.newsletter-form input:focus { outline: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer h4 { font-family: var(--font-body); color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin-bottom: 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--amber); }
.footer__brand img { height: 84px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: .95rem; max-width: 340px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--amber); margin-top: 4px; flex-shrink: 0; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; color: #fff; transition: all .25s; }
.socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Messages flash ---------- */
.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: grid; gap: 10px; max-width: 420px; }
.toast { display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: #fff; padding: 16px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); animation: toastin .5s var(--ease); font-size: .94rem; }
.toast .icon { color: #4ade80; flex-shrink: 0; margin-top: 2px; }
.toast--error .icon { color: #f87171; }
.toast--info .icon { color: var(--amber); }
.toast button { background: none; border: 0; color: #8ea2b8; margin-left: auto; padding: 0; }
@keyframes toastin { from { opacity: 0; transform: translateY(16px); } }
.toast.is-hiding { opacity: 0; transform: translateY(10px); transition: all .4s; }

/* Bouton flottant WhatsApp & don mobile */
.fab-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.fab-whatsapp:hover { transform: scale(1.08); }
.mobile-donate { display: none; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
.hero .reveal { transition-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: .88rem; }
  .brand__sub { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .nav, .topbar { display: none; }
  .has-overlay-header .header { top: 0; }
  .menu-toggle { display: inline-flex; }
  .header__cta .btn { padding: 12px 18px; }
  .hero__grid, .split, .campaign-feature, .news-featured, .contact-grid, .donate-layout, .cta-band__inner, .footer__newsletter { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .grid-3, .testimonials, .values, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .donate-summary { position: static; }
  .campaign-feature__media { min-height: 300px; }
  .collage { max-width: 560px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 36px); }
  .header__cta .btn span { display: none; }
  .header__cta .btn { padding: 12px 14px; }
  .brand img { height: 42px; }
  .hero__content { padding-bottom: 56px; }
  .hero__card { display: none; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -48px; }
  .stat { padding: 24px 18px; border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .stat:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .grid-3, .grid-2, .grid-4, .testimonials, .values, .impact-grid, .form-grid, .footer__grid, .timeline { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .article-gallery { grid-template-columns: 1fr 1fr; }
  .search-box input { width: 100%; }
  .search-box { width: 100%; }
  .report-row { flex-wrap: wrap; }
  .report-row .btn { margin-left: 0; width: 100%; }
  .collage__badge { left: 8px; }
  .fab-whatsapp { bottom: 86px; width: 52px; height: 52px; }
  .mobile-donate { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; transform: translateY(120%); transition: transform .5s var(--ease); }
  .mobile-donate.is-visible { transform: none; }
  .mobile-donate .btn { width: 100%; box-shadow: var(--shadow-lg); }
  .toasts { left: 12px; right: 12px; bottom: 80px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; }
}
