/* King Koil France — feuille de style unique. Thème clair uniquement. */

@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: only light;
  --ink: #1b1f26;          /* pages sombres des catalogues */
  --ink-2: #262b33;
  --text: #3d424a;
  --muted: #7b7e85;
  --line: #d9d5cb;
  --line-ink: rgba(255, 255, 255, .14);
  --paper: #eeece6;        /* pages claires des catalogues */
  --white: #fbfaf8;
  --bronze: #8f7149;
  --bronze-l: #c8ab80;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 48px);
  --hd: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 300 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.005em; }
b, strong { font-weight: 500; color: var(--ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

.eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin: 0 0 18px; }
.h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.04; }
.h2 { font-size: clamp(30px, 3.4vw, 48px); }
.h2 a { text-decoration: none; }
.h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 14px; }

/* ------------------------------------------------------------------ Boutons & liens */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 28px; border: 1px solid; font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }
.sec:not(.sec--ink) .btn--light { background: var(--ink); border-color: var(--ink); color: #fff; }
.sec:not(.sec--ink) .btn--light:hover { background: transparent; color: var(--ink); }
.sec--ink .btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.sec--ink .btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: transparent; color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link i { font-style: normal; transition: transform .25s; }
.link:hover i { transform: translateX(4px); }
.sec--ink .link { color: #fff; }

/* ------------------------------------------------------------------ En-tête */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); color: var(--ink); background: rgba(251, 250, 248, .96); border-bottom: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
@supports (backdrop-filter: blur(1px)) { .hd { background: rgba(251, 250, 248, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); } }
.is-over .hd:not(.hd--solid):not(:hover):not(:focus-within) { background: transparent; color: #fff; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-over .hd::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(8, 10, 14, .5), rgba(8, 10, 14, 0)); pointer-events: none; transition: opacity .3s; }
.is-over .hd.hd--solid::before, .is-over .hd:hover::before, .is-over .hd:focus-within::before { opacity: 0; }
.is-solid main { padding-top: var(--hd); }
.hd-in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd-logo { display: block; color: inherit; }
.hd-logo svg { display: block; height: 30px; width: auto; }
.hd-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); height: 100%; }
.hd-item { height: 100%; display: flex; align-items: center; }
.hd-link { position: relative; display: flex; align-items: center; height: 100%; font: 500 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.hd-link:not(.hd-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.hd-link:hover::after, .hd-link[aria-current]::after, .hd-has-mega:hover > .hd-link::after { transform: scaleX(1); }
.hd-cta { height: auto; padding: 13px 18px; border: 1px solid currentColor; transition: background .25s, color .25s; }
.hd-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.mega { position: absolute; left: 0; right: 0; top: var(--hd); background: var(--white); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20, 22, 28, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
.hd-has-mega:hover .mega, .hd-has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.mega-in { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gut) 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 44px; }
.mega-head { display: block; text-decoration: none; margin-bottom: 18px; }
.mega-logo-box { display: flex; align-items: flex-end; height: 62px; }
.mega-logo { display: block; height: 30px; width: auto; color: var(--ink); }
.mega-logo.logo-intimate { height: 22px; }
.mega-logo.logo-luxury { height: 36px; }
.mega-logo.logo-xtended { height: 48px; }
.mega-logo.logo-reserve-luxury { height: 62px; }
.mega-soon { margin: 4px 0 0; padding: 10px 0; border-top: 1px solid var(--line); font: 500 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.mega-sub { display: block; margin-top: 12px; font: italic 15px/1.4 var(--serif); color: var(--muted); }
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s; }
.mega-list a:hover { padding-left: 6px; }
.mega-n { font: 400 19px/1.2 var(--serif); }
.mega-p { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mega-all { grid-column: 1 / -1; justify-self: start; margin-top: 8px; padding-bottom: 5px; border-bottom: 1px solid currentColor; text-decoration: none; font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.mega-all i { font-style: normal; }

.burger { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #20242b; }
.hero--short { min-height: 74vh; min-height: 74svh; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, .25) 0%, rgba(8, 10, 14, 0) 30%, rgba(8, 10, 14, .08) 55%, rgba(8, 10, 14, .66) 100%); }
.hero-txt { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 10vh, 120px); }
.hero-txt .eyebrow { color: rgba(255, 255, 255, .82); }
.hero-h { color: #fff; font-size: clamp(44px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.012em; max-width: 13ch; }
.hero-sub { max-width: 48ch; margin: 24px 0 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 0; }
.film-toggle { position: absolute; z-index: 3; right: var(--gut); bottom: clamp(56px, 10vh, 120px); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(8, 10, 14, .25); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.film-toggle:hover { background: rgba(8, 10, 14, .5); }
.film-toggle span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.film-toggle.is-paused span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.hero-txt--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero--coll { align-items: center; }
.hero--coll .hero-txt { padding: calc(var(--hd) + 40px) var(--gut) 60px; }
.hero--coll::after { background: linear-gradient(180deg, rgba(8, 10, 14, .35), rgba(8, 10, 14, .3) 50%, rgba(8, 10, 14, .55)); }
.hero-logo { margin: 6px 0 4px; }
.hero-logo svg { display: block; width: min(440px, 72vw); height: auto; color: #fff; --rl-l: .5; }
.hero-logo .logo-luxury { width: min(360px, 66vw); }
.hero-logo .logo-xtended { width: min(320px, 62vw); }
.hero-logo .logo-reserve-luxury { width: min(270px, 56vw); }
.hero-img--flip { transform: scaleX(-1); }

/* ------------------------------------------------------------------ Sections */
.sec { padding: clamp(76px, 10vw, 140px) 0; }
.sec--tight { padding: 36px 0 80px; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: rgba(255, 255, 255, .72); }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--ink .eyebrow { color: var(--bronze-l); }
.sec-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.sec-lead { max-width: 46ch; margin: 0; }
.page-head { padding: clamp(56px, 7vw, 96px) 0 24px; }
.page-lead { max-width: 56ch; margin: 22px 0 0; font-size: 17px; }

/* Promesse */
.promise-in { max-width: 1000px; text-align: center; }
.promise-h { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.2; margin-bottom: 32px; }
.promise-txt { max-width: 62ch; margin: 0 auto; font-size: 17px; }

/* Collections */
.coll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.coll { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; color: #fff; text-decoration: none; background: #20242b; }
.coll--wide { aspect-ratio: 21 / 9; }
.coll-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.coll:hover .coll-img { transform: scale(1.045); }
.coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, 0) 40%, rgba(8, 10, 14, .7)); }
.coll-ov { position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.coll-ov .eyebrow { color: rgba(255, 255, 255, .8); margin: 0; }
.coll-logo { display: block; height: 42px; width: auto; color: #fff; --rl-l: .5; }
.coll-logo.logo-intimate { height: 34px; }
.coll-logo.logo-luxury { height: 48px; }
.coll-logo.logo-xtended { height: 64px; }
.coll-logo.logo-reserve-luxury { height: 104px; }
.coll-grid--3 { grid-template-columns: repeat(3, 1fr); }
.coll--short { aspect-ratio: 16 / 10; }
.soon-badge { position: absolute; z-index: 3; top: 20px; left: 20px; margin: 0; padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(8, 10, 14, .28); color: #fff; font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.soon-badge--hero { position: static; display: inline-block; margin-top: 26px; }
.coll-acc { font: italic 400 clamp(19px, 1.8vw, 24px)/1.35 var(--serif); max-width: 28ch; }
.coll-more { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; display: inline-flex; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .6); }
.coll-more i { font-style: normal; transition: transform .25s; }
.coll:hover .coll-more i { transform: translateX(4px); }

.soon-in { max-width: 820px; }
.soon-in .h2 { margin-bottom: 22px; }
.soon-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin: 34px 0 0; }
.coll-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.coll-intro-txt p:first-child { font: 400 clamp(22px, 2.2vw, 30px)/1.4 var(--serif); color: var(--ink); }
.coll-intro-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Bloc texte + image */
.split-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split-txt .h2 { margin-bottom: 22px; }
.ticks { list-style: none; margin: 28px 0 34px; padding: 0; }
.ticks li { padding: 14px 0; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }

/* Citation & bandeau d'appel */
.quote, .cta-band { position: relative; overflow: hidden; color: #fff; background: #20242b; }
.quote { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.quote-img, .cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote::after { content: ""; position: absolute; inset: 0; background: rgba(10, 12, 16, .42); }
.quote-in { position: relative; z-index: 2; margin: 0 auto; padding-top: 80px; padding-bottom: 80px; }
.quote-in p { margin: 0 auto; max-width: 24ch; font: italic 400 clamp(28px, 3.8vw, 54px)/1.25 var(--serif); }
.quote-in p::before { content: "«\202F"; }
.quote-in p::after { content: "\202F»"; }
.cta-band { min-height: 64vh; display: flex; align-items: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 14, .7), rgba(8, 10, 14, .15) 75%); }
.cta-in { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.cta-in .eyebrow { color: rgba(255, 255, 255, .8); }
.cta-in .h2 { color: #fff; max-width: 16ch; margin-bottom: 18px; }
.cta-in p { max-width: 44ch; color: rgba(255, 255, 255, .86); margin-bottom: 30px; }

/* Héritage */
.heritage-in { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 96px); }
.heritage-head .h2 { margin-bottom: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; }
.timeline li { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.tl-y { font: 400 clamp(34px, 3.4vw, 46px)/1 var(--serif); color: var(--ink); }
.tl-t { font: 500 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-top: 6px; }
.tl-x { font-size: 15px; }

/* ------------------------------------------------------------------ Cartes matelas */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 48px 28px; }
.card a { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-stage { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 9% 7%; background: radial-gradient(ellipse at 50% 72%, #fff 0%, var(--paper) 72%); overflow: hidden; }
.sec--paper .card-stage { background: radial-gradient(ellipse at 50% 72%, #fff 0%, #f6f5f1 72%); }
.card-stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card a:hover .card-stage img { transform: scale(1.05); }
.card-line { margin-top: 20px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.card-name { margin-top: 6px; font: 400 28px/1.15 var(--serif); color: var(--ink); }
.card-name em { font: 500 10.5px/1 var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-left: 4px; }
.card-facts { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.card-facts span { white-space: nowrap; }
.cards--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(240px, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.cards--rail .card { scroll-snap-align: start; }

/* ------------------------------------------------------------------ Anatomie (vue éclatée) */
.f-tissu { --fc: #8e949c; }
.f-naturel { --fc: #b38a57; }
.f-mousse { --fc: #d2b95f; }
.f-ressorts { --fc: #3e4757; }
.f-interface { --fc: #c4bdad; }
.anat--ink .f-ressorts { --fc: #a3afc2; }
.anat-stage { position: relative; }
.anat-fig { position: relative; width: 62%; }
.anat-fig img { width: 100%; }
.anat-pins, .anat-list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.anat-pins { pointer-events: none; z-index: 2; }
.anat-leaders { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.anat-leaders polyline { fill: none; stroke: rgba(27, 31, 38, .24); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .2s; }
.anat-leaders polyline.on { stroke: var(--ink); }
.anat-pins li { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid rgba(27, 31, 38, .3); font: 600 9.5px/1 var(--sans); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); transition: transform .2s, background .2s, color .2s; }
.anat-pins li.on { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.3); }
.anat-list li { position: absolute; left: 0; right: 0; top: calc(var(--y) * 100%); height: 0; outline: none; }
.anat-lab { position: absolute; left: 65%; top: 0; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; line-height: 1.2; color: var(--text); cursor: default; transition: color .2s; }
.anat-lab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fc); flex: none; }
.anat-lab b { font: 500 10px/1 var(--sans); color: var(--muted); min-width: 14px; font-variant-numeric: tabular-nums; }
.anat-list li.on .anat-lab, .anat-list li:hover .anat-lab, .anat-list li:focus .anat-lab { color: var(--ink); font-weight: 500; }
.anat-legend { list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 12.5px; }
.anat-legend li { display: flex; align-items: center; gap: 9px; }
.anat-legend li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--fc); }
.anat-legend .anat-d { margin-left: auto; color: var(--muted); font-style: italic; }
.anat-legend .anat-d::before { display: none; }
.anat--ink { margin-bottom: 48px; }
.anat--ink .anat-lab { color: rgba(255, 255, 255, .7); }
.anat--ink .anat-lab b { color: rgba(255, 255, 255, .45); }
.anat--ink .anat-leaders polyline { stroke: rgba(255, 255, 255, .2); }
.anat--ink .anat-leaders polyline.on { stroke: #fff; }
.anat--ink .anat-list li.on .anat-lab, .anat--ink .anat-list li:hover .anat-lab { color: #fff; }
.anat--ink .anat-pins li.on { background: var(--bronze-l); border-color: var(--bronze-l); color: var(--ink); }
.anat--ink .anat-legend { border-color: var(--line-ink); }
.anat--ink .anat-legend .anat-d { color: rgba(255, 255, 255, .45); }

/* ------------------------------------------------------------------ Gamme : filtres + comparatif */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.filters-t { font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 4px 0 12px; }
.filters-t:first-child { margin-left: 0; }
.chip { border: 1px solid var(--line); background: transparent; padding: 9px 16px; border-radius: 999px; font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cmp-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cmp thead th { font: 500 10.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 16px; }
.cmp tbody th { font-weight: 400; padding-left: 0; }
.cmp tbody th a { display: flex; align-items: center; gap: 16px; text-decoration: none; font: 400 20px/1.2 var(--serif); color: var(--ink); }
.cmp tbody th em { font: 500 10px/1 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cmp-thumb { flex: none; width: 78px; height: 52px; display: grid; place-items: center; background: var(--paper); overflow: hidden; }
.cmp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover { background: #f4f3ef; }
.cmp tr[hidden] { display: none; }
.na { color: var(--line); }
.cmp-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ Fiche matelas */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 28px; padding-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.pdp-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 20px; padding-bottom: clamp(72px, 8vw, 112px); }
.pdp-gal { position: sticky; top: calc(var(--hd) + 24px); }
.pdp-stage { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 6%; background: radial-gradient(ellipse at 50% 68%, #fff 0%, var(--paper) 76%); }
.pdp-view { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; animation: kk-fade .4s ease; }
.pdp-view[hidden] { display: none; }
.pdp-stage { position: relative; overflow: hidden; }
.pdp-view[data-v="ambiance"], .pdp-view[data-v="detail"] { position: absolute; inset: 0; }
.pdp-view[data-v="ambiance"] img, .pdp-view[data-v="detail"] img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.pdp-view img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
@keyframes kk-fade { from { opacity: 0; } to { opacity: 1; } }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 8px 12px; background: var(--paper); border: 1px solid transparent; cursor: pointer; font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: border-color .2s, color .2s; }
.pdp-thumb img { height: 52px; width: 100%; object-fit: contain; }
.pdp-thumb.on, .pdp-thumb:hover { border-color: var(--ink); color: var(--ink); }
.pdp-coll { display: inline-block; color: var(--ink); margin-bottom: 26px; }
.pdp-coll svg { display: block; height: 30px; width: auto; }
.pdp-coll .logo-xtended { height: 52px; }
.pdp-coll .logo-reserve-luxury { height: 88px; }
.pdp-h { font-size: clamp(48px, 5.4vw, 80px); line-height: 1; margin-bottom: 28px; }
.pdp-h em { display: block; margin-top: 14px; font: 500 12px/1 var(--sans); font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); }
.pdp-desc { font-size: 16px; }
.pdp-scales { display: grid; gap: 16px; margin: 30px 0 34px; }
.scale { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 18px; }
.scale-t { font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.scale-r { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.scale-r li { position: relative; padding-top: 16px; text-align: center; font-size: 12px; color: var(--muted); }
.scale-r li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--line); }
.scale-r li:first-child::before { left: 50%; }
.scale-r li:last-child::before { right: 50%; }
.scale-r li::after { content: ""; position: absolute; top: 2px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--line); }
.scale-r li.on { color: var(--ink); font-weight: 500; }
.scale-r li.on::after { top: -1px; width: 14px; height: 14px; margin-left: -7px; background: var(--ink); box-shadow: 0 0 0 4px var(--white); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 10px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 5px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.pills { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; line-height: 1.3; }
.pdp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin: 36px 0 0; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(28px, 4vw, 64px); }
.spec-h { font-size: 26px; margin-bottom: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.spec ul { list-style: none; margin: 0; padding: 0; }
.spec li { padding: 11px 0; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------------ Savoir-faire */
.mat-in { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.mat-head { position: sticky; top: calc(var(--hd) + 32px); }
.mat-img img { margin-top: 32px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mat-list { margin: 0; }
.mat-item { display: grid; grid-template-columns: minmax(180px, 230px) 1fr; gap: 12px 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.mat-item:last-child { border-bottom: 1px solid var(--line); }
.mat-item dt { font: 400 24px/1.2 var(--serif); color: var(--ink); }
.mat-item dd { margin: 0; }

/* ------------------------------------------------------------------ La marque */
.story { max-width: 1040px; }
.story-row { display: grid; grid-template-columns: 340px 1fr; align-items: baseline; gap: 16px 48px; padding: 44px 0; border-top: 1px solid var(--line); }
.story-row:last-child { border-bottom: 1px solid var(--line); }
.story-y { margin: 0; font: 400 clamp(36px, 3.6vw, 52px)/1 var(--serif); color: var(--ink); white-space: nowrap; }
.story-t p { margin: 0; max-width: 56ch; font-size: 17px; }

/* ------------------------------------------------------------------ Revendeurs, mentions */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: #fff; padding: clamp(28px, 4.4vw, 60px); }
.contact-card--ink { background: var(--ink); color: rgba(255, 255, 255, .72); }
.contact-card--ink .h3 { color: #fff; }
.contact-card--ink .eyebrow { color: var(--bronze-l); }
.contact-dl { margin: 28px 0 0; }
.contact-dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-card--ink .contact-dl div { border-color: var(--line-ink); }
.contact-dl dt { font: 500 10px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-dl dd { margin: 6px 0 0; color: var(--ink); }
.contact-card--ink .contact-dl dd { color: #fff; }
.tbd { display: inline-block; padding: 3px 9px; font-size: 12.5px; line-height: 1.5; color: var(--bronze); background: rgba(143, 113, 73, .08); border: 1px dashed rgba(143, 113, 73, .5); border-radius: 4px; }
.contact-card--ink .tbd { color: var(--bronze-l); border-color: rgba(200, 171, 128, .5); background: rgba(200, 171, 128, .08); }
.legal { max-width: 780px; }
.legal .h3 { margin: 44px 0 12px; }
.legal .h3:first-child { margin-top: 0; }

/* ------------------------------------------------------------------ Pied de page */
.ft { background: var(--ink); color: rgba(255, 255, 255, .6); padding: clamp(64px, 8vw, 100px) 0 28px; font-size: 14px; }
.ft-in { display: grid; grid-template-columns: 1.2fr repeat(5, 1fr); gap: 40px 32px; }
.ft-soon { margin: 0; font-size: 13px; font-style: italic; color: rgba(255, 255, 255, .45); }
.ft-logo { display: inline-block; color: #fff; }
.ft-logo svg { display: block; width: 116px; height: auto; }
.ft-since { margin-top: 24px; font: 500 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.ft-h { margin: 0 0 16px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.ft-h a { text-decoration: none; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { padding: 4px 0; }
.ft li a, .ft-bot a { text-decoration: none; transition: color .2s; }
.ft li a:hover, .ft-bot a:hover { color: #fff; }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-ink); font-size: 12px; }
.ft-bot p { margin: 0; }
.ft:has(~ .apercu) .ft-bot { padding-bottom: 44px; }
.apercu { position: fixed; right: 16px; bottom: 16px; z-index: 60; margin: 0; padding: 8px 13px; border-radius: 999px; background: rgba(27, 31, 38, .86); color: #fff; font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .burger { display: block; }
  .hd-nav { position: fixed; inset: var(--hd) 0 0; height: auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) 40px; background: var(--white); color: var(--ink); overflow-y: auto; border-top: 1px solid var(--line); }
  .nav-open { overflow: hidden; }
  .nav-open .hd-nav { display: flex; }
  .nav-open .hd { background: var(--white); color: var(--ink); border-color: var(--line); }
  .nav-open .hd::before { opacity: 0; }
  .hd-item { height: auto; display: block; }
  .hd-link { height: auto; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .hd-link::after { display: none; }
  .hd-cta { margin-top: 24px; justify-content: center; border: 1px solid var(--ink); padding: 18px; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; transition: none; }
  .mega-in { grid-template-columns: 1fr 1fr; gap: 28px; padding: 18px 0 8px; }
  .mega-logo-box { height: 52px; }
  .mega-logo.logo-reserve-luxury { height: 52px; }
  .mega-logo.logo-xtended { height: 42px; }
  .mega-all { margin-top: 0; }
  .mega-sub { display: none; }
  .mega-logo { height: 24px; }
  .mega-n { font-size: 17px; }
}
@media (max-width: 860px) {
  .coll-grid, .coll-grid--3, .split-in, .coll-intro, .heritage-in, .mat-in, .contact-grid, .pdp-in { grid-template-columns: 1fr; }
  .coll, .coll--short { aspect-ratio: 4 / 5; }
  .coll--wide { aspect-ratio: 4 / 5; }
  .split-img { order: -1; }
  .coll-intro-img { order: -1; }
  .coll-intro-img img { aspect-ratio: 5 / 4; }
  .pdp-gal, .mat-head { position: static; }
  .mat-img { display: none; }
  .spec-grid { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 1fr; padding: 32px 0; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .story-y { white-space: normal; }
  .ft-brand { grid-column: 1 / -1; }
  /* Anatomie : liste sous l'image, repères réduits à des points */
  .anat-fig { width: 100%; }
  .anat-pins li { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--fc); border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(27, 31, 38, .25); }
  .anat-pins li span { display: none; }
  .anat-pins li.on { transform: scale(1.8); background: var(--fc); }
  .anat-list { position: static; margin-top: 20px; columns: 2; column-gap: 28px; }
  .anat-list li { position: static; height: auto; break-inside: avoid; }
  .anat-leaders { display: none; }
  .anat-lab { position: static; transform: none; white-space: normal; padding: 9px 0; border-bottom: 1px solid var(--line); }
  .anat--ink .anat-lab { border-color: var(--line-ink); }
  .anat-legend .anat-d { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  :root { --hd: 64px; }
  body { font-size: 15.5px; }
  .hd-logo svg { height: 24px; }
  .hero-h { font-size: clamp(40px, 11vw, 56px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .film-toggle { top: calc(var(--hd) + 14px); bottom: auto; width: 36px; height: 36px; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 10, 14, .3) 0%, rgba(8, 10, 14, .1) 25%, rgba(8, 10, 14, .5) 50%, rgba(8, 10, 14, .72) 100%); }
  .hero-txt { text-shadow: 0 1px 16px rgba(0, 0, 0, .35); }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .mat-item { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .scale { grid-template-columns: 1fr; gap: 8px; }
  .anat-list { columns: 1; }
  .mega-in { grid-template-columns: 1fr; }
  .ft-in { grid-template-columns: 1fr; }
  .cards--rail { grid-auto-columns: 78%; }
  .filters-t { width: 100%; margin: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Bodoni Moda en très grand : l'axe optique « display » rend les filets (trait d'union, barres) quasi invisibles.
   Placé en fin de fichier car le raccourci `font:` réinitialise font-variation-settings. */
h1, h2, h3, .mega-sub, .mega-n, .coll-acc, .coll-intro-txt p:first-child, .quote-in p, .tl-y, .card-name, .cmp tbody th a, .mat-item dt, .story-y { font-variation-settings: "opsz" 28, "wght" 500; }   /* 500 : en 400 la Bodoni est trop maigre pour être lue (Rémy, 09/10) ; l'italique, statique, reste en 400 */

/* ------------------------------------------------------------------ Modules partagés (stock/cookie-consent.php, stock/accessibilite.php)
   Habillage aux couleurs King Koil, sans toucher au module (même méthode qu'Alpha Interior). « Tout accepter » et
   « Tout refuser » gardent le même poids visuel (exigence CNIL). */
html body .slcc-bar { background: var(--ink); color: rgba(255, 255, 255, .86); border-radius: 0; font-family: var(--sans); }
html body .slcc-bar p { font-size: 13px; }
html body .slcc-bar a { color: var(--bronze-l); }
html body .slcc-bar b, html body .slcc-bar strong { color: #fff; font-weight: 600; }   /* sinon la règle globale « b { color: ink } » rend le gras invisible sur le fond sombre */
html body .slcc-card b { color: var(--ink); font-weight: 600; }
html body .slcc-btn { border-radius: 0; font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 14px 16px; }
html body .slcc-bar .slcc-accept, html body .slcc-bar .slcc-refuse { background: #fff; color: var(--ink); }
html body .slcc-bar .slcc-custom { color: #fff; border-color: rgba(255, 255, 255, .45); }
html body .slcc-card { border-radius: 0; font-family: var(--sans); color: var(--text); }
html body .slcc-hd h2 { font: 400 24px/1.2 var(--serif); color: var(--ink); }
html body .slcc-cat { border-radius: 0; border-color: var(--line); }
html body .slcc-cat h3 { color: var(--ink); }
html body .slcc-ft .slcc-btn { background: var(--ink); color: #fff; }
html body .slcc-sw input:checked + .slcc-track { background: var(--ink); }
html body .slcc-sw input:disabled + .slcc-track { background: var(--bronze); }
html body .slcc-lock { color: var(--bronze); }
html body #slcc-fab { color: var(--ink); border-color: var(--line); font-family: var(--sans); }

