/* Polices hébergées localement (pas d'appel à Google Fonts) */
/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk — latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk — latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================
   STUDIO ELIE — DA v3 « système »
   encre · os · vermillon signal
   Space Grotesk / Inter / JetBrains Mono
   ========================================================== */

/* ---------- 1. Tokens & reset ---------- */
:root {
  /* couleurs fixes */
  --ink: #07080a;
  --bone: #f6f4ee;
  --sig: #ff4d1f;
  --sig-h: #ff6a42;
  --sig-soft: rgba(255, 77, 31, .12);
  --ok: #3ddc97;

  /* thème clair (défaut) */
  --bg: #f6f4ee;
  --bg-2: #ffffff;
  --bg-3: #efece4;
  --bg-4: #e0dcd0;
  --fg: #0b0c0f;
  --mute: #555a64;
  --mute-2: #6b6f79;
  --line: rgba(11, 12, 15, .09);
  --line-2: rgba(11, 12, 15, .18);
  --line-3: rgba(11, 12, 15, .42);
  --tint: rgba(11, 12, 15, .035);
  --tint-2: rgba(11, 12, 15, .07);
  --glass: rgba(246, 244, 238, .8);
  --sig-t: #c8380d;
  --ok-t: #0d8a54;
  --shadow-card: 0 30px 70px -36px rgba(11, 12, 15, .28);

  --f-d: "Space Grotesk", system-ui, sans-serif;
  --f-b: "Inter", system-ui, -apple-system, sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --pad: clamp(20px, 4vw, 48px);
  --cell: 64px;

  --z-header: 50;
  --z-progress: 55;
  --z-cursor: 80;
  --z-curtain: 90;
  --z-boot: 95;
  --z-skip: 100;
}

/* zones sombres : console, circuit, résultat du simulateur, CTA, footer */
.dark {
  --bg: #07080a;
  --bg-2: #0c0e12;
  --bg-3: #12151b;
  --bg-4: #1b1f28;
  --fg: #f3f1ea;
  --mute: #9a9ea8;
  --mute-2: #70747e;
  --line: rgba(243, 241, 234, .09);
  --line-2: rgba(243, 241, 234, .17);
  --line-3: rgba(243, 241, 234, .36);
  --tint: rgba(243, 241, 234, .035);
  --tint-2: rgba(243, 241, 234, .08);
  --glass: rgba(7, 8, 10, .74);
  --sig-t: #ff6a42;
  --ok-t: #3ddc97;
  --shadow-card: 0 30px 70px -36px rgba(0, 0, 0, .8);
  background: var(--bg); color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--f-b);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--sig); color: #0a0604; }
.dark ::selection { background: var(--sig); color: #0a0604; }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }

.container { width: 100%; max-width: 1288px; margin-inline: auto; padding-inline: var(--pad); }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: var(--z-skip);
  padding: 12px 18px; border-radius: 10px; background: var(--fg); color: var(--bg);
  font-weight: 600; transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- 2. Typo & utilitaires ---------- */
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.7vw, 4.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.028em; line-height: 1.12; }
p { text-wrap: pretty; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
}
.label b { color: var(--sig-t); font-weight: 500; }
.fine { font-size: 13px; line-height: 1.5; color: var(--mute-2); }

.dot-live {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2.2s infinite; flex: none;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } }

/* ---------- 3. Boutons ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent;
  font: 500 15.5px/1 var(--f-b); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  translate: var(--tx) var(--ty);
  transition: translate .45s var(--ease), background .25s, border-color .25s, box-shadow .4s, color .25s, scale .2s var(--ease);
}
.btn:active { scale: .97; }
.btn .arr { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-sig { background: var(--sig); color: #0a0604; font-weight: 600; }
.btn-sig::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-sig:hover::before { transform: translateX(120%); }
.btn-sig:hover { background: var(--sig-h); box-shadow: 0 14px 44px -12px rgba(255, 77, 31, .7); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: var(--tint); }
.btn-ghost:hover { background: var(--tint-2); border-color: var(--line-3); }
.btn-inv { background: var(--fg); color: var(--bg); }
.btn-inv:hover { box-shadow: 0 14px 40px -14px var(--line-3); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ---------- 4. Barre d'état, header, nav ---------- */
.statusbar { border-bottom: 1px solid var(--line); font: 400 11.5px/1 var(--f-m); letter-spacing: .04em; color: var(--mute); }
.statusbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.sb-item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.sb-item b { font-weight: 400; color: var(--fg); font-variant-numeric: tabular-nums; }
.lang { gap: 6px; }
.statusbar-inner { min-width: 0; }
.sb-item:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 680px) { .sb-mid { display: none; } }
.lang a { padding: 6px 4px; color: var(--mute-2); transition: color .2s; }
.lang a:hover, .lang a.on { color: var(--fg); }
.lang span { color: var(--mute-2); }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease), border-color .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { opacity: 1; }
.site-header.hide { transform: translateY(-101%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--fg); }
.logo-mark { width: 30px; height: 30px; flex: none; transition: rotate .6s var(--ease); }
.logo:hover .logo-mark { rotate: 90deg; }
.logo-text { font: 600 19.5px/1 var(--f-d); letter-spacing: -.035em; }
.logo-text span { color: var(--mute); font-weight: 500; }
.logo-text i { font-style: normal; color: var(--sig); margin: 0 1px; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a {
  padding: 11px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--mute);
  transition: color .25s, background .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--fg); }
.main-nav a.active { background: var(--tint-2); }
.roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; vertical-align: bottom; }
.roll > span { display: block; transition: transform .45s var(--ease); }
a:hover > .roll > span { transform: translateY(-100%); }

.burger { display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 12px; border: 1px solid var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease); }
.nav-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: flex; position: relative; z-index: 2; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    padding: 96px var(--pad) 48px; background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav a {
    padding: 8px 0; font: 500 clamp(32px, 9vw, 52px)/1.12 var(--f-d); letter-spacing: -.04em; color: var(--fg); background: none !important;
    opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .nav-open .main-nav a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 55ms + 120ms); }
  .roll { height: auto; overflow: visible; }
  .roll > span + span { display: none; }
  a:hover > .roll > span { transform: none; }
  .site-header .logo { position: relative; z-index: 2; }
}

/* ---------- 5. Fond grille + hero ---------- */
.grid-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 62% 32%, #000 8%, transparent 74%);
  mask-image: radial-gradient(ellipse 95% 85% at 62% 32%, #000 8%, transparent 74%);
}
.grid-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; right: -18vw; top: -30vw;
  background: radial-gradient(circle, rgba(255, 77, 31, .17), transparent 62%);
}

.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 7.5vw, 116px) 0 clamp(72px, 9vw, 132px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.hero-title { margin: 26px 0 30px; font-size: clamp(2.9rem, 6.6vw, 6.4rem); line-height: .98; letter-spacing: -.05em; }
.hero-title .line { white-space: nowrap; }
.hero-title .line { display: block; overflow: hidden; padding: .09em 0 .13em; margin: -.09em 0 -.13em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: normal; color: var(--sig); }
.hero-lead { max-width: 54ch; font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.62; color: var(--mute); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 12px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.hero-tags b { font-weight: 500; color: var(--sig-t); margin-right: 6px; }

/* intro du hero (déclenchée par .is-ready sur <html>) */
.js:not(.has-gsap) .hero-title .line > span { transform: translateY(112%) rotate(3deg); transform-origin: 0 100%; }
.js:not(.has-gsap) .intro:not(.console) { opacity: 0; transform: translateY(22px); }
.js:not(.has-gsap) .console.intro { opacity: 0; translate: 0 46px; scale: .97; }
.js:not(.has-gsap).is-ready .hero-title .line > span { transform: none; transition: transform 1.15s var(--ease); }
.js:not(.has-gsap).is-ready .hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.js:not(.has-gsap).is-ready .hero-title .line:nth-child(3) > span { transition-delay: .18s; }
.js:not(.has-gsap).is-ready .intro:not(.console) { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, .35s), transform 1.1s var(--ease) var(--d, .35s); }
.js:not(.has-gsap).is-ready .console.intro { opacity: 1; translate: 0 0; scale: 1; transition: opacity 1s var(--ease) var(--d, .5s), translate 1.2s var(--ease) var(--d, .5s), scale 1.2s var(--ease) var(--d, .5s), transform .6s var(--ease); }

/* avec GSAP : tout le hero reste masqué jusqu'au départ de la timeline */
.js.has-gsap:not(.is-ready) .hero-grid, .js.has-gsap:not(.is-ready) .page-hero .container { visibility: hidden; }
.hc { display: inline-block; will-change: transform; }

/* Console */
.console {
  position: relative; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 23, 30, .94), rgba(11, 13, 17, .94));
  box-shadow: 0 50px 110px -44px rgba(11, 12, 15, .6), 0 0 100px -36px rgba(255, 77, 31, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.console-tilt { perspective: 1400px; }
.console-tilt .console { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.console-bar { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 20px; border-bottom: 1px solid var(--line); font: 400 12px/1 var(--f-m); color: var(--mute); }
.console-title i { font-style: normal; color: var(--sig-t); }
.console-live { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; color: var(--ok-t); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { padding: 18px 20px 20px; border-right: 1px solid var(--line); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi span { display: block; font: 400 10.5px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; margin-top: 10px; font: 500 clamp(20px, 2vw, 27px)/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi b.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { color: var(--sig); transform: translateY(-3px); } 100% { color: inherit; transform: none; } }
.feed-wrap { height: 260px; overflow: hidden; border-top: 1px solid var(--line); -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.feed li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.feed time { font: 400 11px/1 var(--f-m); color: var(--mute-2); font-variant-numeric: tabular-nums; }
.tag { min-width: 62px; padding: 5px 0; border-radius: 6px; border: 1px solid var(--line-2); text-align: center; font: 500 10px/1 var(--f-m); letter-spacing: .08em; color: var(--mute); }
.tag.t-sig { border-color: rgba(255, 77, 31, .5); color: var(--sig-t); background: var(--sig-soft); }
.tag.t-ok { border-color: rgba(61, 220, 151, .4); color: var(--ok-t); background: rgba(61, 220, 151, .08); }
.ft { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg); opacity: .86; }
.feed li.new { animation: row-in .7s var(--ease); }
@keyframes row-in { from { background: rgba(255, 77, 31, .14); } to { background: transparent; } }
.console-foot { padding: 12px 20px; border-top: 1px solid var(--line); font: 400 10.5px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .console { max-width: 640px; }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feed li { grid-template-columns: auto minmax(0, 1fr); padding: 0 16px; }
  .feed time { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- 6. Marquee & manifeste ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track.driven { animation: none; will-change: transform; }
.marquee span { font: 500 clamp(22px, 2.9vw, 40px)/1 var(--f-d); letter-spacing: -.035em; color: var(--mute-2); white-space: nowrap; transition: color .3s; }
.marquee span:nth-child(3n+1) { color: var(--fg); }
.marquee span::after { content: "/"; margin: 0 .55em; color: var(--sig); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-sm span { font: 400 14px/1 var(--f-m); letter-spacing: .04em; text-transform: uppercase; }

.manifesto { padding: clamp(96px, 13vw, 200px) 0; }
.mf { max-width: 1120px; font: 500 clamp(1.8rem, 4.5vw, 3.9rem)/1.12 var(--f-d); letter-spacing: -.04em; }
.mf em { font-style: normal; color: var(--sig); }
.mf .w { display: inline-block; }
.js.has-gsap .mf .w { opacity: .14; }

/* ---------- 7. Sections ---------- */
.sec { position: relative; padding: clamp(88px, 11vw, 168px) 0; }
.sec-tight { padding: clamp(72px, 8vw, 120px) 0; }
.sec-panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px 32px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 80px); }
.sec-head .label { grid-column: 1 / -1; }
.sec-head h2 { grid-column: 1 / 9; }
.sec-head p { grid-column: 9 / 13; max-width: 44ch; padding-bottom: .4em; color: var(--mute); }
@media (max-width: 960px) { .sec-head h2, .sec-head p { grid-column: 1 / -1; } }


/* ---------- 8. Expertises ---------- */
.xp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.xp {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bg-2);
}
.xp:hover { border-color: var(--line-2); translate: 0 -6px; box-shadow: var(--shadow-card); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 77, 31, .13), transparent 55%);
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.xp-n, .prod-k { font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--sig-t); }
.xp h3 { margin: 12px 0 12px; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.xp p { max-width: 50ch; font-size: 16px; color: var(--mute); }
.xp ul { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.xp li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.xp li::before { content: "+"; font-family: var(--f-m); color: var(--sig-t); }
.xp-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s; }
.xp-link span { transition: transform .4s var(--ease); }
.xp-link:hover { border-color: var(--sig); }
.xp-link:hover span { transform: translate(3px, -3px); }
@media (max-width: 820px) { .xp-grid { grid-template-columns: 1fr; } }

/* mini-visuels */
.viz { position: relative; height: 190px; margin-bottom: 28px; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-3); }
.viz-site { display: flex; flex-direction: column; }
.vs-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.vs-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--bg-4); }
.vs-bar em { flex: 1; max-width: 52%; height: 12px; margin-left: 12px; border-radius: 6px; background: var(--bg-4); }
.vs-body { flex: 1; display: grid; align-content: start; gap: 10px; padding: 18px; }
.vs-body b { display: block; height: 11px; border-radius: 4px; background: var(--bg-4); transform-origin: 0 50%; animation: build 6.5s var(--ease) infinite both; }
.vs-body .b1 { width: 58%; height: 22px; background: var(--fg); }
.vs-body .b2 { width: 82%; animation-delay: .22s; }
.vs-body .b3 { width: 112px; height: 26px; border-radius: 7px; background: var(--sig); animation-delay: .44s; }
.vs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.vs-row b { height: 40px; border-radius: 8px; }
.vs-row b:nth-child(1) { animation-delay: .66s; } .vs-row b:nth-child(2) { animation-delay: .8s; } .vs-row b:nth-child(3) { animation-delay: .94s; }
@keyframes build { 0%, 6% { transform: scaleX(0); opacity: 0; } 20%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }

.viz-ads { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; background-position: center; }
.viz-ads .pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 22px var(--sig); }
.viz-ads .ring { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px; border-radius: 50%; border: 1px solid var(--sig); opacity: 0; animation: ring 3.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.viz-ads .r2 { animation-delay: 1.2s; } .viz-ads .r3 { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.06); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.viz-ads .ld { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); opacity: 0; animation: ld 3.6s var(--ease) infinite; }
.viz-ads .l1 { left: 24%; top: 30%; animation-delay: .5s; } .viz-ads .l2 { left: 71%; top: 24%; animation-delay: 1.1s; }
.viz-ads .l3 { left: 63%; top: 70%; animation-delay: 1.7s; } .viz-ads .l4 { left: 33%; top: 72%; animation-delay: 2.3s; } .viz-ads .l5 { left: 84%; top: 52%; animation-delay: 2.9s; }
@keyframes ld { 0%, 12% { transform: scale(0); opacity: 0; } 24% { transform: scale(1.5); opacity: 1; } 34%, 78% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

.viz-ia { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 20px; }
.bub { max-width: 80%; padding: 10px 14px; border-radius: 15px; font-size: 13px; line-height: 1.38; opacity: 0; }
.b-in { align-self: flex-start; border-bottom-left-radius: 4px; background: var(--bg-4); animation: b-in 9s var(--ease) infinite; }
.b-slot { display: grid; justify-items: end; align-items: start; }
.b-slot > * { grid-area: 1 / 1; }
.b-typing { display: inline-flex; gap: 5px; padding: 14px 15px; border-bottom-right-radius: 4px; background: var(--sig-soft); animation: b-typing 9s var(--ease) infinite; }
.b-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--sig); animation: typing 1s infinite; }
.b-typing i:nth-child(2) { animation-delay: .15s; } .b-typing i:nth-child(3) { animation-delay: .3s; }
.b-out { border-bottom-right-radius: 4px; background: var(--sig); color: #0a0604; font-weight: 500; animation: b-out 9s var(--ease) infinite; }
@keyframes b-in { 0%, 4% { opacity: 0; transform: translateY(10px); } 10%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes b-typing { 0%, 20% { opacity: 0; } 25%, 42% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes b-out { 0%, 45% { opacity: 0; transform: translateY(10px); } 52%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

.viz-auto { display: flex; align-items: center; justify-content: space-between; padding: 0 13%; }
.viz-auto .an { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); animation: an 4.4s infinite; }
.viz-auto .n2 { animation-delay: 1.2s; } .viz-auto .n3 { animation-delay: 2.4s; } .viz-auto .n4 { animation-delay: 3.6s; }
@keyframes an { 0%, 30%, 100% { border-color: var(--line-2); box-shadow: none; background: var(--bg-2); } 4%, 16% { border-color: var(--sig); box-shadow: 0 0 0 5px var(--sig-soft); background: var(--sig-soft); } }
.viz-auto .aline { position: absolute; left: 13%; right: 13%; top: 50%; height: 1px; background: var(--line-2); }
.viz-auto .apkt { position: absolute; top: 50%; left: calc(13% + 20px); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 14px var(--sig); animation: apkt 4.4s linear infinite; }
@keyframes apkt { 0% { left: calc(13% + 20px); opacity: 1; } 81.8% { left: calc(87% - 20px); opacity: 1; } 88%, 100% { left: calc(87% - 20px); opacity: 0; } }

/* ---------- 9. Circuit ---------- */
.levels { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; border: 1px solid var(--line-2); border-radius: 17px; background: var(--bg); max-width: 100%; }
.levels button { display: grid; gap: 5px; padding: 12px 22px; border-radius: 12px; text-align: left; font-size: 15.5px; font-weight: 500; color: var(--mute); transition: background .35s var(--ease), color .35s; }
.levels small { font: 500 10.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-2); transition: color .35s; }
.levels button:hover { color: var(--fg); }
.levels [aria-selected="true"] { background: var(--fg); color: var(--bg); }
.levels [aria-selected="true"] small { color: #c8380d; }
.level-desc { min-height: 3.2em; max-width: 62ch; margin-top: 24px; font-size: 1.06rem; color: var(--mute); }

.track { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.node { position: relative; }
.node::after { content: ""; position: absolute; top: 37px; left: 100%; width: 12px; height: 1px; background: var(--line-2); transition: background .3s; }
.node:last-child::after { display: none; }
.node.passed::after { background: var(--sig); }
.node-btn {
  display: grid; align-content: start; justify-items: start; gap: 10px; width: 100%; height: 100%; min-height: 158px;
  padding: 16px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg); text-align: left;
  transition: border-color .35s, background .35s, box-shadow .45s, opacity .35s, translate .45s var(--ease);
}
.node-btn:hover { translate: 0 -3px; border-color: var(--line-3); }
.node-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg-3); transition: background .35s, color .35s, border-color .35s; }
.node-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.node-name { font-size: 14px; font-weight: 500; line-height: 1.22; }
.node-state { font: 500 10px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; }
.node-time { min-height: 1em; font: 400 11.5px/1 var(--f-m); color: var(--mute); opacity: 0; transition: opacity .3s; }
.node.passed .node-time, .node.active .node-time { opacity: 1; }
.node.auto .node-state { color: var(--ok-t); }
.node.manual .node-state { color: var(--mute); }
.node.manual .node-btn { border-style: dashed; background: transparent; }
.node.manual .node-ico { color: var(--mute-2); }
.node.manual .node-name { color: var(--mute); }
.node.active .node-btn { border-style: solid; border-color: var(--sig); background: rgba(255, 77, 31, .08); box-shadow: 0 0 0 1px var(--sig), 0 18px 50px -16px rgba(255, 77, 31, .6); }
.node.active .node-ico { background: var(--sig); border-color: var(--sig); color: #0a0604; }
.node.active .node-name { color: var(--fg); }
.node.manual.active .node-time, .node.manual.passed .node-time { color: var(--sig-t); }

.circuit-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; margin-top: 22px; }
.detail { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); min-height: 190px; }
.detail-step { font: 500 11.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--sig-t); }
.detail h3 { margin: 14px 0 10px; }
.detail p { max-width: 56ch; color: var(--mute); }
.detail.swap > * { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: var(--bg); overflow: hidden; }
.readout > div { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 26px 22px; border-right: 1px solid var(--line); }
.readout > div:last-child { border-right: 0; }
.readout span { font: 400 11px/1.35 var(--f-m); letter-spacing: .07em; text-transform: uppercase; color: var(--mute-2); }
.readout b { font: 500 clamp(20px, 2.1vw, 30px)/1.05 var(--f-d); letter-spacing: -.035em; }
.readout b.flip { animation: swap .5s var(--ease); }
.circuit .fine { margin-top: 18px; }

@media (max-width: 1160px) {
  .track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .node:nth-child(4)::after { display: none; }
}
@media (max-width: 900px) { .circuit-bottom { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .levels { display: grid; width: 100%; }
  .levels button { padding: 11px 12px; font-size: 13.5px; }
  .levels small { font-size: 9.5px; }
  .track { grid-template-columns: 1fr; gap: 10px; }
  .node::after, .node:nth-child(4)::after { display: block; top: 100%; left: 36px; width: 1px; height: 10px; }
  .node:last-child::after { display: none; }
  .node-btn { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 14px; row-gap: 5px; min-height: 0; padding: 14px 16px; }
  .node-ico { grid-row: 1 / 3; }
  .node-name { grid-column: 2; align-self: end; }
  .node-state { grid-column: 2; grid-row: 2; align-self: start; }
  .node-time { grid-column: 3; grid-row: 1 / 3; }
  .readout { grid-template-columns: 1fr; }
  .readout > div { flex-direction: row; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .readout > div:last-child { border-bottom: 0; }
}

/* ---------- 10. Simulateur ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.sim-controls { display: grid; align-content: start; gap: 52px; }
.sim legend, .budget label, .field-label {
  display: block; margin-bottom: 20px; font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
}
.sim legend b, .budget label b, .field-label b { margin-right: 10px; font-weight: 500; color: var(--sig-t); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 15px; font-weight: 500; cursor: pointer; user-select: none;
  transition: background .3s var(--ease), color .3s, border-color .3s, scale .2s var(--ease);
}
.chip span:hover { border-color: currentColor; }
.chip span:active { scale: .96; }
.chip input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--sig-t); outline-offset: 3px; }
.budget-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.budget output { font: 500 clamp(28px, 3.2vw, 44px)/1 var(--f-d); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.budget-ticks { display: flex; justify-content: space-between; margin-top: 8px; font: 400 11.5px/1 var(--f-m); color: var(--mute-2); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; --p: 25%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--sig) var(--p), var(--line-2) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: #fff; border: 2px solid var(--sig); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); transition: scale .25s var(--ease); }
input[type="range"]:active::-webkit-slider-thumb { scale: 1.18; }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--sig); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--sig); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }

.sim-result {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 42px);
  border-radius: 28px; background: var(--bg); color: var(--fg);
  box-shadow: 0 40px 90px -40px rgba(11, 12, 15, .6);
}
.sim-result::before { content: ""; position: absolute; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 77, 31, .3), transparent 65%); pointer-events: none; }
.sim-result > * { position: relative; }
.sr-label { font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sr-big { margin-top: 26px; font: 500 clamp(3.2rem, 6.6vw, 6rem)/.95 var(--f-d); letter-spacing: -.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-big b { font-weight: 500; }
.sr-unit { margin-top: 12px; font-size: 1.05rem; color: var(--mute); }
.sr-rows { display: grid; grid-template-columns: 1fr 1fr; margin: 34px 0; border-block: 1px solid var(--line); }
.sr-rows > div { padding: 20px 0; }
.sr-rows > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.sr-rows span { display: block; font: 400 11px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); }
.sr-rows b { display: block; margin-top: 12px; font: 500 clamp(20px, 2vw, 27px)/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sim-result .btn { margin-top: auto; }
.sim-result .fine { margin-top: 18px; }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } .sim-controls { gap: 40px; } }
@media (max-width: 480px) { .sim-result .btn { white-space: normal; height: auto; min-height: 56px; padding: 14px 20px; text-align: center; } }

/* ---------- 11. Production, méthode, FAQ, CTA, footer ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prod { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 320px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bg-2); }
.prod:hover { border-color: var(--line-2); translate: 0 -6px; box-shadow: var(--shadow-card); }
.p-wide { grid-column: span 2; }
.prod-fig { margin-top: auto; padding-top: 56px; font: 500 clamp(2.4rem, 4.6vw, 4.5rem)/.95 var(--f-d); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.prod h3 { margin: 12px 0 14px; font: 400 13px/1.3 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.prod p { max-width: 52ch; font-size: 15.5px; color: var(--mute); }
@media (max-width: 960px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .prod-grid { grid-template-columns: 1fr; } .p-wide { grid-column: auto; } .prod { min-height: 0; } }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 44px; }
.steps-line { position: absolute; top: 4px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.steps-line i { display: block; height: 100%; background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); }
.steps li { position: relative; }
.steps li.steps-line { position: absolute; padding: 0; }
.steps li.steps-line::before { display: none; }
.steps li::before { content: ""; position: absolute; top: -44.5px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background .5s var(--ease) .2s, border-color .5s .2s, box-shadow .5s .2s; }
.steps li.in::before { background: var(--sig); border-color: var(--sig); box-shadow: 0 0 0 5px var(--sig-soft); }
.steps li > span { font: 500 12px/1 var(--f-m); letter-spacing: .1em; color: var(--sig-t); }
.steps h3 { margin: 16px 0 12px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.steps p { font-size: 15.5px; color: var(--mute); max-width: 34ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 36px; }
  .steps-line { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .steps-line i { width: 100%; transform-origin: 50% 0; transform: scaleY(0); }
  .steps li { padding: 0 0 40px; } .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: 2px; left: -36.5px; }
}

.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq-wrap .sec-head { display: block; margin: 0; position: sticky; top: 120px; }
.faq-wrap .sec-head h2 { margin-top: 26px; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font: 500 clamp(1.1rem, 1.7vw, 1.4rem)/1.25 var(--f-d); letter-spacing: -.025em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sig-t); }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .35s, border-color .35s, rotate .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq summary i::after { rotate: 90deg; transition: rotate .5s var(--ease); }
.faq details[open] summary i { background: var(--sig); border-color: var(--sig); color: #0a0604; rotate: 180deg; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { max-width: 62ch; padding: 0 58px 30px 0; color: var(--mute); }
.faq details[open] p { animation: swap .55s var(--ease); }
.faq a, .prose a { color: var(--fg); border-bottom: 1px solid var(--sig); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .sec-head { position: static; } .faq details p { padding-right: 0; } }

.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 15vw, 230px) 0; border-top: 1px solid var(--line); text-align: center; }
.cta .grid-bg { -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 55%, #000 5%, transparent 72%); mask-image: radial-gradient(ellipse 75% 80% at 50% 55%, #000 5%, transparent 72%); }
.cta .glow { right: auto; top: auto; left: 50%; bottom: -55vw; translate: -50% 0; width: 100vw; height: 100vw; max-width: 1400px; max-height: 1400px; }
.cta h2 { margin: 30px 0 28px; font-size: clamp(3.2rem, 11.5vw, 10.5rem); line-height: .9; letter-spacing: -.06em; }
.cta p { max-width: 46ch; margin-inline: auto; font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: var(--mute); }
.cta .hero-actions { justify-content: center; }

.site-footer { position: relative; overflow: hidden; padding: clamp(64px, 7vw, 104px) 0 28px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.footer-about p { max-width: 36ch; margin-top: 20px; font-size: 15px; color: var(--mute); }
.site-footer h4 { margin-bottom: 20px; font: 500 11.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-2); }
.site-footer li a { display: inline-block; padding: 7px 0; font-size: 15px; color: var(--mute); transition: color .25s, translate .35s var(--ease); }
.site-footer li a:hover { color: var(--fg); translate: 4px 0; }
.footer-word { margin: clamp(48px, 7vw, 96px) 0 0 -.04em; font: 600 clamp(4.4rem, 20.5vw, 20rem)/.8 var(--f-d); letter-spacing: -.07em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; transition: color .8s var(--ease); }
.footer-word:hover { color: var(--tint-2); }
.footer-word .ch { display: inline-block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 11.5px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- 12. Pages internes ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 8vw, 132px) 0 clamp(64px, 7vw, 112px); border-bottom: 1px solid var(--line); }
.page-title { margin: 26px 0 28px; max-width: 16ch; font-size: clamp(2.7rem, 6.6vw, 6rem); line-height: .98; letter-spacing: -.05em; }
.page-title em { font-style: normal; color: var(--sig); }
.page-hero .hero-lead { max-width: 60ch; }

.anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.anchors a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: background .3s, border-color .3s, color .3s; }
.anchors a b { font: 500 11px/1 var(--f-m); color: var(--sig-t); }
.anchors a:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.anchors a:hover b { color: var(--sig); }

.offer { padding: clamp(72px, 9vw, 140px) 0; border-bottom: 1px solid var(--line); }
.offer:nth-of-type(even) { background: var(--bg-2); }
.offer-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.offer-side { position: sticky; top: 116px; }
.offer-n { display: block; font: 500 clamp(4rem, 8vw, 7.5rem)/.85 var(--f-d); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-bottom: 26px; }
.offer-side h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
.offer-side p { margin: 22px 0 30px; max-width: 46ch; color: var(--mute); }
.offer-side .viz { margin: 0 0 30px; max-width: 460px; }
.rows { border-top: 1px solid var(--line-2); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 26px 0; border-bottom: 1px solid var(--line-2); transition: padding .45s var(--ease); }
.row::before { content: ""; position: absolute; inset: 0 -20px; z-index: -1; border-radius: 14px; background: var(--tint); opacity: 0; transition: opacity .35s; }
.row:hover { padding-inline: 8px; }
.row:hover::before { opacity: 1; }
.row h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.row p { grid-column: 1; max-width: 56ch; font-size: 15.5px; color: var(--mute); }
.row .price { grid-column: 2; grid-row: 1 / 3; align-self: center; text-align: right; font: 500 15px/1.3 var(--f-m); color: var(--fg); white-space: nowrap; }
.row .price small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); }
.row .price em { font-style: normal; color: var(--sig-t); }
.offer-note { margin-top: 24px; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } .offer-side { position: static; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .row .price { grid-column: 1; grid-row: auto; text-align: left; margin-top: 6px; } }

.lvls { display: grid; gap: 16px; }
.lvl { position: relative; overflow: hidden; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--bg); }
.lvl:hover { border-color: var(--line-3); translate: 0 -4px; box-shadow: var(--shadow-card); }
.lvl-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lvl-bars { display: inline-flex; gap: 4px; }
.lvl-bars i { width: 22px; height: 6px; border-radius: 3px; background: var(--bg-4); }
.lvl-bars i.on { background: var(--sig); box-shadow: 0 0 12px rgba(255, 77, 31, .6); }
.lvl h3 { margin: 18px 0 10px; }
.lvl p { color: var(--mute); font-size: 15.5px; max-width: 58ch; }
.lvl ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lvl li { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); font: 400 12px/1 var(--f-m); color: var(--mute); }
.lvl .price { font: 500 14px/1 var(--f-m); color: var(--fg); white-space: nowrap; }
.lvl .price em { font-style: normal; color: var(--sig-t); }

/* ---------- 13. Calculateur ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.calc-main { display: grid; gap: 16px; }
.mod { border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--bg-2); overflow: hidden; transition: border-color .35s, background .35s; }
.mod.on { border-color: rgba(255, 77, 31, .55); background: linear-gradient(180deg, rgba(255, 77, 31, .06), transparent 160px), var(--bg-2); }
.mod-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; width: 100%; padding: clamp(18px, 2.2vw, 28px); text-align: left; }
.mod-n { font: 500 12px/1 var(--f-m); letter-spacing: .1em; color: var(--sig-t); }
.mod-head h3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); }
.mod-head p { margin-top: 6px; font-size: 14.5px; color: var(--mute); }
.switch { position: relative; flex: none; width: 52px; height: 30px; border-radius: 15px; background: var(--bg-4); border: 1px solid var(--line-2); transition: background .35s, border-color .35s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--mute); transition: translate .45s var(--ease), background .35s; }
.on > .mod-head .switch, .ck.on .switch { background: var(--sig); border-color: var(--sig); }
.on > .mod-head .switch::after, .ck.on .switch::after { translate: 22px 0; background: #0a0604; }
.mod-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.mod.on .mod-body { grid-template-rows: 1fr; }
.mod-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility .6s; }
.mod.on .mod-in { visibility: visible; }
.mod-pad { display: grid; gap: 34px; padding: 6px clamp(18px, 2.2vw, 28px) clamp(22px, 2.4vw, 32px); }
.field-label { margin-bottom: 16px; display: flex; justify-content: space-between; gap: 12px; }
.field-label output { color: var(--fg); letter-spacing: .02em; text-transform: none; font-size: 13px; }
.field-hint { margin-top: 10px; font-size: 13px; color: var(--mute-2); }

.rcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.rc { position: relative; display: block; cursor: pointer; }
.rc input { position: absolute; opacity: 0; pointer-events: none; }
.rc > span { display: grid; gap: 8px; height: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .3s, background .3s, translate .4s var(--ease); }
.rc > span:hover { translate: 0 -2px; border-color: var(--line-3); }
.rc b { font-size: 15px; font-weight: 500; line-height: 1.25; }
.rc small { font: 400 12.5px/1 var(--f-m); color: var(--mute); }
.rc input:checked + span { border-color: var(--sig); background: rgba(255, 77, 31, .09); box-shadow: 0 0 0 1px var(--sig); }
.rc input:checked + span small { color: var(--sig-t); }
.rc input:focus-visible + span { outline: 2px solid var(--sig); outline-offset: 3px; }

.cks { display: grid; gap: 8px; }
.ck { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; width: 100%; min-height: 58px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); text-align: left; transition: border-color .3s, background .3s; }
.ck:hover { border-color: var(--line-2); }
.ck.on { border-color: rgba(255, 77, 31, .5); background: rgba(255, 77, 31, .06); }
.ck-t { font-size: 15px; line-height: 1.3; }
.ck-t small { display: block; margin-top: 3px; font-size: 13px; color: var(--mute-2); }
.ck-p { font: 400 12.5px/1 var(--f-m); color: var(--mute); white-space: nowrap; }
.ck .switch { width: 44px; height: 26px; }
.ck .switch::after { width: 18px; height: 18px; }
.ck.on .switch::after { translate: 18px 0; }

.calc-sum { position: sticky; top: 100px; overflow: hidden; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--bg-3); }
.calc-sum::before { content: ""; position: absolute; right: -40%; top: -30%; width: 100%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 77, 31, .22), transparent 65%); pointer-events: none; }
.calc-sum > * { position: relative; }
.sum-lines { display: grid; gap: 0; margin: 22px 0 0; min-height: 84px; }
.sum-empty { font-size: 14.5px; color: var(--mute); }
.sum-group { padding: 12px 0 4px; font: 500 10.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--sig-t); }
.sum-line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; animation: swap .4s var(--ease); }
.sum-line span:first-child { color: var(--mute); }
.sum-line span:last-child { font-family: var(--f-m); font-size: 12.5px; white-space: nowrap; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.sum-total span { font: 500 11.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sum-total b { font: 500 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--f-d); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.sum-month { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font: 400 13px/1 var(--f-m); color: var(--mute); }
.sum-month b { font-weight: 500; color: var(--sig-t); }
.calc-sum .btn { margin-top: 12px; }
.calc-sum .btn:first-of-type { margin-top: 26px; }
.calc-sum .fine { margin-top: 16px; }
@media (max-width: 980px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-sum { position: relative; top: auto; } }
@media (max-width: 520px) { .ck { grid-template-columns: minmax(0, 1fr) auto; } .ck-p { grid-column: 1; grid-row: 2; } .ck .switch { grid-column: 2; grid-row: 1 / 3; } }

/* ---------- 14. Formulaires & contact ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: grid; gap: 9px; }
.f label { font: 500 11.5px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.f input, .f textarea, .f select {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--bg);
  font: 400 16px/1.4 var(--f-b); color: var(--fg); transition: border-color .3s, box-shadow .3s, background .3s;
}
.f textarea { min-height: 150px; resize: vertical; }
.f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.f input::placeholder, .f textarea::placeholder { color: var(--mute-2); }
.f input:hover, .f textarea:hover, .f select:hover { border-color: var(--line-3); }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--sig); box-shadow: 0 0 0 4px var(--sig-soft); }
.form-status { min-height: 1.4em; font-size: 14.5px; color: var(--ok-t); }
.form-status.err { color: var(--sig-t); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.contact-card { padding: clamp(22px, 2.8vw, 40px); border: 1px solid var(--line-2); border-radius: 28px; background: var(--bg-2); }
.ways { display: grid; gap: 0; border-top: 1px solid var(--line-2); margin-top: 40px; }
.way { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding: 24px 0; border-bottom: 1px solid var(--line-2); transition: padding .45s var(--ease), color .3s; }
.way:hover { padding-inline: 10px; color: var(--sig-t); }
.way small { grid-column: 1 / -1; font: 500 11px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-2); }
.way b { font: 500 clamp(1.15rem, 2vw, 1.6rem)/1.15 var(--f-d); letter-spacing: -.03em; overflow-wrap: anywhere; }
.way span { font-size: 20px; transition: transform .4s var(--ease); }
.way:hover span { transform: translate(4px, -4px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 15. Motion : révélations, rideau, boot, curseur ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease) var(--d, 0ms), transform .65s var(--ease) var(--d, 0ms), translate .5s var(--ease), rotate .5s var(--ease), border-color .35s, background .35s, box-shadow .5s var(--ease), padding .45s var(--ease);
}
.js .sec-head > .label, .js .sec-head > p { opacity: 0; transform: translateY(22px); }
.js .sec-head.in > .label, .js .sec-head.in > p { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .sec-head.in > p { transition-delay: .25s; }
.sl-mask { padding: .1em 0 .16em; margin: -.1em 0 -.16em; }
.js.has-gsap .split { visibility: hidden; }
.js.has-gsap .split.ready { visibility: visible; }
.js:not(.has-gsap) .sec-head > h2, .js:not(.has-gsap) .split { opacity: 0; transform: translateY(24px); }
.js:not(.has-gsap) .sec-head.in > h2, .js:not(.has-gsap) .split.in { opacity: 1; transform: none; transition: opacity .9s var(--ease) .1s, transform 1s var(--ease) .1s; }

/* rideau de transition entre pages */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-curtain); pointer-events: none;
  background: var(--ink); border-top: 2px solid var(--sig); transform: translateY(101%); visibility: hidden;
}
html.booting body::after, html.entering body::after { visibility: visible; transform: none; border-top-color: transparent; animation: curtain-safety .01s 4.5s forwards; }
html.entering.entered body::after { transform: translateY(-101%); transition: transform .9s var(--ease-io); animation: none; }
html.leaving body::after { visibility: visible; transform: none; transition: transform .55s var(--ease-io); pointer-events: all; }
@keyframes curtain-safety { to { transform: translateY(-101%); visibility: hidden; } }

.boot { position: fixed; inset: 0; z-index: var(--z-boot); display: grid; place-items: center; background: var(--bg); clip-path: inset(0 0 0 0); transition: clip-path .95s var(--ease-io); }
.boot.out { clip-path: inset(0 0 100% 0); }
.boot-in { width: min(420px, 78vw); }
.boot-logo { font: 600 30px/1 var(--f-d); letter-spacing: -.04em; }
.boot-logo span { color: var(--mute); font-weight: 500; }
.boot-logo i { font-style: normal; color: var(--sig); }
.boot-lines { display: grid; gap: 8px; margin: 28px 0 22px; font: 400 12px/1 var(--f-m); color: var(--mute); min-height: 34px; }
.boot-lines span { opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.boot-lines span.on { opacity: 1; transform: none; }
.boot-bar { height: 2px; background: var(--line-2); overflow: hidden; }
.boot-bar i { display: block; height: 100%; background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); }
.boot-pct { margin-top: 14px; text-align: right; font: 500 12px/1 var(--f-m); color: var(--fg); font-variant-numeric: tabular-nums; }

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-progress); height: 2px; background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(243, 241, 234, .55); pointer-events: none; opacity: 0; mix-blend-mode: difference; transition: opacity .3s, width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s; }
.cursor.on { opacity: 1; }
.cursor.link { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(243, 241, 234, .95); border-color: transparent; }
.cursor.down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }

/* ---------- 16. Mouvement réduit & impression ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .console.intro { translate: none !important; scale: none !important; }
  .js .reveal, .js .intro, .js .hero-title .line > span, .js .sec-head > .label, .js .sec-head > p, .js .split, .js .sec-head > h2 { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .js.has-gsap .mf .w { opacity: 1; }
  .viz-ia .bub, .viz-ads .ld { opacity: 1; }
  .vs-body b { transform: none; opacity: 1; }
  body::after { display: none; }
}

.print-devis { display: none; }
@media print {
  body { background: #fff; color: #111; }
  body > *:not(main), main > *:not(.print-host), .print-host > *:not(.container), .print-host .container > *:not(.print-devis), body::after { display: none !important; }
  .print-host { padding: 0 !important; }
  .print-devis { display: block; font: 400 13px/1.5 Inter, Arial, sans-serif; color: #111; }
  .pd-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 2px solid #111; }
  .pd-marque { font: 600 26px/1 "Space Grotesk", Arial, sans-serif; letter-spacing: -.04em; }
  .pd-marque i { font-style: normal; color: #ff4d1f; }
  .print-devis table { width: 100%; border-collapse: collapse; }
  .print-devis th { text-align: left; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #666; padding: 8px 0; border-bottom: 1px solid #111; }
  .print-devis td { padding: 11px 0; border-bottom: 1px solid #ddd; }
  .print-devis td:last-child, .print-devis th:last-child { text-align: right; white-space: nowrap; }
  .print-devis tr.pd-group td { padding-top: 22px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #c43a12; border-bottom: 0; }
  .print-devis tr.pd-total td { font-weight: 700; font-size: 16px; border-top: 2px solid #111; border-bottom: 0; }
  .pd-foot { margin-top: 36px; font-size: 11px; color: #666; }
}


/* ==========================================================
   17. Visuels, machine, pile de cartes, simulateur enrichi
   ========================================================== */
:root { --media: #f4efe7; }

/* révélation d'image : volet + léger dézoom */
.media { position: relative; overflow: hidden; background: var(--media); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.js.has-gsap .media[data-reveal] { clip-path: inset(0 0 100% 0); }
.js.has-gsap .media[data-reveal] > img, .js.has-gsap .media[data-reveal] > video { transform: scale(1.18); }

/* --- la machine --- */
.machine { padding: 0 0 clamp(88px, 11vw, 168px); }
.machine-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: clamp(18px, 2.6vw, 40px); border: 1px solid var(--line-2); background: var(--media); box-shadow: 0 60px 120px -60px rgba(11, 12, 15, .38); transform-origin: 50% 100%; will-change: transform; }
.machine-frame video, .machine-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.machine-cap { position: absolute; left: clamp(16px, 2.6vw, 40px); bottom: clamp(16px, 2.6vw, 40px); max-width: min(460px, 78%); padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
.machine-cap p { margin-top: 10px; font: 500 clamp(1rem, 1.5vw, 1.3rem)/1.3 var(--f-d); letter-spacing: -.025em; }
.machine-steps { position: absolute; top: clamp(14px, 2.2vw, 32px); left: clamp(16px, 2.6vw, 40px); right: clamp(16px, 2.6vw, 40px); display: flex; justify-content: space-between; gap: 8px; font: 500 10.5px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.machine-steps b { color: var(--sig-t); font-weight: 500; margin-right: 5px; }
@media (max-width: 820px) { .machine-steps { display: none; } .machine-frame { aspect-ratio: 4 / 3; } .machine-cap { position: static; max-width: none; margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); background: var(--bg-2); } .machine-frame { display: flex; flex-direction: column; aspect-ratio: auto; } .machine-frame video, .machine-frame img { position: relative; aspect-ratio: 16 / 10; height: auto; } }

/* --- expertises : pile de cartes collantes --- */
.stack { display: grid; gap: 28px; }
.sc { position: sticky; top: calc(92px + var(--i, 0) * 20px); display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); min-height: min(580px, 72vh); overflow: hidden; border: 1px solid var(--line-2); border-radius: clamp(22px, 2.6vw, 36px); background: var(--bg-2); box-shadow: 0 -24px 60px -40px rgba(11, 12, 15, .3); transform-origin: 50% 0; will-change: transform; }
.sc:nth-child(even) .sc-media { order: 2; }
.sc-media { position: relative; overflow: hidden; background: var(--media); min-height: 320px; }
.sc-media img { position: absolute; inset: -3% 0; width: 100%; height: 106%; object-fit: cover; transition: scale 1.2s var(--ease); }
.sc:hover .sc-media img { scale: 1.04; }
.sc-tag { position: absolute; top: 20px; left: 20px; z-index: 1; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 11px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; }
.sc-tag b { color: var(--sig-t); font-weight: 500; }
.sc-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 3.6vw, 60px); }
.sc-body h3 { margin: 14px 0 16px; font-size: clamp(1.7rem, 3vw, 2.7rem); letter-spacing: -.04em; line-height: 1.02; }
.sc-body > p { max-width: 46ch; color: var(--mute); }
.sc-body ul { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.sc-body li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.sc-body li::before { content: "+"; font-family: var(--f-m); color: var(--sig-t); }
.sc-body .xp-link { margin-top: 0; }
@media (max-width: 880px) {
  .sc { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .sc:nth-child(even) .sc-media { order: 0; }
  .sc-media { aspect-ratio: 4 / 3; min-height: 0; }
}

/* --- simulateur enrichi --- */
.sim-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.sim-two .budget output { font-size: clamp(24px, 2.6vw, 34px); }
.chips-sm .chip span { min-height: 42px; padding: 0 15px; font-size: 14px; }
.sr-ca { margin: 0 0 30px; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(255, 77, 31, .4); background: linear-gradient(135deg, rgba(255, 77, 31, .16), rgba(255, 77, 31, .04)); }
.sr-ca span { display: block; font: 400 11px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sr-ca b { display: block; margin: 12px 0 8px; font: 500 clamp(1.6rem, 2.7vw, 2.4rem)/1 var(--f-d); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-ca em { font: 500 13px/1.3 var(--f-m); font-style: normal; color: var(--sig-t); }
.sr-rows { margin: 30px 0 22px; }
@media (max-width: 640px) { .sim-two { grid-template-columns: 1fr; gap: 36px; } .sr-ca b { white-space: normal; } }

/* --- production : visuel dans la grande tuile --- */
.prod-img { position: absolute !important; z-index: 0 !important; right: -4%; top: -6%; width: 62%; height: 112%; object-fit: cover; object-position: 50% 40%; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); pointer-events: none; transition: scale 1.2s var(--ease); }
.prod:hover .prod-img { scale: 1.05; }
.p-wide p { max-width: 38ch; }
@media (max-width: 640px) { .prod-img { position: relative !important; right: auto; top: auto; width: calc(100% + 40px); height: 200px; margin: -22px -20px 0; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); } .p-wide .prod-fig { padding-top: 12px; } }

/* --- CTA : la prise --- */
.cta { padding-bottom: clamp(100px, 13vw, 200px); }
.cta-visual { position: relative; height: clamp(260px, 38vw, 560px); margin-top: clamp(40px, 5vw, 80px); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 34%); mask-image: linear-gradient(transparent, #000 34%); }
.cta-visual img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 62%; }
.cta .glow { bottom: -30vw; }

.offer-media { aspect-ratio: 4 / 3; max-width: 480px; margin: 0 0 30px; border-radius: 20px; border: 1px solid var(--line); }
.offer-media img { position: absolute; inset: -3% 0; height: 106%; }


/* ==========================================================
   18. Panneaux en retrait, avant/après, bande typographique, décors
   ========================================================== */
.sec-panel.dark { margin-inline: clamp(8px, 1.2vw, 20px); border: 1px solid var(--line); border-radius: clamp(26px, 3.2vw, 52px); overflow: hidden; }
.sec-panel.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(255, 77, 31, .16), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / var(--cell) var(--cell), linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / var(--cell) var(--cell); -webkit-mask-image: linear-gradient(#000, transparent 55%); mask-image: linear-gradient(#000, transparent 55%); }
.sec-panel.dark > .container { position: relative; }
.cta.dark { border-radius: clamp(26px, 3.2vw, 52px) clamp(26px, 3.2vw, 52px) 0 0; }

/* notifications flottantes */
.console-tilt { position: relative; }
.toast { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 18px 44px -18px rgba(11, 12, 15, .4); font-size: 13.5px; font-weight: 600; white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.toast em { font: 400 11.5px/1 var(--f-m); font-style: normal; color: var(--mute); }
.toast b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--sig); color: #0a0604; font-size: 11px; }
.toast-a { top: -40px; left: -34px; }
.toast-b { bottom: 46px; right: -30px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 1240px) { .toast-a { left: -10px; } .toast-b { right: -8px; } }
@media (max-width: 1060px) { .toast { display: none; } }

/* avant / après */
.ba { border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--bg-2); overflow: hidden; }
.ba-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; border-top: 1px solid var(--line); transition: background .35s; }
.ba-row:not(.ba-head):hover { background: var(--tint); }
.ba-row > span { padding: clamp(18px, 2vw, 28px) clamp(16px, 2.2vw, 32px); }
.ba-row > span:first-child { font: 500 clamp(1rem, 1.35vw, 1.2rem)/1.25 var(--f-d); letter-spacing: -.02em; }
.ba-head { border-top: 0; font: 500 11.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ba-head > span { padding-block: 20px; display: inline-flex; align-items: center; gap: 9px; }
.ba-row > span:last-child { align-self: stretch; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #f3f1ea; }
.ba-head > span:last-child { color: #f3f1ea; }
.ba-old { color: var(--mute-2); text-decoration: line-through; text-decoration-color: rgba(255, 77, 31, .55); text-decoration-thickness: 1.5px; font-size: clamp(.95rem, 1.2vw, 1.08rem); }
.ba-new { font: 500 clamp(1.05rem, 1.7vw, 1.5rem)/1.15 var(--f-d); letter-spacing: -.03em; }
.ba-new::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 12px var(--sig); }
.ba-row + .ba-row > span:last-child { border-top: 1px solid rgba(243, 241, 234, .1); margin-top: -1px; }
@media (max-width: 720px) {
  .ba-row { grid-template-columns: 1fr 1fr; }
  .ba-row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .ba-head > span:first-child { display: none; }
  .ba-row:not(.ba-head) > span:nth-child(2) { padding-top: 10px; }
  .ba-row:not(.ba-head) > span:last-child { padding-top: 12px; padding-bottom: 12px; margin: 0 10px 12px 0; border-radius: 12px; border-top: 0 !important; }
}

/* bande typographique */
.band { overflow: hidden; padding: clamp(24px, 4vw, 64px) 0; display: grid; gap: clamp(6px, 1vw, 16px); }
.band-row { display: flex; align-items: baseline; gap: .22em; width: max-content; font: 600 clamp(3.6rem, 12.5vw, 12rem)/.92 var(--f-d); letter-spacing: -.06em; white-space: nowrap; will-change: transform; }
.band-row[data-band="1"] { margin-left: -30vw; }
.band-row i { font-style: normal; font-weight: 400; color: var(--sig); }
.band-row .o { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }

/* décors des tuiles */
.deco { position: absolute !important; z-index: 0 !important; top: 22px; right: 22px; width: 116px; height: 76px; pointer-events: none; }
.deco-map { border-radius: 10px; background-image: radial-gradient(var(--line-3) 1.2px, transparent 1.4px); background-size: 12px 12px; }
.deco-map i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 0 rgba(255, 77, 31, .5); animation: ping 2.6s infinite; }
.deco-map i:nth-child(1) { left: 20px; top: 20px; } .deco-map i:nth-child(2) { left: 68px; top: 8px; animation-delay: .6s; } .deco-map i:nth-child(3) { left: 92px; top: 44px; animation-delay: 1.2s; } .deco-map i:nth-child(4) { left: 44px; top: 56px; animation-delay: 1.8s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 31, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 77, 31, 0); } }
.deco-pulse { width: 76px; }
.deco-pulse i { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--sig); opacity: 0; animation: ring 3s cubic-bezier(.2, .6, .3, 1) infinite; }
.deco-pulse i:nth-child(2) { animation-delay: 1s; } .deco-pulse i:nth-child(3) { animation: none; opacity: 1; width: 12px; height: 12px; border: 0; background: var(--sig); box-shadow: 0 0 16px var(--sig); }
.deco-bars { display: flex; align-items: flex-end; gap: 6px; }
.deco-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--bg-4); transform-origin: 50% 100%; transform: scaleY(.15); transition: transform 1.1s var(--ease); }
.deco-bars i:nth-child(1) { height: 28%; } .deco-bars i:nth-child(2) { height: 40%; } .deco-bars i:nth-child(3) { height: 36%; } .deco-bars i:nth-child(4) { height: 58%; } .deco-bars i:nth-child(5) { height: 70%; } .deco-bars i:nth-child(6) { height: 84%; } .deco-bars i:nth-child(7) { height: 100%; background: var(--sig); }
.in .deco-bars i { transform: none; } .in .deco-bars i:nth-child(n+4) { transition-delay: .15s; } .in .deco-bars i:nth-child(n+6) { transition-delay: .3s; }
.deco-lang { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; height: auto; }
.deco-lang i { padding: 7px 9px; border-radius: 8px; border: 1px solid var(--line-2); font: 500 11px/1 var(--f-m); font-style: normal; letter-spacing: .06em; }
.deco-lang i:first-child { background: var(--fg); border-color: var(--fg); color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .deco-bars i { transform: none; } }


/* ==========================================================
   19. Animations renforcées
   ========================================================== */
.sc::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--fg); opacity: var(--dim, 0); }
.ba s { text-decoration: none; background: linear-gradient(rgba(255, 77, 31, .75), rgba(255, 77, 31, .75)) no-repeat 0 56% / var(--strike, 100%) 1.5px; }
.ba-old { text-decoration: none; }
.js.has-gsap .ba s { --strike: 0%; }
.prod-grid { perspective: 1400px; }
.prod { rotate: var(--rot, 0 0 1 0deg); }
.machine .container { perspective: 1600px; }
.cta-visual::after { content: ""; position: absolute; left: 63.5%; top: 52%; width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 60, .55), rgba(255, 77, 31, .18) 40%, transparent 68%); mix-blend-mode: screen; animation: spark 2.8s infinite; pointer-events: none; }
@keyframes spark { 0%, 100% { opacity: .55; scale: 1; } 8% { opacity: 1; scale: 1.12; } 12% { opacity: .4; } 16% { opacity: .95; scale: 1.05; } 40% { opacity: .6; } 62% { opacity: .9; scale: 1.08; } 66% { opacity: .45; } }
.hero-title em { position: relative; }
.hero-title em::after { content: ""; position: absolute; left: 0; right: .06em; bottom: .04em; height: .055em; border-radius: 1em; background: var(--sig); transform-origin: 0 50%; transform: scaleX(var(--ul, 0)); transition: transform 1.2s var(--ease) 1.2s; }
.is-ready .hero-title em::after { --ul: 1; }
@media (prefers-reduced-motion: reduce) { .cta-visual::after { animation: none; } }


/* ==========================================================
   20. Haut de page : header flottant, hero plein écran
   ========================================================== */
.site-header { top: 12px; margin-top: 12px; padding-inline: var(--pad); border-bottom: 0 !important; }
.site-header::before { display: none; }
.site-header .header-inner { position: relative; isolation: isolate; max-width: 1192px; height: 66px; padding: 0 10px 0 20px; border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 14px 40px -26px rgba(11, 12, 15, .35); transition: box-shadow .4s, border-color .4s; }
.site-header .header-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.site-header.scrolled .header-inner { box-shadow: 0 22px 60px -28px rgba(11, 12, 15, .5); border-color: var(--line-3); }
.site-header.hide { transform: translateY(calc(-100% - 30px)); }
.main-nav a.active { background: var(--fg); color: var(--bg); }
.main-nav a.active:hover { color: var(--bg); }
@media (max-width: 1000px) { .site-header .header-inner { height: 60px; padding: 0 8px 0 16px; border-radius: 18px; } .burger { width: 44px; height: 44px; border-radius: 13px; } .main-nav a.active { color: var(--sig-t) !important; } }

.hero { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 126px); padding-top: clamp(40px, 5vw, 80px); }
.hero > .container { width: 100%; }
.typer { display: flex; align-items: center; gap: 10px; min-height: 1.6em; margin: -8px 0 22px; font: 500 clamp(.92rem, 1.25vw, 1.12rem)/1.4 var(--f-m); letter-spacing: -.01em; color: var(--fg); }
.typer-p { color: var(--sig-t); }
.caret { display: inline-block; width: .58em; height: 1.15em; margin-left: -6px; background: var(--sig); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 14.5px; font-weight: 500; color: var(--mute); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--sig-soft); fill: none; stroke: var(--sig-t); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-tags { margin-top: 40px; }
.hero-tags a { display: inline-block; padding: 6px 0; transition: color .25s; }
.hero-tags a:hover { color: var(--fg); }

.spark { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 18px; padding: 14px 20px 16px; border-top: 1px solid var(--line); }
.spark span { font: 400 10.5px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); white-space: nowrap; }
.spark-bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.spark-bars i { flex: 1; min-width: 2px; border-radius: 2px 2px 0 0; background: var(--bg-4); transform-origin: 50% 100%; transition: height .6s var(--ease), background .4s; }
.spark-bars i:last-child { background: var(--sig); box-shadow: 0 0 12px rgba(255, 77, 31, .7); }
.feed-wrap { height: 208px; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font: 400 10.5px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.scroll-cue i { position: relative; width: 1px; height: 44px; overflow: hidden; background: var(--line-2); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: var(--sig); animation: cue 1.9s var(--ease-io) infinite; }
@keyframes cue { 0% { translate: 0 -100%; } 100% { translate: 0 200%; } }
@media (max-width: 1060px), (max-height: 760px) { .scroll-cue { display: none; } .hero { min-height: 0; } }

/* réglages du haut de page */
.spark-bars i { background: var(--line-3); }
.hero { padding-top: clamp(26px, 3.2vw, 52px); padding-bottom: clamp(64px, 7vw, 104px); }
.hero-title { margin: 22px 0 24px; }
.hero-lead { max-width: 50ch; }
.hero-actions { margin-top: 30px; }
.hero-trust { gap: 8px 20px; margin-top: 22px; font-size: 14px; }
.hero-tags { margin-top: 28px; padding-top: 20px; }
@media (min-width: 1061px) and (max-height: 860px) { .hero-title { font-size: clamp(2.9rem, 5.8vw, 5.4rem); } .hero-tags { display: none; } }

.tag { padding-inline: 7px; white-space: nowrap; }


/* ==========================================================
   21. Barre d'action mobile, page 404
   ========================================================== */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 8px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 18px 50px -18px rgba(11, 12, 15, .5); translate: 0 140%; transition: translate .6s var(--ease); }
  .mbar.show { translate: 0 0; }
  .mbar .btn { height: 50px; padding: 0 18px; border-radius: 13px; font-size: 15px; }
  .mbar .btn-ghost { background: var(--bg-2); }
  .mbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .nav-open .mbar { translate: 0 140%; }
  .site-footer { padding-bottom: 96px; }
}
.e404 { min-height: calc(100svh - 126px); display: flex; align-items: center; }
.e404 > .container { width: 100%; }


/* ==========================================================
   22. Visuel du hero : cartes flottantes claires (remplace la console sombre)
   ========================================================== */
.hv { position: relative; width: 100%; max-width: 560px; margin: 34px 0 30px auto; perspective: 1400px; }
.hv-orb { position: absolute; z-index: -1; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 77, 31, .26), rgba(255, 77, 31, .08) 45%, transparent 68%); filter: blur(8px); }
.hv-card { border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 50px 100px -48px rgba(11, 12, 15, .42), 0 12px 30px -18px rgba(11, 12, 15, .18); translate: calc(var(--px, 0) * var(--depth, 1) * 1px) calc(var(--py, 0) * var(--depth, 1) * 1px); transition: translate .7s var(--ease); }
.hv-main { position: relative; padding: 46px 26px 44px; }
.hv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 11.5px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.hv-head span { display: inline-flex; align-items: center; gap: 9px; }
.hv-head em { font: 600 13px/1 var(--f-d); font-style: normal; letter-spacing: -.03em; text-transform: none; color: var(--mute-2); }
.hv-head em i { font-style: normal; color: var(--sig); }
.hv-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; margin-top: 20px; }
.hv-big > div { display: flex; align-items: center; gap: 10px; }
.hv-big b { font: 500 clamp(3rem, 5vw, 4.4rem)/.9 var(--f-d); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.hv-big b.bump { animation: bump .6s var(--ease); }
.hv-big em { padding: 6px 9px; border-radius: 999px; background: rgba(13, 138, 84, .12); color: var(--ok-t); font: 600 12px/1 var(--f-b); font-style: normal; white-space: nowrap; }
.hv-big span { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); }
.hv-chat { display: grid; gap: 7px; padding: 12px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); min-height: 132px; align-content: start; }
.hv-chat-h { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font: 500 10.5px/1 var(--f-m); letter-spacing: .04em; color: var(--mute); }
.hv-chat-h i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--fg); color: var(--bg); font: 600 9.5px/1 var(--f-m); font-style: normal; }
.hv-chat .bub { max-width: 92%; padding: 8px 11px; font-size: 12.5px; }
.hv-chat .b-in { background: #fff; border: 1px solid var(--line); }
.hv-chart { display: block; width: 100%; height: 118px; margin-top: 18px; overflow: visible; }
.hv-grid { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.hv-line { fill: none; stroke: var(--sig); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hv-area { opacity: 0; }
.is-ready .hv-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-io) 1s; }
.is-ready .hv-area { opacity: 1; transition: opacity 1.4s ease 2.2s; }
.hv-dot { position: absolute; right: 21px; top: calc(46px + 12px + 20px + 132px + 18px + 118px * .083 - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--sig); border: 2.5px solid #fff; box-shadow: 0 0 0 0 rgba(255, 77, 31, .5); opacity: 0; }
.is-ready .hv-dot { opacity: 1; transition: opacity .5s 3.2s; animation: ping 2.4s 3.4s infinite; }
.hv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--line); }
.hv-stats > div { padding: 16px 0 0; }
.hv-stats > div + div { padding-left: 16px; border-left: 1px solid var(--line); margin-left: -1px; }
.hv-stats span { display: block; font: 400 10.5px/1.2 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-stats b { display: block; margin-top: 9px; font: 500 clamp(18px, 1.7vw, 23px)/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hv-stats b.bump { animation: bump .6s var(--ease); }

.hv-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; border-color: var(--line-2); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 26px 60px -24px rgba(11, 12, 15, .45); }
.hv.live .hv-float { animation: hv-float 7s ease-in-out infinite; }
.hv.live .hv-deal { animation-delay: -2.4s; } .hv.live .hv-stars { animation-delay: -4.6s; }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hv-notif { top: -30px; left: -26px; min-width: 300px; max-width: 86%; }
.hv-deal { right: -22px; bottom: -28px; }
.hv-stars { left: 26px; bottom: -22px; padding: 11px 16px; gap: 9px; border-radius: 999px; }
.hv-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--bg-3); color: var(--fg); transition: background .4s, color .4s; }
.hv-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hv-ico.t-sig { background: var(--sig-soft); color: var(--sig-t); }
.hv-ico.t-ok { background: rgba(13, 138, 84, .12); color: var(--ok-t); }
.hv-ico.t-fill { background: var(--sig); color: #0a0604; }
.hv-ico.t-fill svg { stroke-width: 2.6; }
.hv-nt { display: grid; gap: 4px; min-width: 0; }
.hv-nt b { font-size: 14.5px; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-nt small { font-size: 12.5px; line-height: 1.2; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-notif time { align-self: flex-start; margin-left: auto; padding-top: 2px; font: 400 11px/1 var(--f-m); color: var(--mute-2); white-space: nowrap; }
.hv-notif.swap > * { animation: nt-swap .6s var(--ease); }
@keyframes nt-swap { 0% { opacity: 1; transform: none; } 38% { opacity: 0; transform: translateY(-9px); } 40% { opacity: 0; transform: translateY(9px); } 100% { opacity: 1; transform: none; } }
.hv-st { color: var(--sig); letter-spacing: 2px; font-size: 14px; }
.hv-stars b { font: 600 15px/1 var(--f-d); } .hv-stars small { font-size: 12.5px; color: var(--mute); }
.hv-cap { position: absolute; right: 4px; top: -24px; font: 400 10px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-2); }

@media (max-width: 1240px) { .hv-notif { left: -8px; } .hv-deal { right: -8px; } }
@media (max-width: 1060px) { .hv { max-width: 600px; margin: 44px 0 40px; } }
@media (max-width: 560px) {
  .hv-main { padding: 44px 18px 42px; border-radius: 22px; }
  .hv-top { grid-template-columns: 1fr; }
  .hv-chat { min-height: 0; }
  .hv-dot { display: none; }
  .hv-notif { left: -4px; min-width: 0; max-width: 92%; } .hv-deal { right: -4px; } .hv-stars { left: 12px; }
  .hv-cap { position: static; display: block; margin-top: 40px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .hv-line { stroke-dashoffset: 0; } .hv-area, .hv-dot { opacity: 1; } .hv-card { translate: none; } }

/* réglages du visuel du hero */
.hv { margin-bottom: 78px; }
.hv-main { padding-bottom: 66px; }
.hv-chart-wrap { position: relative; margin-top: 18px; }
.hv-chart-wrap .hv-chart { margin-top: 0; }
.hv-dot { right: -6px; top: calc(8.33% - 6px); }
.hv-notif { min-width: 0; width: max-content; max-width: min(360px, 88%); }
.hv-cap { top: auto; bottom: -62px; right: 50%; translate: 50% 0; white-space: nowrap; }
@media (max-width: 560px) { .hv-cap { translate: none; } .hv { margin-bottom: 40px; } }


/* ==========================================================
   23. Photos : engagements, mosaïque, contact
   ========================================================== */
figure.media { margin: 0; border-radius: clamp(18px, 2vw, 28px); border: 1px solid var(--line); }
figure.media img { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; }
.eng { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.eng-media { aspect-ratio: 4 / 5; max-height: 640px; box-shadow: 0 50px 100px -50px rgba(11, 12, 15, .4); }
.eng-badge { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 11.5px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase; }
.eng-list { border-top: 1px solid var(--line-2); }
.eng-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px clamp(18px, 2.4vw, 36px); padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line-2); }
.eng-list li > span { padding-top: .5em; font: 500 12px/1 var(--f-m); letter-spacing: .1em; color: var(--sig-t); }
.eng-list h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.eng-list p { margin-top: 10px; max-width: 52ch; color: var(--mute); }
.eng-list li:hover { padding-inline: 10px; }
@media (max-width: 900px) { .eng { grid-template-columns: 1fr; } .eng-media { aspect-ratio: 4 / 3; max-height: none; } }

.mosaic { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .8fr); gap: 16px; height: clamp(240px, 30vw, 420px); margin-bottom: clamp(48px, 6vw, 88px); }
.mosaic figure { height: 100%; }
.mosaic .m-b { margin-top: 8%; height: 92%; }
.mosaic .m-c { margin-bottom: 8%; height: 92%; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; height: auto; } .mosaic figure { height: auto; } .mosaic .m-a { grid-column: 1 / -1; aspect-ratio: 16 / 10; } .mosaic .m-b, .mosaic .m-c { margin: 0; aspect-ratio: 4 / 5; height: auto; } }

.contact-media { aspect-ratio: 3 / 2; margin-top: 36px !important; }
@media (max-width: 900px) { .contact-media { display: none; } }


/* ==========================================================
   24. Page expertises : éventail, chiffres clés, engagements
   ========================================================== */
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.fan { position: relative; height: clamp(340px, 34vw, 470px); }
.fan figure { position: absolute; width: 62%; aspect-ratio: 4 / 5; border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(11, 12, 15, .5); transition: rotate .8s var(--ease), translate .8s var(--ease); }
.fan figure img { inset: 0; height: 100%; }
.fan .f1 { left: 0; top: 10%; rotate: -9deg; }
.fan .f2 { right: 0; top: 14%; rotate: 8deg; }
.fan .f3 { left: 19%; top: 0; rotate: -1deg; z-index: 1; }
.fan:hover .f1 { rotate: -14deg; translate: -22px 6px; }
.fan:hover .f2 { rotate: 13deg; translate: 22px 6px; }
.fan:hover .f3 { translate: 0 -10px; }
@media (max-width: 1000px) { .ph-grid { grid-template-columns: 1fr; } .fan { display: none; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 34px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-2); overflow: hidden; }
.offer:nth-of-type(even) .facts { background: var(--bg); }
.facts > div { padding: 20px 22px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font: 500 clamp(1.25rem, 2vw, 1.7rem)/1.05 var(--f-d); letter-spacing: -.035em; }
.facts span { display: block; margin-top: 8px; font: 400 11px/1.35 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; border-top: 1px solid var(--line); } .facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 16px 18px; } .facts span { margin: 0; text-align: right; } }

.pledge { position: relative; overflow: hidden; padding: clamp(28px, 4.4vw, 72px); border-radius: clamp(24px, 3vw, 44px); }
.pledge::before { content: ""; position: absolute; right: -20%; top: -60%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 77, 31, .28), transparent 65%); pointer-events: none; }
.pledge > * { position: relative; }
.pledge h2 { margin: 22px 0 clamp(32px, 4vw, 56px); }
.pledge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.pledge-grid > div { padding: 26px 24px 0 0; }
.pledge-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.pledge-grid span { font: 500 12px/1 var(--f-m); letter-spacing: .1em; color: var(--sig-t); }
.pledge-grid h3 { margin: 14px 0 10px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.pledge-grid p { font-size: 15px; color: var(--mute); }
@media (max-width: 960px) { .pledge-grid { grid-template-columns: 1fr 1fr; } .pledge-grid > div { padding: 24px 20px 24px 0; } .pledge-grid > div:nth-child(3) { padding-left: 0; border-left: 0; } .pledge-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .pledge-grid { grid-template-columns: 1fr; } .pledge-grid > div, .pledge-grid > div + div { padding: 22px 0; border-left: 0; } .pledge-grid > div + div { border-top: 1px solid var(--line); } }

.ph-grid .page-title { max-width: none; font-size: clamp(2.6rem, 5vw, 4.5rem); }

/* ============ RÉALISATIONS (02/10) ============ */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px); }
.work { display: flex; flex-direction: column; gap: 22px; }
.work-shot { position: relative; display: block; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bg-2); padding: 0 0 0; transition: translate .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease); }
.work-shot > img:not(.work-phone) { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 0 0 calc(var(--r-l) - 1px) calc(var(--r-l) - 1px); }
.work-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.work-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-4); }
.work-bar em { margin: 0 auto; padding: 3px 14px; border-radius: 99px; background: var(--bg-3); font: 400 11px/1.4 var(--f-m); font-style: normal; color: var(--mute); }
.work-phone { position: absolute; right: clamp(-10px, -1vw, 0px); bottom: -22px; width: 21%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border: 5px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-card); transition: translate .6s var(--ease); }
.work-shot:hover { translate: 0 -6px; border-color: var(--line-2); box-shadow: var(--shadow-card); }
.work-shot:hover .work-phone { translate: 0 -10px; }
.work-meta h3 { margin: 10px 0 8px; font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1.05 var(--f-d); letter-spacing: -.035em; }
.work-meta p { max-width: 54ch; font-size: 15.5px; color: var(--mute); }
.work-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags i { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; font: 400 11.5px/1.3 var(--f-m); font-style: normal; color: var(--mute); }
.work-foot a { font: 500 14px/1 var(--f-d); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-3); padding-bottom: 3px; }
.work-foot a:hover { color: var(--sig-t); border-color: currentColor; }
.work-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(40px, 5vw, 64px); font: 500 1.15rem/1.3 var(--f-d); letter-spacing: -.02em; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } .work-phone { width: 24%; right: 10px; } }
@media (prefers-reduced-motion: reduce) { .work-shot, .work-phone { transition: none; } }

/* ============ PAGES LÉGALES (02/10) ============ */
.legal { max-width: 780px; }
.legal h2 { margin: 48px 0 12px; font: 500 clamp(1.25rem, 2vw, 1.6rem)/1.15 var(--f-d); letter-spacing: -.03em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal dd { font-size: 16px; line-height: 1.7; color: var(--mute); }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.legal a:hover { color: var(--sig-t); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; }
.legal dt { font: 400 13px/1.9 var(--f-m); letter-spacing: .04em; color: var(--ink); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: 10px; } }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================
   v4 — scrolls, animations & appels à l'action (21 oct. 2026)
   ========================================================== */

/* ---------- Chiffres clés ---------- */
.kf { padding: clamp(20px, 3vw, 40px) 0 clamp(56px, 7vw, 100px); }
.kf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-2); }
.kf-i { padding: clamp(26px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.kf-i + .kf-i { border-left: 1px solid var(--line-2); }
.kf-i b { display: block; white-space: nowrap; font: 600 clamp(2.6rem, 4.8vw, 4.6rem)/.9 var(--f-d); letter-spacing: -.06em; }
.kf-i b span { color: var(--sig); font-variant-numeric: tabular-nums; }
.kf-i > span { display: block; margin-top: 14px; max-width: 22ch; color: var(--mute); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .kf-grid { grid-template-columns: 1fr 1fr; } .kf-i:nth-child(3) { border-left: 0; } .kf-i:nth-child(n+3) { border-top: 1px solid var(--line-2); } }

/* ---------- Bandeaux d'appel à l'action ---------- */
.cstrip-wrap { padding: clamp(12px, 2vw, 28px) 0 clamp(64px, 8vw, 120px); }
.cstrip { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line-2); border-radius: clamp(22px, 2.6vw, 36px); background: var(--bg-2); box-shadow: var(--shadow-card); isolation: isolate; }
.cstrip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 90% at 100% 50%, var(--sig-soft), transparent 70%); }
.cstrip::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--sig); transform: scaleX(var(--cs, 0)); transform-origin: 0 50%; transition: transform 1.4s var(--ease) .2s; }
.cstrip.in::after { --cs: 1; }
.cstrip-h { margin: 16px 0 12px; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.02; letter-spacing: -.045em; }
.cstrip-h em { font-style: normal; color: var(--sig-t); }
.cstrip-txt p { max-width: 54ch; color: var(--mute); }
.cstrip-act { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 250px; }
.cstrip-act .btn { justify-content: center; }
.cstrip-tel { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding-top: 6px; font: 500 13px/1 var(--f-m); letter-spacing: .06em; color: var(--mute); transition: color .3s; }
.cstrip-tel:hover { color: var(--sig-t); }
.cstrip-tel svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .cstrip { grid-template-columns: 1fr; } .cstrip-act { min-width: 0; } }

/* ---------- Badge flottant « audit gratuit » (bureau) ---------- */
.fab { position: fixed; right: clamp(16px, 2.2vw, 34px); bottom: clamp(16px, 2.2vw, 34px); z-index: 44; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 24px 60px -26px rgba(11, 12, 15, .55); opacity: 0; scale: .4; rotate: -40deg; pointer-events: none; transition: opacity .5s var(--ease), scale .7s var(--ease), rotate .9s var(--ease), translate .3s var(--ease); translate: var(--tx, 0) var(--ty, 0); }
.fab.show { opacity: 1; scale: 1; rotate: 0deg; pointer-events: auto; }
.fab-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: fab-spin 16s linear infinite; }
.fab-ring text { font: 500 9.4px var(--f-m); letter-spacing: .14em; text-transform: uppercase; fill: var(--fg); }
.fab-core { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sig); color: #0a0604; font: 600 22px/1 var(--f-d); transition: transform .5s var(--ease), background .3s; }
.fab:hover .fab-core { transform: scale(1.14) rotate(-45deg); background: var(--sig-h); }
.fab:hover .fab-ring { animation-duration: 6s; }
@keyframes fab-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .fab { display: none; } }

/* ---------- Réalisations : défilement horizontal épinglé (bureau) ---------- */
.hs-on #realisations { overflow: hidden; }
.hs-on #realisations .work-grid { display: flex; width: max-content; gap: clamp(28px, 3vw, 48px); padding-right: var(--pad); will-change: transform; }
.hs-on #realisations { padding-block: clamp(56px, 8vh, 96px); }
.hs-on #realisations .sec-head { margin-bottom: clamp(24px, 4vh, 44px); }
.hs-on #realisations .work { width: min(30vw, 470px, calc((100vh - 470px) * 1.6)); flex: none; }
.hs-bar { height: 2px; margin-top: clamp(28px, 3vw, 44px); background: var(--line-2); border-radius: 2px; overflow: hidden; display: none; }
.hs-bar i { display: block; height: 100%; background: var(--sig); transform: scaleX(0); transform-origin: 0 50%; }
.hs-on .hs-bar { display: block; }

/* ---------- Engagements : photo collante ---------- */
@media (min-width: 901px) { .eng { align-items: start; } .eng-media { position: sticky; top: 120px; } }

/* ---------- Panneaux sombres : entrée au défilement ---------- */
.has-gsap .sec-panel.dark, .has-gsap .cta.dark, .has-gsap .pledge.dark { will-change: transform; }

/* ---------- Mots-clés soulignés dans les titres ---------- */
.cstrip-h em, .mark { background: linear-gradient(var(--sig-soft), var(--sig-soft)) 0 88% / var(--mk, 0%) 38% no-repeat; transition: background-size 1.1s var(--ease) .5s; }
.in .cstrip-h em, .in .mark { --mk: 100%; }

/* ---------- Bouton d'en-tête : rappel discret une fois défilé ---------- */
.site-header.scrolled .header-cta { box-shadow: 0 0 0 0 rgba(255, 77, 31, .5); animation: cta-ping 3.2s 1.5s infinite; }
@keyframes cta-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 31, .45); } 60%, 100% { box-shadow: 0 0 0 14px rgba(255, 77, 31, 0); } }

@media (prefers-reduced-motion: reduce) {
  .fab-ring, .site-header.scrolled .header-cta { animation: none; }
  .cstrip::after { transform: none; }
  .cstrip-h em, .mark { --mk: 100%; transition: none; }
}

/* ---------- Zoom typographique épinglé ---------- */
.zoom { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; text-align: center; isolation: isolate; }
.zoom-bg { position: absolute; inset: 0; z-index: -1; clip-path: circle(75% at 50% 50%); }
.zoom-in { position: relative; padding: 0 var(--pad); }
.zoom-h { font-size: clamp(2.6rem, 8.4vw, 8.2rem); line-height: .95; letter-spacing: -.06em; color: var(--bone); will-change: transform; }
.zoom-h em { font-style: normal; color: var(--sig); }
.zoom-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.zoom-act .btn-ghost { color: var(--bone); border-color: rgba(243, 241, 234, .25); background: rgba(243, 241, 234, .06); }

/* Réalisations épinglées sur téléphone */
@media (max-width: 760px) {
  .hs-on #realisations .work { width: min(80vw, 420px); }
  .hs-on #realisations .work-meta p { display: none; }
  .hs-on #realisations .sec-head p { display: none; }
}
.media, .sc-media, .work-shot { will-change: transform; }

/* Curseur « Voir » au survol des réalisations */
.cursor.view { width: 108px; height: 108px; margin: -54px 0 0 -54px; background: var(--sig); border-color: transparent; mix-blend-mode: normal; }
.cursor::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font: 600 15px/1 var(--f-d); color: #0a0604; opacity: 0; scale: .5; transition: opacity .3s, scale .4s var(--ease); }
.cursor.view::after { opacity: 1; scale: 1; }
.work-shot { cursor: none; }
.site-footer > .container { will-change: transform; }

/* ==========================================================
   v5 — hero géant centré (21 oct. 2026)
   ========================================================== */
.hero { min-height: 0; padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(40px, 5vw, 80px); }
.hero-grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: clamp(24px, 3vw, 48px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-title { font-size: clamp(3rem, 11.2vw, 12.5rem) !important; line-height: .9; letter-spacing: -.065em; margin: 26px 0 30px; width: 100%; }
.hero-title .line { white-space: nowrap; }
.hero-title .line:nth-child(2) > span { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.hero-title .line:nth-child(3) em { display: inline-block; }
.typer, .hero-actions, .hero-trust { justify-content: center; }
.hero-lead { margin-inline: auto; max-width: 56ch; }
.hero-tags { display: none !important; }
.hv { max-width: 760px; margin: clamp(30px, 4vw, 60px) auto 70px !important; transform-origin: 50% 0; }
.hero .scroll-cue { display: none; }
@media (max-width: 560px) { .hero-title .line:nth-child(2) > span { -webkit-text-stroke-width: 1.2px; } .hero-trust { font-size: 13px; } }
.hv { text-align: left; }

/* ==========================================================
   v6 — titres géants des pages intérieures
   ========================================================== */
.ptg-head { position: relative; }
.page-title.ptg { max-width: none; width: 100%; margin: 26px 0 clamp(28px, 4vw, 56px); font-size: clamp(2.8rem, 10.5vw, 11.5rem); line-height: .9; letter-spacing: -.065em; }
.ptg .line { display: block; overflow: hidden; white-space: nowrap; padding: .09em 0 .13em; margin: -.09em 0 -.13em; }
.ptg .line > span { display: inline-block; }
.ptg .line:first-child > span { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.ptg .line:nth-child(2) { text-align: right; }
.ptg em { font-style: normal; color: var(--sig); }
@media (max-width: 560px) { .page-title.ptg, .ph-grid .page-title.ptg { font-size: 15vw; } .ptg .line:first-child > span { -webkit-text-stroke-width: 1.2px; } }
.ph-grid .page-title.ptg { font-size: clamp(2.8rem, 10.5vw, 11.5rem); }

/* v6 — expertises empilées (desktop) */
.offer { position: relative; background: var(--bg); }
.stk-on .offer.stk { z-index: 2; border-radius: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) 0 0; box-shadow: 0 -40px 80px -50px rgba(11, 12, 15, .45); border-top: 1px solid var(--line); }

/* v6c — simulateur vivant */
.sum-total { position: relative; }
.sum-total b { display: inline-block; transform-origin: 100% 80%; }
.sum-total.bump b { animation: sumBump .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sumBump { 0% { transform: scale(1); } 35% { transform: scale(1.16); color: var(--sig); } 100% { transform: scale(1); } }
.sum-delta { position: absolute; right: 0; top: -6px; font: 500 13px/1 var(--f-m); font-style: normal; letter-spacing: .02em; color: #fff; background: var(--sig); padding: 7px 11px; border-radius: 99px; pointer-events: none; animation: sumDelta 1.25s var(--ease) forwards; }
.sum-delta.neg { background: var(--line-2); color: inherit; }
@keyframes sumDelta { 0% { opacity: 0; transform: translateY(14px) scale(.7); } 20% { opacity: 1; transform: translateY(-6px) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-46px) scale(.95); } }
.sum-line.new { animation: lineIn .7s var(--ease); }
.sum-line.new span:first-child { animation: lineFlash 1.4s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lineFlash { 0%, 40% { color: var(--sig); } 100% { color: var(--mute); } }
@media (prefers-reduced-motion: reduce) { .sum-total.bump b, .sum-line.new, .sum-line.new span:first-child { animation: none; } }

/* v6d — texte qui roule au survol */
.btr { display: inline-block; vertical-align: top; line-height: 1.25; }
.btr > span::after { display: none; }
.btr > span { position: relative; display: inline-block; transition: transform .55s var(--ease); }
.btr > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; white-space: nowrap; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btr { overflow: hidden; }
  .btr > span::after { display: block; }
  .btn:hover .btr > span { transform: translateY(-100%); }
}

/* v6e — grands numéros de section */
.sec-head { position: relative; isolation: isolate; }
.sec-num { position: absolute; right: -1%; top: -.42em; z-index: -1; font: 500 clamp(8rem, 24vw, 24rem)/.8 var(--f-d); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); pointer-events: none; user-select: none; }
.faq details p { overflow: hidden; }

/* ==========================================================
   v7 — La formule gagnante
   ========================================================== */
.fm { padding: clamp(48px, 7vw, 112px) 0; }
.fm-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(26px, 4.6vw, 76px); border: 1px solid var(--line-2); border-radius: clamp(28px, 3.4vw, 52px); background: var(--bg-2); }
.fm-card::before { content: ""; position: absolute; z-index: -1; right: -18%; top: -40%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 77, 31, .2), transparent 65%); pointer-events: none; }
.fm-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.fm-h { margin: 22px 0 24px; font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: .96; letter-spacing: -.055em; }
.fm-h em { font-style: normal; color: var(--sig); }
.fm-p { max-width: 50ch; color: var(--mute); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.fm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: clamp(26px, 3vw, 40px) 0 20px; }
.fm-price small { font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fm-price b { font: 500 clamp(4.4rem, 9.5vw, 9rem)/.85 var(--f-d); letter-spacing: -.065em; color: var(--sig); font-variant-numeric: tabular-nums; }
.fm-price > span { font: 500 13px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; }
.fm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.fm-tags li { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--bg); font: 500 12px/1 var(--f-m); letter-spacing: .05em; text-transform: uppercase; }
.fm-tags li::before { content: "✓ "; color: var(--sig); }
.fm-act { display: flex; flex-wrap: wrap; gap: 12px; }
.fm-act svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fm-vis { position: relative; height: clamp(380px, 40vw, 580px); }
.fm-f { position: absolute; width: 64%; aspect-ratio: 4 / 3; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(11, 12, 15, .45); background: var(--bg); }
.fm-f img { width: 100%; height: 100%; object-fit: cover; }
.fm-f1 { left: 12%; top: 12%; width: 74%; z-index: 2; }
.fm-f2 { left: 0; top: 0; width: 46%; rotate: -8deg; z-index: 1; }
.fm-f3 { right: 0; bottom: 6%; width: 52%; aspect-ratio: 2 / 1; rotate: 6deg; z-index: 3; }
.fm-stat { position: absolute; left: 2%; bottom: 0; z-index: 4; max-width: 250px; padding: 18px 20px; border-radius: 20px; background: var(--fg); color: var(--bg); box-shadow: 0 30px 60px -30px rgba(11, 12, 15, .6); }
.fm-stat b { display: block; font: 500 clamp(1.8rem, 2.8vw, 2.5rem)/1 var(--f-d); letter-spacing: -.05em; color: var(--sig); }
.fm-stat span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; opacity: .8; }
.fm-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.fm-i { padding: 24px 22px 0 0; }
.fm-i + .fm-i { padding-left: 22px; border-left: 1px solid var(--line); }
.fm-i span { font: 500 12px/1 var(--f-m); letter-spacing: .1em; color: var(--sig-t); }
.fm-i h3 { margin: 12px 0 8px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); letter-spacing: -.02em; }
.fm-i p { font-size: 14.5px; color: var(--mute); }
.fm-fine { margin-top: 30px; }
@media (max-width: 1100px) { .fm-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fm-i:nth-child(4) { padding-left: 0; border-left: 0; } .fm-i:nth-child(n+4) { margin-top: 18px; border-top: 1px solid var(--line); } }
@media (max-width: 900px) { .fm-grid { grid-template-columns: 1fr; } .fm-vis { height: clamp(300px, 80vw, 460px); } }
@media (max-width: 640px) {
  .fm-list { grid-template-columns: 1fr; }
  .fm-i, .fm-i + .fm-i { padding: 18px 0; border-left: 0; margin-top: 0; }
  .fm-i + .fm-i { border-top: 1px solid var(--line); }
  .fm-stat { max-width: 200px; padding: 14px 16px; }
  .fm-act .btn { flex: 1 1 100%; }
}
.fm-f { overflow: hidden; }
.fm-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.fm-v.on { opacity: 1; }

/* ==========================================================
   v8 — le petit robot
   ========================================================== */
.bot { position: absolute; pointer-events: none; aspect-ratio: 1; }
.bot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.92); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.bot img.on { opacity: 1; transform: none; }
.bot.hop { animation: botHop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes botHop { 0% { translate: 0 0; } 35% { translate: 0 -18%; } 100% { translate: 0 0; } }
.bot-hero { z-index: 3; left: -190px; top: -70px; width: 190px; animation: botIdle 4s ease-in-out infinite; }
@keyframes botIdle { 50% { transform: translateY(-8px) rotate(-2deg); } }
@media (max-width: 1100px) { .bot-hero { left: auto; right: -10px; top: -96px; width: 110px; } }
@media (max-width: 560px) { .bot-hero { top: -84px; width: 92px; } }

.cta.dark { min-height: 0; }
.bot-cta { left: 50%; bottom: -2%; width: clamp(150px, 18vw, 250px); translate: -50% 0; z-index: 1; }
.cta.dark .container { position: relative; z-index: 2; padding-bottom: clamp(140px, 16vw, 230px); }
.bot-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sky-b { position: absolute; left: var(--x, 4%); bottom: -60px; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: rgba(246, 244, 238, .75); font: 500 12px/1 var(--f-m); letter-spacing: .05em; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: skyUp 9s linear infinite; animation-delay: calc(var(--k) * -1.5s); }
.sky-b::before { content: "● "; color: var(--sig); }
@keyframes skyUp { 0% { transform: translateY(0) scale(.9); opacity: 0; } 12% { opacity: 1; } 80% { opacity: .9; } 100% { transform: translateY(-115vh) scale(1.05); opacity: 0; } }
.cta.dark::after { content: ""; position: absolute; left: 50%; bottom: -30%; z-index: 0; width: min(1100px, 120vw); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 77, 31, .16) 0 1px, transparent 1px 64px), radial-gradient(circle, rgba(255, 77, 31, .32), transparent 55%); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 68%); mask-image: radial-gradient(circle, #000 30%, transparent 68%); animation: ctaPulse 5s ease-in-out infinite; pointer-events: none; }
@keyframes ctaPulse { 50% { transform: scale(1.06); opacity: .8; } }
.sky-b:nth-child(1) { --x: 3%; } .sky-b:nth-child(2) { --x: 84%; } .sky-b:nth-child(3) { --x: 10%; } .sky-b:nth-child(4) { --x: 78%; } .sky-b:nth-child(5) { --x: 5%; } .sky-b:nth-child(6) { --x: 86%; }
@media (max-width: 640px) { .sky-b:nth-child(n+5) { display: none; } .sky-b:nth-child(odd) { --x: 4%; } .sky-b:nth-child(even) { --x: auto; right: 4%; } }

.guide { position: fixed; left: clamp(16px, 2.2vw, 34px); bottom: clamp(10px, 1.6vw, 24px); z-index: 44; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; opacity: 0; translate: 0 40px; pointer-events: none; transition: opacity .45s var(--ease), translate .6s var(--ease); }
.guide.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.guide.show.away { opacity: 0; translate: 0 40px; pointer-events: none; }
.bot-guide { position: relative; width: 104px; }
.guide-say { position: relative; margin: 0 0 0 54px; max-width: 230px; padding: 11px 15px; border-radius: 16px 16px 16px 4px; border: 1px solid var(--line-2); background: var(--bg, #f6f4ee); background: var(--glass, rgba(255, 255, 255, .9)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -24px rgba(11, 12, 15, .45); font-size: 14px; line-height: 1.35; color: var(--fg); }
.guide-say.in { animation: sayIn .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sayIn { from { opacity: 0; transform: translateY(10px) scale(.85); transform-origin: 0 100%; } }
.guide:hover .guide-say { border-color: var(--sig); }
@media (prefers-reduced-motion: reduce) { .bot-hero, .sky-b, .cta.dark::after { animation: none; } .sky-b { display: none; } }
@media (max-width: 640px) { .bot-cta { bottom: 64px; width: 130px; } .cta.dark .container { padding-bottom: 220px; } }

/* v9 — bas de page plus court */
.cta { padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 8vw, 120px); }
.cta h2 { font-size: clamp(3rem, 9.5vw, 8.6rem); }
.cta.dark .container { padding-bottom: 0; }
.bot-cta { left: auto; right: clamp(16px, 7vw, 120px); bottom: 0; translate: none; width: clamp(130px, 14vw, 210px); }
@media (max-width: 900px) { .cta.dark .container { padding-bottom: 150px; } .bot-cta { right: 50%; translate: 50% 0; width: 120px; bottom: 0; } }
.site-footer { padding: clamp(44px, 5vw, 72px) 0 22px; }
.footer-word { margin-top: clamp(28px, 4vw, 56px); font-size: clamp(3.4rem, 13vw, 12.5rem); }
@media (max-width: 640px) { .cta.dark .container { padding-bottom: 200px; } .bot-cta { bottom: 64px; width: 116px; } }

/* v9 — le robot dans chaque section */
.bot-spot img { animation: botIdle 4.5s ease-in-out infinite; }
.bot-sec { right: 2%; bottom: -14px; width: clamp(96px, 11vw, 160px); z-index: 1; }
.sec-head .bot-sec { grid-row: 1; }
.bot-fm { right: clamp(14px, 3vw, 44px); top: clamp(10px, 2vw, 28px); width: clamp(90px, 10vw, 150px); z-index: 5; }
.offer-side { position: relative; }
.bot-off { left: clamp(110px, 12vw, 190px); top: -6px; width: clamp(84px, 8vw, 124px); }
.bot-ph { right: 0; bottom: -10px; width: clamp(96px, 12vw, 180px); z-index: 2; }
.page-hero > .container { position: relative; }
@media (max-width: 760px) {
  .bot-sec { right: 0; bottom: auto; top: -8px; width: 82px; }
  .bot-fm { width: 78px; top: 8px; right: 8px; }
  .bot-ph { width: 84px; bottom: auto; top: -10px; }
}
@media (prefers-reduced-motion: reduce) { .bot-spot img { animation: none; } }
.bot-v { position: absolute; left: -20%; top: -24%; width: 140%; height: 140%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transition: opacity .5s; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 72%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 72%, transparent 100%); }
.bot.vid-on .bot-v { opacity: 1; }
.bot.vid-on img { opacity: 0 !important; animation: none; }
@media (min-width: 761px) { .bot-sec { bottom: auto; top: -36px; right: 5%; width: clamp(96px, 9.5vw, 140px); } }
.bot.vid-on { mix-blend-mode: multiply; }
.bot-v { mix-blend-mode: normal; }
@media (min-width: 761px) { .bot-sec { top: -84px; } }

/* ==========================================================
   v10 — page « La formule »
   ========================================================== */
.fd { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.fd-row { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding: clamp(28px, 3.6vw, 48px) clamp(150px, 16vw, 240px) clamp(28px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--line); }
.fd-row:nth-child(even) { padding-left: clamp(0px, 6vw, 90px); }
.fd-n { font: 500 clamp(2.6rem, 4.6vw, 4rem)/.9 var(--f-d); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--sig); }
.fd-row h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -.03em; }
.fd-row p { margin: 12px 0 16px; max-width: 58ch; color: var(--mute); }
.fd-row ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fd-row li { padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--bg-2); font: 500 12px/1 var(--f-m); letter-spacing: .04em; }
.fd-row li::before { content: "✓ "; color: var(--sig); }
.bot-fd { right: 0; top: 50%; translate: 0 -50%; width: clamp(120px, 13vw, 200px); }
.fcmp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fcmp-c { position: relative; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line-2); border-radius: clamp(22px, 2.6vw, 36px); background: var(--bg-2); }
.fcmp-on { border-color: var(--sig); box-shadow: 0 30px 70px -40px rgba(255, 77, 31, .55); }
.fcmp-k { font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fcmp-c b { display: block; margin-top: 18px; font: 500 clamp(2rem, 4vw, 3.4rem)/1 var(--f-d); letter-spacing: -.05em; }
.fcmp-on b { color: var(--sig); }
.fcmp-c small { display: block; margin: 8px 0 22px; color: var(--mute); }
.fcmp-c ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fcmp-c li::before { content: "✓"; display: inline-block; width: 22px; color: var(--sig); font-weight: 700; }
.fcmp-c li.no { color: var(--mute); }
.fcmp-c li.no::before { content: "✕"; color: var(--mute-2, #999); }
.bot-cmp { right: -10px; top: -70px; width: clamp(110px, 11vw, 160px); }
@media (max-width: 760px) {
  .fd-row, .fd-row:nth-child(even) { grid-template-columns: 1fr; gap: 10px; padding: 26px 0 26px; }
  .bot-fd { top: 14px; translate: none; width: 84px; }
  .fcmp { grid-template-columns: 1fr; }
  .bot-cmp { top: -50px; right: 4px; width: 90px; }
}
.cstrip { position: relative; }
.bot-cs { left: -26px; top: -64px; width: clamp(90px, 9vw, 128px); z-index: 3; }
.site-footer > .container { position: relative; }
.bot-foot { right: 4%; top: calc(-1 * clamp(44px, 5vw, 72px) - 78px); width: clamp(96px, 9vw, 130px); z-index: 3; }
.kf-grid { position: relative; }
.bot-kf { right: -8px; top: -70px; width: clamp(80px, 8vw, 116px); }
@media (max-width: 760px) { .bot-cs { left: auto; right: 6px; top: -54px; width: 78px; } .bot-foot { width: 84px; top: -112px; } .bot-kf { width: 72px; top: -58px; } }
.faq-wrap { overflow-x: clip; }
.fv-sec { padding-top: 0; }
.fv { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: clamp(22px, 3vw, 40px); overflow: visible; }
.fv-v { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 60px 120px -60px rgba(11, 12, 15, .5); }
.fv-tag { position: absolute; left: 22px; top: 22px; padding: 10px 16px; border-radius: 99px; background: var(--fg); color: var(--bg); font: 500 12px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.fv-tag b { color: var(--sig); }
.bot-fv { left: -70px; bottom: -40px; width: clamp(100px, 11vw, 160px); z-index: 2; }
@media (max-width: 760px) { .bot-fv { left: auto; right: -6px; bottom: auto; top: -64px; width: 84px; } .fv-tag { left: 12px; top: 12px; } }

/* ===== v13 : offre cinétique + liste expertises (style agence) ===== */
.kin{position:relative;min-height:100svh;display:grid;place-items:center;background:var(--ink);color:var(--bone);overflow:hidden}
.kin-stage{display:grid;justify-items:center;gap:clamp(14px,2.4vw,28px);padding:90px 16px;text-align:center}
.kin-l{color:var(--bone);opacity:.7}
.kin-price{font-family:var(--f-d);font-weight:700;line-height:.82;letter-spacing:-.06em;display:flex;align-items:baseline;gap:.08em}
.kin-price b{font-size:clamp(7rem,27vw,26rem);color:var(--sig);font-weight:700}
.kin-price i{font-style:normal;font-size:clamp(1.4rem,4vw,3.6rem);letter-spacing:-.02em;opacity:.85}
.kin-w{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:920px}
.kin-w li{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:1px solid rgba(246,244,238,.22);border-radius:999px;font-family:var(--f-d);font-size:clamp(1rem,1.8vw,1.35rem)}
.kin-w li i{font-style:normal;color:var(--sig)}
.kin-s{margin:0;font-size:clamp(1rem,1.4vw,1.15rem);opacity:.7}
.xl{position:relative;border-top:1px solid var(--line-2)}
.xl-row{display:grid;grid-template-columns:64px 1fr 1.1fr 40px;align-items:center;gap:24px;padding:clamp(20px,2.6vw,34px) 0;border-bottom:1px solid var(--line-2);color:inherit;text-decoration:none;position:relative;z-index:1;transition:padding .45s var(--ease),color .3s}
.xl-n{font-family:var(--f-m);font-size:.85rem;color:var(--mute)}
.xl-t{font-family:var(--f-d);font-weight:600;font-size:clamp(1.5rem,3.4vw,3rem);letter-spacing:-.03em;line-height:1}
.xl-p{color:var(--mute);font-size:1rem;max-width:42ch}
.xl-a{justify-self:end;font-size:1.4rem;transition:transform .4s var(--ease),color .3s}
.xl-pv{position:absolute;left:0;top:0;width:300px;aspect-ratio:4/3;margin:0;border-radius:var(--r-m);overflow:hidden;pointer-events:none;opacity:0;z-index:2;transform:translate(-50%,-50%) scale(.6);box-shadow:var(--shadow-card)}
.xl-pv img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s}
.xl-pv img.on{opacity:1}
@media (hover:hover){.xl-row:hover{padding-left:18px;color:var(--sig-t)}.xl-row:hover .xl-a{transform:rotate(45deg);color:var(--sig)}}
@media (max-width:760px){.xl-row{grid-template-columns:36px 1fr 24px;gap:12px}.xl-p{grid-column:2/3;font-size:.92rem}.xl-a{grid-row:1}.xl-pv{display:none}}

/* ===== v14 : page réalisations ===== */
.wf{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 clamp(28px,4vw,48px)}
.wf-b{font:500 .95rem var(--f-b);padding:10px 16px;border-radius:999px;border:1px solid var(--line-2);background:transparent;color:var(--fg);cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.wf-b sup{font-family:var(--f-m);font-size:.7em;opacity:.6}
.wf-b:hover{border-color:var(--fg)}
.wf-b.on{background:var(--fg);color:var(--bg);border-color:var(--fg)}
#wgrid .work[hidden]{display:none}
.wk-more{display:flex;justify-content:center;margin-top:clamp(32px,4vw,56px)}

/* ===== v15 : vitrine réalisations guidée par le robot ===== */
.rs{display:flex;align-items:flex-end;gap:clamp(8px,1.6vw,20px);margin:clamp(56px,8vw,110px) 0 clamp(28px,4vw,44px)}
.rs-r{flex-direction:row-reverse;text-align:left}
.rs-hi{margin-top:0}
.rs-bot{width:clamp(110px,14vw,190px);height:auto;flex:none;animation:rsFloat 3.2s ease-in-out infinite;transform-origin:50% 90%}
.rs-bub{position:relative;max-width:620px;background:var(--bg-2);border:1px solid var(--line-2);border-radius:26px;padding:clamp(18px,2.2vw,28px) clamp(20px,2.6vw,32px);box-shadow:var(--shadow-card);margin-bottom:clamp(60px,8vw,110px)}
.rs-bub::before{content:"";position:absolute;bottom:-1px;width:30px;height:30px;background:var(--bg-2);border:1px solid var(--line-2);border-top:0;border-right:0;transform:skewX(-30deg) rotate(-12deg);bottom:-12px}
.rs-l .rs-bub{transform-origin:0 100%}.rs-l .rs-bub::before{left:18px;border-radius:0 0 0 6px}
.rs-r .rs-bub{transform-origin:100% 100%}.rs-r .rs-bub::before{right:18px;transform:scaleX(-1) skewX(-30deg) rotate(-12deg);border-radius:0 0 0 6px}
.rs-t{display:block;font:500 .78rem var(--f-m);letter-spacing:.12em;text-transform:uppercase;color:var(--sig-t);margin-bottom:8px}
.rs-bub p{margin:0;font-family:var(--f-d);font-size:clamp(1.15rem,2vw,1.6rem);line-height:1.3;letter-spacing:-.01em}
.rs-bub p .ch{opacity:0}.rs-bub p .ch.on{opacity:1}
.rs.talk .rs-bot{animation:rsTalk .22s ease-in-out infinite alternate}
.wch[hidden]{display:none}
@keyframes rsFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}
@keyframes rsTalk{from{transform:scale(1,1) rotate(-3deg)}to{transform:scale(1.04,.95) rotate(3deg)}}
@media (max-width:760px){.rs,.rs-r{flex-direction:row;}.rs-bot{width:92px}.rs-bub{margin-bottom:40px}.rs-r .rs-bub::before{right:auto;left:18px;transform:skewX(-30deg) rotate(-12deg)}}
@media (prefers-reduced-motion:reduce){.rs-bot{animation:none}}

/* ===== v16 : accueil « plan d'architecte » ===== */
/* Lignes de section qui se tracent */
.sec-head{position:relative}
.sec-head .rule{position:absolute;left:0;right:0;top:-28px;height:1px;background:var(--line-3);transform:scaleX(0);transform-origin:0 50%;transition:transform 1.2s var(--ease)}
.sec-head .rule::before,.sec-head .rule::after{content:"";position:absolute;top:-4px;width:1px;height:9px;background:var(--line-3)}
.sec-head .rule::before{left:0}.sec-head .rule::after{right:0}
.sec-head.drawn .rule{transform:scaleX(1)}
/* Grille de chiffres */
.ar{padding:clamp(56px,8vw,110px) 0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:48px 48px}
.ar-nums{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line-2);background:var(--bg)}
.ar-c{position:relative;padding:clamp(22px,3vw,40px);display:grid;gap:10px;border-right:1px solid var(--line-2)}
.ar-c:last-child{border-right:0}
.ar-c::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;background:var(--sig);transform:scaleX(0);transform-origin:0 50%;transition:transform 1s var(--ease) calc(var(--i,0)*.12s)}
.ar.in .ar-c::after{transform:scaleX(1)}
.ar-k{font:500 .75rem var(--f-m);color:var(--mute)}
.ar-c b{font-family:var(--f-d);font-weight:600;font-size:clamp(2.6rem,5.4vw,5rem);letter-spacing:-.05em;line-height:.9}
.ar-l{color:var(--mute);font-size:.95rem}
@media (max-width:760px){.ar-nums{grid-template-columns:1fr 1fr}.ar-c:nth-child(2){border-right:0}.ar-c:nth-child(-n+2){border-bottom:1px solid var(--line-2)}}
/* Le plan : défilement horizontal */
.pl{position:relative;background:var(--bg-3)}
.pl-pin{padding:clamp(70px,9vw,120px) 0 clamp(40px,5vw,70px);overflow:hidden}
.pl-head h2{margin:14px 0 clamp(30px,4vw,56px)}
.pl-rail{overflow:visible}
.pl-track{list-style:none;margin:0;padding:0 var(--pad,24px);display:flex;gap:clamp(16px,2vw,28px);width:max-content}
.pl-s{position:relative;width:clamp(280px,34vw,460px);padding:clamp(24px,2.6vw,36px);background:var(--bg);border:1px solid var(--line-2);border-radius:4px;display:grid;gap:12px}
.pl-n{font-family:var(--f-d);font-size:clamp(3.4rem,6vw,5.4rem);font-weight:600;line-height:.8;letter-spacing:-.05em;color:transparent;-webkit-text-stroke:1px var(--fg)}
.pl-ico{width:96px;height:64px;fill:none;stroke:var(--sig);stroke-width:1.5}
.pl-ico rect,.pl-ico path{stroke-dasharray:400;stroke-dashoffset:400;transition:stroke-dashoffset 1.4s var(--ease)}
.pl-s.on .pl-ico rect,.pl-s.on .pl-ico path{stroke-dashoffset:0}
.pl-s h3{margin:0;font-size:clamp(1.3rem,2vw,1.7rem)}
.pl-s p{margin:0;color:var(--mute)}
.pl-dim{position:absolute;top:14px;right:16px;font:500 .72rem var(--f-m);color:var(--mute-2)}
.pl-bar{margin-top:clamp(28px,3vw,44px);height:1px;background:var(--line-2)}
.pl-bar i{display:block;height:2px;margin-top:-.5px;background:var(--sig);transform:scaleX(0);transform-origin:0 50%}
@media (max-width:900px){.pl-track{flex-direction:column;width:auto;padding:0 16px}.pl-s{width:auto}.pl-bar{display:none}}
/* Image qui s'ouvre */
.ir{padding:clamp(40px,6vw,90px) 0}
.ir-frame{overflow:hidden;margin:0 auto;width:100%;height:min(82vh,760px);clip-path:inset(0 var(--ix,12%) round 18px)}
.ir-frame img{width:100%;height:100%;object-fit:cover;transform:scale(var(--is,1.2))}
.ir-cap{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:end;margin-top:clamp(24px,3vw,40px)}
.ir-cap h2{margin:0}.ir-cap p{margin:0;color:var(--mute);max-width:44ch;justify-self:end}
@media (max-width:760px){.ir-cap{grid-template-columns:1fr}.ir-cap p{justify-self:start}.ir-frame{height:60vh}}

/* ===== v17 : haut de page « plan d'architecte » ===== */
.hx{position:absolute;inset:0;pointer-events:none;z-index:1;font:500 .7rem var(--f-m);letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.hx-l{position:absolute;top:150px;opacity:0;animation:hxFade .8s var(--ease) 1.1s forwards}
.hx-tl{left:clamp(16px,4vw,64px)}.hx-tr{right:clamp(16px,4vw,64px)}
.hx-tl::before{content:"";display:inline-block;width:18px;height:1px;background:var(--sig);vertical-align:middle;margin-right:10px}
.hx-cm{position:absolute;width:22px;height:22px;opacity:0;animation:hxFade .6s var(--ease) 1.3s forwards}
.hx-cm::before,.hx-cm::after{content:"";position:absolute;background:var(--line-3)}
.hx-cm::before{left:50%;top:0;width:1px;height:100%}.hx-cm::after{top:50%;left:0;height:1px;width:100%}
.hx-c1{top:178px;left:clamp(16px,4vw,64px)}.hx-c2{top:178px;right:clamp(16px,4vw,64px)}
.hx-c3{bottom:40px;left:clamp(16px,4vw,64px)}.hx-c4{bottom:40px;right:clamp(16px,4vw,64px)}
.hx-ruler{position:absolute;left:clamp(26px,4.8vw,75px);top:220px;bottom:90px;width:12px;display:flex;flex-direction:column;justify-content:space-between;
  background:linear-gradient(var(--line-3),var(--line-3)) 0 0/1px 100% no-repeat,repeating-linear-gradient(to bottom,var(--line-3) 0 1px,transparent 1px 12px) 0 0/6px 100% no-repeat;
  transform:scaleY(0);transform-origin:50% 0;animation:hxDraw 1.4s var(--ease) .9s forwards}
.hx-ruler b{font-weight:500;font-size:.62rem;padding-left:12px;line-height:1;color:var(--mute-2)}
.hx-dim{position:absolute;left:clamp(60px,9vw,140px);right:clamp(60px,9vw,140px);bottom:50px;height:1px;background:var(--line-3);transform:scaleX(0);animation:hxDraw 1.4s var(--ease) 1.2s forwards}
.hx-dim::before,.hx-dim::after{content:"";position:absolute;top:-5px;width:1px;height:11px;background:var(--line-3)}
.hx-dim::before{left:0}.hx-dim::after{right:0}
.hx-dim span{position:absolute;left:50%;top:-8px;transform:translateX(-50%);padding:0 12px;background:var(--bg);color:var(--sig-t)}
@keyframes hxFade{to{opacity:1}}
@keyframes hxDraw{to{transform:none}}
@media (max-width:1100px){.hx-ruler,.hx-dim{display:none}}
@media (max-width:760px){.hx{display:none}}
@media (prefers-reduced-motion:reduce){.hx *{animation:none!important;opacity:1;transform:none}}

/* v18 — repères de plan sur les en-têtes de pages */
.hx-p .hx-l{top:clamp(64px,8vw,132px)}
.hx-p .hx-c1,.hx-p .hx-c2{top:24px}.hx-p .hx-c3,.hx-p .hx-c4{bottom:20px}
.hx-p .hx-dim{bottom:30px}
.page-hero > .container{z-index:2}
