/* ==========================================================================
   KB Menuiserie — feuille de style principale
   Direction « Anthracite » (Claude Design, 2026). Mobile-first, sans framework.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink-950: #17191b;
  --ink-900: #1d1f22;
  --ink-800: #25282c;
  --ink-750: #3d4046;
  --ink-700: #33363b;
  --ink-600: #44474d;
  --paper: #ece6dd;
  --stone-200: #bdb7ad;
  --stone-400: #8d8a84;
  --brass: #d9a441;
  --brass-hover: #e8b95c;
  --success: #7fc28a;
  --error: #e8896b;

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --fs-display: clamp(52px, 8vw, 96px);
  --fs-h1: clamp(40px, 6.2vw, 76px);
  --fs-h2: clamp(32px, 4.2vw, 52px);
  --fs-h3: clamp(26px, 3.2vw, 40px);
  --fs-lead: 17px;

  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 120px);
  --header-h: 69px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass-hover); }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brass); color: var(--ink-900); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--ink-900); }

/* ---------- 3. Typographie ---------- */
.label { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.label--muted { color: var(--stone-400); }
.label--sm { font-size: 11px; }
.h1 { font-size: var(--fs-h1); font-weight: 700; line-height: .98; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; margin: 0; }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.display { font-size: var(--fs-display); font-weight: 800; line-height: .9; letter-spacing: -.04em; text-transform: uppercase; margin: 0; hyphens: manual; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--stone-200); }
.lead p { margin: 0; }
.stack { display: flex; flex-direction: column; }
.gap-14 { gap: 14px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

/* ---------- 4. Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  font: 700 16px var(--sans); line-height: 1.2; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--brass); color: var(--ink-900); }
.btn--primary:hover { background: var(--brass-hover); color: var(--ink-900); }
.btn--secondary { background: transparent; color: var(--paper); border-color: rgba(236, 230, 221, .5); font-weight: 600; }
.btn--secondary:hover { background: rgba(236, 230, 221, .1); color: var(--paper); }
.btn--dark { background: var(--ink-900); color: var(--paper); }
.btn--dark:hover { background: var(--ink-700); color: var(--paper); }
.btn--outline-dark { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-900); font: 500 16px var(--mono); }
.btn--outline-dark:hover { background: rgba(29, 31, 34, .08); color: var(--ink-900); }
.btn--ghost { border-color: var(--ink-600); font-weight: 600; }
.btn--ghost:hover { border-color: var(--brass); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-mono { font: 500 13px var(--mono); border-bottom: 1px solid var(--brass); padding-bottom: 3px; letter-spacing: .02em; }
.link-brass { color: var(--brass); font-weight: 600; border-bottom: 1px solid var(--brass); padding-bottom: 3px; align-self: flex-start; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(29, 31, 34, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-700);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px var(--gutter); min-height: 68px; }
.site-header__logo img { height: 40px; width: auto; }
.nav-desktop, .header-actions { display: none; }
.nav-desktop { gap: 32px; font-size: 15px; font-weight: 500; align-items: center; }
.nav-desktop a.is-active, .nav-desktop .is-active { color: var(--brass); }
.nav-desktop__toggle { background: none; border: 0; padding: 0; cursor: pointer; display: flex; gap: 6px; align-items: center; font-weight: 500; }
.nav-desktop__toggle:hover { color: var(--brass-hover); }
.nav-desktop__caret { font-size: 10px; transition: transform .2s; }
.nav-desktop__toggle[aria-expanded="true"] .nav-desktop__caret { transform: rotate(180deg); }
.header-actions { align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--ink-600); font: 14px var(--mono); transition: border-color .2s; white-space: nowrap; }
.header-phone:hover { border-color: var(--brass); color: var(--paper); }
.header-phone span { color: var(--brass); }
.header-cta { background: var(--brass); color: var(--ink-900); padding: 12px 20px; font-weight: 700; font-size: 14px; transition: background .2s; white-space: nowrap; }
.header-cta:hover { background: var(--brass-hover); color: var(--ink-900); }
.header-mobile { display: flex; gap: 8px; }
.header-mobile__menu { border: 0; cursor: pointer; min-height: 44px; padding: 0 18px; background: var(--paper); color: var(--ink-900); font: 700 14px var(--sans); }

/* Méga-menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink-800); border-bottom: 1px solid var(--ink-700);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
  padding: 36px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 32px;
}
.mega[hidden] { display: none; }
.mega__col { display: flex; flex-direction: column; gap: 12px; }
.mega__title { font: 11px var(--mono); color: var(--brass); letter-spacing: .1em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--ink-700); }
.mega__col a { font-size: 16px; font-weight: 500; transition: color .15s; }
.mega__promo { position: relative; min-height: 170px; overflow: hidden; display: block; background: var(--ink-700); }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.mega__promo span { position: absolute; inset: 0; padding: 18px; display: flex; align-items: flex-end; background: linear-gradient(180deg, transparent 30%, rgba(20, 21, 23, .9)); font-weight: 700; font-size: 18px; color: var(--paper); }

/* Tiroir mobile */
.drawer {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  overflow-y: auto; background: var(--ink-900);
  padding: 20px 20px 140px; display: flex; flex-direction: column; gap: 28px;
}
.drawer[hidden] { display: none; }
.drawer__big { font-size: 26px; font-weight: 700; }
.drawer__big.is-active { color: var(--brass); }
.drawer__group { display: flex; flex-direction: column; }
.drawer__group .mega__title { border: 0; padding-bottom: 6px; }
.drawer__group a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink-700); font-size: 18px; font-weight: 500; }
.drawer__group a::after { content: '→'; color: var(--stone-400); }
body.drawer-open { overflow: hidden; }

/* Barre d'appel fixe (mobile) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 24px rgba(0, 0, 0, .3); }
.callbar a { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: env(safe-area-inset-bottom); }
.callbar__call { background: var(--ink-800); border-top: 1px solid var(--ink-700); }
.callbar__call small { font: 10px var(--mono); color: var(--brass); letter-spacing: .08em; }
.callbar__call strong { font-size: 15px; }
.callbar__quote { background: var(--brass); color: var(--ink-900); font-weight: 700; font-size: 15px; }
.callbar__quote:hover { color: var(--ink-900); }
body { padding-bottom: 58px; }

@media (min-width: 1000px) {
  .nav-desktop, .header-actions { display: flex; }
  .header-mobile, .drawer, .callbar { display: none !important; }
  body { padding-bottom: 0; }
}
@media (min-width: 1000px) and (max-width: 1180px) {
  .nav-desktop { gap: 22px; }
}

/* ---------- 6. Sections communes ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--ink-800); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font: 12px var(--mono); color: var(--stone-200); margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; }
.breadcrumb [aria-current] { color: var(--brass); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); overflow: hidden; display: flex; }
.hero--product { min-height: min(72vh, 620px); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink-700); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 21, 23, .92) 0%, rgba(20, 21, 23, .62) 55%, rgba(20, 21, 23, .2) 100%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding: 120px var(--gutter) clamp(40px, 6vw, 72px); display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; max-width: 980px; }
.hero--product .hero__inner { padding-top: 56px; justify-content: space-between; gap: 48px; max-width: none; }
.hero__content { display: flex; flex-direction: column; gap: 24px; max-width: 880px; }
.hero__sub { margin: 0; color: var(--stone-200); font-size: 17px; }
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(180deg, rgba(20, 21, 23, .55) 0%, rgba(20, 21, 23, .92) 70%); }
}

/* VOUS — L'ARTISAN */
.direct { display: flex; align-items: center; gap: 12px; margin-top: 12px; font: 13px var(--mono); }
.direct span:first-child { padding: 10px 14px; border: 1px solid var(--ink-600); }
.direct i { flex: 1; max-width: 140px; height: 1px; background: var(--brass); }
.direct span:last-child { padding: 10px 14px; background: var(--brass); color: var(--ink-900); }

/* Grilles à filets 1px */
.grid-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--ink-700); border: 1px solid var(--ink-700); }

.grid-lines--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-lines--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-lines--3 { grid-template-columns: repeat(3, 1fr); } }

/* Carte univers */
.card-u { position: relative; height: clamp(220px, 26vw, 300px); overflow: hidden; background: var(--ink-900); display: block; color: var(--paper); }
.card-u img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .4s, transform .7s var(--ease); }
.card-u:hover img, .card-u:focus-visible img { opacity: .85; transform: scale(1.03); }
.card-u:hover { color: var(--paper); }
.card-u__body { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; background: linear-gradient(180deg, rgba(20, 21, 23, 0) 35%, rgba(20, 21, 23, .88)); }
.card-u__n { font: 12px var(--mono); color: var(--brass); }
.card-u__t { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; display: block; }
.card-u__s { font-size: 14px; color: var(--stone-200); display: block; margin-top: 4px; }
.card-u--cta { background: var(--brass); color: var(--ink-900); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: background .2s; }
.card-u--cta:hover { background: var(--brass-hover); color: var(--ink-900); }
.card-u--cta .card-u__n { color: var(--ink-900); }
.card-u--cta div { display: flex; justify-content: space-between; align-items: flex-end; }

/* Carrousel réalisations */
.rail { display: flex; gap: 16px; padding: 0 var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent; }
.rail__item { flex: none; width: min(78vw, 400px); display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; color: var(--paper); }
.rail__item:hover { color: var(--paper); }
.rail__img { overflow: hidden; background: var(--ink-700); }
.rail__img img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; transition: transform .7s var(--ease); }
.rail__item:hover img { transform: scale(1.03); }
.rail__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.rail__meta span:last-child { font: 12px var(--mono); color: var(--stone-400); font-weight: 400; }

/* Avis Google */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.review-cta { background: var(--ink-800); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--ink-700); }
.review-cta__stars { color: var(--brass); letter-spacing: 3px; font-size: 18px; }

/* Zone d'intervention */
.zone-cities { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink-700); }
.zone-cities li { padding: 14px 0; border-bottom: 1px solid var(--ink-700); font-size: 17px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.zone-cities li::before { content: ''; width: 6px; height: 6px; background: var(--brass); flex: none; }
.zone-map { position: relative; width: 100%; max-width: 560px; aspect-ratio: 520 / 480; background: var(--ink-800); overflow: hidden; justify-self: center; }
.zone-map__ring { position: absolute; aspect-ratio: 1; border: 1px solid var(--ink-750); border-radius: 50%; }
.zone-map__ring--dash { border-style: dashed; }
.zone-map__city { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-4px, -4px); font: 12px var(--mono); }
.zone-map__city::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); }
.zone-map__home { position: absolute; left: 38.5%; top: 66.7%; display: flex; align-items: center; gap: 8px; transform: translate(-7px, -7px); font: 12px var(--mono); color: var(--brass); }
.zone-map__home::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 6px rgba(217, 164, 65, .2); }
ul.reset { list-style: none; margin: 0; padding: 0; }

/* Bandeau CTA laiton */
.cta-band { background: var(--brass); color: var(--ink-900); padding: clamp(56px, 8vw, 90px) var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta-band__title { font-size: clamp(44px, 6.5vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: .92; margin: 0; max-width: 760px; }
.cta-band__phone { font: 500 clamp(26px, 3vw, 36px) var(--mono); color: var(--ink-900); }
.cta-band__phone:hover { color: var(--ink-950); text-decoration: underline; }
.cta-band .label { color: var(--ink-900); }
.cta-band--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: end; }
.cta-band__text { margin: 0; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }

/* ---------- 7. Pages produit ---------- */
.anchors { border-bottom: 1px solid var(--ink-700); overflow-x: auto; position: sticky; top: var(--header-h); z-index: 20; background: rgba(29, 31, 34, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.anchors__inner { display: flex; gap: 4px; padding: 0 var(--gutter); min-width: max-content; }
.anchors a { padding: 18px 14px; font: 12px var(--mono); letter-spacing: .06em; color: var(--stone-200); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.anchors a:hover, .anchors a.is-current { color: var(--paper); border-bottom-color: var(--brass); }
.intro-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 12px; background: var(--ink-700); }
.type { border-top: 1px solid var(--ink-700); padding-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 56px); }
.tag { align-self: flex-start; font: 11px var(--mono); letter-spacing: .08em; padding: 6px 10px; border: 1px solid var(--ink-600); color: var(--stone-200); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 9px 14px; background: var(--ink-800); font-size: 14px; font-weight: 500; }
.type__imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.type__imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ink-700); }
.subs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--ink-700); border: 1px solid var(--ink-700); }
.subs > div { background: var(--ink-900); display: flex; flex-direction: column; }
.subs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink-700); }
.subs__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.subs__body strong { font-size: 20px; }
.subs__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--stone-200); }
.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--ink-750); border: 1px solid var(--ink-750); }
.adv > div { background: var(--ink-800); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.adv__n { font: 28px var(--mono); color: var(--brass); }
.adv__t { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.adv p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--stone-200); }
.others { display: flex; flex-wrap: wrap; gap: 8px; }
.others a { padding: 14px 18px; border: 1px solid var(--ink-700); font-weight: 600; transition: border-color .2s; }
.others a:hover { border-color: var(--brass); color: var(--paper); }

/* Galerie (produits + réalisations) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.gallery--masonry { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; }
.gallery--masonry .tile--big { grid-row: span 2; }
.tile { position: relative; display: block; overflow: hidden; background: var(--ink-700); border: 0; padding: 0; cursor: zoom-in; }
.gallery:not(.gallery--masonry) .tile { aspect-ratio: 4 / 3; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile__badge { position: absolute; right: 10px; bottom: 10px; background: rgba(20, 21, 23, .8); color: var(--paper); font: 11px var(--mono); padding: 6px 9px; pointer-events: none; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; background: linear-gradient(180deg, transparent, rgba(20, 21, 23, .85)); text-align: left; font: 11px var(--mono); letter-spacing: .06em; color: var(--paper); pointer-events: none; text-transform: uppercase; }
.tile.is-in { animation: kbIn .45s both; }
@keyframes kbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 15, 17, .94); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 64px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border: 1px solid var(--ink-600); background: var(--ink-900); color: var(--paper); font-size: 20px; cursor: pointer; }
.lightbox__btn:hover { border-color: var(--brass); }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 12px; right: 12px; width: auto; height: 44px; padding: 0 16px; font: 12px var(--mono); }
.lightbox__count { position: absolute; top: 18px; left: 20px; font: 12px var(--mono); color: var(--stone-200); }
.lightbox__loader { position: absolute; font: 12px var(--mono); color: var(--stone-400); }
body.lb-open { overflow: hidden; }

/* ---------- 8. Réalisations ---------- */
.filters { position: sticky; top: var(--header-h); z-index: 20; background: rgba(29, 31, 34, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--ink-700); border-bottom: 1px solid var(--ink-700); }
.filters__inner { display: flex; align-items: center; gap: 8px; padding: 12px var(--gutter); overflow-x: auto; }
.filters__label { flex: none; font: 12px var(--mono); color: var(--stone-400); margin-right: 6px; }
.filter { flex: none; min-height: 42px; padding: 0 16px; border: 1px solid var(--ink-600); display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; transition: border-color .2s; white-space: nowrap; }
.filter small { font: 11px var(--mono); opacity: .7; }
.filter:hover { border-color: var(--brass); color: var(--paper); }
.filter.is-active { background: var(--brass); border-color: var(--brass); color: var(--ink-900); }
.cat-block + .cat-block { margin-top: 56px; }

/* ---------- 9. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.contact-form-wrap { padding: clamp(40px, 6vw, 72px) var(--gutter); border-right: 1px solid var(--ink-700); }
.form { display: flex; flex-direction: column; gap: 28px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label, .form legend { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--stone-200); text-transform: uppercase; }
.input { min-height: 52px; padding: 0 16px; background: var(--ink-800); border: 1px solid var(--ink-600); color: var(--paper); font-size: 16px; outline: none; transition: border-color .2s; border-radius: 0; width: 100%; }
textarea.input { padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 140px; }
.input::placeholder { color: var(--stone-400); }
.input:focus { border-color: var(--brass); }
.input[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 13px; color: var(--error); min-height: 0; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.form legend { padding: 0; margin-bottom: 12px; }
.chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink-600); background: transparent; color: var(--paper); font: 500 14px var(--sans); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--stone-200); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink-900); border-color: var(--paper); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--stone-200); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brass); flex: none; }
.check a { color: var(--brass); text-decoration: underline; }
.form__submit { align-self: flex-start; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__alert { padding: 16px 18px; border: 1px solid var(--error); color: var(--error); font-size: 15px; }
.form-success { display: flex; flex-direction: column; gap: 18px; padding: 40px 0; }
.form-success .label { color: var(--success); }
.form-success[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; }
.contact-aside { display: flex; flex-direction: column; }
.contact-call { background: var(--brass); color: var(--ink-900); padding: clamp(32px, 4vw, 48px) var(--gutter); display: flex; flex-direction: column; gap: 10px; transition: background .2s; }
.contact-call:hover { background: var(--brass-hover); color: var(--ink-900); }
.contact-call__num { font: 500 clamp(30px, 4vw, 44px) var(--mono); }
.contact-addr { padding: clamp(32px, 4vw, 48px) var(--gutter); display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--ink-700); }
.contact-addr strong { font-size: 20px; font-weight: 600; line-height: 1.4; }
.contact-map { flex: 1; min-height: 360px; width: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- 10. Pages texte (légales) ---------- */
.prose { max-width: 820px; color: var(--stone-200); font-size: 16px; line-height: 1.75; }
.prose h2 { color: var(--paper); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.15; margin: 56px 0 16px; }
.prose h3 { color: var(--paper); font-size: 18px; margin: 32px 0 10px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose a { color: var(--brass); text-decoration: underline; }
.prose strong { color: var(--paper); }

/* ---------- 11. Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--stone-400); padding: 64px var(--gutter) 26px; font-size: 14px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 52px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.site-footer__col .label { font-size: 11px; margin-bottom: 6px; }
.site-footer__col p { margin: 0; line-height: 1.6; }
.site-footer__logo { height: 42px; width: auto; align-self: flex-start; margin-bottom: 6px; }
.site-footer__addr { color: var(--stone-200); }
.site-footer__phone { color: var(--paper); font-size: 18px; font-weight: 600; }
.site-footer__bottom { border-top: 1px solid var(--ink-700); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- 12. Mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 13. Consentement cookies ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 720px; background: var(--ink-800); border: 1px solid var(--ink-600); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); color: var(--paper); }
.consent[hidden] { display: none; }
.consent__inner { padding: 24px; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - 32px); overflow-y: auto; }
.consent__title { font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.consent__text p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--stone-200); }
.consent__text .consent__title { color: var(--paper); }
.consent__text a { color: var(--brass); text-decoration: underline; }
.consent__prefs { display: flex; flex-direction: column; border-top: 1px solid var(--ink-700); }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--ink-700); font-size: 14px; line-height: 1.5; color: var(--stone-200); cursor: pointer; }
.consent__opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brass); flex: none; }
.consent__opt strong { display: block; color: var(--paper); font-weight: 600; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent__actions .btn--ghost { background: transparent; color: var(--paper); }
.consent__actions [hidden] { display: none; }
@media (max-width: 999px) { .consent { bottom: 74px; } }
@media (max-width: 520px) { .consent__actions .btn { flex: 1 1 calc(50% - 4px); } }
.link-reset { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-reset:hover { color: var(--brass-hover); }

/* Carte bloquée tant que les contenus externes ne sont pas acceptés */
.contact-map-wrap { flex: 1; min-height: 360px; display: flex; position: relative; background: var(--ink-800); }
.contact-map-wrap .contact-map[hidden] { display: none; }
.map-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px var(--gutter); text-align: center; color: var(--stone-200); font-size: 14px; background: repeating-linear-gradient(135deg, var(--ink-800) 0 12px, #2a2d31 12px 24px); }
.map-placeholder p { margin: 0; max-width: 320px; line-height: 1.6; }
.map-placeholder .btn--ghost { background: var(--ink-900); color: var(--paper); }
