/* KLIP · la pierre et la lumière */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(fonts/jost-latin.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; }
/* police de secours calée sur les métriques de Jost : pas de saut de mise en page au chargement */
@font-face { font-family: "Jost Fallback"; src: local("Century Gothic"), local("Arial"); size-adjust: 96%; ascent-override: 107%; descent-override: 37.5%; }
[hidden] { display: none !important; }
:root {
  --stone: #ECE7DF;      /* calcaire clair : fond */
  --stone-2: #E2DBD0;    /* dalle : surfaces */
  --stone-3: #D3CABD;    /* joints, filets */
  --ink: #0E1530;        /* bleu nuit : texte, actions */
  --ink-2: #4A4F63;      /* texte secondaire, teinté de l'encre */
  --ink-3: #5F5B55;      /* notes, sources */
  --light: #E58A3A;      /* le filet lumineux : seul accent */
  --light-ink: #8C470F;  /* orange lisible sur la pierre */
  --lilac: #CFC8E3;
  --white: #FBF9F6;
  --font: "Jost", "Jost Fallback", "Futura", sans-serif;
  --gutter: clamp(20px, 5vw, 88px);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 4px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 clamp(16px, 1.05vw, 18px)/1.6 var(--font); font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
picture img { width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--ink); color: var(--stone); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--stone-3) var(--stone); }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.2vw, 96px); font-weight: 300; }
h2 { font-size: clamp(32px, 4vw, 60px); font-weight: 300; }
h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.015em; font-weight: 500; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--stone); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* bandeau démo + en-tête */
.demo-band { margin: 0; max-width: none; text-align: center; font-size: 13px; letter-spacing: .02em; padding: 8px var(--gutter); background: var(--ink); color: #D8D4E6; }
.top { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--stone) 88%, transparent); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--stone-3); }
.brand { color: var(--ink); display: inline-flex; }
.logo { width: 76px; height: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); justify-content: center; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.top-actions { display: flex; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--stone-2); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--stone); font-size: 11px; line-height: 18px; text-align: center; }
.menu-btn { display: none; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--radius); font: 500 15px/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #1C2549; box-shadow: 0 10px 24px -14px rgba(14, 21, 48, .6); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.is-added { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.link-arrow svg { width: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* pastilles de coloris */
.swatches { border: 0; padding: 0; margin: 0 0 24px; }
.swatches legend { padding: 0; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.sw-name { color: var(--ink); font-weight: 500; margin-left: 6px; }
.sw-row { display: flex; gap: 12px; flex-wrap: wrap; }
.sw { position: relative; cursor: pointer; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw-dot { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(14, 21, 48, .18), 0 0 0 3px var(--stone), 0 0 0 4px transparent; transition: box-shadow .3s var(--ease); }
.sw input:checked + .sw-dot { box-shadow: inset 0 0 0 1px rgba(14, 21, 48, .18), 0 0 0 3px var(--stone), 0 0 0 4px var(--ink); }
.sw input:focus-visible + .sw-dot { outline: 2px solid var(--ink); outline-offset: 6px; }
.sw:hover .sw-dot { box-shadow: inset 0 0 0 1px rgba(14, 21, 48, .18), 0 0 0 3px var(--stone), 0 0 0 4px var(--stone-3); }

/* héro */
.hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); min-height: calc(100svh - 110px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px) var(--gutter); max-width: 760px; }
.lede { font-size: clamp(18px, 1.35vw, 21px); color: var(--ink-2); margin: 28px 0 40px; max-width: 34em; }
.buy { width: 100%; max-width: 520px; }
.buy-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.buy-price { margin: 0; display: grid; line-height: 1.2; }
.buy-price span { font-size: 14px; color: var(--ink-2); }
.buy-price strong { font-size: 30px; font-weight: 400; letter-spacing: -0.02em; }
.buy-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }
.hero-media { position: relative; overflow: hidden; background: var(--stone-2); }
.stage-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.025); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.stage-img.is-on { opacity: 1; transform: none; }
.stage-img picture, .stage-img img { width: 100%; height: 100%; }
.stage-img img { object-fit: cover; object-position: 30% 60%; }
.filet { position: absolute; left: 0; top: 18%; width: 3px; height: 0; background: var(--light); box-shadow: 0 0 18px 2px rgba(229, 138, 58, .35); transition: height 1s var(--ease); }
.hero-media.is-lit .filet { height: 64%; }

/* sections */
section { padding: clamp(72px, 10vw, 160px) var(--gutter); }
.hero, .film, .detail, .colors { padding: 0; }
.sec-head { max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.sec-head p { color: var(--ink-2); margin: 0; }
.source, .credit { font-size: 13px; color: var(--ink-3); }
.credit { margin: 10px 0 0; }

.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.problem-media img { border-radius: var(--radius); aspect-ratio: 1 / 1.1; object-fit: cover; }
.problem-copy h2 { margin-bottom: 32px; }
.problem-copy p { color: var(--ink-2); }

.system { background: var(--stone-2); }
.heads { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.head-tabs { display: grid; border-top: 1px solid var(--stone-3); position: sticky; top: 100px; }
.head-tab { position: relative; text-align: left; font: 300 clamp(24px, 2.4vw, 36px)/1.2 var(--font); letter-spacing: -0.02em; color: var(--ink-3); background: none; border: 0; border-bottom: 1px solid var(--stone-3); padding: 20px 0 20px 22px; cursor: pointer; transition: color .3s; }
.head-tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; background: var(--light); transform: translateY(-50%); transition: height .5s var(--ease); }
.head-tab[aria-selected="true"] { color: var(--ink); }
.head-tab[aria-selected="true"]::before { height: 56%; }
.head-tab:hover { color: var(--ink); }
.head-panel img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 58%; }
.head-panel p { margin-top: 24px; font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 46ch; }
.head-panel:not([hidden]) { animation: panel .6s var(--ease); }
@keyframes panel { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.film { position: relative; background: var(--ink); }
.film-btn { display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.film-poster img { aspect-ratio: 21 / 9; object-fit: cover; filter: saturate(.92); }
.film-play { position: absolute; left: var(--gutter); bottom: clamp(24px, 4vw, 56px); display: inline-flex; align-items: center; gap: 14px; color: var(--ink); font: 400 clamp(18px, 1.6vw, 24px)/1 var(--font); }
.film-play svg { width: 56px; height: 56px; padding: 18px; border-radius: 50%; background: var(--ink); color: var(--white); transition: transform .4s var(--ease); }
.film-btn:hover .film-play svg { transform: scale(1.08); }
.film-video { width: 100%; height: auto; max-height: 100svh; background: var(--ink); }

.detail { position: relative; color: var(--white); background: #11141b; }
.detail-media img { width: 100%; height: clamp(520px, 80vh, 900px); object-fit: cover; }
.detail-copy { position: absolute; inset: auto var(--gutter) clamp(32px, 6vw, 88px) auto; width: min(460px, calc(100% - 2 * var(--gutter))); }
.detail-copy h2 { margin-bottom: 28px; }
.facts { margin: 0; display: grid; gap: 22px; }
.facts div { border-top: 1px solid rgba(251, 249, 246, .25); padding-top: 14px; }
.facts dt { font-weight: 500; }
.facts dd { margin: 4px 0 0; color: #C9C6D3; }

.colors .sec-head { padding: clamp(72px, 10vw, 160px) var(--gutter) 0; margin-bottom: clamp(40px, 5vw, 72px); max-width: calc(var(--max) + 2 * var(--gutter)); }
.colors-img img { width: 100%; }

.three { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.three-copy p { color: var(--ink-2); margin: 24px 0 32px; }
.three-ctrl { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-3d { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border-radius: var(--radius); border: 1px solid var(--stone-3); background: transparent; font: 400 14px var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.chip-3d .sw-dot { width: 22px; height: 22px; box-shadow: inset 0 0 0 1px rgba(14, 21, 48, .18); }
.chip-3d[data-model="eclate"] { padding-left: 14px; }
.chip-3d[aria-pressed="true"] { border-color: var(--ink); background: var(--white); }
.three-stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: radial-gradient(ellipse at 50% 40%, var(--white), var(--stone-2) 72%); }
.three-load { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.three-load picture, .three-load img { width: 100%; height: 100%; object-fit: cover; }
.three-cta { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 14px 22px; border-radius: var(--radius); font: 500 15px var(--font); white-space: nowrap; }
model-viewer { width: 100%; height: 100%; --poster-color: transparent; }

.kits { background: var(--stone-2); }
.kit-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.kit { display: flex; flex-direction: column; background: var(--stone); border-radius: var(--radius); overflow: hidden; }
.kit-star { outline: 1px solid var(--ink); }
.kit-media img { aspect-ratio: 16 / 11; object-fit: cover; transition: transform 1.2s var(--ease); }
.kit-media:hover img { transform: scale(1.03); }
.kit-media { overflow: hidden; }
.kit-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.kit-body h3 a { text-decoration: none; }
.kit-content { margin: 6px 0 12px; color: var(--ink-2); }
.kit-desc { color: var(--ink-2); font-size: 15px; }
.kit-body .btn { margin-top: auto; }
.price { margin: 8px 0 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price s { color: var(--ink-3); font-size: 15px; }
.save { font-size: 13px; color: var(--light-ink); font-weight: 500; }

.box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.box-media img { border-radius: var(--radius); }
.box-copy p { color: var(--ink-2); margin-top: 28px; }

.inside { background: var(--white); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.inside-copy { max-width: 620px; justify-self: end; }
.inside-copy > p { color: var(--ink-2); margin-top: 28px; }
.inside-media img { border-radius: var(--radius); max-height: 86vh; width: auto; margin: 0 auto; }
.spec { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-top: 1px solid var(--stone-3); vertical-align: top; }
.spec th { font-weight: 400; color: var(--ink-3); width: 42%; }

.faq { max-width: 920px; margin: 0 auto; }
.faq h2 { margin-bottom: 40px; }
.qa { border-top: 1px solid var(--stone-3); }
.qa:last-of-type { border-bottom: 1px solid var(--stone-3); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: clamp(17px, 1.3vw, 20px); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p, .qa ul, .qa table { color: var(--ink-2); margin: 0 0 22px; }
.faq > p { margin-top: 32px; }

.join { text-align: center; background: var(--ink); color: var(--white); }
.join p { margin: 24px auto 36px; color: #C9C6D3; }
.join-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.join-form input { flex: 1 1 260px; min-height: 52px; padding: 0 18px; border-radius: var(--radius); border: 1px solid rgba(251, 249, 246, .35); background: transparent; color: var(--white); font: 400 16px var(--font); }
.join-form input::placeholder { color: #9C9AAE; }
.join-form input:focus-visible { outline-color: var(--white); }
.join .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.join .btn-primary:hover { background: var(--stone); }
.join .form-msg { flex-basis: 100%; }
.form-msg { min-height: 1.5em; margin: 12px 0 0; font-size: 14px; }
.form-msg.is-error { color: #B3261E; }
.join .form-msg.is-error { color: #F2B8B5; }

/* pied de page */
.foot { padding: clamp(56px, 7vw, 96px) var(--gutter) 32px; border-top: 1px solid var(--stone-3); }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand .logo { width: 96px; margin-bottom: 16px; }
.foot-brand p { color: var(--ink-2); }
.foot h2 { font-size: 14px; font-weight: 500; letter-spacing: 0; margin-bottom: 14px; }
.foot nav a { display: block; text-decoration: none; color: var(--ink-2); padding: 4px 0; font-size: 15px; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { max-width: var(--max); margin: 56px auto 0; font-size: 13px; color: var(--ink-3); }

/* panier */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); background: var(--stone); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); box-shadow: -24px 0 48px -32px rgba(14, 21, 48, .5); }
.drawer:not(.is-open) { visibility: hidden; box-shadow: none; transition: transform .55s var(--ease), visibility 0s .55s; }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--stone-3); }
.drawer-head h2 { font-size: 22px; font-weight: 400; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 28px; border-top: 1px solid var(--stone-3); }
.ship-note { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.total strong { font-size: 24px; font-weight: 400; font-variant-numeric: tabular-nums; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--stone-3); align-items: start; }
.line img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius); background: var(--stone-2); }
.line-name { font-weight: 500; margin: 0; }
.line-meta { font-size: 14px; color: var(--ink-2); margin: 2px 0 10px; }
.line-price { font-variant-numeric: tabular-nums; margin: 0; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--stone-3); border-radius: var(--radius); }
.mini-qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font: 400 16px var(--font); color: var(--ink); }
.mini-qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.line-remove { border: 0; background: none; padding: 0; margin-left: 12px; font: 400 13px var(--font); color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.empty { padding: 48px 0; color: var(--ink-2); }
.empty a { display: inline-block; margin-top: 12px; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(14, 21, 48, .32); opacity: 0; transition: opacity .4s; }
.scrim.is-on { opacity: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 140%); background: var(--ink); color: var(--white); padding: 14px 22px; border-radius: var(--radius); font-size: 15px; transition: transform .5s var(--ease); pointer-events: none; }
.toast:not(.is-on) { visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.is-on { transform: translate(-50%, 0); }

/* boutique */
.page-head { padding-bottom: 32px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.page-head p { color: var(--ink-2); margin-top: 24px; font-size: clamp(18px, 1.3vw, 21px); }
.shop-sec { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-top: 32px; }
.shop-sec h2 { font-size: clamp(26px, 2.6vw, 40px); margin-bottom: 32px; }
.shop-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.tile { background: var(--stone-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tile-media { overflow: hidden; display: block; }
.tile-media img { aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tile-body h3 a { text-decoration: none; }
.tile-body p { color: var(--ink-2); margin: 6px 0 0; font-size: 15px; }
.tile-body .price { margin-top: 12px; }
.tile-body .btn { margin-top: auto; align-self: start; }

/* fiche produit */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-top: clamp(32px, 4vw, 64px); align-items: start; }
.pdp-gallery { display: grid; gap: 12px; }
.pdp-main { border-radius: var(--radius); overflow: hidden; background: var(--stone-2); }
.pdp-main img { aspect-ratio: 4 / 5; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pdp-thumb { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.pdp-thumb img { aspect-ratio: 1; object-fit: cover; }
.pdp-thumb[aria-current="true"] { outline-color: var(--ink); }
.pdp-info { position: sticky; top: 100px; }
.crumbs { font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.pdp-info h1 { font-size: clamp(40px, 4.4vw, 68px); margin: 8px 0 12px; }
.pdp-content { color: var(--ink-2); font-size: 18px; }
.pdp-price strong { font-size: 34px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--stone-3); border-radius: var(--radius); height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font: 400 18px var(--font); cursor: pointer; color: var(--ink); }
.qty input { width: 40px; border: 0; background: none; text-align: center; font: 400 16px var(--font); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-info .qa:first-of-type { margin-top: 36px; }
.in-box { padding-left: 18px; }
.pdp-more { padding: 0; margin-top: clamp(72px, 10vw, 140px); }
.pdp-more .detail-media img { height: clamp(360px, 60vh, 720px); }

/* commande */
.co { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; align-items: start; }
.co h1 { font-size: clamp(40px, 4.4vw, 64px); margin-bottom: 16px; }
.co-demo { color: var(--light-ink); font-size: 15px; }
.co fieldset { border: 0; padding: 0; margin: 32px 0 0; }
.co legend { font-size: 20px; margin-bottom: 14px; }
.co label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.co input { min-height: 52px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--stone-3); background: var(--white); font: 400 16px var(--font); color: var(--ink); transition: border-color .2s; }
.co input:hover { border-color: #B9AFA2; }
.co input[aria-invalid="true"] { border-color: #B3261E; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ship-opt { display: flex; justify-content: space-between; padding: 16px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); max-width: none; }
.co .btn-block { margin-top: 28px; }
.co-sum { background: var(--stone-2); border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; }
.co-sum h2 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.co-sum .total { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--stone-3); }
.sub { margin: 16px 0 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.sub div { display: flex; justify-content: space-between; }
.sub dd { margin: 0; font-variant-numeric: tabular-nums; }
.co-done h2 { margin: 24px 0 16px; }

/* pages éditoriales */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; align-items: start; padding-top: 32px; }
.story-media { position: sticky; top: 100px; }
.story-media img { border-radius: var(--radius); }
.story-copy h2 { font-size: clamp(26px, 2.6vw, 40px); margin: 48px 0 16px; }
.story-copy h2:first-child { margin-top: 0; }
.story-copy p { color: var(--ink-2); }
.values { padding: 0; list-style: none; display: grid; gap: 8px; }
.values li { padding-left: 18px; position: relative; color: var(--ink-2); }
.values li::before { content: ""; position: absolute; left: 0; top: .35em; width: 2px; height: 1em; background: var(--light); }
.help { max-width: 860px; margin: 0 auto; padding-top: 32px; }
.help h2 { font-size: clamp(24px, 2.2vw, 34px); margin: 48px 0 14px; }
.help h2:first-child { margin-top: 0; }
.help > p { color: var(--ink-2); }
.img-missing { aspect-ratio: 1; background: var(--stone-2); }

/* responsive */
@media (max-width: 1100px) {
  .kit-grid, .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr auto; gap: 12px; }
  .menu-btn { display: inline-grid; }
  .top-actions { grid-column: 3; justify-self: end; }
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; z-index: -1; flex-direction: column; gap: 0; padding: 120px var(--gutter) 32px; background: var(--stone); font-size: 28px; font-weight: 300;
    transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease); box-shadow: 0 24px 48px -32px rgba(14, 21, 48, .4); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--stone-3); }
  .nav a::after { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 4.2; }
  .hero-copy { padding-top: 40px; }
  .sec-head, .problem, .heads, .three, .box, .inside, .pdp, .co, .story { grid-template-columns: 1fr; }
  .head-tabs { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; border-top: 0; gap: 20px; scrollbar-width: none; }
  .head-tab { font-size: 20px; padding: 10px 0 14px; border-bottom: 0; }
  .head-tab::before { left: 0; right: 0; top: auto; bottom: 0; width: 0; height: 2px; transform: none; transition: width .5s var(--ease); }
  .head-tab[aria-selected="true"]::before { width: 100%; height: 2px; }
  .detail-copy { position: static; width: auto; padding: 48px var(--gutter) 64px; }
  .detail-media img { height: 56vh; }
  .inside-copy { justify-self: start; }
  .pdp-info, .co-sum, .story-media { position: static; }
  .film-poster img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .kit-grid, .tile-grid, .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .buy-row .btn { flex: 1; }
  .pdp-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .demo-band { font-size: 12px; }
}
.batt-stage { position: relative; aspect-ratio: 1; }
.batt-stage .stage-img img { object-position: 50% 50%; }

/* fiche produit : choix des têtes, description, autres kits, barre d'achat mobile */
.pdp-desc { color: var(--ink-2); margin: 0 0 28px; }
.heads-pick { border: 0; padding: 0; margin: 0 0 24px; }
.heads-pick legend { padding: 0; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.heads-pick legend span { color: var(--ink); font-weight: 500; margin-left: 6px; }
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--stone-3); border-radius: var(--radius); font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1px solid var(--ink-3); border-radius: 3px; transition: background .2s, border-color .2s; }
.pick:has(input:checked) { border-color: var(--ink); background: var(--white); }
.pick:has(input:checked)::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FBF9F6' stroke-width='1.6'/%3E%3C/svg%3E") center / 100%; border-color: var(--ink); }
.pick:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.pick:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.pdp-main { touch-action: pan-y; }
.pdp-others { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.pdp-others h2 { font-size: clamp(26px, 2.6vw, 40px); margin-bottom: 32px; }
.tile-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-grid-2 .tile-media img { aspect-ratio: 16 / 11; }
.sticky-buy { display: none; }
@media (max-width: 900px) {
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--stone) 92%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--stone-3); transform: translateY(110%); transition: transform .45s var(--ease); }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy p { margin: 0; display: grid; line-height: 1.2; font-size: 14px; color: var(--ink-2); }
  .sticky-buy strong { font-size: 20px; font-weight: 400; color: var(--ink); }
  .sticky-buy .btn { min-height: 48px; }
  .filet { display: none; }
}

/* boutique : comparatif */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--stone-2); }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--stone-3); vertical-align: top; }
.cmp thead th { font-size: 18px; font-weight: 500; padding-top: 22px; }
.cmp thead a { text-decoration: none; }
.cmp thead a:hover { text-decoration: underline; }
.cmp tbody th { font-weight: 400; color: var(--ink-3); width: 22%; }
.cmp td:nth-child(3), .cmp th:nth-child(3) { background: color-mix(in srgb, var(--white) 55%, transparent); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp-price strong { font-size: 22px; font-weight: 400; font-variant-numeric: tabular-nums; }

/* panier : suggestion */
.upsell { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px; margin-bottom: 16px; border: 1px solid var(--stone-3); border-radius: var(--radius); }
.upsell img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.upsell p { margin: 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.upsell strong { display: block; color: var(--ink); font-weight: 500; }
.upsell .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
html.is-locked { overflow: hidden; }

/* 404 */
.nf { min-height: 50vh; }
.nf .btn { margin: 8px 8px 0 0; }

/* apparition au défilement (seulement si JavaScript tourne et que le mouvement est accepté) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
  .js-reveal .rv.is-in { opacity: 1; transform: none; }
}
@media (max-width: 640px) { .tile-grid-2 { grid-template-columns: 1fr; } .pick-row { grid-template-columns: 1fr 1fr; } }
@media print { .rv { opacity: 1 !important; transform: none !important; } .top, .demo-band, .drawer, .scrim, .toast, .sticky-buy { display: none !important; } }
