/* ==========================================================================
   Construction G — feuille de style du site
   Jetons, base, composants, sections. Aucune dépendance.
   ========================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
  --ink: #111214;
  --ink-2: #1a1c1f;
  --graphite: #2b2e33;
  --bone: #f3f1ec;
  --paper: #ffffff;
  --sand: #e6e2d6;
  --orange: #f25a1f;        /* Orange G — fonds, aplats, texte sur fond sombre */
  --orange-deep: #c2410c;   /* texte orange sur fond clair (5,2:1) */
  --moss: #1e2a1c;          /* section Verdissement */
  --lichen: #b9cc9b;
  --muted: #5d6166;         /* texte secondaire sur bone (5,5:1) */
  --muted-dark: #a4a8ae;    /* texte secondaire sur ink (7,9:1) */
  --line: rgba(17, 18, 20, .14);
  --line-dark: rgba(243, 241, 236, .16);

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: 1.1s;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --header-h: 76px;
  --section-y: clamp(96px, 14vw, 200px);

  --r-pill: 999px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 6px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
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; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; background: var(--orange); color: var(--ink);
  font-weight: 600; border-radius: var(--r-pill);
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }

/* ---------- 3. Typographie ---------- */
.t-mega {
  font-size: clamp(2.2rem, 10.5vw, 11.5rem);
  line-height: .86;
  overflow-wrap: break-word; hyphens: manual;
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.t-display {
  font-size: clamp(1.9rem, 7vw, 7rem);
  line-height: .92;
  overflow-wrap: break-word;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.t-h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.025em;
}
.t-h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.015em;
}
.t-lead {
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: -.012em;
}
.t-statement {
  font-size: clamp(1.9rem, 4.1vw, 4rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.03em;
}
.t-mono, .label {
  font-family: var(--f-mono);
  font-size: .78rem;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.label { display: inline-flex; align-items: center; gap: 12px; }
.label::before {
  content: ""; width: 9px; height: 9px; background: var(--orange); flex: none;
}
.muted { color: var(--muted); }
.on-dark .muted, .muted-dark { color: var(--muted-dark); }
.accent { color: var(--orange-deep); }
.on-dark .accent { color: var(--orange); }

/* ---------- 4. Mise en page ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(64px, 9vw, 120px); }
.on-dark { background: var(--ink); color: var(--bone); }
.on-moss { background: var(--moss); color: var(--bone); }
.on-orange { background: var(--orange); color: var(--ink); }
.on-sand { background: var(--sand); }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }
.on-dark .hairline, .on-moss .hairline { border-color: var(--line-dark); }

.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 28px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .label { grid-column: 1 / span 3; align-self: start; padding-top: .6em; }
.section-head .t-h2 { grid-column: 4 / span 8; }
.section-head .section-intro { grid-column: 4 / span 6; }
@media (max-width: 860px) {
  .section-head .label, .section-head .t-h2, .section-head .section-intro { grid-column: 1 / -1; }
}

/* ---------- 5. Boutons & liens ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--ink); --btn-bd: var(--orange);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-size: .95rem; font-weight: 600; letter-spacing: .005em; line-height: 1;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color var(--t-fast) var(--ease-out), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::after { transform: none; }
.btn:hover { color: var(--bone); border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn .arr { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.btn--ghost::after { background: var(--orange); }
.btn--ghost:hover { color: var(--ink); border-color: var(--orange); }
.on-dark .btn::after, .on-moss .btn::after { background: var(--bone); }
.on-dark .btn:not(.btn--ghost):hover, .on-moss .btn:not(.btn--ghost):hover { color: var(--ink); border-color: var(--bone); }
.on-dark .btn--ghost::after, .on-moss .btn--ghost::after { background: var(--orange); }
.on-orange .btn { --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-bd: var(--ink); }
.on-orange .btn::after { background: var(--bone); }
.on-orange .btn:hover { color: var(--ink); border-color: var(--bone); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
  padding-bottom: 2px;
}
.link-u:hover, .link-u:focus-visible { background-size: 100% 1px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.link-arrow .arr { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.link-arrow:hover .arr { transform: translateX(5px); }

/* ---------- 6. En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--ink);
  transition: transform .5s var(--ease-out), color .35s, background-color .35s, backdrop-filter .35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(243, 241, 236, .78);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header[data-tone="dark"] { color: var(--bone); }
.site-header[data-tone="dark"]::before { background: rgba(17, 18, 20, .72); border-color: var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 40px; height: 40px; view-transition-name: brand-mark; }
.brand-word {
  font-weight: 800; font-size: .95rem; letter-spacing: .06em; line-height: 1;
  font-variation-settings: "wdth" 125; text-transform: uppercase; white-space: nowrap;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav a { font-size: .9rem; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--orange-deep); }
.nav-phone { font-family: var(--f-mono); font-size: .8rem !important; letter-spacing: .04em; }
.site-header[data-tone="dark"] .nav a[aria-current="page"] { color: var(--orange); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; font-weight: 500;
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid currentColor; border-radius: 50%; opacity: .85;
  transition: background-color var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.lang-switch:hover { opacity: 1; background: var(--orange); color: var(--ink); border-color: var(--orange); }
.menu-toggle {
  display: none; align-items: center; gap: 10px; height: 42px; padding: 0 16px;
  border: 1px solid currentColor; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
}
.menu-toggle .bars { position: relative; width: 16px; height: 8px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 6.5px; }
.menu-open .menu-toggle .bars::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 3.25px; transform: rotate(-45deg); }
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}
@media (max-width: 1080px) {
  .nav, .header-tools .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 520px) {
  .header-inner { gap: 10px; }
  .brand { gap: 10px; }
  .brand-word { font-size: .8rem; letter-spacing: .04em; }
  .brand-mark { width: 34px; height: 34px; }
  .header-tools { gap: 8px; }
  .lang-switch { width: 40px; height: 40px; }
  .menu-toggle { padding: 0; width: 40px; justify-content: center; }
  .menu-toggle .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero-intro .row { flex-direction: column; gap: 6px; }
}

/* ---------- 7. Menu plein écran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--bone);
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu-open .site-header { color: var(--bone); }
.menu-open .site-header::before { opacity: 0; }
.menu-list { list-style: none; margin: 0; padding: 0; align-self: center; }
.menu-list li { overflow: hidden; }
.menu-list a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(2.2rem, 9vw, 5rem); line-height: 1.04; font-weight: 800;
  font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: -.02em;
  transform: translateY(105%); transition: transform .8s var(--ease-out), color var(--t-fast);
}
.menu-list a small { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; color: var(--orange); letter-spacing: .08em; }
.menu-list a:hover { color: var(--orange); }
.menu-open .menu-list a { transform: none; }
.menu-open .menu-list li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu-list li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu-list li:nth-child(4) a { transition-delay: .15s; }
.menu-open .menu-list li:nth-child(5) a { transition-delay: .2s; }
.menu-open .menu-list li:nth-child(6) a { transition-delay: .25s; }
.menu-open .menu-list li:nth-child(7) a { transition-delay: .3s; }
.menu-open .menu-list li:nth-child(8) a { transition-delay: .35s; }
.menu-open .menu-list li:nth-child(9) a { transition-delay: .4s; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-dark); padding-top: 20px; }

/* ---------- 8. Héros d'accueil : traversée du G ---------- */
.hero { position: relative; height: 330vh; background: var(--ink); color: var(--bone); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0;
  transform: scale(var(--photo-scale, 1.22));
  transform-origin: 50% 60%;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(17,18,20,.55) 0%, rgba(17,18,20,0) 28%, rgba(17,18,20,0) 46%, rgba(17,18,20,.86) 100%);
  opacity: var(--shade, 0);
}
.hero-mask { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: var(--mask-o, 1); }
.hero-mask .ink { fill: var(--ink); }
.hero-mask .paper { fill: var(--bone); }
.hero-mask .orange { fill: var(--orange); }
.letterbox { position: absolute; left: 0; right: 0; height: 11vh; background: var(--ink); z-index: 3; pointer-events: none; transition: none; }
.letterbox--top { top: 0; transform: translateY(calc(-100% * var(--lb, 0))); }
.letterbox--bottom { bottom: 0; transform: translateY(calc(100% * var(--lb, 0))); }
.hero-intro {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--header-h) + 3vh) var(--gutter) 4vh;
  opacity: var(--intro-o, 1);
}
.hero-intro .row { display: flex; justify-content: space-between; gap: 24px; }
.hero-intro .cue { align-self: end; justify-self: center; display: grid; justify-items: center; gap: 12px; }
.cue-line { width: 1px; height: 54px; background: linear-gradient(var(--bone), transparent); animation: cue 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-copy {
  position: absolute; inset: auto 0 0 0; z-index: 5;
  padding: 0 var(--gutter) clamp(32px, 7vh, 80px);
}
.hero-copy .inner { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 28px; align-items: end; }
.hero-copy h1 { grid-column: 1 / -1; }
.hero-copy .t-lead { grid-column: 1 / span 6; max-width: 34ch; }
.hero-copy .btn-row { grid-column: 8 / -1; justify-content: flex-end; }
.hero-copy .label { grid-column: 1 / -1; }
.hero-meta {
  position: absolute; z-index: 5; right: var(--gutter); top: calc(var(--header-h) + 3vh);
  text-align: right; display: grid; gap: 6px; opacity: var(--copy-o, 0);
}
.hero:not(.is-revealed) .hero-copy { pointer-events: none; }
.hero-copy [data-hr] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hero-copy [data-hr]:nth-of-type(2) { transition-delay: .25s; }
.hero-copy .btn-row[data-hr] { transition-delay: .35s; }
.hero-copy.is-in [data-hr] { opacity: 1; transform: none; }
.no-js .hero-copy [data-hr], .no-motion .hero-copy [data-hr] { opacity: 1; transform: none; }
.hero-copy .t-lead { color: rgba(243, 241, 236, .88); }
@media (max-width: 860px) {
  .hero-copy .t-lead, .hero-copy .btn-row { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Version sans mouvement (prefers-reduced-motion ou JS absent) */
.no-motion .hero, .no-js .hero { height: auto; }
.no-motion .hero-stage, .no-js .hero-stage { position: relative; height: 100svh; min-height: 620px; }
.no-motion .hero-mask, .no-js .hero-mask, .no-motion .letterbox, .no-js .letterbox, .no-motion .hero-intro, .no-js .hero-intro { display: none; }
.no-motion .hero-photo, .no-js .hero-photo { transform: none; }
.no-motion .hero-shade, .no-js .hero-shade { opacity: 1; }
.no-motion .hero-meta, .no-js .hero-meta { opacity: 1; }

/* ---------- 9. Révélations ---------- */
.split-line { display: block; overflow: hidden; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.split-inner { display: inline-block; opacity: 0; transform: translateY(130%); transition: transform 1.1s var(--ease-out), opacity .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.is-in .split-inner, .split-inner.is-in { transform: none; opacity: 1; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.split-word > span { display: inline-block; opacity: 0; transform: translateY(130%); transition: transform .9s var(--ease-out), opacity .45s var(--ease-out); transition-delay: calc(var(--i, 0) * 28ms); }
.is-in .split-word > span { transform: none; opacity: 1; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .no-motion [data-reveal] { opacity: 1; transform: none; }
.no-js .split-inner, .no-motion .split-inner, .no-js .split-word > span, .no-motion .split-word > span { transform: none; opacity: 1; }
.clip-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
.clip-reveal.is-in, .no-js .clip-reveal, .no-motion .clip-reveal { clip-path: inset(0 0 0 0); }
.clip-reveal img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.clip-reveal.is-in img, .no-motion .clip-reveal img { transform: none; }

/* ---------- 10. Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- 11. Bandeau défilant ---------- */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 52px); border-block: 1px solid var(--line); user-select: none; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item {
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px);
  font-size: clamp(3rem, 8.5vw, 8.4rem); line-height: 1; font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 125; letter-spacing: -.01em; white-space: nowrap;
}
.marquee-item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee-item::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- 12. Cotes de plan (motif signature) ---------- */
.dim { position: relative; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.on-dark .dim, .on-moss .dim { color: var(--muted-dark); }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 1.2s var(--ease-io); }
.dim::before { transform-origin: 100% 50%; }
.dim::after { transform-origin: 0 50%; }
.dim.is-in::before, .dim.is-in::after, .no-motion .dim::before, .no-motion .dim::after { transform: scaleX(1); }
.dim > span { flex: none; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.dim-ends { position: relative; }
.dim-ends::before, .dim-ends::after { content: ""; position: absolute; top: -7px; width: 1px; height: 15px; background: currentColor; }
.dim-ends::before { left: 0; }
.dim-ends::after { right: 0; }
.reg { position: relative; }
.reg::before, .reg::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--orange), var(--orange)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 50% / 100% 1px no-repeat;
}
.reg::before { top: -11px; left: -11px; }
.reg::after { bottom: -11px; right: -11px; }
.figcap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }

/* ---------- 13. Manifeste ---------- */
.manifesto .statement { grid-column: 4 / span 9; }
.manifesto .statement em { font-style: normal; color: var(--orange-deep); }
.manifesto-body { grid-column: 8 / span 5; margin-top: clamp(32px, 4vw, 56px); }
.manifesto-fig { grid-column: 1 / -1; margin-top: clamp(64px, 9vw, 128px); }
.manifesto-fig .ph { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--r-sm); }
.manifesto-fig img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0)); }
@media (max-width: 860px) {
  .manifesto .statement, .manifesto-body { grid-column: 1 / -1; }
  .manifesto-fig .ph { aspect-ratio: 4 / 3; }
}

/* ---------- 14. Liste des services ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.svc-row { border-bottom: 1px solid var(--line-dark); }
.svc-link {
  display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 48px; gap: clamp(16px, 2vw, 32px);
  align-items: center; padding-block: clamp(22px, 3vw, 38px);
  transition: color var(--t-fast);
}
.svc-num { font-family: var(--f-mono); font-size: .8rem; color: var(--orange); letter-spacing: .06em; }
.svc-name {
  font-size: clamp(1.9rem, 4.4vw, 4.2rem); line-height: .95; font-weight: 700; text-transform: uppercase;
  font-variation-settings: "wdth" 112; letter-spacing: -.02em;
  transition: transform .6s var(--ease-out), color var(--t-fast);
}
.svc-desc { color: var(--muted-dark); font-size: 1rem; line-height: 1.5; max-width: 42ch; }
.svc-go {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; transition: background-color var(--t-fast), border-color var(--t-fast), transform .6s var(--ease-out);
}
.svc-go svg { width: 18px; height: 18px; }
.svc-link:hover .svc-name, .svc-link:focus-visible .svc-name { transform: translateX(18px); color: var(--orange); }
.svc-link:hover .svc-go { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: rotate(-45deg); }
.svc-thumb { display: none; }
.svc-float {
  position: fixed; left: 0; top: 0; z-index: 60; width: clamp(220px, 22vw, 340px); aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden; border-radius: var(--r-sm);
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85);
  transition: opacity .35s var(--ease-out);
}
.svc-float.is-on { opacity: 1; }
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease-out); }
.svc-float img.is-current { opacity: 1; }
@media (max-width: 860px) {
  .svc-link { grid-template-columns: 1fr auto; grid-template-areas: "num go" "name go" "desc desc" "thumb thumb"; row-gap: 10px; }
  .svc-num { grid-area: num; } .svc-name { grid-area: name; } .svc-desc { grid-area: desc; } .svc-go { grid-area: go; align-self: start; }
  .svc-thumb { display: block; grid-area: thumb; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-sm); margin-top: 8px; }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-float { display: none; }
}
@media (hover: none) { .svc-float { display: none; } }

/* ---------- 15. Galerie horizontale ---------- */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); row-gap: 3vh; padding-top: calc(var(--header-h) + 3vh); padding-bottom: 4vh; }
.hscroll-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hscroll-track { display: flex; gap: clamp(16px, 2vw, 28px); align-items: center; padding-inline: var(--gutter); will-change: transform; }
.hscroll-track { align-items: flex-start; }
.hpanel { --h: clamp(240px, calc(100svh - 440px), 560px); flex: none; width: calc(var(--h) * .8); }
.hpanel:nth-child(3n+2) { width: var(--h); }
.hpanel:nth-child(even) { margin-top: 4vh; }
.hpanel .ph { height: var(--h); overflow: hidden; border-radius: var(--r-sm); background: var(--sand); }
.hpanel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.hpanel:hover img { transform: scale(1); }
.hpanel figcaption { margin-top: 14px; display: grid; gap: 6px; }
.hscroll-bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.hscroll-bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hscroll-sticky { position: relative; height: auto; overflow: visible; padding-block: var(--section-y); row-gap: 32px; }
  .hscroll-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; scrollbar-width: none; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .hpanel, .hpanel:nth-child(3n+2) { width: 78vw; scroll-snap-align: start; }
  .hpanel .ph { height: auto; aspect-ratio: 4 / 5; }
  .hpanel:nth-child(even) { margin-top: 0; }
  .hscroll-bar { display: none; }
}
.no-js .hscroll { height: auto !important; }
.no-js .hscroll-sticky { position: relative; height: auto; }
.no-js .hscroll-track { overflow-x: auto; }

/* ---------- 16. Chiffres (bande orange) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.stat { border-top: 2px solid var(--ink); padding-top: 20px; display: grid; gap: 8px; }
.stat-num {
  font-size: clamp(5rem, 15vw, 15rem); line-height: .8; font-weight: 800;
  font-variation-settings: "wdth" 125; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.stat-lbl { font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 600; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } .stat-num { font-size: 7rem; } }

/* ---------- 17. Processus ---------- */
.process { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.process-aside { grid-column: 1 / span 4; }
.process-aside .sticky { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; }
.steps { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0 0 0 clamp(28px, 4vw, 56px); position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.steps::after { background: var(--orange); width: 2px; left: -.5px; transform-origin: top; transform: scaleY(var(--sp, 0)); }
.step { position: relative; padding-bottom: clamp(48px, 7vw, 96px); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: calc(-1 * clamp(28px, 4vw, 56px) - 6px); top: 12px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bone); border: 1px solid var(--muted); transition: background-color .4s, border-color .4s, transform .4s var(--ease-out);
}
.on-sand .step::before { background: var(--sand); }
.step.is-active::before { background: var(--orange); border-color: var(--orange); transform: scale(1.25); }
.step-num { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; color: var(--orange-deep); }
.step h3 { margin: 10px 0 12px; }
.step p { color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) {
  .process-aside, .steps { grid-column: 1 / -1; }
  .process-aside { margin-bottom: 48px; }
  .process-aside .sticky { position: static; }
}

/* ---------- 18. Verdissement ---------- */
.green { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 48px; align-items: start; }
.green-fig { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.green-fig .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); }
.green-fig img { width: 100%; height: 100%; object-fit: cover; }
.green-body { grid-column: 7 / span 6; display: grid; gap: 32px; }
.fill-text {
  font-size: clamp(3.4rem, 8.4vw, 8.6rem); line-height: .86; font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 116; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--lichen);
  background: linear-gradient(var(--lichen), var(--lichen)) 0 0 / var(--fill, 0%) 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.no-motion .fill-text { --fill: 100%; }
.green-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.green-list li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
.green-list li span { font-family: var(--f-mono); font-size: .75rem; color: var(--lichen); letter-spacing: .08em; }
.on-moss .label::before { background: var(--lichen); }
@media (max-width: 860px) {
  .green-fig, .green-body { grid-column: 1 / -1; }
  .green-fig { position: relative; top: 0; }
}

/* ---------- 19. Territoire ---------- */
.region-fig { margin-inline: auto; overflow: hidden; clip-path: inset(var(--ci, 12%) var(--ci, 12%) var(--ci, 12%) var(--ci, 12%) round var(--cr, 18px)); }
.region-fig img { width: 100%; height: clamp(420px, 80vh, 860px); object-fit: cover; transform: scale(var(--rs, 1.15)); }
.no-motion .region-fig { clip-path: none; }
.no-motion .region-fig img { transform: none; }
.region-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 48px; margin-top: clamp(56px, 8vw, 112px); }
.region-intro { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; }
.region-col--qc { grid-column: 7 / span 3; }
.region-col--on { grid-column: 10 / span 3; }
.region-col h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; }
.region-col ul { list-style: none; margin: 0; padding: 0; }
.region-col li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) {
  .region-intro, .region-col--qc, .region-col--on { grid-column: 1 / -1; }
}

/* ---------- 20. Accréditations ---------- */
.creds { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; padding-block: 28px; border-block: 1px solid var(--line); }
.cred { display: flex; gap: 12px; align-items: center; }
.cred strong { font-weight: 600; }

/* ---------- 21. Appel final (texte-fenêtre) ---------- */
.cta-final { overflow: hidden; }
.mask-text {
  font-size: clamp(3.4rem, 12.5vw, 13rem); line-height: .86; font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 118; letter-spacing: -.035em;
  background-image: var(--mask-img);
  background-size: cover; background-position: 50% var(--bp, 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .mask-text { color: var(--bone); background: none; } }
.cta-final .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(40px, 6vw, 72px); }

/* ---------- 22. Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--bone); padding-top: clamp(72px, 10vw, 140px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 48px; }
.foot-brand { grid-column: 1 / span 4; display: grid; gap: 20px; align-content: start; }
.foot-brand .brand-mark { width: 64px; height: 64px; }
.foot-col--1 { grid-column: 6 / span 2; }
.foot-col--2 { grid-column: 8 / span 2; }
.foot-col--3 { grid-column: 10 / span 3; }
.foot-col h2 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { font-size: .98rem; }
.foot-word { display: block; width: calc(100% - 2 * var(--gutter)); max-width: none; margin: clamp(48px, 7vw, 96px) auto 0; padding-bottom: clamp(16px, 2vw, 28px); overflow: visible; }
.foot-word text { font-family: var(--f-sans); font-size: 148px; font-weight: 800; font-variation-settings: "wdth" 125; fill: var(--bone); }
.foot-word tspan { fill: var(--orange); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line-dark); margin-top: 56px; color: var(--muted-dark); }
@media (max-width: 960px) {
  .foot-brand { grid-column: 1 / -1; }
  .foot-col--1, .foot-col--2, .foot-col--3 { grid-column: span 6; }
  .foot-col--3 { grid-column: 1 / -1; }
}

/* ---------- 23. Barre d'action mobile ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: none; gap: 8px; padding: 8px; border-radius: var(--r-pill);
  background: rgba(17, 18, 20, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.mobile-cta.is-on { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; }
.mobile-cta .btn--ghost { color: var(--bone); }
@media (max-width: 860px) { .mobile-cta { display: flex; } body { padding-bottom: 0; } }

/* ---------- 24. Curseur ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--orange); }
.cursor-ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(242, 90, 31, .7);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor-ring span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s; }
.cursor.is-label .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--orange); border-color: var(--orange); }
.cursor.is-label .cursor-ring span { opacity: 1; }
.cursor.is-link .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-hidden { opacity: 0; }

/* ---------- 25. Préchargement ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500; background: var(--ink); color: var(--bone);
  display: grid; place-items: center; transition: clip-path 1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.pl-seen .preloader, .no-motion .preloader { display: none; }
.preloader .pl-inner { display: grid; justify-items: center; gap: 26px; }
.preloader svg { width: 96px; height: 96px; }
.preloader .pl-ring { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: pl-draw 1.1s var(--ease-io) forwards; }
.preloader .pl-g { fill: var(--bone); opacity: 0; animation: pl-fade .5s .7s var(--ease-out) forwards; }
.preloader .pl-word { font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; overflow: hidden; }
.preloader .pl-word span { display: inline-block; transform: translateY(110%); animation: pl-up .8s .5s var(--ease-out) forwards; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-up { to { transform: none; } }

/* ---------- 26. Pages de service ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(56px, 8vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a { opacity: .7; } .crumbs a:hover { opacity: 1; color: var(--orange); }
.svc-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; align-items: end; }
.svc-hero-text { grid-column: 1 / span 7; display: grid; gap: 28px; }
.svc-hero h1 { font-size: clamp(1.9rem, 8.2vw, 5.4rem); }
@media (min-width: 861px) { .svc-hero h1 { font-size: clamp(2.4rem, 5.1vw, 5.4rem); } }
.next-svc .t-mega { font-size: clamp(2rem, 8vw, 9rem); }
.svc-hero-fig { grid-column: 9 / span 4; }
.svc-hero-fig .ph { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-sm); }
.svc-hero-fig img { width: 100%; height: 100%; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border: 1px solid currentColor; border-radius: var(--r-pill); opacity: .9; }
.svc-wide { margin-top: clamp(56px, 8vw, 112px); }
.svc-wide .ph { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--r-sm); }
.svc-wide img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0)); }
@media (max-width: 860px) {
  .svc-hero-text, .svc-hero-fig { grid-column: 1 / -1; }
  .svc-hero-fig .ph { aspect-ratio: 4 / 3; }
  .svc-wide .ph { aspect-ratio: 4 / 3; }
}
.scope { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; }
.scope-lead { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; }
.scope-list { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; counter-reset: sc; border-top: 1px solid var(--line); }
.scope-list li { counter-increment: sc; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; line-height: 1.4; }
.scope-list li::before { content: counter(sc, decimal-leading-zero); font-family: var(--f-mono); font-size: .78rem; color: var(--orange-deep); padding-top: .25em; }
@media (max-width: 860px) { .scope-lead, .scope-list { grid-column: 1 / -1; } }
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; align-items: start; }
.duo figure:first-child { grid-column: 1 / span 7; }
.duo figure:last-child { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
.duo .ph { overflow: hidden; border-radius: var(--r-sm); }
.duo figure:first-child .ph { aspect-ratio: 4 / 3; }
.duo figure:last-child .ph { aspect-ratio: 3 / 4; }
.duo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .duo figure:first-child, .duo figure:last-child { grid-column: 1 / -1; margin-top: 0; } }
.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who li { list-style: none; padding: 14px 20px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); font-weight: 500; }

/* FAQ */
.faq { grid-column: 4 / span 9; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 0 28px; max-width: 64ch; color: var(--muted); }
.faq details[open] .ans { animation: faq-in .5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq { grid-column: 1 / -1; } }

/* Service suivant */
.next-svc { display: block; padding-block: clamp(72px, 10vw, 140px); position: relative; overflow: hidden; }
.next-svc .bg { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease-out); }
.next-svc .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.next-svc .bg::after { content: ""; position: absolute; inset: 0; background: rgba(17, 18, 20, .55); }
.next-svc:hover .bg, .next-svc:focus-visible .bg { opacity: 1; }
.next-svc:hover .bg img { transform: none; }
.next-svc .wrap { position: relative; display: grid; gap: 18px; }
.next-svc .t-mega { transition: transform .8s var(--ease-out); }
.next-svc:hover .t-mega { transform: translateX(2vw); }

/* Bande CTA orange */
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }

/* ---------- 27. Approche ---------- */
.values { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.value { background: var(--ink); color: var(--bone); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: space-between; min-height: 300px; }
.value:nth-child(1) { grid-column: span 7; }
.value:nth-child(2) { grid-column: span 5; background: var(--orange); color: var(--ink); }
.value:nth-child(3) { grid-column: span 5; background: var(--sand); color: var(--ink); }
.value:nth-child(4) { grid-column: span 7; background: var(--moss); }
.value .num { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; }
.value p { max-width: 44ch; opacity: .86; }
@media (max-width: 860px) { .value:nth-child(n) { grid-column: 1 / -1; } }
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.sector .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); margin-bottom: 20px; }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sector:hover img { transform: scale(1.04); }
.sector ul { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sector li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- 28. Formulaire de soumission ---------- */
.quote { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 48px; align-items: start; }
.quote-form { grid-column: 1 / span 8; background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); }
.quote-side { grid-column: 10 / span 3; display: grid; gap: 32px; position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) { .quote-form, .quote-side { grid-column: 1 / -1; } .quote-side { position: static; } }
.q-progress { display: flex; gap: 6px; margin-bottom: 36px; }
.q-progress span { flex: 1; height: 3px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.q-progress span::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.q-progress span.is-done::after { transform: scaleX(1); }
.q-step { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.js .q-step:not(.is-current) { display: none; }
.js .q-step.is-current { animation: q-in .6s var(--ease-out); }
@keyframes q-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.q-step legend { padding: 0; margin-bottom: 26px; display: grid; gap: 8px; }
.q-step legend .t-h3 { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: 6px; min-height: 100%; padding: 18px 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bone);
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.choice span b { font-weight: 600; font-size: 1.02rem; }
.choice span small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--orange); background: #fff3ec; box-shadow: inset 0 0 0 1px var(--orange); }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field label { font-size: .9rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--bone); border: 1px solid #8b8f94; border-radius: var(--r-md);
  padding: 14px 16px; min-height: 54px; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 90, 31, .25); }
.field .err { color: #a3260a; font-size: .85rem; min-height: 1.2em; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #a3260a; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.q-nav { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; }
.no-js .q-nav [data-q-prev], .no-js .q-nav [data-q-next] { display: none; }
.js .q-nav [type="submit"]:not(.is-visible) { display: none; }
.q-count { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: ns; display: grid; gap: 18px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 36px 1fr; gap: 8px; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font-family: var(--f-mono); font-size: .78rem; color: var(--orange-deep); padding-top: .2em; }
.contact-lines { display: grid; gap: 10px; }
.contact-lines a { font-size: 1.15rem; font-weight: 600; }

/* ---------- 29. Pages texte ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; letter-spacing: -.01em; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.todo { background: #fff3ec; border: 1px dashed var(--orange-deep); padding: 2px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: .85em; }
.credits-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.credits-list li { display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits-list img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }

/* ---------- 30. Image : apparition au chargement ---------- */
img.lazy-fade { opacity: 0; transition: opacity .8s var(--ease-out); }
img.lazy-fade.is-loaded { opacity: 1; }
.no-js img.lazy-fade { opacity: 1; }

/* ---------- 31. Transitions de page ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-2%); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(3%); } }

/* ---------- 32. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  @view-transition { navigation: none; }
}

/* ---------- 33. Impression ---------- */
@media print {
  .site-header, .mobile-cta, .grain, .cursor, .preloader, .menu, .hero-mask, .letterbox, .hero-intro { display: none !important; }
  .hero { height: auto; } .hero-stage { position: relative; height: auto; }
  body { background: #fff; }
}
