/* ============================================================
   FIGLIFY — Agence web créative
   v2 « Liquid Glass » — épuré, arrondi, élégant
   ============================================================ */

:root {
  --bg: #fafaf8;
  --bg-2: #f2f1ed;
  --ink: #0a0a0a;
  --ink-2: #16161a;
  --grey: #6e6e73;
  --grey-2: #a5a5aa;
  --yellow: #f2c14e;
  --line: rgba(10, 10, 10, 0.08);
  --line-light: rgba(255, 255, 255, 0.12);

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-dark-bg: rgba(255, 255, 255, 0.06);
  --glass-dark-border: rgba(255, 255, 255, 0.12);

  --grad: linear-gradient(100deg, #5e9bff 0%, #a78bfa 30%, #ff8fab 62%, #f2c14e 100%);

  --font-body: "Switzer", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-apple: cubic-bezier(0.32, 0.72, 0, 1);

  --r-lg: 28px;
  --r-xl: 40px;
  --r-2xl: 56px;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --nav-h: 84px;
  --nav-offset: 116px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: initial; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--yellow); color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.serif-i { font-family: var(--font-serif); font-style: italic; letter-spacing: -0.01em; font-weight: 400; }

.grad-text {
  background: var(--grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 9s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.container { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1680px; margin: 0 auto; }

/* Verre liquide */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 24px 70px -30px rgba(10,10,10,.18);
}
.glass-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-dark-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

/* Barre de progression de lecture */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2.5px; z-index: 1200;
  background: transparent; pointer-events: none;
}
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ------------------------------------------------------------
   Curseur verre
   ------------------------------------------------------------ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--ink); margin: -3.5px 0 0 -3.5px; }
.cursor-ring {
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  border: 1px solid rgba(10,10,10,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
  transition: width .4s var(--ease-apple), height .4s var(--ease-apple),
              margin .4s var(--ease-apple), background-color .35s, border-color .35s;
  display: flex; align-items: center; justify-content: center;
}
.cursor-ring .cursor-label {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  opacity: 0; transition: opacity .25s; white-space: nowrap; color: var(--ink);
}
.cursor--hover .cursor-ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(255,255,255,.35); border-color: transparent; }
.cursor--view .cursor-dot { opacity: 0; }
.cursor--view .cursor-ring {
  width: 108px; height: 108px; margin: -54px 0 0 -54px;
  background: rgba(255,255,255,.55); border-color: transparent;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.cursor--view .cursor-ring .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ------------------------------------------------------------
   Préloader
   ------------------------------------------------------------ */
.preloader {
  position: fixed; inset: 0; z-index: 9000; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  will-change: transform, border-radius;
}
.preloader__inner { text-align: center; width: 100%; padding: 0 4vw; }
.preloader__logo { width: min(62vw, 380px); height: auto; margin: 0 auto clamp(1.4rem, 3.5vh, 2.4rem); opacity: 0; transform: translateY(26px) scale(.96); }
.preloader__count {
  font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 500; color: var(--grey);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.preloader__bar { width: min(220px, 55vw); height: 2px; background: var(--line); margin: 1.2rem auto 0; overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; border-radius: 2px; }

/* Transition « nappe liquide » entre pages */
.transition { position: fixed; inset: -2vh 0; z-index: 8500; pointer-events: none; }
.transition__sheet {
  position: absolute; inset: 0; background: var(--ink);
  transform: translateY(104%); border-radius: 48% 48% 0 0;
  will-change: transform, border-radius;
}
.transition--active { pointer-events: all; }

/* ------------------------------------------------------------
   Navigation — pilule de verre flottante
   ------------------------------------------------------------ */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 800;
  width: min(1560px, calc(100% - 28px));
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(1rem, 2.5vw, 2.2rem);
  border-radius: 100px;
  background: rgba(250, 250, 248, 0.55);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 50px -22px rgba(10,10,10,.22);
  transition: transform .6s var(--ease-apple), box-shadow .4s;
}
.nav--hidden { transform: translateX(-50%) translateY(-130%); }
.nav__spacer-mobile { display: none; }
.nav__links { display: flex; gap: clamp(1.1rem, 1.8vw, 1.8rem); }
.nav__links--left { grid-column: 1; }
.nav__logo { grid-column: 2; display: block; }
.nav__links--right { grid-column: 3; justify-content: flex-end; align-items: center; }
.nav__link {
  font-size: .92rem; font-weight: 500; color: var(--ink);
  position: relative; padding: .35em 0; letter-spacing: -0.01em;
  transition: opacity .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-expo);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav:hover .nav__link:not(:hover) { opacity: .55; }
.nav__logo img { height: clamp(58px, 6.5vw, 78px); width: auto; transition: transform .5s var(--ease-apple); }
.nav__logo:hover img { transform: scale(1.07) rotate(-2deg); }
.nav__cta {
  background: rgba(14, 14, 18, 0.82); color: #fff; border-radius: 15px;
  padding: .72em 1.5em; font-size: .9rem; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px -12px rgba(10,10,12,.5);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: transform .4s var(--ease-apple), box-shadow .4s, background-color .3s;
  display: inline-block;
}
.nav__cta:hover { transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 16px 38px -12px rgba(10,10,12,.55); }

.burger {
  display: none; width: 46px; height: 46px; position: relative; z-index: 960;
  align-items: center; justify-content: center; border-radius: 50%;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform .5s var(--ease-apple), top .5s var(--ease-apple);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu-open .nav { z-index: 950; }

/* Menu plein écran — voile de verre */
.menu {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(250, 250, 248, 0.68);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  clip-path: circle(0px at calc(100% - 52px) 52px);
  visibility: hidden;
}
.menu__link {
  display: block; font-weight: 600; letter-spacing: -0.04em;
  font-size: clamp(2.5rem, 8.5vw, 4.6rem); line-height: 1.16;
  overflow: hidden;
}
.menu__link .menu__link-inner { display: block; transform: translateY(110%); }
.menu__link:hover { color: var(--grey); }
.menu__meta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; font-size: .9rem; opacity: 0; color: var(--grey); }
.menu__meta a:hover { color: var(--ink); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-offset) + 1.5rem) var(--gutter) 3.5rem;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero__canvas canvas { width: 100%; height: 100%; display: block; }
.hero__glow {
  position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
}
.hero__glow--1 { width: 46vw; height: 46vw; right: -10vw; top: -12vw; background: radial-gradient(circle, #cfe0ff, transparent 65%); }
.hero__glow--2 { width: 34vw; height: 34vw; right: 14vw; bottom: -14vw; background: radial-gradient(circle, #ffe9c9, transparent 65%); }
.hero__content { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .88rem; font-weight: 500; color: var(--grey);
  padding: .55em 1.2em; border-radius: 100px; margin-bottom: 2.4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px -18px rgba(10,10,10,.25);
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; display: inline-block; box-shadow: 0 0 0 4px rgba(52,199,89,.18); }
.hero__status { margin-bottom: 2rem; }

/* Écrans peu hauts (portables Mac) : on compacte pour garder les boutons visibles */
@media (min-width: 861px) and (max-height: 900px) {
  .hero__title { font-size: clamp(2.4rem, 5vw, 4.6rem); }
  .hero__status { margin-bottom: 1.4rem; }
  .hero__sub { margin-top: 1.4rem; font-size: 1.12rem; }
  .hero__actions { margin-top: 1.7rem; }
  .hero { padding-top: calc(var(--nav-offset) + 1rem); padding-bottom: 2.5rem; }
}
.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 6.6rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1.02;
  max-width: 20ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__sub {
  margin-top: 1.8rem; max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  color: var(--grey); font-weight: 450; line-height: 1.6;
}
.hero__actions { margin-top: 2.1rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .78rem; font-weight: 500; color: var(--grey-2);
  display: flex; flex-direction: column; align-items: center; gap: .7em;
}
.hero__scroll .scroll-pill {
  width: 26px; height: 42px; border-radius: 100px; border: 1.5px solid rgba(10,10,10,.18);
  position: relative;
}
.hero__scroll .scroll-pill::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; border-radius: 4px;
  background: var(--ink); transform: translateX(-50%);
  animation: wheel 1.9s var(--ease-apple) infinite;
}
@keyframes wheel { 0% { top: 7px; opacity: 1; } 70% { top: 24px; opacity: 0; } 100% { top: 7px; opacity: 0; } }

/* Boutons — verre liquide Apple, reflet balayé au survol */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 1.15em 2.2em; border-radius: 22px;
  font-size: .98rem; font-weight: 500; letter-spacing: -0.01em;
  color: #fff; overflow: hidden; isolation: isolate;
  background: rgba(14, 14, 18, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -10px 20px -12px rgba(255,255,255,.22), 0 18px 45px -18px rgba(10,10,12,.55);
  transition: transform .5s var(--ease-apple), box-shadow .5s;
}
.btn::after {
  content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 45%;
  background: linear-gradient(105deg, transparent 8%, rgba(255,255,255,.5) 50%, transparent 92%);
  transform: skewX(-18deg) translateX(-170%); pointer-events: none;
}
.btn:hover::after { transform: skewX(-18deg) translateX(340%); transition: transform .95s var(--ease-apple); }
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.btn:hover::before { opacity: .95; }
.btn:hover { transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -10px 20px -12px rgba(255,255,255,.3), 0 26px 60px -20px rgba(10,10,12,.6); }
.btn:active { transform: scale(.97); }
.btn .arrow { transition: transform .4s var(--ease-apple); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.5); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 14px 40px -22px rgba(10,10,10,.35);
}
.btn--ghost::after { background: linear-gradient(105deg, transparent 8%, rgba(255,255,255,.9) 50%, transparent 92%); }
.btn--light { background: rgba(255,255,255,.92); color: var(--ink); border-color: rgba(255,255,255,.95); box-shadow: 0 16px 40px -18px rgba(0,0,0,.6); }
.btn--glass-dark {
  background: rgba(255,255,255,.07); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--glass-dark::after { background: linear-gradient(105deg, transparent 8%, rgba(255,255,255,.4) 50%, transparent 92%); }
.btn[hidden] { display: none; }

/* Surlignement marqueur & soulignement dégradé (dessinés au scroll) */
.hl-marker {
  background-image: linear-gradient(100deg, rgba(242,193,78,.6), rgba(255,143,171,.5));
  background-repeat: no-repeat; background-position: 0 80%; background-size: 0% 45%;
  border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hl-underline {
  background-image: var(--grad);
  background-repeat: no-repeat; background-position: 0 96%; background-size: 0% .13em;
  padding-bottom: .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* Chips de verre flottantes du hero */
.hero__chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; }
@media (min-width: 1024px) { .hero__chips { display: block; } }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .7em;
  padding: .6em 1.15em .6em .6em; border-radius: 16px;
  font-weight: 500; font-size: .9rem; color: var(--ink); white-space: nowrap;
  opacity: 0; will-change: transform;
}
.hero-chip i {
  width: 30px; height: 30px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(255,255,255,.75); border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.hero-chip svg { width: 16px; height: 16px; }

/* Barre de statut du hero (remplace l'ancien badge de localisation) */
.hero__status {
  display: inline-flex; align-items: stretch; flex-wrap: wrap;
  border-radius: 18px; overflow: hidden; margin-bottom: 2.4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 40px -22px rgba(10,10,10,.32);
}
.hero__status > span {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .78em 1.2em; font-size: .88rem; font-weight: 500; color: var(--grey);
}
.hero__status > span + span { border-left: 1px solid rgba(10,10,10,.075); }
.hero__status strong { font-weight: 600; color: var(--ink); }
.hero__status .stars { color: var(--yellow); letter-spacing: .06em; font-size: .82em; }
.hero__status .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(52,199,89,.55); animation: pulseDot 2.4s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52,199,89,.5); }
  70% { box-shadow: 0 0 0 10px rgba(52,199,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); }
}

/* Transition arrondie entre le hero et la section suivante */
.section--sheet {
  border-radius: clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px) 0 0;
  margin-top: clamp(-64px, -4vw, -28px);
  background: var(--bg); position: relative; z-index: 3;
  box-shadow: 0 -26px 60px -42px rgba(10,10,10,.4);
}

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */
.marquee { padding: 1.6rem 0; overflow: hidden; white-space: nowrap; position: relative; }
.marquee--line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem;
  font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--grey);
}
.marquee__item .star { color: var(--yellow); font-size: .75em; }
.marquee--big { padding: 2.4rem 0; }
.marquee--big .marquee__item { font-size: clamp(1.8rem, 4vw, 3.6rem); font-weight: 600; color: var(--ink); letter-spacing: -0.035em; }
.marquee--big .marquee__item em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--grey); }

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: clamp(5.5rem, 13vh, 11rem) 0; position: relative; }
.section--dark {
  background: var(--ink); color: #fff;
  margin: 0 clamp(10px, 1.4vw, 22px);
  border-radius: var(--r-2xl);
  overflow: clip; position: relative;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 38% at 88% -6%, rgba(94,155,255,.16), transparent 70%),
    radial-gradient(46% 34% at 4% 104%, rgba(255,143,171,.13), transparent 70%);
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark ::selection { background: var(--yellow); color: var(--ink); }
.section--tint {
  background:
    radial-gradient(rgba(10,10,10,.045) 1px, transparent 1.3px) 0 0 / 24px 24px,
    var(--bg-2);
}

/* Badge circulaire rotatif — sphère 3D interactive */
.spin-badge {
  position: relative; flex: 0 0 auto;
  width: clamp(146px, 15vw, 186px); height: clamp(146px, 15vw, 186px);
  perspective: 800px; cursor: grab;
}
.spin-badge:active { cursor: grabbing; }
.spin-badge__inner { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(6px); }
.spin-badge text { font-size: 10px; font-weight: 600; letter-spacing: .23em; text-transform: uppercase; fill: var(--grey); }
.spin-badge__orb {
  position: absolute; inset: 27%; border-radius: 50%; transform: translateZ(34px);
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.95), rgba(255,255,255,.25) 38%, transparent 62%),
    var(--grad);
  background-size: auto, 220% 100%;
  box-shadow:
    inset 0 -10px 22px -10px rgba(10,10,12,.55),
    inset 0 6px 14px -6px rgba(255,255,255,.9),
    0 20px 44px -18px rgba(10,10,12,.5);
  animation: gradShift 9s ease-in-out infinite alternate;
}
.spin-badge__ring {
  position: absolute; inset: 16%; border-radius: 50%; transform: translateZ(18px);
  border: 1px solid rgba(10,10,10,.1);
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(3rem, 7vh, 5.5rem); flex-wrap: wrap; }
.section-head__label {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .85rem; font-weight: 500; color: var(--grey);
  padding: .5em 1.1em; border-radius: 100px; margin-bottom: 1.4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-border);
}
.section--dark .section-head__label {
  background: var(--glass-dark-bg); border-color: var(--glass-dark-border); color: rgba(255,255,255,.65);
}
.section-head__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.section-head h2 { font-size: clamp(2.3rem, 5.6vw, 5.2rem); letter-spacing: -0.045em; max-width: 18ch; }
.section-head__count { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--grey); font-weight: 500; }

/* Manifesto — révélation mot à mot */
.manifesto { max-width: 1240px; }
.manifesto p {
  font-weight: 550; letter-spacing: -0.03em;
  font-size: clamp(1.65rem, 4.1vw, 3.7rem); line-height: 1.22;
}
.manifesto .word { opacity: 0.1; will-change: opacity; }
.manifesto .hl { color: var(--grey); }
.manifesto__foot { margin-top: 3rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

/* ------------------------------------------------------------
   Scène zoom (pin façon Apple)
   ------------------------------------------------------------ */
.zoom-scene { height: 460vh; position: relative; }
.zoom-scene__sticky {
  position: sticky; top: 0; height: 100svh; overflow: clip;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1rem, 2.6vh, 2rem);
  padding: calc(var(--nav-offset) + 1rem) var(--gutter) clamp(1.5rem, 4vh, 3rem);
}
/* La carte garde toujours un rayon constant : plus de coupure disgracieuse */
.zoom-scene__media {
  position: relative; overflow: hidden;
  height: min(62vh, 56vw); aspect-ratio: 1100 / 704; max-width: 94vw;
  border-radius: clamp(18px, 2vw, 30px);
  background: #0b0b0d;
  transform: scale(.34); will-change: transform;
  box-shadow: 0 60px 140px -55px rgba(10,10,10,.6);
}
.zoom-scene__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  will-change: opacity, transform;
}
.zoom-scene__media img + img { opacity: 0; }
.zoom-scene__media picture { position: absolute; inset: 0; }
.zoom-scene__media picture + picture img { opacity: 0; }
.zoom-scene__bar {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: center;
  opacity: 0; will-change: opacity;
}
.zoom-scene__counter, .zoom-scene__now {
  padding: .5em 1.1em; border-radius: 12px;
  font-weight: 500; font-size: .85rem; color: var(--ink);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.zoom-scene__counter { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .04em; }
.zoom-scene__now { color: var(--grey); }
/* La légende vit sous la carte : elle ne bave plus sur la photo */
.zoom-scene__caption {
  text-align: center; color: var(--ink); opacity: 0; max-width: 62ch;
}
.zoom-scene__caption h2 { font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -0.04em; }
.zoom-scene__caption p { margin-top: .6rem; font-size: clamp(.92rem, 1.1vw, 1.05rem); color: var(--grey); }
.zoom-scene__hint {
  position: absolute; z-index: 2; top: calc(var(--nav-offset) + 2vh); left: 0; right: 0;
  color: var(--grey); font-weight: 500; font-size: clamp(1.1rem, 2.2vw, 1.9rem); letter-spacing: -0.02em;
  text-align: center; padding: 0 var(--gutter);
}

/* ------------------------------------------------------------
   Projets
   ------------------------------------------------------------ */
.projects__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(3rem, 8vh, 7rem) clamp(1.5rem, 3vw, 3rem); }
.project-card { position: relative; display: block; }
.project-card:nth-child(4n + 1) { grid-column: 1 / span 8; }
.project-card:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: clamp(2rem, 10vh, 8rem); }
.project-card:nth-child(4n + 3) { grid-column: 2 / span 6; }
.project-card:nth-child(4n + 4) { grid-column: 8 / span 5; margin-top: clamp(2rem, 8vh, 6rem); }
.project-card__media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  aspect-ratio: 1100 / 704; background: var(--ink-2);
  transform-style: preserve-3d;
  box-shadow: 0 22px 50px -28px rgba(0,0,0,.55);
}
.project-card__media img {
  width: 100%; height: 100%; object-fit: cover; will-change: transform;
  transition: transform 1s var(--ease-apple);
}
.project-card__media picture { display: block; width: 100%; height: 100%; }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__glare {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.16), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.project-card:hover .project-card__glare { opacity: 1; }
.project-card__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.3rem; gap: 1rem; }
.project-card__title { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; }
.project-card__tag {
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.55); white-space: nowrap;
  padding: .4em 1em; border-radius: 100px;
  background: var(--glass-dark-bg); border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.project-card__index {
  position: absolute; top: 1.1rem; left: 1.3rem; z-index: 3;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: #fff; padding: .4em .95em; border-radius: 100px;
  background: rgba(10,10,10,.35); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* ------------------------------------------------------------
   Services — rail horizontal épinglé
   ------------------------------------------------------------ */
.services { overflow: clip; }
.services__viewport { overflow: visible; }
.services__track { display: flex; gap: clamp(1.4rem, 2.6vw, 2.4rem); will-change: transform; padding-right: var(--gutter); }
.service-panel {
  flex: 0 0 min(540px, 82vw);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; min-height: min(60vh, 540px);
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 30px 80px -40px rgba(10,10,10,.25);
  position: relative; overflow: hidden;
  transition: transform .6s var(--ease-apple), box-shadow .6s;
}
.service-panel:hover { transform: translateY(-10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 45px 100px -40px rgba(10,10,10,.35); }
.service-panel::after {
  content: ""; position: absolute; inset: -40% -20% auto; height: 70%;
  background: var(--grad); opacity: 0; filter: blur(70px);
  transition: opacity .7s;
}
.service-panel:hover::after { opacity: .16; }
.service-panel__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.service-panel__icon {
  width: 58px; height: 58px; border-radius: 19px;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  background: rgba(255,255,255,.68); border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 12px 30px -18px rgba(10,10,10,.3);
}
.service-panel__icon svg { width: 26px; height: 26px; }
.service-panel__num {
  font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.service-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 2.4rem 0 .9rem; letter-spacing: -0.035em; }
.service-panel p { color: var(--grey); max-width: 42ch; }
.service-panel ul { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; position: relative; z-index: 1; }
.service-panel li {
  font-size: .8rem; font-weight: 500; color: var(--grey);
  background: rgba(255,255,255,.6); border: 1px solid var(--glass-border);
  border-radius: 100px; padding: .45em 1.05em;
}

/* ------------------------------------------------------------
   Stats
   ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(1.2rem, 2vw, 2rem); }
.stat {
  border-radius: var(--r-lg); padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 20px 60px -35px rgba(10,10,10,.25);
}
.stat__icon {
  width: 46px; height: 46px; border-radius: 15px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  background: rgba(255,255,255,.7); border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.stat__icon svg { width: 22px; height: 22px; }
.stat__value { font-weight: 600; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; }
.stat__value .unit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: .7rem; font-size: .92rem; font-weight: 500; color: var(--grey); }

/* ------------------------------------------------------------
   Process — cartes empilées (sticky stack)
   ------------------------------------------------------------ */
.stack { display: flex; flex-direction: column; gap: clamp(1.5rem, 4vh, 3rem); }
.stack-card {
  position: sticky; top: calc(var(--nav-offset) + 1rem);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4.5vw, 3.6rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 30px 90px -40px rgba(10,10,10,.3);
  /* Pas de will-change:filter au repos : il rend le texte dégradé des numéros flou
     en permanence. Le flou n'est appliqué que par GSAP, au moment où la carte
     suivante passe par-dessus. */
}
.stack-card__side { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.stack-card__icon {
  width: 58px; height: 58px; border-radius: 19px;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  background: rgba(255,255,255,.7); border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 12px 30px -18px rgba(10,10,10,.3);
}
.stack-card__icon svg { width: 26px; height: 26px; }
.stack-card__num {
  font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stack-card h3 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); letter-spacing: -0.04em; margin-bottom: .7rem; }
.stack-card p { color: var(--grey); max-width: 58ch; font-size: 1.05rem; }
.stack-card__tags { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.stack-card__tags span {
  font-size: .8rem; font-weight: 500; color: var(--grey);
  background: rgba(255,255,255,.65); border: 1px solid var(--glass-border);
  border-radius: 100px; padding: .42em 1em;
}

/* ------------------------------------------------------------
   Avis — rail défilant
   ------------------------------------------------------------ */
.reviews-rail .marquee__track { align-items: stretch; }
.review {
  display: inline-flex; flex-direction: column; gap: 1.3rem; vertical-align: top;
  width: min(430px, 82vw); white-space: normal; margin-right: 1.6rem;
  border-radius: var(--r-lg); padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 24px 70px -40px rgba(10,10,10,.25);
}
.review__stars { color: var(--yellow); letter-spacing: .18em; font-size: 1rem; }
.review__text { font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.review__author { margin-top: auto; display: flex; align-items: center; gap: .9rem; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.review__name { font-weight: 600; letter-spacing: -0.01em; }
.review__meta { font-size: .82rem; color: var(--grey); }

/* ------------------------------------------------------------
   Villes
   ------------------------------------------------------------ */
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr)); gap: clamp(.9rem, 1.4vw, 1.3rem); }
.city {
  border-radius: var(--r-lg); padding: 1.8rem;
  display: flex; flex-direction: column; gap: .45rem; justify-content: flex-end; min-height: 148px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 55px -35px rgba(10,10,10,.25);
  transition: transform .5s var(--ease-apple), box-shadow .5s, background-color .5s;
  position: relative; overflow: hidden;
}
.city:hover { transform: translateY(-8px) scale(1.015); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 34px 80px -35px rgba(10,10,10,.35); }
.city::after {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 90%;
  background: var(--grad); opacity: 0; filter: blur(60px); transition: opacity .6s;
}
.city:hover::after { opacity: .18; }
.city:hover .city__arrow { transform: translate(3px, -3px); }
.city__icon { width: 40px; height: 40px; color: var(--grey); margin-bottom: auto; position: relative; z-index: 1; }
.city__icon svg { width: 100%; height: 100%; }
.city__region { font-size: .78rem; font-weight: 500; color: var(--grey); position: relative; z-index: 1; }
.city__name { font-weight: 600; letter-spacing: -0.03em; font-size: clamp(1.25rem, 1.8vw, 1.55rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; position: relative; z-index: 1; }
.city__arrow { transition: transform .4s var(--ease-apple); color: var(--grey); }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { max-width: 900px; display: flex; flex-direction: column; gap: .9rem; }
.faq__item {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 16px 50px -35px rgba(10,10,10,.22);
  transition: box-shadow .4s;
}
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; padding: 1.5rem 1.8rem; font-weight: 550; font-size: 1.08rem; letter-spacing: -0.015em;
}
.faq__q .faq__icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.7); border: 1px solid var(--glass-border);
  position: relative; transition: transform .5s var(--ease-apple), background-color .3s;
}
.faq__q .faq__icon::before, .faq__q .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.faq__q .faq__icon::before { width: 12px; height: 1.6px; }
.faq__q .faq__icon::after { width: 1.6px; height: 12px; }
.faq__item.open .faq__icon { transform: rotate(135deg); background: var(--yellow); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .65s var(--ease-expo); }
.faq__a-inner { padding: 0 1.8rem 1.7rem; color: var(--grey); max-width: 68ch; }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-cta { text-align: center; }
.contact-cta h2 { font-size: clamp(2.8rem, 9vw, 8.6rem); line-height: .98; letter-spacing: -0.05em; }
.contact-channels { margin-top: 3rem; display: flex; justify-content: center; gap: 1rem 2.6rem; flex-wrap: wrap; font-size: 1.02rem; }
.contact-channels a { color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: .2em; transition: color .3s, border-color .3s; }
.contact-channels a:hover { color: #fff; border-color: #fff; }
.contact-cta__sub { max-width: 46ch; margin: 1.6rem auto 0; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.contact-cta__sub strong { color: #fff; font-weight: 600; }
.contact-cta__actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------
   Page devis — questionnaire multi-étapes
   ------------------------------------------------------------ */
.devis-hero { padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.quote {
  max-width: 820px; margin: 0 auto; position: relative;
  border-radius: var(--r-xl); padding: clamp(1.6rem, 3.5vw, 3rem);
  background: var(--glass-bg);
  backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 40px 100px -50px rgba(10,10,10,.35);
}
.quote__bar { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2.2rem; }
.quote__progress { flex: 1; height: 6px; border-radius: 100px; background: rgba(10,10,10,.08); overflow: hidden; }
.quote__progress span { display: block; height: 100%; width: 20%; border-radius: 100px; background: var(--grad); background-size: 200% 100%; transition: width .6s var(--ease-apple); }
.quote__count { font-weight: 600; font-size: .9rem; color: var(--grey); font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote__count b { color: var(--ink); }

.quote__step { border: none; padding: 0; margin: 0; display: none; min-inline-size: auto; }
.quote__step.is-active { display: block; animation: quoteIn .55s var(--ease-apple); }
@keyframes quoteIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quote__q { font-weight: 600; letter-spacing: -0.03em; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.6rem; }
.quote__label { display: block; font-size: .82rem; font-weight: 500; color: var(--grey); margin-bottom: .8rem; }
.quote__label em { font-style: normal; opacity: .7; }
.quote__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .quote__grid2 { grid-template-columns: 1fr; } }

.field { display: block; }
.field > span { display: block; font-size: .82rem; font-weight: 500; color: var(--grey); margin-bottom: .5rem; padding-left: .2rem; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.6); color: var(--ink); font: inherit;
  padding: .95em 1.1em; outline: none; transition: border-color .3s, background-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236e6e73' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1em center; padding-right: 2.6em; }

/* Cartes de choix (radios) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%), 1fr)); gap: .9rem; }
.choice { position: relative; cursor: pointer; display: flex; flex-direction: column; gap: .3rem;
  border-radius: 18px; padding: 1.3rem; border: 1px solid var(--line);
  background: rgba(255,255,255,.55); transition: transform .4s var(--ease-apple), border-color .3s, box-shadow .3s; }
.choice:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(10,10,10,.35); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink);
  background: rgba(255,255,255,.75); border: 1px solid var(--glass-border); margin-bottom: .5rem; }
.choice__ic svg { width: 20px; height: 20px; }
.choice__t { font-weight: 600; letter-spacing: -0.02em; }
.choice__d { font-size: .85rem; color: var(--grey); }
.choice:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 20px 44px -26px rgba(10,10,10,.4); }
.choice:has(input:checked) .choice__ic { background: var(--ink); color: #fff; }

/* Chips à cocher */
.chips-check { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips-check label { cursor: pointer; }
.chips-check input { position: absolute; opacity: 0; pointer-events: none; }
.chips-check span { display: inline-block; padding: .6em 1.15em; border-radius: 100px; font-size: .9rem; font-weight: 500;
  border: 1px solid var(--line); background: rgba(255,255,255,.55); transition: all .3s var(--ease-apple); }
.chips-check label:hover span { border-color: var(--grey); }
.chips-check input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }

.quote__nav { display: flex; gap: .8rem; align-items: center; margin-top: 2.4rem; }
.quote__next, .quote__submit { margin-left: auto; }
.quote__status { text-align: left; color: var(--ink); }
.quote__reassure { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2.2rem; margin-top: 2.4rem; color: var(--grey); font-size: .9rem; }
.quote__reassure span { display: inline-flex; align-items: center; gap: .5em; }
.quote__reassure svg { width: 17px; height: 17px; }

.quote__done { max-width: 620px; margin: 0 auto; text-align: center; }
.quote__done-ic { width: 72px; height: 72px; margin: 0 auto 1.6rem; border-radius: 22px; display: grid; place-items: center; color: var(--ink);
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.85); }
.quote__done-ic svg { width: 32px; height: 32px; }
.quote__done h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.04em; margin-bottom: 1rem; }
.quote__done p { color: var(--grey); max-width: 46ch; margin: 0 auto 2rem; font-size: 1.1rem; }

.form { max-width: 780px; margin: 3.5rem auto 0; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__group { margin-bottom: 1.1rem; }
.form label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .5rem; color: rgba(255,255,255,.55); padding-left: 1.4rem; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--glass-dark-border); border-radius: 22px;
  background: var(--glass-dark-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #fff; font: inherit; padding: 1em 1.4em; outline: none;
  transition: border-color .3s, background-color .3s;
}
.form input:focus, .form textarea:focus { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.35); }
.form textarea { resize: vertical; min-height: 130px; }
.form__submit { margin-top: 1.2rem; }
.form__status { margin-top: 1.1rem; font-size: .95rem; color: var(--yellow); min-height: 1.4em; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
/* Fusion des « deux bulles » : la section sombre qui précède le footer
   et le footer ne forment plus qu'un seul bloc arrondi continu. */
.fuse-bottom { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.next-project.fuse-bottom { margin-bottom: 0; }
.footer.footer--fused {
  margin-top: 0;
  border-top-left-radius: 0; border-top-right-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer {
  background: var(--ink); color: #fff; overflow: clip;
  margin: clamp(10px, 1.4vw, 22px);
  border-radius: var(--r-2xl);
  padding-top: clamp(4rem, 8vh, 7rem);
}
.footer__top { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.footer__social {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--glass-dark-bg); border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .45s var(--ease-apple), background-color .35s;
}
.footer__social:hover { background: #fff; transform: translateY(-5px) scale(1.06); }
.footer__social:hover svg { fill: var(--ink); }
.footer__social svg { width: 20px; height: 20px; fill: #fff; transition: fill .35s; }
.footer__phone {
  display: block; text-align: center; font-weight: 600;
  font-size: clamp(2rem, 5.6vw, 4.2rem); letter-spacing: -0.03em; margin-bottom: 2.2rem;
  transition: opacity .3s;
}
.footer__phone:hover { opacity: .7; }
.footer__addresses { display: flex; justify-content: center; gap: 1rem 3.5rem; flex-wrap: wrap; font-size: .95rem; color: rgba(255,255,255,.55); text-align: center; margin-bottom: 2rem; padding: 0 var(--gutter); }
.footer__links { display: flex; justify-content: center; gap: 1rem 2.4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.footer__links a { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.65); transition: color .3s; }
.footer__links a:hover { color: #fff; }
.footer__cities { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0 var(--gutter); margin-bottom: 3rem; }
.footer__cities a { font-size: .76rem; color: rgba(255,255,255,.35); transition: color .3s; }
.footer__cities a:hover { color: var(--yellow); }
.footer__giant { display: block; margin: 0 auto -4vw; width: 92vw; max-width: none; filter: invert(1); transform-origin: bottom center; }
.footer__bottom {
  border-top: 1px solid var(--glass-dark-border);
  padding: 1.4rem var(--gutter); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.4);
}

/* ------------------------------------------------------------
   Pages internes
   ------------------------------------------------------------ */
.page-hero { padding: calc(var(--nav-offset) + clamp(2.5rem, 8vh, 6rem)) 0 clamp(3rem, 7vh, 5rem); position: relative; overflow: clip; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: .5em; align-items: center;
  font-size: .84rem; color: var(--grey); margin-bottom: 2.4rem; font-weight: 500;
}
.breadcrumbs a { transition: color .3s; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { opacity: .45; }
.page-hero__back {
  display: inline-flex; align-items: center; gap: .6em; font-size: .9rem; font-weight: 500;
  margin-bottom: 2.2rem; color: var(--grey);
  padding: .5em 1.2em; border-radius: 100px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: color .3s, transform .4s var(--ease-apple);
}
.page-hero__back:hover { color: var(--ink); transform: scale(1.04); }
.page-hero__back .arrow { transition: transform .35s var(--ease-apple); }
.page-hero__back:hover .arrow { transform: translateX(-4px); }
.page-hero h1 { font-size: clamp(2.5rem, 7.6vw, 7.6rem); letter-spacing: -0.05em; max-width: 16ch; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.page-hero__sub { margin-top: 1.8rem; max-width: 62ch; font-size: clamp(1.02rem, 1.4vw, 1.25rem); color: var(--grey); }

.project-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem;
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
}
.project-meta__item {
  border-radius: 20px; padding: 1.2rem 1.4rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.project-meta__item span { display: block; }
.project-meta__label { font-size: .76rem; font-weight: 500; color: var(--grey); margin-bottom: .35rem; }
.project-meta__value { font-weight: 600; letter-spacing: -0.01em; font-size: .98rem; }

.project-cover { overflow: hidden; border-radius: var(--r-xl); position: relative; box-shadow: 0 50px 120px -50px rgba(10,10,10,.5); }
.project-cover img { width: 100%; height: auto; will-change: transform; }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin: 2.6em 0 .7em; letter-spacing: -0.035em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin: 2em 0 .6em; letter-spacing: -0.02em; }
.prose p { margin-bottom: 1.2em; color: #3c3c40; }
.prose ul { margin: 0 0 1.4em; }
.prose li { position: relative; padding-left: 1.6em; margin-bottom: .55em; color: #3c3c40; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: .85em; height: .85em; border-radius: 50%;
  background: var(--grad); opacity: .85;
  mask: radial-gradient(circle at center, transparent 40%, #000 44%);
  -webkit-mask: radial-gradient(circle at center, transparent 40%, #000 44%);
}
.prose a { border-bottom: 1.5px solid var(--yellow); transition: background-color .3s; }
.prose a:hover { background: rgba(242,193,78,.25); }
.prose strong { font-weight: 600; color: var(--ink); }

/* Avant / Après */
.ba {
  position: relative; border-radius: var(--r-xl); overflow: hidden; cursor: ew-resize;
  aspect-ratio: 1100 / 704; user-select: none; -webkit-user-select: none; touch-action: none;
  box-shadow: 0 40px 110px -45px rgba(10,10,10,.55);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: rgba(255,255,255,.9); transform: translateX(-50%); pointer-events: none;
  box-shadow: 0 0 24px rgba(0,0,0,.35);
}
.ba__handle::after {
  content: "⇔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.28); color: #fff; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  font-size: 1.15rem;
}
.ba__tag {
  position: absolute; top: 1.2rem; font-size: .78rem; font-weight: 500;
  background: rgba(10,10,10,.45); color: #fff;
  padding: .5em 1.1em; border-radius: 100px; pointer-events: none;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.ba__tag--before { left: 1.2rem; }
.ba__tag--after { right: 1.2rem; }

/* Projet suivant */
.next-project {
  display: block; text-align: center;
  margin: 0 clamp(10px, 1.4vw, 22px) clamp(10px, 1.4vw, 22px);
  border-radius: var(--r-2xl);
  padding: clamp(5rem, 14vh, 9rem) var(--gutter);
  background: var(--ink); color: #fff; overflow: clip; position: relative;
}
.next-project::after {
  content: ""; position: absolute; inset: auto -20% -50% -20%; height: 80%;
  background: var(--grad); opacity: 0; filter: blur(90px); transition: opacity .8s;
}
.next-project:hover::after { opacity: .22; }
.next-project__label { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.5); display: block; margin-bottom: 1.4rem; }
.next-project__title { font-size: clamp(2.4rem, 7vw, 6.8rem); letter-spacing: -0.045em; transition: transform .6s var(--ease-apple); display: inline-block; position: relative; z-index: 1; }
.next-project:hover .next-project__title { transform: scale(1.04); }

/* Split éditorial */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.split__sticky { position: sticky; top: calc(var(--nav-offset) + 1.5rem); }

/* Monument de ville (pages agence-web-*) */
.city-hero__art {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(30vw, 380px); aspect-ratio: 1; z-index: 1;
  display: none; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 40px 100px -40px rgba(10,10,10,.3);
}
@media (min-width: 1100px) { .city-hero__art { display: flex; } }
.city-hero__art svg { width: 52%; height: 52%; color: var(--ink); opacity: .82; }
.city-hero__art::after {
  content: ""; position: absolute; inset: -14%; border-radius: 50%; z-index: -1;
  background: var(--grad); opacity: .14; filter: blur(60px);
}

/* Brand kit (pages projets) */
.brand-kit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: stretch; }
@media (max-width: 900px) { .brand-kit { grid-template-columns: 1fr; } }
.kit-card {
  border-radius: var(--r-xl); padding: clamp(1.8rem, 3.4vw, 2.8rem);
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 26px 70px -38px rgba(10,10,10,.28);
}
.kit-card h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6em; }
.kit-card h3 svg { width: 20px; height: 20px; color: var(--grey); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.swatch {
  border-radius: 18px; aspect-ratio: 1 / 1.25; position: relative;
  border: 1px solid rgba(10,10,10,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 30px -18px rgba(10,10,10,.35);
  transition: transform .45s var(--ease-apple);
}
.swatch:hover { transform: translateY(-6px) scale(1.04); }
.swatch span {
  position: absolute; left: 0; right: 0; bottom: .55rem; text-align: center;
  font-size: .68rem; font-weight: 600; letter-spacing: .04em;
  color: #fff; mix-blend-mode: difference;
}
.kit-type { font-size: 1.02rem; color: #3c3c40; line-height: 1.65; }
.kit-type strong { font-weight: 600; color: var(--ink); }
.kit-keywords { margin-top: 1.4rem; }

/* Bouton retour en haut */
.to-top {
  position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 750;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(250,250,248,.6); color: var(--ink);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 16px 40px -18px rgba(10,10,10,.35);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .45s var(--ease-apple), transform .45s var(--ease-apple), background-color .3s;
}
.to-top--visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: rgba(255,255,255,.9); transform: scale(1.08); }
.to-top svg { width: 19px; height: 19px; }

/* Galerie projet */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.gallery .reveal-img { border-radius: var(--r-lg); box-shadow: 0 30px 80px -40px rgba(10,10,10,.45); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Rangée de chips (prestations) */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips span {
  font-size: .84rem; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 100px; padding: .55em 1.15em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.chips span::before { content: "✦"; color: var(--yellow); font-size: .8em; }

/* Icônes des canaux de contact */
.contact-channels a { display: inline-flex; align-items: center; gap: .55em; }
.contact-channels svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* Helpers reveal */
.reveal { opacity: 0; transform: translateY(44px); }
.reveal-img { overflow: hidden; border-radius: var(--r-xl); }
.reveal-img img { transform: scale(1.16); will-change: transform; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .project-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .split { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
}

@media (max-width: 899px) {
  .services__track { flex-direction: column; padding-right: 0; }
  .service-panel { flex: 1 1 auto; min-height: 0; }
  .services .section-head__count { display: none; }
  .zoom-scene { height: 400vh; }
}

/* Mobile : le showcase passe en format vertical, comme un téléphone */
@media (max-width: 860px) {
  .zoom-scene__media {
    height: min(58vh, 148vw); aspect-ratio: 10 / 16; max-width: 88vw;
    border-radius: 26px;
  }
  .zoom-scene__media img { object-fit: cover; object-position: 50% center; }
  .zoom-scene__bar { gap: .5rem; }
  .zoom-scene__counter, .zoom-scene__now { font-size: .76rem; padding: .45em .9em; }

  /* Barre de statut : rangées nettes, texte lisible, fond plus opaque */
  .hero__status {
    flex-direction: column; align-items: stretch; width: 100%; border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
  }
  .hero__status > span {
    padding: .72em 1.05em; font-size: .84rem; gap: .5em; flex-wrap: wrap;
  }
  .hero__status > span strong { white-space: nowrap; }
  .hero__status > span + span { border-left: none; border-top: 1px solid rgba(10,10,10,.08); }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; --nav-offset: 96px; }
  .nav { grid-template-columns: auto 1fr auto; top: 10px; width: calc(100% - 20px); }
  .nav__links { display: none; }
  .nav__logo { justify-self: center; grid-column: 2; }
  .nav__logo img { height: 54px; }
  .nav .burger { display: flex; grid-column: 3; justify-self: end; }
  .nav__spacer-mobile { display: block; grid-column: 1; width: 46px; }
  .menu { clip-path: circle(0px at calc(100% - 44px) 44px); }
  .form__row { grid-template-columns: 1fr; }
  .footer__giant { width: 100vw; margin-bottom: -5vw; }
  .stack-card { grid-template-columns: 1fr; gap: 1rem; }
  .contact-cta h2 { letter-spacing: -0.04em; }

  /* Projets en format iPhone : cartes portrait avec captures mobiles */
  .project-card__media { aspect-ratio: 3 / 4; }

  /* Chips de verre visibles sur mobile (rangée sous les boutons) */
  .hero__chips {
    display: flex; position: static; margin-top: 1.6rem;
    gap: .5rem; flex-wrap: wrap; pointer-events: none;
  }
  .hero-chip { position: static !important; }
  .hero-chip:nth-child(n+4) { display: none; }

  /* Hero mobile : plus de respiration, titre et texte cadrés */
  .hero { padding-top: calc(var(--nav-offset) + 1rem); }
  .hero__title { font-size: clamp(2.4rem, 10.5vw, 3.4rem); }
  .hero__sub { font-size: 1.02rem; max-width: 34ch; }
  .hero__actions { gap: .8rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Boutons pleine largeur partout où ils sont seuls */
  .manifesto__foot .btn, .prose .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
