/* =========================================================
   SILF — Homepage · proposition de refonte
   Direction : SILF (contenus, identité) × Seed (composition)
   ========================================================= */

:root {
  /* Fonds */
  --paper: #F7F5EF;      /* blanc ouate, fond de page */
  --white: #FFFFFF;
  --wall: #DCEAE5;       /* hero : fond lagon pâle (teal SILF éclairci) */
  --stone: #E5EAE9;      /* Doupéi Expert White Line */
  --sun: #F3E9D2;        /* Gamme Éco */
  --sand: #EAE4D8;       /* M.D.D. / pied de page */
  --night: #141412;      /* Doupéi Black Line */
  --night-2: #1E1E1B;
  --lagoon: #0E2925;     /* lignes de production */
  --lime: #DCEDC0;       /* repère Nou la fé */

  /* Encres */
  --ink: #0F2622;
  --ink-2: #45564F;
  --ink-3: #6E7C77;
  --line: rgba(15, 38, 34, .14);

  /* Marque */
  --teal: #00907F;
  --teal-deep: #0A5B50;
  --sky: #1D96D5;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --gut: 48px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: 152px;
}

@media (max-width: 1199px) {
  :root { --gut: 36px; }
}
@media (max-width: 899px) {
  :root { --gut: 20px; --r-lg: 22px; --sec: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

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

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Typographie ---------- */
.h2 {
  font-size: clamp(34px, 3.35vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 420;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(26px, 2.15vw, 33px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 450;
  margin: 0;
  text-wrap: balance;
}

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--ink { background: var(--teal-deep); color: #fff; }
.btn--ink:hover { background: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--lime); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 16px;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  line-height: 1.2;
}
.link-arrow svg, .round svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Survol des packs ----------
   Le soulèvement est piloté en JS (silf.js + masks.js) : il ne se déclenche
   que lorsque le curseur touche l'emballage, pas le vide autour. */
/* :root renforce la spécificité : les règles .sp, .tile__stage img, .expert__view… plus bas
   redéfinissaient « transition » et annulaient l'animation du soulèvement */
:root .is-liftable {
  --lift-ease: cubic-bezier(.22, 1, .36, 1); /* départ vif, arrivée très amortie */
  transition: translate 1.1s var(--lift-ease), scale 1.1s var(--lift-ease), transform .9s var(--ease), opacity .6s var(--ease);
  will-change: translate;
}
:root .is-liftable.is-lifted {
  translate: 0 calc(var(--lift, 10px) * -1);
  scale: 1.012;
  transition-duration: .8s, .8s, .9s, .6s;
}
.pack:has(.is-lifted)::after { opacity: .55; transform: scaleX(.9); transition-duration: .8s; }
.tile__stage--mdd img, .expert__view { --lift: 8px; }
.menu__packimg img, .cm__proof--pack img, .lab__bench img, .lpanel__pack { --lift: 6px; }

/* ---------- Apparitions ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   EN-TÊTE — capsules flottantes
   ========================================================= */
/* capsules en retrait : le logo s'aligne sur la marge du contenu (28 + 20 = 48 px) */
.nav { position: fixed; z-index: 60; top: 16px; left: 28px; right: 28px; pointer-events: none; }
.nav__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.nav__capsule {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  height: 60px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(15, 38, 34, .06);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled .nav__capsule { background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(15, 38, 34, .07), 0 10px 30px -18px rgba(15, 38, 34, .35); }
.nav__capsule--end { padding: 0 10px 0 18px; gap: 14px; }
.nav__logo img { height: 40px; width: auto; }
.nav__logo { margin-right: 18px; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px;
  border-radius: 999px;
  font-size: 15px; font-weight: 450;
  transition: background-color .25s var(--ease);
}
.nav__link:hover, .nav__trigger:hover, .nav__item.is-open .nav__trigger { background: rgba(15, 38, 34, .06); }
.nav__trigger svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .3s var(--ease); }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__tel { font-size: 15px; font-weight: 450; color: var(--ink-2); }
.nav__tel:hover { color: var(--ink); }
.nav__burger { display: none; }

.menu {
  position: absolute; top: calc(100% + 18px); left: -14px;
  display: grid; grid-auto-flow: column; gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(15, 38, 34, .07), 0 24px 60px -30px rgba(15, 38, 34, .4);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav__item.is-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.menu__card { width: 250px; padding: 8px 8px 14px; border-radius: 18px; transition: background-color .25s; }
.menu__card:hover { background: var(--paper); }
.menu__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.menu__title { display: block; font-weight: 500; font-size: 15px; padding: 0 6px; }
.menu__text { display: block; font-size: 14px; color: var(--ink-3); line-height: 1.4; padding: 2px 6px 0; }
.menu__pack { width: 176px; padding: 8px 8px 12px; border-radius: 18px; transition: background-color .25s; }
.menu__pack:hover { background: var(--paper); }
.menu__packimg { display: grid; place-items: center; aspect-ratio: 1 / .82; border-radius: 12px; background: var(--tint); margin-bottom: 10px; padding: 14px; }
.menu__packimg img { max-height: 100%; width: auto; object-fit: contain; }
.menu--list { grid-auto-flow: row; width: 340px; gap: 2px; }
.menu--list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; font-size: 15px; font-weight: 450; transition: background-color .25s; }
.menu--list a:hover { background: var(--paper); }
.menu--list img { width: 64px; height: 44px; object-fit: cover; border-radius: 9px; }

.mobile-menu { display: none; }

/* =========================================================
   HERO — nature morte produits
   ========================================================= */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 24px;
  align-items: center;
  min-height: clamp(680px, 100svh, 960px);
  padding: 112px var(--gut) 56px;
  background: var(--wall);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.hero__visual { position: relative; z-index: 1; }
/* la scène déborde un peu dans la gouttière pour garder des packs généreux */
.hero__stage { position: relative; width: 108%; margin-left: -8%; aspect-ratio: 1 / .76; }

.pack { position: absolute; margin: 0; z-index: 1; }
.pack img { width: 100%; height: auto; }
.pack::after {
  /* ombre de contact */
  content: ""; position: absolute; z-index: -1;
  left: 8%; right: 8%; bottom: 1.5%; height: 9%;
  background: radial-gradient(closest-side, rgba(14, 50, 44, .26), rgba(14, 50, 44, 0));
  filter: blur(6px);
  transition: opacity 1.1s cubic-bezier(.22, 1, .36, 1), transform 1.1s cubic-bezier(.22, 1, .36, 1);
}
.pack--h1 { left: 3%;  bottom: 28.5%; width: 31%; }
.pack--h2 { left: 27%; bottom: 27.5%; width: 51%; z-index: 2; }
.pack--h3 { left: 71%; bottom: 25.5%; width: 27.5%; z-index: 3; }
.pack--h4 { left: 17%; bottom: 8.5%; width: 45%; z-index: 4; }

.tag {
  position: absolute; z-index: 6;
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px; line-height: 1.2; white-space: nowrap;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(15, 38, 34, .08);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.tag b { font-weight: 550; color: var(--ink); }
.tag:hover { background: #fff; transform: translateY(-2px); }
.tag::after, .tag::before { content: ""; position: absolute; left: 22px; background: var(--ink); }
.tag::after { top: 100%; width: 1px; height: var(--lh, 44px); opacity: .45; }
.tag::before { top: calc(100% + var(--lh, 44px) - 3px); width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; }
.tag--r::after, .tag--r::before { left: auto; right: 22px; }
.tag--r::before { margin: 0 -3px 0 0; }
.tag--side::after { top: 50%; left: auto; right: 100%; width: var(--lw, 34px); height: 1px; }
.tag--side::before { top: 50%; margin: -3px 0 0; left: auto; right: calc(100% + var(--lw, 34px) - 3px); }
.tag--h2 { left: 37%; bottom: 80%; --lh: 52px; }
.tag--h3 { right: 2.5%; bottom: 83.5%; --lh: 54px; }
.tag--h4 { left: 66%; bottom: 16%; --lw: 40px; }

.hero__copy { position: relative; z-index: 3; max-width: 540px; }
.hero__title {
  font-size: clamp(42px, 4.35vw, 66px);
  line-height: .99;
  letter-spacing: -0.038em;
  font-weight: 420;
  margin: 0 0 26px;
  text-wrap: balance;
}
/* toujours trois lignes : « Créateur d'hygiène / à La Réunion / depuis 1987. » */
.hero__title span { display: block; white-space: nowrap; }
.hero__lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 470px; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.hero__local { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 14px; line-height: 1.4; color: var(--ink-2); max-width: 380px; }
.hero__local img { width: 46px; height: 46px; border-radius: 8px; flex: none; }

/* entrée du hero */
html.js .pack { opacity: 0; transform: translateY(28px); }
html.js .tag { opacity: 0; }
html.js .hero.is-ready .pack { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--d) * 110ms + 200ms); }
html.js .hero.is-ready .tag { opacity: 1; transition: opacity .8s var(--ease) 1.05s, background-color .3s var(--ease), transform .3s var(--ease); }
/* le texte n'attend pas les images : il s'anime dès l'affichage */
html.js .hero__copy > * { animation: rise 1s var(--ease) both; }
html.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
html.js .hero__copy > :nth-child(3) { animation-delay: .16s; }
html.js .hero__copy > :nth-child(4) { animation-delay: .24s; }

@media (max-height: 820px) and (min-width: 900px) {
  .hero__title { font-size: clamp(40px, 3.9vw, 56px); }
  .hero__local { margin-top: 28px; }
}

/* =========================================================
   SECTIONS — en-têtes
   ========================================================= */
.section { padding-top: var(--sec); }
.sec-head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  align-items: end;
  margin-bottom: 64px;
}
.sec-head__title { grid-column: 1 / 8; }
.sec-head__aside { grid-column: 9 / 13; display: grid; gap: 18px; justify-items: start; color: var(--ink-2); font-size: 16px; }
.sec-head--dark .sec-head__aside { color: rgba(234, 242, 239, .7); }
/* variante centrée : le texte se place au milieu de l'espace blanc */
.sec-head--center {
  --pad: clamp(88px, 8.5vw, 124px);
  grid-template-columns: minmax(0, 1fr); justify-items: center;
  max-width: 820px; margin: 0 auto;
  padding: var(--pad) 0;
  text-align: center;
}
.section.has-center-head { padding-top: 0; }
.sec-head--center .sec-head__title, .sec-head--center .sec-head__aside { grid-column: 1; }
.sec-head--center .sec-head__aside { justify-items: center; max-width: 580px; margin-top: 24px; }
.sec-head--dark .link-arrow { color: #fff; }

/* =========================================================
   GAMMES — Black Line (bande sombre)
   ========================================================= */
.blackline { background: var(--night); color: #fff; padding: 104px 0 96px; }
.blackline__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.blackline__copy { grid-column: 1 / 6; }
.blackline__text { margin-top: 18px; color: rgba(255, 255, 255, .68); max-width: 440px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 8px; }
.chip {
  height: 40px; padding: 0 18px;
  border-radius: 999px;
  font-size: 15px; font-weight: 450;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .86);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.chip.is-active { background: #fff; color: var(--ink); box-shadow: none; }

.blackline__panels { display: grid; margin-bottom: 40px; }
/* toutes les familles occupent la même cellule : la hauteur ne change pas au clic */
.variants { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
.variants.is-active { visibility: visible; opacity: 1; transition-delay: 0s; }
.variants li a {
  position: relative;
  display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .3s var(--ease);
}
.variants li a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 3px; height: 22px; margin-top: -11px;
  border-radius: 3px; background: var(--c);
  transition: height .35s var(--ease), margin .35s var(--ease);
}
.variants li a:hover::before { height: 36px; margin-top: -18px; }
.variants b { font-weight: 500; font-size: 17px; }
.variants span { font-size: 15px; color: rgba(255, 255, 255, .62); line-height: 1.45; }
.variants li a:hover span { color: rgba(255, 255, 255, .9); }
html.js .variants.is-entering li { animation: rise .6s var(--ease) both; }
html.js .variants.is-entering li:nth-child(2) { animation-delay: .05s; }
html.js .variants.is-entering li:nth-child(3) { animation-delay: .1s; }
html.js .variants.is-entering li:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.blackline__stage {
  grid-column: 6 / 13;
  position: relative;
  aspect-ratio: 1.3;
  border-radius: var(--r-lg);
  background: var(--night-2);
  overflow: hidden;
}
.blackline__stage::before {
  /* plan d'appui */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%;
  background: #262622;
}
.shelf { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.shelf.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.sp { position: absolute; height: auto; transition: transform .9s var(--ease); }
.shelf:not(.is-active) .sp { transform: translateY(16px); }
.sp--pt1 { left: 5%;  bottom: 13%; width: 35%; }
.sp--pt2 { left: 55%; bottom: 14%; width: 41%; }
.sp--pt3 { left: 20%; bottom: 3%;  width: 59%; z-index: 2; }
.sp--et1 { left: 25%; bottom: 19%; width: 52%; }
.sp--et2 { left: 5%;  bottom: 3%;  width: 32%; z-index: 2; }
.sp--et3 { left: 70%; bottom: 3%;  width: 25%; z-index: 2; }
.sp--mo2 { left: 33%; bottom: 25%; width: 62%; }
.sp--mo3 { left: 6%;  bottom: 4%;  width: 60%; z-index: 3; }

/* =========================================================
   GAMMES — Expert White Line (ouvert)
   ========================================================= */
.expert {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  align-items: center;
  padding-top: 128px;
}
.expert__plate {
  grid-column: 1 / 8;
  background: var(--stone);
  border-radius: var(--r-lg);
  padding: 44px 36px 22px;
}
.expert__views { position: relative; aspect-ratio: 1.58; }
.expert__view {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.98);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.expert__view.is-active { opacity: 1; transform: none; }
.expert__picker { display: flex; justify-content: center; gap: 2px; margin-top: 26px; }
.expert__picker button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 13px;
  border-radius: 999px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s;
}
.expert__picker button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.expert__picker button:hover { color: var(--ink); }
.expert__picker button.is-active { background: #fff; color: var(--ink); }

.expert__copy { grid-column: 9 / 13; }
.expert__text { margin-top: 18px; color: var(--ink-2); }
.expert__spec { display: grid; margin: 34px 0 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.expert__specitem { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.expert__specitem.is-active { opacity: 1; transform: none; pointer-events: auto; }
.expert__specitem dt { font-weight: 500; font-size: 17px; }
.expert__specitem dd { color: var(--ink-2); font-size: 16px; margin-top: 4px; }

/* =========================================================
   GAMMES — Éco & M.D.D. (paire)
   ========================================================= */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 128px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; min-height: 760px; }
.tile--eco { background: var(--sun); }
.tile--mdd { background: var(--sand); }
.tile__copy { padding: 44px 48px 48px; display: grid; gap: 16px; justify-items: start; }
.tile__copy p { color: var(--ink-2); max-width: 520px; }
.tile__note { font-size: 15px; }
.tile__stage { position: relative; flex: 1; min-height: 400px; }
.tile__stage img { position: absolute; height: auto; transition: transform .8s var(--ease); }
.ep--1 { left: 8%;  bottom: 10%; width: 25%; }
.ep--2 { left: 30%; bottom: 12%; width: 34%; z-index: 2; }
.ep--3 { left: 52%; bottom: 6%; width: 43%; z-index: 3; }
.tile__stage--mdd img { left: 2%; bottom: 5%; width: 96%; }

/* logo Nou la fé posé en haut de la tuile, au-dessus des packs */
.tile__nlf { position: absolute; z-index: 2; top: 40px; left: 48px; width: 68px; height: 68px; border-radius: 10px; }
@media (max-width: 899px) { .tile__nlf { top: 24px; left: 24px; width: 56px; height: 56px; } }
.pill-nlf {
  display: inline-block; vertical-align: 1px;
  margin-left: 4px; padding: 2px 10px;
  border-radius: 999px;
  background: var(--lime); color: #2f4a10;
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
}
.mini-list { width: 100%; max-width: 520px; margin: 6px 0 10px; }
.mini-list li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.mini-list li:last-child { border-bottom: 1px solid var(--line); }
.mini-list b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.mini-list li { text-align: right; }
.mini-list li b { text-align: left; }

/* =========================================================
   LA SILF — fabrication locale
   ========================================================= */
.local__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.local__copy { grid-column: 1 / 6; }
.local__lead { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -0.012em; color: var(--teal-deep); margin-top: 18px; }
.local__body { display: grid; gap: 14px; margin-top: 26px; color: var(--ink-2); max-width: 500px; }
.local__links { display: flex; align-items: center; gap: 28px; margin-top: 36px; }

.mosaic { grid-column: 7 / 13; position: relative; aspect-ratio: 1 / .98; }
.mosaic figure { position: absolute; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { right: 0; top: 0; width: 80%; aspect-ratio: 1.3; border-radius: var(--r-lg); }
.mosaic__b { left: 0; bottom: 6%; width: 36%; aspect-ratio: .74; border-radius: 999px 999px var(--r-md) var(--r-md); border: 8px solid var(--paper); z-index: 2; }
.mosaic__c { left: 42%; bottom: 0; width: 31%; aspect-ratio: 1; border-radius: 50%; border: 8px solid var(--paper); z-index: 2; }
.mosaic__b img { object-position: 30% 50%; }
.mosaic__c img { object-position: 38% 50%; transform: scale(1.15); }
.mosaic__cap { position: absolute; right: 0; bottom: 14%; width: 22%; font-size: 13px; line-height: 1.4; color: var(--ink-3); }

.ledger {
  display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 24px;
  margin-top: 128px;
}
.ledger > div { border-top: 1px solid rgba(15, 38, 34, .22); padding-top: 18px; }
.ledger dt { font-size: clamp(30px, 2.75vw, 42px); line-height: 1; letter-spacing: -0.035em; font-weight: 330; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger dd { margin-top: 12px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); max-width: 180px; }

.container-story {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px;
  margin-top: 128px;
  padding: 64px 56px 44px;
  background: var(--wall);
  border-radius: var(--r-lg);
}
.container-story__copy { grid-column: 1 / 6; display: grid; gap: 18px; align-content: start; }
.container-story__copy p { color: var(--ink-2); }
.container-story__fact { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.container-story__fact b { display: block; font-size: 44px; line-height: 1; font-weight: 330; letter-spacing: -0.03em; color: var(--teal-deep); margin-bottom: 8px; }
.container-story__compare { grid-column: 7 / 13; display: grid; gap: 22px; }
.container-story__compare figure { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: center; }
.container-story__compare img { width: 100%; border-radius: var(--r-sm); }
.container-story__compare figcaption { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.container-story__compare .num { display: block; font-size: 40px; line-height: 1; letter-spacing: -0.03em; font-weight: 350; color: var(--ink); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.x5 { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: var(--teal-deep); color: #fff; font-style: normal; font-size: 13px; font-weight: 500; }
.container-story__foot { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); max-width: 980px; }

/* =========================================================
   LIGNES DE PRODUCTION (section sombre)
   ========================================================= */
.lines {
  margin: var(--sec) 12px 0;
  padding: 128px 0 120px;
  background: var(--lagoon);
  color: #EAF2EF;
  border-radius: var(--r-lg);
}
.lines__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.lines__tabs { grid-column: 1 / 5; padding-right: 24px; }
.ltab {
  position: relative; display: block; width: 100%; text-align: left;
  padding: 24px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.ltab:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ltab__name { display: block; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.015em; color: rgba(255, 255, 255, .45); transition: color .4s var(--ease); }
.ltab__meta { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .38); transition: color .4s var(--ease); }
.ltab:hover .ltab__name { color: rgba(255, 255, 255, .8); }
.ltab.is-active .ltab__name { color: #fff; }
.ltab.is-active .ltab__meta { color: rgba(255, 255, 255, .62); }
.ltab__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.ltab__bar i { display: block; height: 100%; width: 0; background: #fff; }
.ltab.is-active .ltab__bar i { width: 100%; }
[data-lines].is-auto .ltab.is-active .ltab__bar i { width: 0; animation: progress 9s linear forwards; }
[data-lines].is-paused .ltab.is-active .ltab__bar i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

.lines__panels { grid-column: 5 / 13; display: grid; }
.lpanel { grid-area: 1 / 1; }
.lpanel[hidden] { display: none; }
.lpanel.is-active { animation: fade .7s var(--ease) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lpanel__media { position: relative; aspect-ratio: 16 / 9.4; border-radius: var(--r-md); overflow: hidden; background: #163a35; }
.lpanel__media video, .lpanel__media > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.lpanel__media--photo { background: #d9d4cb; }
.lpanel__pack { position: absolute; right: 5%; bottom: 6%; width: 22%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .22)); }
.callout {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 41, 37, .55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
  font-size: 13.5px; color: #fff; white-space: nowrap;
}
.callout--a { left: 20px; top: 20px; }
.callout--b { left: 20px; bottom: 20px; }
.lpanel__media--photo .callout--b { left: 20px; }

.lpanel__info { display: grid; grid-template-columns: repeat(8, 1fr); column-gap: 24px; row-gap: 26px; margin-top: 32px; }
.lpanel__info > p { grid-column: 1 / 6; color: rgba(234, 242, 239, .78); }
.lpanel__info .link-arrow { grid-column: 7 / 9; justify-self: end; align-self: start; color: #fff; }
.specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
.specs > div { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; }
.specs dt { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.specs dd { margin-top: 6px; font-size: 14px; color: rgba(234, 242, 239, .6); }

.robot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; margin-top: 136px; }
.robot__media { grid-column: 1 / 8; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: #163a35; }
.robot__media video { width: 100%; height: 100%; object-fit: cover; }
.robot__copy { grid-column: 9 / 13; }
.robot__copy p { margin-top: 18px; color: rgba(234, 242, 239, .74); }
.robot__figures { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 34px; }
.robot__figures > div { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; }
.robot__figures dt { font-size: 52px; line-height: 1; letter-spacing: -0.035em; font-weight: 320; color: #fff; }
.robot__figures dt small { display: block; font-size: 14px; letter-spacing: 0; font-weight: 400; color: rgba(234, 242, 239, .62); margin-bottom: 6px; }
.robot__figures > div:first-child dt { padding-top: 21px; }
.robot__figures dd { margin-top: 10px; font-size: 14px; line-height: 1.4; color: rgba(234, 242, 239, .62); }

.process { margin-top: 136px; }
.process__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 34px; }
.process__nav { display: flex; gap: 8px; }
.round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: #fff; transition: background-color .3s var(--ease), color .3s; }
.round:hover { background: #fff; color: var(--ink); }
.round:disabled { opacity: .3; pointer-events: none; }
.process__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 232px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut);
  scroll-padding: 0 var(--gut);
}
.process__track::-webkit-scrollbar { display: none; }
.process__track li { position: relative; scroll-snap-align: start; padding-right: 20px; padding-top: 0; }
.process__track img { width: 100%; aspect-ratio: 1.38; object-fit: cover; border-radius: 12px; }
.process__track li::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% / 1 - 0px);
}
.process__track .n {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 10px;
  font-size: 13px; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums;
}
.process__track .n::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .2); margin-right: -20px; }
.process__track li > span:last-child { display: block; font-size: 16px; line-height: 1.35; color: #fff; padding-right: 8px; }
.process__end { display: flex; align-items: center; }
.process__end span { font-size: 16px; color: rgba(255, 255, 255, .7) !important; padding: 0 0 0 4px !important; margin-top: 62px; }

/* =========================================================
   ENGAGEMENTS
   ========================================================= */
.commit__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.commit__intro { grid-column: 1 / 5; align-self: stretch; }
.commit__sticky { position: sticky; top: 112px; }
.commit__intro p { margin-top: 18px; color: var(--ink-2); max-width: 420px; }
.commit__photo { margin-top: 36px; }
.commit__photo img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: var(--r-md); }
.commit__photo figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

.commit__list { grid-column: 6 / 13; counter-reset: cm; }
.cm {
  display: grid; grid-template-columns: 210px 1fr; column-gap: 24px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
}
.cm:last-child { border-bottom: 1px solid var(--line); }
.cm__title { grid-row: 1 / 4; font-size: 25px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 450; margin: 0; }
.cm__text { color: var(--ink-2); max-width: 560px; }
.cm__proof, .cm__facts { margin-top: 22px; }
.cm__proof--pack { display: flex; align-items: center; gap: 18px; padding: 12px 22px 12px 12px; background: var(--white); border-radius: 18px; width: fit-content; max-width: 100%; }
.cm__proof--pack img { width: 64px; height: auto; }
.cm__proof--pack p { font-size: 14.5px; color: var(--ink-2); max-width: 300px; line-height: 1.4; }
.cm__proof--pack b { display: block; color: var(--ink); font-weight: 500; }
.cm__proof--tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cm__proof--tags span { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2); }
.cm__facts { display: grid; gap: 0; }
.cm__facts li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 15px; color: var(--ink-2); }
.cm__facts li:first-child { border-top: 0; padding-top: 0; }
.cm__facts b { min-width: 92px; font-size: 19px; font-weight: 450; letter-spacing: -0.015em; color: var(--teal-deep); }
.cm__proof--certs { display: flex; flex-wrap: wrap; gap: 22px 32px; }
.cm__proof--certs figure { display: flex; align-items: center; gap: 12px; }
.cm__proof--certs img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.cm__proof--certs figcaption { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.cm__proof--certs figcaption span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.cm__proof--nlf { display: flex; align-items: center; gap: 18px; }
.cm__proof--nlf img { width: 68px; height: 68px; border-radius: 10px; }
.cm__proof--nlf p { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); max-width: 360px; }

.lab { margin-top: 136px; }
.lab__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 36px; }
.lab__head .h3 { grid-column: 1 / 5; }
.lab__head p { grid-column: 6 / 11; color: var(--ink-2); font-size: 16px; }
.lab__head .link-arrow { grid-column: 11 / 13; justify-self: end; }
.lab__bench {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(172px, 1fr);
  background: var(--white);
  border-radius: var(--r-lg);
  overflow-x: auto; scrollbar-width: none;
}
.lab__bench::-webkit-scrollbar { display: none; }
.lab__bench li { padding: 28px 22px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.lab__bench li:first-child { border-left: 0; }
.lab__bench img { height: 128px; width: 100%; object-fit: contain; margin-bottom: 22px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.lab__bench b { font-size: 15px; font-weight: 500; line-height: 1.3; }
.lab__bench span { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }

/* =========================================================
   SECTEURS
   ========================================================= */
.sectors__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.sectors__copy { grid-column: 1 / 7; }
.sectors__list { margin-top: 44px; }
.sectors__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.sectors__list li:last-child { border-bottom: 1px solid var(--line); }
.sectors__list span { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.022em; line-height: 1.15; transition: color .3s var(--ease); }
.sectors__list em { font-style: normal; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.sectors__list li:hover { padding-left: 8px; }
.sectors__list li:hover span { color: var(--teal-deep); }

.sectors__visual { grid-column: 8 / 13; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: .86; }
.sectors__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.sectors__visual figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 8px; justify-items: start; }
.sectors__visual figcaption span {
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; color: var(--ink-2);
}
.sectors__visual figcaption b { font-weight: 550; color: var(--ink); margin-right: 4px; }

.clients { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; margin-top: 104px; padding: 14px 14px 14px 32px; background: var(--white); border-radius: 999px; }
.clients__title { grid-column: 1 / 4; font-size: 15px; font-weight: 450; line-height: 1.35; color: var(--ink-2); margin: 0; }
.clients__logos { grid-column: 4 / 13; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.clients__logos a { display: grid; place-items: center; height: 64px; padding: 0 10px; border-radius: 14px; }
.clients__logos img { max-height: 42px; max-width: 108px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; mix-blend-mode: multiply; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.clients__logos a:hover img { filter: none; opacity: 1; }

/* =========================================================
   BOOKEND
   ========================================================= */
.bookend__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bk { position: relative; display: grid; place-items: center; min-height: 600px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-align: center; isolation: isolate; }
.bk--story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.bk--story::after { content: ""; position: absolute; inset: 0; background: rgba(9, 28, 24, .5); z-index: -1; }
.bk--story:hover img { transform: scale(1.04); }
.bk--contact { background: var(--teal-deep); }
.bk__inner { display: grid; justify-items: center; gap: 16px; padding: 48px; max-width: 520px; }
.bk__title { font-size: clamp(32px, 2.8vw, 42px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 420; }
.bk__text { font-size: 17px; color: rgba(255, 255, 255, .84); max-width: 400px; }
.bk__lines { display: grid; gap: 2px; font-size: 17px; margin-bottom: 8px; }
.bk__lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bk .btn { margin-top: 8px; }
.bk__press {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-size: 15px; text-align: left;
  transition: background-color .3s var(--ease);
}
.bk__press:hover { background: rgba(255, 255, 255, .18); }
.bk__press img { width: 44px; height: 56px; object-fit: cover; object-position: top; border-radius: 6px; }
.bk__press span::after { content: " →"; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.footer { margin-top: var(--sec); background: var(--sand); padding: 80px 0 32px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.footer__brand { grid-column: 1 / 5; }
.footer__brand > img { height: 52px; width: auto; }
.footer__brand p { margin-top: 22px; color: var(--ink-2); font-size: 16px; max-width: 360px; }
.footer__marks { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 13px; color: var(--ink-3); max-width: 340px; line-height: 1.4; }
.footer__marks img { width: 44px; height: 44px; border-radius: 7px; flex: none; }
.footer__cols { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; }
.footer__cols > div { display: grid; align-content: start; gap: 8px; font-size: 15px; }
.footer__cols p { font-weight: 500; margin-bottom: 6px; }
.footer__cols a, .footer__cols span { color: var(--ink-2); line-height: 1.4; }
.footer__cols a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.footer__bottom a:hover { color: var(--ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .nav__tel { display: none; }
  .tag span { display: none; }
  .nav__link, .nav__trigger { padding: 0 11px; font-size: 14.5px; }
  .nav__logo { margin-right: 8px; }
  .ledger { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .variants li a { grid-template-columns: 120px 1fr; }
  .cm { grid-template-columns: 1fr; }
  .cm__title { grid-row: auto; margin-bottom: 10px; }
  .clients { grid-template-columns: 1fr; border-radius: var(--r-lg); padding: 24px 28px; row-gap: 12px; }
  .clients__title, .clients__logos { grid-column: 1 / -1; }
  .clients__logos { flex-wrap: wrap; justify-content: flex-start; }
  .footer__brand { grid-column: 1 / -1; margin-bottom: 48px; }
  .footer__cols { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .nav__links .nav__link { display: none; }
}

@media (max-width: 899px) {
  /* navigation mobile */
  .nav { top: 10px; left: 10px; right: 10px; }
  .nav__capsule { height: 54px; }
  .nav__capsule--main { padding: 0 16px; }
  .nav__links { display: none; }
  .nav__logo { margin: 0; }
  .nav__logo img { height: 34px; }
  .nav__capsule--end { padding: 0 6px 0 6px; gap: 6px; }
  .nav__burger { display: grid; place-items: center; align-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 50%; background: rgba(15, 38, 34, .06); }
  .nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .nav.is-menu .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.is-menu .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-menu { display: block; pointer-events: auto; position: fixed; inset: 0; z-index: -1; background: var(--paper); overflow-y: auto; padding: 92px var(--gut) 40px; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__inner { display: grid; gap: 2px; }
  .mobile-menu__group { margin: 22px 0 6px; font-size: 13px; color: var(--ink-3); }
  .mobile-menu a:not(.btn) { font-size: 22px; letter-spacing: -0.015em; padding: 6px 0; }
  .mobile-menu__cta { margin-top: 28px; justify-self: start; }

  /* hero mobile : texte puis nature morte */
  .hero { display: block; min-height: 0; padding: 104px 0 20px; }
  .hero__copy { max-width: none; padding: 0 var(--gut); }
  .hero__title { font-size: clamp(32px, 9.4vw, 46px); margin-bottom: 18px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions { margin-top: 24px; gap: 22px; }
  .hero__local { margin-top: 26px; }
  .hero__visual { margin-top: 8px; }
  .hero__stage { width: 100%; margin-left: 0; aspect-ratio: 1 / .84; }
  .tag { font-size: 12px; padding: 6px 11px; }
  .tag span { display: none; }
  .tag--h2 { left: 36%; bottom: 84%; }
  .tag--h3, .tag--h4 { display: none; }

  .sec-head { grid-template-columns: 1fr; row-gap: 22px; margin-bottom: 44px; }
  .sec-head--center { margin: 0 auto; row-gap: 0; }
  .sec-head__title, .sec-head__aside { grid-column: 1 / -1; }

  .blackline { padding: 72px 0 64px; }
  .blackline__grid { grid-template-columns: 1fr; }
  .blackline__copy { grid-column: 1; }
  .blackline__stage { grid-column: 1; grid-row: 1; margin: 0 0 32px; aspect-ratio: 1.12; }
  .variants li a { grid-template-columns: 1fr; gap: 2px; }

  .expert { grid-template-columns: 1fr; padding-top: 88px; row-gap: 36px; }
  .expert__plate { grid-column: 1; padding: 32px 18px 18px; }
  .expert__copy { grid-column: 1; }
  .expert__picker { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 22px -18px 0; padding: 0 18px; }
  .expert__picker::-webkit-scrollbar { display: none; }
  .expert__picker button { flex: none; }

  .duo { grid-template-columns: 1fr; margin-top: 88px; gap: 14px; }
  .tile { min-height: 0; }
  .tile__copy { padding: 30px 24px 32px; }
  .tile__stage { min-height: 0; aspect-ratio: 1.3; flex: none; }
  .tile--mdd .tile__stage { order: -1; aspect-ratio: 1.6; }
  .mini-list li { flex-direction: column; gap: 0; text-align: left; }

  .local__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .local__copy, .mosaic { grid-column: 1; }
  .local__links { flex-wrap: wrap; gap: 20px; }
  .mosaic__cap { display: none; }
  .mosaic__b { width: 40%; border-width: 6px; }
  .mosaic__c { width: 40%; left: 46%; border-width: 6px; }
  .ledger { grid-template-columns: 1fr 1fr; margin-top: 80px; row-gap: 32px; }
  .container-story { grid-template-columns: 1fr; margin-top: 80px; padding: 36px 22px 28px; row-gap: 32px; }
  .container-story__copy, .container-story__compare { grid-column: 1; }
  .container-story__compare figure { grid-template-columns: 1fr; gap: 10px; }

  .lines { margin: var(--sec) 8px 0; padding: 80px 0 72px; }
  .lines__grid { grid-template-columns: 1fr; }
  .lines__tabs { grid-column: 1; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 calc(var(--gut) * -1) 22px; padding: 0 var(--gut); }
  .lines__tabs::-webkit-scrollbar { display: none; }
  .ltab { flex: none; width: auto; padding: 10px 16px; border: 0 !important; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
  .ltab.is-active { background: #fff; }
  .ltab.is-active .ltab__name { color: var(--ink); }
  .ltab__name { font-size: 15px; color: rgba(255, 255, 255, .8); }
  .ltab__meta, .ltab__bar { display: none; }
  .lines__panels { grid-column: 1; }
  .lpanel__media { aspect-ratio: 4 / 3.4; }
  .callout { font-size: 12px; padding: 6px 11px; }
  .callout--a { left: 12px; top: 12px; }
  .callout--b { left: 12px; bottom: 12px; }
  .lpanel__info { grid-template-columns: 1fr; }
  .lpanel__info > p, .lpanel__info .link-arrow { grid-column: 1; justify-self: start; }
  .specs { grid-template-columns: 1fr; row-gap: 14px; }
  .robot { grid-template-columns: 1fr; margin-top: 88px; row-gap: 30px; }
  .robot__media, .robot__copy { grid-column: 1; }
  .robot__figures dt { font-size: 42px; }
  .process { margin-top: 88px; }
  .process__track { grid-auto-columns: 200px; }

  .commit__grid { grid-template-columns: 1fr; }
  .commit__intro, .commit__list { grid-column: 1; }
  .commit__sticky { position: static; }
  .commit__photo { margin-bottom: 40px; }
  .lab { margin-top: 88px; }
  .lab__head { grid-template-columns: 1fr; row-gap: 16px; }
  .lab__head .h3, .lab__head p, .lab__head .link-arrow { grid-column: 1; justify-self: start; }
  .lab__bench { grid-auto-columns: 168px; margin: 0 calc(var(--gut) * -1); border-radius: 0; padding: 0 0; }

  .sectors__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .sectors__copy, .sectors__visual { grid-column: 1; }
  .sectors__visual { aspect-ratio: 1.05; }
  .sectors__list em { display: none; }
  .clients { margin-top: 64px; padding: 22px 20px; }
  .clients__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .clients__logos a { padding: 0 4px; height: 56px; }
  .clients__logos img { max-width: 100%; max-height: 32px; }

  .bookend__grid { grid-template-columns: 1fr; gap: 14px; }
  .bk { min-height: 460px; }
  .bk--contact { min-height: 520px; padding-bottom: 72px; }
  .bk__inner { padding: 36px 24px; }

  .footer { padding: 56px 0 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__bottom { flex-direction: column; margin-top: 48px; }

  /* colonnes uniques : empêcher les contenus défilants d'élargir la page */
  .sec-head, .blackline__grid, .expert, .duo, .local__grid, .container-story,
  .lines__grid, .lpanel__info, .specs, .robot, .commit__grid, .lab__head,
  .sectors__grid, .clients, .bookend__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ledger dt { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.js [data-reveal], html.js .pack, html.js .tag { opacity: 1 !important; transform: none !important; }
}
