/* Polices hébergées sur le site (SIL Open Font License 1.1, licences dans assets/fonts/) */
@font-face {
  font-family: 'Archivo'; src: url('assets/fonts/archivo-variable-latin.woff2') format('woff2-variations');
  font-weight: 400 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Forum'; src: url('assets/fonts/forum-v19-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Questrial'; src: url('assets/fonts/questrial-v19-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --orange: #f1531a;          /* la teinte de marque, conservée telle quelle */
  --orange-fonce: #b8400d;    /* même famille, pour texte sur fond clair : 4,96 de contraste
                                 là où l'orange de marque ne donnait que 3,13 */
  --orange-btn: #cf4716;      /* bouton plein : 4,60 avec du blanc, contre 3,50 avant */
  --olive-900: #14170f;
  --olive-800: #23281a;
  --olive-600: #436245;
  --khaki: #686736;
  --cream: #f4f2ea;
  --sand: #e6e2d8;
  --ink: #050505;
  --sea: #06214a;
  --gutter: clamp(16px, 4vw, 64px);
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Forum", Georgia, serif;
  --f-body: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --barre: 0px;               /* ce que la barre d'adresse du téléphone a libéré (voir dessous) */
}
/* Barre d'adresse du téléphone (18/10/2026, vidéo du client sur iPhone). Quand Safari la
   replie, par crans, les scènes (100dvh) grandissent d'un coup, et tout ce qui est calé sur
   leur bas, ou centré, sautait d'autant : 16, 45 puis 21 px pour l'accroche du globe, au lieu
   de suivre le doigt. On ajoute --barre à ces positions : les textes gardent leur hauteur à
   l'écran, la place gagnée s'ajoute en bas, comme pour la planète (main.js, keepAspect).
   Vaut 0 sur ordinateur, et dans les navigateurs qui ignorent dvh et svh. */
@supports (height: 100dvh) and (height: 100svh) {
  :root { --barre: calc(100dvh - 100svh); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--olive-900);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  color: var(--cream);
  transition: color .4s ease;
}
.nav.is-dark { color: var(--olive-800); }
.nav__logo img { width: 56px; height: 56px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.nav__links a {
  text-decoration: none; font-size: 14px; letter-spacing: .04em;
  padding: 10px 0; position: relative; opacity: .82; transition: opacity .2s;
}
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__n, .nav__tag, .nav__gammes { display: none; }
.nav__car { display: inline-block; margin-left: .3em; font-style: normal; font-size: .75em; opacity: .75; }
.nav__m, .nav__m > span { display: inline; }
.nav__links a[aria-current]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--orange);
}
/* Bouton du menu téléphone : trois traits qui deviennent une croix */
.nav__burger {
  display: none; position: relative; z-index: 95;
  width: 46px; height: 46px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
  color: inherit; background: rgba(9,11,7,.42);
  border: 1px solid currentColor; border-radius: 999px;
  transition: background .3s ease;
}
.nav.is-dark .nav__burger { background: rgba(244,242,234,.5); }
.nav__burger i, .nav__burger i::before, .nav__burger i::after {
  position: absolute; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .26s ease, top .22s ease, background .2s ease;
}
.nav__burger i { left: 50%; top: 50%; margin: -1px 0 0 -10px; }
.nav__burger i::before { content: ""; left: 0; top: -6px; }
.nav__burger i::after { content: ""; left: 0; top: 6px; }
html.menu-on .nav__burger { color: var(--orange); border-color: var(--orange); background: rgba(9,11,7,.55); }
html.menu-on .nav__burger i { background: transparent; }
html.menu-on .nav__burger i::before { top: 0; transform: rotate(45deg); }
html.menu-on .nav__burger i::after { top: 0; transform: rotate(-45deg); }
.nav__burger:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Compte et panier : des ronds comme le bouton du menu, à droite des liens.
   La marge automatique des liens les garde collés aux icônes. */
.nav__links { margin-left: auto; }
.nav__actions { display: flex; gap: 10px; margin-left: clamp(16px, 2.4vw, 36px); position: relative; z-index: 95; }
.nav__icone {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; width: 42px; height: 42px; color: inherit; text-decoration: none;
  background: rgba(9,11,7,.42); border: 1px solid currentColor; border-radius: 999px;
  transition: color .2s ease, border-color .2s ease, background .3s ease;
}
.nav.is-dark .nav__icone { background: rgba(244,242,234,.5); }
.nav__icone:hover { color: var(--orange); border-color: var(--orange); }
.nav__icone:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* « Espace pro » : le rond du compte s'allonge en bouton avec son libellé */
.nav__icone--texte { width: auto; gap: 8px; padding: 0 17px 0 13px; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
/* Nombre d'articles du panier, rempli par ed-grid.js (bloc ED-PANIER-COMPTE) */
.nav__compteur {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--orange-btn); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; letter-spacing: 0;
}
.nav__compteur[hidden] { display: none; }

.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.nav__progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- SCENES ---------- */
.scene { position: relative; height: var(--len, 300vh); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; height: 100dvh; overflow: hidden;
}
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ============================================================
   Animations réduites : la page devient un document qu'on lit.
   Certains visiteurs activent ce réglage parce que le mouvement leur
   donne la nausée — c'est un trouble réel. Ils doivent recevoir le
   MÊME contenu, simplement sans scènes animées.
   Rien ici ne concerne les autres visiteurs : tout est enfermé dans
   la requête média.
   ============================================================ */
html.statique .scene { height: auto !important; }
html.statique #sea, html.statique #route, html.statique #depot { margin-top: 0 !important; }
html.statique .stage {
  position: static !important; height: auto !important; overflow: visible !important;
  opacity: 1 !important; visibility: visible !important;
  display: block !important; padding: 9vh var(--gutter);
}
/* tout ce qui n'a de sens qu'en mouvement disparaît */
html.statique .gl,
html.statique .globe-labels,
html.statique .globe-wipe,
html.statique .seq-fade,
html.statique .marquee,
html.statique .scroll-hint,
html.statique .callout-lines,
html.statique .btn-pause,
html.statique .loader,
html.statique .scene--globe .stage::after,
html.statique .scene--port .stage::after,
html.statique #route .stage::after { display: none !important; }
/* et tout ce qui porte du texte revient en place, dans l'ordre du document */
html.statique .beat,
html.statique .beat--side,
html.statique .beat--hero,
html.statique .seq-copy,
html.statique .callout,
html.statique .port-copy,
html.statique .port-outro,
html.statique .stat,
html.statique .sea-title,
html.statique .map-copy,
html.statique .map-figure,
html.statique .phase,
html.statique .stats-title,
html.statique .depot-out {
  position: static !important; max-width: 68ch; margin: 0 0 4vh;
  opacity: 1 !important; visibility: visible !important;
  transform: none !important; clip-path: none !important;
}
/* .depot-out est un voile crème plein écran : en version statique il ne reste
   que sa phrase, qui annonce la section suivante. */
html.statique .depot-out {
  inset: auto !important; background: none !important; display: block !important;
  padding: 0 !important; text-align: left !important; pointer-events: auto !important;
}
html.statique .depot-out .display { color: var(--cream) !important; max-width: 40ch; }
html.statique .steps li,
html.statique .phase span { opacity: 1 !important; transform: none !important; }
html.statique .map-figure img { max-width: 100%; height: auto; }
html.statique .scene--map .stage { grid-template-columns: 1fr !important; }

/* Bouton de pause du mouvement autonome : discret, mais toujours atteignable */
.btn-pause {
  position: absolute; right: var(--gutter); bottom: 4vh; z-index: 6;
  font: inherit; font-size: 12px; letter-spacing: .04em;
  background: rgba(10,14,9,.72); color: var(--cream);
  border: 1px solid rgba(244,242,234,.28); border-radius: 999px;
  padding: 9px 16px; min-height: 36px; cursor: pointer;
  opacity: .5; transition: opacity .25s ease, border-color .25s ease;
}
.btn-pause:hover, .btn-pause:focus-visible { opacity: 1; border-color: var(--orange); }
.btn-pause[aria-pressed="true"] { opacity: 1; border-color: var(--orange); }
@media (max-width: 860px) { .btn-pause { bottom: calc(2.5vh + var(--barre)); font-size: 11px; padding: 8px 13px; } }
@media (prefers-reduced-motion: reduce) { .btn-pause { transition: none; } }

/* Lu par les lecteurs d'écran, invisible à l'œil */
.hors-ecran {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Lien d'évitement : hors champ, il revient au premier plan dès qu'il reçoit le focus */
.lien-evitement {
  /* fixed et non absolute : sur une page de plusieurs milliers de pixels, un lien
     posé à 8 px du haut du document serait hors d'atteinte dès le premier
     défilement. Fixé au cadre, il reste accessible partout. */
  position: fixed; left: var(--gutter); top: 8px; z-index: 300;
  transform: translateY(-220%); transition: transform .2s ease;
  background: var(--olive-900); color: var(--cream);
  border: 1px solid var(--orange); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; text-decoration: none;
}
.lien-evitement:focus { transform: none; }
@media (prefers-reduced-motion: reduce) { .lien-evitement { transition: none; } }

.eyebrow {
  margin: 0 0 18px; font-family: var(--f-body); font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.display {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; line-height: .92; letter-spacing: -.01em;
  font-size: clamp(42px, 7.4vw, 124px);
}
.display--md { font-size: clamp(34px, 5vw, 84px); }
.display--lg { font-size: clamp(44px, 8.5vw, 150px); }
.lead { max-width: 46ch; font-size: clamp(15px, 1.15vw, 18px); color: rgba(244,242,234,.78); margin: 22px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 26px; border-radius: 999px; font-size: 14px; letter-spacing: .06em;
  text-decoration: none; transition: transform .25s ease, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav a:focus-visible, .footer a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.btn--primary { background: var(--orange-btn); color: #fff; }
.btn--primary:hover { background: var(--orange-fonce); }
.btn--ghost { border: 1px solid rgba(244,242,234,.4); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* words split */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- 1 GLOBE ---------- */
.scene--globe .stage { background: radial-gradient(120% 90% at 70% 40%, #1b2014 0%, var(--olive-900) 55%, #0a0c07 100%); }
.beat {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  max-width: min(720px, 56vw); z-index: 2; will-change: opacity, transform;
}
.beat--side { max-width: min(640px, 48vw); opacity: 0; }
/* L'arrivée tient dans l'écran, quelle que soit sa HAUTEUR (client, 29/09 : texte
   trop gros sur des écrans « spéciaux » — portables Windows zoomés à 125 ou
   150 %, 1366 × 768 : le titre passait sous le menu et les boutons sortaient par
   le bas). Le titre ne dépasse plus 11 % de la hauteur (sur un grand écran il ne
   change pas), le bloc se centre dans l'espace SOUS le menu, et sur les écrans
   bas le texte d'accompagnement se resserre. Vérifié par outils/test-formats.html.
   Sous 561 px de haut, c'est la mise en page compacte « tenu à l'horizontale »
   (plus bas dans ce fichier) qui s'applique : on ne la contredit pas. */
@media (min-width: 861px) and (min-height: 561px) {
  .beat--hero { top: calc(50% + 40px); }
  .beat--hero .display { font-size: min(clamp(42px, 7.4vw, 124px), 11vh); }
}
@media (min-width: 861px) and (min-height: 561px) and (max-height: 820px) {
  .beat--hero .eyebrow { margin-bottom: 12px; }
  .beat--hero .lead { font-size: 15px; line-height: 1.45; max-width: 58ch; margin-top: 14px; }
  .beat--hero .cta { margin-top: 16px; }
}
.globe-labels { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.marker {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: 0; white-space: nowrap;
}
.marker i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(241,83,26,.25), 0 0 22px var(--orange); }
.marker span { background: rgba(10,12,7,.86); border: 1px solid rgba(241,83,26,.45); padding: 5px 10px; border-radius: 4px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(244,242,234,.6);
}
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--orange), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 2 STATS ---------- */
.scene--stats .stage { background: var(--cream); color: var(--olive-800); }
.marquee {
  position: absolute; left: 0; right: 0; bottom: 2.5vh; white-space: nowrap; pointer-events: none;
  font-family: var(--f-serif); font-size: clamp(44px, 6.5vw, 112px); line-height: 1; color: rgba(35,40,26,.07);
}
.marquee__track { display: inline-block; will-change: transform; }
.stats-grid {
  position: relative; height: 100%; padding: 11vh var(--gutter) calc(21vh + var(--barre));
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 3vh 4vw;
}
.stats-title { grid-column: 1; grid-row: 1 / span 3; align-self: center; color: var(--olive-800); }
.stats-title .line { display: block; overflow: hidden; }
.stats-title .line > span { display: inline-block; will-change: transform; }
.stats-title .line:last-child > span { color: var(--orange); }
.stat { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid rgba(35,40,26,.18); padding-top: 18px; opacity: 0; }
.stat strong {
  font-family: var(--f-display); font-weight: 800; font-stretch: 105%;
  font-size: clamp(54px, 7.4vw, 128px); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.stat span { margin-top: 12px; font-size: 15px; max-width: 26ch; color: rgba(35,40,26,.72); }
.stat[data-stat="0"] { grid-column: 2; grid-row: 2; }
.stat[data-stat="1"] { grid-column: 3; grid-row: 1 / span 2; align-self: end; }
.stat[data-stat="2"] { grid-column: 2; grid-row: 3; }
.stat[data-stat="3"] { grid-column: 3; grid-row: 3; }
.stat[data-stat="1"] strong, .stat[data-stat="3"] strong { color: var(--orange); }

/* ---------- 3 PORT ---------- */
.scene--port .stage { background: #0e1a24; color: var(--cream); }
.port-copy {
  position: absolute; left: var(--gutter); top: 16vh; max-width: 440px; z-index: 2;
}
.port-copy .display { color: var(--cream); }
.port-copy .lead { color: rgba(244,242,234,.82); }
.list-title { margin: 26px 0 10px; font-size: 14px; letter-spacing: .06em; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(244,242,234,.18);
  /* .48 mesurait 4,00:1 sur le fond réel — sous les 4,5:1 exigés pour du texte de
     15 px (WCAG 1.4.3). Relevé à .68, qui repasse au-dessus tout en gardant l'écart
     visuel avec l'étape active, à opacité 1. */
  opacity: .68; transition: opacity .5s ease, transform .5s ease; font-size: 15px; color: var(--cream);
}
.steps li b { font-family: var(--f-display); font-size: 12px; color: var(--orange); letter-spacing: .1em; }
.steps li.is-on { opacity: 1; transform: translateX(8px); }
.phase {
  position: absolute; right: var(--gutter); bottom: 6vh; z-index: 2; display: flex; gap: 22px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 110%; text-transform: uppercase; font-size: 13px; letter-spacing: .14em;
}
/* .48 mesurait 3,64:1 sur le fond réel, pour du texte de 13 px en gras : sous le seuil.
   .72 repasse au-dessus sans effacer la distinction avec la phase active. */
.phase span { opacity: .72; transition: opacity .4s, color .4s; padding-top: 10px; border-top: 2px solid transparent; }
.phase span.is-on { opacity: 1; color: var(--orange); border-color: var(--orange); }
.port-outro {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(12vh + var(--barre)); z-index: 2;
  color: var(--cream); opacity: 0; pointer-events: none;
}

/* ---------- 4 SEA ---------- */
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.sea-title { position: absolute; left: 0; right: 0; top: calc(50% - var(--barre) / 2); transform: translateY(-50%); text-align: center; z-index: 3; padding: 0 var(--gutter); }
.sea-title .lead { margin-left: auto; margin-right: auto; color: rgba(244,242,234,.85); }
.callout {
  position: absolute; z-index: 3; width: min(340px, 30vw); top: 50%;
  padding: 22px 24px; border-radius: 6px;
  background: rgba(4,18,40,.78); border: 1px solid rgba(160,200,255,.18);
  opacity: 0; will-change: opacity, transform;
}
.callout[data-side="left"] { left: var(--gutter); }
.callout[data-side="right"] { right: var(--gutter); }
.callout b { font-family: var(--f-display); font-size: 13px; color: var(--orange); letter-spacing: .12em; }
.callout h3 { margin: 6px 0 10px; font-family: var(--f-display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.05; }
.callout p { margin: 0; font-size: 14px; color: rgba(244,242,234,.78); }

/* ---------- 5 MAP ---------- */
.scene--map .stage {
  background: var(--cream); color: var(--olive-800);
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 5vw; padding: 12vh var(--gutter) calc(6vh + var(--barre));
}
.eyebrow--dark { color: var(--orange-fonce); }
.map-copy .display { color: var(--olive-800); margin-bottom: 26px; }
.map-copy .line { display: block; overflow: hidden; }
.map-copy .line > span { display: inline-block; }
.map-copy p { max-width: 50ch; color: rgba(35,40,26,.78); margin: 0 0 14px; }
.map-count { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; }
.map-count strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 6vw, 104px); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.map-count span { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.map-figure { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(20,23,15,.5); will-change: clip-path, transform; }
.map-figure img { width: 100%; height: auto; will-change: transform; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--olive-800); color: var(--cream); text-align: center;
  padding: 38px var(--gutter) 24px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer img { width: 56px; height: 56px; }
.footer__tag { font-family: var(--f-serif); font-size: clamp(24px, 3vw, 38px); margin: 0; }
.cta--center { justify-content: center; margin-top: 2px; }
.footer .btn { padding-top: 10px; padding-bottom: 10px; font-size: 13px; }
.footer address { font-style: normal; color: rgba(244,242,234,.7); font-size: 13px; margin-top: 4px; line-height: 1.6; }
.footer address a { text-decoration: none; border-bottom: 1px solid rgba(244,242,234,.3); }
.footer__links { display: flex; gap: 22px; font-size: 13px; }
.footer__links a { text-decoration: none; opacity: .7; }
.footer__links a:hover { opacity: 1; }
.footer__legal { font-size: 12px; color: rgba(244,242,234,.66); margin: 6px 0 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  /* Téléphone : les liens deviennent un panneau plein écran, dans l'univers de la page */
  .nav__burger { display: inline-flex; }
  .nav__logo { position: relative; z-index: 95; }   /* le logo reste visible par-dessus le panneau */
  .nav__actions { margin-left: auto; margin-right: 10px; gap: 8px; }   /* icônes juste avant le bouton du menu */
  .nav__icone--texte { width: 42px; padding: 0; }   /* sur téléphone, « Espace pro » redevient un rond */
  .nav__libelle { display: none; }
  .nav__links {
    position: fixed; inset: 0; z-index: 90;
    flex-direction: column; align-items: stretch; justify-content: center; justify-content: safe center;
    gap: 0; padding: 15vh var(--gutter) 14vh; overflow-y: auto;
    background:
      radial-gradient(70% 45% at 88% 104%, rgba(241,83,26,.22) 0%, rgba(241,83,26,0) 70%),
      radial-gradient(125% 85% at 78% 20%, #1e2417 0%, var(--olive-900) 52%, #080a06 100%);
    opacity: 0; visibility: hidden; pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: opacity .3s ease, visibility .3s, clip-path .55s cubic-bezier(.2,.85,.2,1);
  }
  html.menu-on .nav__links { opacity: 1; visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0); }
  /* 23/10/2026, petits iPhone (667 px de haut) : gammes dépliées, le contenu dépasse l'écran. La colonne
     flexible écrasait alors la liste au lieu de défiler (« Gamme décorative » coupée, « Gamme végétale » et
     « Tout le catalogue » invisibles). Plus rien ne rétrécit : le panneau défile (data-lenis-prevent-touch
     sur le menu des pages, Lenis étant arrêté menu ouvert) et le centrage « safe » garde le haut visible. */
  .nav__links > * { flex-shrink: 0; }
  .nav__links a {
    position: relative; display: flex; align-items: baseline; gap: 14px;
    padding: 17px 2px; opacity: 1; border: 0;
    transition: padding-left .3s cubic-bezier(.2,.85,.2,1);
  }
  /* le filet se trace de gauche à droite, en même temps que le titre monte */
  .nav__links a::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: rgba(244,242,234,.16); transform: scaleX(0); transform-origin: left;
    transition: transform .5s cubic-bezier(.2,.85,.2,1), background .3s ease;
  }
  html.menu-on .nav__links a::before {
    transform: scaleX(1); transition-delay: calc(.1s + var(--i, 0) * .07s);
  }
  /* la flèche, discrète, qui avance quand on appuie */
  .nav__links a::after {
    content: "\2192"; position: static; display: block; margin-left: auto; align-self: center;
    width: auto; height: auto; background: none;
    font-size: 19px; line-height: 1; color: rgba(244,242,234,.3);
    opacity: 0; transform: translateX(-10px);
    transition: opacity .4s ease, transform .4s cubic-bezier(.2,.85,.2,1), color .25s ease;
  }
  html.menu-on .nav__links a::after {
    opacity: 1; transform: none; transition-delay: calc(.3s + var(--i, 0) * .07s);
  }
  .nav__links a:active { padding-left: 10px; }
  .nav__links a:active::before { background: rgba(241,83,26,.55); }
  .nav__links a:active::after, .nav__links a:hover::after { color: var(--orange); transform: translateX(5px); }
  .nav__links a[aria-current]::after {
    content: "\2192"; position: static; inset: auto; width: auto; height: auto;
    background: none; color: var(--orange);
    margin-left: auto; align-self: center; font-size: 19px; line-height: 1;
  }
  /* le numéro, comme les étapes et les encadrés de la page */
  .nav__n {
    display: block; flex: none; width: 22px;
    font-family: var(--f-display); font-style: normal; font-weight: 800;
    font-size: 12px; letter-spacing: .14em; color: var(--orange);
  }
  /* le titre monte de derrière son cache : la même animation que les titres de la page */
  .nav__m { display: block; overflow: hidden; flex: 1; }
  .nav__m > span {
    display: block;
    font-family: var(--f-display); font-weight: 800; font-stretch: 110%; text-transform: uppercase;
    font-size: min(clamp(21px, 6.4vw, 36px), 8.4vh); line-height: 1.06; letter-spacing: -.005em;
    color: var(--cream); transform: translateY(115%);
    transition: transform .55s cubic-bezier(.2,.85,.2,1);
  }
  html.menu-on .nav__links a .nav__m > span {
    transform: translateY(0); transition-delay: calc(.14s + var(--i, 0) * .07s);
  }
  .nav__links a[aria-current] .nav__m > span { color: var(--orange); }
  .nav__links a[aria-current] .nav__n { color: rgba(244,242,234,.55); }
  /* signature en bas du panneau, dans le style des sur-titres */
  .nav__tag {
    display: flex; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; margin: 0;
    align-items: center; gap: 12px;
    font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,242,234,.62);
    opacity: 0; transform: translateY(14px); transition: opacity .4s ease .34s, transform .5s ease .34s;
  }
  .nav__tag::before { content: ""; width: 28px; height: 1px; background: var(--orange); flex: none; }
  html.menu-on .nav__tag { opacity: 1; transform: none; }
  /* Catalogues : les grandes gammes se déroulent sous le lien quand on le touche,
     en retrait, avec les pastilles de saison du menu de la boutique */
  html.js-on .nav__gammes {
    display: flex; flex-direction: column; margin: 0 0 0 36px;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .4s cubic-bezier(.2,.85,.2,1), margin .4s ease, visibility 0s linear .4s;
  }
  html.js-on .nav__gammes.is-open {
    max-height: 24rem; margin: -8px 0 6px 36px; visibility: visible;
    transition: max-height .5s cubic-bezier(.2,.85,.2,1), margin .4s ease;
  }
  /* la flèche de « Catalogues » pivote quand la liste est dépliée ; le chevron de la boutique s'efface */
  .nav__car { font-size: .55em; vertical-align: .25em; color: var(--orange); opacity: 1; transition: transform .3s ease; }
  .nav__links a.is-open .nav__car { transform: rotate(180deg); }
  .nav__links .edx-has-sub > a::after { content: none; }
  .nav__links .nav__gammes a {
    align-items: center; gap: 12px; padding: 8px 2px;
    font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,242,234,.82);
  }
  .nav__links .nav__gammes a::before {
    position: static; flex: none; width: 8px; height: 8px; border-radius: 50%;
    background: rgba(244,242,234,.45); transform: none; transition: none;
  }
  .nav__links .nav__gammes a::after { content: none; }
  /* chaque gamme est reconnue à son numéro, qui ne change pas : son nom dans
     l'adresse, lui, a changé le 02/10 (/34-gamme-printemps devenu
     /34-fleurs-artificielles-printemps) et les pastilles avaient perdu leur couleur */
  .nav__gammes a[href*="/34-"]::before { background: #6aa06e; }
  .nav__gammes a[href*="/35-"]::before { background: #e28134; }
  .nav__gammes a[href*="/36-"]::before { background: #d1394d; }
  /* décorative : l'or du filtre de couleurs de la boutique ; végétale : un vert
     feuillage, plus franc et plus sombre que le vert tendre du printemps */
  .nav__gammes a[href*="/19-"]::before { background: #c9a24a; }
  .nav__gammes a[href*="/39-"]::before { background: #3a7a22; }
  /* si le JavaScript ne démarre pas, les liens restent atteignables en clair */
  html:not(.js-on) .nav__burger { display: none; }
  html:not(.js-on) .nav__links {
    position: static; inset: auto; flex-direction: row; flex-wrap: wrap; justify-content: flex-end;
    gap: 8px 16px; padding: 0; background: none; clip-path: none;
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  html:not(.js-on) .nav__links a {
    font-family: var(--f-body); font-weight: 400; font-size: 13px; text-transform: none;
    padding: 6px 0; border: 0; display: inline;
  }
  .beat, .beat--side { top: auto; bottom: calc(9vh + var(--barre)); transform: none; max-width: none; right: var(--gutter); }
  .beat--hero .lead { font-size: 14px; }
  .scroll-hint { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; padding-top: 12vh; align-content: center; }
  .stats-title { grid-column: 1 / span 2; grid-row: 1; margin-bottom: 2vh; }
  .stat[data-stat="0"] { grid-column: 1; grid-row: 2; }
  .stat[data-stat="1"] { grid-column: 2; grid-row: 2; align-self: auto; }
  .stat[data-stat="2"] { grid-column: 1; grid-row: 3; }
  .stat[data-stat="3"] { grid-column: 2; grid-row: 3; }
  .stat span { font-size: 13px; }
  .port-copy { top: 11vh; right: var(--gutter); max-width: none; }
  /* Ces deux textes étaient supprimés sur téléphone pour gagner de la place.
     Or ils portent une information qui n'existe nulle part ailleurs, et la
     majorité des visiteurs sont sur téléphone : on les garde, resserrés. */
  .port-copy .lead { font-size: 13px; line-height: 1.4; margin-top: 6px; }
  .list-title { font-size: 12px; margin-top: 10px; }
  .steps li { padding: 8px 0; font-size: 14px; }
  .phase { left: var(--gutter); right: auto; bottom: calc(4vh + var(--barre)); gap: 14px; font-size: 11px; }
  .callout, .callout[data-side] { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: calc(5vh + var(--barre)); }
  .scene--map .stage { grid-template-columns: 1fr; align-content: center; gap: 4vh; padding-top: 11vh; }
  .map-copy p:not(.eyebrow) { font-size: 13.5px; line-height: 1.45; }
  .map-count { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint i { animation: none; }
  .btn, .steps li, .phase span { transition: none; }
}

.scene--globe .stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--gs, 1);
  background: linear-gradient(90deg, rgba(10,12,7,.78) 0%, rgba(10,12,7,.35) 38%, transparent 62%);
}
@media (max-width: 860px) {
  .scene--globe .stage::after { background: linear-gradient(0deg, rgba(10,12,7,.9) 0%, rgba(10,12,7,.4) 45%, transparent 70%); }
}
@media (max-width: 860px) {
  .display { font-size: clamp(30px, 9.4vw, 52px); font-stretch: 100%; }
  .display--lg { font-size: clamp(34px, 11vw, 60px); }
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--olive-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity .9s ease, visibility .9s;
}
.loader img { width: 96px; height: 96px; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader__bar { width: 160px; height: 2px; background: rgba(244,242,234,.15); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 40%; background: var(--orange); animation: loaderBar 1.1s ease-in-out infinite; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loaderPulse { 50% { transform: scale(.94); opacity: .8; } }
@keyframes loaderBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.scene--port .stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--scrim, 1);
  background:
    linear-gradient(90deg, rgba(20,23,15,.82) 0%, rgba(20,23,15,.55) 34%, rgba(20,23,15,0) 62%),
    linear-gradient(0deg, rgba(20,23,15,.5) 0%, rgba(20,23,15,0) 40%);
}
@media (max-width: 860px) {
  .scene--port .stage::after { background: linear-gradient(180deg, rgba(10,14,9,.82) 0%, rgba(10,14,9,.6) 45%, rgba(10,14,9,.15) 75%); }
}

/* ---------- SÉQUENCES D'IMAGES (port, route, mer) ---------- */
.scene--seq .stage { background: #0b0f14; }
.seq-fade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: #0b0f14; opacity: 0;
}
.seq-copy {
  position: absolute; left: var(--gutter); bottom: 12vh; z-index: 2;
  max-width: min(560px, 48vw); opacity: 0;
}
.seq-copy .display { color: var(--cream); }
.seq-copy .lead { color: rgba(244,242,234,.82); }
#route .stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--scrim, 1);
  background: linear-gradient(0deg, rgba(10,14,9,.78) 0%, rgba(10,14,9,.25) 34%, transparent 60%);
}
@media (max-width: 860px) {
  .seq-copy { max-width: none; right: var(--gutter); bottom: calc(9vh + var(--barre)); }
}

/* Transition route -> mer : la mer se pose par-dessus la fin de la route (fondu flou) */
#sea { margin-top: -200vh; z-index: 2; }
#sea .stage { opacity: 0; }


.footer__insta { margin: 0; font-size: 13px; }
.footer__insta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Entrepôt : se pose par-dessus la fin de la route (fondu flou) puis s'ouvre sur la carte */
#depot { margin-top: -200vh; z-index: 3; }
#depot .stage { opacity: 0; }

#depot .seq-copy { bottom: calc(14vh + var(--barre)); }
.depot-out {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center;
  padding: 0 var(--gutter) var(--barre); background: var(--cream); opacity: 0; pointer-events: none;
}
.depot-out .display { color: var(--olive-800); max-width: 16ch; }

/* Port -> route : la route se pose aussi par-dessus la fin du port */
#route { margin-top: -200vh; z-index: 3; }
#route .stage { opacity: 0; }
#depot { z-index: 4; }

@media (max-height: 640px), (max-width: 860px) {
  .marquee { display: none; }
}

/* Fin de la plongée dans l'atmosphère : fondu vers la page claire */
.globe-wipe {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, #dfe6ef 0%, #ecebe7 45%, var(--cream) 100%);
}

/* Téléphone : les raisons restent lisibles sur l'image */
@media (max-width: 860px) {
  /* marges égales à gauche et à droite : le panneau reste centré quelle que soit la largeur du téléphone */
  .callout, .callout[data-side] {
    left: var(--gutter) !important; right: var(--gutter) !important;
    width: auto; max-width: 520px; margin-left: auto; margin-right: auto;
    background: rgba(6,14,26,.86); border-color: rgba(160,200,255,.22);
    backdrop-filter: none; padding: 18px 18px 20px;
  }
  .callout h3 { font-size: 20px; }
  .callout p { font-size: 15px; color: rgba(244,242,234,.88); }
  .sea-title .display { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
}

/* Crédits des modèles 3D : repliés par défaut. Les licences CC BY imposent de citer
   les auteurs, mais pas de les afficher en permanence — il suffit que ce soit présent
   et accessible d'un clic. Le dépliant natif fonctionne sans JavaScript et au clavier. */
.footer__credits { font-size: 12px; color: rgba(244,242,234,.72); margin: 10px 0 0; max-width: 78ch; line-height: 1.6; text-align: left; }
.footer__credits > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244,242,234,.52); padding: 6px 0; transition: color .25s ease;
}
.footer__credits > summary::-webkit-details-marker { display: none; }
.footer__credits > summary::before {
  content: ""; width: 0; height: 0; flex: none;
  border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transition: transform .25s ease;
}
.footer__credits[open] > summary::before { transform: rotate(90deg); }
.footer__credits > summary:hover { color: var(--orange); }
.footer__credits > summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.footer__credits ul { margin: 4px 0; padding-left: 18px; }
.footer__credits li { margin: 1px 0; }
.footer__credits a { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  .footer__credits > summary, .footer__credits > summary::before { transition: none; }
}
/* au doigt, la ligne des crédits doit rester facile à viser */
@media (max-width: 860px) {
  .footer__credits > summary { padding: 13px 0; }
}

/* Sécurités d'affichage : si le JavaScript ou la 3D échouent, les textes restent visibles */
html:not(.js-on) .stat,
html:not(.js-on) .seq-copy,
html:not(.js-on) .callout,
html:not(.js-on) .port-copy,
html:not(.js-on) .port-outro,
html:not(.js-on) .depot-a,
html:not(.js-on) .depot-c,
html:not(.js-on) .beat--side,
html:not(.js-on) .scene--seq .stage { opacity: 1 !important; visibility: visible !important; }
html:not(.js-on) .loader { display: none; }
.scene--globe.no-3d .beat--side { opacity: 1 !important; position: static; transform: none; margin: 6vh 0; }
.scene--globe.no-3d .stage { display: flex; flex-direction: column; justify-content: center; }
.scene--globe.no-3d .gl, .scene--globe.no-3d .globe-labels { display: none; }

/* ============================================================
   Carte des commerciaux : agrandissement et zoom
   ============================================================ */
.map-figure { position: relative; cursor: zoom-in; }
.map-open {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  font: inherit; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream); background: rgba(20,23,15,.72); border: 1px solid rgba(244,242,234,.28);
  border-radius: 999px; padding: 9px 16px; cursor: zoom-in;
  transition: background .25s ease, transform .25s ease;
}
.map-open:hover { background: var(--orange); transform: translateY(-2px); }
.map-open:focus-visible, .lb__b:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

html.lb-on, html.lb-on body, html.menu-on, html.menu-on body { overflow: hidden; }

.lb {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10,12,8,.94);
  align-items: center; justify-content: center;
  touch-action: none; overscroll-behavior: contain; user-select: none;
}
.lb.is-on { display: flex; animation: lb-in .25s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb__img {
  max-width: 96vw; max-height: 88dvh; width: auto; height: auto;
  transform-origin: center center; will-change: transform;
  border-radius: 8px; background: var(--cream);
  -webkit-user-drag: none; pointer-events: none;
}
.lb[data-zoom="1"] { cursor: grab; }
.lb__bar {
  position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px;
  display: flex; gap: 8px; z-index: 2;
}
/* voile sombre derrière les boutons : ils restent lisibles par-dessus la carte agrandie */
.lb::before, .lb::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none;
}
.lb::before { top: 0; height: 110px; background: linear-gradient(rgba(10,12,8,.82), transparent); }
.lb::after { bottom: 0; height: 74px; background: linear-gradient(transparent, rgba(10,12,8,.82)); }
.lb__b {
  font: inherit; font-size: 15px; line-height: 1; color: var(--cream);
  background: rgba(14,17,11,.78); border: 1px solid rgba(244,242,234,.42);
  border-radius: 999px; min-width: 44px; height: 44px; padding: 0 14px; cursor: pointer;
  transition: background .2s ease;
}
.lb__b:hover { background: rgba(244,242,234,.26); }
.lb__b--close { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.lb__hint {
  position: absolute; left: 0; right: 0; z-index: 2; margin: 0; text-align: center;
  bottom: calc(14px + env(safe-area-inset-bottom));
  font-size: 12px; letter-spacing: .04em; color: rgba(244,242,234,.78); padding: 0 16px;
  transition: opacity .5s ease;
}
.lb[data-used="1"] .lb__hint { opacity: 0; }
@media (max-width: 860px) {
  .map-open { right: 10px; bottom: 10px; font-size: 12px; padding: 8px 14px; }
  .lb__img { max-width: 98vw; max-height: 80dvh; }
  .lb__bar { top: 10px; right: 10px; }
  .lb__hint { font-size: 11px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb.is-on { animation: none; }
  .map-open { transition: none; }
}

/* Menu du téléphone : si l'animation est désactivée, tout s'affiche d'emblée */
@media (prefers-reduced-motion: reduce) {
  .nav__links, .nav__links a, .nav__links a::before, .nav__links a::after,
  .nav__m > span, .nav__tag, .nav__gammes, .nav__car, .nav__burger, .nav__burger i,
  .nav__burger i::before, .nav__burger i::after { transition: none !important; }
  html.menu-on .nav__links a .nav__m > span { transform: none; }
}

/* ============================================================
   Téléphone tenu à l'horizontale
   L'écran ne fait plus que ~375 px de haut : toutes les mises en page,
   conçues pour un écran debout, débordaient — titres coupés en haut,
   encadrés coupés en bas, logo par-dessus le texte. On resserre tout.
   ============================================================ */
@media (orientation: landscape) and (max-height: 560px) {
  .nav { padding: 7px var(--gutter); }
  .nav__logo img { width: 36px; height: 36px; }
  .nav__burger { width: 38px; height: 38px; }
  .nav__burger i, .nav__burger i::before, .nav__burger i::after { width: 16px; }
  .nav__burger i { margin-left: -8px; }
  .nav__burger i::before { top: -5px; }
  .nav__burger i::after { top: 5px; }

  .display { font-size: clamp(22px, 4.4vw, 38px); line-height: .96; }
  .display--md { font-size: clamp(19px, 3.6vw, 30px); }
  .display--lg { font-size: clamp(24px, 4.6vw, 40px); }
  .eyebrow { margin: 0 0 7px; font-size: 12px; letter-spacing: .16em; }
  .eyebrow::before { width: 18px; }
  .lead { font-size: 12px; line-height: 1.45; margin-top: 8px; max-width: 62ch; }
  .cta { margin-top: 12px; gap: 8px; }
  .btn { min-height: 36px; padding: 0 16px; font-size: 12px; }

  .beat, .beat--side { top: auto; bottom: calc(4vh + var(--barre)); left: var(--gutter); right: var(--gutter); transform: none; max-width: none; }
  .scroll-hint { display: none; }

  /* chiffres : les quatre sur une seule ligne, sous le titre */
  .marquee { display: none; }
  .stats-grid {
    padding: 52px var(--gutter) calc(14px + var(--barre));
    grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto;
    gap: 6px 14px; align-content: center;
  }
  .stats-title { grid-column: 1 / -1; grid-row: 1; margin-bottom: 4px; }
  .stats-grid .stat[data-stat] { grid-column: auto; grid-row: 2; align-self: start; padding-top: 8px; }
  .stat strong { font-size: clamp(24px, 4.2vw, 38px); }
  .stat span { font-size: 10px; margin-top: 3px; max-width: none; }

  /* port : la liste des étapes tient sous le titre */
  .steps li { padding: 3px 0; font-size: 12px; }
  .phase { bottom: calc(3vh + var(--barre)); font-size: 10px; gap: 10px; }

  /* encadrés « pourquoi nous » : compacts, calés en bas */
  .callout, .callout[data-side] { bottom: calc(4vh + var(--barre)); max-width: 440px; padding: 10px 13px 12px; }
  .callout b { font-size: 10px; }
  .callout h3 { font-size: 15px; margin: 3px 0 5px; }
  .callout p { font-size: 12px; line-height: 1.42; }

  /* carte : deux colonnes, l'image jamais plus haute que l'écran */
  .scene--map .stage {
    grid-template-columns: 1.02fr 1fr; align-content: center;
    gap: 0 20px; padding-top: 48px; padding-bottom: calc(12px + var(--barre));
  }
  .map-copy p:not(.eyebrow) { font-size: 12px; line-height: 1.38; margin: 0 0 6px; }
  .map-copy .display { margin-bottom: 6px; }
  .map-count { margin-top: 8px; gap: 10px; }
  .map-count strong { font-size: clamp(28px, 4.4vw, 42px); }
  .map-count span { font-size: 10px; }
  .map-figure img { max-height: 66vh; width: auto; max-width: 100%; margin: 0 auto; }
  .map-open { right: 8px; bottom: 8px; font-size: 11px; padding: 6px 12px; }


  /* visionneuse de la carte */
  .lb__img { max-height: 84dvh; max-width: 96vw; }
  .lb__bar { top: 8px; right: 8px; }
  .lb__b { height: 36px; min-width: 36px; font-size: 13px; padding: 0 11px; }
  .lb__hint { bottom: 6px; font-size: 10px; }
}

/* Le menu plein écran n'existe qu'en dessous de 860 px : ses réglages paysage
   ne doivent pas déborder sur la barre de navigation d'ordinateur, que gardent
   les grands téléphones tenus à l'horizontale (896 à 932 px de large). */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 860px) {
  .nav__links { padding: 9vh var(--gutter) 7vh; }
  .nav__links a { padding: 8px 2px; }
  .nav__m > span { font-size: min(clamp(17px, 3.4vw, 28px), 13vh); }
  .nav__n { font-size: 10px; width: 18px; }
  .nav__tag { display: none; }
  /* peu de hauteur : les gammes passent sur une ou deux lignes */
  html.js-on .nav__gammes { flex-direction: row; flex-wrap: wrap; column-gap: 22px; margin-left: 32px; }
  html.js-on .nav__gammes.is-open { margin: -4px 0 4px 32px; }
  .nav__links .nav__gammes a { padding: 5px 2px; font-size: 12px; }
}
/* très petits téléphones (320 x 568) : avec les gammes, la signature du bas
   chevauchait « Nous contacter » */
@media (max-width: 860px) and (max-height: 600px) {
  .nav__tag { display: none; }
}
/* gammes dépliées sur un écran de moins de 760 px de haut : la signature, posée en bas du panneau,
   chevauchait « Nous contacter » (23/10/2026) */
@media (max-width: 860px) and (max-height: 760px) {
  html.js-on .nav__links:has(.nav__gammes.is-open) .nav__tag {
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
  }
}

/* ============================================================
   Bouton « Mettre l'animation en pause » — partie CSS
   ============================================================
   Le JavaScript posait bien la classe `anim-pause` sur <html>, et gelait
   correctement l'horloge de tout ce qu'il anime lui-même : dérive du globe,
   marqueurs, grain de l'image. Mais AUCUNE règle de cette feuille ne ciblait
   cette classe — vérifié, zéro occurrence. Résultat : l'indicateur « DÉFILER »
   continuait de pulser indéfiniment, à quelques centimètres du titre, alors
   même que le visiteur venait de demander l'arrêt.
   C'est un manquement au critère WCAG 2.2.2 « Mettre en pause, arrêter,
   masquer », de niveau A — le plus élevé.
   ============================================================ */
html.anim-pause *,
html.anim-pause *::before,
html.anim-pause *::after {
  animation-play-state: paused !important;
}

/* ============================================================
   Écran de chargement et mouvement réduit
   ============================================================
   Le logo pulsait et la barre glissait sans fin pendant tout le démarrage —
   plusieurs secondes, le temps des polices, de la sonde d'images verticales
   et de l'initialisation 3D. Or `html.statique`, qui masque ce chargeur, n'est
   posée qu'APRÈS ces attentes : la personne qui a justement demandé moins de
   mouvement était celle qui le subissait le plus longtemps.
   On fige donc ces deux animations dès la feuille de style, sans attendre le
   moindre JavaScript.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .loader img,
  .loader__bar i,
  .scroll-hint i {
    animation: none !important;
  }
  /* la barre garde une présence visuelle, simplement immobile */
  .loader__bar i { width: 100%; }
}

/* ============================================================
   Voiles de lisibilité sur les scènes « mer » et « dépôt »
   ============================================================
   Contrairement au globe, au port et à la route, ces deux scènes n'avaient aucun
   voile : leur texte se posait directement sur une image de synthèse dont la
   luminosité change à chaque image. Mesuré sur le rendu réel, le paragraphe de
   « Pourquoi nous ? » tombait à 2,77:1 là où WCAG 1.4.3 exige 4,5:1 — le fond
   échantillonné sous le texte était un pixel de ciel de coucher de soleil.
   Le voile est calqué sur celui du port : même principe, dégradé latéral côté
   texte sur grand écran, dégradé par le bas sur téléphone où le texte passe
   dessous. Il suit `--scrim`, donc il s'efface avec le reste aux transitions.
   ============================================================ */
#sea .stage::after,
#depot .stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--scrim, 1);
  background: linear-gradient(90deg, rgba(14,18,12,.78) 0%, rgba(14,18,12,.5) 34%, rgba(14,18,12,0) 62%);
}
@media (max-width: 860px) {
  #sea .stage::after,
  #depot .stage::after {
    background: linear-gradient(180deg, rgba(14,18,12,.8) 0%, rgba(14,18,12,.55) 45%, rgba(14,18,12,.15) 75%);
  }
}
/* en mode statique, aucune image de fond : le voile n'a plus lieu d'être */
html.statique #sea .stage::after,
html.statique #depot .stage::after { display: none !important; }

/* Téléphones jusqu'à 414 px : la barre des phases du port (327 px) finissait sous le bouton
   « retour en haut », qui cachait la fin de « Embarquement » (relecture du 08/10). La police
   reprend sa largeur normale et les écarts se resserrent : 268 px, la barre finit avant le
   bouton dès 360 px de large. */
@media (max-width: 414px) {
  .phase { font-stretch: 100%; letter-spacing: .06em; gap: 10px; }
}
/* Très petits téléphones (320 px) : la barre des phases du port mesurait 327 px, sa
   dernière étape (« Embarquement ») sortait de l'écran (relevé du 30/09). Resserrée
   (225 px), elle tient entre les deux marges et finit avant le bouton « retour en haut ». */
@media (max-width: 359px) {
  .phase { font-size: 10px; letter-spacing: .02em; gap: 6px; }
}
/* Pied de page : sur les téléphones étroits, les liens passent à la ligne entiers au
   lieu de se couper en deux (« Notre / histoire » à 390 px). */
.footer__links { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
.footer__links a { white-space: nowrap; }

/* ---------- RETOUR EN HAUT ----------
   Écrans tactiles seulement : retour-haut.js ne crée le bouton que là (demande du client du
   05/10/2026). Sous le menu (.nav, z-index 50), au-dessus des scènes (30 au plus). */
.retour-haut {
  position: fixed; right: var(--gutter); bottom: 18px; z-index: 40;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  color: var(--cream); background: rgba(9,11,7,.72);
  border: 1px solid rgba(244,242,234,.45); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(9,11,7,.3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease, border-color .2s ease;
}
.retour-haut.est-visible { opacity: 1; visibility: visible; transform: none; }
.retour-haut:active { background: var(--orange-btn); border-color: var(--orange-btn); }
.retour-haut:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
html.menu-on .retour-haut, html.lb-on .retour-haut { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .retour-haut { transition: none; } }
/* Le bouton couvrait aussi « Agrandir » (coin bas droit de la carte, sur les écrans de 568 à
   667 px de haut) et, tout en bas, la dernière ligne du pied de page (relecture du 08/10).
   « Agrandir » passe dans le coin bas gauche ; le pied de page laisse la place du bouton. */
@media (hover: none) and (pointer: coarse) {
  .map-open { right: auto; left: 10px; }
  .footer { padding-bottom: 80px; }
}
/* Encadrés « Pourquoi nous » (scène de la mer) : sur téléphone en portrait, ils sont calés en bas,
   sous le bouton ; à 320 × 568, la fin du texte de l'encadré 01 passait dessous. Leur bas reste à
   60 px au moins : le texte (20 px de marge intérieure) finit 14 px au-dessus du bouton (18 + 48 px). */
@media (hover: none) and (pointer: coarse) and (max-width: 860px) and (orientation: portrait) {
  .callout, .callout[data-side] { bottom: calc(max(5vh, 60px) + var(--barre)); }
}
/* Zones à toucher (relecture du 08/10) : sur écran tactile, une zone invisible déborde des petits
   boutons jusqu'à 44 px de haut, sans changer leur dessin ni empiéter sur le voisin. Les liens du
   pied de page, en rangées serrées, s'arrêtent à 29 px, la moitié de l'écart entre deux rangées. */
@media (hover: none) and (pointer: coarse) {
  .footer .btn, .footer__links a { position: relative; }
  .nav__icone::after, .btn-pause::after, .map-open::after,
  .footer .btn::after, .footer__links a::after { content: ""; position: absolute; }
  .nav__icone::after { inset: -2px; }       /* comptée depuis l'intérieur du trait de 1 px */
  .btn-pause::after { inset: -5px 0; }
  .map-open::after { inset: -5px; }
  .footer .btn::after { inset: -3px 0; }
  .footer__links a::after { inset: -4px 0; }
}

/* ---------- RECHERCHE ----------
   Demande du client du 05/10/2026 : la loupe en haut sur ordinateur, le champ dans le menu sur
   téléphone. Les deux envoient vers la recherche de la boutique (nom ou référence). Le panneau
   s'ouvre et se ferme par ed-grid.js (bloc ED-RECHERCHE). */
.nav__loupe { padding: 0; font: inherit; cursor: pointer; }
.nav__loupe[aria-expanded="true"] { color: var(--orange); border-color: var(--orange); }
.recherche {
  position: absolute; top: calc(100% - 2px); right: var(--gutter); z-index: 96;
  display: flex; align-items: center; gap: 6px;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  padding: 5px 5px 5px 20px;
  background: rgba(9,11,7,.92); border: 1px solid rgba(244,242,234,.3); border-radius: 999px;
  box-shadow: 0 14px 36px rgba(9,11,7,.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.recherche[hidden] { display: none; }
/* Ouverture animée (demande du client) : ed-grid.js retire « hidden » et pose ed-recherche-anime.
   Le champ se déroule depuis le bouton orange, vers la gauche, puis le texte apparaît. */
.recherche.ed-recherche-anime {
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
  clip-path: inset(0 0 0 calc(100% - 52px) round 999px);
  transition: clip-path .55s cubic-bezier(.2,.85,.2,1), transform .55s cubic-bezier(.2,.85,.2,1),
              opacity .25s ease, visibility 0s linear .55s;
}
.recherche.ed-recherche-anime.est-ouvert {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  clip-path: inset(-60px -60px -90px -60px round 0px);   /* large et sans arrondi : l'ombre n'est pas coupée */
  transition: clip-path .55s cubic-bezier(.2,.85,.2,1), transform .55s cubic-bezier(.2,.85,.2,1),
              opacity .2s ease, visibility 0s;
}
.recherche.ed-recherche-anime input { opacity: 0; transition: opacity .2s ease; }
.recherche.ed-recherche-anime.est-ouvert input { opacity: 1; transition: opacity .35s ease .22s; }
.recherche:focus-within, .nav__recherche:focus-within { border-color: var(--orange); }
.recherche input, .nav__recherche input {
  flex: 1; min-width: 0; height: 40px; margin: 0; padding: 0;
  font: inherit; font-size: 16px; color: var(--cream);   /* 16 px : pas de zoom à la saisie sur iPhone */
  background: transparent; border: 0; outline: 0; -webkit-appearance: none; appearance: none;
}
.recherche input::placeholder, .nav__recherche input::placeholder { color: rgba(244,242,234,.55); }
.recherche input::-webkit-search-decoration, .nav__recherche input::-webkit-search-decoration,
.recherche input::-webkit-search-cancel-button, .nav__recherche input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
/* la feuille de la boutique (ed-custom.css) pose un liseré vert sur les champs actifs */
.recherche input:focus, .nav__recherche input:focus { box-shadow: none !important; }
.recherche button, .nav__recherche button {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--orange-btn); color: #fff;
}
.recherche button:focus-visible, .nav__recherche button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.nav__recherche { display: none; }
@media (max-width: 860px) {
  .nav__loupe, .recherche { display: none !important; }
  .nav__recherche {
    display: flex; align-items: center; gap: 6px; margin: 0 0 22px;
    padding: 5px 5px 5px 20px;
    border: 1px solid rgba(244,242,234,.3); border-radius: 999px; background: rgba(244,242,234,.06);
    opacity: 0; transform: translateY(12px);
    transition: opacity .4s ease .1s, transform .5s cubic-bezier(.2,.85,.2,1) .1s;
  }
  html.menu-on .nav__recherche { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .nav__recherche, .recherche.ed-recherche-anime, .recherche.ed-recherche-anime input { transition: none !important; } }
