/* ==========================================================================
   A&R LINK — Feuille de styles principale
   Direction : futurisme luxueux. Le bleu est réservé au « lien ».
   ========================================================================== */

/* ---------- Polices auto-hébergées (aucun appel à un service tiers) ---------- */
@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-var.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --carbon: #080A0D;
  --deep: #101318;
  --metal: #242A32;
  --metal-2: #39414C;
  --white: #F2F4F5;
  --silver: #AEB7C2;
  --silver-dim: #7D8794;
  --blue: #547BFF;
  --champagne: #CEB680;

  --f-display: "Archivo Black", "Arial Black", "Helvetica Neue", sans-serif;
  --f-text: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
  --section-y: clamp(96px, 13vw, 196px);
  --header-h: 84px;
  --hair: 1px solid rgba(174, 183, 194, .14);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--white);
  font-family: var(--f-text);
  font-weight: 340;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; z-index: 2; padding-block: var(--section-y); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--carbon); padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* ---------- Grille architecturale ---------- */
.arch-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.arch-grid i { border-left: 1px solid rgba(242, 244, 245, .035); }
.arch-grid i:last-child { border-right: 1px solid rgba(242, 244, 245, .035); }

/* ---------- Le fil ---------- */
.thread {
  position: absolute; top: 0; left: 0; width: 100%; height: 100px;
  z-index: 1; pointer-events: none; overflow: visible;
}
.thread path { fill: none; stroke-linecap: round; }
.thread-base { stroke: rgba(84, 123, 255, .10); stroke-width: 1; }
.thread-live { stroke: var(--blue); stroke-width: 1.4; }
.thread-tip { fill: var(--blue); filter: drop-shadow(0 0 6px rgba(84, 123, 255, .9)); transition: opacity .3s; }

.thread-node {
  position: absolute; width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--metal-2); background: var(--carbon);
  z-index: 3; pointer-events: none;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.thread-node::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--blue); transform: scale(0); transition: transform .5s var(--ease);
}
.thread-node.is-lit { border-color: var(--blue); box-shadow: 0 0 0 6px rgba(84, 123, 255, .08), 0 0 18px rgba(84, 123, 255, .45); }
.thread-node.is-lit::after { transform: scale(1); }

/* ---------- Typographie ---------- */
.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 4.75rem);
  line-height: .96;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h-xl { font-size: clamp(2.3rem, 4.5vw, 4.7rem); }
.h-section {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.05; font-weight: 400;
}
.section-index {
  display: flex; align-items: center; gap: 14px;
  font-size: .875rem; font-weight: 500; color: var(--silver);
  letter-spacing: .01em; margin-bottom: 28px;
}
.section-index::before { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.5; font-weight: 300; color: var(--white); }
.section-intro { color: var(--silver); max-width: 46ch; font-weight: 300; font-size: 1.0625rem; }

.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px;
  align-items: end; margin-bottom: clamp(48px, 6vw, 88px); position: relative;
}
.section-head > div:first-child { grid-column: 1 / span 7; }
.section-head > .section-intro, .section-head > .gallery-meta { grid-column: 9 / span 4; }
.section-head .thread-node { left: calc(var(--gutter) / 2 - 5.5px); top: -48px; }

/* ---------- Boutons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 26px; border-radius: 2px;
  font-family: var(--f-text); font-size: .8125rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-sm { --h: 42px; padding: 0 18px; font-size: .75rem; }
.btn-lg { --h: 64px; padding: 0 34px; font-size: .875rem; }
.btn-primary { background: var(--white); color: var(--carbon); }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 12px 40px -12px rgba(84,123,255,.55); }
.btn-line { display: block; width: 18px; height: 1px; background: var(--blue); transition: width .45s var(--ease); }
.btn:hover .btn-line { width: 34px; }
.btn-ghost { color: var(--white); border: 1px solid rgba(174, 183, 194, .32); }
.btn-ghost:hover { border-color: var(--white); background: rgba(242, 244, 245, .04); }
.btn-outline { color: var(--white); border: 1px solid rgba(206, 182, 128, .45); }
.btn-outline:hover { border-color: var(--champagne); background: rgba(206, 182, 128, .08); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(8, 10, 13, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(174, 183, 194, .1);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 40px;
}
.brand img { width: auto; height: 46px; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 38px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  position: relative; font-size: .875rem; font-weight: 420; color: var(--silver);
  padding-block: 8px; transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--white); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; z-index: 95; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--white);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; left: 18px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; left: 10px; transform: rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 78; background: var(--carbon);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  background-image: linear-gradient(rgba(242,244,245,.03) 1px, transparent 1px);
  background-size: 100% 64px;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ol { counter-reset: m; }
.mobile-menu li { overflow: hidden; border-bottom: var(--hair); }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 7.4vw, 2.6rem); line-height: 1.1;
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.mobile-menu.is-open li a { transform: none; }
.mobile-menu li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu-foot { display: grid; gap: 12px; color: var(--silver); font-size: .95rem; }
.mobile-menu-foot .btn { margin-bottom: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero {
  position: relative; z-index: 2; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -2; overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img {
  object-fit: cover; object-position: 50% 30%;
  filter: saturate(.72) contrast(1.06) brightness(.82);
  transform: scale(1.12); transition: transform 2.8s var(--ease);
  will-change: transform;
}
.is-loaded .hero-media img { transform: scale(1.02); }
.hero-credit {
  position: absolute; right: var(--gutter); bottom: 34px; z-index: 2;
  font-size: .75rem; color: rgba(174, 183, 194, .75); letter-spacing: .02em;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--carbon) 0%, var(--carbon) 38%, rgba(8,10,13,.78) 50%, rgba(8,10,13,.25) 72%, rgba(8,10,13,.4) 100%),
    linear-gradient(0deg, var(--carbon) 0%, rgba(8,10,13,0) 30%),
    linear-gradient(180deg, rgba(8,10,13,.7) 0%, rgba(8,10,13,0) 22%);
}
.hero-veil::after { /* légère lumière froide */
  content: ""; position: absolute; right: 8%; top: 12%; width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(84,123,255,.12), transparent);
  mix-blend-mode: screen;
}
.hero-content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(100px, 13vh, 140px); }
.hero-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-size: .9375rem; color: var(--silver); font-weight: 400;
  opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease) .2s, transform .9s var(--ease) .2s;
}
.hero-kicker::before { content: ""; width: 36px; height: 1px; background: var(--champagne); }
.hero-title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.15rem, min(7.1vw, 10.2vh), 7.6rem); line-height: .9; letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.hero-title .ln:nth-child(2) > span { transition-delay: .08s; }
.hero-title .ln:nth-child(3) > span { transition-delay: .16s; }
.hero-title .ln:nth-child(4) > span { transition-delay: .24s; }
.is-loaded .hero-title .ln > span, .is-loaded .hero-kicker { transform: none; opacity: 1; }

/* Deuxième phrase : tracé architectural, puis « révélée » par un remplissage */
.hero-title .ln-alt > span {
  position: relative; color: transparent;
  -webkit-text-stroke: 1px rgba(174, 183, 194, .75);
}
.hero-title .ln-alt > span::after {
  content: attr(data-text); position: absolute; inset: 0;
  color: var(--white); -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-in-out) 1.1s;
}
.hero-title .ln-alt:nth-child(4) > span::after { transition-delay: 1.35s; }
.is-loaded .hero-title .ln-alt > span::after { clip-path: inset(0 0 0 0); }

.hero-sub {
  max-width: 40ch; color: var(--silver); font-size: clamp(1.02rem, 1.25vw, 1.2rem); font-weight: 300;
  margin-bottom: 34px;
  opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .6s, transform 1s var(--ease) .6s;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .75s, transform 1s var(--ease) .75s;
}
.is-loaded .hero-sub, .is-loaded .hero-actions { opacity: 1; transform: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-dim);
}
.scroll-cue-track { position: relative; width: 1px; height: 52px; background: rgba(174,183,194,.2); overflow: hidden; }
.scroll-cue-track i {
  position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white);
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }
.thread-node-hero { left: calc(max(0px, (100% - var(--maxw)) / 2) + var(--gutter) / 2 - 5.5px); bottom: 36px; }
.why-grid > .thread-node-in { left: calc(var(--gutter) / 2 - 5.5px); top: -48px; }
.thread-node-in { left: calc(var(--gutter) / -2 - 5.5px); top: -40px; }
.partner-head, .why-grid { position: relative; }
.thread-node-end { left: -48px; bottom: 26px; }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-title { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal-title.is-in { clip-path: inset(-10% -2% -10% -2%); transform: none; }

/* ---------- VISION ---------- */
.vision-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(56px, 7vw, 110px); }
.vision-head { grid-column: 1 / span 7; }
.vision-head .h-display { font-size: clamp(2.6rem, 7vw, 6.6rem); }
.vision-text { grid-column: 8 / span 5; display: grid; gap: 22px; padding-bottom: 8px; }
.vision-text p:not(.lead) { color: var(--silver); font-weight: 300; }

.link-diagram {
  position: relative; border-top: var(--hair); border-bottom: var(--hair);
  padding-block: clamp(16px, 3vw, 40px);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(206,182,128,.05), transparent 55%),
    linear-gradient(180deg, rgba(16,19,24,.6), rgba(16,19,24,0));
}
.link-diagram svg { width: 100%; height: auto; overflow: visible; }
.ld-grid line { stroke: rgba(242,244,245,.07); stroke-dasharray: 2 7; }
.ld-link { fill: none; stroke: rgba(174,183,194,.16); stroke-width: 1; transition: stroke .6s, stroke-width .6s; }
.ld-link.is-on {
  stroke: var(--blue); stroke-width: 1.6;
  stroke-dasharray: 6 10; animation: flow 1.2s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -32; } }
.ld-node { fill: var(--carbon); stroke: var(--silver-dim); stroke-width: 1; transition: fill .5s, stroke .5s; }
.ld-node.is-on { fill: var(--blue); stroke: var(--blue); }
.ld-node-halo { fill: none; stroke: var(--blue); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ld-node-halo.is-on { animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.ld-tag { font-family: var(--f-text); font-size: 15px; fill: var(--silver-dim); transition: fill .5s; }
.ld-tag.is-on { fill: var(--white); }
.ld-ring { fill: rgba(8,10,13,.9); stroke: var(--champagne); stroke-width: 1; }
.ld-halo { fill: none; stroke: rgba(206,182,128,.35); stroke-width: 1; stroke-dasharray: 1 9; transform-origin: 600px 230px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ld-core { fill: var(--champagne); }
.ld-cap { font-family: var(--f-text); font-size: 15px; fill: var(--silver); font-weight: 500; }
.ld-center-label { font-family: var(--f-display); font-size: 19px; letter-spacing: .08em; fill: var(--white); paint-order: stroke; stroke: var(--carbon); stroke-width: 10px; stroke-linejoin: round; }
.amp { font-family: var(--f-text); font-weight: 800; }
.thread-node-center { left: calc(50% - 5.5px); top: calc(50% - 5.5px); opacity: 0; }

/* ---------- DOMAINES ---------- */
.domain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: var(--hair); border-left: var(--hair);
}
.domain-card { border-right: var(--hair); border-bottom: var(--hair); perspective: 900px; position: relative; }
.dc-inner {
  --mx: 50%; --my: 50%;
  position: relative; height: 100%; min-height: 420px; padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), background-color .5s;
}
.dc-inner::before { /* lumière qui suit le curseur */
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(206,182,128,.10), transparent 60%);
  transition: opacity .5s;
}
.dc-inner::after { /* arête lumineuse */
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  transform: scaleX(0); transition: transform .7s var(--ease); opacity: .7;
}
.domain-card:hover .dc-inner, .domain-card:focus-within .dc-inner { background: var(--deep); }
.domain-card:hover .dc-inner::before, .domain-card:focus-within .dc-inner::before { opacity: 1; }
.domain-card:hover .dc-inner::after, .domain-card:focus-within .dc-inner::after { transform: scaleX(1); }

.ill {
  width: 100%; max-width: 190px; height: auto; aspect-ratio: 4 / 3; margin-bottom: auto; padding-bottom: 36px;
  fill: none; stroke: var(--silver-dim); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
  transform: translateZ(30px); transition: stroke .5s;
}
.ill * { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ill .ill-soft { opacity: .45; }
.ill .ill-accent { stroke: var(--champagne); }
.domain-card:hover .ill { stroke: var(--white); }
.domain-card:hover .ill * { animation: redraw 1.3s var(--ease) both; }
.domain-card:hover .ill .ill-soft { animation-delay: .15s; }
.domain-card:hover .ill .ill-accent { animation-delay: .3s; }
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.domain-card h3 {
  font-family: var(--f-text); font-weight: 520; font-size: 1.3rem; line-height: 1.2;
  margin-bottom: 12px; transform: translateZ(20px); letter-spacing: -.005em;
}
.domain-card p { color: var(--silver); font-size: .975rem; font-weight: 300; margin-bottom: 26px; transform: translateZ(14px); }
.dc-link {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  font-size: .8125rem; font-weight: 500; color: var(--silver); transform: translateZ(14px);
  transition: color .3s;
}
.dc-link::after { content: ""; width: 16px; height: 1px; background: currentColor; transition: width .45s var(--ease), background-color .3s; }
.dc-link:hover, .domain-card:hover .dc-link { color: var(--white); }
.dc-link:hover::after, .domain-card:hover .dc-link::after { width: 30px; background: var(--blue); }
.dc-link::before { content: ""; position: absolute; inset: 0; } /* toute la carte est cliquable */
.domain-hint { display: none; }

/* ---------- PROCESSUS ---------- */
.process-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.process-head { grid-column: 1 / span 5; position: sticky; top: 140px; align-self: start; }
.process-head .section-intro { margin-top: 28px; }
.process-head .h-display, .why-head .h-display { font-size: clamp(2rem, 3.7vw, 3.7rem); }
.steps { grid-column: 7 / span 6; position: relative; padding-left: 72px; counter-reset: s; }
.rail { position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--metal); }
.rail-fill { position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--p, 0) * 100%); background: linear-gradient(var(--blue), #8FA8FF); box-shadow: 0 0 12px rgba(84,123,255,.6); }
.rail .thread-node { left: -5px; top: -5px; }
.step {
  display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start;
  padding-block: clamp(36px, 5vw, 64px); border-bottom: var(--hair);
  opacity: .32; transition: opacity .7s var(--ease);
}
.step:nth-child(2) { padding-top: 0; }
.step.is-active { opacity: 1; }
.step-num {
  font-family: var(--f-display); font-size: clamp(2.8rem, 4.4vw, 4.2rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 1px var(--silver-dim);
  transition: -webkit-text-stroke-color .6s, color .6s;
}
.step.is-active .step-num { -webkit-text-stroke-color: var(--blue); }
.step h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1; margin-bottom: 14px; padding-top: 4px; }
.step p { color: var(--silver); font-weight: 300; max-width: 38ch; }

/* ---------- PARTENAIRE ---------- */
.partner-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(56px, 6vw, 90px); }
.partner-head .section-index, .partner-head .h-display { grid-column: 1 / span 7; }
.partner-head .h-display { grid-row: 2; }
.partner-head .section-intro { grid-column: 8 / span 5; grid-row: 2; max-width: 52ch; }
.duo { display: grid; grid-template-columns: 1fr clamp(80px, 9vw, 140px) 1fr; align-items: stretch; }
.duo-panel {
  position: relative; padding: clamp(32px, 4vw, 56px);
  background: linear-gradient(160deg, var(--deep) 0%, rgba(16,19,24,.4) 100%);
  border: var(--hair); overflow: hidden;
}
.duo-panel::before { /* texture métallique très légère */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0 2px, transparent 2px 7px);
}
.duo-logo { height: 110px; display: flex; align-items: center; margin-bottom: 40px; }
.duo-logo img { height: 100%; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
.demobat-wordmark {
  font-family: var(--f-display); font-size: 1.9rem; letter-spacing: .12em; line-height: 1;
  padding: 18px 22px; border: 1px solid rgba(242,244,245,.5);
}
.duo-panel h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1; margin-bottom: 18px; }
.duo-role { font-size: 1.15rem; font-weight: 300; line-height: 1.5; max-width: 36ch; margin-bottom: 34px; }
.duo-list li { padding: 14px 0; border-top: var(--hair); color: var(--silver); font-size: .95rem; display: flex; align-items: center; gap: 14px; }
.duo-list li::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--champagne); transform: rotate(45deg); flex: none; }
.duo-link { display: flex; align-items: center; justify-content: center; }
.duo-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(206,182,128,.2), var(--champagne), rgba(206,182,128,.2)); }
.duo-node { position: relative; flex: none; }
.partner-note { margin-top: 24px; font-size: .875rem; color: var(--silver-dim); }

/* ---------- GALERIE ---------- */
.gallery-meta { display: grid; gap: 18px; }
.mention { display: flex; gap: 12px; align-items: center; font-size: .875rem; color: var(--champagne); font-weight: 450; }
.mention::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.gallery-filters button {
  height: 38px; padding: 0 16px; border: var(--hair); border-radius: 2px; font-size: .85rem; color: var(--silver);
  transition: color .3s, border-color .3s, background-color .3s;
}
.gallery-filters button[aria-pressed="true"], .gallery-filters button:hover { color: var(--white); border-color: var(--white); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px);
  grid-auto-rows: clamp(48px, 6.4vw, 100px); grid-auto-flow: dense;
}
.g-item {
  position: relative; overflow: hidden; background: var(--deep); cursor: zoom-in;
  clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out);
}
.g-item.is-in { clip-path: inset(0 0 0 0); }
.g-item.is-filtered { display: none; }
.g-item.s-xl { grid-column: span 7; grid-row: span 8; }
.g-item.s-tall { grid-column: span 5; grid-row: span 8; }
.g-item.s-wide { grid-column: span 7; grid-row: span 5; }
.g-item.s-sq { grid-column: span 5; grid-row: span 5; }
.g-item.s-third { grid-column: span 4; grid-row: span 6; }
.g-item button { position: absolute; inset: 0; width: 100%; height: 100%; cursor: zoom-in; }
.g-item picture, .g-item img { width: 100%; height: 100%; }
.g-item img {
  object-fit: cover; transform: scale(1.12);
  filter: saturate(.85) brightness(.92);
  transition: transform 1.6s var(--ease), filter .8s var(--ease);
}
.g-item.is-in img { transform: scale(1.02); }
.g-item:hover img { transform: scale(1.08); filter: saturate(1) brightness(1); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: 60px 22px 20px;
  background: linear-gradient(0deg, rgba(8,10,13,.82), rgba(8,10,13,0));
  font-size: .85rem; color: var(--silver);
}
.g-cap strong { display: block; color: var(--white); font-weight: 500; font-size: .95rem; }
.g-zoom {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242,244,245,.5);
  display: grid; place-items: center; flex: none;
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease);
}
.g-zoom svg { width: 16px; stroke: var(--white); fill: none; stroke-width: 1.4; }
.g-item:hover .g-zoom, .g-item:focus-within .g-zoom { opacity: 1; transform: none; }
.gallery-empty { grid-column: 1 / -1; color: var(--silver); padding: 40px 0; }

/* Visionneuse */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8,10,13,.96); color: var(--white); overflow: hidden;
}
.lightbox::backdrop { background: rgba(8,10,13,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { display: grid; place-items: center; padding: 72px clamp(16px, 8vw, 120px) 12px; min-height: 0; touch-action: pan-y; }
.lb-stage img {
  max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); object-fit: contain;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.lb-stage img.is-swapping { opacity: 0; transform: scale(.97); }
.lb-bar { display: flex; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 48px) calc(22px + env(safe-area-inset-bottom)); font-size: .85rem; color: var(--silver); }
.lb-credit { color: var(--champagne); }
.lb-btn {
  position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(242,244,245,.28);
  display: grid; place-items: center; background: rgba(8,10,13,.5);
  transition: border-color .3s, background-color .3s;
}
.lb-btn:hover { border-color: var(--white); background: rgba(242,244,245,.06); }
.lb-btn svg { width: 20px; fill: none; stroke: var(--white); stroke-width: 1.4; }
.lb-prev { left: clamp(12px, 3vw, 40px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(12px, 3vw, 40px); top: 50%; transform: translateY(-50%); }
.lb-close { right: clamp(12px, 3vw, 40px); top: 16px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* ---------- POURQUOI ---------- */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.why-head { grid-column: 1 / span 5; position: sticky; top: 140px; align-self: start; }
.why-list { grid-column: 7 / span 6; }
.why-list li { position: relative; padding: 30px 0 32px; border-top: var(--hair); display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; }
.why-list li:last-child { border-bottom: var(--hair); }
.why-list li::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.why-list li:hover::before { transform: scaleX(1); }
.why-list h3 { font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.why-list p { color: var(--silver); font-weight: 300; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.faq-grid .h-section { grid-column: 1 / span 4; }
.faq-list { grid-column: 5 / span 8; border-top: var(--hair); }
.faq-list details { border-bottom: var(--hair); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 1.1rem; font-weight: 420;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--silver), var(--silver)) center/14px 1px no-repeat, linear-gradient(var(--silver), var(--silver)) center/1px 14px no-repeat;
  transition: transform .45s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--silver); font-weight: 300; padding-bottom: 26px; max-width: 70ch; }
.faq-list a { color: var(--white); border-bottom: 1px solid rgba(242,244,245,.35); }

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; border-top: var(--hair); }
.contact-glow {
  position: absolute; left: -10%; top: -20%; width: 70vw; height: 70vw; pointer-events: none;
  background: radial-gradient(closest-side, rgba(84,123,255,.08), transparent);
}
.contact-grid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.contact-head { grid-column: 1 / span 6; position: sticky; top: 120px; }
.contact-head .lead, .direct { max-width: 34rem; }
.contact-head .lead { margin-top: 32px; color: var(--silver); font-size: 1.1rem; }
.direct { margin-top: 48px; display: grid; border-top: var(--hair); }
.direct div { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-bottom: var(--hair); align-items: baseline; }
.direct dt { font-size: .8125rem; color: var(--silver-dim); }
.direct dd { font-size: 1.15rem; font-weight: 400; overflow-wrap: anywhere; }
.direct a { transition: color .3s; }
.direct a:hover { color: var(--champagne); }

.project-form { grid-column: 7 / span 6; position: relative; display: grid; gap: 30px; }
.project-form > .thread-node { left: -48px; top: 6px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-row { display: grid; gap: 30px; }
.f-2 { grid-template-columns: 1fr 1fr; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; display: block; appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--white); border: 0; border-radius: 0;
  border-bottom: 1px solid var(--metal-2);
  font-family: var(--f-text); font-size: 1.0625rem; font-weight: 400;
  padding: 26px 0 11px; transition: border-color .35s, box-shadow .35s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field select { cursor: pointer; padding-right: 28px; }
.field select option { background: var(--deep); color: var(--white); }
.field-select::after {
  content: ""; position: absolute; right: 4px; bottom: 19px; width: 7px; height: 7px; pointer-events: none;
  border-right: 1px solid var(--silver); border-bottom: 1px solid var(--silver); transform: rotate(45deg);
}
.field label {
  position: absolute; left: 0; top: 26px; pointer-events: none;
  color: var(--silver-dim); font-size: 1.0625rem; transform-origin: left top;
  transition: transform .35s var(--ease), color .35s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field.has-value label, .field label.is-static {
  transform: translateY(-22px) scale(.76); color: var(--silver);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 0 var(--blue); }
.f-help { display: block; margin-top: 10px; font-size: .8125rem; color: var(--silver-dim); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #E07A7F; }
.f-error { display: block; margin-top: 8px; font-size: .8125rem; color: #F0A3A7; }

.dropzone {
  position: relative; border: 1px dashed var(--metal-2); padding: 22px 24px;
  transition: border-color .3s, background-color .3s;
}
.dropzone.is-over, .dropzone:hover { border-color: var(--champagne); background: rgba(16,19,24,.7); }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.dz-label { display: flex; gap: 18px; align-items: center; cursor: pointer; color: var(--silver); font-size: .95rem; line-height: 1.45; }
.dz-label strong { color: var(--white); font-weight: 500; }
.dz-label small { color: var(--silver-dim); font-size: .8125rem; }
.dz-label svg { width: 40px; height: 40px; flex: none; padding: 9px; border: 1px solid var(--metal-2); fill: none; stroke: var(--white); stroke-width: 1.3; }
.dz-previews { display: flex; flex-wrap: wrap; gap: 10px; }
.dz-previews:not(:empty) { margin-top: 18px; }
.dz-previews li { position: relative; width: 76px; height: 76px; background: var(--deep); }
.dz-previews img { width: 100%; height: 100%; object-fit: cover; }
.dz-previews button {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); color: var(--carbon); font-size: 15px; line-height: 24px; text-align: center;
}

.consent { display: flex; gap: 14px; align-items: flex-start; font-size: .875rem; color: var(--silver); line-height: 1.5; cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1px solid var(--metal-2); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, background-color .3s;
}
.consent input::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--carbon); border-bottom: 1.5px solid var(--carbon); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease); }
.consent input:checked { background: var(--white); border-color: var(--white); }
.consent input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent.is-invalid input { border-color: #E07A7F; }
.consent a { color: var(--white); border-bottom: 1px solid rgba(242,244,245,.35); }

.f-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; padding-top: 6px; }
.f-status { font-size: .9rem; color: var(--silver); }
.f-status.is-error { color: #F0A3A7; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; z-index: 2; border-top: var(--hair); background: #06080A; padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; padding-bottom: 56px; }
.footer-brand { grid-column: 1 / span 5; display: grid; gap: 22px; align-content: start; }
.footer-brand img { height: 50px; width: auto; }
.footer-brand p { color: var(--silver-dim); font-size: .9rem; max-width: 46ch; font-weight: 300; }
.footer-nav { grid-column: 7 / span 3; display: grid; gap: 10px; align-content: start; font-size: .925rem; color: var(--silver); }
.footer-contact { grid-column: 10 / span 3; display: grid; gap: 10px; align-content: start; font-size: .925rem; }
.footer-nav a, .footer-contact a { transition: color .3s; overflow-wrap: anywhere; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: var(--hair); font-size: .8125rem; color: var(--silver-dim); }
.footer-legal p:last-child { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--white); }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .dc-inner { min-height: 360px; }
  .ill { max-width: 160px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .arch-grid { grid-template-columns: repeat(3, 1fr); }
  .arch-grid i:nth-child(n+4) { display: none; }
  .arch-grid i:nth-child(3) { border-right: 1px solid rgba(242, 244, 245, .035); }

  /* Hero mobile : photo plein cadre, titre en bas */
  .hero-media { width: 100%; }
  .hero-media img { object-position: 50% 22%; }
  .hero-credit { right: auto; left: var(--gutter); bottom: auto; top: calc(var(--header-h) + 6px); font-size: .6875rem; }
  .hero-veil {
    background:
      linear-gradient(0deg, var(--carbon) 0%, rgba(8,10,13,.92) 38%, rgba(8,10,13,.35) 70%, rgba(8,10,13,.55) 100%);
  }
  .hero-content { padding-bottom: 104px; }
  .hero-kicker { font-size: .8125rem; margin-bottom: 20px; }
  .hero-title { font-size: clamp(2.05rem, 10.4vw, 4.4rem); margin-bottom: 24px; }
  .hero-content { padding-top: calc(var(--header-h) + 120px); }
  .hero-sub { margin-bottom: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { bottom: 22px; }
  .scroll-cue-label { display: none; }

  .section-head, .vision-grid, .process-grid, .partner-head, .why-grid, .faq-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-head > div:first-child, .section-head > .section-intro, .section-head > .gallery-meta,
  .vision-head, .vision-text, .process-head, .steps, .partner-head > *, .why-head, .why-list,
  .faq-grid .h-section, .faq-list, .contact-head, .project-form,
  .footer-brand, .footer-nav, .footer-contact { grid-column: 1 / -1; grid-row: auto; }
  .thread-node:not(.duo-node):not(.rail .thread-node) { visibility: hidden; }
  .partner-head > .section-index, .partner-head > .h-display, .partner-head > .section-intro { grid-column: 1 / -1; grid-row: auto; }
  .vision-head .h-display { font-size: clamp(2.5rem, 12vw, 4.4rem); }

  .link-diagram { margin-inline: calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .ld-cap, .ld-tag { font-size: 22px; }
  .ld-center-label { font-size: 26px; }

  /* Domaines : carrousel horizontal tactile */
  .domain-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    border-left: 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .domain-grid::-webkit-scrollbar { display: none; }
  .domain-card { flex: 0 0 82%; scroll-snap-align: start; border-left: var(--hair); margin-left: -1px; }
  .domain-card:first-child { margin-left: 0; }
  .dc-inner { min-height: 400px; background: rgba(16,19,24,.55); }
  .domain-hint { display: block; margin-top: 18px; font-size: .8125rem; color: var(--silver-dim); text-align: right; }

  .process-head, .why-head, .contact-head { position: relative; top: 0; }
  .steps { padding-left: 52px; margin-top: 24px; }
  .rail { left: 12px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step-num { font-size: 2.6rem; }

  .duo { grid-template-columns: 1fr; }
  .duo-link { flex-direction: column; height: 96px; }
  .duo-line { width: 1px; height: auto; flex: 1; background: linear-gradient(180deg, rgba(206,182,128,.2), var(--champagne), rgba(206,182,128,.2)); }
  .duo-logo { height: 84px; margin-bottom: 28px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .g-item, .g-item.s-xl, .g-item.s-tall, .g-item.s-wide, .g-item.s-sq, .g-item.s-third { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; }
  .g-item.s-sq, .g-item.s-third { grid-column: span 1; aspect-ratio: 3 / 4; }
  .g-zoom { opacity: 1; transform: none; width: 38px; height: 38px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(70px + env(safe-area-inset-bottom)); transform: none; }
  .lb-stage { padding: 72px 12px 90px; }
  .lb-stage img { max-height: calc(100vh - 240px); max-height: calc(100dvh - 240px); }

  .why-list li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }

  .faq-list summary { font-size: 1.02rem; padding: 20px 0; }

  .f-2 { grid-template-columns: 1fr; }
  .f-submit .btn { width: 100%; }
  .direct div { grid-template-columns: 92px 1fr; }

  .footer-legal { flex-direction: column; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

  /* Barre d'action fixe */
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px;
    background: rgba(16,19,24,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(174,183,194,.16); border-radius: 6px;
    transform: translateY(150%); transition: transform .55s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a {
    height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 3px;
    font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  }
  .mb-call { border: 1px solid rgba(174,183,194,.3); }
  .mb-call svg { width: 16px; fill: none; stroke: var(--white); stroke-width: 1.5; stroke-linejoin: round; }
  .mb-cta { background: var(--white); color: var(--carbon); }
}

@media (max-width: 420px) {
  .duo-panel { padding: 28px 22px; }
  .dc-inner { padding: 28px 22px 24px; }
}

/* Écrans larges : un peu plus d'air */
@media (min-width: 1600px) {
  :root { --maxw: 1560px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-title, .g-item, .hero-title .ln > span, .hero-kicker, .hero-sub, .hero-actions { opacity: 1; transform: none; clip-path: none; }
  .hero-title .ln-alt > span::after { clip-path: inset(0 0 0 0); }
}

/* ---------- Pages légales ---------- */
.legal-page { position: relative; z-index: 2; padding: calc(var(--header-h) + 80px) 0 120px; }
.legal-page .wrap { max-width: 900px; }
.legal-page h1 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; margin-bottom: 48px; }
.legal-page h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: 1.2rem; margin: 48px 0 16px; }
.legal-page p, .legal-page li { color: var(--silver); font-weight: 300; margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page a { color: var(--white); border-bottom: 1px solid rgba(242,244,245,.35); }
.legal-page .todo { color: var(--champagne); font-weight: 450; }
.legal-header { position: absolute; }
.legal-header .header-inner { justify-content: space-between; }
.thanks { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: left; position: relative; z-index: 2; }
.thanks .wrap { max-width: 860px; }
.thanks .h-display { font-size: clamp(2.4rem, 7vw, 5.6rem); margin: 28px 0; }
.thanks p { color: var(--silver); max-width: 52ch; margin-bottom: 40px; font-weight: 300; font-size: 1.1rem; }

.thanks p a { color: var(--white); border-bottom: 1px solid rgba(242,244,245,.35); }
.lb-count { white-space: nowrap; }
