/* =========================================================
   BAHORE DISTRIBUTION — feuille de style du site
   Charte : basalte #151412 · ivoire #F3EEE5 · laiton #A6824A
   Titrage Bodoni Moda · texte Jost · formes arrondies
   ========================================================= */
:root {
  --ink: #151412; --ink-2: #1f1d1a; --deep: #0e0c0a;
  --ivory: #f3eee5; --ivory-2: #fbf8f2; --sand: #e9e1d3; --sand-2: #ebe4d6;
  --line: #dcd3c3; --line-strong: #8a8276;
  --muted: #5e584f; --muted-d: #a99f90;
  --brass: #a6824a; --brass-ink: #7a5a28; --brass-l: #d9bf8e; --brass-d: #c2a06a;
  --lagoon: #23474a; --rum: #5b2a1a;
  --on-dark: #f2ece1;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --r-sm: 8px; --r-md: 20px; --r-lg: 28px; --r-xl: 32px;
  --pad: clamp(16px, 3vw, 36px);
  --max: 1416px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
em { font-style: italic; }
h1 em, h2 em, .intro__big em { color: var(--brass-ink); }
main { display: block; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--brass-ink); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 860px; }
.muted { color: var(--muted); }
.kicker { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--brass-ink); }
.kicker--light, .kicker--sand { color: var(--brass-l); }
.text-link { display: inline-block; background: none; border: 0; padding: 8px 0 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--brass); cursor: pointer; }
.text-link:hover { color: var(--brass-ink); }

/* ---------- boutons ---------- */
.pill-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 10px 0 26px; border-radius: 999px; border: 0; text-decoration: none; font-size: 16px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.pill-btn__ico { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pill-btn__ico svg { width: 15px; height: 15px; }
.pill-btn--light { background: var(--on-dark); color: var(--ink); }
.pill-btn--light .pill-btn__ico { background: var(--ink); color: var(--on-dark); }
.pill-btn--light:hover { background: #e9dcc2; }
.pill-btn--dark { background: var(--ink); color: var(--on-dark); }
.pill-btn--dark .pill-btn__ico { background: var(--brass-d); color: var(--ink); }
.pill-btn--dark:hover { background: var(--brass-ink); }
.pill-btn--block { width: 100%; justify-content: space-between; }
.pill-btn[disabled] { opacity: .6; cursor: wait; }
.ghost-btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(242,236,225,.38); background: rgba(242,236,225,.08); color: var(--on-dark); text-decoration: none; font-size: 16px; font-weight: 400; }
.ghost-btn:hover { background: rgba(242,236,225,.18); }
.ghost-btn--dark { min-height: 48px; border-color: var(--line-strong); background: transparent; color: var(--ink); font-size: 15px; }
.ghost-btn--dark:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.round-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--ink); color: var(--on-dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; transition: background-color .2s, transform .2s; }
.round-btn svg { width: 15px; height: 15px; }
.round-btn:hover { background: var(--brass-ink); transform: rotate(90deg); }
.round-btn--ghost { width: 40px; height: 40px; background: transparent; border: 1px solid rgba(242,236,225,.3); color: var(--on-dark); }
.round-btn--ghost svg { width: 12px; height: 12px; }
.round-btn--ghost:hover { background: rgba(242,236,225,.12); transform: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: inherit; flex: 0 0 auto; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--ring { border: 1px solid currentColor; border-color: rgba(21,20,18,.2); }

/* ---------- bandeau + en-tête ---------- */
.announce { background: var(--ink); color: var(--on-dark); text-align: center; font-size: 13px; letter-spacing: .04em; padding: 9px 16px; }
.header { position: relative; z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 18px var(--pad); }
.nav { display: flex; gap: 6px 26px; flex: 1 1 0; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 400; padding: 10px 0 4px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--brass); }
.header__logo { flex: 0 0 auto; display: block; }
.header__logo img { width: 190px; height: auto; }
.logo-light { display: none !important; }
.header__icons { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 1 1 0; }
.header__link { text-decoration: none; font-size: 15px; padding: 10px 8px; }
.header__link:hover, .header__link[aria-current] { color: var(--brass-ink); }
.quote-pill { position: relative; height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: var(--on-dark); text-decoration: none; font-size: 14px; font-weight: 500; }
.quote-pill svg { width: 16px; height: 16px; }
.quote-pill:hover { background: var(--brass-ink); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brass-d); color: var(--ink); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.cart-count[hidden] { display: none; }
.burger { display: none; }
.header--overlay { position: relative; background: transparent; border: 0; color: #e8e0d2; }
.header--overlay .logo-dark { display: none !important; }
.header--overlay .logo-light { display: block !important; }
.header--overlay .nav a:hover { color: #fff; }
.header--overlay .header__link:hover { color: #fff; }
.header--overlay .icon-btn--ring { border-color: rgba(242,236,225,.25); background: rgba(242,236,225,.1); color: var(--on-dark); }
.header--overlay .quote-pill { background: var(--on-dark); color: var(--ink); }
.header--overlay .quote-pill:hover { background: #e9dcc2; }
.mnav { position: fixed; inset: 0; z-index: 60; background: rgba(14,12,10,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav__panel { position: absolute; inset: 12px; border-radius: var(--r-xl); background: var(--ink); color: var(--on-dark); padding: 72px 28px 28px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mnav__panel a { text-decoration: none; font-family: var(--serif); font-size: 30px; line-height: 1.3; padding: 6px 0; }
.mnav__panel a.sub { font-family: var(--sans); font-size: 17px; color: var(--muted-d); }
.mnav__close { position: absolute; top: 16px; right: 16px; color: var(--on-dark); border: 1px solid rgba(242,236,225,.3); }

/* ---------- héros vidéo ---------- */
.is-home main { padding: 12px 12px 0; }
.hero { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--deep); color: var(--on-dark); min-height: min(860px, calc(100vh - 24px)); display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,7,.86) 0%, rgba(10,8,7,.5) 50%, rgba(10,8,7,.18) 100%), linear-gradient(180deg, rgba(10,8,7,.55) 0%, rgba(10,8,7,0) 24%, rgba(10,8,7,0) 58%, rgba(10,8,7,.72) 100%); }
.hero .header { z-index: 3; }
.hero__content { position: relative; z-index: 2; flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 40px clamp(20px, 4vw, 48px) clamp(24px, 4vw, 48px); }
.hero__text { flex: 1 1 520px; max-width: 780px; display: flex; flex-direction: column; gap: 26px; }
.hero__kicker { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brass-l); }
.hero__title { font-size: clamp(2.9rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -0.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.chapters { flex: 0 1 340px; display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 18px; border-radius: 24px; background: rgba(20,16,13,.45); border: 1px solid rgba(242,236,225,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chapters__stage { position: relative; min-height: 66px; }
.chap { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s; }
.chap__label { margin: 0; font-size: 13px; color: #b8ad9c; font-weight: 400; }
.chap__text { margin: 4px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.hero:not([data-chap]) .chap--1, .hero[data-chap="1"] .chap--1, .hero[data-chap="2"] .chap--2, .hero[data-chap="3"] .chap--3 { opacity: 1; transform: none; }
.chapters__bar { display: flex; align-items: center; gap: 10px; }
.chapters__track { flex: 1; height: 3px; border-radius: 3px; background: rgba(242,236,225,.2); overflow: hidden; }
.chapters__fill { display: block; height: 100%; background: var(--brass-l); transform-origin: left; transform: scaleX(0); transition: transform .3s linear; }

/* ---------- intro ---------- */
.intro { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--pad) clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 40px 96px; align-items: flex-start; }
.intro__big { flex: 1 1 560px; margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.22; letter-spacing: -0.01em; }
.intro__side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; padding-top: 12px; }
.intro__side p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* ---------- bento univers ---------- */
.bento { max-width: var(--max); margin: 0 auto clamp(72px, 9vw, 120px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 12px; }
.tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--on-dark); background: var(--ink); isolation: isolate; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tile:hover .tile__media { transform: scale(1.045); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,7,0) 35%, rgba(10,8,7,.8) 100%); }
.tile--wide .tile__shade { background: linear-gradient(90deg, rgba(10,8,7,.82) 0%, rgba(10,8,7,.3) 60%, rgba(10,8,7,.5) 100%); }
.tile__text { position: absolute; left: 30px; bottom: 26px; right: 90px; display: flex; flex-direction: column; gap: 6px; }
.tile__kicker { font-size: 14px; color: #e9dcc2; }
.tile__name { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; }
.tile__go { position: absolute; right: 24px; bottom: 26px; width: 50px; height: 50px; border-radius: 999px; background: var(--on-dark); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.tile__go svg { width: 16px; height: 16px; }
.tile:hover .tile__go { transform: rotate(45deg); }

/* ---------- bloc stations ---------- */
.feature { max-width: var(--max); margin: 0 auto clamp(72px, 9vw, 120px); border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: var(--on-dark); display: flex; flex-wrap: wrap; }
.feature__media { flex: 1 1 520px; min-height: 520px; position: relative; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__text { flex: 1 1 420px; padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; }
.feature__text h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.08; }
.feature__text p { margin: 0; font-size: 17px; line-height: 1.65; color: #c9c0b2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 16px; border-radius: 999px; background: rgba(242,236,225,.08); border: 1px solid rgba(242,236,225,.18); font-size: 14px; font-weight: 400; }

/* ---------- sélection / grilles produits ---------- */
.selection { max-width: var(--max); margin: 0 auto clamp(72px, 9vw, 120px); padding: 0 12px; }
.selection--related { margin-top: clamp(56px, 7vw, 96px); }
.selection__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 12px 36px; }
.selection__head h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.05; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: var(--ivory-2); border-radius: var(--r-lg); padding: 10px; }
.pcard__media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--sand-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 12px; font-weight: 400; }
.pcard__body { padding: 16px 12px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__body > a { text-decoration: none; }
.pcard__name { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; }
.pcard:hover .pcard__name { color: var(--brass-ink); }
.pcard__spec { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; line-height: 1.3; }
.price b { font-size: 17px; font-weight: 500; }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.price--big b { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.price--big small { font-size: 14px; margin-top: 4px; }

/* ---------- citation + pro ---------- */
.duo { max-width: var(--max); margin: 0 auto clamp(72px, 9vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; }
.duo__quote, .duo__pro { border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 420px; }
.duo__quote { background: var(--sand); }
.duo__q { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.25; }
.duo__sign { display: flex; align-items: center; gap: 16px; }
.duo__sign p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.duo__pro { background: var(--lagoon); color: var(--on-dark); align-items: flex-start; }
.duo__pro > div { display: flex; flex-direction: column; gap: 18px; }
.duo__pro h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; }
.duo__pro p { margin: 0; font-size: 17px; line-height: 1.65; color: #d5e2df; }
.duo__pro .kicker--sand { color: #e9dcc2; }

/* ---------- pied de page ---------- */
.footer { margin: 0 12px 12px; border-radius: var(--r-xl); background: var(--ink); color: var(--muted-d); overflow: hidden; }
.footer__inner { max-width: 1280px; margin: 0 auto; padding: 72px var(--pad) 40px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer__brand { flex: 1 1 360px; display: flex; flex-direction: column; gap: 24px; }
.footer__brand > img { width: 220px; height: auto; }
.nl { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.nl label { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brass-l); }
.nl p { margin: 0 0 6px; font-size: 15px; color: var(--muted-d); }
.nl__row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--ink-2); border: 1px solid #6f675c; }
.nl__row input[type="email"] { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark); font-size: 16px; }
.nl__row input::placeholder { color: #8f8677; }
.nl__row input:focus { outline: none; }
.nl__row button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brass-d); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; }
.nl__row button:hover { background: var(--brass-l); }
.nl .ok { color: var(--brass-l); font-family: var(--serif); font-style: italic; font-size: 19px; }
.footer__col { flex: 0 1 200px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; font-weight: 400; }
.footer__col a, .footer__col span { color: #e3dccf; text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__h { margin: 0 0 6px; color: var(--brass-l); font-family: var(--serif); font-style: italic; font-size: 19px; }
.footer__social { display: flex; gap: 14px; }
.footer__legal { max-width: 1280px; margin: 0 auto; padding: 22px var(--pad) 32px; border-top: 1px solid #36312a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; line-height: 1.6; font-weight: 400; }
.footer__legal a { color: var(--muted-d); text-decoration: none; }
.footer__legal a:hover { color: var(--on-dark); }

/* ---------- catégories ---------- */
main > .cat-hero, main > .page, main > .wrap, main > .selection { }
.cat-hero { position: relative; margin: 12px 12px 0; border-radius: var(--r-xl); overflow: hidden; min-height: 340px; background: var(--ink); color: var(--on-dark); display: flex; align-items: flex-end; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,7,.82) 0%, rgba(10,8,7,.35) 60%, rgba(10,8,7,.15) 100%); }
.cat-hero__text { position: relative; padding: clamp(28px, 4vw, 48px); }
.cat-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); padding: 28px 0 18px; font-weight: 400; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass-ink); }
.crumbs [aria-current] { color: var(--ink); }
.cat-intro { max-width: 760px; margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.cat-chip { min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 15px; font-weight: 400; }
.cat-chip:hover { border-color: var(--ink); }
.cat-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.empty-note { padding: 40px; border-radius: var(--r-lg); background: var(--ivory-2); color: var(--muted); text-align: center; }
.cta-band { margin: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--sand); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.cta-band p { margin: 8px 0 0; color: var(--muted); }
section.cta-band.wrap { max-width: 1232px; }

/* ---------- fiche produit ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--sand-2); border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.gallery button:first-child { grid-column: 1 / -1; border-radius: var(--r-lg); }
.gallery--one { grid-template-columns: 1fr; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pinfo h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.05; }
.pinfo__spec { margin: 0; color: var(--muted); font-weight: 400; }
.pinfo__sku { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.pinfo__intro { font-size: 17px; line-height: 1.65; }
.pinfo__intro p { margin: 0 0 12px; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ivory-2); }
.qty button { width: 46px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 999px; }
.qty input { width: 48px; border: 0; background: none; text-align: center; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.accs { width: 100%; margin-top: 10px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-size: 20px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 22px; color: var(--brass-ink); transition: transform .2s; }
.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc__body { padding: 0 0 20px; color: #3a3630; line-height: 1.7; }
.acc__body p { margin: 0 0 10px; }
.reassure { list-style: none; margin: 10px 0 0; padding: 18px 20px; width: 100%; border-radius: var(--r-md); background: var(--ivory-2); display: grid; gap: 10px; font-size: 15px; font-weight: 400; }
.reassure li { display: flex; gap: 12px; align-items: center; }
.reassure svg { width: 22px; height: 22px; color: var(--brass-ink); flex: 0 0 auto; }

/* ---------- textes riches ---------- */
.tb-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.tb-list li { position: relative; padding-left: 20px; }
.tb-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 999px; background: var(--brass); }
.tb-sub-title { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 16px 0 6px; }
.bh-badge, .tb-vehicle-badge { display: inline-block; padding: 4px 12px; margin: 0 4px 6px 0; border-radius: 999px; background: var(--sand); font-size: 14px; }

/* ---------- pages de contenu ---------- */
body:not(.is-home) main { padding-bottom: clamp(56px, 7vw, 96px); }
.page { padding-bottom: 0; }
.page-banner { margin: 12px 12px 0; border-radius: var(--r-xl); overflow: hidden; height: clamp(220px, 32vw, 420px); background: var(--ink); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-text { max-width: 860px; margin: 0 auto; padding: 8px var(--pad) 24px; font-size: 17px; line-height: 1.75; }
.page-text h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.05; margin: 0 0 20px; }
.page-text h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 44px 0 14px; }
.page-text p { margin: 0 0 16px; }
.page-text .lead { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.45; margin-bottom: 26px; }
.page-text a { color: var(--brass-ink); }
.tb-legal-date { color: var(--muted); font-size: 14px; }
.faq { padding-top: 10px; }

/* ---------- formulaires ---------- */
.panel { background: var(--ivory-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.form-card h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 6px; }
.form-card > .muted { margin: 0 0 22px; font-size: 15px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.field i, .muted i { color: var(--brass-ink); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 16px; font-weight: 400; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23151412' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }
.field textarea { min-height: 120px; padding: 14px 18px; border-radius: var(--r-md); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(166,130,74,.25); }
.field[hidden] { display: none; }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-weight: 400; }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { margin-top: 4px; accent-color: var(--ink); }
.choice span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); line-height: 1.45; }
.choice b { color: var(--ink); font-weight: 500; font-size: 15px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 14px; font-weight: 400; cursor: pointer; }
.checks label:has(input:checked) { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.checks input { accent-color: var(--brass); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; }
.consent input { margin-top: 4px; accent-color: var(--ink); }
.form-msg:empty { display: none; }
.form-msg.err { padding: 12px 16px; border-radius: var(--r-sm); background: #f6e3dc; color: #7a2814; font-weight: 400; }
.form-msg a { color: inherit; text-decoration: underline; }

/* ---------- page devis ---------- */
.is-quote main { padding-bottom: 80px; }
.quote { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; padding-top: 40px; }
.quote h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.04; margin-bottom: 18px; }
.quote__lead { max-width: 640px; font-size: 17px; color: var(--muted); margin: 0 0 24px; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; padding: 16px 18px; border-radius: var(--r-md); background: var(--sand); font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.steps b { color: var(--ink); font-weight: 500; font-size: 15px; }
.steps b::before { content: counter(s) " · "; color: var(--brass-ink); }
.quote__sum { position: sticky; top: 24px; }
.quote__sum h2 { font-size: 28px; margin-bottom: 14px; }
.sumrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 500; }
.sumrow strong { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.sumrow--muted { border: 0; padding-top: 4px; margin-top: 0; color: var(--muted); font-weight: 400; font-size: 14px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-of-type { border-bottom: 0; }
.line img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--sand-2); }
.line__title { font-family: var(--serif); font-size: 17px; line-height: 1.3; text-decoration: none; display: block; }
.line__price { font-size: 13px; color: var(--muted); margin: 2px 0 8px; font-weight: 400; }
.line__total { font-weight: 500; font-size: 15px; white-space: nowrap; }
.line .qty { height: 38px; }
.line .qty button { width: 34px; font-size: 16px; }
.line .qty input { width: 34px; font-size: 14px; }
.line__rm { margin-left: 10px; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.drawer__note { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 12px 0; font-weight: 400; }
.success { max-width: 720px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--pad); text-align: center; }
.success h1, .success h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: 16px; }
.success > p { color: var(--muted); font-size: 17px; }
.success__mark { margin: 0 auto 18px; }
.success__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.success--inline { padding: 24px 0; }
.ref { display: inline-block; margin: 14px 0 22px; padding: 8px 18px; border-radius: 999px; background: var(--sand); font-weight: 500; letter-spacing: .04em; }
.devis-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.devis-note { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- tiroir, recherche, toast, lightbox ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(14,12,10,.5); opacity: 0; transition: opacity .25s; }
.drawer__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); background: var(--ivory); border-radius: var(--r-xl); display: flex; flex-direction: column; transform: translateX(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1); overflow: hidden; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px 28px; }
.drawer__head .h3, .h3 { font-size: 26px; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 28px; }
.drawer__foot { padding: 16px 28px 26px; border-top: 1px solid var(--line); background: var(--ivory-2); }
.drawer__foot[hidden] { display: none; }
.empty { text-align: center; padding: 48px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty p { margin: 0 0 12px; color: var(--muted); }
.search { position: fixed; inset: 0; z-index: 80; background: rgba(14,12,10,.55); display: flex; justify-content: center; align-items: flex-start; padding: 80px 16px; }
.search[hidden] { display: none; }
.search__box { width: min(640px, 100%); background: var(--ivory); border-radius: var(--r-lg); overflow: hidden; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); }
.search__bar > svg { width: 20px; height: 20px; color: var(--muted); }
.search__bar input { flex: 1; border: 0; background: none; font-size: 18px; min-height: 44px; }
.search__bar input:focus { outline: none; }
.search__res { max-height: 60vh; overflow-y: auto; }
.search__res a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 22px; text-decoration: none; }
.search__res a:hover { background: var(--ivory-2); }
.search__res img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.search__res span { font-family: var(--serif); font-size: 17px; }
.search__res b { font-weight: 500; font-size: 14px; }
.search__none { padding: 22px; color: var(--muted); margin: 0; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 90; transform: translate(-50%, 140%); display: flex; gap: 16px; align-items: center; max-width: calc(100% - 24px); padding: 12px 14px 12px 22px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 15px; transition: transform .3s; }
.toast.is-on { transform: translate(-50%, 0); }
.toast a { color: var(--brass-l); white-space: nowrap; font-weight: 500; text-decoration: none; padding: 6px 10px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(14,12,10,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: var(--r-md); }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; color: var(--on-dark); border-color: rgba(242,236,225,.3); }
.admin-edit { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--brass-d); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__link { display: none; }
  .burger { display: inline-flex; }
  .header__inner { padding-top: 14px; padding-bottom: 14px; }
  .header__logo img { width: 160px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 12px; }
  .tile--wide { grid-column: span 2; }
}
@media (max-width: 860px) {
  .product, .quote { grid-template-columns: 1fr; }
  .pinfo, .quote__sum { position: static; }
  .quote__sum { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .chapters { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile--tall { grid-row: span 1; }
  .tile--wide { grid-column: auto; }
  .form, .choice { grid-template-columns: 1fr; }
  .quote-pill__label { display: none; }
  .quote-pill { padding: 0 14px; }
  .header__logo img { width: 132px; }
  .hero__kicker { font-size: 18px; }
  .pill-btn, .ghost-btn { font-size: 15px; }
  .feature__media { min-height: 300px; flex-basis: 100%; }
  .selection { padding: 0; }
  .selection__head { padding: 0 var(--pad) 28px; }
  .pgrid { padding: 0 12px; }
  .wrap .pgrid { padding: 0; }
  .duo { padding: 0 12px; }
  .feature { margin-left: 12px; margin-right: 12px; }
  .intro { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- bannières partenaires ---------- */
.ads { max-width: var(--max); margin: 0 auto clamp(72px, 9vw, 120px); padding: 0 12px; }
.ads__label { margin: 0 12px 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ads__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.ad { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 340px; border-radius: var(--r-xl); overflow: hidden; text-decoration: none; isolation: isolate; }
.ad--light { background: var(--ivory-2); color: var(--ink); border: 1px solid var(--line); }
.ad--dark { background: #12100e; color: var(--on-dark); }
.ad__media { position: relative; overflow: hidden; }
.ad__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.ad:hover .ad__media img { transform: scale(1.05); }
.ad__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 3vw, 40px); justify-content: center; }
.ad__kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--brass-ink); }
.ad--dark .ad__kicker { color: var(--brass-l); }
.ad__name { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.ad__title { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--brass-ink); }
.ad--dark .ad__title { color: var(--brass-l); }
.ad__desc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.ad--dark .ad__desc { color: #c9c0b2; }
.ad__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; background: var(--ink); color: var(--on-dark); }
.ad--dark .ad__cta { background: var(--on-dark); color: var(--ink); }
.ad__ico { width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--brass-d); color: var(--ink); transition: transform .3s; }
.ad__ico svg { width: 13px; height: 13px; }
.ad:hover .ad__ico { transform: rotate(45deg); }
.ads--compact .ad { min-height: 230px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.ads--one { max-width: 1240px; margin-top: clamp(56px, 7vw, 96px); }
.ads--one .ad { min-height: 230px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
section.wrap + .ads { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 640px) { .ad, .ads--compact .ad, .ads--one .ad { grid-template-columns: 1fr; } .ad__media { min-height: 180px; } }
