  :root {
    --bg: #07070a;
    --bg-1: #0c0c10;
    --bg-2: #131318;
    --ink: #f0ece4;
    --ink-soft: #b8b3a8;
    --ink-muted: #5e5a52;
    --line: #1f1f25;
    --line-bright: #2e2e36;
    --spark: #ff7a2e;
    --spark-bright: #ffb56b;
    --spark-white: #fff4d6;
    --steel: #8a8e95;
    --display: "Bodoni Moda", "Didot", serif;
    --body: "Inter Tight", -apple-system, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html {
    scroll-behavior: smooth;
    background: var(--bg);
    /* Double-ceinture : hidden (universel) + clip (moderne, ignore transform/will-change des enfants) */
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
  }
  body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    font-weight: 300;
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    cursor: none;
    position: relative;
    /* pan-y : autorise uniquement le scroll vertical tactile. pinch-zoom : garde le zoom d'accessibilité. */
    touch-action: pan-y pinch-zoom;
  }

  /* ========== FALLBACK IMAGE BG ========== */
  .img-bg {
    background-color: #18141a;
    background-image:
      radial-gradient(ellipse at 30% 30%, rgba(255,122,46,0.12), transparent 55%),
      radial-gradient(ellipse at 70% 80%, rgba(120,30,10,0.25), transparent 60%),
      linear-gradient(135deg, #1a1418, #0a0a0e);
    background-size: cover;
    background-position: center;
  }
  .img-treat {
    filter: grayscale(0.9) brightness(0.65) contrast(1.2) sepia(0.3) hue-rotate(-15deg);
    transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* Survol des cartes : le voile éditorial s'atténue, les vraies couleurs reviennent partiellement */
  .h-card:hover .img-treat,
  .chem-piece:hover .img-treat,
  .mob-cell:hover .img-treat {
    filter: grayscale(0.25) brightness(0.92) contrast(1.08) sepia(0.1) hue-rotate(-5deg);
  }

  /* Picture natif posé dans un conteneur img-bg : remplit toute la zone comme un background cover */
  .img-bg > picture {
    position: absolute;
    inset: 0;
    display: block;
  }
  .img-bg > picture > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* ========== GRAIN ========== */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  /* ========== PARTICULES CANVAS ========== */
  /* Fixed pour pouvoir déborder du hero — clearRect garantit la transparence */
  #sparks-canvas {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
  }

  /* ========== CURSEUR ========== */
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--spark);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    will-change: transform;
  }
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1px solid var(--spark);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.4s cubic-bezier(0.16,1,0.3,1), height 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
    opacity: 0.4;
    will-change: transform;
  }
  .cursor.hover { width: 14px; height: 14px; background: var(--spark-bright); }
  .cursor-ring.hover { width: 70px; height: 70px; opacity: 0.25; }
  @media (max-width: 900px), (pointer: coarse) {
    body { cursor: auto; }
    .cursor, .cursor-ring { display: none; }
  }

  /* ========== TYPO ========== */
  h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.025em;
  }

  .eyebrow {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--spark);
    font-weight: 400;
  }

  .italic { font-style: italic; }
  ::selection { background: var(--spark); color: var(--bg); }

  /* ========== PROGRESS BAR (lecture du scroll) ========== */
  .scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 1px;
    width: 0%;
    background: linear-gradient(90deg, var(--spark), var(--spark-bright));
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px var(--spark);
  }

  /* ========== LOADER ========== */
  .loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
    gap: 2rem;
  }
  .loader.done { transform: translateY(-100%); }
  .loader-mark {
    font-family: var(--display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-style: italic;
    color: var(--ink);
    /* Pas d'overflow:hidden : clipperait les descendants italiques (j, g, y…). */
  }
  .loader-mark span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40%);
    animation: loader-rise 1s cubic-bezier(0.16,1,0.3,1) forwards;
  }
  .loader-bar {
    width: 200px;
    height: 1px;
    background: var(--line);
    overflow: hidden;
    position: relative;
  }
  .loader-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--spark);
    transform-origin: left;
    transform: scaleX(0);
    animation: loader-fill 0.5s ease forwards 0.1s;
  }
  @keyframes loader-rise { to { opacity: 1; transform: translateY(0); } }
  @keyframes loader-fill { to { transform: scaleX(1); } }

  /* ========== NAV ========== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.6rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: difference;
    color: var(--ink);
    transition: padding 0.5s ease;
  }
  nav.scrolled { padding: 1rem 2.5rem; }
  .logo {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
  }
  .nav-links { display: flex; gap: 2.5rem; }
  .nav-links a {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    position: relative;
    padding: 0.3rem 0;
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--spark);
    transition: width 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  }
  .nav-links a:hover::after { width: 100%; }
  @media (max-width: 720px) {
    nav { padding: 1.2rem 1.2rem; }
    .nav-links { display: none; }
  }

  /* ========== HERO ========== */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2.5rem 2.5rem;
    overflow: hidden;
    z-index: 2;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 40% at 50% 65%, rgba(255, 122, 46, 0.15), transparent 65%),
      radial-gradient(circle at 50% 100%, rgba(120, 30, 10, 0.4), transparent 60%),
      linear-gradient(180deg, #07070a 0%, #0a0808 50%, #1a0d05 100%);
    z-index: -1;
  }
  /* Le halo de contact est désormais dessiné sur le canvas (point lumineux + étincelles) */
  .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-eyebrow {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fade-up 1s ease forwards 1.4s;
  }
  .hero-title {
    font-size: clamp(3.5rem, 14vw, 16rem);
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: 0;
    font-style: italic;
    /* Les ligatures standards (fi, fl, fe…) collent les glyphes italiques ; on les neutralise. */
    font-variant-ligatures: none;
  }
  .hero-title .word {
    display: inline-block;
    /* Pas d'overflow: hidden ici : les italiques Bodoni ont des swashes/descendants
       qui sortent de leur boîte et doivent rester visibles. Le reveal se fait par
       opacity + translate sur le span enfant. */
  }
  .hero-title .word > span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40%);
    animation: title-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 0.15s + 1.6s);
  }
  @keyframes title-rise {
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-subtitle {
    margin-top: 4rem;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.1rem, 1.6vw, 1.6rem);
    color: var(--ink-soft);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fade-up 1.2s ease forwards 2.4s;
  }
  .hero-meta {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    z-index: 3;
    opacity: 0;
    animation: fade-up 1s ease forwards 2.8s;
  }
  .hero-meta span { color: var(--spark); }
  @media (max-width: 720px) {
    .hero-meta { font-size: 0.6rem; gap: 1rem; flex-wrap: wrap; }
    .hero-meta > div:nth-child(2) { display: none; }
  }

  /* ========== SECTIONS PARTAGÉES ========== */
  section {
    padding: 10rem 2.5rem;
    position: relative;
    z-index: 2;
    background: var(--bg);
  }
  .container { max-width: 1500px; margin: 0 auto; }

  .section-eyebrow {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  .section-eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
  }
  .section-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--ink-muted);
    text-transform: uppercase;
  }
  .section-title {
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.92;
    margin-bottom: 6rem;
    max-width: 1200px;
  }
  .section-title .italic { color: var(--spark); }

  @media (max-width: 800px) {
    section { padding: 6rem 1.2rem; }
  }

  /* Reveal au scroll : différentes animations */
  .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.4s cubic-bezier(0.16,1,0.3,1), transform 1.4s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  .reveal-mask {
    position: relative;
    overflow: hidden;
  }
  .reveal-mask::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg);
    transform-origin: right;
    transform: scaleX(1);
    transition: transform 1.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 5;
  }
  .reveal-mask.in::after { transform: scaleX(0); }

  .reveal-image {
    overflow: hidden;
    position: relative;
  }
  .reveal-image .inner {
    transform: scale(1.3);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-image.in .inner { transform: scale(1); }
  .reveal-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg);
    transform-origin: bottom;
    transform: scaleY(1);
    transition: transform 1.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 5;
  }
  .reveal-image.in::before { transform: scaleY(0); }

  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
  .reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
  .reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
  .reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
  .reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

  /* Reveal lettre par lettre */
  .reveal-words .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
  }
  .reveal-words .word > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-words.in .word > span {
    transform: translateY(0);
  }
  .reveal-words.in .word:nth-child(1) > span { transition-delay: 0s; }
  .reveal-words.in .word:nth-child(2) > span { transition-delay: 0.06s; }
  .reveal-words.in .word:nth-child(3) > span { transition-delay: 0.12s; }
  .reveal-words.in .word:nth-child(4) > span { transition-delay: 0.18s; }
  .reveal-words.in .word:nth-child(5) > span { transition-delay: 0.24s; }
  .reveal-words.in .word:nth-child(6) > span { transition-delay: 0.30s; }
  .reveal-words.in .word:nth-child(7) > span { transition-delay: 0.36s; }
  .reveal-words.in .word:nth-child(8) > span { transition-delay: 0.42s; }
  .reveal-words.in .word:nth-child(9) > span { transition-delay: 0.48s; }
  .reveal-words.in .word:nth-child(n+10) > span { transition-delay: 0.54s; }

  /* ========== INTRO PHRASE GÉANTE ========== */
  .intro {
    padding: 7rem 2.5rem;
    background: var(--bg);
    position: relative;
  }
  .intro-text {
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 1.05;
    font-weight: 400;
    color: var(--ink);
    max-width: 1300px;
    margin: 0 auto;
    letter-spacing: -0.02em;
  }
  .intro-text .accent {
    color: var(--spark);
    font-style: italic;
  }
  .intro-text .muted { color: var(--ink-muted); }

  /* ========== SCROLL HORIZONTAL ESCALIERS ========== */
  .horizontal-section {
    height: 300vh;
    position: relative;
    background: var(--bg-1);
  }
  .horizontal-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  .horizontal-track {
    display: flex;
    gap: 3rem;
    padding: 0 8vw;
    will-change: transform;
  }
  .h-card {
    flex-shrink: 0;
    width: 70vh;
    max-width: 600px;
    height: 80vh;
    max-height: 720px;
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
  }
  .h-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
  }
  .h-card:hover .h-card-image { transform: scale(1.05); }
  .h-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 10, 0.9));
    z-index: 1;
  }
  .h-card-info {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    z-index: 2;
  }
  .h-card-info .num {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--spark);
    margin-bottom: 1rem;
    display: block;
  }
  .h-card-info h3 {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    margin-bottom: 0.6rem;
    color: var(--ink);
  }
  .h-card-info .specs {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .horizontal-header {
    position: absolute;
    top: 8rem;
    left: 0;
    right: 0;
    padding: 0 2.5rem;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: end;
    pointer-events: none;
  }
  .horizontal-header h2 {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(2rem, 5vw, 4.5rem);
    color: var(--ink);
  }
  .horizontal-counter {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--ink-muted);
    text-transform: uppercase;
  }
  .horizontal-counter .current { color: var(--spark); }

  @media (max-width: 900px) {
    .horizontal-section { height: auto; }
    /* display:block sur sticky et track : sans ça le sticky reste en flex-row, header et track se retrouvent côte à côte */
    .horizontal-sticky {
      position: relative;
      height: auto;
      padding: 4rem 0;
      display: block;
      overflow: visible;
    }
    .horizontal-track {
      display: block;
      padding: 0 1.2rem;
      transform: none !important;
      will-change: auto;
      width: 100%;
      max-width: 100%;
    }
    .h-card {
      width: 100%;
      max-width: 100%;
      height: auto;
      aspect-ratio: 4/5;
      max-height: none;
      display: block;
      margin-bottom: 2rem;
      flex-shrink: 1;
    }
    .h-card:last-child { margin-bottom: 0; }
    .horizontal-header { position: relative; top: auto; padding: 0 1.2rem 3rem; }
  }

  /* ========== CHEMINÉES — GRILLE STICKY ========== */
  .chem-section {
    background: var(--bg);
    padding: 10rem 2.5rem;
  }
  .chem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }
  .chem-text {
    position: sticky;
    top: 12vh;
    align-self: start;
  }
  .chem-text h2 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    margin-bottom: 2rem;
    line-height: 0.95;
  }
  .chem-text h2 .italic { color: var(--spark); }
  .chem-text p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 460px;
  }
  .chem-gallery {
    display: grid;
    gap: 3rem;
  }
  .chem-piece {
    position: relative;
  }
  .chem-piece-img {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    background: var(--bg-2);
  }
  .chem-piece-img .inner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s cubic-bezier(0.16,1,0.3,1);
  }
  .chem-piece:hover .chem-piece-img .inner { transform: scale(1.05); }
  .chem-piece-meta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
  }
  .chem-piece-meta h3 {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.6rem;
  }
  .chem-piece-meta .info {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-align: right;
    line-height: 1.7;
  }
  .chem-piece:nth-child(2) { transform: translateX(15%); }
  .chem-piece:nth-child(3) { transform: translateX(-5%); }

  @media (max-width: 900px) {
    .chem-layout { grid-template-columns: 1fr; gap: 3rem; }
    .chem-text { position: static; }
    .chem-piece:nth-child(2), .chem-piece:nth-child(3) { transform: none; }
  }

  /* ========== MOBILIER — MOSAÏQUE ========== */
  .mobilier {
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    padding: 12rem 2.5rem;
  }
  .mob-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 7vw;
    gap: 1.2rem;
  }
  .mob-cell {
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
  }
  .mob-cell .mob-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.6s cubic-bezier(0.16,1,0.3,1);
  }
  .mob-cell:hover .mob-img { transform: scale(1.07); }
  .mob-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7,7,10,0.92));
    z-index: 1;
  }
  .mob-info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 2;
  }
  .mob-info h4 {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }
  .mob-info .mat {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  .mob-1 { grid-column: 1 / 7;   grid-row: span 4; }
  .mob-2 { grid-column: 7 / 10;  grid-row: span 4; }
  .mob-3 { grid-column: 10 / 13; grid-row: span 4; }
  .mob-4 { grid-column: 1 / 4;   grid-row: span 4; }
  .mob-5 { grid-column: 4 / 7;   grid-row: span 4; }
  .mob-6 { grid-column: 7 / 13;  grid-row: span 4; }
  @media (max-width: 900px) {
    .mob-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 32vw; gap: 0.8rem; }
    .mob-1, .mob-2, .mob-3, .mob-4, .mob-5, .mob-6 { grid-column: span 1; grid-row: span 2; }
  }

  /* ========== PROCESSUS — STICKY VERTICAL ========== */
  .process {
    background: var(--bg);
    padding: 12rem 2.5rem;
    position: relative;
  }
  .process-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
  }
  .process-sticky {
    position: sticky;
    top: 15vh;
    align-self: start;
    height: fit-content;
  }
  .process-sticky h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
  }
  .process-sticky h2 .italic { color: var(--spark); }
  .process-sticky .lead {
    margin-top: 2rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 400px;
  }
  .process-steps { display: flex; flex-direction: column; gap: 4rem; }
  .process-step {
    padding: 3rem 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
  }
  .process-step .num {
    font-family: var(--display);
    font-style: italic;
    font-size: 3rem;
    color: var(--spark);
    line-height: 1;
  }
  .process-step h3 {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
  }
  .process-step p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
  }
  .process-step .duration {
    margin-top: 1.5rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  @media (max-width: 900px) {
    .process-layout { grid-template-columns: 1fr; gap: 3rem; }
    .process-sticky { position: static; }
    .process-step { grid-template-columns: 50px 1fr; gap: 1rem; }
    .process-step .num { font-size: 2rem; }
  }

  /* ========== MARQUEE ========== */
  .marquee {
    overflow: hidden;
    overflow: clip;
    padding: 5rem 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    width: 100%;
    max-width: 100vw;
  }
  .marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marquee 35s linear infinite;
    width: max-content;
  }
  .marquee-item {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 400;
    white-space: nowrap;
    color: var(--ink);
    line-height: 1;
  }
  .marquee-item.outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--ink-muted);
  }
  .marquee-dot {
    width: 14px;
    height: 14px;
    background: var(--spark);
    border-radius: 50%;
    flex-shrink: 0;
  }
  @keyframes marquee {
    to { transform: translateX(-50%); }
  }

  /* ========== CTA / CONTACT ========== */
  .contact {
    background: var(--bg);
    padding: 14rem 2.5rem 6rem;
    position: relative;
    overflow: hidden;
    overflow: clip;
    width: 100%;
    max-width: 100vw;
  }
  .contact-glow {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 122, 46, 0.18), transparent 65%);
    filter: blur(40px);
    pointer-events: none;
  }
  .contact-inner {
    position: relative;
    text-align: center;
    z-index: 2;
  }
  .contact-eyebrow { margin-bottom: 3rem; }
  .contact-title {
    font-size: clamp(3.5rem, 11vw, 13rem);
    line-height: 0.85;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
  }
  .contact-title .accent { color: var(--spark); }
  .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 3rem;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--spark);
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.4s ease, color 0.4s ease, gap 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  .cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--spark);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: -1;
  }
  .cta-button:hover { color: var(--bg); gap: 2rem; }
  .cta-button:hover::before { transform: translateY(0); }
  .cta-button .arrow {
    width: 24px; height: 1px;
    background: currentColor;
    position: relative;
  }
  .cta-button .arrow::after {
    content: "";
    position: absolute;
    right: 0; top: -3px;
    width: 7px; height: 7px;
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    transform: rotate(45deg);
  }

  .contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 8rem;
    padding-top: 4rem;
    border-top: 1px solid var(--line);
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  @media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  }
  .contact-item .label {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 1rem;
    display: block;
  }
  .contact-item p, .contact-item a {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
  }
  .contact-item a:hover { color: var(--spark); }

  /* ========== FOOTER ========== */
  footer {
    padding: 2.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--bg);
  }
  footer a {
    color: var(--ink-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
  }
  footer a:hover {
    color: var(--spark);
    border-bottom-color: var(--spark);
  }

  /* ========== FORMULAIRE DE CONTACT ========== */
  /* Champs style éditorial : pas de bordure visible, soulignement qui s'allume en spark au focus. */
  .contact-form {
    max-width: 760px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
    text-align: left;
  }
  .contact-form .field-wide { grid-column: span 2; }
  .contact-form label {
    display: block;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.75rem;
  }
  .contact-form label .opt {
    letter-spacing: 0.15em;
    opacity: 0.6;
    margin-left: 0.4em;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-bright);
    padding: 0.8rem 0;
    font-family: var(--body);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--ink);
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    border-radius: 0;
  }
  .contact-form textarea {
    resize: vertical;
    min-height: 6rem;
    line-height: 1.6;
  }
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    border-bottom-color: var(--spark);
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: var(--ink-muted);
    opacity: 0.7;
  }
  .contact-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image:
      linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
      linear-gradient(-45deg, transparent 50%, var(--ink-muted) 50%);
    background-position:
      calc(100% - 14px) 1.35rem,
      calc(100% - 8px) 1.35rem;
    background-size: 6px 6px;
    background-repeat: no-repeat;
  }
  .contact-form select option {
    background: var(--bg-1);
    color: var(--ink);
  }
  .contact-form .form-actions {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  .contact-form button[type="submit"] {
    cursor: pointer;
    font: inherit;
  }
  .contact-form button[disabled] {
    opacity: 0.55;
    pointer-events: none;
  }
  .form-status {
    grid-column: span 2;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    min-height: 1rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
  }
  .form-status.ok { color: var(--spark); }
  .form-status.err { color: #e06b4a; }
  @media (max-width: 700px) {
    .contact-form {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .contact-form .field-wide,
    .contact-form .form-actions,
    .form-status { grid-column: span 1; }
  }
  /* Honeypot FormSubmit — invisible pour les humains, rempli par les bots */
  .honey-pot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  /* ========== PAGE LÉGALE ========== */
  .legal {
    padding: 10rem 2.5rem 6rem;
    background: var(--bg);
    min-height: 100vh;
    position: relative;
    z-index: 2;
  }
  .legal .container { max-width: 900px; }
  .legal-content {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
  }
  .legal-block h2 {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.1;
  }
  .legal-block p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 640px;
  }
  .legal-block a {
    color: var(--spark);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
  }
  .legal-block a:hover { border-bottom-color: var(--spark); }
  .legal-back {
    margin-top: 4rem;
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .legal-back:hover { color: var(--spark); }
  @media (max-width: 800px) {
    .legal { padding: 7rem 1.2rem 4rem; }
  }

  /* ========== MOBILIER — TRIO (3 pièces) ========== */
  .mobilier-trio {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  .trio-cell {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-2);
  }
  .trio-cell .inner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .trio-cell:hover .inner { transform: scale(1.05); }
  .trio-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 10, 0.92));
    z-index: 1;
  }
  .trio-info {
    position: absolute;
    bottom: 1.8rem;
    left: 1.8rem;
    right: 1.8rem;
    z-index: 2;
  }
  .trio-info h4 {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }
  .trio-info .mat {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  @media (max-width: 900px) {
    .mobilier-trio { grid-template-columns: 1fr; gap: 1.2rem; }
  }

  /* Même filtre attenué au survol que les autres grilles */
  .trio-cell:hover .img-treat {
    filter: grayscale(0.25) brightness(0.92) contrast(1.08) sepia(0.1) hue-rotate(-5deg);
  }

  /* ========== SECTION PORTES & VERRIÈRES ========== */
  .ferronnerie {
    background: var(--bg);
    padding: 12rem 2.5rem;
    border-top: 1px solid var(--line);
  }
  @media (max-width: 800px) {
    .ferronnerie { padding: 6rem 1.2rem; }
  }

  /* ========== SECTION ATELIER ========== */
  .atelier-section {
    background: var(--bg-1);
    padding: 12rem 2.5rem;
    border-top: 1px solid var(--line);
  }
  .atelier-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 14vw;
    gap: 1.2rem;
  }
  .atelier-cell {
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
  }
  .atelier-cell .inner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .atelier-cell:hover .inner { transform: scale(1.05); }
  .atelier-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 10, 0.9));
    z-index: 1;
  }
  .atelier-info {
    position: absolute;
    bottom: 1.4rem;
    left: 1.4rem;
    right: 1.4rem;
    z-index: 2;
  }
  .atelier-info .step {
    display: block;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--spark);
    margin-bottom: 0.4rem;
  }
  .atelier-info h4 {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.15;
  }
  .atelier-cell:hover .img-treat {
    filter: grayscale(0.25) brightness(0.92) contrast(1.08) sepia(0.1) hue-rotate(-5deg);
  }
  /* 1 hero (gauche, grand) + 3 plus petits (droite + bande basse) */
  .a-1 { grid-column: 1 / 7; grid-row: span 4; }
  .a-2 { grid-column: 7 / 13; grid-row: span 2; }
  .a-4 { grid-column: 7 / 13; grid-row: span 2; }
  .a-5 { grid-column: 1 / 13; grid-row: span 3; }
  @media (max-width: 900px) {
    .atelier-section { padding: 6rem 1.2rem; }
    .atelier-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 36vw; gap: 0.8rem; }
    .a-1, .a-2 { grid-column: span 1; grid-row: span 2; }
    .a-4, .a-5 { grid-column: span 2; grid-row: span 2; }
  }
  /* Curseur pointer + focus-visible pour les nouvelles cellules cliquables */
  .trio-cell, .atelier-cell { cursor: pointer; }
  .trio-cell:focus-visible,
  .atelier-cell:focus-visible {
    outline: 1px solid var(--spark);
    outline-offset: 4px;
  }

  /* ========== PAGE GALERIE ========== */
  .galerie-page {
    padding: 10rem 2.5rem 6rem;
    background: var(--bg);
    min-height: 100vh;
    position: relative;
    z-index: 2;
  }
  .galerie-intro {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 5rem;
  }
  .galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .galerie-cell {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-2);
    cursor: pointer;
  }
  .galerie-cell .inner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .galerie-cell:hover .inner { transform: scale(1.05); }
  .galerie-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 10, 0.9));
    z-index: 1;
  }
  .galerie-info {
    position: absolute;
    bottom: 1.3rem;
    left: 1.3rem;
    right: 1.3rem;
    z-index: 2;
  }
  .galerie-info h4 {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  .galerie-info .mat {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  .galerie-cell:hover .img-treat {
    filter: grayscale(0.25) brightness(0.92) contrast(1.08) sepia(0.1) hue-rotate(-5deg);
  }
  .galerie-cell:focus-visible {
    outline: 1px solid var(--spark);
    outline-offset: 4px;
  }
  @media (max-width: 900px) {
    .galerie-page { padding: 7rem 1.2rem 4rem; }
    .galerie-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  }
  @media (max-width: 600px) {
    .galerie-grid { grid-template-columns: 1fr; }
  }

  /* ========== LIGHTBOX ========== */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .lightbox.open {
    opacity: 1;
    pointer-events: auto;
  }
  .lightbox-img {
    max-width: 92vw;
    max-height: 82vh;
    display: block;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
    transform: scale(0.96);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    /* On NE MET PAS le filtre img-treat ici : au clic, l'utilisateur veut voir la vraie photo. */
  }
  .lightbox.open .lightbox-img { transform: scale(1); }
  .lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    height: 44px;
    padding: 0 1.4rem;
    background: transparent;
    border: 1px solid var(--line-bright);
    color: var(--ink);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 400;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  }
  .lightbox-close:hover {
    border-color: var(--spark);
    background: var(--spark);
    color: var(--bg);
  }
  .lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  /* Signal d'interactivité pour les cartes cliquables — le curseur custom sur desktop fait déjà le reste. */
  .h-card, .chem-piece, .mob-cell { cursor: pointer; }
  .h-card:focus-visible,
  .chem-piece:focus-visible,
  .mob-cell:focus-visible {
    outline: 1px solid var(--spark);
    outline-offset: 4px;
  }
  /* Quand la lightbox est ouverte, on bloque le scroll du document sous-jacent */
  body.lightbox-open { overflow: hidden; }

  @media (max-width: 700px) {
    .lightbox { padding: 5rem 1rem 4rem; }
    .lightbox-close { top: 1rem; right: 1rem; }
    .lightbox-caption { bottom: 1rem; left: 1rem; right: 1rem; font-size: 0.6rem; }
  }


  /* ===== PAGE 404 — ÉTINCELLE SOLITAIRE (DESIGN.md §9) ===== */
  .notfound {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2.5rem 6rem;
  }
  .notfound-spark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--spark-white);
    box-shadow: 0 0 16px 4px var(--spark), 0 0 70px 22px rgba(255, 122, 46, 0.22);
    margin-bottom: 4.5rem;
    animation: notfound-breathe 3.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
  }
  @keyframes notfound-breathe {
    0%, 100% { opacity: 1; box-shadow: 0 0 16px 4px var(--spark), 0 0 70px 22px rgba(255, 122, 46, 0.22); }
    50%      { opacity: 0.55; box-shadow: 0 0 10px 2px var(--spark), 0 0 40px 12px rgba(255, 122, 46, 0.12); }
  }
  .notfound-eyebrow {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
  }
  .notfound h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
  .notfound h1 .italic { font-style: italic; color: var(--spark); }
  .notfound p {
    color: var(--ink-soft);
    max-width: 34rem;
    margin-bottom: 3rem;
  }
  .notfound .legal-back { margin-top: 0; }

  /* ===== ACCESSIBILITÉ — RÉDUCTION DE MOUVEMENT ===== */
  /* Placé en fin de feuille pour gagner la cascade à spécificité égale (pas de !important).
     Le canvas d'étincelles et le curseur custom ne sont pas démarrés côté JS (voir script.js). */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    #sparks-canvas, .cursor, .cursor-ring { display: none; }

    /* Contenu visible d'emblée : aucun reveal ne doit conditionner la lecture au mouvement */
    .reveal, .reveal-stagger > *, .reveal-words .word > span {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .reveal-image .inner { transform: none; transition: none; }
    .reveal-mask::after, .reveal-image::before { display: none; }

    /* Animations autonomes stoppées (le scroll horizontal, piloté 1:1 par le
       geste de l'utilisateur, reste actif : ce n'est pas un mouvement autonome) */
    .marquee-track { animation: none; }
    .loader { display: none; }
    .notfound-spark { animation: none; }
  }
