/* RIVA HOME — galerie méditerranéenne */
:root {
  --ivoire: #F7F4EF;
  --sable: #EFE7DA;
  --sable-2: #E6DAC6;
  --travertin: #D8C3A5;
  --laiton: #B08D57;
  --laiton-2: #9A7A47;
  --bronze: #8A6A4A;
  --espresso: #2B2420;
  --ink: #1F1A17;
  --muted: #6E6259;
  --line: rgba(43, 36, 32, .14);
  --line-light: rgba(247, 244, 239, .22);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivoire); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-transform: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--espresso); color: var(--ivoire); padding: 10px 16px; }
.skip:focus { top: 12px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 6.2vw, 92px); }
h2 { font-size: clamp(34px, 4.2vw, 60px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); }
p { margin: 0 0 1em; }
em { font-style: italic; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bronze); display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--travertin); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 62ch; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(72px, 10vw, 150px) 0; }
.section.tight { padding: clamp(48px, 6vw, 90px) 0; }
.bg-sable { background: var(--sable); }
.bg-dark, .on-dark { background: var(--espresso); color: var(--ivoire); }
.on-dark .lead, .bg-dark .lead { color: rgba(247, 244, 239, .72); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--laiton); color: #fff; }
.btn-gold:hover { background: var(--laiton-2); }
.btn-dark { background: var(--espresso); color: var(--ivoire); }
.btn-dark:hover { background: #000; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--ink); color: var(--ivoire); border-color: var(--ink); }
.on-dark .btn-line:hover, .hero .btn-line:hover { background: var(--ivoire); color: var(--ink); border-color: var(--ivoire); }
.btn-wa { background: #1f7a4d; color: #fff; }
.btn-wa:hover { background: #17633e; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- en-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  color: var(--ivoire); transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.header.solid, .header.is-light { background: rgba(247, 244, 239, .94); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.hide { transform: translateY(-100%); }
.header-in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); align-items: center; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.nav a, .nav button { position: relative; padding: 8px 0; }
.nav a::after, .nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav button:hover::after, .nav [aria-expanded="true"]::after { transform: scaleX(1); }
.nav-right { justify-content: flex-end; }
.logo { display: block; width: 132px; height: 47px; position: relative; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.logo .l-dark { opacity: 0; }
.header.solid .logo .l-dark, .header.is-light .logo .l-dark { opacity: 1; }
.header.solid .logo .l-light, .header.is-light .logo .l-light { opacity: 0; }
.quote-btn { display: inline-flex; align-items: center; gap: 10px; }
.quote-btn .count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--laiton); color: #fff; font-size: 11px; display: inline-grid; place-items: center; padding: 0 6px; letter-spacing: 0; }
.quote-btn .count[data-n="0"] { background: transparent; border: 1px solid currentColor; color: inherit; }
.m-quote { display: none; position: relative; width: 44px; height: 44px; align-items: center; justify-content: center; }
.m-quote svg { width: 24px; height: 24px; }
.m-quote .count { position: absolute; top: 2px; right: 0; transform: scale(.85); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }

.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--ivoire); color: var(--ink);
  border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(43, 36, 32, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding: 44px var(--gut) 52px; max-width: var(--wrap); margin: 0 auto; }
.mega h4 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0 0 18px; }
.mega ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.mega li { break-inside: avoid; }
.mega li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mega li a small { color: var(--muted); font-size: 12px; }
.mega li a:hover { color: var(--bronze); }
.mega-card { position: relative; overflow: hidden; aspect-ratio: 4/5; color: var(--ivoire); }
.mega-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega-card:hover img { transform: scale(1.05); }
.mega-card span { position: absolute; left: 22px; bottom: 20px; font-family: var(--serif); font-size: 28px; }
.mega-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .45)); }
.mega-card span { z-index: 1; }

/* menu mobile */
.drawer-nav { position: fixed; inset: 0; z-index: 120; background: var(--ivoire); color: var(--ink); transform: translateX(-100%); transition: transform .5s var(--ease); overflow-y: auto; padding: 24px var(--gut) 120px; }
.drawer-nav.open { transform: none; }
.drawer-nav .close { position: absolute; right: 16px; top: 18px; width: 44px; height: 44px; font-size: 30px; line-height: 1; }
.drawer-nav h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin: 32px 0 8px; font-weight: 500; }
.drawer-nav a { display: block; font-family: var(--serif); font-size: 27px; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivoire); overflow: hidden; background: var(--espresso); }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(25, 19, 15, .72) 0%, rgba(25, 19, 15, .42) 42%, rgba(25, 19, 15, .08) 72%), linear-gradient(0deg, rgba(25, 19, 15, .6) 0%, transparent 45%), linear-gradient(180deg, rgba(25, 19, 15, .45) 0%, transparent 22%); }
.hero-in { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); padding-top: calc(var(--header-h) + 40px); }
.hero h1 { max-width: 13ch; font-weight: 300; }
.hero h1 em { color: #E8D3AE; }
.hero .lead { color: rgba(247, 244, 239, .82); margin: 26px 0 38px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { position: absolute; right: var(--gut); bottom: clamp(56px, 9vh, 110px); z-index: 2; text-align: right; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 244, 239, .78); display: grid; gap: 10px; }
.hero-meta strong { font-family: var(--serif); font-size: 26px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ivoire); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 1px; height: 54px; background: rgba(247, 244, 239, .35); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ivoire); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: var(--ivoire); overflow: hidden; background: var(--espresso); }
.page-hero.short { min-height: 54svh; }
.page-hero .hero-in { padding-bottom: clamp(44px, 7vh, 80px); }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 80px); max-width: 16ch; }
.page-hero .lead { color: rgba(247, 244, 239, .85); margin-top: 18px; }
.plain-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(36px, 5vw, 64px); background: var(--sable); }
.plain-hero h1 { font-size: clamp(40px, 5vw, 76px); max-width: 18ch; }

.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; opacity: .85; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- blocs ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.media-frame { position: relative; overflow: hidden; }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4/5; } .ratio-32 { aspect-ratio: 3/2; } .ratio-169 { aspect-ratio: 16/9; } .ratio-11 { aspect-ratio: 1; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { max-width: 16ch; }
.section-head p { max-width: 44ch; color: var(--muted); margin: 0; }

.univers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.5vw, 22px); }
.u-card { position: relative; overflow: hidden; aspect-ratio: 4/5; color: var(--ivoire); display: flex; align-items: flex-end; }
.u-card video, .u-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.u-card:hover img, .u-card:hover video { transform: scale(1.04); }
.u-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(20, 15, 12, .7)); }
.u-card .u-txt { position: relative; z-index: 1; padding: clamp(24px, 3.5vw, 48px); }
.u-card h3 { font-size: clamp(34px, 3.6vw, 54px); margin-bottom: 12px; }
.u-card p { color: rgba(247, 244, 239, .8); max-width: 38ch; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.cat-tile { position: relative; overflow: hidden; aspect-ratio: 3/4; color: var(--ivoire); display: flex; align-items: flex-end; background: var(--espresso); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(20, 15, 12, .72)); }
.cat-tile div { position: relative; z-index: 1; padding: 22px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.cat-tile h3 { font-size: clamp(22px, 2vw, 28px); }
.cat-tile small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; white-space: nowrap; }

/* cartes produit */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 26px); }
.p-card { position: relative; display: flex; flex-direction: column; }
.p-card .p-img { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.p-card .p-img .amb { position: absolute; inset: 0; object-fit: cover; opacity: 0; }
.p-card:hover .p-img .amb { opacity: 1; }
.p-card:hover .p-img img:first-child { transform: scale(1.04); }
.p-card .p-body { padding: 16px 2px 0; display: grid; gap: 4px; }
.p-card .p-ref { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); font-weight: 500; }
.p-card h3 { font-size: 22px; line-height: 1.15; }
.p-card .p-fin { display: flex; gap: 6px; margin-top: 6px; }
.p-card .p-add {
  position: absolute; right: 10px; top: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(247, 244, 239, .92);
  display: grid; place-items: center; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s, background .3s;
}
.p-card:hover .p-add, .p-card .p-add:focus-visible, .p-card .p-add.added { opacity: 1; transform: none; }
.p-card .p-add.added { background: var(--laiton); color: #fff; }
.p-card .p-add svg { width: 18px; height: 18px; }
.p-card a.p-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card .badge { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--espresso); color: var(--ivoire); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); display: inline-block; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); padding: 9px 16px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--ivoire); border-color: var(--ink); }
.filters .count { margin-left: auto; color: var(--muted); font-size: 14px; }

/* chiffres / promesses */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar + .pillar { padding-left: 28px; }
.pillar .n { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--bronze); margin-bottom: 14px; }
.pillar h3 { font-size: 24px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.on-dark .pillars, .on-dark .pillar { border-color: var(--line-light); }
.on-dark .pillar p { color: rgba(247, 244, 239, .7); }
.on-dark .pillar .n { color: var(--travertin); }

/* finitions */
.fin-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.fin { display: block; }
.fin .fin-img { aspect-ratio: 1; overflow: hidden; }
.fin img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fin:hover img { transform: scale(1.06); }
.fin span { display: block; margin-top: 12px; font-family: var(--serif); font-size: 22px; }

/* bandeau citation */
.statement { text-align: center; max-width: 980px; margin: 0 auto; }
.statement p.serif { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.18; font-weight: 300; }

/* CTA */
.cta-band { position: relative; overflow: hidden; color: var(--ivoire); background: var(--espresso); }
.cta-band > img, .cta-band > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band .wrap { position: relative; z-index: 1; padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(80px, 11vw, 160px); }
.cta-band h2 { max-width: 15ch; }
.cta-band .lead { color: rgba(247, 244, 239, .85); margin: 22px 0 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* showrooms */
.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 30px); }
.sr-card .media-frame { aspect-ratio: 3/2; margin-bottom: 24px; }
.sr-card h3 { font-size: 36px; margin-bottom: 10px; }
.sr-card dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 18px 0 26px; font-size: 15.5px; }
.sr-card dt { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.sr-card dd { margin: 0; }
.todo { background: #fff3cd; color: #6b5200; padding: 1px 6px; font-size: .92em; border-radius: 2px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-family: var(--sans); font-weight: 300; font-size: 28px; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 26px; color: var(--muted); max-width: 76ch; }
.on-dark .faq, .on-dark .faq details { border-color: var(--line-light); }
.on-dark .faq .a { color: rgba(247, 244, 239, .72); }

/* fiche produit */
.pdp { padding-top: calc(var(--header-h) + 28px); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { aspect-ratio: 1; background: #fff; border: 1px solid transparent; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { border-color: var(--ink); }
.stage { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.stage img.cover { object-fit: cover; }
.stage.zoom { cursor: zoom-out; }
.stage.zoom img { transform: scale(2); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pdp-info .crumbs { color: var(--muted); opacity: 1; }
.pdp-info .p-ref { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: 500; }
.pdp-info h1 { font-size: clamp(36px, 3.6vw, 56px); margin: 10px 0 18px; }
.pdp-info .lead { font-size: 18px; }
.opt { margin: 26px 0 0; }
.opt-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 12px; display: flex; justify-content: space-between; }
.opt-label span:last-child { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 300; font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); padding: 3px; background-clip: content-box; box-shadow: inset 0 0 0 3px var(--ivoire); }
.swatches button.on { border-color: var(--ink); }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variants button { border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; text-align: left; }
.variants button small { display: block; color: var(--muted); font-size: 12px; }
.variants button.on { border-color: var(--ink); background: #fff; }
.qty { display: inline-flex; border: 1px solid var(--line); height: 54px; }
.qty button { width: 46px; font-size: 20px; }
.qty input { width: 52px; border: 0; text-align: center; font: inherit; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 28px; }
.buy-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.price-note { margin-top: 20px; padding: 18px 20px; background: var(--sable); font-size: 15px; color: var(--muted); display: flex; gap: 14px; }
.price-note strong { color: var(--ink); font-weight: 500; }
.assure { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; font-size: 15px; }
.assure li { display: flex; gap: 14px; align-items: flex-start; }
.assure svg { width: 22px; height: 22px; color: var(--bronze); flex: none; margin-top: 2px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 500; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-right: 18px; }
.pdp-sec { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.pdp-sec h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 28px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); }
.fiche-img { background: #fff; border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); text-align: left; }
.cmp th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cmp td a { border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }

/* panneau devis */
.qd-backdrop { position: fixed; inset: 0; z-index: 130; background: rgba(20, 15, 12, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.qd-backdrop.open { opacity: 1; visibility: visible; }
.qd { position: fixed; right: 0; top: 0; bottom: 0; z-index: 140; width: min(470px, 100%); background: var(--ivoire); transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
.qd.open { transform: none; }
.qd-head { padding: 26px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.qd-head h2 { font-size: 32px; }
.qd-head button { font-size: 30px; width: 44px; height: 44px; }
.qd-body { flex: 1; overflow-y: auto; padding: 10px 28px; }
.qd-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.qd-item img { width: 76px; height: 76px; object-fit: contain; background: #fff; }
.qd-item .t { font-family: var(--serif); font-size: 20px; line-height: 1.15; }
.qd-item .m { font-size: 13px; color: var(--muted); }
.qd-item .rm { font-size: 12px; text-decoration: underline; color: var(--muted); }
.qd-empty { padding: 40px 0; color: var(--muted); }
.qd-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 150; transform: translate(-50%, 20px); background: var(--espresso); color: var(--ivoire); padding: 14px 22px; font-size: 14px; opacity: 0; transition: all .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* formulaires */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 14px 16px; border-radius: 0; min-height: 52px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--laiton); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { text-transform: none; letter-spacing: 0; font-weight: 300; font-size: 15px; border: 1px solid var(--line); padding: 11px 16px; background: #fff; cursor: pointer; margin: 0; }
.radio-row input { position: absolute; opacity: 0; }
.radio-row input:checked + span { font-weight: 500; }
.radio-row label:has(input:checked) { border-color: var(--ink); }
.form-note { font-size: 13px; color: var(--muted); }
.steps { display: flex; gap: 8px; margin-bottom: 28px; }
.steps span { flex: 1; height: 2px; background: var(--line); }
.steps span.on { background: var(--laiton); }
.quote-list { border: 1px solid var(--line); background: #fff; padding: 6px 18px; margin-bottom: 8px; }
.quote-list .qd-item:last-child { border-bottom: 0; }

/* article */
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; }
.prose h2 { font-size: clamp(30px, 3vw, 42px); margin: 54px 0 18px; }
.prose h3 { margin: 34px 0 12px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose .answer { font-size: 21px; border-left: 2px solid var(--laiton); padding-left: 22px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 20px 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 11px 10px 11px 0; text-align: left; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.j-card .media-frame { aspect-ratio: 3/2; margin-bottom: 18px; }
.j-card h3 { margin: 8px 0; }
.j-card p { color: var(--muted); font-size: 15.5px; }

/* pied de page */
.footer { background: var(--espresso); color: rgba(247, 244, 239, .78); padding: clamp(64px, 8vw, 110px) 0 120px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer h4 { color: var(--ivoire); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--ivoire); }
.footer .f-logo { width: 150px; height: auto; aspect-ratio: 900 / 320; object-fit: contain; margin-bottom: 22px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: 13px; }

/* barre mobile + whatsapp flottant */
.mbar { display: none; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #1f7a4d; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .3s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* révélation au défilement */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .fin-row { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(25, 19, 15, .82) 0%, rgba(25, 19, 15, .45) 55%, rgba(25, 19, 15, .3) 100%); }
  .nav { display: none; }
  .burger, .m-quote { display: inline-flex; }
  .header-in { grid-template-columns: 44px 1fr 44px; }
  .logo { width: 104px; height: 37px; margin: 0 auto; }
  .split, .split.wide-left, .two-col, .sr-grid, .pdp-grid { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 72px; order: 2; overflow-x: auto; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-meta { display: none; }
  .mega { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    background: var(--ivoire); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
  .mbar a svg { width: 20px; height: 20px; }
  .mbar a.devis { background: var(--laiton); color: #fff; }
  .wa-float { display: none; }
  .toast { bottom: 84px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .univers { grid-template-columns: 1fr; }
  .u-card { aspect-ratio: 4/5; }
  .p-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-card h3 { font-size: 18px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .fin-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fin span { font-size: 17px; }
  .form { grid-template-columns: 1fr; }
  .buy { grid-template-columns: 1fr; }
  .qty { width: 100%; justify-content: space-between; }
  .buy-2 { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .hero-ctas .btn, .cta-actions .btn { width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
  .on-dark .pillar { border-color: var(--line-light); }
  .sr-card dl { grid-template-columns: 1fr; gap: 2px; }
  .sr-card dd { margin-bottom: 10px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .filters .count { display: none; }
  .chip { white-space: nowrap; }
}
.price-note svg { width: 26px; height: 26px; flex: none; color: var(--bronze); }
.cta-actions .btn svg, .buy-2 .btn svg { width: 18px; height: 18px; }
