/* ════════════════════════════════════════════════════════════════════
   CMO — Projet d'Exception  ·  Expérience Signature  ·  2024
   Fichier de style autonome — aucune dépendance sur style.css global
   ════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  --noir:    #1a1a18;
  --ink:     #0d0d0b;
  --ink-mid: #141412;
  --vert:    #94C120;
  --vert-p:  #c8e06a;
  --vert-bg: rgba(148,193,32,0.06);
  --ivoire:  #F5F2EC;
  --iv-mid:  #EDE8DF;
  --iv-dark: #E3DDD3;
  --blanc:   #ffffff;
  --f-t:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-c:     'Outfit', 'Segoe UI', system-ui, sans-serif;
  --ease:        cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-cin:    cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spr:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink); color: var(--blanc);
  font-family: var(--f-c); overflow-x: hidden;
  cursor: none;
}

/* ── Sélection de texte — élégante ─────────────────────────────────── */
::selection {
  background: rgba(148, 193, 32, 0.35);
  color: var(--noir);
}
::-moz-selection {
  background: rgba(148, 193, 32, 0.35);
  color: var(--noir);
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { font-family: var(--f-c); background: none; border: none; cursor: pointer; }

/* ── Custom cursor ─────────────────────────────────────────────────── */
.sig-cursor {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 7px; height: 7px;
  background: var(--vert); border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s;
  will-change: transform;
}
.sig-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9997;
  width: 34px; height: 34px;
  border: 1px solid rgba(148,193,32,.4);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .5s var(--ease), height .5s var(--ease),
              border-color .5s, opacity .5s;
  will-change: transform;
}
/* État survol générique */
body.c-hover .sig-cursor       { width: 12px; height: 12px; }
body.c-hover .sig-cursor-ring  { width: 58px; height: 58px; border-color: rgba(148,193,32,.2); }

/* État survol image — ring large et discret, dot réduit */
body.c-img .sig-cursor      { width: 4px; height: 4px; opacity: .45; }
body.c-img .sig-cursor-ring {
  width: 74px; height: 74px;
  border-color: rgba(148,193,32,.15);
  background: transparent;
}

/* État survol CTA / lien — ring rempli de vert, dot grossit */
body.c-cta .sig-cursor      { width: 11px; height: 11px; }
body.c-cta .sig-cursor-ring {
  width: 50px; height: 50px;
  background: rgba(148,193,32,.13);
  border-color: rgba(148,193,32,.55);
}

/* État vidéo */
body.c-video .sig-cursor      { width: 60px; height: 60px; background: transparent;
  border: 1px solid rgba(255,255,255,.4); }
body.c-video .sig-cursor-ring { opacity: 0; }

/* Éléments magnétiques — transition douce au retour */
.sig-mag { transition: transform .55s cubic-bezier(0.34,1.56,0.64,1); }

/* ── Scroll progress bar ───────────────────────────────────────────── */
#sig-progress {
  position: fixed; top: 0; left: 0; height: 1.5px;
  width: calc(var(--sp,0) * 100%);
  background: linear-gradient(90deg, var(--vert), var(--vert-p));
  z-index: 9000; pointer-events: none;
  transition: width .08s linear;
}

/* ── Back navigation ───────────────────────────────────────────────── */
#sig-back {
  position: fixed; top: 24px; left: 28px; z-index: 8000;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-c); font-size: .6rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  /* Fond foncé flou : lisible sur sections claires ET sombres */
  background: rgba(18,18,16,.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  padding: 5px 14px 5px 5px;
  border-radius: 28px;
  text-decoration: none;
  transition: color .3s, background .3s, border-color .3s;
}
#sig-back:hover {
  color: #fff;
  background: rgba(18,18,16,.78);
  border-color: rgba(148,193,32,.35);
}
.sig-back-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; line-height: 1;
  transition: border-color .3s, transform .4s var(--ease-spr);
}
#sig-back:hover .sig-back-circle { border-color: rgba(148,193,32,.55); transform: translateX(-3px); }

/* ── Overlay de sortie de page ─────────────────────────────────────── */
#sig-exit-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s cubic-bezier(0.76, 0, 0.24, 1);
}
#sig-exit-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Intro curtain ─────────────────────────────────────────────────── */
#sig-curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1.7s var(--ease-cin);
  pointer-events: none;
  overflow: hidden;
}
#sig-curtain.open { clip-path: polygon(0 0, 100% 0, 100% -.5%, 0 -.5%); }

/* Halo vert de fond */
#sig-curtain::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw; height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(148,193,32,0.18) 0%,
    rgba(148,193,32,0.07) 35%,
    transparent 70%
  );
  opacity: 0;
  animation: halo-in 1.8s 0.4s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes halo-in {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Conteneur centré vertical */
.curtain-content {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  text-align: center;
}

/* "Signature" — calligraphique, vert */
.curtain-sig {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(4rem, 9vw, 7.2rem);
  line-height: 1; color: var(--vert);
  opacity: 0; transform: translateY(16px);
  animation: cw-fade 1.3s 0.4s var(--ease-out) forwards;
}

/* "by" — blanc calligraphique */
.curtain-by {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: rgba(255,255,255,.80);
  margin: 8px 0 10px;
  opacity: 0;
  animation: cw-fade .9s 1.7s var(--ease-out) forwards;
}

/* "CMO" — vert avec texture verre */
.curtain-cmo {
  position: relative;
  display: block; text-align: center;
  font-family: var(--f-t); font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 300; letter-spacing: .52em;
  margin-left: .52em; /* centrage optique : décale l'élément flex pour que les glyphes se retrouvent au centre du viewport malgré le tracking terminal */
  text-transform: uppercase;
  /* Gradient vert texturé : zones claires et sombres simulant le verre */
  background: linear-gradient(
    138deg,
    #6b9a10  0%,
    #94c120 20%,
    #afd438 32%,
    #d8f57a 40%,   /* reflet lumineux */
    #f2ffcc 44%,   /* pic — lumière rasante */
    #d8f57a 48%,
    #94c120 58%,
    #607c0e 76%,   /* zone d'ombre verre */
    #94c120 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: cw-fade 1.1s 2.5s var(--ease-out) forwards;
}

/* Sweep de lumière — reflet verre animé */
.curtain-cmo::before {
  content: 'CMO';
  position: absolute; inset: 0;
  display: block; text-align: center;
  letter-spacing: .52em;
  background: linear-gradient(
    138deg,
    transparent  0%,
    transparent 38%,
    rgba(255,255,255,.05) 43%,
    rgba(255,255,255,.28) 47%,   /* trait de lumière */
    rgba(255,255,255,.05) 51%,
    transparent 56%,
    transparent 100%
  );
  background-size: 280% 100%;
  background-position: 160% center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  opacity: 0;
  animation:
    cw-fade      .1s  3.3s linear           forwards,
    glass-sweep  1.4s 3.4s var(--ease-cin)  forwards;
}
@keyframes glass-sweep {
  from { background-position: 160% center; }
  to   { background-position: -60% center; }
}

/* Ligne décorative — vert */
.curtain-cmo::after {
  content: '';
  /* Position absolue : sort du flux → n'affecte pas la hauteur du parent     */
  /* left:50% ancre au centre de la boîte de contenu du parent (.26em à droite */
  /* du centre viewport car margin-left:.52em).                                 */
  /* translateX(calc(-50% - .26em)) recentre précisément sur le viewport.       */
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% - .26em));
  bottom: -16px;
  width: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(148,193,32,.7) 35%,
    rgba(148,193,32,.5) 65%,
    transparent);
  animation: cmo-line 1.2s 3.4s var(--ease-out) forwards;
}
@keyframes cmo-line { to { width: 80%; } }

/* Animations partagées */
@keyframes cw-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ── Chapter nav dots (fixed left) ────────────────────────────────── */
#sig-chapter-nav {
  position: fixed; left: 28px; top: 50%; z-index: 7000;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 18px;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  opacity: 0; transition: opacity .5s 0s var(--ease-out);
}
#sig-chapter-nav.vis { opacity: 1; }
#sig-chapter-nav.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-8px);
}
.sig-dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(100,100,90,.45);
  border: 1px solid rgba(100,100,90,.25);
  cursor: pointer;
  transition: background .3s, transform .45s var(--ease-spr),
              box-shadow .3s, border-color .3s;
}
/* Zone cliquable invisible 28×28px — ::before uniquement pour ça */
.sig-dot::before {
  content: '';
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  background: transparent;
  pointer-events: all;
  z-index: 1;
}

/* Label texte */
.sig-dot::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 26px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  font-family: var(--f-c); font-size: .52rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(80,80,70,.8); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease-out),
              transform .28s var(--ease-out);
}

/* Survol */
.sig-dot:hover {
  background: rgba(100,100,90,.75);
  transform: scale(1.5);
  border-color: rgba(100,100,90,.4);
}
.sig-dot:hover::after {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

/* Actif : vert, plus grand, label toujours visible */
.sig-dot.active {
  background: var(--vert);
  transform: scale(1.9);
  border-color: rgba(148,193,32,.4);
  box-shadow: 0 0 0 3px rgba(148,193,32,.12),
              0 0 12px rgba(148,193,32,.3);
}
.sig-dot.active::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  color: var(--vert);
  letter-spacing: .24em;
}

/* ── Grain helper ──────────────────────────────────────────────────── */
.sig-grain-layer {
  position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: .038;
}

/* ── Universal reveal ──────────────────────────────────────────────── */
.sr {
  opacity: 0; transform: translateY(48px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.sr.in { opacity: 1; transform: none; }
.sr[data-d="1"] { transition-delay: .1s; }
.sr[data-d="2"] { transition-delay: .22s; }
.sr[data-d="3"] { transition-delay: .35s; }
.sr[data-d="4"] { transition-delay: .48s; }
.sr[data-d="5"] { transition-delay: .62s; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.sig-hero {
  position: relative; height: 100svh; min-height: 620px;
  overflow: hidden; display: flex; align-items: flex-end;
}
/* Étendue vers le haut pour donner de la marge au parallaxe (overflow:hidden du hero coupe) */
.sig-hero-bg { position: absolute; top: -50%; left: 0; right: 0; bottom: 0; }
.sig-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  animation: kb 22s var(--ease) forwards;
  will-change: transform;
}
@keyframes kb {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.sig-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13,13,11,.22)   0%,
    rgba(13,13,11,.04)  30%,
    rgba(13,13,11,.38)  62%,
    rgba(13,13,11,.76)  84%,
    rgba(13,13,11,.88) 100%
  );
}
.sig-hero-side-grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,13,11,.6) 0%, transparent 45%);
}
.sig-hero-content {
  position: relative; z-index: 3;
  width: 100%; padding: 0 96px 110px 136px;
  max-width: 1320px; margin: 0 auto;
}
.sig-hero-eyebrow {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 30px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s 0s var(--ease-out), transform .6s 0s var(--ease-out);
}
.loaded .sig-hero-eyebrow { opacity: 1; transform: none; }
.sig-eyebrow-line { display: block; width: 36px; height: 1px; background: var(--vert); flex-shrink: 0; }
.sig-eyebrow-txt  {
  font-family: var(--f-c); font-size: .58rem; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.sig-hero-title {
  font-family: var(--f-t); font-weight: 300;
  font-size: clamp(4.5rem, 10.5vw, 11rem);
  line-height: .86; letter-spacing: -.025em;
  color: var(--ivoire); display: flex; flex-direction: column;
  margin-bottom: 36px;
}
.sig-hero-title em { font-style: italic; color: var(--vert); display: block; }
.sig-word-mask {
  overflow: hidden; display: block; padding-bottom: .06em;
}
.sig-word-mask span,
.sig-word-mask em {
  display: block;
  transform: translateY(108%);
  transition: transform 1.4s var(--ease-cin);
}
.loaded .sig-word-mask:nth-child(1) span { transform: none; transition-delay: 0.1s; }
.loaded .sig-word-mask:nth-child(2) em  { transform: none; transition-delay: 0.22s; }
/* ── Barre pleine-largeur bas de hero ──────────────────────────────── */
.sig-hero-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: rgba(13,13,11,.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-top: 1px solid rgba(148,193,32,.2);
  overflow: hidden;
  opacity: 0; transform: translateY(4px);
  transition: opacity .7s 0.3s var(--ease-out), transform .7s 0.3s var(--ease-out);
}
.loaded .sig-hero-bar { opacity: 1; transform: none; }
.sig-hero-bar-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 16px 96px 16px 136px;
  display: flex; align-items: center;
}
.sig-hero-bar-left { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.sig-hbar-year {
  font-family: var(--f-t); font-size: 1.6rem; font-weight: 300;
  letter-spacing: -.02em; line-height: 1; color: var(--vert);
}
.sig-hbar-brand {
  font-family: var(--f-c); font-size: .5rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,242,236,.3); white-space: nowrap;
}
.sig-hbar-sep {
  width: 1px; height: 32px; flex-shrink: 0;
  background: rgba(148,193,32,.18); margin: 0 28px;
}
.sig-hero-bar-meta { display: flex; align-items: center; flex: 1; }
.sig-hero-bar-meta span {
  font-family: var(--f-c); font-size: .56rem; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(245,242,236,.85); white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,.9), 0 0 16px rgba(0,0,0,.7);
}
.sig-hero-bar-meta span:first-child {
  color: #fff; font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.9), 0 0 16px rgba(0,0,0,.7);
}
.sig-hero-bar-meta span + span::before {
  content: '·'; display: inline-block; margin: 0 16px;
  color: rgba(148,193,32,.45); font-size: .6rem; letter-spacing: 0;
}

/* Scroll cue */
.sig-scroll-cue {
  position: absolute; right: 80px; bottom: 100px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; transition: opacity .6s 0.4s var(--ease-out);
}
.loaded .sig-scroll-cue { opacity: 1; }
.sig-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(180deg, transparent 0%, rgba(148,193,32,.7) 100%);
  animation: scl 2.2s 3s ease-in-out infinite;
}
@keyframes scl {
  0%,100% { transform: scaleY(1) translateY(0); opacity: 1; }
  50%      { transform: scaleY(.4) translateY(10px); opacity: .3; }
}
.sig-scroll-label {
  font-family: var(--f-c); font-size: .5rem; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.25);
  writing-mode: vertical-rl; text-orientation: mixed;
}

/* Hero index */
.sig-hero-idx {
  position: absolute; right: 80px; top: 36px; z-index: 3;
  font-family: var(--f-t); font-size: .72rem; font-weight: 300;
  letter-spacing: .2em; color: rgba(255,255,255,.18);
  opacity: 0; transition: opacity .8s 1.35s var(--ease-out);
}
.loaded .sig-hero-idx { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   SECTION WRAPPERS
   ═══════════════════════════════════════════════════════════ */
.sig-s-light   { background: var(--ivoire); color: var(--noir); }
.sig-s-dark    { background: var(--ink);    color: var(--ivoire); }
.sig-s-deep    { background: var(--ink-mid); color: var(--ivoire); }
.sig-s-gallery { background: #131311;       color: var(--ivoire); }

.sig-inner {
  max-width: 1320px; margin: 0 auto;
  /* padding-left généreux = zone libre pour la nav + label actif (~130px) */
  padding: 120px 96px 120px 136px;
}
.sig-inner-wide { /* for gallery — no padding-x, padding-y only */
  padding-top: 100px; padding-bottom: 120px;
}

/* ── Chapter marker (eyebrow row) ──────────────────────────────────── */
.sig-ch-mark {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 60px;
}
.sig-ch-mark.centered { justify-content: center; margin-bottom: 56px; }
.sig-ch-num {
  font-family: var(--f-t); font-size: .85rem; font-weight: 300;
  color: var(--vert); letter-spacing: .22em;
}
.sig-ch-divider {
  flex: 1; max-width: 72px; height: 1px;
  background: currentColor; opacity: .12;
}
.sig-ch-lbl {
  font-family: var(--f-c); font-size: .55rem; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; opacity: .35;
}
/* On dark bg */
.sig-s-dark .sig-ch-lbl,
.sig-s-deep .sig-ch-lbl  { color: var(--ivoire); }
/* On light bg */
.sig-s-light .sig-ch-lbl { color: var(--noir); }

/* ═══════════════════════════════════════════════════════════
   CHAPTER 1 — GENÈSE  (light)
   ═══════════════════════════════════════════════════════════ */
.sig-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center;
}
.sig-split-h2 {
  font-family: var(--f-t); font-weight: 300;
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  line-height: .92; letter-spacing: -.02em;
  color: var(--noir); margin-bottom: 32px;
}
.sig-split-h2 em { font-style: italic; color: var(--vert); }
.sig-split-text p {
  font-family: var(--f-c); font-size: .93rem; font-weight: 300;
  color: rgba(26,26,24,.6); line-height: 1.92;
}
.sig-split-text p + p { margin-top: 16px; }

/* Stats row */
.sig-stats {
  display: flex; gap: 48px; margin-top: 56px; padding-top: 48px;
  border-top: 1px solid rgba(26,26,24,.1);
}
.sig-stat-n {
  font-family: var(--f-t); font-size: 4rem; font-weight: 300;
  line-height: 1; color: var(--noir); letter-spacing: -.03em;
  display: block;
}
.sig-stat-u {
  font-family: var(--f-c); font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--vert); margin-top: 2px; display: block;
}
.sig-stat-l {
  font-family: var(--f-c); font-size: .68rem; font-weight: 300;
  letter-spacing: .08em; color: rgba(26,26,24,.4);
  margin-top: 6px; display: block;
}

/* Image frame — reveal au scroll (opacity + translateY, compatible IntersectionObserver) */
.sig-img-frame {
  position: relative; overflow: hidden; height: 600px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.2s var(--ease-cin), transform 1.2s var(--ease-cin);
}
.sig-img-frame.in { opacity: 1; transform: translateY(0); }
.sig-img-frame img {
  width: 100%; height: 110%; object-fit: cover;
  transform: translateY(0);
  transition: transform .8s var(--ease);
  will-change: transform;
}
.sig-img-frame:hover img { transform: translateY(-12px) scale(1.02); }
/* Floating badge on image */
.sig-img-badge {
  position: absolute; bottom: 28px; left: -20px; z-index: 2;
  background: var(--noir); padding: 18px 24px;
  box-shadow: 0 12px 48px rgba(13,13,11,.5);
}
.sig-img-badge-year {
  font-family: var(--f-t); font-size: 2.2rem; font-weight: 300;
  color: var(--vert); letter-spacing: -.02em; display: block; line-height: 1;
}
.sig-img-badge-txt {
  font-family: var(--f-c); font-size: .55rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,242,236,.45); margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   CHAPTER 2 — VIDÉO  (dark)
   ═══════════════════════════════════════════════════════════ */
.sig-video-wrap { text-align: center; }
.sig-video-eyebrow {
  font-family: var(--f-c); font-size: .58rem; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(255,255,255,.25);
  display: block; margin-bottom: 20px;
}
.sig-video-h2 {
  font-family: var(--f-t); font-weight: 300;
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  line-height: .92; letter-spacing: -.02em; color: var(--ivoire);
  margin-bottom: 56px;
}
.sig-video-h2 em { font-style: italic; color: var(--vert); }

/* Player shell */
.sig-player {
  position: relative; overflow: hidden;
  width: 100%; max-width: 940px; margin: 0 auto;
  background: #080806;
  aspect-ratio: 16 / 9;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 40px 100px rgba(0,0,0,.8),
    0 80px 180px rgba(0,0,0,.5);
}
.sig-player video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .6s;
}
.sig-player.has-src video { opacity: 1; }

/* Player overlay (shown when paused) */
.sig-player-ov {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,13,11,.45);
  transition: background .6s var(--ease), opacity .4s var(--ease);
}
.sig-player.playing .sig-player-ov {
  background: transparent; opacity: 0; pointer-events: none;
}

/* No-source state */
.sig-no-src {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  background-size: cover; background-position: center;
}
.sig-no-src-veil {
  position: absolute; inset: 0;
  background: rgba(13,13,11,.65);
}
.sig-no-src-txt {
  position: relative; z-index: 1; text-align: center;
}
.sig-no-src-txt span {
  display: block; font-family: var(--f-c);
  font-size: .62rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-top: 8px;
}
.sig-no-src-txt strong {
  font-family: var(--f-t); font-size: 1rem; font-weight: 300;
  letter-spacing: .1em; color: rgba(255,255,255,.55);
}

/* Play button */
.sig-play-btn {
  position: relative; width: 84px; height: 84px;
  cursor: pointer; z-index: 3;
  transition: transform .4s var(--ease-spr);
}
.sig-play-btn:hover { transform: scale(1.12); }
.sig-play-btn:active { transform: scale(.96); }
.sig-play-ring {
  position: absolute; inset: 0; transform: rotate(-90deg);
}
.ring-bg {
  fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1;
}
.ring-anim {
  fill: none; stroke: var(--vert); stroke-width: 1.5;
  stroke-dasharray: 289.02;
  stroke-dashoffset: 289.02;
  animation: ring-spin 3.5s linear infinite;
  stroke-linecap: round;
}
@keyframes ring-spin { to { stroke-dashoffset: 0; } }
.sig-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.sig-play-icon svg { width: 20px; height: 20px; fill: var(--ivoire); transform: translateX(2px); }

/* Pause state */
.sig-player.playing .sig-play-btn { display: none; }

/* Controls bar */
.sig-vctl {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  padding: 0 18px 14px;
  background: linear-gradient(0deg, rgba(13,13,11,.92) 0%, transparent 100%);
  opacity: 0; transition: opacity .35s;
}
.sig-player:hover .sig-vctl,
.sig-player.paused .sig-vctl { opacity: 1; }
.sig-vctl-prog {
  width: 100%; height: 2px; background: rgba(255,255,255,.12);
  cursor: pointer; margin-bottom: 10px; position: relative;
}
.sig-vctl-prog-fill {
  height: 100%; background: var(--vert); width: 0%;
  pointer-events: none; transition: width .1s linear;
}
.sig-vctl-actions {
  display: flex; align-items: center; justify-content: space-between;
}
.sig-vctl-time {
  font-family: var(--f-c); font-size: .6rem; font-weight: 300;
  letter-spacing: .1em; color: rgba(255,255,255,.4);
}
.sig-vctl-btns { display: flex; gap: 12px; }
.sig-vctl-btn {
  color: rgba(255,255,255,.5); padding: 4px;
  transition: color .2s; line-height: 0;
}
.sig-vctl-btn:hover { color: var(--ivoire); }
.sig-vctl-btn svg { width: 15px; height: 15px; display: block; }

/* ═══════════════════════════════════════════════════════════
   CHAPTER 3 — GALERIE (scroll horizontal)
   ═══════════════════════════════════════════════════════════ */

/* ── Wrapper sticky ─────────────────────────────────────── */
.sig-gal-sticky-wrap {
  /* hauteur = viewport + espace de défilement horizontal
     calculé et mis à jour par JS via --gal-scroll-h       */
  height: var(--gal-scroll-h, 500vh);
  position: relative;
}

.sig-gal-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* ── Piste horizontale ──────────────────────────────────── */
.sig-gal-track {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 10vw;          /* marge gauche + droite visibles */
  height: 100%;
  will-change: transform;
  /* la transition est gérée en JS (pas de CSS transition ici
     pour ne pas désynchroniser le scroll) */
}

/* ── Slide individuelle ─────────────────────────────────── */
.sig-gal-slide {
  position: relative;
  flex: 0 0 75vw;
  height: 78vh;
  overflow: hidden;
  border-radius: 2px;
  background: #0e0e0c;
  /* échelle réduite sur les slides non-actives */
  transform: scale(0.94);
  transition: transform .6s var(--ease-cin);
}
.sig-gal-slide.active { transform: scale(1); }

.sig-gal-slide-img {
  position: absolute; inset: 0;
}
.sig-gal-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.04);
  transition: transform .9s var(--ease);
}
.sig-gal-slide:hover .sig-gal-slide-img img { transform: scale(1.08); }

/* ── Numéro & caption (réutilise le style existant) ─────── */
.sig-gal-slide .sig-gal-num {
  position: absolute; top: 20px; right: 22px; z-index: 2;
  font-family: var(--f-t); font-size: 1.4rem; font-weight: 300;
  color: rgba(255,255,255,.2);
  transition: color .4s;
}
.sig-gal-slide:hover .sig-gal-num,
.sig-gal-slide.active .sig-gal-num { color: rgba(148,193,32,.45); }

.sig-gal-slide .sig-gal-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 52px 24px 20px;
  background: linear-gradient(transparent, rgba(13,13,11,.72));
  font-family: var(--f-c); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transform: translateY(4px);
  transition: transform .5s var(--ease), color .4s;
}
.sig-gal-slide:hover .sig-gal-caption,
.sig-gal-slide.active .sig-gal-caption {
  transform: translateY(0);
  color: rgba(255,255,255,.75);
}

/* ── Tag de phase (Avant / 3D / Terminé) ────────────────── */
.sig-gal-phase {
  position: absolute; top: 20px; left: 22px; z-index: 3;
  font-family: var(--f-c); font-size: 8.5px;
  letter-spacing: .3em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  backdrop-filter: blur(10px);
  background: rgba(13,13,11,.5);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.45);
  pointer-events: none;
}
.sig-gal-slide[data-phase="avant"] .sig-gal-phase {
  border-color: rgba(245,242,236,.22); color: rgba(245,242,236,.65);
}
.sig-gal-slide[data-phase="3d"] .sig-gal-phase {
  border-color: rgba(148,193,32,.28); color: rgba(148,193,32,.75);
}
.sig-gal-slide[data-phase="terminer"] .sig-gal-phase {
  border-color: rgba(148,193,32,.5); color: rgba(148,193,32,.95);
}

/* ── Barre de progression ───────────────────────────────── */
.sig-gal-prog-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,.07);
  z-index: 5;
}
.sig-gal-prog-fill {
  height: 100%; width: 0%;
  background: var(--vert);
  transition: width .04s linear;
}

/* ── Compteur ───────────────────────────────────────────── */
.sig-gal-counter {
  position: absolute;
  bottom: 28px; right: 48px;
  display: flex; align-items: baseline; gap: 5px;
  z-index: 5;
  font-family: var(--f-t); font-weight: 300;
  color: rgba(255,255,255,.35);
}
.sig-gal-idx   { font-size: 1.8rem; color: rgba(255,255,255,.7); transition: color .3s; }
.sig-gal-ctr-sep { font-size: .85rem; }
.sig-gal-total { font-size: .85rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .sig-gal-track  { gap: 12px; padding: 0 6vw; }
  .sig-gal-slide  { flex: 0 0 88vw; height: 68vh; }
  .sig-gal-counter { right: 24px; bottom: 22px; }
}

.sig-gal-header {
  max-width: 1320px; margin: 0 auto;
  padding: 0 80px 64px;
}
.sig-gal-h2 {
  font-family: var(--f-t); font-weight: 300;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: .92; letter-spacing: -.02em; color: var(--ivoire);
}
.sig-gal-h2 em { font-style: italic; color: var(--vert); }

/* The grid itself — DÉSACTIVÉ, remplacé par scroll horizontal */
.sig-gallery-grid {
  display: grid;
  grid-template-columns: 60% 1fr;
  grid-template-rows: 380px 380px 440px 400px;
  gap: 3px;
}
.sig-gal-item {
  position: relative; overflow: hidden; background: #0e0e0c;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s var(--ease-cin);
}
.sig-gal-item.in { clip-path: inset(0 0 0% 0); }

/* Grid placement */
.sig-gal-hero { grid-column: 1; grid-row: 1 / 3; }   /* tall left, spans 2 rows */
.sig-gal-s1   { grid-column: 2; grid-row: 1; }
.sig-gal-s2   { grid-column: 2; grid-row: 2; }
.sig-gal-full { grid-column: 1 / 3; grid-row: 3; }   /* full-width */
.sig-gal-m1   { grid-column: 1; grid-row: 4; }
.sig-gal-m2   { grid-column: 2; grid-row: 4; }

.sig-gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); will-change: transform;
  transition: transform .9s var(--ease);
}
.sig-gal-item:hover img { transform: scale(1.09); }

.sig-gal-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 48px 22px 18px;
  background: linear-gradient(0deg, rgba(13,13,11,.88), transparent);
  font-family: var(--f-c); font-size: .58rem; font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.sig-gal-item:hover .sig-gal-caption { transform: none; }

/* Number label on hover */
.sig-gal-num {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  font-family: var(--f-t); font-size: 1.4rem; font-weight: 300;
  color: rgba(255,255,255,.12); letter-spacing: .1em;
  transition: color .4s; pointer-events: none;
}
.sig-gal-item:hover .sig-gal-num { color: rgba(148,193,32,.4); }

/* ═══════════════════════════════════════════════════════════
   CHAPTER 4 — CONCEPTION  (light)
   ═══════════════════════════════════════════════════════════ */
.sig-details-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start;
}
.sig-details-text-col .sig-details-h2,
.sig-details-h2 {
  font-family: var(--f-t); font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: .92; letter-spacing: -.02em; color: var(--noir);
  margin-bottom: 28px;
}
.sig-details-h2 em { font-style: italic; color: var(--vert); }
.sig-details-text-col p,
.sig-details-text p {
  font-family: var(--f-c); font-size: .93rem; font-weight: 300;
  color: rgba(26,26,24,.6); line-height: 1.9;
  margin-bottom: 16px;
}

/* Spec table */
.sig-specs { margin-top: 52px; border-top: 1px solid rgba(26,26,24,.1); }
.sig-spec-row {
  display: flex; align-items: baseline; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid rgba(26,26,24,.07);
}
.sig-spec-k {
  font-family: var(--f-c); font-size: .58rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(26,26,24,.3); min-width: 120px; flex-shrink: 0;
}
.sig-spec-v {
  font-family: var(--f-c); font-size: .88rem; font-weight: 300; color: var(--noir);
}

/* CTA link */
.sig-detail-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 52px;
  font-family: var(--f-c); font-size: .65rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--noir);
  padding-bottom: 10px; border-bottom: 1.5px solid var(--vert);
  transition: gap .35s var(--ease-spr), color .3s;
}
.sig-detail-cta:hover { gap: 22px; color: var(--vert); }
.sig-detail-cta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Images stack */
.sig-details-imgs { position: relative; padding-bottom: 60px; } /* remplacé par 0 en dessous de 1100px */
.sig-det-main {
  overflow: hidden; height: 520px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-cin), transform 1.2s var(--ease-cin);
}
.sig-det-main.in { opacity: 1; transform: translateY(0); }
.sig-det-main img { width: 100%; height: 100%; object-fit: cover; }
.sig-det-secondary {
  position: absolute; bottom: 0; right: -28px;
  width: 54%; overflow: hidden; height: 300px;
  box-shadow: 0 20px 64px rgba(13,13,11,.28);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s .3s var(--ease-cin), transform 1.2s .3s var(--ease-cin);
}
.sig-det-secondary.in { opacity: 1; transform: translateY(0); }
.sig-det-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════
   OUTRO / FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.sig-outro {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--ink); overflow: hidden;
  padding: 120px 80px;
  text-align: center;
}
/* "CMO" watermark — présence forte, animation vivante */
.sig-outro-wm {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-t);
  font-size: clamp(18rem, 34vw, 40rem);
  font-weight: 300; letter-spacing: -.04em;
  /* fill très discret + stroke vert */
  color: rgba(148,193,32,.06);
  -webkit-text-stroke: 1px rgba(148,193,32,.13);
  paint-order: stroke fill;
  pointer-events: none; user-select: none;
  overflow: hidden; white-space: nowrap;
  animation: wm-breathe 18s ease-in-out infinite;
  will-change: transform, filter;
}

/* Liseré rouge — écho au logo CMO — calque superposé en ::before */
.sig-outro-wm::before {
  content: 'CMO';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-t);
  font-size: inherit;
  font-weight: 300; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(185, 40, 38, .22);
  paint-order: stroke fill;
  pointer-events: none;
  /* Légère désynchronisation = profondeur subtile */
  animation: wm-breathe 18s ease-in-out infinite;
  animation-delay: -3s;
  will-change: transform, filter;
}

@keyframes wm-breathe {
  0%   { transform: scale(1)    rotate(-1.2deg); filter: brightness(1);   }
  38%  { transform: scale(1.07) rotate( .6deg);  filter: brightness(2.8); }
  60%  { transform: scale(1.05) rotate( .2deg);  filter: brightness(1.5); }
  100% { transform: scale(1)    rotate(-1.2deg); filter: brightness(1);   }
}

/* Halo vert qui dérive lentement derrière le contenu */
.sig-outro::before {
  content: '';
  position: absolute; z-index: 0; pointer-events: none;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(148,193,32,.13) 0%,
    rgba(148,193,32,.04) 45%,
    transparent 68%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: halo-drift 20s ease-in-out infinite;
  will-change: transform;
}
@keyframes halo-drift {
  0%   { transform: translate(-50%, -50%) scale(1);    }
  28%  { transform: translate(-38%, -60%) scale(1.18); }
  55%  { transform: translate(-58%, -42%) scale(.92);  }
  78%  { transform: translate(-44%, -56%) scale(1.12); }
  100% { transform: translate(-50%, -50%) scale(1);    }
}
.sig-outro-content { position: relative; z-index: 2; max-width: 640px; }
.sig-outro-eyebrow {
  font-family: var(--f-c); font-size: .56rem; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.2);
  display: block; margin-bottom: 28px;
}
.sig-outro-title {
  font-family: var(--f-t); font-weight: 300;
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  line-height: .88; letter-spacing: -.025em; color: var(--ivoire);
  margin-bottom: 30px;
}
.sig-outro-title em { font-style: italic; color: var(--vert); }
.sig-outro-sub {
  font-family: var(--f-c); font-size: .88rem; font-weight: 300;
  color: rgba(255,255,255,.28); line-height: 1.9;
  max-width: 420px; margin: 0 auto;
}
.sig-outro-actions {
  margin-top: 60px; display: flex; flex-direction: column;
  align-items: center; gap: 22px;
}
.sig-outro-btn {
  display: inline-block; padding: 18px 52px;
  font-family: var(--f-c); font-size: .65rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  background: var(--vert); color: var(--ink);
  transition: background .3s, transform .4s var(--ease-spr), box-shadow .3s;
}
.sig-outro-btn:hover {
  background: var(--vert-p); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(148,193,32,.25);
}
.sig-outro-link {
  font-family: var(--f-c); font-size: .6rem; font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.2); transition: color .3s;
}
.sig-outro-link:hover { color: rgba(255,255,255,.55); }
.sig-outro-logo {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  opacity: .25; transition: opacity .3s; z-index: 2;
  display: block; line-height: 0;
}
.sig-outro-logo img { width: 80px; height: auto; display: block; }
.sig-outro-logo:hover { opacity: .6; }

/* ── Horizontal separator line ─────────────────────────────────────── */
.sig-sep {
  display: block; width: 1px; height: 80px; background: rgba(255,255,255,.1);
  margin: 0 auto;
}
.sig-sep.dark { background: rgba(26,26,24,.12); }

/* ════════════════════════════════════════════════════════════
   AVANT / APRÈS
   ════════════════════════════════════════════════════════════ */
.sig-ba-section {
  position: relative;
  height: 250vh; /* espace de scroll — l'animation se joue sur 150vh */
}

.sig-ba-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* ── Couches images ──────────────────────────────────────── */
.sig-ba-before,
.sig-ba-after {
  position: absolute;
  inset: 0;
}

.sig-ba-before img,
.sig-ba-after img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transform: scale(1.01); /* évite le filet blanc aux bords */
}

/* Avant : légèrement désaturé + teinte froide — évoque le passé */
.sig-ba-before img {
  filter: saturate(0.5) sepia(0.18) brightness(0.82);
}

/* Après : pleine couleur, lumineuse */
.sig-ba-after {
  clip-path: inset(0 85% 0 0);
  will-change: clip-path;
}
.sig-ba-after img {
  filter: saturate(1.06) brightness(1.02);
}

/* ── Labels Avant / Après ────────────────────────────────── */
.sig-ba-label {
  position: absolute;
  bottom: 72px;
  display: flex; flex-direction: column; gap: 5px;
  z-index: 3;
}
/* "Avant" = côté droit (l'image avant est toujours à droite du divider) */
.sig-ba-label--before { right: 48px; text-align: right; }
/* "Après" = côté gauche (l'image après se révèle depuis la gauche) */
.sig-ba-label--after {
  left: 48px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.sig-ba-label--after.vis {
  opacity: 1; transform: translateY(0);
}

.sig-ba-lbl-tag {
  font-family: var(--f-c); font-size: 10px;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(245,242,236,.42);
}
.sig-ba-lbl-word {
  font-family: var(--f-t);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 300; letter-spacing: .06em;
  color: rgba(245,242,236,.9); line-height: 1;
}

/* ── Divider ─────────────────────────────────────────────── */
.sig-ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 15%; /* synchronisé par JS */
  width: 0;
  z-index: 4; pointer-events: none;
  will-change: left;
}

.sig-ba-div-line {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 1px; transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(148,193,32,.45) 10%,
    rgba(148,193,32,.95) 38%,
    rgba(148,193,32,.95) 62%,
    rgba(148,193,32,.45) 90%,
    transparent 100%
  );
}

.sig-ba-div-handle {
  position: absolute;
  top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(13,13,11,.6);
  border: 1px solid rgba(148,193,32,.5);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  color: var(--vert);
  animation: ba-handle-pulse 3.2s ease-in-out infinite;
}
.sig-ba-div-handle svg { width: 17px; height: 17px; }

@keyframes ba-handle-pulse {
  0%,  100% { box-shadow: 0 0 0 0   rgba(148,193,32,.0); }
  50%        { box-shadow: 0 0 0 10px rgba(148,193,32,.10); }
}

/* ── Titre de chapitre ───────────────────────────────────── */
.sig-ba-title {
  position: absolute;
  top: 44px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-t); font-size: 1.1rem;
  font-weight: 300; font-style: italic;
  letter-spacing: .08em;
  color: rgba(245,242,236,.75); white-space: nowrap;
  z-index: 5;
}

/* ── Barre de progression (bottom) ──────────────────────── */
.sig-ba-prog-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(245,242,236,.07);
  z-index: 5;
}
.sig-ba-prog-fill {
  height: 100%; width: 0%;
  background: var(--vert);
  transition: width .04s linear;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .sig-ba-section { height: 200vh; }
  .sig-ba-label--before { right: 24px; bottom: 56px; text-align: right; }
  .sig-ba-label--after  { left: 24px;  bottom: 56px; }
  .sig-ba-div-handle { width: 38px; height: 38px; }
}


/* ═══════════════════════════════════════════════════════════
   #8 — PALETTE DE MATIÈRES
   ═══════════════════════════════════════════════════════════ */

.sig-palette {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

/* En-tête */
.sig-palette-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 56px 0 44px;
}
.sig-palette-eyebrow {
  font-family: var(--f-t);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: .08em;
  color: rgba(245,242,236,.75);
}
.sig-palette-header .eyebrow-line {
  width: 40px; height: 1px;
  flex-shrink: 0;
}

/* Grille 4 colonnes */
.sig-palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 88vh;
  min-height: 520px;
}

/* ── Panneau matière ─────────────────────────────── */
.sig-mat {
  position: relative;
  overflow: hidden;
  cursor: default;
  /* Séparateur vertical */
  border-right: 1px solid rgba(245,242,236,.06);
  transition: flex 0s; /* placeholder pour le JS-free expand */
}
.sig-mat:last-child { border-right: none; }

/* Photo */
.sig-mat-img {
  position: absolute; inset: 0;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.sig-mat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.6) brightness(.55);
  transition: filter 1s ease, transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.sig-mat:hover .sig-mat-img img {
  filter: saturate(.85) brightness(.72);
  transform: scale(1.04);
}

/* Dégradé bas */
.sig-mat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(13,13,11,.55) 70%,
    rgba(13,13,11,.92) 100%
  );
  z-index: 1;
}

/* Contenu texte */
.sig-mat-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px 36px;
  z-index: 2;
}
.sig-mat-num {
  display: block;
  font-family: var(--f-t);
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--vert);
  margin-bottom: 12px;
  opacity: .7;
}
.sig-mat-name {
  font-family: var(--f-t);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ivoire);
  margin-bottom: 14px;
  transition: letter-spacing .5s ease;
}
.sig-mat:hover .sig-mat-name {
  letter-spacing: .02em;
}
.sig-mat-desc {
  font-family: var(--f-c);
  font-size: .72rem;
  line-height: 1.7;
  color: rgba(245,242,236,.48);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .55s var(--ease-out),
              opacity    .45s var(--ease-out),
              transform  .45s var(--ease-out);
}
.sig-mat:hover .sig-mat-desc {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

/* Ligne décorative gauche — s'étend au hover */
.sig-mat::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 1px;
  height: 0;
  background: var(--vert);
  z-index: 3;
  transition: height .6s cubic-bezier(0.76, 0, 0.24, 1);
}
.sig-mat:hover::after { height: 100%; }

/* Reveal à l'entrée dans le viewport */
.sig-mat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out),
              transform .8s var(--ease-out);
}
.sig-mat.mat-in {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger */
.sig-mat[data-mat="01"] { transition-delay: 0s; }
.sig-mat[data-mat="02"] { transition-delay: .1s; }
.sig-mat[data-mat="03"] { transition-delay: .2s; }
.sig-mat[data-mat="04"] { transition-delay: .3s; }

/* Mobile : 2×2 */
@media (max-width: 768px) {
  .sig-palette-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: auto;
    min-height: 0;
  }
  .sig-mat { min-height: 52vw; border-bottom: 1px solid rgba(245,242,236,.06); }
  .sig-mat-name { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  /* Garder 2 colonnes — 1 colonne créait 4 panneaux trop hauts */
  .sig-palette-grid { grid-template-columns: repeat(2, 1fr); }
  .sig-mat { min-height: 56vw; }
}


/* ═══════════════════════════════════════════════════════════
   #7 — TIMELINE CHANTIER
   ═══════════════════════════════════════════════════════════ */

.sig-tl-intro {
  max-width: 520px;
  margin: 0 auto 72px;
  text-align: center;
}
.sig-tl-h2 {
  font-family: var(--f-t);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--noir);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.sig-tl-h2 em { font-style: italic; color: var(--vert); }
.sig-tl-sub {
  font-family: var(--f-c);
  font-size: .88rem;
  color: rgba(26,26,24,.5);
  line-height: 1.75;
}

/* ── Conteneur ───────────────────────────────────── */
.sig-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 48px;
}

/* Ligne fond (gris léger) */
.sig-timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(26,26,24,.1);
  transform: translateX(-50%);
}

/* Ligne animée (vert — se trace au scroll) */
.sig-timeline::after {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: 0;
  background: linear-gradient(180deg,
    var(--vert) 0%,
    rgba(148,193,32,.35) 100%);
  transform: translateX(-50%);
  transition: height 2.2s cubic-bezier(0.76, 0, 0.24, 1);
}
.sig-timeline.tl-in::after {
  height: 100%;
}

/* ── Phase ───────────────────────────────────────── */
.sig-tl-phase {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: start;
  margin-bottom: 60px;
  position: relative;
}
.sig-tl-phase:last-child { margin-bottom: 0; }

/* ── Nœud central ────────────────────────────────── */
.sig-tl-node {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
  position: relative;
  z-index: 2;
}
.sig-tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(148,193,32,.25);
  background: var(--ivoire);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .5s ease,
              transform   .5s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow  .5s ease;
}
.sig-tl-dot span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(148,193,32,.25);
  transition: background .5s ease, transform .5s cubic-bezier(0.34,1.56,0.64,1);
}
.sig-tl-phase.tl-phase-in .sig-tl-dot {
  border-color: var(--vert);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(148,193,32,.12);
}
.sig-tl-phase.tl-phase-in .sig-tl-dot span {
  background: var(--vert);
}
.sig-tl-period {
  font-family: var(--f-c);
  font-size: 7px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(26,26,24,.3);
  white-space: nowrap;
  transition: color .5s ease;
}
.sig-tl-phase.tl-phase-in .sig-tl-period { color: var(--vert); }

/* ── Contenu — alternance gauche / droite ────────── */
.sig-tl-content {
  padding: 0 32px;
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity .75s var(--ease-out),
              transform .75s cubic-bezier(0.76, 0, 0.24, 1);
}
/* Impair → droite */
.sig-tl-phase:nth-child(odd) .sig-tl-content {
  grid-column: 3;
  text-align: left;
  transform: translateX(28px);
}
/* Pair → gauche */
.sig-tl-phase:nth-child(even) .sig-tl-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  transform: translateX(-28px);
}
.sig-tl-phase.tl-phase-in .sig-tl-content {
  opacity: 1;
  transform: translateX(0);
}
.sig-tl-title {
  font-family: var(--f-t);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--noir);
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.sig-tl-desc {
  font-family: var(--f-c);
  font-size: .8rem;
  color: rgba(26,26,24,.52);
  line-height: 1.75;
}

/* ── Mobile : tout à droite ──────────────────────── */
@media (max-width: 640px) {
  .sig-timeline::before,
  .sig-timeline::after { left: 18px; transform: none; }
  .sig-tl-phase {
    grid-template-columns: 36px 1fr;
    margin-bottom: 48px;
  }
  .sig-tl-node { grid-column: 1; }
  .sig-tl-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
    padding: 0 0 0 18px;
    transform: translateX(18px) !important;
  }
  .sig-tl-phase.tl-phase-in .sig-tl-content {
    transform: translateX(0) !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   #6 — RÉVÉLATION ARCHITECTURALE DES TITRES
   Chaque ligne émerge de son masque comme un volet qui se lève.
   ═══════════════════════════════════════════════════════════ */

/* Neutraliser le .sr générique sur les titres architecturaux */
.sig-arch-title.sr {
  opacity:    1 !important;
  transform:  none !important;
  transition: none !important;
}

/* Masque par ligne — overflow caché */
.sig-arch-line {
  display: block;
  overflow: hidden;
  /* micro-padding bas pour les descenders */
  padding-bottom: 0.06em;
  margin-bottom:  -0.06em;
}

/* Contenu interne — démarre sous le masque */
.sig-arch-inner {
  display: block;
  transform: translateY(108%);
  will-change: transform;
  transition: transform 0.88s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Révélation au déclenchement .in */
.sig-arch-title.in .sig-arch-inner {
  transform: translateY(0);
}

/* Décalage temporel ligne par ligne (volet montant) */
.sig-arch-title.in .sig-arch-line:nth-child(1) .sig-arch-inner { transition-delay: 0s; }
.sig-arch-title.in .sig-arch-line:nth-child(2) .sig-arch-inner { transition-delay: 0.14s; }
.sig-arch-title.in .sig-arch-line:nth-child(3) .sig-arch-inner { transition-delay: 0.28s; }
.sig-arch-title.in .sig-arch-line:nth-child(4) .sig-arch-inner { transition-delay: 0.42s; }

/* Accessibilité : réduire le mouvement */
@media (prefers-reduced-motion: reduce) {
  .sig-arch-inner { transform: none; transition: none; }
  .sig-arch-title.sr { transition: opacity .4s var(--ease-out) !important; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* La nav disparaît → on revient à un padding symétrique */
  .sig-inner { padding: 96px 52px; }
  .sig-split { grid-template-columns: 1fr; gap: 52px; }
  .sig-img-frame { height: 420px; }
  .sig-img-badge { left: 0; }
  .sig-details-grid { grid-template-columns: 1fr; gap: 48px; }
  .sig-det-secondary { position: relative; bottom: auto; right: auto; width: 100%; margin-top: 3px; height: 260px; }
  .sig-details-imgs { padding-bottom: 0; }
  .sig-hero-content { padding: 0 52px 72px; }
  .sig-scroll-cue { right: 52px; }
  .sig-hero-idx { right: 52px; }
  .sig-gal-header { padding: 0 52px 52px; }
  #sig-chapter-nav { display: none; }
  /* Outro */
  .sig-outro { padding: 96px 52px; }
}
@media (max-width: 768px) {
  .sig-hero-meta { flex-wrap: wrap; }
  .sig-hero-content { padding: 0 24px 80px; }
  .sig-hero-title { font-size: clamp(3.2rem, 13vw, 6rem); }
  .sig-scroll-cue { right: 24px; bottom: 56px; }
  .sig-hero-idx  { right: 24px; top: 24px; }
  .sig-inner     { padding: 60px 20px; }

  /* Hero bar — padding drastiquement réduit sur mobile */
  .sig-hero-bar-inner { padding: 12px 20px; }
  .sig-hero-bar-meta span:nth-child(n+3) { display: none; }

  /* Images — hauteurs réduites pour éviter les grands espaces */
  .sig-img-frame   { height: 260px; }
  .sig-det-main    { height: 280px; }
  .sig-det-secondary { height: 180px; }

  .sig-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 280px);
    grid-template-areas:
      "hero" "s1" "s2" "full" "m1" "m2";
  }
  .sig-gal-header { padding: 56px 20px 36px; }
  .sig-stats      { flex-wrap: wrap; gap: 24px; margin-top: 40px; padding-top: 32px; }
  .sig-outro      { padding: 72px 20px; min-height: 100svh; }
  #sig-back { left: 16px; top: 18px; }

  /* Timeline — réduction des marges */
  .sig-tl-intro { margin-bottom: 48px; }
  .sig-tl-phase { margin-bottom: 44px; }

  /* Conception — supprimer le padding-bottom résiduel */
  .sig-details-imgs { padding-bottom: 0; }

  /* Specs — taille réduite */
  .sig-spec-k { min-width: 90px; font-size: .52rem; }
  .sig-spec-v { font-size: .8rem; }
}
@media (max-width: 480px) {
  .sig-hero-title { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .sig-inner      { padding: 48px 16px; }
  .sig-img-frame  { height: 220px; }
  .sig-det-main   { height: 240px; }
  .sig-det-secondary { height: 160px; }
  .sig-stat-n     { font-size: 3rem; }
}


/* ═══════════════════════════════════════════════════════════
   LIGHTBOX GALERIE
   ═══════════════════════════════════════════════════════════ */
#sig-lightbox {
  position: fixed; inset: 0; z-index: 99990;
  background: rgba(10,10,8,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .45s cubic-bezier(0.76, 0, 0.24, 1);
  outline: none;
}
#sig-lightbox.open {
  opacity: 1; pointer-events: all;
}

/* ── Zone image ─────────────────────────────── */
.sig-lb-stage {
  display: flex; align-items: center; justify-content: center;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 140px);
  flex: 1;
}
.sig-lb-img {
  max-width:  100%;
  max-height: calc(100vh - 140px);
  object-fit: contain; display: block;
  box-shadow: 0 48px 140px rgba(0,0,0,.75);
  transition: opacity .22s ease, transform .3s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: opacity, transform;
}
.sig-lb-img.lb-fade { opacity: 0; transform: scale(.97); }

/* ── Bouton fermer ──────────────────────────── */
.sig-lb-close {
  position: absolute; top: 28px; right: 36px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .3s, color .3s,
              transform .45s cubic-bezier(0.34,1.56,0.64,1);
}
.sig-lb-close svg { width: 16px; height: 16px; }
.sig-lb-close:hover {
  border-color: rgba(148,193,32,.5); color: var(--vert);
  transform: rotate(90deg);
}

/* ── Flèches navigation ─────────────────────── */
.sig-lb-prev,
.sig-lb-next {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s,
              transform .4s cubic-bezier(0.34,1.56,0.64,1);
}
.sig-lb-prev svg,
.sig-lb-next svg { width: 18px; height: 18px; }
.sig-lb-prev { left: 32px; }
.sig-lb-next { right: 32px; }
.sig-lb-prev:hover {
  border-color: rgba(148,193,32,.45); color: var(--vert);
  background: rgba(148,193,32,.07);
  transform: translateY(-50%) translateX(-4px);
}
.sig-lb-next:hover {
  border-color: rgba(148,193,32,.45); color: var(--vert);
  background: rgba(148,193,32,.07);
  transform: translateY(-50%) translateX(4px);
}

/* ── Pied de page ───────────────────────────── */
.sig-lb-footer {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
}
.sig-lb-phase {
  font-family: var(--f-c); font-size: .52rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--vert);
}
.sig-lb-sep  { color: rgba(148,193,32,.3); font-size: .7rem; }
.sig-lb-caption {
  font-family: var(--f-c); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.sig-lb-counter {
  font-family: var(--f-t); font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,.18); margin-left: 8px;
}

/* ── Curseur "zoom" sur les slides ─────────── */
.sig-gal-slide { cursor: zoom-in; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .sig-lb-stage   { max-width: 100vw; max-height: calc(100vh - 110px); }
  .sig-lb-img     { max-height: calc(100vh - 110px); }
  .sig-lb-prev    { left: 10px;  width: 44px; height: 44px; }
  .sig-lb-next    { right: 10px; width: 44px; height: 44px; }
  .sig-lb-close   { top: 14px; right: 14px; }
  .sig-lb-footer  { bottom: 20px; gap: 8px; }
  .sig-lb-counter { display: none; }
}
