/* Ferronnerie Vasseur (exemple fictif) — direction « Du rouge au gris » (DESIGN_DIRECTION.md) */
/* fonts self-hosted (OFL, latin subset): no render-blocking third-party CSS */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/newsreader-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --lit { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --zinc: #D7DAD6;
  --sheet: #ECEDEA;
  --graphite: #1E2326;
  --steel: #4A5156;
  --minium: #B5482A;
  --minium-dark: #933619;
  --temper: #3C5866;
  --line: rgba(30, 35, 38, .22);
  --white-hot: #FFF1B8;
  --orange-hot: #FF8A1C;
  --cherry: #C2361B;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --text: 'Newsreader', Georgia, serif;
  --gut: clamp(18px, 4vw, 56px);
  --cool: 0; /* 0 = hot, 1 = cold: set by site.js from the scroll position */
  --ease-out: cubic-bezier(.2, .7, .2, 1);   /* entrances, hovers */
  --ease-draw: cubic-bezier(.6, 0, .25, 1);  /* lines being traced */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--zinc); color: var(--graphite); font: 400 19px/1.6 var(--text); font-optical-sizing: auto; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
a, button, input, textarea, label { touch-action: manipulation; }
h1, h2, h3 { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; line-height: 1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: 22px; font-stretch: 112%; font-weight: 700; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--temper); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--graphite); color: var(--sheet); padding: 10px 16px; font: 600 15px var(--display); }
.skip:focus { top: 12px; }
.notice { max-width: none; background: var(--graphite); color: var(--sheet); font: 500 13px/1.4 var(--display); padding: 9px var(--gut); }
.notice a { color: var(--sheet); }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px; padding: 14px var(--gut);
  background: var(--zinc);   /* opaque: a blurred bar over the WebGL canvas forces a full recomposite every frame */
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.scrolled { border-bottom-color: var(--line); }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); font-stretch: 125%; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; }
.bar nav { display: flex; gap: 28px; margin-left: auto; }
.bar nav a { font: 500 16px var(--display); text-decoration: none; padding: 6px 0; background: linear-gradient(var(--minium), var(--minium)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.bar nav a:hover { background-size: 100% 2px; }

/* ---------- buttons: steel plates that shift on hover ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font: 600 17px/1 var(--display);
  text-decoration: none; border: 2px solid var(--graphite); cursor: pointer; transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s ease; }
.btn-solid { background: var(--minium); border-color: var(--minium); color: #FFF7F0; }
.btn-solid:hover { background: var(--minium-dark); border-color: var(--minium-dark); }
.btn-line { background: transparent; color: var(--graphite); }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--graphite); }
.btn:active { transform: scale(.97); box-shadow: none; transition-duration: .12s; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- hero: the forged name ---------- */
.hero { padding: clamp(28px, 5vw, 64px) var(--gut) clamp(64px, 9vw, 120px); }
.forged { font-size: min(14.1vw, 290px); line-height: .82; text-transform: uppercase; letter-spacing: -.035em; margin-left: -.04em; white-space: nowrap; }
.forged span {
  display: inline-block;
  /* heat = how hot this letter is now: lit on load, cooled by scrolling */
  --h: calc(var(--lit) * (1 - var(--cool)));
  /* hot iron: bright orange, then cherry red as it cools, then steel */
  color: color-mix(in oklab, color-mix(in oklab, var(--orange-hot) calc(var(--h) * 100%), var(--cherry)) calc(min(var(--h) * 1.6, 1) * 100%), var(--graphite));
  text-shadow: 0 0 calc(var(--h) * .12em) rgba(255, 120, 30, calc(var(--h) * .75)), 0 0 calc(var(--h) * .45em) rgba(194, 54, 27, calc(var(--h) * .45));
  animation: ignite 1.1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms + 150ms);
}
@keyframes ignite { from { --lit: 0; } to { --lit: 1; } }
.forged span:nth-child(1) { --i: 0 } .forged span:nth-child(2) { --i: 1 } .forged span:nth-child(3) { --i: 2 } .forged span:nth-child(4) { --i: 3 }
.forged span:nth-child(5) { --i: 4 } .forged span:nth-child(6) { --i: 5 } .forged span:nth-child(7) { --i: 6 }

.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-top: clamp(28px, 4vw, 56px); }
.trade { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--display); font-stretch: 100%; }
.lead { margin-top: 18px; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.5; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo picture, .ws-photo picture { display: block; height: 100%; }
.hero-photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--graphite); width: 100%; }
.hero-text { display: flex; flex-direction: column; gap: 36px; }


/* ===================================================================================================
   Refonte « wow » 2026-10-28 : intro 3D (forge3d.js) puis une page qui garde le rythme :
   galerie horizontale épinglée, liste qui chauffe, tige chauffée, configurateur 3D, atelier en profondeur.
   =================================================================================================== */
.mono { width: 1.25em; height: 1.25em; flex: none; }
.bar .btn-sm .short { display: none; }
.forged { position: relative; z-index: 2; }
.hero { padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.hero-photo { box-shadow: 0 30px 60px -30px rgba(30, 35, 38, .45); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 13px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--minium); }
.eyebrow span { display: inline-grid; place-items: center; min-width: 34px; height: 22px; border: 1.5px solid currentColor; font-size: 11px; letter-spacing: .1em; }
h2 { font-size: clamp(40px, 6vw, 96px); line-height: .95; letter-spacing: -.025em; }

/* titres : chaque mot monte d'une fente (site.js découpe [data-split]) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--k) * 55ms); }
.split.in .w > span { transform: none; }

/* bande défilante sous le nom : vitesse liée au scroll */
.marquee { overflow: hidden; border-block: 2px solid var(--graphite); margin-top: clamp(40px, 6vw, 72px); padding: 14px 0; }
.mq-track { display: flex; gap: 40px; width: max-content; will-change: transform; font: 800 clamp(28px, 4vw, 56px)/1 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.mq-track span { color: transparent; -webkit-text-stroke: 1.5px var(--graphite); }
.mq-track span:nth-child(4n+1) { color: var(--graphite); -webkit-text-stroke: 0; }
.mq-track i { font-style: normal; color: var(--minium); }

/* ---------- 01 galerie horizontale épinglée ---------- */
.hgal { position: relative; background: #121416; color: var(--sheet); }
.hgal-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(84px, 11vh, 120px) 0 28px; }
.hgal-head { padding: 0 var(--gut); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 48px; }
.hgal-head .eyebrow { grid-column: 1 / -1; }
.hgal-head .eyebrow { color: #ff8a3a; margin-bottom: 6px; }
.hgal-head h2 { font-size: clamp(40px, 5.4vw, 84px); }
.hgal-head p:not(.eyebrow) { color: #aeb5b9; max-width: 34ch; font-size: 17px; padding-bottom: 6px; }
.hgal-track { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; padding: clamp(24px, 4vh, 48px) var(--gut); will-change: transform; }
.card { margin: 0; flex: none; height: min(54vh, 540px); position: relative; overflow: hidden; display: flex; flex-direction: column; background: #1c1f22; box-shadow: 0 40px 80px -40px #000; }
.c-tall { aspect-ratio: 3 / 4; } .c-sq { aspect-ratio: 5 / 4; } .c-wide { aspect-ratio: 3 / 2; }
.card picture { flex: 1; min-height: 0; display: block; overflow: hidden; }
.card picture img { height: 100%; transform: scale(1.15); transition: transform 1.4s var(--ease-out); filter: saturate(.85) contrast(1.05); }
.card.seen picture img { transform: scale(1); }
.card-plan { background: #ECEDEA; color: var(--graphite); }
.card .plan { flex: 1; min-height: 0; width: 100%; padding: clamp(14px, 2.4vw, 32px); }
.plan .steel path { fill: none; stroke: var(--graphite); stroke-width: 4; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d, 1)); }
.plan .steel .thin { stroke-width: 2.2; }
.plan .cote path { fill: none; stroke: var(--minium); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d, 1)); }
.plan text { font: 600 15px var(--display); fill: var(--minium); opacity: var(--d, 1); }
.card figcaption { padding: 14px 18px 16px; display: grid; gap: 3px; font: 400 14.5px/1.35 var(--display); background: rgba(18,20,22,.92); color: var(--sheet); }
.card figcaption strong { font-size: 17px; font-weight: 700; }
.card figcaption span { color: #9da5aa; }
.card-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(10,11,12,.9) 40%); padding-top: 48px; }
.hgal-rod { margin: 0 var(--gut); height: 6px; background: #2a2e31; position: relative; }
.hgal-rod i { position: absolute; inset: 0 auto 0 0; width: calc(var(--g, 0) * 100%); background: linear-gradient(90deg, #3a0500, var(--cherry) 40%, var(--orange-hot) 85%, var(--white-hot)); box-shadow: 0 0 18px rgba(255,120,30,.7); }
.hgal-rod i::after { content: ""; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateY(-50%); background: var(--white-hot); box-shadow: 0 0 16px 6px rgba(255,170,60,.8); }

/* ---------- 02 ouvrages : la ligne survolée chauffe ---------- */
.trades2 { padding: clamp(80px, 12vw, 180px) var(--gut); position: relative; }
.t2-head { margin-bottom: clamp(32px, 5vw, 64px); }
.t2-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--graphite); }
.t2-list li { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); position: relative; cursor: default; }
.t2-n { font: 600 14px var(--display); color: var(--steel); letter-spacing: .1em; }
.t2-list h3 { font-size: clamp(30px, 4.6vw, 68px); font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(90deg, var(--white-hot), var(--orange-hot) 30%, var(--cherry) 60%, var(--graphite) 75%) 100% 0 / 400% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .9s var(--ease-out); }
.t2-list li:hover h3, .t2-list li.hot h3 { background-position: 0 0; }
.t2-list p { color: var(--steel); font-size: 18px; }
.t2-float { position: fixed; left: 0; top: 0; width: 260px; height: 195px; pointer-events: none; z-index: 15; background: #121416; border: 1px solid #2a2e31;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.85) rotate(var(--r, 0deg)); transition: opacity .25s, transform .45s var(--ease-out); }
.t2-float.on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(var(--r, 0deg)); }
.t2-float svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 22px; display: none; }
.t2-float svg.on { display: block; }
.t2-float.is-3d { background: radial-gradient(120% 100% at 55% 30%, #f6f7f4, #c9cdca 75%); border-color: #b9bebb; }
.t2-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: none; opacity: 0; transform: scale(1.06); transition: opacity .35s, transform .6s var(--ease-out); }
.t2-float img.on { display: block; opacity: 1; transform: none; }
.t2-float path { fill: none; stroke: #ffb36b; stroke-width: 3; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255,140,40,.6)); }
.t2-float svg.on path { animation: trace 1s var(--ease-draw) forwards; }
.t2-float svg.on path:nth-child(2) { animation-delay: .25s; } .t2-float svg.on path:nth-child(3) { animation-delay: .5s; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* ---------- 03 méthode : une tige qui chauffe ---------- */
.rod { background: var(--sheet); padding: clamp(80px, 12vw, 180px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rod-head { position: sticky; top: 120px; }
.rod-head p:not(.eyebrow) { margin-top: 18px; color: var(--steel); }
.rod-steps { list-style: none; margin: 0; padding: 0 0 0 56px; position: relative; --p: 0; }
.rod-steps::before, .rod-steps::after { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 8px; }
.rod-steps::before { background: linear-gradient(90deg, #5B6368, var(--graphite)); }
.rod-steps::after { bottom: auto; height: calc(var(--p) * (100% - 16px)); background: linear-gradient(180deg, var(--cherry), var(--orange-hot) 80%, var(--white-hot)); box-shadow: 0 0 22px rgba(255,120,30,.75); }
.rod-steps li { position: relative; padding: 0 0 clamp(48px, 7vw, 96px); opacity: .35; transform: translateX(16px); transition: opacity .6s, transform .8s var(--ease-out); }
.rod-steps li:last-child { padding-bottom: 0; }
.rod-steps li.lit { opacity: 1; transform: none; }
.rod-dot { position: absolute; left: -54px; top: 0; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9AA2A6, #3B4246 60%, #1E2326); transition: background .5s, box-shadow .5s; z-index: 1; }
.rod-steps li.lit .rod-dot { background: radial-gradient(circle at 40% 40%, var(--white-hot), var(--orange-hot) 45%, var(--cherry)); box-shadow: 0 0 24px 4px rgba(255,120,30,.6); }
.rod-n { font: 600 13px var(--display); letter-spacing: .2em; color: var(--minium); }
.rod-steps h3 { font-size: clamp(26px, 3vw, 40px); font-stretch: 125%; font-weight: 800; margin: 6px 0 10px; }
.rod-steps p { color: var(--steel); }

/* ---------- 04 finitions : configurateur 3D ---------- */
.finishes { background: radial-gradient(120% 90% at 75% 40%, #23272b, #0f1112 70%); color: var(--sheet); padding: clamp(80px, 10vw, 150px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: center; overflow: hidden; }
.finishes .eyebrow { color: #ff8a3a; }
.fin-copy > p:not(.eyebrow) { margin-top: 18px; color: #C4C9CC; }
.choice { display: inline-flex; flex-wrap: wrap; margin-top: 28px; border: 1.5px solid #4a5156; }
.choice button { appearance: none; border: 0; background: transparent; color: #C4C9CC; font: 600 16px var(--display); min-height: 46px; padding: 0 18px; cursor: pointer; transition: background-color .2s, color .2s; }
.choice button + button { border-left: 1.5px solid #4a5156; }
.choice button[aria-checked="true"] { background: var(--sheet); color: var(--graphite); }
.choice button:hover:not([aria-checked="true"]) { color: #fff; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.sw { appearance: none; border: 0; min-height: 84px; padding: 10px; text-align: left; display: flex; align-items: flex-end; cursor: pointer; font: 700 14px/1.15 var(--display); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.7); transition: transform .25s var(--ease-out), box-shadow .25s; position: relative; }
.sw:hover { transform: translateY(-3px); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 5px var(--minium), 0 12px 30px -8px rgba(255,120,30,.45); }
.sw-cire { background: repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 2px, transparent 2px 5px), linear-gradient(160deg, #50585D, #24292C 60%, #3A4246); }
.sw-laque { background: linear-gradient(160deg, #4b5259, #33383C); }
.sw-patine { background: radial-gradient(circle at 30% 30%, rgba(160,110,60,.6), transparent 55%), radial-gradient(circle at 75% 70%, rgba(70,100,120,.6), transparent 50%), linear-gradient(150deg, #4C3A2C, #2D2A28); }
.sw-laiton { background: repeating-linear-gradient(95deg, rgba(255,255,255,.14) 0 1px, transparent 1px 4px), linear-gradient(150deg, #E2C27A, #8C6A2F 60%, #C9A45C); }
.sample-copy { margin-top: 26px; }
.sample-name { font: 800 clamp(30px, 3.4vw, 48px)/1 var(--display); font-stretch: 125%; color: #fff; }
.spec { margin: 14px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; border-top: 1.5px solid #4a5156; padding-top: 12px; }
.spec dt { font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #8b9398; }
.spec dd { margin: 3px 0 0; font: 700 15.5px/1.3 var(--display); }
.sample-text { margin-top: 14px; color: #d9dcde; max-width: 46ch; font-size: 17.5px; }
.fin-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: #9da5aa; font-size: 15.5px; }
.stage3d { position: relative; height: min(72vh, 640px); align-self: center; cursor: grab; touch-action: pan-y; }
.stage3d:active { cursor: grabbing; }
.stage3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.stage3d::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 8%; height: 18%; background: radial-gradient(closest-side, rgba(255,140,50,.18), transparent); filter: blur(10px); }
.stage-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; font: 600 12px var(--display); letter-spacing: .24em; text-transform: uppercase; color: #8b9398; transition: opacity .4s; pointer-events: none; z-index: 1; }
.stage3d.touched .stage-hint { opacity: 0; }
.stage3d.flat { cursor: default; }
.stage3d.flat .stage-hint { display: none; }

/* ---------- 05 atelier : photo en profondeur ---------- */
.workshop { position: relative; min-height: 110vh; display: grid; align-items: end; overflow: hidden; color: #fff; padding: clamp(80px, 10vw, 140px) var(--gut); }
.ws-photo { position: absolute; inset: -12% 0; margin: 0; will-change: transform; transform: translate3d(0, var(--py, 0), 0) scale(var(--ps, 1.1)); }
.ws-photo picture { display: block; height: 100%; }
.ws-photo img { filter: saturate(.9) contrast(1.08); }
.workshop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.15), rgba(10,9,8,.55) 55%, rgba(10,9,8,.92)); }
.ws-copy { position: relative; z-index: 1; max-width: 760px; }
.ws-copy .eyebrow { color: #ffb36b; }
.ws-copy p:not(.eyebrow) { margin-top: 18px; color: #e6e1da; font-size: clamp(18px, 1.6vw, 21px); }

/* ---------- 06 devis ---------- */
.quote { background: var(--sheet); padding: clamp(80px, 10vw, 150px) var(--gut); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); position: relative; }
.quote::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--cherry), var(--orange-hot), var(--white-hot), var(--orange-hot), var(--cherry)) 0 0 / 200% 100%; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: 200% 0; } }
.quote h2 { font-size: clamp(38px, 4.6vw, 72px); }
.q-copy p:not(.eyebrow) { margin-top: 18px; color: var(--steel); }
.direct { margin-top: 22px; font: 500 17px/1.6 var(--display); color: var(--graphite) !important; }
.direct a { color: var(--temper); text-underline-offset: 3px; }
.fict { color: var(--steel); font-size: 14px; }
.q-form { display: grid; gap: 22px; background: #fff; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px -50px rgba(30,35,38,.5); }
.kinds { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kinds legend { font: 600 15px var(--display); margin-bottom: 12px; padding: 0; }
.kinds label { position: relative; }
.kinds input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kinds span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--graphite); font: 600 16px var(--display); transition: background .2s, color .2s, box-shadow .2s; }
.kinds input:checked + span { background: var(--graphite); color: var(--sheet); box-shadow: 0 0 0 3px rgba(255,120,30,.35); }
.kinds input:focus-visible + span { outline: 3px solid var(--temper); outline-offset: 3px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font: 600 15px var(--display); }
.field em { font-style: normal; font-weight: 400; color: var(--steel); }
.field input, .field textarea { font: 400 18px/1.45 var(--text); color: var(--graphite); background: #F6F6F4; border: 0; border-bottom: 2px solid #9BA3A7; border-radius: 0; padding: 12px 14px; width: 100%; transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--orange-hot); box-shadow: 0 8px 22px -10px rgba(255,120,30,.55); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--temper); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--minium); }
.form-error { color: var(--minium-dark); font: 600 15px var(--display); min-height: 1em; }
.form-error:empty { display: none; }
.q-form .btn { justify-self: start; position: relative; overflow: hidden; }
.q-form .btn::after, .hero .btn-solid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,230,180,.55) 50%, transparent 70%) -150% 0 / 60% 100% no-repeat; transition: background-position .8s var(--ease-out); }
.q-form .btn:hover::after, .hero .btn-solid:hover::after { background-position: 250% 0; }
.hero .btn-solid { position: relative; overflow: hidden; }
.form-done { font: 600 16px/1.4 var(--display); color: var(--temper); border-left: 4px solid var(--temper); padding: 6px 0 6px 14px; }

/* ---------- pied de page : le nom s'embrase ---------- */
.foot { background: #0f1112; color: #aeb5b9; padding: clamp(56px, 8vw, 110px) var(--gut) 40px; overflow: hidden; }
.foot-giant { margin: 0 0 clamp(28px, 4vw, 56px); max-width: none; font: 800 15.2vw/.8 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.045em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px #3a3f43;
  background: linear-gradient(0deg, var(--cherry), var(--orange-hot) 35%, var(--white-hot) 50%, transparent 50.5%) 0 calc(100% - var(--f, 0) * 100%) / 100% 200% no-repeat;
  -webkit-background-clip: text; background-clip: text; }
.foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font: 400 15.5px/1.5 var(--display); }
.foot-mark { display: flex; align-items: center; gap: 10px; margin: 0; max-width: none; color: #d0d4d6; }
.foot-mark .mono { width: 26px; height: 26px; color: #d0d4d6; }
.credits { margin: 0; font-size: 15px; }
.credits a, .foot a { color: #e6e1da; }
.dock { display: none; }

/* ---------- intro 3D (section épinglée) ---------- */
.forge { position: relative; height: 520vh; background: #0b0806; }
.forge-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0806; }
.forge-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.forge-caps { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.forge-caps::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,6,5,.78), rgba(8,6,5,.35) 38%, transparent 62%); opacity: var(--scrim, 1); transition: opacity .6s; }
.cap { will-change: opacity, transform; position: absolute; left: var(--gut); bottom: clamp(56px, 12vh, 120px); color: #fff3e0; opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
.cap.on { opacity: 1; transform: none; }
.cap p { margin: 0; max-width: none; }
.cap-big { font: 800 clamp(46px, 8vw, 124px)/.95 var(--display); font-stretch: 125%; letter-spacing: -.02em; white-space: nowrap;
  background: linear-gradient(180deg, #fff6dc 0%, #ffd88a 40%, #ff9a2e 75%, #e0501e 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; filter: drop-shadow(0 4px 18px rgba(0,0,0,.55)); }
.cap-s { margin-top: 16px !important; font: 400 clamp(18px, 1.8vw, 22px)/1.45 var(--text); color: #f0e4d6; max-width: 26em !important; text-shadow: 0 1px 12px rgba(0,0,0,.8); }
.cap-k { font: 600 14px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: #ffb36b; }
.cap-t { margin-top: 14px !important; font: 800 clamp(40px, 7vw, 108px)/.95 var(--display); font-stretch: 125%; color: #fff6e8; letter-spacing: -.02em; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.cap-intro { top: 50%; bottom: auto; transform: translateY(-42%); }
.cap-intro.on { transform: translateY(-50%); }
.cap-end { left: 0; right: 0; top: 50%; bottom: auto; text-align: center; transform: translateY(-40%); }
.cap-end.on { transform: translateY(-50%); }
.cap-end .cap-big { background: none; color: var(--graphite); filter: none; }
.forge-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1;
  font: 600 12px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: #ffcf9e; transition: opacity .5s; }
.forge-hint i { width: 1px; height: 42px; background: linear-gradient(#ffcf9e, transparent); animation: hint 1.8s var(--ease-out) infinite; transform-origin: top; }
.forge-hint.off { opacity: 0; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.forge-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--zinc); opacity: calc(var(--fade, 0) * var(--fade, 0)); z-index: 2; }
.forge:not(.is-live) .forge-caps .cap:not(.cap-intro) { display: none; }

.credits-page { padding: 48px var(--gut) 96px; max-width: 900px; }
.credits-page h1 { font-size: clamp(40px, 6vw, 72px); margin: 24px 0; }
.credits-page ul { padding-left: 20px; display: grid; gap: 16px; margin-top: 28px; }

/* ---------- responsive : recomposé, pas rétréci ---------- */
@media (max-width: 980px) {
  .bar nav { display: none; }
  .bar .btn-sm { margin-left: auto; }
  .hero-grid, .rod, .finishes, .quote, .hgal-head, .foot-row { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { margin-top: 24px; }
  .hero-photo { aspect-ratio: 4 / 3; order: -1; }
  .rod-head { position: static; }
  .t2-list li { grid-template-columns: 44px minmax(0, 1fr); }
  .t2-list li p { grid-column: 2; }
  .t2-float { display: none; }
  .stage3d { height: 56vh; order: -1; align-self: stretch; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .forge { height: 460vh; }
  .cap { right: var(--gut); }
  .cap-big { white-space: normal; font-size: clamp(42px, 12vw, 64px); }
  .forge-caps::before { background: linear-gradient(0deg, rgba(8,6,5,.85), rgba(8,6,5,.3) 45%, transparent 70%); }
  .hgal { height: auto !important; }
  .hgal-pin { position: static; height: auto; padding: 72px 0 40px; display: block; }
  .hgal-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
  .hgal-track::-webkit-scrollbar { display: none; }
  .card { height: auto; width: 82vw; scroll-snap-align: center; }
  .c-tall, .c-sq, .c-wide { aspect-ratio: 4 / 5; }
  .hgal-rod { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .foot { padding-bottom: 110px; }
  .forged { font-size: 14.1vw; }
  .bar { padding-top: 10px; padding-bottom: 10px; }
  .bar .btn-sm { display: inline-flex; min-height: 40px; padding: 0 16px; }
  .bar .btn.btn-sm .long { display: none; } .bar .btn.btn-sm .short { display: inline; }
  .row, .spec { grid-template-columns: minmax(0, 1fr); }
  .spec { gap: 8px; }
  .q-form .btn, .actions .btn { justify-self: stretch; flex: 1 1 100%; }
  .rod-steps { padding-left: 50px; }
  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; box-shadow: 0 8px 24px rgba(30,35,38,.35); transform: translateY(140%); transition: transform .3s; }
  .dock.show { transform: none; }
  .workshop { min-height: 90vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .forge { display: none; }
  .forged span { animation: none; --lit: 0; }
  .split .w > span, .card picture img, .rod-steps li { transform: none; transition: none; opacity: 1; }
  .plan path { stroke-dashoffset: 0 !important; } .plan text { opacity: 1 !important; }
  .mq-track { transform: none !important; }
  .quote::before { animation: none; }
  .btn, .sw, .dock, .t2-list h3 { transition: none; }
}
