/* Scierie Pugin Frères — maquette de démonstration Overtek */

@font-face { font-family: "Big Shoulders"; src: url(fonts/big-shoulders.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Big Shoulders Stencil"; src: url(fonts/big-shoulders-stencil.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --papier: #f7f1e6;
  --creme: #efe4cf;
  --bois: #e3cfa6;
  --encre: #16211b;
  --foret: #14201a;
  --sapin: #223a2d;
  --mousse: #4c6a52;
  --jaune: #f2c318;
  --bleu: #2b6cb5;
  --ecorce: #5b4030;
  --gris: #5d675f;
  --ligne: rgba(22, 33, 27, .14);
  --bh: 30px;
  --hh: 64px;
  --gut: clamp(16px, 5vw, 72px);
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --stencil: "Big Shoulders Stencil", "Big Shoulders", sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bh) + var(--hh)); }
body { margin: 0; background: var(--foret); color: var(--encre); font: 400 17px/1.6 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* Bandeau démo */
.demo-banner {
  position: fixed; inset: 0 0 auto 0; z-index: 60; margin: 0; height: var(--bh);
  display: grid; place-items: center; padding: 0 12px; text-align: center;
  background: var(--jaune); color: #1b1606; font: 600 12.5px/1.25 var(--text); letter-spacing: .01em;
}

/* Ouverture : le logo scié en deux */
.intro { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.js .intro { pointer-events: auto; }
html:not(.js) .intro { display: none; }
.intro__half { position: absolute; left: 0; right: 0; height: 50%; background: var(--foret); overflow: hidden; }
.intro__half--top { top: 0; }
.intro__half--bot { bottom: 0; }
.intro__mark { position: absolute; left: 50%; fill: currentColor; width: min(34vw, 190px); height: min(34vw, 190px); color: var(--creme); transform: translate(-50%, -50%); }
.intro__half--top .intro__mark { top: 100%; }
.intro__half--bot .intro__mark { top: 0; }
.intro__mark .mk-bar { transform-box: fill-box; animation: bar-in .55s cubic-bezier(.2,.8,.2,1) both; }
.intro__mark .mk-bar:nth-child(4) { animation-delay: .62s; }
.intro__mark .mk-bar:nth-child(3) { animation-delay: .7s; }
.intro__mark .mk-bar:nth-child(2) { animation-delay: .78s; }
.intro__mark .mk-bar:nth-child(1) { animation-delay: .86s; }
.intro__mark .mk-ring { transform-origin: 50.5px 50px; animation: ring-in .7s cubic-bezier(.2,.8,.2,1) both; }
.intro__mark .mk-ring:nth-of-type(6) { animation-delay: .05s; }
.intro__mark .mk-ring:nth-of-type(5) { animation-delay: .13s; }
.intro__mark .mk-ring:nth-of-type(4) { animation-delay: .21s; }
.intro__mark .mk-ring:nth-of-type(3) { animation-delay: .29s; }
.intro__mark .mk-ring:nth-of-type(2) { animation-delay: .37s; }
.intro__mark .mk-ring:nth-of-type(1) { animation-delay: .45s; }
@keyframes bar-in { from { transform: translateY(-110%); } to { transform: none; } }
@keyframes ring-in { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.intro__kerf {
  position: absolute; left: 0; top: 50%; height: 2px; width: 100%; margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--jaune) 12%, #fff6c9 50%, var(--jaune) 88%, transparent);
  box-shadow: 0 0 18px 2px rgba(242, 195, 24, .65);
  transform: scaleX(0); transform-origin: left;
}
.intro.is-cut .intro__kerf { transition: transform .55s cubic-bezier(.7,0,.3,1); transform: scaleX(1); }
.intro.is-open .intro__half--top { transition: transform .9s cubic-bezier(.75,0,.2,1); transform: translateY(-100%); }
.intro.is-open .intro__half--bot { transition: transform .9s cubic-bezier(.75,0,.2,1); transform: translateY(100%); }
.intro.is-open .intro__kerf { transition: opacity .3s; opacity: 0; }
.intro.is-done { display: none; }

/* En-tête */
.top {
  position: fixed; left: 0; right: 0; top: var(--bh); z-index: 50; height: var(--hh);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut);
  color: var(--creme); transition: background .35s, color .35s, box-shadow .35s;
}
.top.is-solid { background: rgba(247, 241, 230, .9); color: var(--encre); box-shadow: 0 1px 0 var(--ligne); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; fill: currentColor; }
.brand__name { font: 700 22px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand__name em { font-style: normal; font-weight: 500; opacity: .75; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font: 600 15px/1 var(--text); letter-spacing: .01em; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav .nav__cta { padding: 10px 18px; border: 1.5px solid currentColor; border-radius: 99px; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--jaune); border-color: var(--jaune); color: #1b1606; }
.burger { display: none; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border-radius: 99px; text-decoration: none; font: 600 16px/1 var(--text); border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn--light { background: var(--creme); color: var(--encre); }
.btn--light:hover { background: var(--jaune); }
.btn--ghost { border-color: rgba(239, 228, 207, .6); color: var(--creme); }
.btn--ghost:hover { border-color: var(--creme); background: rgba(239, 228, 207, .12); }
.btn--yellow { background: var(--jaune); color: #1b1606; min-height: 64px; padding: 0 34px; font-size: 18px; }
.btn--dark { background: var(--encre); color: var(--creme); }
.btn--dark:hover { background: var(--sapin); }
.btn--line { border-color: var(--encre); }
.btn--line:hover { background: var(--encre); color: var(--creme); }
.link-arrow { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--jaune); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ——— 1. Accueil épinglé ——— */
.saga { position: relative; background: var(--foret); color: var(--creme); }
.saga__stick { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.js .saga { height: 620svh; }
.js .saga__stick { position: sticky; top: 0; }
.saga__photo { position: absolute; inset: 0; margin: 0; transform-origin: 68% 60%; will-change: transform; }
.saga__photo img { width: 100%; height: 100%; object-fit: cover; }
.saga__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at var(--cx, 68%) var(--cy, 54%), rgba(46, 72, 56, var(--spot, 0)) 0, rgba(20, 32, 26, 0) 42%),
    linear-gradient(180deg, rgba(20, 32, 26, .55) 0, rgba(20, 32, 26, .1) 32%, rgba(20, 32, 26, .25) 58%, rgba(20, 32, 26, .88) 100%);
}
.saga__veil::after { content: ""; position: absolute; inset: 0; background: var(--foret); opacity: var(--dark, 0); }
.saga__log { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html:not(.js) .saga__log { display: none; }
.saga__product {
  position: absolute; margin: 0; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  opacity: 0; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); pointer-events: none;
}
.saga__product img { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .saga__product { display: none; }

.saga__hero { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(56px, 11svh, 120px); max-width: 980px; }
.kicker { margin: 0 0 14px; font: 600 13px/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--jaune); overflow: hidden; }
.kicker > span { display: inline-block; }
.hero__title { margin: 0; font: 800 clamp(64px, 11.4vw, 196px)/.84 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.hero__l1, .hero__l2 { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__l1 > span, .hero__l2 > span { display: inline-block; }
.hero__l2 { font-weight: 500; color: var(--bois); }
.hero__lead { max-width: 560px; margin: 22px 0 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: rgba(239, 228, 207, .9); overflow: hidden; }
.hero__lead > span, .hero__cta > span { display: block; }
.hero__cta > span { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta { margin-top: 28px; }
.js .kicker > span, .js .hero__l1 > span, .js .hero__l2 > span, .js .hero__lead > span, .js .hero__cta > span { animation: rise 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0s) + var(--intro, 2.2s)); }
.js .hero__l1 > span { --d: .05s; }
.js .hero__l2 > span { --d: .14s; }
.js .hero__lead > span { --d: .26s; }
.js .hero__cta > span { --d: .36s; }
@keyframes rise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }

.saga__cue { position: absolute; right: var(--gut); bottom: clamp(56px, 11svh, 120px); margin: 0; display: flex; align-items: center; gap: 12px; font: 600 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: rgba(239, 228, 207, .85); }
.saga__cue-line { width: 52px; height: 2px; background: rgba(239, 228, 207, .3); position: relative; overflow: hidden; }
.saga__cue-line::after { content: ""; position: absolute; inset: 0; background: var(--jaune); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
html:not(.js) .saga__cue { display: none; }

.saga__steps { list-style: none; margin: 0; padding: 0; }
.js .saga__steps { position: absolute; left: var(--gut); top: 50%; width: min(36vw, 470px); height: 0; }
.js .step { position: absolute; left: 0; top: 0; transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.js .step.is-on { opacity: 1; visibility: visible; }
.js .step > * { transition: transform .6s cubic-bezier(.2,.8,.2,1); transform: translateY(18px); }
.js .step.is-on > * { transform: none; }
.js .step.is-on .step__t { transition-delay: .05s; }
.js .step.is-on p { transition-delay: .1s; }
.step__n { display: block; font: 700 clamp(64px, 8vw, 128px)/.9 var(--stencil); color: var(--jaune); letter-spacing: .02em; }
.step--end .step__n { font-size: clamp(40px, 4.4vw, 72px); }
.step__t { margin: 8px 0 12px; font: 700 clamp(30px, 3vw, 46px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.step p { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(239, 228, 207, .86); }
html:not(.js) .saga__steps { position: relative; z-index: 1; padding: 60px var(--gut); background: var(--foret); display: grid; gap: 28px; }
html:not(.js) .saga__stick { height: auto; }
html:not(.js) .saga__hero { position: relative; padding: 120px 0 60px; }

.saga__meter { position: absolute; left: var(--gut); bottom: clamp(28px, 6svh, 60px); display: flex; gap: 8px; opacity: 0; transition: opacity .4s; }
.saga__meter span { width: 38px; height: 3px; background: rgba(239, 228, 207, .22); position: relative; overflow: hidden; border-radius: 2px; }
.saga__meter span::after { content: ""; position: absolute; inset: 0; background: var(--jaune); transform: scaleX(var(--f, 0)); transform-origin: left; }
.saga__meter.is-on { opacity: 1; }
html:not(.js) .saga__meter { display: none; }

/* ——— Feuille de contenu ——— */
.sheet { position: relative; z-index: 2; background: var(--papier); border-radius: 28px 28px 0 0; }
.js .sheet { margin-top: -40svh; }
main { position: relative; z-index: 1; background: var(--papier); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--mousse); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--jaune); }
.eyebrow--light { color: var(--jaune); }
.h2 { margin: 0; font: 800 clamp(42px, 6.2vw, 96px)/.9 var(--display); text-transform: uppercase; letter-spacing: .005em; max-width: 14ch; }
.h2--light { color: var(--creme); }

/* 2. La scierie */
.scierie { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 110px); }
.lit { margin: clamp(30px, 4vw, 54px) 0 0; max-width: 980px; font: 500 clamp(24px, 2.7vw, 40px)/1.28 var(--text); letter-spacing: -.01em; }
.js .lit .w { color: rgba(22, 33, 27, calc(.16 + .84 * var(--o, 0))); transition: color .2s linear; }
.facts { list-style: none; margin: clamp(48px, 6vw, 84px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ligne); }
.facts li { padding: 26px 22px 6px 0; border-right: 1px solid var(--ligne); margin-right: 22px; }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts__n { display: block; font: 800 clamp(48px, 5.6vw, 84px)/.95 var(--display); color: var(--sapin); font-variant-numeric: tabular-nums; }
.facts__n--txt { font-size: clamp(34px, 3.4vw, 52px); padding-top: .25em; }
.facts span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--gris); max-width: 24ch; }
.scierie__photo { margin: clamp(60px, 8vw, 110px) 0 0; padding: 0 var(--gut); }
.scierie__frame { overflow: hidden; border-radius: 22px; height: clamp(320px, 62vw, 760px); clip-path: inset(var(--clip, 8%) var(--clip, 8%) round 22px); }
.scierie__frame img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0)); }
.certifs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.certif { display: flex; gap: 18px; align-items: baseline; padding: 22px 26px; border-radius: 16px; background: var(--creme); }
.certif__k { flex: none; font: 800 24px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--sapin); }
.certif p { margin: 0; font-size: 15.5px; line-height: 1.5; }

/* 3. Essences */
.essences { padding: clamp(70px, 9vw, 130px) 0; background: var(--creme); overflow-x: clip; }
.essences__intro { max-width: 760px; margin: 26px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.essences__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); margin-top: clamp(40px, 5vw, 70px); }
.essence { position: relative; }
.essence__wood { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; display: block; background: repeating-radial-gradient(circle at 52% 48%, #ead6ab 0 9px, #d2b07a 9px 10.5px), #e6cf9f; border: 10px solid #5e4330; box-shadow: 0 30px 70px -30px rgba(60, 40, 20, .55); transform: rotate(var(--r, 0deg)); }
.essence h3 { margin: 26px 0 6px; font: 800 clamp(34px, 3.6vw, 54px)/1 var(--display); text-transform: uppercase; }
.essence p { margin: 0; color: var(--gris); max-width: 32ch; }

/* 4. Sections */
.sections { padding: clamp(80px, 11vw, 150px) 0; }
.sections__intro { max-width: 760px; margin: 26px 0 0; font-size: clamp(17px, 1.4vw, 20px); }
.picker { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(24px, 4vw, 60px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.picker__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.picker__chips button {
  min-height: 52px; border-radius: 12px; border: 1.5px solid var(--ligne); background: transparent; cursor: pointer;
  font: 700 22px/1 var(--display); letter-spacing: .03em; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.picker__chips button:hover { border-color: var(--encre); }
.picker__chips button[aria-selected="true"] { background: var(--encre); border-color: var(--encre); color: var(--jaune); }
.picker__view { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.picker__photo { padding: 0; border: 0; background: #b7b5b0; border-radius: 18px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.picker__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.picker__photo:hover img { transform: scale(1.03); }
.picker__photo img.is-swapping { opacity: 0; }
.picker__draw { display: flex; flex-direction: column; border-radius: 18px; background: var(--creme); padding: 22px; }
.draw { flex: 1; min-height: 240px; display: grid; place-items: center; position: relative;
  background-image: linear-gradient(var(--ligne) 1px, transparent 1px), linear-gradient(90deg, var(--ligne) 1px, transparent 1px);
  background-size: 22px 22px; background-position: center; border-radius: 10px; }
.draw__box {
  --k: 2.2px; position: relative; width: calc(var(--b, 40) * var(--k)); height: calc(var(--a, 27) * var(--k));
  background:
    repeating-radial-gradient(circle at -60% 140%, rgba(176, 132, 72, .0) 0 7px, rgba(176, 132, 72, .55) 7px 8.4px),
    linear-gradient(135deg, #f1dfb6, #e5cd99);
  box-shadow: inset 0 0 0 1px rgba(110, 80, 40, .35), 0 10px 24px -10px rgba(60, 40, 20, .45);
  transition: width .55s cubic-bezier(.3,1.4,.4,1), height .55s cubic-bezier(.3,1.4,.4,1);
}
.draw__w, .draw__h { position: absolute; font: 700 14px/1 var(--text); color: var(--sapin); white-space: nowrap; }
.draw__w { left: 0; right: 0; top: -26px; text-align: center; border-bottom: 1.5px solid var(--sapin); padding-bottom: 6px; }
.draw__h { top: 0; bottom: 0; left: calc(100% + 10px); display: flex; align-items: center; padding-left: 10px; border-left: 1.5px solid var(--sapin); }
.picker__spec { margin: 18px 0 0; display: grid; gap: 8px; }
.picker__spec div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ligne); padding-bottom: 8px; }
.picker__spec dt { color: var(--gris); font-size: 15px; }
.picker__spec dd { margin: 0; font-weight: 600; }
.draw__note { margin: 12px 0 0; font-size: 13.5px; color: var(--gris); }
.catalogue { margin-top: 34px; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.catalogue summary { cursor: pointer; padding: 22px 0; font: 700 clamp(20px, 2vw, 26px)/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.catalogue summary::-webkit-details-marker { display: none; }
.catalogue summary::after { content: "+"; font-size: 32px; line-height: .8; transition: transform .3s; }
.catalogue[open] summary::after { transform: rotate(45deg); }
.catalogue__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.catalogue h3 { margin: 0 0 10px; font: 700 15px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--mousse); }
.catalogue__list { margin: 0; font: 600 19px/1.7 var(--display); letter-spacing: .03em; word-spacing: .05em; }
.catalogue__note { margin: 22px 0 26px; font-size: 15px; color: var(--gris); }

/* 5. Galerie horizontale */
.ligne { position: relative; background: var(--sapin); color: var(--creme); }
.js .ligne { height: 340svh; }
.ligne__stick { position: relative; overflow: hidden; padding: 90px 0 70px; }
.js .ligne__stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bh) + var(--hh)) 0 40px; }
.ligne__head { margin-bottom: clamp(20px, 3.5svh, 44px); }
.ligne .h2 { max-width: none; }
.ligne__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-left: var(--gut); will-change: transform; }
html:not(.js) .ligne__track { overflow-x: auto; padding-bottom: 20px; }
.shot { flex: none; position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.shot img { height: min(52svh, 540px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.shot:hover img { transform: scale(.985); }
.shot--tall img { aspect-ratio: 4 / 5; }
.shot span { display: block; margin-top: 12px; font: 700 20px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.ligne__bar { margin: 26px var(--gut) 0; height: 2px; background: rgba(239, 228, 207, .2); }
.ligne__bar span { display: block; height: 100%; background: var(--jaune); transform: scaleX(var(--g, 0)); transform-origin: left; }
html:not(.js) .ligne__bar { display: none; }

/* 6. Traitement */
.traitement { padding: clamp(80px, 11vw, 150px) 0; }
.traitement__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.traitement__txt p { max-width: 520px; font-size: clamp(17px, 1.3vw, 19px); }
.traitement__txt .h2 { margin-bottom: 28px; }
.dip { position: relative; margin-top: 44px; height: 150px; max-width: 520px; }
.dip__latte {
  position: absolute; left: 6%; right: 6%; top: calc(18px + var(--dip, 0) * 64px); height: 36px; border-radius: 3px; overflow: hidden; z-index: 1;
  background: repeating-linear-gradient(90deg, #ead6aa 0 26px, #dfc390 26px 28px, #ecdbb3 28px 61px, #d9bb84 61px 62px);
  box-shadow: 0 10px 20px -10px rgba(60, 40, 20, .5);
}
.dip__fill { position: absolute; inset: 0; background: var(--jaune); mix-blend-mode: multiply; opacity: .95; clip-path: inset(0 calc((1 - var(--yel, 0)) * 100%) 0 0); }
.dip__bath { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, rgba(242, 195, 24, .75), rgba(214, 160, 10, .9)); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .4); z-index: 2; }
.dip__label { position: absolute; right: 16px; bottom: 18px; z-index: 3; font: 700 18px/1 var(--stencil); letter-spacing: .06em; color: #3a2c03; text-transform: uppercase; }
.traitement__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pic { padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.pic span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--gris); }
.pic--offset { margin-top: 70px; }

/* 7. Références */
.reseau { padding: clamp(80px, 11vw, 150px) 0; background: var(--encre); color: var(--creme); }
.reseau .eyebrow { color: var(--jaune); }
.reseau__big { margin: 0; font: 800 clamp(44px, 7vw, 118px)/.9 var(--display); text-transform: uppercase; max-width: 16ch; }
.reseau__big span { color: var(--bois); font-weight: 500; }
.reseau__list { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; border-top: 1px solid rgba(239, 228, 207, .18); }
.reseau__list li { display: flex; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(239, 228, 207, .18); font: 600 clamp(22px, 2.4vw, 34px)/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; transition: padding .3s, color .3s; }
.reseau__list li:hover { padding-left: 14px; color: var(--jaune); }
.reseau__list span { font: 700 15px/1 var(--stencil); color: var(--jaune); letter-spacing: .1em; }
.reseau__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 70px); }
.reseau__cta p { margin: 0; font: 600 clamp(22px, 2.2vw, 30px)/1.2 var(--text); }
.magnet { will-change: transform; }
.magnet span { display: inline-block; pointer-events: none; }

/* 8. Contact */
.contact { padding: clamp(80px, 11vw, 150px) 0 clamp(90px, 12vw, 170px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.contact__addr { margin-top: 30px; font-style: normal; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.contact__lines { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--ligne); }
.contact__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ligne); font-weight: 600; }
.contact__lines li span { font-weight: 400; color: var(--gris); }
.contact__lines a { text-decoration: none; }
.contact__lines a:hover { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 2px; }
.contact__note { margin: 20px 0 0; color: var(--gris); font-size: 15px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__photo { margin: 0; overflow: hidden; border-radius: 22px; }
.contact__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Pied de page révélé */
.foot { position: sticky; bottom: 0; z-index: 0; background: var(--foret); color: var(--creme); }
.foot__inner { padding: clamp(60px, 9vw, 120px) var(--gut) 34px; display: grid; justify-items: start; }
.foot__mark { width: clamp(70px, 9vw, 120px); height: clamp(70px, 9vw, 120px); fill: var(--jaune); }
.foot__big { margin: 18px 0 0; font: 800 clamp(64px, 15vw, 250px)/.82 var(--stencil); text-transform: uppercase; letter-spacing: .01em; color: var(--creme); }
.foot__line { margin: 18px 0 0; font-weight: 600; letter-spacing: .04em; color: var(--bois); }
.foot__demo { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid rgba(239, 228, 207, .18); width: 100%; font-size: 14px; color: rgba(239, 228, 207, .7); }
.foot__demo a { color: var(--jaune); }

/* Agrandissement */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 90svh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 16, 13, .88); }
.lightbox img { max-height: 86svh; width: auto; border-radius: 12px; }
.lightbox__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--jaune); color: #1b1606; font-size: 26px; line-height: 1; cursor: pointer; }

/* Apparitions */
.js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .9s cubic-bezier(.2,.8,.2,1); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* ——— Mobile ——— */
@media (max-width: 899px) {
  :root { --bh: 40px; --hh: 58px; }
  .demo-banner { font-size: 11.5px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__name { font-size: 19px; }
  .burger { display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 2; }
  .burger span:not(.sr) { width: 24px; height: 2px; background: currentColor; transition: transform .3s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: calc(var(--bh)) 0 auto 0; padding: calc(var(--hh) + 10px) var(--gut) 30px; flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--foret); color: var(--creme); transform: translateY(-110%); transition: transform .45s cubic-bezier(.7,0,.2,1); z-index: 1;
  }
  .nav.is-open { transform: none; }
  .nav a { font: 700 34px/1.2 var(--display); text-transform: uppercase; }
  .nav .nav__cta { margin-top: 12px; font: 600 17px/1 var(--text); text-transform: none; }
  .top.menu-open { color: var(--creme); background: transparent; box-shadow: none; }

  .js .saga { height: 600svh; }
  .saga__hero { bottom: clamp(70px, 12svh, 110px); }
  .hero__title { font-size: clamp(54px, 16vw, 92px); }
  .hero__lead { font-size: 16px; }
  .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
  .saga__cue { left: var(--gut); right: auto; bottom: 26px; font-size: 11.5px; }
  .js .saga__steps { left: var(--gut); right: var(--gut); width: auto; top: auto; bottom: calc(28px + env(safe-area-inset-bottom)); height: 210px; }
  .js .step { top: auto; bottom: 0; transform: none; }
  .step__n { font-size: 54px; }
  .step--end .step__n { font-size: 38px; }
  .step__t { font-size: 30px; margin: 4px 0 8px; }
  .step p { font-size: 15.5px; }
  .saga__meter { left: auto; right: var(--gut); bottom: auto; top: calc(var(--bh) + var(--hh) + 14px); }
  .saga__meter span { width: 22px; }

  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(2) { border-right: 0; margin-right: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--ligne); }
  .certifs { grid-template-columns: 1fr; }
  .certif { flex-direction: column; gap: 8px; }
  .essences__grid { gap: 18px; }
  .essence h3 { font-size: 30px; margin-top: 16px; }
  .essence p { font-size: 15px; }
  .picker { grid-template-columns: 1fr; }
  .picker__chips { grid-template-columns: repeat(4, 1fr); }
  .picker__chips button { min-height: 46px; font-size: 19px; }
  .picker__view { grid-template-columns: 1fr; }
  .draw { min-height: 200px; }
  .catalogue__cols { grid-template-columns: 1fr; gap: 20px; }
  .js .ligne { height: 300svh; }
  .shot img { height: min(46svh, 420px); }
  .traitement__grid, .contact__grid { grid-template-columns: 1fr; }
  .pic--offset { margin-top: 40px; }
  .contact__photo img { aspect-ratio: 4 / 3; }
  .reseau__cta .btn { width: 100%; }
}
@media (max-width: 380px) {
  .picker__chips { grid-template-columns: repeat(3, 1fr); }
  .brand__name em { display: none; }
}

/* Réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .js .saga { height: auto; }
  .js .saga__stick { position: relative; height: auto; min-height: 0; overflow: visible; }
  .saga__photo { position: relative; height: 100svh; }
  .saga__veil { bottom: auto; height: 100svh; }
  .saga__hero { top: 0; bottom: auto; height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 11svh; }
  .saga__log, .saga__product, .saga__meter, .saga__cue { display: none; }
  .js .saga__steps { position: relative; left: auto; top: auto; bottom: auto; width: auto; height: auto; padding: 60px var(--gut) 90px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; background: var(--foret); }
  .js .step { position: relative; transform: none; opacity: 1; visibility: visible; }
  .js .step > * { transform: none; }
  .step__n { font-size: 56px; }
  .js .sheet { margin-top: 0; }
  .js .ligne { height: auto; }
  .js .ligne__stick { position: relative; height: auto; padding: 90px 0 70px; }
  .ligne__track { overflow-x: auto; padding-bottom: 20px; }
  .ligne__bar { display: none; }
  .js .lit .w { color: inherit; }
  .js [data-rise] { opacity: 1; transform: none; }
}

.js .essence__wood { background: none; border: 0; }
