/* ESC Sans Frontières — le cahier
   Papier Seyès, encre bleue, marge rouge, surligneur. Le globe porte le voyage. */

:root {
  --paper: #FCFCFA;
  --sheet: #FFFFFF;
  --rule: #E3E8F5;          /* lignes fines Seyès */
  --rule-strong: #C9D3EE;   /* lignes fortes Seyès */
  --margin: #E0463B;        /* marge rouge, décor uniquement */
  --ink: #17181C;
  --ink-2: #43454D;
  --ink-3: #6E717A;
  --bic: #1D3FB8;           /* encre bleue, texte et actions */
  --bic-deep: #13277A;      /* fonds sombres */
  --stabilo: #FFE14D;       /* surligneur */
  --line: #DCDFE8;

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --f-hand: "Reenie Beanie", "Bradley Hand", cursive;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 72px; --s8: 112px;
  --r: 10px; --r-sm: 6px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --z-canvas: 0; --z-content: 1; --z-nav: 40; --z-menu: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  font: 400 18px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  /* Seyès : grands carreaux de 8 mm, interlignes fines */
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule-strong) 31px 32px),
    repeating-linear-gradient(to bottom, transparent 0 7px, var(--rule) 7px 8px),
    repeating-linear-gradient(to right, transparent 0 31px, var(--rule) 31px 32px);
}
@media (min-width: 1360px) {
  body { background-image:
    linear-gradient(to right, transparent 63px, var(--margin) 63px 65px, transparent 65px),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule-strong) 31px 32px),
    repeating-linear-gradient(to bottom, transparent 0 7px, var(--rule) 7px 8px),
    repeating-linear-gradient(to right, transparent 0 31px, var(--rule) 31px 32px); }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--stabilo); color: var(--ink); }
:focus-visible { outline: 3px solid var(--bic); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
@media (max-width: 600px) { .wrap { padding: 0 var(--s3); } }
main { position: relative; z-index: var(--z-content); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 800;
  text-transform: uppercase; line-height: .9; letter-spacing: -0.005em; margin: 0;
}
h1 { font-size: clamp(60px, 9vw, 132px); }
h2 { font-size: clamp(46px, 6.6vw, 100px); }
h3 { font-size: clamp(28px, 2.6vw, 38px); font-stretch: 70%; line-height: .95; }
.it {
  font-family: var(--f-hand); font-weight: 400; font-stretch: normal; text-transform: none;
  color: var(--bic); letter-spacing: 0; font-size: 1.08em; line-height: .8;
  display: inline-block; transform: rotate(-3deg); padding-right: .08em;
}
.hl { background: linear-gradient(transparent 52%, var(--stabilo) 52% 92%, transparent 92%); padding: 0 .1em; }
p { margin: 0 0 var(--s3); }
.lead { font-size: clamp(19px, 1.5vw, 21px); color: var(--ink-2); max-width: 58ch; }
.kicker { display: inline-block; font: 700 13px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bic); }
.note { font-family: var(--f-hand); color: var(--bic); font-size: 28px; line-height: 1; }
.muted { color: var(--ink-3); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--r-sm); border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 700 16px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--blue { --bg: var(--bic); --fg: #fff; }
.btn--ghost { background: var(--sheet); color: var(--ink); border-color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { box-shadow: 4px 4px 0 var(--stabilo); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { box-shadow: 4px 4px 0 var(--stabilo); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--bic); min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-nav); background: var(--paper); border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--ink); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__t { font: 800 24px/.9 var(--f-display); font-stretch: 62%; text-transform: uppercase; }
.brand__t small { display: block; font: 700 11px/1.2 var(--f-body); letter-spacing: .12em; color: var(--ink-3); margin-top: 4px; font-stretch: normal; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; font-size: 16px; font-weight: 700; color: var(--ink-2); border-radius: var(--r-sm); }
.nav__links a:hover { color: var(--bic); background: var(--rule); }
.nav__links a[aria-current="page"] { color: var(--bic); }
.nav__cta { display: flex; gap: var(--s2); align-items: center; }
.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: var(--sheet); cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .nav__links, .nav__cta .btn--ghost { display: none; } .burger { display: inline-flex; } }
@media (max-width: 520px) { .brand__t small { display: none; } .nav__cta .btn { min-height: 44px; padding: 0 14px; font-size: 15px; } }

.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bic-deep); color: #fff; display: flex; flex-direction: column; padding: var(--s3) var(--s3) var(--s5); opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility 0s .22s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .22s var(--ease); }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menu__close { width: 48px; height: 48px; border-radius: var(--r-sm); border: 2px solid rgba(255,255,255,.5); background: transparent; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.menu__close svg { width: 22px; height: 22px; }
.menu > nav { margin-top: var(--s6); display: flex; flex-direction: column; }
.menu > nav a { font: 800 52px/1.1 var(--f-display); font-stretch: 62%; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--s2); }

/* ---------- Globe ---------- */
.globe { position: fixed; inset: 0; z-index: var(--z-canvas); pointer-events: none; }
.globe canvas { width: 100% !important; height: 100% !important; display: block; }
.globe.is-off { opacity: 0; }
.globe-labels { position: fixed; inset: 0; z-index: var(--z-canvas); pointer-events: none; }
.globe-labels.is-off { opacity: 0; }
.pin { position: absolute; left: 0; top: 0; font-family: var(--f-hand); font-size: 30px; line-height: 1; color: var(--bic); white-space: nowrap; opacity: 0; transition: opacity .3s; text-shadow: 0 0 6px #fff, 0 0 3px #fff, 0 0 1px #fff; }
.pin.is-on { opacity: 1; }
.pin.is-active { font-size: 42px; }
.no-globe .globe, .no-globe .globe-labels { display: none; }
/* Mobile : un globe au-dessus de chaque étape, qui défile avec la page */
.globe-slot { display: none; }
@media (max-width: 899px) {
  .globe, .globe-labels { display: none; }
  .globe-slot { display: block; position: relative; height: min(46svh, 400px); margin: 0 calc(var(--s3) * -1) var(--s4); overflow: hidden; }
  .globe-slot canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
  .globe-slot__labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .globe-slot .pin { position: absolute; font-size: 24px; }
  .globe-slot .pin.is-active { font-size: 30px; }
}
}

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 72px); display: flex; align-items: center; padding: var(--s6) 0; }
.hero__text { max-width: 580px; }
.hero h1 { margin: var(--s3) 0 var(--s4); }
.hero h1 .it { font-size: .62em; display: block; transform: rotate(-4deg) translateX(.1em); margin-top: .1em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero__scroll { margin-top: var(--s6); display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll svg { width: 34px; height: 34px; color: var(--bic); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; padding: var(--s3) 0 var(--s6); }
  .hero h1 { font-size: clamp(54px, 15vw, 96px); margin-top: var(--s2); }
  .hero__scroll { display: none; }
}

/* ---------- Voyage (défilement narratif) ---------- */
.voyage { position: relative; }
.step { min-height: 110svh; display: flex; align-items: center; padding: var(--s7) 0; }
.card { width: min(500px, 100%); background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.card__photo { aspect-ratio: 2/1; background: var(--rule); overflow: hidden; border-bottom: 2px solid var(--ink); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s4) var(--s4) var(--s3); }
.card h2 { font-size: clamp(48px, 5vw, 76px); margin: 10px 0 var(--s3); }
.card p { color: var(--ink-2); font-size: 17px; }
.card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); padding: var(--s3) 0; margin: var(--s3) 0 var(--s2); border-top: 1px dashed var(--rule-strong); border-bottom: 1px dashed var(--rule-strong); }
.card__facts b { display: block; font: 800 34px/1 var(--f-display); font-stretch: 62%; color: var(--bic); font-variant-numeric: tabular-nums; }
.card__facts span { display: block; font-size: 13px; line-height: 1.3; color: var(--ink-3); margin-top: 4px; }
.card--plain { box-shadow: none; border: 0; background: transparent; overflow: visible; }
.card--plain h2 { font-size: clamp(52px, 7vw, 108px); }
@media (max-width: 899px) {
  .step { min-height: 0; padding: var(--s5) 0 var(--s6); align-items: flex-start; }
  .card { box-shadow: 5px 5px 0 var(--ink); }
  .card--plain { background: var(--sheet); border: 2px solid var(--ink); padding: var(--s4); }
}

/* ---------- Sections pleines (couvrent le globe) ---------- */
.section { padding: var(--s8) 0; background: var(--paper); position: relative; }
.section--tight { padding: var(--s7) 0; }
.section--sheet { background: var(--sheet); }
.section--dark { background: var(--bic-deep); color: #fff; }
.section--dark .kicker { color: var(--stabilo); }
.section--dark .lead, .section--dark .muted { color: rgba(255,255,255,.82); }
.section--dark .it { color: var(--stabilo); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: end; margin-bottom: var(--s6); }
.section__head h2 { margin-top: var(--s3); }
@media (max-width: 860px) { .section { padding: var(--s7) 0; } .section__head { grid-template-columns: 1fr; gap: var(--s3); } }

/* ---------- Valeurs ---------- */
.manifesto { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s7); align-items: start; }
.manifesto__quote { font: 800 clamp(34px, 3.8vw, 54px)/.98 var(--f-display); font-stretch: 62%; text-transform: uppercase; margin: var(--s3) 0 0; }
.values { display: grid; border-top: 2px solid var(--ink); }
.value { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.value h3 { margin-bottom: 6px; }
.value p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid rgba(255,255,255,.35); }
.stat { padding: var(--s5) var(--s4) 0 0; }
.stat + .stat { padding-left: var(--s4); border-left: 1px solid rgba(255,255,255,.2); }
.stat b { display: block; font: 800 clamp(64px, 8vw, 120px)/.9 var(--f-display); font-stretch: 62%; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .4em; color: var(--stabilo); vertical-align: top; position: relative; top: .2em; }
.stat > span { display: block; margin-top: var(--s2); color: rgba(255,255,255,.82); font-size: 16px; max-width: 22ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: var(--s4) var(--s3) var(--s4) 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat:nth-child(even) { padding-left: var(--s3); border-left: 1px solid rgba(255,255,255,.2); }
}

/* ---------- Frise ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s3); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--ink); }
.tl { position: relative; padding-top: var(--s6); }
.tl::before { content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ink); }
.tl:last-child::before { background: var(--margin); border-color: var(--margin); }
.tl b { display: block; font: 800 48px/1 var(--f-display); font-stretch: 62%; color: var(--bic); }
.tl h3 { font: 700 17px/1.3 var(--f-body); text-transform: none; margin: 8px 0 6px; }
.tl p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
@media (max-width: 1024px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl { padding: 0 0 var(--s5); }
  .tl::before { left: -34px; top: 12px; }
}

/* ---------- Événements ---------- */
.events { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4); }
.event { grid-column: span 4; background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.event--wide { grid-column: span 8; flex-direction: row; }
.event--wide .event__media { flex: 1.1; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--ink); }
.event--wide .event__body { flex: 1; }
.event__media { aspect-ratio: 4/3; overflow: hidden; background: var(--rule); border-bottom: 2px solid var(--ink); }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.event__when { font-family: var(--f-hand); font-size: 28px; line-height: 1; color: var(--bic); }
.event p { margin: 0; font-size: 16px; color: var(--ink-2); }
.event__where { margin-top: auto; padding-top: var(--s2); font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.event__where svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .event, .event--wide { grid-column: span 12; } .event--wide { flex-direction: column; } .event--wide .event__media { aspect-ratio: 16/10; border-right: 0; border-bottom: 2px solid var(--ink); } }
@media (min-width: 640px) and (max-width: 960px) { .event { grid-column: span 6; } }

/* ---------- Galerie ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: var(--s3); }
.mosaic figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--rule); position: relative; border: 2px solid var(--ink); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.mosaic button:focus-visible { outline: 3px solid var(--bic); outline-offset: -5px; }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
.mosaic figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--sheet); color: var(--bic); font: 400 24px/1 var(--f-hand); padding: 4px 10px 2px; border-radius: var(--r-sm); pointer-events: none; transform: rotate(-2deg); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: var(--s2); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92dvh; }
.lightbox::backdrop { background: rgba(10,14,30,.9); }
.lightbox img { max-width: 96vw; max-height: 84dvh; border-radius: var(--r-sm); margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-size: 15px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: var(--r-sm); border: 0; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- Don ---------- */
.give { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.give__list { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s3); }
.give__list li { display: grid; grid-template-columns: 38px 1fr; gap: var(--s3); align-items: start; }
.give__list svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--stabilo); color: var(--bic-deep); }
.section--dark .give__list svg { background: rgba(255,225,77,.16); color: var(--stabilo); }
.give__list b { display: block; }
.give__list span { color: var(--ink-2); font-size: 16px; }
.section--dark .give__list span { color: rgba(255,255,255,.82); }
.donate { background: var(--sheet); color: var(--ink); border-radius: var(--r); padding: var(--s5); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--stabilo); }
.section--sheet .donate { box-shadow: 8px 8px 0 var(--bic); }
.donate h3 { font-size: 44px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin: var(--s4) 0 var(--s3); border: 0; padding: 0; }
.amounts legend { font-size: 15px; font-weight: 700; margin-bottom: var(--s2); padding: 0; }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; pointer-events: none; }
.amounts span { display: grid; place-items: center; min-height: 54px; border: 2px solid var(--line); border-radius: var(--r-sm); font: 800 26px/1 var(--f-display); font-stretch: 70%; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; font-variant-numeric: tabular-nums; }
.amounts span:hover { border-color: var(--ink); }
.amounts input:checked + span { background: var(--bic); color: #fff; border-color: var(--bic); }
.amounts input:focus-visible + span { outline: 3px solid var(--bic); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: var(--s3); }
.field label { font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--sheet); min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--r-sm); width: 100%; transition: border-color .15s; }
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bic); box-shadow: 0 0 0 3px rgba(29,63,184,.18); }
.field .err { color: #B3261E; font-size: 14px; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B3261E; }
.field.is-invalid .err { display: block; }
.net { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s3) 0; border-top: 1px dashed var(--rule-strong); margin-top: var(--s2); }
.net b { white-space: nowrap; font: 800 48px/1 var(--f-display); font-stretch: 62%; color: var(--bic); font-variant-numeric: tabular-nums; }
.donate .btn { width: 100%; margin-top: var(--s2); }
.fine { font-size: 14px; color: var(--ink-3); margin: var(--s3) 0 0; display: flex; gap: 6px; align-items: flex-start; }
.fine svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
@media (max-width: 860px) { .give { grid-template-columns: 1fr; } .donate { padding: var(--s4); box-shadow: 5px 5px 0 var(--stabilo); } .section--sheet .donate { box-shadow: 5px 5px 0 var(--bic); } }

/* ---------- S'engager ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.way { background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.way svg { width: 34px; height: 34px; color: var(--bic); }
.way h3 { margin-top: var(--s2); }
.way p { color: var(--ink-2); font-size: 16px; margin: 0 0 var(--s3); }
.way .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.chips { gap: 6px 0; }
.chips li { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.chips { gap: 6px 18px !important; }
.chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--margin); margin-right: 8px; vertical-align: middle; }
.chips li.key { color: var(--ink); }
.label-small { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--s3); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); }
.contact__list { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); }
.contact__list li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; }
.contact__list svg { width: 22px; height: 22px; color: var(--bic); margin-top: 3px; }
.contact__list a { text-decoration: none; font-weight: 700; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-ok { display: none; margin-top: var(--s3); padding: var(--s3); border-radius: var(--r-sm); background: #EEF2FD; color: var(--bic-deep); font-weight: 700; }
.form-ok.is-on { display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: var(--s5); } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.foot { position: relative; z-index: var(--z-content); background: var(--bic-deep); color: #fff; padding: var(--s7) 0 var(--s4); }
.foot .foot__big { font: 800 clamp(56px, 11vw, 176px)/.86 var(--f-display); font-stretch: 62%; text-transform: uppercase; padding-bottom: var(--s6); border-bottom: 1px solid rgba(255,255,255,.2); margin: 0; max-width: none; color: #fff; }
.foot .foot__big .it { color: var(--stabilo); font-size: .7em; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s5); padding: var(--s5) 0; }
.foot .foot__h { font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0 0 var(--s3); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot ul a { text-decoration: none; color: rgba(255,255,255,.9); display: inline-flex; min-height: 44px; align-items: center; }
.foot ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot p { color: rgba(255,255,255,.75); font-size: 15px; max-width: 40ch; }
.foot .brand img { background: #fff; border-radius: 50%; padding: 2px; }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Pages mission ---------- */
.m-hero { position: relative; min-height: min(88dvh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background-color: var(--bic-deep); }
.m-hero__bg { position: absolute; inset: 0; }
.m-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.m-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,40,.25) 0%, rgba(10,16,40,.5) 45%, rgba(10,16,40,.9) 100%); }
.m-hero .wrap { position: relative; padding-bottom: var(--s6); padding-top: var(--s8); }
.crumbs { display: flex; gap: 8px; font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: var(--s4); flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.m-hero .kicker { color: var(--stabilo); }
.m-hero h1 { margin: var(--s3) 0 var(--s3); }
.m-hero p { font-size: clamp(18px, 1.6vw, 21px); max-width: 56ch; color: rgba(255,255,255,.92); }
.m-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.35); }
.m-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.m-facts dd { margin: 6px 0 0; font: 800 30px/1 var(--f-display); font-stretch: 62%; text-transform: uppercase; }
@media (max-width: 760px) { .m-facts { grid-template-columns: 1fr 1fr; } }

.story { display: grid; grid-template-columns: 4fr 7fr; gap: var(--s7); }
.story__aside { position: sticky; top: 104px; align-self: start; }
.story__aside h2 { font-size: clamp(42px, 4.6vw, 68px); margin-top: var(--s3); }
.prose { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.prose p { margin-bottom: var(--s4); }
.prose strong { color: var(--ink); }
.prose .dropcap::first-letter { font: 800 96px/.8 var(--f-display); font-stretch: 62%; float: left; padding: 6px 10px 0 0; color: var(--bic); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: var(--s4); } .story__aside { position: static; } }

.big-num { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s4); }
.big-num div { border-top: 2px solid var(--ink); padding-top: var(--s3); }
.big-num b { display: block; white-space: nowrap; font: 800 clamp(48px, 4.6vw, 66px)/.9 var(--f-display); font-stretch: 62%; color: var(--bic); font-variant-numeric: tabular-nums; }
.big-num span { display: block; margin-top: var(--s2); color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .big-num { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); } }

.actions-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.actions-list li { background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); padding: var(--s4); }
.actions-list h3 { margin-bottom: var(--s2); }
.actions-list p { margin: 0; color: var(--ink-2); font-size: 17px; }
.actions-list .n { display: none; }
@media (max-width: 760px) { .actions-list { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid rgba(255,255,255,.35); padding-top: var(--s4); }
.steps li::before { content: counter(s); display: block; font: 400 56px/1 var(--f-hand); color: var(--stabilo); margin-bottom: var(--s2); }
.steps h3 { margin-bottom: var(--s2); }
.steps p { color: rgba(255,255,255,.85); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.pull { position: relative; max-width: 900px; margin: var(--s7) auto 0; padding: var(--s6) var(--s5) var(--s5); background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--stabilo); }
.pull::before { content: "«"; position: absolute; top: -20px; left: var(--s5); font: 800 96px/.55 var(--f-display); padding-top: 6px !important; color: var(--margin); background: var(--paper); padding: 0 10px; }
.pull blockquote { margin: 0; }
.pull blockquote p { margin: 0; font: 700 clamp(24px, 2.6vw, 34px)/1.3 var(--f-body); color: var(--ink); text-wrap: pretty; }
.pull blockquote p::after { content: " »"; color: var(--margin); }
.pull sup { font-size: .6em; line-height: 0; }
.pull figcaption { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px dashed var(--rule-strong); color: var(--ink-3); font-size: 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pull__name { font: 400 38px/1 var(--f-hand); color: var(--bic); }
:lang(en) .pull::before { content: "“"; }
:lang(en) .pull blockquote p::after { content: "”"; }
@media (max-width: 760px) { .pull { margin: var(--s6) var(--s3) 0; padding: var(--s5) var(--s4) var(--s4); box-shadow: 5px 5px 0 var(--stabilo); } .pull::before { font-size: 72px; top: -16px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.split__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: var(--rule); border: 2px solid var(--ink); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.section--dark .split__media { border-color: #fff; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s4); } }

.next { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.next a { position: relative; display: block; background-color: var(--bic-deep); border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; color: #fff; text-decoration: none; border: 2px solid var(--ink); }
.next img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.next a:hover img { transform: scale(1.04); }
.next a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,16,40,.85)); }
.next div { position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s4); z-index: 1; }
.next small { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.next h3 { font-size: 56px; font-stretch: 62%; margin-top: 6px; }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.section--alt { background: var(--sheet); }

/* ---------- Transparence ---------- */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.doc { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5) var(--s4) var(--s4); background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); text-decoration: none; color: inherit; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.doc:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--bic); }
.doc__type { font: 400 26px/1 var(--f-hand); color: var(--bic); }
.doc p { color: var(--ink-2); font-size: 16px; margin: 0 0 var(--s2); }
.doc .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } }

/* ---------- Sélecteur de langue ---------- */
.lang { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r-sm); overflow: hidden; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 6px; font: 700 13px/1 var(--f-body); letter-spacing: .06em; text-decoration: none; color: var(--ink-2); background: var(--sheet); }
.lang a + a { border-left: 2px solid var(--ink); }
.lang a:hover { color: var(--bic); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang--menu { border-color: rgba(255,255,255,.6); align-self: flex-start; margin-bottom: var(--s2); }
.lang--menu a { background: transparent; color: #fff; min-width: 52px; min-height: 48px; font-size: 15px; }
.lang--menu a + a { border-left-color: rgba(255,255,255,.6); }
.lang--menu a[aria-current="true"] { background: #fff; color: var(--bic-deep); }
@media (max-width: 980px) { .nav .lang { display: none; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(52px, 8vw, 104px); margin: var(--s3) 0 var(--s5); }
.legal h2 { font-size: clamp(30px, 3.4vw, 44px); margin: var(--s6) 0 var(--s3); font-stretch: 70%; }
.legal p, .legal li { color: var(--ink-2); font-size: 18px; }
.legal ul { padding-left: 1.2em; margin: 0 0 var(--s3); }
.legal li { margin-bottom: 6px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 var(--s3); }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-2); }
.legal a { color: var(--bic); }
.legal .updated { color: var(--ink-3); font-size: 15px; }
.todo { background: var(--stabilo); padding: 0 .25em; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* ---------- Bureau ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.member__photo { position: relative; margin: 0 0 var(--s3); aspect-ratio: 4/5; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); }
.member__photo::before { content: ""; position: absolute; left: 50%; bottom: 10%; width: 82%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--stabilo); }
.member__photo picture { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 94%; }
.member__photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform .4s var(--ease); transform-origin: center bottom; }
.member:hover .member__photo img { transform: scale(1.03); }
.member h3 { font-size: clamp(32px, 3vw, 44px); }
.member__role { font: 400 28px/1.05 var(--f-hand); color: var(--bic); margin: 4px 0 0; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); } .member__role { font-size: 24px; } }

/* Cartes d'événement larges : la photo est recadrée à la hauteur du texte */
@media (min-width: 961px) {
  .event--wide .event__media { position: relative; min-height: 300px; }
  .event--wide .event__media img { position: absolute; inset: 0; }
}

/* ---------- Carte des boutiques (page Sénégal) ---------- */
.shops { display: grid; grid-template-columns: 340px 1fr; gap: var(--s5); margin-top: var(--s6); align-items: stretch; }
.shops__hint { font: 400 26px/1.1 var(--f-hand); color: var(--bic); margin: 0 0 var(--s3); }
.shops__btns { list-style: none; margin: 0 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.shops__btns button {
  font: 700 15px/1 var(--f-body); color: var(--ink); background: var(--sheet); cursor: pointer;
  min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: 6px; transition: border-color .15s, background-color .15s, color .15s, transform .15s var(--ease);
}
.shops__btns button small { font-weight: 400; font-size: 13px; color: var(--ink-3); }
.shops__btns button:hover { border-color: var(--ink); transform: translateY(-1px); }
.shops__btns button[aria-pressed="true"] { background: var(--bic); border-color: var(--bic); color: #fff; }
.shops__btns button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.shops__all { background: none; border: 0; padding: 0; cursor: pointer; font: 700 16px/1 var(--f-body); }
.shops__note { margin: var(--s2) 0 0; font-size: 15px; color: var(--ink-2); min-height: 1.5em; }
.shops__map { min-height: 460px; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--rule); z-index: 0; }
@media (max-width: 860px) {
  .shops { grid-template-columns: 1fr; gap: var(--s4); }
  .shops__map { min-height: 340px; order: -1; }
}

/* Leaflet aux couleurs du cahier */
.shops__map .leaflet-tile-pane { filter: grayscale(1) sepia(.25) hue-rotate(185deg) saturate(1.4) contrast(.95) brightness(1.04); }
.shops__map .leaflet-container, .leaflet-container { font-family: var(--f-body); }
.shop-pin span { display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: var(--margin); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink); }
.shop-pin--double span { background: var(--bic); }
.shop-pin--city span { width: 12px; height: 12px; margin: 5px; background: var(--ink); border-width: 2px; box-shadow: none; }
.leaflet-tooltip.shop-tip { background: transparent; border: 0; box-shadow: none; font: 400 24px/1 var(--f-hand); color: var(--ink); text-shadow: 0 0 4px #fff, 0 0 2px #fff; padding: 0; }
.leaflet-tooltip.shop-tip::before { display: none; }
.shops__map .leaflet-popup-content-wrapper { border-radius: var(--r-sm); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.shops__map .leaflet-popup-content { font-size: 15px; line-height: 1.4; margin: 12px 16px; }
.shops__map .leaflet-popup-content strong { font: 800 22px/1 var(--f-display); font-stretch: 70%; text-transform: uppercase; display: block; margin-bottom: 4px; }
.shops__map .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; color: var(--ink); }

/* ---------- Tomorrow Care, événement vitrine ---------- */
.tc { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); align-items: start; }
.tc__media { margin: 0; position: sticky; top: 104px; border: 2px solid #fff; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; }
.tc__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.tc__meta { font: 400 30px/1.1 var(--f-hand); color: var(--stabilo); margin: 0 0 var(--s4); }
.tc__list { list-style: none; margin: var(--s5) 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.tc__list li { padding: var(--s4) 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.tc__list h3 { margin-bottom: 6px; }
.tc__list p { margin: 0; color: rgba(255,255,255,.85); }
.tc__pitch { background: var(--sheet); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); padding: var(--s5) var(--s4); box-shadow: 8px 8px 0 var(--stabilo); }
.tc__pitch h3 { margin-bottom: var(--s2); }
.tc__pitch p { color: var(--ink-2); margin-bottom: var(--s4); }
@media (max-width: 860px) {
  .tc { grid-template-columns: 1fr; gap: var(--s5); }
  .tc__media { position: static; aspect-ratio: 4/3; }
  .tc__pitch { box-shadow: 5px 5px 0 var(--stabilo); }
}
.mosaic .full { grid-column: 1 / -1; }

/* ---------- Finitions (polish) ---------- */
html { accent-color: var(--bic); caret-color: var(--bic); scrollbar-color: var(--bic) var(--paper); }
.foot__base a { display: inline-flex; align-items: center; min-height: 44px; }
.pin { paint-order: stroke fill; -webkit-text-stroke: 5px #fff; }

/* Repère d'étape du voyage */
.card__body { position: relative; }
.card__step { position: absolute; top: 18px; right: 22px; font: 400 30px/1 var(--f-hand); color: var(--margin); }
.card__facts--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 520px) { .card__facts--4 { grid-template-columns: 1fr 1fr; row-gap: var(--s3); } }

/* Sans globe (navigateur sans 3D) : une photo prend sa place */
.hero__fallback { display: none; }
.no-globe .hero__fallback { display: block; margin: 0; }
.no-globe .hero__fallback img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--r); }
@media (min-width: 900px) {
  .no-globe .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: var(--s7); align-items: center; }
  .no-globe .hero__fallback { aspect-ratio: 4/5; transform: rotate(1.5deg); }
}
@media (max-width: 899px) { .no-globe .hero__fallback { aspect-ratio: 4/3; margin-top: var(--s5); } }

/* Mobile : les boutons de l'accueil remontent au-dessus de la ligne de flottaison */
@media (max-width: 899px) { .hero .globe-slot { height: min(34svh, 290px); margin-bottom: var(--s3); } }

/* ---------- Section entreprises ---------- */
.section--lined {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule-strong) 31px 32px),
    repeating-linear-gradient(to bottom, transparent 0 7px, var(--rule) 7px 8px),
    repeating-linear-gradient(to right, transparent 0 31px, var(--rule) 31px 32px);
}
.partner { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s6); align-items: start; }
.partner__offer { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.partner__offer li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); background: rgba(252,252,250,.82); }
.partner__offer h3 { margin-bottom: 6px; }
.partner__offer p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.partner__aside { background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); padding: var(--s5) var(--s4); box-shadow: 8px 8px 0 var(--stabilo); }
.partner__aside h3 { margin-bottom: var(--s2); }
.partner__aside > p { color: var(--ink-2); }
.partner__aside .chips { margin-bottom: var(--s4); }
.partner__contact { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-top: 1px dashed var(--rule-strong); border-bottom: 1px dashed var(--rule-strong); margin-bottom: var(--s4); }
.partner__contact picture { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--stabilo); border: 2px solid var(--ink); display: block; }
.partner__contact img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.35); transform-origin: 50% 0; }
.partner__contact p { margin: 0; display: grid; gap: 2px; font-size: 16px; }
.partner__k { font: 400 24px/1 var(--f-hand); color: var(--bic); }
.partner__contact strong { font-size: 18px; }
.partner__contact a { color: var(--bic); font-weight: 700; text-decoration: none; }
.partner__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.partner__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.partner__aside .fine { margin-top: var(--s2); }
@media (max-width: 960px) { .partner { grid-template-columns: 1fr; } .partner__aside { box-shadow: 5px 5px 0 var(--stabilo); } }
.next__title { font-size: clamp(30px, 3vw, 42px); font-stretch: 70%; }
.next__title + .next { margin-top: var(--s4) !important; }
.chips { max-width: 920px; }
.m-hero p strong { color: #fff; }

/* Contour clavier visible sur les fonds bleu nuit */
.section--dark :focus-visible, .foot :focus-visible, .menu :focus-visible, .m-hero :focus-visible { outline-color: var(--stabilo); }
/* La marge rouge continue sur le papier quadrillé des sections */
@media (min-width: 1360px) {
  .section--lined { background-image:
    linear-gradient(to right, transparent 63px, var(--margin) 63px 65px, transparent 65px),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule-strong) 31px 32px),
    repeating-linear-gradient(to bottom, transparent 0 7px, var(--rule) 7px 8px),
    repeating-linear-gradient(to right, transparent 0 31px, var(--rule) 31px 32px); }
}
/* Mobile : pas de numéro d'étape sur les cartes */
@media (max-width: 899px) { .card__step { display: none; } }
.tc__meta { text-wrap: balance; }
.donate .field-hint { display: none; color: #B3261E; font-size: 14px; margin: -8px 0 8px; }
.donate.is-invalid .field-hint { display: block; }
#contact-form .fine { display: block; }

@media (max-width: 1240px) { .nav__cta .nav__don { display: none; } }
.brand { flex: none; }
@media (min-width: 981px) { .brand__t { white-space: nowrap; } }
@media (min-width: 981px) and (max-width: 1500px) { .nav .brand__t small { display: none; } .nav__in { gap: var(--s3); } }
@media (min-width: 981px) and (max-width: 1500px) { .nav__links a { padding: 0 8px; } .nav__cta { gap: 6px; } }
.mosaic .full img { object-position: 50% 62%; } .mosaic .full { grid-row: span 2; }

/* ---------- Mobile : finitions ---------- */
@media (max-width: 899px) {
  /* Quadrillage plus discret : sans les interlignes fines, qui forment des bandes épaisses sur les écrans haute densité */
  body, .section--lined { background-image:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(201,211,238,.55) 31px 32px),
    repeating-linear-gradient(to right, transparent 0 31px, rgba(227,232,245,.6) 31px 32px); }
  .nav__in { gap: var(--s2); }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand img { width: 40px; height: 40px; }
  .nav__cta { flex: none; }
  .hero .globe-slot { height: min(40svh, 330px); margin-top: var(--s2); }
}
@media (max-width: 420px) {
  .brand__t { font-size: 19px; line-height: .95; }
  .nav__cta .btn { padding: 0 12px; font-size: 14px; }
}

/* ---------- Adapt : mobile et tactile ---------- */
.it { max-width: 100%; }
.lang a { min-height: 44px; }
@media (max-width: 899px) {
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { gap: 4px 8px; margin-bottom: var(--s2); }
  .m-facts dt { font-size: 13px; }
  .m-hero { min-height: min(92svh, 760px); }
  .m-hero h1 { font-size: clamp(54px, 15vw, 96px); }
  .legal dd a, .contact__list a { display: inline-flex; align-items: center; min-height: 44px; }
  .section__head { margin-bottom: var(--s5); }
  .events { gap: var(--s3); }
}
@media (pointer: coarse) {
  .shops__map .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
  .mosaic button { -webkit-tap-highlight-color: transparent; }
}
/* Mobile : galerie simple sur 2 colonnes, sans trou */
@media (max-width: 760px) {
  .mosaic { grid-auto-rows: 170px; }
  .mosaic figure, .mosaic .wide, .mosaic .tall, .mosaic .full { grid-column: auto; grid-row: auto; }
  .mosaic figure:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .mosaic figure:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* Bandeau entreprises dans le voyage */
.partner-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; width: min(500px, 100%); margin-top: var(--s4); padding: 14px 18px; background: var(--stabilo); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-sm); text-decoration: none; font-size: 16px; line-height: 1.35; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.partner-band strong { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.partner-band svg { width: 18px; height: 18px; }
.partner-band:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }

/* Mobile : globes 2 à 4 plus compacts, frise resserrée */
@media (max-width: 899px) {
  [data-stage="madagascar"] .globe-slot, [data-stage="bolivie"] .globe-slot, [data-stage="all"] .globe-slot { height: min(30svh, 250px); }
  .timeline .tl { padding-bottom: var(--s4); }
  .tl b { font-size: 36px; }
  .tl p { font-size: 14px; }
}

.partner__contact a, .contact__list a { display: inline-flex; align-items: center; min-height: 44px; }
.partner__contact p { gap: 0; }
.field--company[hidden] { display: none; }

/* ---------- Hiérarchie : intertitres plus légers dans les listes ---------- */
.value h3, .partner__offer h3, .tc__list h3, .actions-list h3, .steps h3, .way h3 {
  font-size: clamp(22px, 1.9vw, 27px); font-stretch: 78%; line-height: 1.05; letter-spacing: 0;
}
.tc__meta { font: 700 13px/1.5 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--stabilo); }
@media (max-width: 899px) {
  .hero .globe-slot { height: min(30svh, 260px); margin-bottom: var(--s2); }
  .hero h1 { margin-bottom: var(--s3); }
  .hero .lead { font-size: 17px; line-height: 1.55; }
  .hero__actions { margin-top: var(--s4); }
}
.form-sent { margin-top: var(--s3); padding: var(--s3); border-radius: var(--r-sm); background: #EEF2FD; color: var(--bic-deep); font-weight: 700; }
.btn:disabled { opacity: .55; cursor: progress; transform: none; box-shadow: none; }

