/* VN Process – Vision Nouvelle · feuille de style
   Charte : marine du « VN », bleu « Process », vert « Vision Nouvelle ». Aplats, angles droits. */

:root {
  --navy: #17306b;
  --navy-deep: #0f2250;
  --blue: #1062ad;
  --blue-dark: #0b4f8f;
  --green: #94c11f;
  --ink: #0e1a2f;
  --ink-soft: #3d4a60;
  --ground: #ffffff;
  --tone: #eef2f7;
  --tone-2: #dfe6ef;
  --on-navy: #ffffff;
  --on-navy-soft: #c9d4e8;

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  --fs-h1: clamp(2.5rem, 1.1rem + 5.6vw, 5.75rem);
  --fs-figure: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --section: clamp(88px, 10vw, 168px);
  --header-h: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: var(--navy-deep); }

h1, h2, h3 { margin: 0 0 0.5em; font-weight: 750; font-stretch: 115%; color: var(--navy); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; font-stretch: 105%; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.5; color: var(--ink); max-width: 46ch; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.tone-light { background: var(--tone); }
.tone-navy { background: var(--navy); color: var(--on-navy); }
.tone-navy h2, .tone-navy h3 { color: var(--on-navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; }
.skip:focus { top: 8px; }

/* Boutons et liens */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 52px; padding: 0 1.5em;
  background: var(--blue); color: #fff; border: 2px solid var(--blue);
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 44px; padding: 0 1.1em; font-size: var(--fs-small); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--green); border-color: var(--green); color: var(--navy-deep); }
.link { display: inline-flex; gap: 0.4em; align-items: center; font-weight: 650; text-decoration: none; padding-block: 6px; }
.link span { transition: transform 0.25s var(--ease); }
.link:hover span { transform: translateX(4px); }
.link--light { color: var(--green); }
.link--light:hover { color: #fff; }

.ticks { list-style: none; margin: 0 0 1.5em; padding: 0; }
.ticks li { position: relative; padding: 0.35em 0 0.35em 1.6em; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 0.7em; height: 0.7em; background: var(--green); }

/* En-tête : se masque en descendant, revient en remontant ; barre verte de progression de lecture. */
.header { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: transform 0.45s var(--ease); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.header__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green);
  transform: scaleX(var(--progress, 0)); transform-origin: left;
}
.brand { flex: none; }
.brand img { width: auto; height: 56px; transition: transform 0.4s var(--ease); transform-origin: left center; }
.header.is-scrolled .brand img { transform: scale(0.86); }

/* Navigation : libellés qui « roulent » et trait vert qui glisse d'un lien à l'autre */
.nav { margin-left: auto; height: 100%; }
.nav__list { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav__item { display: flex; align-items: center; }
.nav__link {
  display: flex; align-items: center; height: 100%; padding: 0 14px;
  color: var(--ink); font-weight: 650; font-stretch: 108%; text-decoration: none;
}
.roll { display: block; overflow: hidden; height: 1.35em; line-height: 1.35; }
.roll > span { display: block; text-shadow: 0 1.35em 0 var(--blue); transition: transform 0.45s var(--ease); }
.nav__link:hover .roll > span, .nav__link:focus-visible .roll > span, .nav__item.is-open .roll > span { transform: translateY(-1.35em); }
.nav__link[aria-current='page'] { color: var(--navy); }
.nav__ink {
  position: absolute; left: 0; bottom: 20px; width: 100px; height: 3px; background: var(--green); pointer-events: none;
  opacity: 0; transform: translateX(var(--ink-x, 0)) scaleX(var(--ink-w, 0)); transform-origin: left;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.nav.has-ink .nav__ink { opacity: 1; }
.nav__toggle {
  display: grid; place-items: center; width: 24px; height: 24px; margin-left: -10px; padding: 0;
  background: none; border: 0; color: var(--ink-soft); cursor: pointer;
}
.nav__toggle svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.35s var(--ease); }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 4px; background: var(--tone); }
.lang a { padding: 6px 10px; color: var(--ink-soft); font-size: var(--fs-small); font-weight: 700; text-decoration: none; transition: color 0.2s, background-color 0.25s; }
.lang a:hover { color: var(--navy); }
.lang a[aria-current] { background: var(--navy); color: #fff; }

.arrow { width: 16px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.cta {
  display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 0 6px 0 20px;
  background: var(--navy); color: #fff; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s;
}
.cta:hover { background: var(--blue); color: #fff; }
.cta__icon { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; background: var(--green); color: var(--navy-deep); }
.cta:hover .cta__icon .arrow { animation: arrowLoop 0.55s var(--ease); }
@keyframes arrowLoop { 0% { transform: none; } 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: none; } }

/* Méga-menu : panneau marine, gros liens, photo d'aperçu qui suit le lien survolé */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); color: #fff;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.5s var(--ease);
}
.mega[hidden] { display: block; visibility: hidden; pointer-events: none; }
.nav__item.is-open .mega { clip-path: inset(0 0 0 0); visibility: visible; pointer-events: auto; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 56px; padding-block: 48px 56px; }
.mega__title { margin: 0 0 16px; font-size: 2.25rem; font-weight: 750; font-stretch: 118%; line-height: 1; letter-spacing: -0.03em; }
.mega__intro p { color: var(--on-navy-soft); }
.mega__more { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-weight: 650; text-decoration: none; }
.mega__more:hover .arrow { transform: translateX(4px); }
.mega__call { display: grid; margin: 40px 0 0; font-size: var(--fs-small); }
.mega__call a { color: #fff; font-size: 1.5rem; font-weight: 750; font-stretch: 112%; text-decoration: none; }
.mega__call a:hover { color: var(--green); }
.mega__links { margin: 0; padding: 0; list-style: none; }
.mega__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0;
  color: #fff; font-size: 1.3rem; font-weight: 650; font-stretch: 106%; text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08); transition: color 0.2s, padding-left 0.35s var(--ease);
}
.mega__links a .arrow { flex: none; opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.35s var(--ease); }
.mega__links a:hover, .mega__links a:focus-visible { color: var(--green); padding-left: 10px; }
.mega__links a:hover .arrow, .mega__links a:focus-visible .arrow { opacity: 1; transform: none; }
.mega__links li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.nav__item.is-open .mega__links li { opacity: 1; transform: none; }
.nav__item.is-open .mega__links li:nth-child(2) { transition-delay: 40ms; }
.nav__item.is-open .mega__links li:nth-child(3) { transition-delay: 80ms; }
.nav__item.is-open .mega__links li:nth-child(4) { transition-delay: 120ms; }
.nav__item.is-open .mega__links li:nth-child(5) { transition-delay: 160ms; }
.nav__item.is-open .mega__links li:nth-child(6) { transition-delay: 200ms; }
.mega__preview { overflow: hidden; background: var(--navy-deep); }
.mega__preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 0.25s, transform 0.8s var(--ease); }
.mega__preview img.is-swapping { opacity: 0; transform: scale(1.04); }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(8, 18, 40, 0.5); opacity: 0; transition: opacity 0.35s; }
.scrim.is-on { opacity: 1; }

/* Menu mobile plein écran */
.burger { display: none; width: 50px; height: 50px; padding: 0; background: var(--navy); border: 0; cursor: pointer; }
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 22px; height: 2px; margin: auto; background: #fff; transition: transform 0.35s var(--ease), background-color 0.2s;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ''; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded='true'] .burger__bars { background: transparent; }
.burger[aria-expanded='true'] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }
.mnav {
  position: fixed; inset: var(--mnav-top, var(--header-h)) 0 0; z-index: 49; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 24px var(--gutter) 32px; background: var(--navy); color: #fff;
}
.mnav[hidden] { display: none; }
.mnav__list { margin: 0; padding: 0; list-style: none; }
.mnav__list > li { border-bottom: 2px solid rgba(255, 255, 255, 0.08); animation: mnavIn 0.5s var(--ease) both; }
.mnav__list > li:nth-child(2) { animation-delay: 50ms; }
.mnav__list > li:nth-child(3) { animation-delay: 100ms; }
.mnav__list > li:nth-child(4) { animation-delay: 150ms; }
.mnav__list > li:nth-child(5) { animation-delay: 200ms; }
.mnav__list > li:nth-child(6) { animation-delay: 250ms; }
@keyframes mnavIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.mnav__link {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; color: #fff;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); font-weight: 750; font-stretch: 115%; letter-spacing: -0.02em;
  text-decoration: none; cursor: pointer; list-style: none;
}
.mnav__link::-webkit-details-marker { display: none; }
.mnav__link svg { flex: none; width: 16px; margin-right: 4px; fill: none; stroke: var(--green); stroke-width: 2; transition: transform 0.35s var(--ease); }
.mnav details[open] .mnav__link svg { transform: rotate(180deg); }
.mnav details ul { margin: 0 0 16px; padding: 0; list-style: none; }
.mnav details a { display: block; padding: 10px 0 10px 16px; color: var(--on-navy-soft); font-size: 1.0625rem; text-decoration: none; border-left: 3px solid var(--green); }
.mnav details a:hover { color: #fff; }
.mnav__foot { display: grid; gap: 10px; justify-items: start; }
.mnav__foot > a { color: var(--green); font-size: 1.125rem; font-weight: 650; text-decoration: none; }
.mnav__foot .lang { margin-top: 8px; background: rgba(255, 255, 255, 0.1); }
.mnav__foot .lang a { color: #fff; }
.mnav__foot .lang a[aria-current] { background: var(--green); color: var(--navy-deep); }
body.menu-open { overflow: hidden; }
.header-hidden .jump { top: 0; }
.jump { transition: top 0.45s var(--ease); }

/* Accueil · héros */
.hero { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3vw, 48px); }
.hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 0.4rem + 6.6vw, 7rem); }
.hero .lead { margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 32px 0 56px; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; object-position: center 30%; animation: drift 18s var(--ease) both; }
.hero__media figcaption, .split__media figcaption {
  position: absolute; left: 0; bottom: 0; padding: 10px 16px; background: var(--navy); color: #fff; font-size: var(--fs-small);
}
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Chiffres */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 32px; margin: 0; }
.figures div { padding-top: 16px; border-top: 4px solid var(--green); }
.figures dt { order: 2; color: var(--ink-soft); font-size: var(--fs-small); }
.figures dd { margin: 0 0 6px; color: var(--navy); font-size: var(--fs-figure); font-weight: 750; font-stretch: 112%; line-height: 1; letter-spacing: -0.03em; }
.figures div { display: flex; flex-direction: column; }
.figures small { font-size: 0.45em; letter-spacing: 0; }
.hero .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.hero .figures dd { font-size: clamp(1.75rem, 1.1rem + 2vw, 3rem); }
.tone-navy .figures dd { color: #fff; }
.tone-navy .figures dt { color: var(--on-navy-soft); }

/* Ligne process interactive */
.pline-sec { padding-block: var(--section); background: var(--tone); }
.pline-sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.pline-sec__head h2 { margin: 0; }
.pline-sec__head p { margin: 0; font-size: 1.125rem; }
.pline { position: relative; }
.pline__stops { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.pline__stop {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 8px 16px 0;
  background: none; border: 0; color: var(--ink-soft); font: inherit; font-weight: 650; text-align: left; cursor: pointer;
}
/* Chaque vanne porte le tronçon de conduite qui la suit ; il se remplit de bleu une fois passé. */
.pline__stop::before, .pline__stop::after { content: ''; position: absolute; z-index: -1; top: 21px; left: 26px; right: -26px; height: 10px; background: var(--tone-2); }
.pline__stop::after { background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.pline__stop.is-passed::after { transform: scaleX(1); }
.pline__stop:last-child::before, .pline__stop:last-child::after { right: 0; }
.pline__valve {
  position: relative; z-index: 1; width: 52px; height: 52px; background: var(--ground); border: 4px solid var(--tone-2);
  border-radius: 50%; transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease);
}
.pline__valve::before, .pline__valve::after { content: ''; position: absolute; inset: 0; margin: auto; background: var(--tone-2); transition: background-color 0.3s, transform 0.4s var(--ease); }
.pline__valve::before { width: 22px; height: 4px; }
.pline__valve::after { width: 4px; height: 22px; }
.pline__stop:hover .pline__valve { border-color: var(--blue); transform: scale(1.06); }
.pline__stop.is-passed .pline__valve { border-color: var(--blue); }
.pline__stop.is-passed .pline__valve::before, .pline__stop.is-passed .pline__valve::after { background: var(--blue); }
.pline__stop[aria-selected='true'] { color: var(--navy); }
.pline__stop[aria-selected='true'] .pline__valve { background: var(--green); border-color: var(--navy); }
.pline__stop[aria-selected='true'] .pline__valve::before,
.pline__stop[aria-selected='true'] .pline__valve::after { background: var(--navy); transform: rotate(90deg); }
.pline__panels { margin-top: 32px; }
.pline__panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); background: var(--ground); }
.pline__panel figure { overflow: hidden; }
.pline__panel img { width: 100%; height: 100%; min-height: 360px; max-height: 520px; object-fit: cover; }
.pline__panel > div { padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0; }
.pline__panel h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.025em; }
.js .pline__panel { display: none; }
.js .pline__panel.is-active { display: grid; animation: panelIn 0.5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.no-js .pline__panel + .pline__panel { margin-top: 24px; }

/* Mise en avant produit */
.feature { padding-block: var(--section); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature__media img { width: 100%; aspect-ratio: 684 / 575; object-fit: cover; background: var(--tone); }
.feature__text h3 { margin-top: 40px; }

/* Quali'FAT (aplat marine) */
.qf { padding-block: var(--section); }
.qf__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px clamp(32px, 5vw, 80px); align-items: center; }
.qf__text p { color: var(--on-navy-soft); font-size: 1.125rem; }
.qf__media { justify-self: end; width: 100%; max-width: 440px; }
.qf__media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.qf__grid > .figures, .qf__energies { grid-column: 1 / -1; }
.qf__energies h3 { margin-bottom: 24px; }

/* Réalisations (registre) */
.projects { padding-block: var(--section); }
.projects__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.section .projects__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.ledger { margin: 0 0 24px; padding: 0; list-style: none; }
.ledger li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 4px solid var(--tone); font-size: 1.125rem; }
.ledger strong { color: var(--blue); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 750; font-stretch: 112%; white-space: nowrap; }
.projects__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.projects__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.projects__photos img:last-child { margin-top: 64px; }
.clients { margin-top: 80px; }
.clients h3 { color: var(--ink-soft); font-weight: 600; }
.clients__names { display: flex; flex-wrap: wrap; gap: 8px 40px; max-width: none; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); font-weight: 700; font-stretch: 112%; color: var(--navy); }

/* Actualités */
.home-news { padding-block: var(--section); }
.home-news__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.news { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.news__item { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding: 24px; background: var(--ground); align-items: center; }
.tone-light .news__item { background: var(--ground); }
.section .news__item { background: var(--tone); }
.news__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news__meta { margin-bottom: 8px; color: var(--blue); font-weight: 650; font-size: var(--fs-small); }
.news__item h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); letter-spacing: -0.02em; }

/* Appel final */
.closer { padding-block: clamp(72px, 9vw, 136px); background: var(--blue); color: #fff; }
.closer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.closer h2 { color: #fff; margin: 0; }
.closer p { font-size: 1.125rem; }
.closer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 0; }
.closer__phone { color: #fff; font-size: 1.5rem; font-weight: 750; font-stretch: 112%; text-decoration: none; }
.closer__phone:hover { color: var(--green); }

/* Pages intérieures */
.phead { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 112px); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.phead .lead { margin-top: 28px; }
.phead__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.phead--contact { background: var(--tone); }
.phead--contact h1 { max-width: 14ch; }
.jump { position: sticky; top: var(--header-h); z-index: 20; background: var(--navy); }
.jump ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.jump a { display: block; padding: 16px 18px; color: var(--on-navy-soft); font-weight: 600; text-decoration: none; white-space: nowrap; transition: color 0.2s, background-color 0.2s; }
.jump a:hover, .jump a.is-current { color: var(--navy-deep); background: var(--green); }

.split { padding-block: var(--section); }
.split__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--flip .split__text { order: 2; }
.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 0.8s var(--ease); }
.split__media:hover img { transform: scale(1.03); }
.split__text .figures { margin-top: 32px; }
.brochure { margin-top: 32px; padding: 28px; background: var(--tone); }
.brochure p { margin-bottom: 16px; }

.history { padding-block: var(--section); }
.history__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.history__head h2, .history__head p { margin: 0; }
.history__year { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; padding: 40px 0; border-top: 4px solid var(--tone-2); }
.history__year h3 { font-size: var(--fs-figure); font-stretch: 112%; color: var(--blue); letter-spacing: -0.03em; line-height: 1; }
.history__year dl { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 32px; margin: 0; }
.history__year dt { font-weight: 700; color: var(--navy); }
.history__year dd { margin: 0; }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 4vw, 64px); margin-top: 40px; }
.case figure { overflow: hidden; margin-bottom: 24px; }
.case img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.case:hover img { transform: scale(1.04); }
.case h3 { font-size: 1.75rem; }
.case--contain figure { background: var(--ground); }
.case--contain img { object-fit: contain; }

.gal-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.gal-head h2, .gal-head p { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s; }
.gallery a:hover img { transform: scale(1.06); opacity: 0.9; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cform { display: grid; gap: 20px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label, .chips legend { font-weight: 650; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--tone); border: 2px solid var(--tone); color: var(--ink);
  font: inherit; transition: border-color 0.2s, background-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field__error { margin: 0; color: #b3261e; font-size: var(--fs-small); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { margin-bottom: 8px; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: 10px 16px; background: var(--tone); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.chips label:hover span { background: var(--tone-2); }
.chips input:checked + span { background: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.cform .btn { justify-self: start; }
.cform__note { color: var(--ink-soft); font-size: var(--fs-small); }
.coords { display: grid; gap: 4px 0; margin: 0 0 32px; }
.coords dt { margin-top: 16px; color: var(--ink-soft); font-size: var(--fs-small); }
.coords dd { margin: 0; font-size: 1.125rem; font-weight: 600; }
.contact__aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.access__grid, .legal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.access__links { display: grid; justify-items: start; }
.legal h2 { font-size: 1.75rem; margin-top: 0; }

/* Pied de page */
.footer { padding-top: clamp(72px, 8vw, 120px); background: var(--navy-deep); color: var(--on-navy-soft); font-size: var(--fs-small); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 40px 32px; }
.footer__line { color: #fff; font-size: 1.375rem; font-weight: 700; font-stretch: 112%; line-height: 1.2; }
.footer address { font-style: normal; margin-bottom: 1em; }
.footer__h { color: var(--green); font-size: 1rem; font-stretch: 100%; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { padding: 4px 0; }
.footer__name {
  margin: clamp(48px, 6vw, 96px) 0 0; max-width: none; color: #fff; font-weight: 800; font-stretch: 125%;
  font-size: clamp(3.5rem, 13.5vw, 13rem); line-height: 0.82; letter-spacing: -0.045em; white-space: nowrap;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 32px; }

/* Visionneuse */
.lightbox { max-width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--navy-deep); color: #fff; }
.lightbox::backdrop { background: rgba(8, 18, 40, 0.88); }
.lightbox img { max-height: 80vh; width: auto; margin: auto; }
.lightbox__cap { margin: 0; padding: 12px 16px; }
.lightbox__close { position: absolute; top: 8px; right: 8px; min-height: 44px; padding: 0 16px; background: #fff; color: var(--navy); border: 0; font: inherit; font-weight: 700; cursor: pointer; }

.notfound { padding-block: 120px; }
.notfound img { margin-bottom: 48px; }

/* Apparition au défilement (le contenu reste visible sans JS) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Adaptations */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__id { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .hero__grid, .feature__grid, .qf__grid, .projects__grid, .section .projects__grid, .closer__grid, .phead__grid,
  .split__grid, .pline-sec__head, .history__head, .gal-head, .contact__grid, .access__grid, .legal__grid { grid-template-columns: 1fr; }
  .split--flip .split__text { order: 0; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .pline__stops { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .pline__stop { flex: 0 0 auto; min-width: 112px; scroll-snap-align: start; }
  .pline__panel { grid-template-columns: 1fr; }
  .pline__panel img { min-height: 0; aspect-ratio: 4 / 3; }
  .pline__panel > div { padding: 0 24px 32px; }
  .news__item { grid-template-columns: 1fr; padding: 0 0 24px; }
  .news__item > div { padding-inline: 20px; }
  .history__year, .history__year dl { grid-template-columns: 1fr; gap: 8px; }
  .history__year dd { margin-bottom: 12px; }
  .cases { grid-template-columns: 1fr; }
  .projects__photos img:last-child { margin-top: 32px; }
}
@media (max-width: 640px) {
  .header__actions > .lang, .cta { display: none; }
  .cform__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .ledger li { flex-direction: column; gap: 4px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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