/* =========================================================
   Entraides et Soutiens — refonte 2026
   Esprit « carnet botanique » : papier blanc, encre marine,
   une seule note menthe qui fait vivre les actions.
   Couleurs du client : vert #48a889, bleu ciel #77b5fe, marine #273647.
   ========================================================= */

:root {
  /* Couleurs */
  --encre: #273647;          /* marine E&S : titres, texte, traits */
  --encre-nuit: #1b2633;     /* bouton sombre, survol */
  --vert: #48a889;           /* vert E&S : accents d'illustration, jauges */
  --vert-fonce: #2f7d64;     /* vert lisible sur fond clair */
  --bleu: #77b5fe;           /* bleu ciel E&S : eau, gouttes */
  --bleu-logo: #2f479c;      /* points du logo */
  --vert-logo: #53b399;      /* vert du « S » du logo : panneau des collectes */
  --bleu-logo-clair: #94bfe3; /* bleu du « E » du logo : panneaux réalisations et étapes */
  --pousse: #cdf5e4;         /* menthe : bouton principal, cartes d'action */
  --pousse-fort: #b4ecd4;
  --ciel: #dfedff;           /* bleu très pâle : 2e surface */
  --brume: #eaeef2;          /* fond des panneaux, filets */
  --brume-fort: #dfe5eb;
  --blanc: #ffffff;
  --sauge: #273647;          /* texte secondaire : même couleur que les titres (demande client) */
  --sauge-clair: #273647;
  --rayon-photo: 16px;       /* coins arrondis réguliers de toutes les photos */

  /* Typographie */
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', 'DM Serif Display', Georgia, serif;

  /* Mise en page */
  --largeur: 1200px;
  --gouttiere: 24px;
  --section: clamp(56px, 6.5vw, 96px);
  --rayon: 8px;
  --rayon-deco: 14px;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --ease-doux: cubic-bezier(.45, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pousse); color: var(--encre); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; border-radius: 4px; }

.conteneur { width: 100%; max-width: calc(var(--largeur) + var(--gouttiere) * 2); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: var(--rayon); }
.lien-evitement:focus { top: 12px; }

/* ---------- Typographie ---------- */
.sourcil {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .056em; line-height: 1.2;
  color: var(--encre); margin: 0 0 18px;
}
.sourcil--clair { color: #fff; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(72,168,137,.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(72,168,137,0); } }

.titre-affiche {
  font-size: clamp(46px, 6.3vw, 86px);
  line-height: .93; letter-spacing: -.062em; font-weight: 600;
}
.titre {
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: .95; letter-spacing: -.056em; font-weight: 600;
}
.titre-m { font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.titre-s { font-size: 24px; line-height: 1.13; letter-spacing: -.025em; font-weight: 600; }
.accent {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  letter-spacing: -.025em; line-height: .9;
  position: relative; display: inline-block; padding-right: .06em;
}
.titre-affiche .accent, .titre .accent, .titre-m .accent { display: block; width: fit-content; margin-top: .06em; }
.accent--vert { color: var(--vert-fonce); }
.chapo { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; letter-spacing: -.02em; color: var(--sauge); max-width: 34em; }
.texte { color: var(--sauge); max-width: 36em; }
.texte strong, .chapo strong { color: var(--encre); font-weight: 600; }
.petit { font-size: 14px; letter-spacing: .01em; }
.centre { text-align: center; margin-left: auto; margin-right: auto; }

/* Mots qui montent + accent qui s'écrit */
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .04em .26em; margin: -.16em -.04em -.26em; }
.mot > span { display: inline-block; transform: translateY(140%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.titre-anime .accent { clip-path: inset(-30% 100% -45% -4%); transition: clip-path 1.3s var(--ease-doux); transition-delay: calc(var(--i, 0) * 45ms + 180ms); }
.titre-anime.vu .mot > span { transform: none; }
.titre-anime.vu .accent { clip-path: inset(-30% -10% -45% -4%); }
/* Animation terminée : plus aucun masque, aucune lettre ne peut être rognée */
.titre-anime.fini .mot { overflow: visible; }
.titre-anime.fini .accent { clip-path: none; }
.souligne-mot { position: relative; display: inline-block; }
.souligne { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; pointer-events: none; }
.souligne path { fill: none; stroke: var(--vert); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.1s var(--ease-doux) .9s; }
.vu .souligne path { stroke-dashoffset: 0; }

/* Apparitions */
.js [data-revele] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-revele].vu { opacity: 1; transform: none; }
.js [data-revele="fondu"] { transform: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .025em; line-height: 1;
  padding: 15px 22px; border-radius: var(--rayon); border: 0;
  transition: background .3s var(--ease), color .3s, box-shadow .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--pousse { background: var(--pousse); color: var(--encre); }
.btn--pousse:hover { background: var(--pousse-fort); box-shadow: 0 0 0 6px rgba(72, 168, 137, .16); }
.btn--encre { background: var(--encre); color: #fff; }
.btn--encre:hover { background: var(--encre-nuit); box-shadow: 0 0 0 6px rgba(39, 54, 71, .12); }
.btn--vert { background: var(--vert-fonce); color: #fff; }
.btn--vert:hover { background: #276b55; box-shadow: 0 0 0 6px rgba(72, 168, 137, .18); }
.btn--blanc { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1px var(--brume-fort); }
.btn--blanc:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.btn--grand { padding: 19px 28px; font-size: 15px; }
.btn--plein { width: 100%; }
.btn:active { transform: scale(.98); }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; padding: 8px 0; color: var(--encre);
}
.lien-fleche .fl { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brume); transition: background .3s, transform .4s var(--ease); }
.lien-fleche .fl svg { width: 13px; height: 13px; }
.lien-fleche:hover .fl { background: var(--pousse); transform: translateX(4px); }
.lien-fleche--clair { color: #fff; }
.lien-fleche--clair .fl { background: rgba(255,255,255,.14); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: transform .5s var(--ease), box-shadow .3s;
}
.entete.defile { box-shadow: 0 1px 0 var(--brume-fort); }
.entete.cache { transform: translateY(-100%); }
.entete__barre { display: flex; align-items: center; gap: 28px; height: 84px; }
.marque { display: flex; align-items: center; gap: 12px; flex: none; }
.marque img { width: 46px; height: 46px; object-fit: contain; }
.marque__nom { font-size: 17px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.marque__nom small { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 14px; letter-spacing: -.01em; color: var(--sauge); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > li { position: relative; }
.nav__lien {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; letter-spacing: .01em; padding: 10px 12px; border-radius: var(--rayon);
  background: none; border: 0; transition: background .25s;
}
.nav__lien:hover, .nav__lien[aria-expanded="true"] { background: var(--brume); }
.nav__lien[aria-current="page"] { font-weight: 600; }
.nav__lien[aria-current="page"]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--vert); margin-left: 2px; }
.nav__lien .chevron { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav__lien[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.sous-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 330px;
  background: #fff; border-radius: var(--rayon-deco); padding: 10px;
  box-shadow: inset 0 0 0 1px var(--brume-fort);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.sous-menu.ouvert { opacity: 1; visibility: visible; transform: none; }
.sous-menu a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--rayon); transition: background .25s; }
.sous-menu a:hover { background: var(--brume); }
.sous-menu .ico { width: 40px; height: 40px; border-radius: var(--rayon); background: var(--pousse); display: grid; place-items: center; }
.sous-menu .ico--ciel { background: var(--ciel); }
.sous-menu .ico svg { width: 22px; height: 22px; }
.sous-menu strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.sous-menu span { display: block; font-size: 12.5px; color: var(--sauge); line-height: 1.35; margin-top: 2px; }
.entete__don { margin-left: 8px; background: #2f7d64; animation: don-couleur 10s ease-in-out infinite; }
.entete__don:hover { box-shadow: 0 0 0 6px rgba(72, 168, 137, .18); }
@keyframes don-couleur { 0%, 46% { background-color: #2f7d64; } 50%, 96% { background-color: #3573cc; } 100% { background-color: #2f7d64; } }
.entete__don .court { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--rayon); border: 0; background: var(--brume); margin-left: auto; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--encre); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; right: 20px; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); right: 14px; }

/* Menu mobile plein écran */
.menu-mobile {
  position: fixed; inset: 0; z-index: 80; background: #fff;
  padding: 104px 16px 32px; overflow-y: auto;
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility .7s;
}
.menu-ouvert .menu-mobile { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-mobile__liens a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: clamp(22px, 6vw, 28px); font-weight: 600; letter-spacing: -.04em; line-height: 1; border-bottom: 1px solid var(--brume); }
.menu-mobile__liens a small { font-size: 12px; font-weight: 500; letter-spacing: .05em; color: var(--sauge); }
.menu-mobile__liens li { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease); }
.menu-ouvert .menu-mobile__liens li { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i) * 55ms); }
.menu-mobile__bas { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.menu-mobile__bas p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: -.02em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.menu-mobile__brin { position: absolute; right: -30px; top: 90px; width: 180px; opacity: .9; pointer-events: none; }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: var(--section) 0; position: relative; }
.section--serre { padding: calc(var(--section) * .6) 0; }
/* Deux sections blanches qui se suivent : un seul espace entre elles */
.section:not(.panneau) + .section:not(.panneau) { padding-top: 0; }
/* Section blanche juste avant ou après un panneau coloré : espace réduit */
.section:not(.panneau):has(+ .panneau) { padding-bottom: calc(var(--section) * .6); }
.panneau + .section:not(.panneau) { padding-top: calc(var(--section) * .6); }
/* Le bandeau des pays et le panneau des collectes ne se collent pas */
.bandeau + .panneau { margin-top: 12px; }
.panneau { margin: 0 12px; border-radius: var(--rayon-deco); background: var(--brume); }
.panneau--ciel { background: var(--ciel); }
.panneau--pousse { background: var(--pousse); }
.panneau--vert { background: var(--vert-logo); }
.panneau--bleu { background: var(--bleu-logo-clair); }
.panneau--vert .entete-section .lien-fleche .fl, .panneau--bleu .entete-section .lien-fleche .fl { background: rgba(255,255,255,.75); }
.panneau--encre { background: var(--encre); color: #fff; }
.entete-section { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.entete-section .chapo { margin: 18px 0 0; }
.entete-section--centre { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.entete-section--centre .chapo { margin-left: auto; margin-right: auto; }

/* ---------- Héros (accueil) ---------- */
.heros { padding: 132px 0 40px; position: relative; overflow: hidden; }
.heros__grille { display: grid; grid-template-columns: minmax(300px, 34fr) 66fr; align-items: center; gap: 24px 64px; min-height: min(78vh, 720px); }
.heros__photo { position: relative; margin: 0; width: 100%; max-width: 400px; justify-self: start; }
/* Globe des actions à la place de la photo : il occupe toute la colonne de gauche */
.heros__globe { position: relative; width: 100%; }
.heros__globe .globe { max-width: 600px; }
@media (min-width: 901px) {
  .heros__grille:has(.heros__globe) { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: 24px 48px; }
  .heros__grille:has(.heros__globe) .heros__titre { font-size: clamp(42px, 4.7vw, 76px); }
}
@media (max-width: 900px) {
  .heros__globe .globe { max-width: 440px; }
  .heros__globe { margin-bottom: 18px; }
  /* Téléphone : la carte du pays passe sous le globe pour ne pas le cacher */
  .heros__globe .globe__cartes { position: relative; left: auto; bottom: auto; transform: none; width: 100%; max-width: 440px; margin: -22px auto 0; }
}
.heros__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; }
.js .heros__photo img { animation: ouverture 1.6s var(--ease) both; }
@keyframes ouverture { from { clip-path: inset(100% 0 0 0 round 16px); transform: scale(1.12); } to { clip-path: inset(0 0 0 0 round 16px); transform: none; } }
.heros__photo figcaption { position: absolute; left: 14px; bottom: 14px; }
.js .heros__photo figcaption { animation: apparition .8s var(--ease) 1.1s both; }
@keyframes apparition { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.heros__titre, .heros__titre .accent { white-space: nowrap; }
.heros__titre { font-size: clamp(34px, 10.4vw, 72px); }
@media (min-width: 901px) { .heros__titre { font-size: clamp(46px, 6vw, 90px); } }
.heros__texte { padding-bottom: 12px; }
.heros__texte .chapo { margin: 28px 0 34px; max-width: 30em; }
.heros__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.heros__preuves { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.puce-preuve { display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 16px; border-radius: 999px; background: var(--vert-fonce); font-size: 13px; color: rgba(255,255,255,.88); }
.puce-preuve strong { color: #fff; font-size: 15px; letter-spacing: -.03em; font-weight: 600; }

/* ---------- Bandeau des pays ---------- */
.bandeau { padding: 26px 0; overflow: hidden; }
.bandeau__piste { display: flex; width: max-content; animation: defile 22s linear infinite; }
.bandeau__groupe { display: flex; align-items: center; gap: 0; padding-right: 0; }
.pays-puce { display: inline-flex; align-items: center; gap: 12px; padding: 0 44px; font-size: 22px; font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.pays-puce em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; color: var(--sauge); letter-spacing: -.01em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.bandeau__feuille { width: 22px; height: 22px; flex: none; color: var(--vert); }
@keyframes defile { to { transform: translateX(-50%); } }

.drapeau { position: relative; width: 26px; height: 26px; border-radius: 50%; flex: none; overflow: hidden; }
/* Liseré par-dessus le drapeau : la partie blanche (Algérie, Madagascar, France…) reste visible sur fond blanc */
.drapeau::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(39,54,71,.16); pointer-events: none; }
.drapeau svg { width: 100%; height: 100%; }
.drapeau--s { width: 18px; height: 18px; }

/* ---------- Manifeste ---------- */
.manifeste__texte { font-size: clamp(26px, 3.3vw, 46px); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; max-width: 22em; }
.manifeste__texte .m { opacity: .16; transition: opacity .4s; }
.manifeste__texte .m.on { opacity: 1; }
.manifeste__texte em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.manifeste__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 44px; }
.manifeste__grille { display: grid; grid-template-columns: 220px 1fr; gap: 32px 64px; }
.manifeste__logo { width: 170px; height: auto; margin-top: 6px; }

/* ---------- Cartes d'action ---------- */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.carte-action {
  position: relative; display: flex; flex-direction: column; min-height: 236px;
  padding: 24px; border-radius: var(--rayon); background: var(--pousse);
  transition: background .4s var(--ease), border-radius .5s var(--ease);
  overflow: hidden; isolation: isolate;
}
.carte-action--ciel { background: var(--ciel); }
.carte-action:hover { border-radius: var(--rayon) var(--rayon) 48px var(--rayon); }
.carte-action::after {
  content: ''; position: absolute; z-index: -1; width: 240px; height: 240px; right: -90px; bottom: -110px; border-radius: 50%;
  background: rgba(255,255,255,.45); transform: scale(.4); opacity: 0; transition: transform .7s var(--ease), opacity .5s;
}
.carte-action:hover::after { transform: scale(1); opacity: 1; }
.carte-action__ico { position: absolute; top: 24px; right: 24px; width: 26px; height: 26px; transition: transform .6s var(--ease); }
.carte-action:hover .carte-action__ico { transform: rotate(-12deg) scale(1.12); }
.carte-action__num { font-size: 13px; letter-spacing: .06em; color: var(--vert-fonce); font-weight: 600; margin-bottom: auto; }
.carte-action--ciel .carte-action__num { color: var(--bleu-logo); }
.carte-action h3 { margin: 26px 0 10px; max-width: 12em; }
.carte-action p { font-size: 14px; line-height: 1.55; margin: 0 0 18px; max-width: 26em; }
.carte-action .lien-fleche { margin-top: auto; padding: 0; }
.carte-action .lien-fleche .fl { background: rgba(255,255,255,.7); }

/* ---------- Jauge de collecte ---------- */
.jauge { position: relative; height: 8px; border-radius: 99px; background: var(--brume); overflow: visible; }
.jauge__plein { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: var(--vert); transition: width 1.8s var(--ease) .2s; }
.jauge__plein::after { content: ''; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--vert); }
.jauge--ciel .jauge__plein { background: var(--bleu); }
.jauge--ciel .jauge__plein::after { box-shadow: inset 0 0 0 3px var(--bleu); }
.jauge-chiffres { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--sauge); margin-top: 12px; }
.jauge-chiffres strong { color: var(--encre); font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.pastille {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--pousse); font-size: 13px; font-weight: 600; letter-spacing: -.01em; flex: none;
}

/* ---------- Cartes de collecte ---------- */
.carte-collecte { background: #fff; border-radius: var(--rayon); padding: 12px; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.carte-collecte__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); }
.carte-collecte__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte-collecte:hover .carte-collecte__media img { transform: scale(1.05); }
.carte-collecte__corps { padding: 22px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.carte-collecte__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.carte-collecte h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 10px; }
.carte-collecte p { font-size: 14px; color: var(--sauge); margin-bottom: 24px; }
.carte-collecte .jauge { margin-top: auto; }
.carte-collecte__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.carte-collecte__media .pastille { position: absolute; left: 12px; bottom: 12px; background: #fff; }
.etiquette { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; letter-spacing: .03em; padding: 6px 11px 6px 7px; border-radius: 99px; background: var(--brume); color: var(--encre); white-space: nowrap; }
.etiquette--seule { padding-left: 11px; }
.etiquette .drapeaux { display: inline-flex; }
.etiquette .drapeaux .drapeau + .drapeau { margin-left: -6px; box-shadow: 0 0 0 1.5px var(--brume); }
.etiquette--pousse { background: var(--pousse); }
.etiquette--ciel { background: var(--ciel); }
.etiquette--urgent { background: var(--encre); color: #fff; }
.etiquette--urgent .point { background: #fff; animation: none; }
.etiquette--blanc { background: #fff; }
.etiquette .point { width: 6px; height: 6px; border-radius: 50%; background: var(--vert); margin-left: 4px; }
.etiquette--ciel .point { background: var(--bleu); animation: pouls-bleu 2s infinite; }
@keyframes pouls-bleu { 0% { box-shadow: 0 0 0 0 rgba(119,181,254,.7); } 80%, 100% { box-shadow: 0 0 0 7px rgba(119,181,254,0); } }

/* Photos : coins arrondis réguliers partout (les anciennes classes galet-* gardent seulement ce rayon) */
[class*="galet-"], .carte-collecte__media, .carte-projet__media, .bloc__media img, .bloc__media--dessin, .galerie figure, .fiche__media img,
.heros__photo img, .page-heros__photo img, .page-heros__trio img, .puits3d__secours { border-radius: var(--rayon-photo) !important; }

/* ---------- Chantier : le puits se construit ---------- */
.chantier__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; align-items: center; }
.chantier__dessin { position: relative; }
.chantier__dessin svg { width: 100%; height: auto; overflow: visible; }
.puits3d { position: relative; width: 100%; aspect-ratio: 6 / 5; margin-top: 64px; }
.puits3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.puits3d__secours { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rayon); }
.puits3d.pret .puits3d__secours { display: none; }
/* Sans 3D (appareil trop ancien) : photo seule, sans compteur ni jauge par-dessus */
.chantier__dessin:has(.puits3d:not(.pret)) .chantier__compteur, .chantier__dessin:has(.puits3d:not(.pret)) .chantier__barre { display: none; }
.chantier__dessin:has(.puits3d:not(.pret)) .puits3d { margin-top: 0; }
.chantier__compteur { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 6px; }
.chantier__compteur strong { font-size: clamp(54px, 6vw, 88px); font-weight: 600; letter-spacing: -.07em; line-height: .9; font-variant-numeric: tabular-nums; }
.chantier__compteur span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--sauge); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.chantier__barre { height: 3px; background: var(--brume-fort); border-radius: 3px; margin-top: 18px; overflow: hidden; }
.chantier__barre i { display: block; height: 100%; width: 0; background: var(--vert); }
.stats-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 34px 0; }
.stat { background: var(--brume); border-radius: var(--rayon); padding: 20px 22px; }
.panneau .stat { background: #fff; }
.stat strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.stat span { display: block; font-size: 13px; color: var(--sauge); margin-top: 8px; line-height: 1.35; }

/* Compte à rebours */
.rebours { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 30px; }
.rebours__titre { font-size: 13px; color: var(--sauge); letter-spacing: .02em; width: 100%; margin-bottom: -4px; }
.rebours__cases { display: flex; gap: 8px; width: 100%; }
.rebours__case { flex: 1; min-width: 0; padding: 12px 6px 10px; border-radius: var(--rayon); background: var(--encre); color: #fff; text-align: center; }
.rebours__case b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rebours__case small { display: block; font-size: 10.5px; letter-spacing: .06em; opacity: .7; margin-top: 6px; }
.rebours__case b.bascule { animation: bascule .45s var(--ease); }
@keyframes bascule { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.chiffres-bloc { text-align: center; }
.chiffres-bloc .sourcil { margin-bottom: 26px; }
.chiffres-bloc__texte { max-width: 760px; margin: 48px auto 0; font-size: 17px; line-height: 1.6; letter-spacing: -.01em; text-wrap: pretty; }
.chiffres-bloc__signature { margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.chiffres-bloc__signature .accent { display: block; margin-top: 6px; font-size: 24px; text-transform: none; letter-spacing: -.02em; color: var(--vert-fonce); padding-right: 0; }
.chiffre { padding: 8px 12px; text-align: center; }
.chiffre + .chiffre { box-shadow: inset 1px 0 0 var(--brume-fort); }
.chiffre strong { display: block; font-size: clamp(40px, 4.2vw, 68px); white-space: nowrap; font-weight: 600; letter-spacing: -.07em; line-height: .9; font-variant-numeric: tabular-nums; }
.chiffre span { display: block; margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 19px; letter-spacing: -.015em; color: var(--sauge); font-variation-settings: 'SOFT' 100, 'WONK' 1; line-height: 1.15; }

/* ---------- Cartes projet (réalisations) ---------- */
.carte-projet { background: #fff; border-radius: var(--rayon); padding: 12px; display: flex; flex-direction: column; }
.carte-projet__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--rayon); position: relative; background: var(--pousse); }
.carte-projet__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte-projet:hover .carte-projet__media img { transform: scale(1.05); }
.carte-projet__media--dessin { display: grid; place-items: center; }
.carte-projet__media--dessin svg { width: 46%; height: auto; overflow: visible; }
.carte-projet__media--ciel { background: var(--ciel); }
.carte-projet__corps { padding: 24px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.carte-projet h3 { font-size: 19px; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 8px; }
.carte-projet p { font-size: 14px; color: var(--sauge); margin-bottom: 20px; }
.carte-projet__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.carte-projet__meta .date { font-size: 12px; color: var(--sauge); letter-spacing: .03em; }
.grille-projets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grille-projets--2 { grid-template-columns: repeat(2, 1fr); }
.grille-projets--2 .carte-projet__media { aspect-ratio: 16 / 9; }
.grille-projets--4 { grid-template-columns: repeat(4, 1fr); }
.grille-projets--4 .carte-projet__media { aspect-ratio: 4 / 3.2; }
.grille-projets--4 .carte-projet__corps { padding: 18px 8px 8px; }
.grille-projets--4 .carte-projet h3 { font-size: 16.5px; }
.grille-projets--4 .carte-projet p { font-size: 13px; margin-bottom: 16px; }
.carte-projet.masque { display: none; }

/* Filtres */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filtre { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 10px; border-radius: 99px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--brume-fort); font-size: 14px; transition: background .25s, box-shadow .25s; }
.filtre--tous { padding-left: 15px; }
.filtre small { font-size: 12px; color: var(--sauge); }
.filtre:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.filtre[aria-pressed="true"] { background: var(--encre); color: #fff; box-shadow: none; }
.filtre[aria-pressed="true"] small { color: rgba(255,255,255,.7); }

/* ---------- Hadith ---------- */
.hadith { text-align: center; position: relative; }
.hadith__intro { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.02em; color: var(--encre); margin-bottom: 24px; }
.hadith__texte { font-family: var(--serif); font-style: italic; font-weight: 360; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.03em; max-width: 21em; margin: 0 auto; }
.hadith__source { margin-top: 28px; font-size: 13px; letter-spacing: .06em; color: var(--sauge); }
.hadith .btn { margin-top: 40px; }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.etape { padding: 28px; border-radius: var(--rayon); background: #fff; position: relative; overflow: hidden; isolation: isolate; }
.etape__fond { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .14; transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.etape:hover .etape__fond { opacity: .24; transform: scale(1.05); }
.panneau .etape { background: #fff; }
.etape__num { width: 54px; height: 54px; position: relative; margin-bottom: 52px; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 24px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.etape__num svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.etape__num circle { fill: none; stroke: var(--vert); stroke-width: 1.5; stroke-dasharray: 170; stroke-dashoffset: 170; transition: stroke-dashoffset 1.4s var(--ease-doux); transition-delay: var(--d, 0ms); }
.etape.vu .etape__num circle { stroke-dashoffset: 0; }
.etape h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 10px; }
.etape p { font-size: 14px; color: var(--sauge); margin: 0; }

/* ---------- Don rapide ---------- */
.don { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; align-items: start; }
.don__carte { background: #fff; border-radius: var(--rayon-deco); padding: clamp(22px, 3vw, 36px); }
.don__etape { font-size: 12px; letter-spacing: .06em; color: var(--sauge); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.don__etape b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--encre); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.choix input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.choix label { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--rayon); background: var(--brume); font-size: 14px; cursor: pointer; transition: background .25s, box-shadow .25s, color .25s; user-select: none; }
.choix label:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.choix input:checked + label { background: var(--encre); color: #fff; }
.choix input:focus-visible + label { outline: 2px solid var(--vert); outline-offset: 2px; }
.choix--montants label { min-width: 76px; justify-content: center; font-size: 17px; font-weight: 600; letter-spacing: -.03em; padding: 15px 16px; }
.champ-montant { display: flex; align-items: center; gap: 8px; background: var(--brume); border-radius: var(--rayon); padding: 0 16px; transition: box-shadow .25s; }
.champ-montant:focus-within { box-shadow: inset 0 0 0 1.5px var(--encre); }
.champ-montant input { border: 0; background: none; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.03em; width: 110px; padding: 14px 0; color: var(--encre); outline: none; }
.champ-montant span { color: var(--sauge); }
.don__recap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; margin-top: 4px; box-shadow: inset 0 1px 0 var(--brume-fort); }
.don__recap p { margin: 0; font-size: 14px; color: var(--sauge); max-width: 22em; }
.don__recap p strong { color: var(--encre); }
.don__note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--sauge); margin-top: 18px; }
.don__note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.equivalences { display: grid; gap: 10px; margin-top: 30px; }
.equivalence { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--rayon); background: rgba(255,255,255,.6); }
.equivalence b { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.equivalence span { font-size: 14px; color: var(--sauge); line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: 40px 72px; align-items: start; }
.faq__liste { border-top: 1px solid var(--brume-fort); }
.question { border-bottom: 1px solid var(--brume-fort); padding: 0 18px; border-radius: var(--rayon); transition: background .45s var(--ease); }
.question.ouverte { background: var(--pousse); border-bottom-color: transparent; }
.question button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; background: none; border: 0; text-align: left; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.question .plus { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--brume); flex: none; transition: background .3s, transform .5s var(--ease); }
.question .plus::before, .question .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: var(--encre); border-radius: 2px; transition: transform .45s var(--ease); }
.question .plus::after { transform: rotate(90deg); }
.question.ouverte .plus { background: var(--pousse); transform: rotate(180deg); }
.question.ouverte .plus::after { transform: rotate(0); }
.question__reponse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.question__reponse > div { overflow: hidden; }
.question__reponse p { color: var(--sauge); padding: 0 56px 26px 0; margin: 0; max-width: 40em; }
.question.ouverte .question__reponse { grid-template-rows: 1fr; }

/* ---------- Suivre / réseaux ---------- */
.suivre { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; margin: 0 auto; }
.reseau { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 30px 32px; border-radius: 22px; overflow: hidden; isolation: isolate; transition: border-radius .6s var(--ease), transform .6s var(--ease); }
.reseau:hover { border-radius: 22px 90px 22px 22px; transform: translateY(-4px); }
.reseau__filigrane { position: absolute; right: -46px; bottom: -54px; width: 230px; opacity: .1; z-index: -1; transform: rotate(-12deg); transition: transform .9s var(--ease), opacity .6s; }
.reseau__filigrane svg { width: 100%; height: auto; }
.reseau:hover .reseau__filigrane { transform: rotate(0deg) scale(1.06); opacity: .16; }
.reseau__haut { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.reseau__pseudo { font-size: 12.5px; font-weight: 500; letter-spacing: .02em; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.75); }
.reseau__btn { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 18px; border-radius: 99px; background: #fff; font-size: 14px; font-weight: 600; letter-spacing: .01em; transition: background .3s, color .3s; }
.reseau__btn svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.reseau:hover .reseau__btn svg { transform: translateX(4px); }
.reseau--telegram:hover .reseau__btn { background: #29a9eb; color: #fff; }
.reseau--youtube:hover .reseau__btn { background: #ff0000; color: #fff; }
.reseau--telegram { background: var(--ciel); }
.reseau--youtube { background: var(--pousse); }
.reseau__logo { display: block; height: 48px; }
.reseau__logo svg { height: 100%; width: auto; }
.reseau__logo--youtube { height: 38px; margin: 5px 0; }
.lien-fleche .fl--logo { background: none !important; transform: none !important; }
.lien-fleche .fl--logo svg { width: 24px; height: 24px; }
.lien-fleche .fl--youtube svg { width: 26px; height: 19px; }
.lien-logo { display: inline-flex; align-items: center; gap: 9px; }
.lien-logo svg { width: 18px; height: 18px; flex: none; }
.reseau h3 { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.05em; line-height: 1; margin: 0 0 10px; }
.reseau p { font-size: 14.5px; color: var(--sauge); margin: 0 0 24px; max-width: 24em; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #fff; margin: 12px; border-radius: var(--rayon-deco); padding: clamp(56px, 7vw, 96px) 0 28px; position: relative; overflow: hidden; }
.pied__haut { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; padding-bottom: 56px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.12); }
.pied__slogan { font-size: clamp(40px, 5.4vw, 78px); line-height: .93; letter-spacing: -.062em; font-weight: 600; }
.pied__slogan .accent { color: var(--pousse); display: block; }
.pied__newsletter p { color: rgba(255,255,255,.7); font-size: 14.5px; margin-bottom: 16px; max-width: 26em; }
.pied__form { display: flex; gap: 8px; background: rgba(255,255,255,.08); border-radius: var(--rayon); padding: 6px; }
.pied__form input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 15px; padding: 0 12px; outline: none; }
.pied__form input::placeholder { color: rgba(255,255,255,.5); }
.pied__colonnes { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.pied__colonnes h4 { font-size: 12px; font-weight: 500; letter-spacing: .07em; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.pied__colonnes li { margin-bottom: 10px; font-size: 14.5px; }
.pied__colonnes a { color: rgba(255,255,255,.88); transition: color .2s; }
.pied__colonnes a:hover { color: var(--pousse); }
.pied__colonnes address { font-style: normal; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.88); }
.pied__marque { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pied__marque img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 5px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); padding-top: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.pied__bas a:hover { color: #fff; }
.pied > .conteneur { position: relative; z-index: 1; }
.pied .dessin .trait { stroke: #fff; }

/* ---------- Héros des pages intérieures ---------- */
.page-heros { padding: 150px 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-heros__grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 64px; align-items: center; }
.titre-ajuste, .titre-ajuste .accent { white-space: nowrap; }
.page-heros__photo, .page-heros__trio { width: 100%; max-width: 440px; justify-self: end; margin: 0; }
.page-heros__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.page-heros__trio { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1.05 / 1; }
.page-heros__trio img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.trio__grand { grid-row: span 2; }
.js .page-heros__photo img, .js .page-heros__trio img { animation: ouverture 1.5s var(--ease) both; }
.js .page-heros__trio img:nth-child(2) { animation-delay: .18s; }
.js .page-heros__trio img:nth-child(3) { animation-delay: .32s; }
.page-heros .chapo { margin-top: 26px; }
.page-heros__dessin { width: 100%; max-width: 380px; justify-self: end; }
.page-heros__dessin svg { width: 100%; height: auto; overflow: visible; }
.fil { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--sauge); margin-bottom: 30px; }
.fil a:hover { color: var(--encre); }
.fil svg { width: 10px; height: 10px; }

/* Blocs de contenu des pages */
.bloc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; align-items: center; }
.bloc--inverse > :first-child { order: 2; }
.bloc__media { position: relative; }
.bloc__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--rayon); }
.bloc__media--dessin { background: var(--pousse); border-radius: var(--rayon-deco); aspect-ratio: 1 / .9; display: grid; place-items: center; }
.bloc__media--dessin svg { width: 62%; height: auto; overflow: visible; }
.bloc__media--ciel { background: var(--ciel); }
.bloc h2, .bloc h3 { margin-bottom: 22px; }
.liste-puces { display: grid; gap: 10px; margin: 26px 0 0; }
.liste-puces li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.liste-puces li::before { content: ''; width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--pousse) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.4L13 6.4' fill='none' stroke='%23273647' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

.galerie { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.galerie figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--rayon); }
.galerie figure:first-child { grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease); }
.galerie figure:first-child img { aspect-ratio: auto; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { position: absolute; left: 10px; bottom: 10px; }

.citation-merci { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -.045em; font-weight: 500; max-width: 24em; }
.citation-merci em { font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }

/* Piliers (orientation) */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pilier { background: #fff; border-radius: var(--rayon); padding: 28px; }
.pilier--vert { background: var(--pousse); }
.pilier--bleu { background: var(--ciel); }
.pilier--vert h3, .pilier--bleu h3 { margin-top: 4px; }
.pilier--vert p, .pilier--bleu p { color: var(--encre); }
.pilier__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--pousse); display: grid; place-items: center; margin-bottom: 48px; }
.pilier__ico svg { width: 22px; height: 22px; }
.pilier h3 { font-size: 21px; letter-spacing: -.035em; margin-bottom: 10px; }
.pilier p { font-size: 14.5px; color: var(--sauge); margin: 0; }

/* Formulaires */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formulaire .plein { grid-column: 1 / -1; }
.champ { display: grid; gap: 7px; }
.champ label { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 15px; color: var(--encre); background: var(--brume); border: 0; border-radius: var(--rayon);
  padding: 15px 16px; outline: none; transition: box-shadow .25s, background .25s; width: 100%;
}
.panneau .champ input, .panneau .champ select, .panneau .champ textarea { background: #fff; }
.champ textarea { min-height: 140px; resize: vertical; }
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 3.5 4-3.5' fill='none' stroke='%23273647' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { box-shadow: inset 0 0 0 1.5px var(--encre); }
.formulaire__pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.formulaire__pied p { margin: 0; font-size: 13px; color: var(--sauge); max-width: 30em; }

/* Coordonnées */
.coordonnees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coord { background: #fff; border-radius: var(--rayon); padding: 26px; display: flex; flex-direction: column; gap: 6px; transition: border-radius .5s var(--ease); }
a.coord:hover { border-radius: var(--rayon) 50px var(--rayon) var(--rayon); }
.coord__ico { width: 42px; height: 42px; border-radius: 50%; background: var(--pousse); display: grid; place-items: center; margin-bottom: 30px; }
.coord__ico svg { width: 20px; height: 20px; }
.coord small { font-size: 12px; letter-spacing: .05em; color: var(--sauge); }
.coord strong { font-size: 20px; letter-spacing: -.035em; font-weight: 600; line-height: 1.2; word-break: break-word; }
.carte-plan { border-radius: var(--rayon-deco); overflow: hidden; aspect-ratio: 16 / 7; background: var(--brume); }
.carte-plan iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.02); }

/* Fiche de collecte */
.fiche { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px 64px; align-items: start; }
.fiche__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fiche__texte p { color: var(--sauge); font-size: 16.5px; max-width: 38em; }
.fiche__panneau { position: sticky; top: 108px; background: var(--brume); border-radius: var(--rayon-deco); padding: clamp(22px, 2.6vw, 32px); }
.fiche__panneau .jauge { background: #fff; }
.fiche__somme { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 18px; }
.fiche__somme strong { font-size: 44px; font-weight: 600; letter-spacing: -.065em; line-height: 1; }
.fiche__somme span { color: var(--sauge); font-size: 14px; }
.fiche__paypal { margin: 16px 2px 0; font-size: 13.5px; line-height: 1.5; }
.fiche__donateurs { margin: 10px 0 0; font-size: 13px; }
.fiche__cotizup { display: flex; justify-content: center; width: 100%; margin-top: 22px; }
.fiche__maj { margin: 8px 2px 0; font-size: 12px; text-align: center; }
.carte-collecte__libre { margin: auto 0 0 !important; padding-top: 12px; border-top: 1px solid var(--brume-fort); font-size: 13px; }
.carte-collecte__libre strong { font-size: 18px; font-weight: 600; letter-spacing: -.03em; margin-right: 4px; }
.fiche__partage { display: flex; gap: 8px; margin-top: 16px; }
.fiche__partage button, .fiche__partage a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--rayon); background: #fff; border: 0; font-size: 13px; }
.fiche__partage svg { width: 15px; height: 15px; }

/* ---------- Illustrations au trait ---------- */
.dessin .trait { fill: none; stroke: var(--encre); stroke-linecap: round; stroke-linejoin: round; }
.dessin .plein-vert { fill: var(--vert); fill-opacity: 0; transition: fill-opacity 1s var(--ease-doux); }
.dessin .plein-bleu { fill: var(--bleu); fill-opacity: 0; transition: fill-opacity 1s var(--ease-doux); }
.dessin .plein-pousse { fill: var(--pousse); fill-opacity: 0; transition: fill-opacity 1s var(--ease-doux); }
.dessin.trace .plein-vert, .dessin.trace .plein-bleu { fill-opacity: .92; transition-delay: var(--fd, 1.2s); }
.dessin.trace .plein-pousse { fill-opacity: 1; transition-delay: var(--fd, 1.2s); }
.js .dessin .trait { stroke-dasharray: var(--l) var(--l); stroke-dashoffset: var(--l); transition: stroke-dashoffset var(--duree, 1.5s) var(--ease-doux); transition-delay: var(--t, 0s); }
.js .dessin.trace .trait { stroke-dashoffset: 0; }
.js .dessin.scrub .trait { transition: none; }
.dessin.vivant .balance { animation: balance var(--bd, 6s) var(--ease-doux) infinite alternate; animation-delay: var(--bdl, 0s); transform-origin: 0 0; }
@keyframes balance { from { transform: rotate(calc(var(--ba, 2deg) * -1)); } to { transform: rotate(var(--ba, 2deg)); } }
.dessin.vivant .aile { animation: battement 1.6s var(--ease-doux) infinite; transform-origin: 0 0; }
@keyframes battement { 0%, 100% { transform: scaleX(1); } 45% { transform: scaleX(.38); } 60% { transform: scaleX(.42); } }
.dessin.vivant .vol { animation: vol var(--vd, 14s) var(--ease-doux) infinite alternate; }
@keyframes vol { 0% { transform: translate(0, 0) rotate(-4deg); } 33% { transform: translate(18px, -14px) rotate(5deg); } 66% { transform: translate(-10px, -26px) rotate(-2deg); } 100% { transform: translate(8px, 6px) rotate(3deg); } }
.dessin.vivant .chute { animation: chute 2.8s cubic-bezier(.55, 0, .9, .5) infinite; animation-delay: var(--cd, 0s); }
@keyframes chute { 0% { transform: translateY(0) scale(.6); opacity: 0; } 12% { opacity: 1; transform: translateY(4px) scale(1); } 80% { opacity: 1; } 100% { transform: translateY(var(--cy, 70px)) scale(.9); opacity: 0; } }
.dessin.vivant .flotte { animation: flotte 5s var(--ease-doux) infinite alternate; animation-delay: var(--fl, 0s); }
@keyframes flotte { from { transform: translateY(-4px); } to { transform: translateY(5px); } }
.dessin.vivant .onde { animation: onde 3.2s var(--ease-doux) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes onde { 0% { transform: scale(.3); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.brin-titre { width: 74px; height: auto; display: inline-block; vertical-align: middle; }

/* Grilles complémentaires */
.grille-collectes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 12px; }
/* Accueil : les 8 collectes en 2 rangées de 4, au format des réalisations */
/* Tarifs des puits et forages */
.tarifs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tarifs__titre { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.tarifs + .tarifs__titre { margin-top: 40px; }
.tarif { background: #fff; border-radius: var(--rayon); padding: 22px 20px 20px; display: flex; flex-direction: column; }
.tarif__haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.tarif h3 { font-size: 19px; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 8px; }
.tarif__details { list-style: none; padding: 0; margin: 0 0 22px; font-size: 13.5px; line-height: 1.45; }
.tarif__details li + li { margin-top: 3px; }
.tarif__prix { margin: auto 0 16px; font-size: 36px; font-weight: 600; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.tarif__prix small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.tarifs__note { margin: 28px 0 0; font-size: 15px; }
.tarifs__note a { text-decoration: underline; text-underline-offset: 3px; }
/* Vos puits réalisés : globe en points + choix du pays + photos par pays */
.monde { overflow-x: clip; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: 52px; }
.globe { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.globe.glisse { cursor: grabbing; }
.globe__toile { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe__point { position: absolute; left: 0; top: 0; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; transition: opacity .35s; }
.globe__point.cache { opacity: 0; pointer-events: none; }
.globe__point.actif { z-index: 4; }
.globe__point svg { position: absolute; left: -12px; top: -32px; width: 24px; height: 32px; max-width: none; transform-origin: 50% 100%; transition: transform .4s var(--ease); filter: drop-shadow(0 3px 4px rgba(39,54,71,.28)); }
.globe__point:hover svg, .globe__point.actif svg { transform: scale(1.25); }
.globe__onde { position: absolute; left: -10px; top: -5px; width: 20px; height: 10px; border-radius: 50%; background: rgba(47,125,100,.45); animation: onde-repere 2.2s ease-out infinite; }
@keyframes onde-repere { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.8); opacity: 0; } }
.globe__etiquette { position: absolute; left: 15px; top: -33px; white-space: nowrap; background: #fff; color: var(--encre); font-size: 12px; font-weight: 600; letter-spacing: .01em; padding: 5px 10px; border-radius: 99px; box-shadow: 0 2px 10px rgba(39,54,71,.14); transition: background .3s, color .3s; }
.globe__point--gauche .globe__etiquette { left: auto; right: 15px; }
.globe__point.actif .globe__etiquette { background: var(--vert-fonce); color: #fff; }
.monde__choix { display: grid; gap: 8px; }
.choix-pays { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-radius: var(--rayon); background: var(--brume); color: var(--encre); text-align: left; cursor: pointer; transition: background .3s; }
.choix-pays:hover { background: var(--pousse); }
.choix-pays[aria-pressed="true"] { background: var(--vert-logo); }
.choix-pays > .drapeau { width: 34px; height: 34px; }
.choix-pays .drapeaux { display: inline-flex; }
.choix-pays .drapeaux .drapeau { width: 24px; height: 24px; }
.choix-pays .drapeaux .drapeau + .drapeau { margin-left: -8px; box-shadow: 0 0 0 2px var(--brume); }
.choix-pays[aria-pressed="true"] .drapeaux .drapeau + .drapeau { box-shadow: 0 0 0 2px var(--vert-logo); }
.choix-pays strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.choix-pays small { display: block; margin-top: 3px; font-size: 13px; }
.choix-pays .fl { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.75); }
.choix-pays .fl svg { width: 13px; height: 13px; }
.monde__aide { margin: 8px 2px 0; font-size: 13px; }
.groupes-realises { display: grid; gap: 44px; }
.groupe-realises[hidden] { display: none; }
.groupe-realises__titre { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 16px; font-size: 14px; }
.groupe-realises__titre strong { font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.grille-realises { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.realise__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon-photo); background: var(--brume); }
.realise__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.realise:hover .realise__media img { transform: scale(1.05); }
.realise__prix { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 99px; background: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.realise__badge { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 6px 11px; border-radius: 99px; background: var(--vert-logo); font-size: 12px; font-weight: 600; line-height: 1.2; }
.realise h4 { margin: 12px 4px 3px; font-size: 16px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.realise p { margin: 0 4px; font-size: 13px; }
@media (max-width: 1100px) {
  .monde { grid-template-columns: 1fr; }
  .globe { max-width: 480px; }
  .grille-realises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .monde { margin-bottom: 36px; }
  .monde__choix { grid-template-columns: 1fr 1fr; }
  .choix-pays { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; }
  .choix-pays .fl { display: none; }
  .choix-pays strong { font-size: 16px; }
  .choix-pays small { font-size: 12px; }
  .monde__aide { grid-column: 1 / -1; }
  .grille-realises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .realise h4 { font-size: 14.5px; }
  .realise__prix { font-size: 14px; padding: 5px 10px; }
  .realise__badge { font-size: 11px; }
}

/* Globe de l'accueil : étiquette seulement sur le pays montré, carte d'information en bas du globe */
.globe--tour .globe__etiquette { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s, background .3s, color .3s; pointer-events: none; }
.globe--tour .globe__point.actif .globe__etiquette { opacity: 1; transform: none; }
.globe--tour .globe__point svg { width: 20px; height: 27px; left: -10px; top: -27px; }
.globe--tour .globe__point:not(.actif) .globe__onde { animation-duration: 3s; opacity: .6; }
.globe__cartes { position: absolute; left: 50%; bottom: 0; width: min(92%, 400px); transform: translateX(-50%); display: grid; z-index: 3; }
.globe__carte { grid-area: 1 / 1; padding: 14px 16px 10px; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(39,54,71,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.globe__carte.actif { opacity: 1; transform: none; visibility: visible; transition: opacity .5s var(--ease) .15s, transform .5s var(--ease) .15s, visibility 0s; }
.globe__carte-haut { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 6px; }
.globe__carte-haut .drapeau { width: 24px; height: 24px; }
.globe__carte-haut strong { font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.globe__carte-haut em { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--vert-fonce); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.globe__carte-texte { margin: 0; font-size: 13.5px; line-height: 1.45; }
.globe__carte .lien-fleche { font-size: 13px; padding: 6px 0 2px; }

/* Téléphone : une carte par ligne, prix à droite du titre */
@media (max-width: 640px) {
  .tarifs, .tarifs:is(div) { grid-template-columns: 1fr; gap: 8px; } /* :is() : passe devant la règle tablette placée plus bas */
  .tarif { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; padding: 18px 16px 12px; }
  .tarif__haut { grid-column: 1 / -1; margin-bottom: 12px; }
  .tarif h3 { grid-column: 1; font-size: 18px; }
  .tarif__details { grid-column: 1; margin-bottom: 8px; }
  .tarif__prix { grid-column: 2; grid-row: 2 / span 2; margin: 0; font-size: 28px; text-align: right; }
  .tarif__prix small { font-size: 12px; }
  .tarif .lien-fleche { grid-column: 1 / -1; }
  .tarifs + .tarifs__titre { margin-top: 28px; }
}
/* Collectes de l'accueil : même format que les réalisations (4 par rangée, textes resserrés) */
.grille-collectes.grille-collectes--accueil { padding: 0; }
.grille-collectes--accueil .carte-collecte__media { aspect-ratio: 4 / 3.2; }
.grille-collectes--accueil .carte-collecte__corps { padding: 18px 8px 8px; }
.grille-collectes--accueil .carte-collecte__haut { margin-bottom: 12px; gap: 8px; }
.grille-collectes--accueil .carte-collecte h3 { font-size: 16.5px; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 8px; }
.grille-collectes--accueil .carte-collecte p { font-size: 13px; margin-bottom: 16px; }
.grille-collectes--accueil .jauge-chiffres { font-size: 12px; }
.grille-collectes--accueil .jauge-chiffres strong { font-size: 14px; }
.grille-collectes--accueil .carte-collecte__pied { margin-top: 14px; }
.stats-4--ligne { grid-template-columns: repeat(4, 1fr); margin: 0; }
.galerie__large { grid-column: span 2; }
.galerie__large img { aspect-ratio: 2.4 / 1 !important; }
.don__carte .champ input, .don__carte .champ select, .don__carte .champ textarea { background: var(--brume); }
.don__carte.panneau { background: var(--brume); }
.don__carte.panneau .champ input, .don__carte.panneau .champ select, .don__carte.panneau .champ textarea { background: #fff; }

/* Tuiles des pays */
.tuiles-pays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tuile-pays { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--rayon); background: #fff; min-height: 250px; transition: border-radius .6s var(--ease), background .3s; }
a.tuile-pays:hover { border-radius: var(--rayon) 70px var(--rayon) var(--rayon); }
.tuile-pays--bientot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--brume-fort); }
.tuile-pays__haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.tuile-pays__haut .drapeau { width: 46px; height: 46px; }
.tuile-pays strong { font-size: 28px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.tuile-pays__info { font-size: 14px; color: var(--sauge); line-height: 1.5; }
.tuile-pays .lien-fleche { margin-top: auto; padding: 0; }

/* ---------- Divers ---------- */
.ligne-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 40px; }
.vide { padding: 40px; text-align: center; color: var(--sauge); }
.bouton-haut { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--encre); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.bouton-haut.visible { opacity: 1; transform: none; pointer-events: auto; }
.bouton-haut svg { width: 16px; height: 16px; }
.bouton-haut .anneau { position: absolute; inset: auto; left: -4px; top: -4px; width: 56px; height: 56px; max-width: none; transform: rotate(-90deg); }
.bouton-haut .anneau circle { fill: none; stroke: var(--vert); stroke-width: 2; }
.don-flottant { display: none; }

/* Écrans d'ordinateur peu hauts : la section du puits tient entière pendant le blocage */
@media (min-width: 901px) and (max-height: 860px) {
  .chantier .titre { font-size: clamp(32px, 3.5vw, 50px); }
  .chantier .chapo { margin-top: 12px !important; font-size: 16px; }
  .chantier .stats-4 { margin: 18px 0; gap: 8px; }
  .chantier .stat { padding: 12px 18px; }
  .chantier .stat strong { font-size: 26px; }
  .chantier .stat span { margin-top: 4px; }
  .chantier .rebours { margin-bottom: 18px; gap: 10px; }
  .chantier .rebours__case { padding: 8px 6px 7px; }
  .chantier .rebours__case b { font-size: 22px; }
  .chantier .heros__actions .btn--grand { padding: 15px 22px; }
  .chantier__compteur strong { font-size: 60px; }
  .puits3d { margin-top: 52px; aspect-ratio: 6 / 4.6; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .entete__don { margin-left: auto; }
  .burger { display: block; margin-left: 4px; }
  .chiffres { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .grille-collectes { grid-template-columns: 1fr 1fr; }
  .grille-projets--4 { grid-template-columns: 1fr 1fr; }
  .tarifs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffre:nth-child(4) { padding-left: 0; box-shadow: none; }
  .pied__colonnes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gouttiere: 20px; }
  .heros { padding-top: 104px; }
  .heros__grille { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .heros__photo { max-width: 100%; order: -1; margin-bottom: 18px; }
  .heros__photo img { aspect-ratio: 5 / 5.6; }
  .grille-3, .piliers, .coordonnees, .tuiles-pays { grid-template-columns: 1fr 1fr; }
  .grille-projets { grid-template-columns: 1fr 1fr; }
  .chantier__grille, .don, .faq, .bloc, .fiche, .pied__haut, .page-heros__grille, .manifeste__grille { grid-template-columns: 1fr; }
  .page-heros__grille, .heros__grille { grid-template-columns: minmax(0, 1fr); }
  .bloc--inverse > :first-child { order: 0; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .entete-section { grid-template-columns: 1fr; }
  .fiche__panneau { position: static; }
  .page-heros { padding-top: 120px; }
  .page-heros__dessin { justify-self: start; max-width: 260px; order: -1; }
  .page-heros__photo, .page-heros__trio { order: -1; justify-self: stretch; max-width: none; }
  .page-heros__photo img { aspect-ratio: 4 / 3; }
  .page-heros__trio { aspect-ratio: 1.45 / 1; }
  .manifeste__logo { width: 120px; }
}
@media (max-width: 640px) {
  :root { --gouttiere: 16px; --section: 56px; }
  html { scroll-padding-top: 76px; }
  .entete__barre { height: 68px; gap: 10px; }
  .marque img { width: 38px; height: 38px; }
  .marque__nom { font-size: 15px; }
  .marque__nom small { font-size: 12.5px; }
  .entete__don { padding: 12px 14px; font-size: 13px; }
  .entete__don .long { display: none; }
  .entete__don .court { display: inline; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 24px; right: 18px; }
  .heros { padding-top: 84px; padding-bottom: 16px; }
  .heros__photo img { aspect-ratio: 1 / 1.05; object-position: center 12%; }
  .heros__texte .chapo { margin: 20px 0 26px; }
  .heros__preuves { margin-top: 28px; }
  .panneau, .pied { margin-left: 8px; margin-right: 8px; }
  .grille-3, .grille-2, .grille-projets, .grille-projets--2, .piliers, .coordonnees, .suivre, .etapes, .tuiles-pays { grid-template-columns: 1fr; }
  .tuile-pays { min-height: 0; }
  .manifeste__logo { width: 96px; margin-top: 0; }
  .puits3d { margin-top: 56px; aspect-ratio: 1 / 1; }
  .grille-collectes { grid-template-columns: 1fr; padding: 0 8px; }
  .stats-4--ligne { grid-template-columns: 1fr 1fr; }
  .galerie__large { grid-column: 1 / -1; }
  .carte-action { min-height: 0; }
  .carte-action h3 { margin-top: 28px; }
  .chiffres { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .chiffre, .chiffre + .chiffre { padding: 0 8px; box-shadow: none; }
  .chiffre:last-child { grid-column: 1 / -1; }
  .stats-4 { margin: 26px 0; }
  .stat { padding: 16px; }
  .stat strong { font-size: 28px; }
  .rebours__case { padding: 10px 4px 8px; }
  .pays-puce { font-size: 18px; padding: 0 20px; }
  .bandeau { padding: 18px 0; }
  .etape__num { margin-bottom: 28px; }
  .question button { padding: 20px 0; }
  .question__reponse p { padding-right: 0; }
  .formulaire { grid-template-columns: 1fr; }
  .pied__colonnes { grid-template-columns: 1fr; gap: 26px; padding: 36px 0; }
  .pied__haut { padding-bottom: 40px; }
  .page-heros { padding-top: 100px; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .galerie figure:first-child img { aspect-ratio: 4 / 3; }
  .choix--montants label { min-width: 0; flex: 1 1 calc(50% - 4px); }
  .champ-montant { flex: 1 1 100%; }
  .champ-montant input { width: 100%; }
  .don__recap .btn { width: 100%; }
  .carte-plan { aspect-ratio: 4 / 3.4; }
  .reseau { min-height: 0; }
  .bouton-haut { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .bandeau__piste { animation: none !important; }
}
.carte-action__ico svg { width: 100%; height: 100%; }
.heros__photo .drapeau { width: 18px; height: 18px; }
