/* =====================================================================
   SA LA GARONNE — Travaux Publics · Toulouse
   Feuille de style principale — conçue par PMC Marketing
   Système : charte graphique V2.0 (09.2026)
   ===================================================================== */

/* ---------- 0. Tokens ---------- */
:root {
  /* Couleurs charte */
  --navy: #052F56;
  --deep: #082743;
  --blue: #0669BB;
  --cyan: #0A94F2;
  --ice: #EAF4FC;
  --bone: #F3F1EC;
  --steel: #73869A;
  --steel-text: #5A6C80;
  --white: #FFFFFF;

  --navy-80: rgba(5, 47, 86, .8);
  --navy-60: rgba(5, 47, 86, .6);
  --line: rgba(5, 47, 86, .10);
  --line-strong: rgba(5, 47, 86, .18);
  --line-light: rgba(255, 255, 255, .14);

  --grad-navy-blue: linear-gradient(90deg, #052F56 0%, #0669BB 100%);
  --grad-blue-cyan: linear-gradient(90deg, #0669BB 0%, #0A94F2 100%);

  /* Typographie — pour repasser sur Inter Display : --font-display: 'Inter', ... */
  --font-display: 'Archivo Narrow', 'Inter', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Échelle fluide */
  --fs-hero: clamp(2.1rem, 6vw, 6.4rem);
  --fs-h1: clamp(2.5rem, 6.4vw, 6.6rem);
  --fs-h2: clamp(2.2rem, 5vw, 4.6rem);
  --fs-h3: clamp(1.5rem, 2.4vw, 2.1rem);
  --fs-lead: clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-mono: .74rem;

  /* Rythme */
  --container: 1480px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --section: clamp(64px, 8vw, 116px);
  --nav-h: 88px;
  --radius: 24px;
  --radius-sm: 14px;

  /* Mouvement */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .9s;
}

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--navy);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--cyan); color: var(--white); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 400; padding: 12px 18px; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 600; transform: translateY(-200%); transition: transform .3s; }
.skip:focus { transform: none; }

/* Typo */
.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
h3, .h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--navy); font-weight: 400; }
.muted { color: var(--steel-text); }
.accent { color: var(--cyan); }
.accent-blue { color: var(--blue); }
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--cyan); }
.eyebrow--steel { color: var(--steel-text); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--flush-bottom { padding-bottom: 0; }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-deep { background: var(--deep); color: var(--white); }
.bg-white { background: var(--white); }
.bg-ice { background: var(--ice); }
.bg-navy .lead, .bg-deep .lead { color: rgba(255,255,255,.82); }
.bg-navy .muted, .bg-deep .muted { color: rgba(255,255,255,.55); }

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5-7 { grid-template-columns: 5fr 7fr; }
.grid-7-5 { grid-template-columns: 7fr 5fr; }
.grid-4-8 { grid-template-columns: 4fr 8fr; }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4, .grid-5-7, .grid-7-5, .grid-4-8 { grid-template-columns: 1fr; }
}

.section-head { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 3vw, 48px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head .h2 { margin-top: 20px; }
.section-head > p { max-width: 62ch; }
@media (max-width: 960px) { .section-head { grid-template-columns: 1fr; } }

/* Ligne technique horizontale */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.bg-navy .rule, .bg-deep .rule { background: var(--line-light); }

/* ---------- 2. Boutons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px 18px 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cyan); transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(10,148,242,.7); }
.btn .btn__arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: var(--white); box-shadow: none; }
.btn--light { --bg: var(--white); --fg: var(--navy); }
.btn--light::before { background: var(--cyan); }
.btn--light:hover { color: var(--white); }
.btn--ghost-light { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost-light::before { background: var(--white); }
.btn--ghost-light:hover { color: var(--navy); box-shadow: none; }
.btn--sm { padding: 13px 20px 13px 22px; font-size: .875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 0;
  font-weight: 600; font-size: .95rem; color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow span { position: relative; }
.link-arrow span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-arrow:hover span::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 3. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background .5s, box-shadow .5s, height .5s var(--ease);
  --nav-fg: var(--navy);
  color: var(--nav-fg);
}
.nav.nav--light { --nav-fg: var(--white); }
.nav.is-scrolled {
  --nav-fg: var(--navy);
  background: rgba(243,241,236,.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  height: 72px;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 46px; height: 46px; position: relative; flex: none; }
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.brand__mark .mark-light { opacity: 0; }
.nav--light:not(.is-scrolled) .brand__mark .mark-light { opacity: 1; }
.nav--light:not(.is-scrolled) .brand__mark .mark-color { opacity: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; text-transform: uppercase; }
.brand__sub { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 5px; color: var(--cyan); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 13px; border-radius: 999px; font-weight: 500; font-size: .92rem;
  transition: background .3s;
}
.nav__link:hover, .nav__links > li:hover > .nav__link { background: rgba(115,134,154,.14); }
.nav__link svg { width: 12px; height: 12px; opacity: .7; transition: transform .3s; }
.nav__links > li:hover .nav__link svg { transform: rotate(180deg); }
.nav__link.is-active { position: relative; }
.nav__link.is-active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--cyan); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 380px;
  background: var(--white); color: var(--navy); border-radius: 18px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(5,47,86,.35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
}
.nav__links > li:hover .dropdown, .nav__links > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.dropdown a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; transition: background .3s; }
.dropdown a:hover { background: var(--ice); }
.dropdown .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ice); display: grid; place-items: center; }
.dropdown .ico svg { width: 26px; height: 26px; }
.dropdown strong { display: block; font-weight: 600; font-size: .95rem; }
.dropdown small { display: block; color: var(--steel); font-size: .8rem; margin-top: 2px; }

.nav__cta { display: inline-flex; align-items: center; gap: 12px; }
.nav__call { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 12px 18px 12px 15px; border-radius: 999px; font-weight: 600; font-size: .875rem; color: var(--nav-fg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--nav-fg) 35%, transparent); transition: background .3s, box-shadow .3s, transform .5s var(--ease); }
.nav__call:hover { background: color-mix(in srgb, var(--nav-fg) 10%, transparent); box-shadow: inset 0 0 0 1.5px var(--nav-fg); }
.nav__call svg { width: 16px; height: 16px; }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; place-items: center; position: relative; z-index: 101; color: var(--nav-fg); }
.burger span { position: absolute; left: 14px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger { color: var(--white); }
body.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--deep); color: var(--white); overflow: hidden auto;
  display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 60px;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path .9s var(--ease); visibility: hidden;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.menu__list a { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.1rem, 8vw, 4.2rem); line-height: 1; padding: 8px 0; transition: color .3s, transform .5s var(--ease); }
.menu__list a:hover { color: var(--cyan); transform: translateX(10px); }
.menu__list li { transform: translateY(30px); opacity: 0; transition: transform .8s var(--ease), opacity .6s; }
body.menu-open .menu__list li { transform: none; opacity: 1; }
body.menu-open .menu__list li:nth-child(1) { transition-delay: .25s; }
body.menu-open .menu__list li:nth-child(2) { transition-delay: .32s; }
body.menu-open .menu__list li:nth-child(3) { transition-delay: .39s; }
body.menu-open .menu__list li:nth-child(4) { transition-delay: .46s; }
body.menu-open .menu__list li:nth-child(5) { transition-delay: .53s; }
body.menu-open .menu__list li:nth-child(6) { transition-delay: .6s; }
.menu__toggle { display: flex; align-items: center; gap: .3em; width: 100%; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.1rem, 8vw, 4.2rem); line-height: 1; padding: 8px 0; color: inherit; text-align: left; transition: color .3s; }
.menu__toggle.is-active { color: var(--cyan); }
.menu__chev { width: .46em; height: .46em; flex: none; opacity: .7; transition: transform .5s var(--ease), color .3s; }
.menu__group.is-open .menu__chev { transform: rotate(180deg); opacity: 1; color: var(--cyan); }
.menu__panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .55s var(--ease), opacity .3s, visibility 0s .55s; }
.menu__panel > ul { overflow: hidden; min-height: 0; margin-left: 3px; padding-left: 20px; border-left: 1px solid var(--line-light); }
.menu__group.is-open > .menu__panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .55s var(--ease), opacity .45s .08s, visibility 0s; }
.menu__list .menu__panel a { font-family: var(--font-body); font-weight: 500; text-transform: none; font-size: 1.05rem; line-height: 1.3; padding: 12px 0; color: rgba(255,255,255,.78); }
.menu__panel a:hover { color: var(--cyan); }
.menu__panel a.is-active { color: var(--white); }
.menu__panel a.is-active::before { content: ""; display: inline-block; width: 14px; height: 1.5px; background: var(--cyan); vertical-align: middle; margin-right: 10px; }
.menu__foot { margin-top: auto; padding-top: 30px; display: flex; flex-wrap: wrap; gap: 20px 40px; border-top: 1px solid var(--line-light); font-size: .9rem; color: rgba(255,255,255,.7); }
.menu__foot strong { color: var(--white); display: block; margin-bottom: 4px; }
.menu__close { position: fixed; top: calc(var(--nav-h) / 2 - 22px); right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); opacity: 0; transform: rotate(-90deg) scale(.5); transition: opacity .4s, transform .7s var(--ease), background .3s; }
.menu__close svg { width: 18px; height: 18px; }
.menu__close:hover { background: rgba(255,255,255,.12); }
body.menu-open .menu__close { opacity: 1; transform: none; transition-delay: .3s; }
.menu-lines { position: absolute; right: -10%; bottom: -8%; width: 70%; opacity: .35; pointer-events: none; }

@media (max-width: 1240px) {
  .nav__links { display: none; }
  .burger { display: grid; }
}
@media (max-width: 560px) { .nav__cta .btn { display: none; } .brand__text { display: none; } }

/* ---------- 4. Préchargeur & transitions ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--deep); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 28px;
  transition: transform 1s var(--ease-io), visibility 0s 1s; visibility: visible;
}
.loader.is-done { transform: translateY(-100%); visibility: hidden; }
.loader__rings { width: 120px; height: 120px; }
.loader__rings circle, .loader__rings line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s var(--ease) forwards; }
.loader__rings circle:nth-child(2) { animation-delay: .1s; }
.loader__rings circle:nth-child(3) { animation-delay: .2s; }
.loader__rings line { animation-delay: .35s; }
.loader__text { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); overflow: hidden; }
.loader__text span { display: inline-block; animation: rise .9s var(--ease) .3s both; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.1); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--cyan); animation: load 1.3s var(--ease-io) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes load { to { width: 100%; } }
body.no-loader .loader { display: none; }

.page-veil { display: none; }
/* Fondu natif entre les pages (View Transitions), sans délai avant la navigation */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 140ms ease-out both vt-out; }
::view-transition-new(root) { animation: 220ms ease-in both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- 5. (curseur personnalisé retiré) ---------- */

/* ---------- 6. Révélations ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); will-change: transform, opacity; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="none"] { transform: none; }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(1) { transition-delay: .0s; }
.stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
.stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .56s; }
.stagger.is-in > *:nth-child(9) { transition-delay: .64s; }
.stagger.is-in > *:nth-child(10) { transition-delay: .72s; }
.stagger.is-in > *:nth-child(11) { transition-delay: .8s; }
.stagger.is-in > *:nth-child(12) { transition-delay: .88s; }
/* Pictos qui se tracent à l'apparition des cartes (les cartes expertises ont leur propre tracé .dr) */
.stagger .picto path:not(.dr), .stagger .picto circle { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.3s var(--ease) .3s; }
.stagger.is-in .picto path:not(.dr), .stagger.is-in .picto circle { stroke-dashoffset: 0; }
/* Filet des surtitres qui se dessine */
.eyebrow[data-reveal]::before, .eyebrow[data-reveal]::after { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .2s; }
.eyebrow[data-reveal]::after { transform-origin: right; }
.eyebrow[data-reveal].is-in::before, .eyebrow[data-reveal].is-in::after { transform: scaleX(1); }
/* Halos lumineux qui respirent lentement */
@keyframes breathe { from { opacity: .6; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.cta-band::before, .panel--navy::before, .aside-card--navy::before { animation: breathe 7s ease-in-out infinite alternate; }
.cta-band::before { transform-origin: 100% 100%; }
.panel--navy::before, .aside-card--navy::before { transform-origin: 100% 0%; }

/* Split text (mots) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); will-change: transform; }
[data-split].is-in .wi { transform: none; }

/* Masques image */
.mask { position: relative; overflow: hidden; border-radius: var(--radius); }
.mask__in { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.mask.is-in .mask__in { clip-path: inset(0 0 0 0); }
.mask picture { display: block; width: 100%; height: 100%; }
.mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.6s var(--ease); }
.mask.is-in img { transform: scale(1); }
.mask--square { border-radius: 0; }

/* Trait qui se dessine */
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.is-in .draw, .draw.is-in { stroke-dashoffset: 0; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--deep); overflow: hidden; isolation: isolate;
  padding-top: var(--nav-h);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); animation: kenburns 24s var(--ease) forwards; opacity: 0; transition: opacity 1.4s; }
.hero__media img.is-loaded { opacity: 1; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,39,67,.92) 0%, rgba(8,39,67,.72) 40%, rgba(8,39,67,.25) 80%, rgba(8,39,67,.55) 100%),
    linear-gradient(180deg, rgba(8,39,67,.55) 0%, rgba(8,39,67,0) 30%, rgba(8,39,67,.35) 70%, rgba(8,39,67,.95) 100%);
}
.hero__inner { position: relative; padding-bottom: clamp(48px, 6vw, 80px); }
.hero__eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }
.hero__title { font-size: var(--fs-hero); max-width: none; }
.hero__title .nw { white-space: nowrap; }
.hero__title em { font-style: normal; color: var(--cyan); }
.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero__lead { max-width: 56ch; font-size: var(--fs-lead); color: rgba(255,255,255,.85); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__rings { position: absolute; right: var(--gutter); top: 50%; width: clamp(200px, 26vw, 420px); transform: translateY(-58%); opacity: .55; pointer-events: none; z-index: -1; }
.hero__rings .spin { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.hero__rings .spin-rev { transform-origin: 50% 50%; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__flow { position: absolute; left: -5%; right: -5%; bottom: 8%; height: 40vh; z-index: -1; opacity: .45; pointer-events: none; }
.hero__flow path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 3s var(--ease) .6s forwards; }
.hero__flow .f1 { stroke: #fff; }
.hero__flow .f2 { stroke: var(--cyan); animation-delay: .75s; }
.hero__flow .f3 { stroke: var(--blue); animation-delay: .9s; }
.hero__flow .f4 { stroke: rgba(234,244,252,.6); animation-delay: 1.05s; }
.hero__flow g { animation: float 9s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-18px); } }

.hero__strip { position: relative; border-top: 1px solid var(--line-light); }
.hero__strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 36px; padding-block: 22px; }
.strip-item { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); display: inline-flex; gap: 10px; }
.strip-item b { color: var(--white); font-weight: 600; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 100%; margin-bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 54px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--cyan); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 960px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__rings { display: none; }
  .scroll-cue { display: none; }
}

/* Hero interne (pages) */
.hero-page { position: relative; padding: calc(var(--nav-h) + clamp(48px, 8vw, 104px)) 0 clamp(40px, 5vw, 72px); background: var(--deep); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-page__bg { position: absolute; inset: 0; z-index: -1; }
.hero-page__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.06); }
.hero-page__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,39,67,.75), rgba(8,39,67,.6) 60%, var(--deep)); }
.hero-page .h1 { max-width: 16ch; margin-top: 22px; }
.hero-page .lead { max-width: 60ch; margin-top: 28px; color: rgba(255,255,255,.82); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.crumbs a { display: inline-block; padding: 10px 0; }
.crumbs a:hover { color: var(--cyan); }
.hero-page__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(36px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-light); }
.hero-page__rings { position: absolute; right: -4%; top: 50%; width: clamp(280px, 34vw, 560px); transform: translateY(-50%); opacity: .25; z-index: -1; pointer-events: none; }

/* ---------- 8. Marquee ---------- */
.marquee { overflow: hidden; padding-block: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bone); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 22px; padding-inline: 22px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(.95rem, 1.35vw, 1.25rem); letter-spacing: .06em; line-height: 1; color: var(--navy); white-space: nowrap; }
.marquee__item i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(10,148,242,.15); flex: none; }
.marquee--dark { background: var(--deep); border-color: var(--line-light); }
.marquee--dark .marquee__item { color: rgba(255,255,255,.85); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Manifeste / chiffres ---------- */
.manifesto { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; width: min(100%, 1140px); margin-inline: auto; }
.manifesto .h2 { max-width: 12ch; }
.manifesto__text { display: grid; gap: 24px; max-width: none; }
.manifesto__text p { font-size: 1.08rem; line-height: 1.7; color: rgba(5,47,86,.85); }
.manifesto__text p:first-child { font-size: var(--fs-lead); color: var(--navy); }
@media (max-width: 960px) { .manifesto { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: clamp(44px, 5.5vw, 76px) auto 0; width: min(100%, 1140px); }
.stat { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); position: relative; }
.stat + .stat { padding-left: 28px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.01em; color: var(--navy); display: flex; align-items: baseline; gap: 4px; }
.stat__num small { font-size: .38em; color: var(--cyan); font-family: var(--font-mono); letter-spacing: .06em; font-weight: 500; }
.stat__label { margin-top: 12px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-text); }
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { padding-left: 0; }
  .stat:nth-child(even) { padding-left: 28px; }
  .stat:nth-child(odd)::before { display: none; }
}
@media (max-width: 520px) {
  .stat { padding: 20px 10px 20px 0; }
  .stat:nth-child(even) { padding-left: 18px; }
  .stat + .stat::before { top: 18px; bottom: 18px; }
  .stat__label { margin-top: 8px; }
}

/* ---------- 10. Expertises ---------- */
.expertises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.exp-card {
  position: relative; display: flex; flex-direction: column; min-height: 460px;
  padding: 30px 28px; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), color .5s;
}
.exp-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform .8s var(--ease); border-radius: inherit; }
.exp-card:hover { color: var(--white); transform: translateY(-8px); box-shadow: 0 40px 60px -30px rgba(5,47,86,.5); }
.exp-card:hover::before { transform: translateY(0); }
.exp-card__num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--steel-text); transition: color .5s; }
.exp-card:hover .exp-card__num { color: var(--cyan); }
.exp-card__ico { width: 64px; height: 64px; margin-top: 32px; }
.exp-card__ico svg { width: 100%; height: 100%; }
.picto { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--navy); }
.picto .ac { stroke: var(--cyan); }
.exp-card:hover .picto { color: var(--white); }
.picto .dr { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s var(--ease); }
.is-in .picto .dr, .exp-card:hover .picto .dr { stroke-dashoffset: 0; }
.exp-card__title { margin-top: auto; padding-top: 40px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 2.1vw, 2.2rem); line-height: .95; }
.exp-card__desc { margin-top: 14px; font-size: .93rem; line-height: 1.55; color: var(--steel-text); transition: color .5s; }
.exp-card:hover .exp-card__desc { color: rgba(255,255,255,.75); }
.exp-card__more { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; color: var(--blue); transition: color .5s; }
.exp-card:hover .exp-card__more { color: var(--cyan); }
.exp-card__more svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.exp-card:hover .exp-card__more svg { transform: translateX(6px); }
.exp-card__glow { position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(10,148,242,.45), transparent 65%); opacity: 0; transition: opacity .8s; z-index: -1; }
.exp-card:hover .exp-card__glow { opacity: 1; }
@media (max-width: 1200px) { .expertises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .expertises { grid-template-columns: 1fr; } .exp-card { min-height: 380px; } }

/* ---------- 11. Section scrub (coupe sous la ville) ---------- */
.scrub { position: relative; height: 230vh; }
.scrub__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.scrub__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.scrub__head .h2 { margin-top: 18px; font-size: clamp(2rem, 3.6vw, 3.9rem); }
.scrub__head .lead { margin-top: 20px; max-width: 46ch; font-size: 1.05rem; }
.steps { margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line-light); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); opacity: .6; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step__n { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--cyan); padding-top: 5px; }
.step strong { display: block; font-weight: 600; font-size: .98rem; }
.step span { display: block; font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.step.is-active span { max-height: 80px; }
.step__bar { grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.step__bar i { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: var(--cyan); transition: width .1s linear; }
.coupe { width: 100%; height: auto; }
.coupe text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; fill: rgba(255,255,255,.55); text-transform: uppercase; }
.coupe .ground { stroke: rgba(255,255,255,.07); }
.coupe .lbl-live { fill: var(--cyan); }
.scrub__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 1px; background: rgba(255,255,255,.12); }
.scrub__progress i { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--cyan); }
.scrub__progress b { position: absolute; right: 0; bottom: 12px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; color: rgba(255,255,255,.5); font-weight: 500; }
@media (max-height: 760px) and (min-width: 961px) {
  .scrub__stage { align-items: start; padding-top: calc(var(--nav-h) + 10px); }
  .scrub__head .lead { display: none; }
}
@media (max-width: 960px) {
  .scrub { height: auto; }
  .scrub__stage { position: relative; height: auto; padding-block: var(--section); overflow: visible; }
  .scrub__grid { grid-template-columns: 1fr; }
  .step { opacity: 1; }
  .step.is-active strong { color: var(--cyan); }
  .step span { max-height: none; }
  .scrub__progress { display: none; }
}

/* ---------- 12. Bloc image + texte ---------- */
.feature { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.feature--rev > :first-child { order: 2; }
.feature__media { position: relative; }
.feature__media .mask { aspect-ratio: 4 / 3.3; }
.feature__media .mask img { will-change: transform; }
.feature__tag { position: absolute; left: 22px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(8,39,67,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.feature__tag { font-size: .7rem; }
.feature__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(10,148,242,.25); }
.feature__body .h2 { margin-top: 20px; }
.feature__body .lead { margin-top: 24px; }
.feature__body p + p { margin-top: 16px; }
.feature__body .btn { margin-top: 34px; }
.checks { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.checks li svg { width: 22px; height: 22px; margin-top: 2px; }
.checks strong { display: block; font-weight: 600; }
.checks span { display: block; font-size: .9rem; color: var(--steel-text); margin-top: 2px; }
.bg-navy .checks, .bg-deep .checks { border-color: var(--line-light); }
.bg-navy .checks li, .bg-deep .checks li { border-color: var(--line-light); }
.bg-navy .checks span, .bg-deep .checks span { color: rgba(255,255,255,.6); }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } .feature--rev > :first-child { order: 0; } }

/* ---------- 13. Réalisations (défilement horizontal) ---------- */
.hscroll { position: relative; height: 380vh; }
.hscroll__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 36px; }
.hscroll__track { display: flex; gap: 24px; padding-left: var(--gutter); will-change: transform; }
.work { position: relative; flex: none; width: clamp(320px, 46vw, 700px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--navy); isolation: isolate; }
.work img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); will-change: transform; }
.work:hover img { transform: scale(1.0); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,39,67,0) 32%, rgba(8,39,67,.55) 62%, rgba(8,39,67,.9)); }
.work__cap { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: var(--white); display: grid; gap: 8px; }
.work__cap .mono { color: var(--cyan); text-shadow: 0 1px 2px rgba(8,39,67,.7), 0 0 12px rgba(8,39,67,.6); }
.work__cap strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(1.4rem, 2vw, 2rem); line-height: .95; }
.work__cap span { font-size: .88rem; color: rgba(255,255,255,.72); }
.work--text { background: var(--white); color: var(--navy); display: flex; flex-direction: column; justify-content: space-between; padding: 32px; box-shadow: 0 0 0 1px var(--line); width: clamp(280px, 30vw, 420px); }
.work--text::after { display: none; }
.work--text .h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.7rem, 2.3vw, 2.3rem); font-weight: 700; line-height: .95; max-width: 13ch; }
.hscroll__progress { margin-top: 36px; height: 1px; background: var(--line); position: relative; }
.hscroll__progress i { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--cyan); }
@media (max-width: 960px) {
  .hscroll { height: auto; }
  .hscroll__stage { position: relative; height: auto; padding-block: var(--section); overflow: visible; }
  .hscroll__track { flex-direction: column; padding-left: 0; transform: none !important; }
  .work { width: 100%; }
  .work--text { width: 100%; }
  .hscroll__progress { display: none; }
}

/* Galerie (page réalisations) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 12px 18px; min-height: 44px; border-radius: 999px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s; }
.filters button:hover { background: var(--ice); }
.filters button.is-active { background: var(--navy); color: var(--white); box-shadow: none; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 48px; }
.gallery .work { width: auto; aspect-ratio: auto; min-height: 380px; grid-column: span 6; transition: opacity .5s, transform .6s var(--ease); }
.gallery .work.span-8 { grid-column: span 8; }
.gallery .work.span-4 { grid-column: span 4; }
.gallery .work.is-hidden { display: none; }
@media (max-width: 960px) { .gallery .work, .gallery .work.span-8, .gallery .work.span-4 { grid-column: span 12; min-height: 300px; } }

/* ---------- 14. Frise (histoire) ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__line { position: absolute; left: 11px; top: 0; width: 1px; height: calc(var(--p, 0) * 100%); background: var(--cyan); transition: height .2s linear; }
.tl { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0 28px 48px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 36px; width: 11px; height: 11px; border-radius: 50%; background: var(--bone); box-shadow: inset 0 0 0 2px var(--steel); transition: box-shadow .4s, background .4s; }
.tl.is-in::before { background: var(--cyan); box-shadow: 0 0 0 5px rgba(10,148,242,.18); }
.tl__year { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; color: var(--navy); }
.tl__year small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-text); margin-top: 8px; font-weight: 500; }
.tl h3 { font-size: 1.25rem; font-weight: 600; }
.tl p { margin-top: 8px; color: rgba(5,47,86,.8); max-width: 60ch; }
@media (max-width: 720px) { .tl { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- 15. Engagements / valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-light); display: flex; flex-direction: column; gap: 22px; min-height: 280px; transition: background .5s, transform .7s var(--ease); }
.value:hover { background: rgba(255,255,255,.07); transform: translateY(-6px); }
.value .picto { color: var(--white); width: 52px; height: 52px; }
.value strong { display: block; font-size: 1.15rem; font-weight: 600; }
.value .picto { margin-bottom: 6px; }
.value p { font-size: .92rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.value .exp-card__num { color: var(--cyan); }
.values--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .values, .values--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values, .values--3 { grid-template-columns: 1fr; } }

/* Liste clients / donneurs d'ordre */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.client { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 500; }
.client:nth-child(odd) { padding-right: 40px; }
.client:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
.client .mono { color: var(--steel-text); }
@media (max-width: 760px) { .clients { grid-template-columns: 1fr; } .client:nth-child(even) { padding-left: 0; border-left: 0; } .client:nth-child(odd) { padding-right: 0; } }

/* ---------- 16. Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 100%, rgba(10,148,242,.45), transparent 70%); }
.cta-band__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.cta-band .h2 { margin-top: 20px; max-width: 18ch; font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.cta-band .lead { margin-top: 20px; max-width: 48ch; color: rgba(255,255,255,.82); }
.cta-band__side { display: grid; gap: 18px; justify-items: start; }
.cta-band__side .mono { color: rgba(255,255,255,.55); }
.cta-band__contact { font-family: var(--font-mono); font-size: 1.1rem; letter-spacing: .04em; font-weight: 500; }
.cta-band__contact a:hover { color: var(--cyan); }
.cta-band__flow { position: absolute; right: -10%; bottom: -20%; width: 70%; opacity: .3; z-index: -1; pointer-events: none; }
@media (max-width: 960px) { .cta-band__grid { grid-template-columns: 1fr; } }

/* ---------- 17. Pied de page ---------- */
.footer { background: var(--deep); color: rgba(255,255,255,.72); padding: clamp(56px, 6.5vw, 88px) 0 clamp(90px, 11vw, 170px); position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 40px; }
.footer__logo { width: 190px; }
.footer__tagline { margin-top: 26px; max-width: 34ch; font-size: .95rem; line-height: 1.6; }
.footer__h { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin: 0 0 16px; font-weight: 500; }
.footer li + li { margin-top: 2px; }
.footer a { transition: color .3s; }
.footer li a { display: inline-block; padding: 8px 0; }
.footer address a { display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--white); }
.footer address { font-style: normal; line-height: 1.7; }
.footer__mono { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; }
.footer__bottom { margin-top: clamp(36px, 4.5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.footer__bottom a { display: inline-block; padding: 6px 0; }
.footer__bottom a:hover { color: var(--cyan); }
.footer__right { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.footer__bottom .pmc { display: inline-flex; align-items: center; gap: 14px; padding: 9px 14px 9px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-light); text-transform: none; letter-spacing: 0; transition: background .3s, box-shadow .3s, transform .5s var(--ease); }
.pmc:hover { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); transform: translateY(-2px); color: inherit; }
.pmc img { height: 28px; width: auto; }
.pmc small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); white-space: nowrap; }
.pmc strong { display: block; font-family: var(--font-body); font-size: .84rem; font-weight: 600; color: var(--white); letter-spacing: 0; }
.pmc:hover small { color: var(--white); }
.footer__big { position: absolute; left: 0; right: 0; bottom: -0.16em; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(3.4rem, 14.5vw, 15rem); line-height: 1; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09); text-align: center; pointer-events: none; user-select: none; white-space: nowrap; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 18. Pages expertises ---------- */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); }
.intro .h2 { max-width: 14ch; }
.intro__text { display: grid; gap: 20px; }
.intro__text p { font-size: 1.08rem; line-height: 1.7; color: rgba(5,47,86,.85); }
.intro__text p:first-child { font-size: var(--fs-lead); color: var(--navy); }
@media (max-width: 960px) { .intro { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 30px 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 22px; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(5,47,86,.35), 0 0 0 1px var(--line); }
.service .picto { width: 48px; height: 48px; }
.service strong { display: block; font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.service p { font-size: .93rem; color: rgba(5,47,86,.75); line-height: 1.6; }
.service .mono { color: var(--steel-text); }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

.process { counter-reset: p; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.process__item { padding: 32px 28px 40px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); position: relative; min-height: 260px; display: flex; flex-direction: column; }
.process__item .mono { color: var(--cyan); }
.process__item strong { display: block; font-size: 1.15rem; font-weight: 600; margin-top: 40px; }
.process__item p { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.process__item .picto { color: var(--white); width: 44px; height: 44px; margin-top: auto; padding-top: 24px; box-sizing: content-box; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; font-weight: 500; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

.spec { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.spec:first-child { border-top: 1px solid var(--line); }
.spec b { font-family: var(--font-mono); font-weight: 600; letter-spacing: .06em; color: var(--blue); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a { display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); min-height: 220px; transition: transform .6s var(--ease), background .5s, color .5s; }
.related a:hover { background: var(--navy); color: var(--white); transform: translateY(-6px); }
.related a:hover .picto { color: var(--white); }
.related .picto { width: 40px; height: 40px; }
.related strong { margin-top: auto; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 1.6rem; line-height: .95; }
.related .mono { color: var(--steel-text); }
.related a:hover .mono { color: var(--cyan); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* Bande photo parallaxe pleine largeur */
.band { position: relative; height: clamp(360px, 60vh, 640px); overflow: hidden; }
.band picture { position: absolute; inset: 0; }
.band img { width: 100%; height: 130%; object-fit: cover; position: absolute; top: -15%; left: 0; will-change: transform; }
.band__cap { position: absolute; left: var(--gutter); bottom: 32px; color: var(--white); z-index: 2; display: grid; gap: 8px; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,39,67,.1), rgba(8,39,67,.6)); }

/* ---------- 19. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list .mono { color: var(--steel-text); padding-top: 4px; }
.contact-list a { font-weight: 500; display: inline-block; padding: 8px 0; }
.contact-list a:hover { color: var(--cyan); }
.form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-text); }
.field input, .field textarea, .field select { width: 100%; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bone); font: inherit; color: var(--navy); transition: border-color .3s, box-shadow .3s, background .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 4px rgba(10,148,242,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__note { font-size: .82rem; color: var(--steel-text); max-width: 44ch; }
.form__status { font-size: .9rem; font-weight: 500; color: var(--blue); min-height: 1.4em; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16 / 8; filter: saturate(.6) contrast(1.05); }
.map iframe { width: 100%; height: 100%; border: 0; }
.hq { display: grid; grid-template-columns: 1fr; gap: 20px; }
.hq__img { border-radius: var(--radius); overflow: hidden; }
.hq__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } .contact-list li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 20. Page mentions / prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--font-body); text-transform: none; font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; margin: 48px 0 14px; line-height: 1.2; }
.prose p { margin: 0 0 14px; line-height: 1.7; color: rgba(5,47,86,.85); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }

/* ---------- 21. Divers ---------- */
.id-card { display: grid; gap: 0; }
.id-card .spec { grid-template-columns: 180px 1fr; }
.id-card .spec b { color: var(--navy); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.id-card .spec .mono { color: var(--steel-text); }
.mosaic { display: grid; grid-template-columns: 7fr 5fr; gap: 18px; }
.mosaic .mask { aspect-ratio: 4 / 3; }
.mosaic .mask:nth-child(2) { aspect-ratio: 4 / 4.2; }
@media (max-width: 800px) { .mosaic { grid-template-columns: 1fr; } }
.quote { position: relative; padding-left: clamp(28px, 4vw, 56px); border-left: 2px solid var(--cyan); font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1; max-width: 22ch; }
.quote footer { margin-top: 20px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--steel-text); text-transform: uppercase; font-weight: 500; }
.rings-bg { position: absolute; right: -6%; top: 50%; width: clamp(300px, 36vw, 620px); transform: translateY(-50%); opacity: .08; pointer-events: none; }
@media (max-width: 960px) { .rings-bg { display: none; } }

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .stagger > *, [data-split] .wi, .mask, .mask img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .loader { display: none; }
}

/* ---------- 22. Bureau d'études & innovation ---------- */
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: 18px; }
.panel { position: relative; border-radius: var(--radius); padding: clamp(28px, 3.5vw, 48px); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.panel--white { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.panel--navy { background: var(--navy); color: var(--white); }
.panel--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(10,148,242,.35), transparent 70%); }
.panel__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: .95; margin-top: 18px; max-width: 18ch; }
.panel .lead { margin-top: 16px; font-size: 1.05rem; }
.panel--navy .lead { color: rgba(255,255,255,.82); }
.panel--navy .checks span { color: rgba(255,255,255,.6); }
.panel .checks { margin-top: 24px; }
.panel__facts { display: flex; flex-wrap: wrap; gap: 24px 44px; margin-top: auto; padding-top: 32px; }
.fact b { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1; }
.fact b small { font-size: .4em; font-family: var(--font-mono); color: var(--cyan); letter-spacing: .04em; }
.fact > span { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 8px; }
.ric { width: 100%; max-width: 340px; margin: 28px auto 0; }
.ric .sweep { transform-origin: 160px 150px; animation: spin 7s linear infinite; }
.ric .pulse { transform-origin: 160px 150px; animation: pulse 3.2s ease-out infinite; }
.ric .pulse:nth-child(2) { animation-delay: 1.1s; }
.ric .pulse:nth-child(3) { animation-delay: 2.2s; }
.ric text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; fill: rgba(255,255,255,.6); text-transform: uppercase; }
@keyframes pulse { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 1000px) { .duo { grid-template-columns: 1fr; } }

/* ---------- 23. Qualifications & labels ---------- */
.labels { margin-top: clamp(32px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 220px 1fr; gap: 20px 40px; align-items: start; }
.labels__list { display: flex; flex-wrap: wrap; gap: 10px; }
.labels__list span { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-light); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.labels__list span b { color: var(--cyan); font-weight: 600; }
.labels--light { border-color: var(--line); }
.labels--light .labels__list span { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--navy); }
.labels--light .labels__list span b { color: var(--blue); }
@media (max-width: 760px) { .labels { grid-template-columns: 1fr; } }

/* ---------- 24. Histoire (accueil) : citation + frise compacte ---------- */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 6vw, 84px); }
.timeline--compact .tl { grid-template-columns: 110px 1fr; padding: 14px 0 14px 40px; gap: 16px; }
.timeline--compact .tl::before { top: 22px; }
.timeline--compact .tl__year { font-size: clamp(1.5rem, 2vw, 2rem); }
.timeline--compact .tl__year small { margin-top: 4px; }
.timeline--compact .tl h3 { font-size: 1rem; }
.timeline--compact .tl p { font-size: .88rem; margin-top: 4px; color: var(--steel-text); }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .timeline--compact .tl { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 25. Contact (accueil) ---------- */
.contact-home { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-home .h2 { margin-top: 20px; max-width: 16ch; }
.contact-home .lead { margin-top: 20px; max-width: 44ch; }
@media (max-width: 960px) { .contact-home { grid-template-columns: 1fr; } }

/* ---------- 26. Photo RIC avec balayage + logos labels ---------- */
.scan { position: relative; border-radius: var(--radius-sm); overflow: hidden; margin-top: 28px; aspect-ratio: 16 / 9; background: var(--deep); }
.scan img { width: 100%; height: 100%; object-fit: cover; }
.scan::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,47,86,0) 60%, rgba(5,47,86,.6)); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--cyan); box-shadow: 0 0 18px 4px rgba(10,148,242,.55); animation: scan 3.4s var(--ease-io) infinite alternate; }
.scan__tag { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 8px; }
.scan__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink 1.4s infinite; }
@keyframes scan { from { top: 4%; } to { top: 94%; } }
@keyframes blink { 50% { opacity: .2; } }
.labels__logos { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.labels__logos img { height: 76px; width: auto; background: var(--white); border-radius: 10px; padding: 8px; }

/* ---------- 27. Affinages mobile ---------- */
@media (max-width: 960px) {
  .coupe text { font-size: 22px; }
  .section-head { align-items: start; }
  .map { aspect-ratio: 4 / 3; }
  .hero-page__meta { gap: 10px 28px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .exp-card { min-height: 0; }
  .exp-card__title { padding-top: 24px; }
  .form .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__title { font-size: clamp(2rem, 9vw, 3.4rem); }
  .stat__num { font-size: 3rem; }
  .panel { padding: 24px 20px; }
  .value { min-height: 0; }
  .work__cap { left: 18px; right: 18px; bottom: 18px; }
  .btn { padding: 16px 22px 16px 24px; }
}

/* ---------- 28. Sélecteur de langue (drapeaux) ---------- */
.langs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--nav-fg) 22%, transparent); }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; line-height: 1; transition: background .3s, opacity .3s; opacity: .55; }
.lang:hover { opacity: 1; background: color-mix(in srgb, var(--nav-fg) 10%, transparent); }
.lang.is-active { opacity: 1; background: color-mix(in srgb, var(--nav-fg) 14%, transparent); }
.flag { width: 21px; height: 15px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.14); }
.lang__code { font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em; }
@media (max-width: 900px) { .lang__code { display: none; } .lang { padding: 6px; } }
.langs--menu { display: flex; margin: 34px 0 0; align-self: flex-start; --nav-fg: #fff; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.24); }
.langs--menu .lang__code { display: inline; font-size: .72rem; }
.langs--menu .lang { padding: 10px 14px; }

/* ---------- 29. Typographie chinoise ---------- */
html[lang="zh-Hans"] {
  /* Pile système CJK : rendu natif sur chaque plateforme, aucun téléchargement de police.
     Une police chinoise auto-hébergée coûterait plusieurs centaines de Ko par page. */
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-display: var(--font-cjk);
  --font-body: var(--font-cjk);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, var(--font-cjk);
}
html[lang="zh-Hans"] .display, html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] .exp-card__title, html[lang="zh-Hans"] .panel__title, html[lang="zh-Hans"] .quote,
html[lang="zh-Hans"] .work__cap strong, html[lang="zh-Hans"] .related strong, html[lang="zh-Hans"] .marquee__item,
html[lang="zh-Hans"] .menu__list a, html[lang="zh-Hans"] .work--text .h3 { letter-spacing: .01em; line-height: 1.18; font-weight: 700; }
html[lang="zh-Hans"] .hero__title { line-height: 1.14; }
html[lang="zh-Hans"] .stat__num, html[lang="zh-Hans"] .tl__year, html[lang="zh-Hans"] .fact b { font-family: var(--font-display); letter-spacing: 0; line-height: 1.05; }
html[lang="zh-Hans"] .mono, html[lang="zh-Hans"] .eyebrow, html[lang="zh-Hans"] .stat__label, html[lang="zh-Hans"] .strip-item,
html[lang="zh-Hans"] .field label, html[lang="zh-Hans"] .crumbs, html[lang="zh-Hans"] .labels__list span,
html[lang="zh-Hans"] .footer__h, html[lang="zh-Hans"] .footer__bottom, html[lang="zh-Hans"] .filters button,
html[lang="zh-Hans"] .work__cap .mono, html[lang="zh-Hans"] .fact > span, html[lang="zh-Hans"] .tl__year small { letter-spacing: .06em; }
html[lang="zh-Hans"] .footer__big { letter-spacing: .04em; font-size: clamp(3rem, 12vw, 12rem); }
html[lang="zh-Hans"] body { line-height: 1.75; }
html[lang="zh-Hans"] .lead { line-height: 1.7; }
/* l'anglais garde la police latine ; libellés un peu plus serrés */
html[lang="en"] .mono, html[lang="en"] .eyebrow { letter-spacing: .12em; }

/* le libellé chinois du bouton d'appel est court : on garde le pictogramme plus lisible */
html[lang="zh-Hans"] .nav__call, html[lang="zh-Hans"] .btn { white-space: nowrap; }
html[lang="zh-Hans"] .brand__sub { letter-spacing: .3em; }

/* ---------- 30. Vignettes floutées (LQIP) ----------
   Chaque conteneur d'image porte en style une miniature de 16 px encodée dans le HTML
   (~400 octets). Le bloc affiche donc les couleurs de la photo dès le premier rendu,
   au lieu d'une zone vide pendant le téléchargement. Le navigateur lisse l'agrandissement. */
.mask, .work, .scan, .hq__img, .hero-page__bg, .hero__media, .band {
  background-image: var(--lqip); background-size: cover; background-position: center; background-repeat: no-repeat;
}
.work--text { background-image: none; }
/* l'image réelle apparaît en fondu par-dessus la vignette */
.work img, .scan img, .hq__img img, .band img { opacity: 0; transition: opacity .5s var(--ease); }
.work.img-ready img, .scan.img-ready img, .hq__img.img-ready img, .band.img-ready img,
.no-js .work img, .no-js .scan img, .no-js .hq__img img, .no-js .band img { opacity: 1; }

/* ---------- 31. Cartes chantiers & galerie plein écran ---------- */
.project { cursor: pointer; scroll-margin-top: 110px; }
.project:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.project.is-target { box-shadow: 0 0 0 3px var(--cyan), 0 30px 60px -30px rgba(5,47,86,.5); }
.gallery { grid-auto-flow: dense; }
.gallery .work__cap > span:not(.mono):not(.work__count) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work__count { display: inline-flex; align-items: center; gap: 7px; width: max-content; margin-top: 10px; padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.work__count::before { content: ""; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: 3px -3px 0 -1px currentColor; margin: 2px 2px 0 0; opacity: .85; }
.work__count b { font-weight: 600; }

.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; grid-template-rows: minmax(0, 1fr) auto; opacity: 0; transition: opacity .35s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8,39,67,.96); }
.lightbox__stage { position: relative; z-index: 1; display: grid; place-items: center; padding: clamp(60px, 8vh, 84px) clamp(64px, 8vw, 128px) 12px; min-height: 0; }
.lightbox__slide { width: 100%; height: 100%; display: grid; place-items: center; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 210px); max-height: calc(100svh - 210px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); animation: lbIn .45s var(--ease); }
.lightbox__img.from-right { animation-name: lbRight; }
.lightbox__img.from-left { animation-name: lbLeft; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lbRight { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes lbLeft { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 3; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); transition: background .3s, transform .4s var(--ease); }
.lightbox__close { top: 18px; right: 18px; width: 52px; height: 52px; }
.lightbox__nav { top: 50%; width: 56px; height: 56px; transform: translateY(-50%); }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--cyan); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 8px clamp(20px, 4vw, 64px) clamp(20px, 3vh, 32px); color: var(--white); }
.lightbox__kicker { display: block; color: var(--cyan); margin-bottom: 6px; }
.lightbox__title { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.8rem); line-height: 1; }
.lightbox__desc { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.72); max-width: 72ch; }
.lightbox__counter { flex: none; color: rgba(255,255,255,.75); }
@media (max-width: 700px) {
  .lightbox__stage { padding: 68px 14px 8px; }
  .lightbox__img { max-height: calc(100svh - 236px); }
  /* flèches regroupées en bas à droite, texte à gauche : plus de chevauchement */
  .lightbox__nav { top: auto; bottom: 20px; transform: none; width: 46px; height: 46px; }
  .lightbox__nav:hover { transform: none; }
  .lightbox__prev { left: auto; right: 66px; } .lightbox__next { right: 14px; }
  .lightbox__desc { display: none; }
  .lightbox__bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 124px 22px 16px; }
  .lightbox__title { font-size: 1.05rem; }
}
html[lang="zh-Hans"] .lightbox__title { letter-spacing: .02em; line-height: 1.2; }
@media (prefers-reduced-motion: reduce) { .lightbox__img { animation: none; } }

/* ---------- 32. Blog ---------- */
.dropdown--sm { min-width: 320px; }
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 95; background: transparent; pointer-events: none; }
.readbar i { display: block; height: 100%; width: calc(var(--read, 0) * 100%); background: var(--cyan); box-shadow: 0 0 12px rgba(10,148,242,.6); transition: width .12s linear; }

/* Article à la une */
.feature-post { position: relative; display: grid; align-items: end; min-height: clamp(420px, 56vh, 620px); border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--white); isolation: isolate; }
.feature-post picture { position: absolute; inset: 0; z-index: 0; }
.feature-post img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.feature-post:hover img { transform: scale(1); }
.feature-post::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,39,67,.92) 0%, rgba(8,39,67,.72) 45%, rgba(8,39,67,.15) 100%), linear-gradient(180deg, rgba(8,39,67,0) 40%, rgba(8,39,67,.7) 100%); }
.feature-post__body { position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px); max-width: 720px; display: grid; gap: 16px; justify-items: start; }
.feature-post__label { color: var(--cyan); }
.feature-post__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: .96; letter-spacing: -.005em; margin: 0; }
.feature-post__body p { font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.8); margin: 0; max-width: 58ch; }
.feature-post__meta { color: rgba(255,255,255,.65); }
.feature-post .btn { margin-top: 6px; }

/* Cartes d'articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -30px rgba(5,47,86,.4), 0 0 0 1px var(--line); }
.post.is-hidden { display: none; }
.post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); isolation: isolate; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.post:hover .post__media img { transform: scale(1); }
.post__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,39,67,0) 45%, rgba(8,39,67,.75)); }
.post__kicker { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--cyan); text-shadow: 0 1px 2px rgba(8,39,67,.7); }
.post__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.post__meta .mono { color: var(--steel-text); font-size: .72rem; }
.post__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: .98; letter-spacing: -.005em; margin: 0; }
.post__title a { transition: color .3s; }
.post__title a:hover { color: var(--blue); }
.post__excerpt { font-size: .93rem; line-height: 1.6; color: rgba(5,47,86,.78); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.post .link-arrow { margin-top: auto; padding-top: 6px; }
.posts--3 .post__excerpt { -webkit-line-clamp: 2; }
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: clamp(40px, 5vw, 64px) 0 28px; }
.blog-toolbar .filters { flex: 1 1 auto; }
.blog-toolbar__rss { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-text); }
.blog-toolbar__rss:hover { color: var(--blue); }
.blog-toolbar__rss svg { width: 14px; height: 14px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager__link { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--font-mono); font-size: .8rem; }
.pager__link.is-active { background: var(--navy); color: var(--white); box-shadow: none; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .feature-post { min-height: 420px; } }

/* Page article */
.hero-page--article .h1 { font-size: clamp(2rem, 4.4vw, 4.2rem); max-width: 24ch; }
.hero-page--article .hero-page__bg img { opacity: .38; }
.hero-page--article .hero-page__bg::after { background: linear-gradient(180deg, rgba(8,39,67,.7), rgba(8,39,67,.55) 55%, var(--deep)); }
.article-grid { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(280px, 4.6fr); gap: clamp(32px, 5vw, 88px); align-items: stretch; }
.article { max-width: 74ch; counter-reset: h2; }
.article > p:first-of-type { font-size: 1.2rem; line-height: 1.6; color: var(--navy); padding-left: 22px; border-left: 3px solid var(--cyan); }
.article p { font-size: 1.05rem; line-height: 1.75; margin: 0 0 18px; color: rgba(5,47,86,.86); }
.article h2 { position: relative; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: -.005em; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; margin: 56px 0 18px; padding-top: 26px; color: var(--navy); scroll-margin-top: 110px; counter-increment: h2; }
.article h2::before { content: counter(h2, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 12px; }
.article h2::after { content: ""; position: absolute; top: 6px; left: 34px; width: 28px; height: 2px; background: var(--blue); border-radius: 2px; }
.article h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.22rem; margin: 34px 0 10px; letter-spacing: -.01em; scroll-margin-top: 110px; text-transform: none; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 20px; }
.article ul { list-style: disc; } .article ol { list-style: decimal; }
.article li { margin-bottom: 8px; line-height: 1.65; font-size: 1.02rem; color: rgba(5,47,86,.86); }
.article li::marker { color: var(--cyan); font-weight: 600; }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article a:hover { color: var(--cyan); }
.article blockquote { margin: 28px 0; padding: 22px 26px; border-left: 3px solid var(--cyan); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.08rem; }
.article blockquote p { margin: 0; }
.article strong { color: var(--navy); font-weight: 600; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .95rem; }
.article th, .article td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-text); }
.article img { border-radius: var(--radius-sm); margin: 8px 0 20px; }
/* FAQ en accordéon */
.faq { border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 0 0 1px var(--line); margin: 0 0 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 1.05rem; line-height: 1.35; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat; transition: transform .4s var(--ease), background .3s; }
.faq[open] summary::after { background: linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat; transform: rotate(180deg); }
.faq summary:hover { color: var(--blue); }
.faq__a { padding: 0 20px 18px; }
.faq__a p { margin: 0 0 10px; font-size: 1rem; }
/* Encadré final */
.article__summary { margin-top: 44px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--navy); color: var(--white); }
.article__summary h2 { color: var(--white); margin-top: 0; }
.article__summary h2::before { color: var(--cyan); } .article__summary h2::after { background: var(--cyan); }
.article__summary p { color: rgba(255,255,255,.82); }
.article__summary p:last-child { margin-bottom: 0; }
.article__summary a { color: var(--cyan); }
.article__foot { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.article__aside { min-width: 0; }
/* la colonne s'étire sur toute la hauteur de l'article : le bloc collant suit la lecture */
.article__aside { align-self: stretch; }
.aside-sticky { position: sticky; top: 92px; display: grid; gap: 14px; align-content: start; max-height: calc(100vh - 108px); overflow-y: auto; scrollbar-width: none; padding-bottom: 2px; }
.aside-sticky::-webkit-scrollbar { display: none; }
.aside-card { padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.aside-card__title { color: var(--steel-text); margin-bottom: 14px; display: block; }
.aside-card--toc summary { list-style: none; cursor: default; }
.aside-card--toc summary::-webkit-details-marker { display: none; }
.aside-card--navy { background: var(--navy); color: var(--white); box-shadow: none; display: grid; gap: 12px; justify-items: start; position: relative; overflow: hidden; isolation: isolate; }
.aside-card--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 100% 0%, rgba(10,148,242,.4), transparent 70%); }
.aside-card--navy strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.aside-card--navy p { font-size: .92rem; color: rgba(255,255,255,.72); margin: 0; }
.toc { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 9px 0; font-size: .92rem; line-height: 1.35; border-bottom: 1px solid var(--line); transition: color .3s, padding-left .3s; color: rgba(5,47,86,.75); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .68rem; color: var(--steel-text); padding-top: 3px; transition: color .3s; }
.toc a:hover, .toc a.is-active { color: var(--navy); font-weight: 600; }
.toc a.is-active::before { color: var(--cyan); }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .aside-sticky { position: static; } }

/* ---------- 33. Recrutement ---------- */
.job__profile { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--steel-text); }
.job__profile b { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 4px; font-weight: 600; }

/* ---------- 34. Passe UX mobile ---------- */
/* Retour tactile : pas de halo système, légère pression sur les éléments cliquables, aucun état « survol » figé */
@media (hover: none) and (pointer: coarse) {
  a, button, summary, .project { -webkit-tap-highlight-color: transparent; }
  .btn:active, .nav__call:active, .lang:active, .filters button:active, .pager__link:active, .chip:active, .link-arrow:active, .burger:active { transform: scale(.95); transition: transform .12s; }
  .exp-card:active, .service:active, .value:active, .post:active, .related a:active, .project:active, .work:active, .faq summary:active, .aside-card--toc summary:active { transform: scale(.985); transition: transform .15s; }
  .exp-card:hover, .service:hover, .value:hover, .post:hover, .related a:hover, .btn:hover, .pmc:hover { transform: none; box-shadow: none; }
  .exp-card:hover { box-shadow: 0 0 0 1px var(--line); }
  .post:hover { box-shadow: 0 0 0 1px var(--line); }
}

/* Réalisations (accueil) : carrousel à balayage horizontal, une carte et l'amorce de la suivante */
@media (max-width: 960px) {
  .hscroll__track { flex-direction: row; gap: 14px; padding: 4px var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hscroll__track .work { width: min(78vw, 440px); aspect-ratio: 5 / 6; min-height: 0; scroll-snap-align: start; }
  .hscroll__track .work--text { width: min(78vw, 440px); }
  .hscroll__progress { display: block; margin-top: 22px; }
  .hscroll__progress i { transition: width .15s linear; }
}

/* Sommaire d'article : replié en tête de l'article sur mobile, cartes latérales après le texte */
@media (max-width: 960px) {
  .article__aside, .aside-sticky { display: contents; }
  .article-grid { gap: 28px; }
  .article { max-width: none; }
  .aside-card--toc { order: -1; padding: 0; }
  .aside-card--toc summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 18px 20px; min-height: 56px; }
  .aside-card--toc summary::after { content: ""; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s; }
  .aside-card--toc[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .aside-card--toc .toc { padding: 0 20px 14px; }
}

@media (max-width: 640px) {
  /* En-tête compact : tient sur 360 px, cibles ≥ 36 px */
  .brand__mark { width: 40px; height: 40px; }
  .nav__inner { gap: 10px; }
  .nav__cta { gap: 6px; }
  .langs { padding: 2px; }
  .lang { padding: 9px 7px; }
  .flag { width: 22px; height: 16px; }
  .nav__call { padding: 11px 15px 11px 13px; font-size: .84rem; gap: 7px; }
  .burger { width: 44px; height: 44px; margin-right: -6px; }
  .burger span { left: 12px; }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 21px; }
  .burger span:nth-child(3) { top: 26px; }
  body.menu-open .burger span:nth-child(1), body.menu-open .burger span:nth-child(3) { top: 21px; }

  /* Menu plein écran : centré quand il y a la place, défilable depuis le haut sinon */
  .menu { justify-content: flex-start; padding: 96px var(--gutter) 40px; }
  .menu__list { margin-top: auto; }
  .menu__list a { padding: 6px 0; }
  .menu__sub { margin-top: 22px; gap: 6px 20px; }
  .menu__sub a { display: inline-block; padding: 6px 0; }
  .langs--menu { margin-top: 22px; }
  .menu__foot { padding-top: 22px; gap: 12px 28px; font-size: .88rem; }

  /* Photo du hero : sur téléphone c'est la version verticale qui est servie, cadrée au centre */
  .hero__media img { object-position: 50% 50%; }
  /* Hero : moins de hauteur avant les boutons */
  .hero__inner { padding-bottom: 28px; }
  .hero__row { margin-top: 22px; }
  .hero__lead { font-size: 1.02rem; }
  .hero__actions { margin-top: 22px; gap: 10px; }

  /* Libellés techniques lisibles (≥ 12 px) */
  .stat__label, .fact > span, .tl__year small, .field label, .footer__h, .aside-card__title, .labels__list span, .work__cap .mono { font-size: .75rem; }
  .strip-item, .crumbs, .eyebrow, .mono { font-size: .75rem; }
  .stat__num { font-size: 2.5rem; }
  .stat__num small { font-size: .42em; }

  /* Cartes : moins de vide vertical, pictos plus petits */
  .exp-card { padding: 24px 22px; }
  .exp-card__ico { margin-top: 20px; width: 52px; height: 52px; }
  .exp-card__title { padding-top: 20px; font-size: 1.6rem; }
  .service, .value { padding: 22px 20px; gap: 14px; }
  .service .picto { width: 40px; height: 40px; }
  .value .picto { width: 42px; height: 42px; margin-bottom: 0; }
  .process__item { min-height: 0; padding: 22px 20px 24px; }
  .process__item > .mono { order: -2; }
  .process__item .picto { order: -1; margin: 14px 0 0; padding-top: 0; width: 36px; height: 36px; }
  .process__item strong { margin-top: 14px; font-size: 1.08rem; }
  .related a { display: flex; flex-flow: row wrap; justify-content: center; align-items: center; gap: 0; text-align: center; min-height: 0; padding: 18px 20px; }
  .related .mono { order: -1; flex: 0 0 100%; margin-bottom: 8px; }
  .related .picto { flex: none; width: 34px; height: 34px; margin-right: 12px; }
  .related strong { margin-top: 0; font-size: 1.25rem; max-width: calc(100% - 46px); }
  .panel__facts { gap: 18px 28px; padding-top: 24px; }
  .client { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 0; font-size: 1.05rem; }
  .spec, .id-card .spec { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .labels__logos img { height: 60px; }
  .band { height: 300px; }

  /* Bandeau CTA et pied de page */
  .cta-band { padding: 40px 24px 36px; }
  .cta-band__grid { gap: 28px; }
  .cta-band .h2 { font-size: 2rem; }
  .cta-band__side .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__logo { width: 160px; }
  .footer__bottom { gap: 14px 24px; }
}

@media (max-width: 640px) {
  /* Dernières cibles tactiles (≥ 40 px) et textes secondaires */
  .lang { padding: 10px 7px; }
  .crumbs a { padding: 11px 0; }
  .toc a { padding: 10px 0; }
  .link-arrow { padding: 10px 0; }
  .blog-toolbar__rss { padding: 11px 0; }
  .cta-band__contact a, .hero-page__meta a, .menu__foot a { display: inline-block; padding: 9px 0; margin: -9px 0; }
  .footer address a { padding: 9px 0; }
  .footer__bottom a { padding: 11px 0; }
  .quote footer, .pmc small { font-size: .75rem; }
}
/* Champ anti-spam : hors écran sans déborder de la page */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; font-size: 16px; }

/* Très petits écrans (≤ 400 px) : bouton d'appel réduit au pictogramme, libellé conservé pour les lecteurs d'écran */
@media (max-width: 400px) {
  .nav__call { position: relative; width: 42px; height: 42px; padding: 0; justify-content: center; gap: 0; }
  .nav__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__call svg { width: 18px; height: 18px; }
}

/* ---------- 35. Accueil mobile : contenus centrés ---------- */
/* Le dégradé du hero est pensé pour le bureau : sombre à gauche, où se tient le texte.
   Sur petit écran le texte occupe toute la largeur et passait sur des zones claires de la photo :
   le voile devient homogène, un peu plus dense, pour garder le texte lisible. */
@media (max-width: 960px) {
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(8,39,67,.9) 0%, rgba(8,39,67,.66) 34%, rgba(8,39,67,.74) 70%, rgba(8,39,67,.97) 100%),
      linear-gradient(90deg, rgba(8,39,67,.36), rgba(8,39,67,.26) 50%, rgba(8,39,67,.36));
  }
}

@media (max-width: 640px) {
  /* Surtitres centrés : filet symétrique de part et d'autre.
     display: flex (et non inline-flex) pour que le bloc occupe toute la largeur :
     le surtitre reste centré même quand le conteneur parent aligne à gauche (hero des pages internes). */
  .eyebrow { display: flex; justify-content: center; text-align: center; }
  .eyebrow::before { flex: none; }
  .eyebrow::after { content: ""; flex: none; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

  /* Hero : contenu centré dans la hauteur disponible, bandeau technique en ligne continue */
  .hero__inner { margin-block: auto; padding-top: 24px; padding-bottom: 32px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__strip .container { display: block; text-align: center; padding-block: 16px 18px; line-height: 2.1; }
  /* chaque repère reste insécable : la ligne se replie entre deux repères, jamais au milieu d'une valeur */
  .hero__strip .strip-item { display: inline-block; white-space: nowrap; font-size: .68rem; letter-spacing: .1em; gap: 6px; }
  .hero__strip .strip-item:not(:last-child)::after { content: "·"; color: var(--cyan); margin-left: 9px; margin-right: 3px; }

  /* 01 L'essentiel */
  .manifesto { text-align: center; }
  .manifesto .h2 { margin-inline: auto; }
  .stats { text-align: center; }
  .stat__num { justify-content: center; }

  /* Têtes de section (02, 05, 07, 09) */
  .section-head { text-align: center; justify-items: center; }
  .section-head .h2, .section-head > p { margin-inline: auto; }

  /* 03 Savoir-faire signature */
  .scrub__head { text-align: center; }
  .scrub__head .lead { margin-inline: auto; }
  .scrub__head .steps { text-align: left; }

  /* 04 Chantiers contraints et 08 L'entreprise */
  .feature__body { text-align: center; }
  .feature__body .lead { margin-inline: auto; }
  .feature__body .checks { text-align: left; }
  .quote { border-left: 0; padding-left: 0; text-align: center; max-width: none; }
  .quote::before { content: ""; display: block; width: 44px; height: 2px; margin: 0 auto 20px; background: var(--cyan); border-radius: 2px; }

  /* 05 Ingénierie intégrée : titre de la carte centré, deux repères sur une ligne */
  .panel--white .panel__title, .panel--white > .lead { text-align: center; margin-inline: auto; max-width: none; }
  .panel__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .fact { text-align: center; }
  .fact b { justify-content: center; }

  /* 06 Réalisations */
  .hscroll__head { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

  /* 07 Engagements : quatre cartes sur deux colonnes, labels centrés */
  .values { grid-template-columns: 1fr 1fr; gap: 10px; }
  .value { padding: 18px 14px 20px; gap: 10px; }
  .value .picto { width: 34px; height: 34px; }
  .value strong { font-size: 1rem; line-height: 1.25; }
  .value p { font-size: .82rem; line-height: 1.5; }
  .labels { text-align: center; justify-items: center; gap: 16px; }
  .labels .muted { margin-inline: auto; }
  .labels__list { justify-content: center; gap: 8px; }
  .labels__list span { padding: 9px 13px; font-size: .72rem; }

  /* 09 Donneurs d'ordre : quatre cartes centrées */
  .clients { grid-template-columns: 1fr 1fr; gap: 10px; border-top: 0; }
  .clients .client, .clients .client:nth-child(odd), .clients .client:nth-child(even) { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 22px 12px; border: 0; border-radius: var(--radius-sm); background: var(--bone); box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; line-height: 1.3; }
  .client .mono { font-size: .72rem; }

  /* 10 Contact : titre centré, formulaire sous le titre, coordonnées compactes en dessous */
  .contact-home > div:first-child { display: contents; }
  .contact-home { text-align: center; gap: 0; }
  .contact-home .eyebrow { order: -3; }
  .contact-home .h2 { order: -2; max-width: none; margin-inline: auto; }
  .contact-home .lead { order: -1; margin-inline: auto; }
  .contact-home .form { margin-top: 28px; text-align: left; }
  .contact-list { order: 1; margin-top: 20px; border-top: 0; padding: 4px 18px; border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 0 0 1px var(--line); text-align: left; }
  .contact-list li { grid-template-columns: 84px 1fr; gap: 12px; padding: 7px 0; align-items: baseline; }
  .contact-list li:last-child { border-bottom: 0; }
  .contact-list .mono { padding-top: 0; font-size: .68rem; }
  .contact-list a { padding: 7px 0; }
}

/* ---------- 36. Accueil mobile, second passage : expertises, RIC, engagements, pied de page ---------- */
@media (max-width: 640px) {
  /* 01 : « Sous la ville, » / « l'essentiel. » */
  .manifesto .h2 { max-width: none; }

  /* 02 Expertises : contenu centré, picto à côté du nom pour des cartes plus basses */
  .exp-card { display: flex; flex-flow: row wrap; justify-content: center; align-items: center; text-align: center; padding: 22px 18px 24px; }
  .exp-card > .exp-card__num, .exp-card__desc, .exp-card__more { flex: 0 0 100%; }
  .exp-card__ico { flex: none; width: 40px; height: 40px; margin: 14px 12px 0 0; }
  .exp-card__title { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 52px); margin-top: 14px; padding-top: 0; font-size: 1.45rem; text-align: center; }
  .exp-card__desc { margin-top: 12px; }
  .exp-card__more { justify-content: center; margin-top: 16px; }

  /* 05 : carte RIC centrée comme la carte bureau d'études */
  .panel--navy .panel__title, .panel--navy > .lead { text-align: center; margin-inline: auto; max-width: none; }

  /* 07 : contenu des engagements centré */
  .value { text-align: center; align-items: center; }

  /* Pied de page centré */
  .footer__grid > div { text-align: center; }
  .footer__logo, .footer__tagline { margin-inline: auto; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer__right { flex-direction: column; gap: 12px; }
}

/* ---------- 37. Pages internes mobile : titres et contenus centrés ---------- */
@media (max-width: 640px) {
  /* Hero des pages internes (expertises, entreprise, réalisations, recrutement, contact, blog, articles) */
  .hero-page .crumbs { justify-content: center; }
  .hero-page .h1, .hero-page .lead { margin-inline: auto; text-align: center; }
  .hero-page__meta { justify-content: center; text-align: center; }

  /* Chapeau de page */
  .intro { text-align: center; }
  .intro .h2 { max-width: none; margin-inline: auto; }

  /* Blocs en deux colonnes (repères techniques, fiche d'identité) */
  .grid-5-7 > div, .grid-7-5 > div { text-align: center; }
  .grid-5-7 .lead, .grid-7-5 .lead { margin-inline: auto; }
  .chips { justify-content: center; }
  .spec, .id-card .spec { text-align: center; }
  .spec b { display: block; }

  /* Cartes prestations et métiers */
  .service { text-align: center; align-items: center; }
  .job__profile { text-align: center; width: 100%; }

  /* Étapes (méthode de chantier, parcours de recrutement) */
  .process__item { text-align: center; align-items: center; }
  .process__item .picto { margin-inline: auto; }

  /* Bandeau de contact en fin de page */
  .cta-band { text-align: center; }
  .cta-band .h2, .cta-band .lead { margin-inline: auto; }
  .cta-band__side { justify-items: center; }

  /* Pages contact et recrutement */
  .contact-grid > div { text-align: center; }
  .contact-grid .h2, .contact-grid .lead { margin-inline: auto; }
  .contact-grid .contact-list, .contact-grid .form { text-align: left; }
  .hq { text-align: center; }

  /* Réalisations : filtres centrés */
  .filters { justify-content: center; }

  /* Blog : article à la une, cartes, barre de filtres */
  .feature-post__body { justify-items: center; text-align: center; }
  .post__body { text-align: center; align-items: center; }
  .post__meta { justify-content: center; }
  .post .link-arrow { align-self: center; }
  .blog-toolbar { justify-content: center; }
  /* Le corps des articles reste aligné à gauche : c'est du texte long, la lecture prime */
  .article__foot { justify-items: center; text-align: center; }
  .article__share { justify-content: center; }
  .aside-card--navy { justify-items: center; text-align: center; }
}
