/* ═════════════════════════════════════════════════════════════
   WOODSTORE — direction artistique
   Référence : le catalogue de marchand vintage. Papier, encre,
   filets fins, photos traitées comme des planches. La couleur
   vient des instruments, pas du décor.
   ═════════════════════════════════════════════════════════════ */

:root {
  /* Papier & encre */
  --paper: #f1ece0;
  --paper-2: #e6e0d1;      /* fonds de photo, cartouches */
  --paper-3: #d8d0be;
  --ink: #1a1510;
  --ink-2: #3d372e;        /* texte courant */
  --ink-3: #746c5d;        /* texte secondaire */
  --rule: #cdc4b0;         /* filets */
  --accent: #8e2a20;
  --mint: #6f9488;        /* repris de la devanture */       /* oxblood — statuts et signaux, rien d'autre */

  /* Bandes sombres (rachat, pied de page, visionneuse) */
  --dark: #14110e;
  --dark-2: #241f1a;
  --on-dark: #efeade;
  --on-dark-dim: #a79d8c;

  --f-display: "Zilla Slab", Rockwell, "Courier Bold", Georgia, serif;
  --f-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  --r: 2px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 6rem); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { color: var(--ink); font-family: var(--f-display); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }

.demo-note {
  background: var(--ink); color: var(--on-dark-dim);
  font-size: .75rem; text-align: center; padding: .55rem 1rem;
}

/* ── En-tête ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(241, 236, 224, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 5.25rem;
}
.wordmark img { width: 148px; height: auto; }
@media (max-width: 640px) { .wordmark img { width: 116px; } .site-header .wrap { min-height: 4.5rem; } }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 2rem); font-size: .9375rem; }
.nav a { text-decoration: none; color: var(--ink-3); padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 900px) { .nav .nav-secondary { display: none; } }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .8rem 1.5rem; border-radius: var(--r);
  font-size: .9375rem; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-glass { background: rgba(241, 236, 224, .92); color: var(--ink); border-color: transparent; }
.btn-glass:hover { background: var(--paper); }

/* ── Ouverture : texte à gauche, planche à droite ────────── */
.hero-full { border-bottom: 1px solid var(--rule); }
.hero-full .wrap {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.hero-full h1 {
  font-size: clamp(2.75rem, 5.6vw, 4.75rem); line-height: 1.02;
  letter-spacing: -0.02em; margin: 0 0 1.5rem;
}
.hero-full h1 em { font-style: italic; font-weight: 400; }
.hero-lede { font-size: 1.125rem; color: var(--ink-3); max-width: 38ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-media { position: relative; }
.hero-media .frame { aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; right: 0; bottom: 0;
  background: var(--paper); padding: 1rem 1.25rem; text-decoration: none;
  display: grid; gap: .1rem; max-width: 80%;
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.hero-caption span { font-size: .75rem; color: var(--ink-3); }
.hero-caption strong { font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; color: var(--ink); line-height: 1.15; }
.hero-caption em { font-style: normal; font-size: .9375rem; color: var(--ink-2); }
.hero-caption:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 880px) {
  .hero-full .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .frame { aspect-ratio: 4 / 3; }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink);
}
.section-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1; margin: 0; letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--ink-3); font-size: .875rem; }

/* Filtres : des liens, pas des boutons d'application */
.tabs { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.tabs button {
  background: none; border: 0; padding: .25rem 0; cursor: pointer;
  font-size: .9375rem; color: var(--ink-3); border-bottom: 1px solid transparent;
}
.tabs button span { font-size: .75rem; vertical-align: super; margin-left: .15rem; opacity: .65; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ── Planches de l'inventaire ────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.2vw, 2rem);
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { text-decoration: none; display: flex; flex-direction: column; }
.card .frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--paper-2); margin-bottom: 1rem;
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, opacity .3s ease; }
.card .frame img.alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover img { transform: scale(1.02); }
  .card:hover .frame img.alt { opacity: 1; }
}
.card-title {
  font-family: var(--f-display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.25;
  margin: 0 0 .5rem; letter-spacing: -0.01em;
}
.card-title .card-year::after { content: " · "; color: var(--ink-3); }
.card-foot {
  margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap;
}
.card-price { font-size: .9375rem; color: var(--ink); font-weight: 500; white-space: nowrap; }
.card.is-sold img { filter: grayscale(.7); opacity: .75; }
.badge {
  position: absolute; left: 0; top: 0; z-index: 1;
  background: var(--accent); color: var(--paper);
  font-size: .6875rem; font-weight: 600; padding: .3rem .6rem;
}
.badge.is-sold { background: var(--ink); }
.empty { grid-column: 1 / -1; color: var(--ink-3); max-width: 50ch; padding: 2.5rem 0; margin: 0; }

/* Pastille de finition, comme un nuancier de couleurs custom */
.finish { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--ink-3); }
.finish-chip { width: .9rem; height: .9rem; border-radius: 50%; border: 1px solid var(--rule); flex: none; }
.finish-chip.is-clear {
  background-image: linear-gradient(135deg, rgba(255,255,255,.9) 0 30%, rgba(0,0,0,.08) 30% 55%, rgba(255,255,255,.7) 55% 70%, rgba(0,0,0,.06) 70%);
}

/* ── Histoire (photo à fond perdu) ───────────────────────── */
.story { padding: 0; border-top: 1px solid var(--rule); }
.story .wrap {
  max-width: none; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
}
.story-media { overflow: hidden; background: var(--paper-2); min-height: clamp(420px, 46vw, 640px); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter);
  max-width: calc(var(--wrap) / 2);
}
.story-body h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: 0 0 1.5rem; letter-spacing: -0.01em; }
.story-body p { max-width: 46ch; margin: 0 0 1.25rem; }
.story-body .btn { margin-top: .75rem; }
@media (max-width: 880px) {
  .story .wrap { grid-template-columns: 1fr; }
  .story-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ── Entretien ───────────────────────────────────────────── */
.qa { border-top: 1px solid var(--rule); }
.qa .wrap {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.qa-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 7rem); }
.qa-portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.qa-portrait img { width: 100%; height: 100%; object-fit: cover; }
.qa-credit { font-size: .8125rem; color: var(--ink-3); margin: .85rem 0 0; }
.qa-body h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; margin: 0 0 1rem; letter-spacing: -0.01em; }
.qa-chapo { color: var(--ink-3); max-width: 52ch; margin: 0 0 2.5rem; }
.qa-item { padding: 2rem 0; border-top: 1px solid var(--rule); }
.qa-item:last-child { border-bottom: 1px solid var(--rule); }
.qa-item h3 {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25;
  margin: 0 0 1rem; max-width: 42ch;
}
.qa-item p { margin: 0 0 1rem; max-width: 62ch; }
.qa-item p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .qa .wrap { grid-template-columns: 1fr; }
  .qa-aside { position: static; }
  .qa-portrait { aspect-ratio: 3 / 2; }
}

/* ── Bandeau boutique ────────────────────────────────────── */
.strip-section { padding: 0; }
.strip {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: 1fr 1fr; gap: 2px; height: clamp(420px, 52vw, 700px);
}
.strip figure { margin: 0; overflow: hidden; background: var(--paper-2); }
.strip figure:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .strip { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .strip figure { aspect-ratio: 3 / 2; }
  .strip figure:first-child { aspect-ratio: 4 / 5; }
}

/* ── Rachat ──────────────────────────────────────────────── */
.trade { background: var(--ink); color: var(--on-dark); }
.section + .section.trade { border-top: 0; }
.trade .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.trade h2 { color: var(--on-dark); font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
.trade-body p { margin: 0 0 1.5rem; max-width: 50ch; color: var(--on-dark); }
.trade-body p.muted { color: var(--on-dark-dim); }
.trade-list { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid rgba(239,234,222,.2); }
.trade-list li { padding: 1rem 0; border-bottom: 1px solid rgba(239,234,222,.2); display: flex; gap: 1.5rem; align-items: baseline; }
.trade-list strong { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; min-width: 9rem; color: var(--on-dark); }
.trade-list span { color: var(--on-dark-dim); font-size: .9375rem; }
.trade .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.trade .btn-primary:hover { background: var(--on-dark); }
@media (max-width: 880px) { .trade .wrap { grid-template-columns: 1fr; } }

/* ── Visite ──────────────────────────────────────────────── */
.visit .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.visit h3 { font-size: 1.125rem; margin: 0 0 .5rem; }
.visit p { margin: 0; color: var(--ink-3); }
.visit a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 760px) { .visit .wrap { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ── Pied de page ────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--on-dark-dim); padding: 2.25rem 0 2.75rem; font-size: .875rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer nav { display: flex; gap: 1.5rem; }

/* ── Fiche guitare ───────────────────────────────────────── */
.crumbs { padding: 1.75rem 0 0; font-size: .875rem; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.product {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); padding: 1.5rem 0 clamp(3rem, 7vw, 6rem); align-items: start;
}
.gallery, .info { min-width: 0; }
@media (max-width: 920px) { .product { grid-template-columns: minmax(0, 1fr); } }

.stage { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: contain; }
.stage-btn {
  position: absolute; right: .85rem; bottom: .85rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  padding: .5rem .8rem; font-size: .8125rem; cursor: pointer; color: var(--ink);
}
.stage-btn:hover { border-color: var(--ink); }
.stage-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(241,236,224,.92); border: 1px solid var(--rule);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.stage-nav.prev { left: .75rem; } .stage-nav.next { right: .75rem; }
.stage-nav:hover { border-color: var(--ink); }
.stage-count {
  position: absolute; left: .85rem; bottom: .85rem; font-size: .8125rem; color: var(--ink-3);
  background: rgba(241,236,224,.92); padding: .3rem .55rem; border-radius: var(--r);
}
.thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.thumbs button {
  flex: none; width: 5rem; aspect-ratio: 1; padding: 0; cursor: pointer;
  border: 1px solid transparent; background: var(--paper-2); overflow: hidden; opacity: .75;
  transition: opacity .15s, border-color .15s;
}
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.info { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6.5rem); }
@media (max-width: 920px) { .info { position: static; } }
.info-year { font-family: var(--f-display); font-size: 1rem; color: var(--ink-3); }
.info h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.05; margin: .35rem 0 1rem; letter-spacing: -0.02em; }
.info-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; margin-bottom: 1.75rem; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-3); }
.status::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #3f7a3f; }
.status.is-reserve::before { background: var(--accent); }
.status.is-vendu::before { background: var(--ink-3); }

.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem;
}
.price { font-family: var(--f-display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--ink); }
.price-note { font-size: .8125rem; color: var(--ink-3); }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 2.5rem; }
.actions .btn-primary { grid-column: 1 / -1; }

.desc p { margin: 0 0 1.15rem; max-width: 62ch; line-height: 1.75; }
.specs { margin: 2.5rem 0 0; }
.specs h2 { font-size: 1.25rem; margin: 0 0 .25rem; }
.specs ul { list-style: none; margin: 0; padding: 0; }
.specs li { padding: .75rem 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.visit-note { margin-top: 2rem; font-size: .875rem; color: var(--ink-3); }
.visit-note a { color: var(--ink); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--rule); padding: 2rem 0 3.5rem; }
.pager a { text-decoration: none; display: block; padding: .5rem 0; }
.pager a:last-child { text-align: right; }
.pager small { display: block; color: var(--ink-3); font-size: .8125rem; margin-bottom: .2rem; }
.pager strong { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; color: var(--ink); }
.pager a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* ── Visionneuse : fond sombre, la photo seule ───────────── */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(12, 10, 8, .97); display: none;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.lightbox.is-open { display: block; }
.lb-viewport { position: absolute; inset: 0; overflow: hidden; touch-action: none; display: grid; place-items: center; }
.lb-img {
  max-width: 100vw; max-height: 100vh; width: auto; height: auto; object-fit: contain;
  transform-origin: 0 0; user-select: none; -webkit-user-drag: none; cursor: zoom-in; will-change: transform;
}
.lightbox.is-zoomed .lb-img { cursor: grab; }
.lightbox.is-zoomed.is-dragging .lb-img { cursor: grabbing; }
.lb-bar { position: absolute; left: 0; right: 0; top: env(safe-area-inset-top, 0px);
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; z-index: 2; pointer-events: none; }
.lb-bar > * { pointer-events: auto; }
.lb-title { font-size: .875rem; color: var(--on-dark-dim); }
.lb-close, .lb-nav {
  width: 2.9rem; height: 2.9rem; border-radius: 50%; color: var(--on-dark);
  background: rgba(36, 31, 26, .9); border: 1px solid rgba(239,234,222,.22);
  display: grid; place-items: center; cursor: pointer;
}
.lb-close:hover, .lb-nav:hover { border-color: var(--on-dark); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-nav.prev { left: 1rem; } .lb-nav.next { right: 1rem; }
.lb-foot { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  text-align: center; font-size: .8125rem; color: var(--on-dark-dim); z-index: 2; pointer-events: none; }
.lightbox.is-zoomed .lb-nav { opacity: 0; pointer-events: none; }

/* ── Emplacement photo vide ──────────────────────────────── */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  color: var(--ink-3); font-size: .8125rem; padding: 1rem; background: var(--paper-2);
}
.ph strong { display: block; font-family: var(--f-display); font-size: 2rem; color: var(--paper-3); line-height: 1; margin-bottom: .3rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }


/* ═════════════════════════════════════════════════════════════
   GRAIN, FILETS, CARTOUCHES — le vocabulaire d'imprimerie
   ═════════════════════════════════════════════════════════════ */

/* Grain de papier : une trame fine posée sur toute la page */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

/* Bandeau d'en-tête, comme le haut d'un papier à lettres */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.masthead .wrap {
  display: flex; justify-content: center; align-items: center; gap: .9rem;
  flex-wrap: wrap; padding-top: .7rem; padding-bottom: .7rem;
  font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3);
}
.masthead b { font-weight: 500; color: var(--ink-2); }
.masthead .sep { color: var(--paper-3); }
@media (max-width: 700px) { .masthead .wrap { font-size: .625rem; letter-spacing: .12em; gap: .5rem; } }

/* Filet double sous les titres de section */
.section-head { border-bottom: 3px double var(--ink); }

/* Étiquette de prix, comme celles accrochées aux manches */
.price-tag {
  position: relative; display: inline-flex; align-items: center;
  background: var(--paper); border: 1px solid var(--ink);
  padding: .65rem 1.1rem .65rem 1.9rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1.75rem; color: var(--ink);
  line-height: 1; transform: rotate(-1.2deg);
  box-shadow: 2px 3px 0 rgba(26, 21, 16, .1);
}
.price-tag::before {
  content: ""; position: absolute; left: .7rem; top: 50%; transform: translateY(-50%);
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--ink);
}
.price-row { border-bottom: 0; align-items: center; }

/* Archives */
.archive { background: var(--ink); color: var(--on-dark); padding: clamp(3rem, 6vw, 5.5rem) 0; }
.archive .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.archive figure { margin: 0; }
.archive .plate {
  border: 1px solid rgba(239,234,222,.28); padding: .55rem; background: rgba(239,234,222,.05);
}
.archive img { width: 100%; filter: sepia(.18) contrast(1.04); }
.archive figcaption {
  margin-top: .85rem; font-family: var(--f-display); font-style: italic;
  font-size: .9375rem; color: var(--on-dark-dim);
}
.archive h2 { color: var(--on-dark); font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.05; margin: 0 0 1.25rem; }
.archive p { color: var(--on-dark); max-width: 42ch; margin: 0 0 1rem; }
.archive p.muted { color: var(--on-dark-dim); }
@media (max-width: 880px) { .archive .wrap { grid-template-columns: 1fr; } }

/* Chiffres anciens dans le texte courant, chiffres alignés pour les prix */
.desc p, .qa-item p, .story-body p { font-variant-numeric: oldstyle-nums; }
.price, .price-tag, .card-price, .card-title { font-variant-numeric: lining-nums; }

/* Coins francs partout : on est sur du papier, pas sur une application */
.btn, .stage-btn, .stage-count, .thumbs button, .hero-caption { border-radius: 0; }

/* ── Pages intérieures ───────────────────────────────────── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-kicker { margin: 0 0 .75rem; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.page-hero h1 em { font-style: italic; font-weight: 400; }

/* Annonce de l'histoire sur l'accueil */
.teaser .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.teaser h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.05; margin: 0 0 1.25rem; }
.teaser p { max-width: 46ch; margin: 0 0 1.75rem; }
.teaser-media { border: 1px solid var(--rule); padding: .5rem; background: var(--paper-2); }
.teaser-media img { width: 100%; filter: sepia(.2) contrast(1.03); }
@media (max-width: 880px) { .teaser .wrap { grid-template-columns: 1fr; } }

/* Fiche produit : la galerie respire */
.page-produit .product { padding-top: .5rem; }
.thumbs button { width: 4.5rem; }

/* Bande boutique : l'image est nette sur tous les écrans */
.strip img, .story-media img, .hero-media img { transition: transform .8s ease; }
.strip figure:hover img { transform: scale(1.02); }

/* ═════════════════════════════════════════════════════════════
   MOUVEMENT — discret, comme on tourne les pages d'un catalogue
   ═════════════════════════════════════════════════════════════ */

/* Apparition à l'arrivée dans l'écran */
.reveal, .card, .strip figure, .qa-item, .visit .wrap > div, .trade-list li {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-in, .card.is-in, .strip figure.is-in, .qa-item.is-in,
.visit .wrap > div.is-in, .trade-list li.is-in,
.no-anim .reveal, .no-anim .card, .no-anim .strip figure,
.no-anim .qa-item, .no-anim .visit .wrap > div, .no-anim .trade-list li {
  opacity: 1; transform: none;
}
.card { transition-delay: calc(var(--i, 0) * 70ms); }
.strip figure { transition-delay: calc(var(--i, 0) * 110ms); }
.trade-list li { transition-delay: calc(var(--i, 0) * 80ms); }
.qa-item { transition-duration: .6s; }

/* Arrivée sur la page : l'ouverture se pose */
@keyframes poser { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes voile { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: poser .9s cubic-bezier(.2,.6,.2,1) backwards; }
.hero-text h1 { animation-delay: .05s; }
.hero-text .hero-lede { animation-delay: .18s; }
.hero-text .hero-actions { animation-delay: .3s; }
.hero-media .frame img { animation: voile 1.2s cubic-bezier(.2,.6,.2,1) backwards; animation-delay: .1s; }
.hero-caption { animation: poser .8s cubic-bezier(.2,.6,.2,1) backwards; animation-delay: .5s; }
.page-hero > .wrap > * { animation: poser .8s cubic-bezier(.2,.6,.2,1) backwards; }
.page-hero h1 { animation-delay: .1s; }

/* En-tête : le bandeau se replie quand on descend */
.masthead { overflow: hidden; transition: max-height .4s ease, opacity .3s ease; max-height: 4rem; }
body.scrolled .masthead { max-height: 0; opacity: 0; }
.site-header { transition: box-shadow .3s ease; }
body.scrolled .site-header { box-shadow: 0 1px 12px rgba(26,21,16,.07); }

/* Liens de navigation : le filet se déroule */
.nav a { position: relative; border-bottom-color: transparent !important; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.6,.2,1);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Boutons */
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }

/* Cartes : la photo respire, le filet se colore */
.card .frame { transition: box-shadow .35s ease; }
.card:hover .frame { box-shadow: 0 6px 22px rgba(26,21,16,.13); }
.card-foot { transition: border-color .3s ease; }
.card:hover .card-foot { border-color: var(--ink); }
.card-title { transition: color .2s ease; }
.card:hover .card-title { color: var(--accent); }

/* Filtres : les cartes sortent et entrent */
.card[hidden] { display: none; }
.grid.is-switching .card { opacity: 0; transform: translateY(8px); transition-duration: .18s; transition-delay: 0s; }

/* Étiquette de prix */
.price-tag { transition: transform .3s cubic-bezier(.2,.6,.2,1); }
.price-row:hover .price-tag { transform: rotate(0deg) scale(1.02); }

/* Vignettes de la fiche */
.thumbs button { transition: opacity .2s, border-color .2s, transform .2s; }
.thumbs button:hover { transform: translateY(-2px); }
.stage-media img { animation: voile .5s ease; }

/* Visionneuse */
.lightbox { opacity: 0; transition: opacity .28s ease; }
.lightbox.is-open { opacity: 1; }
.lb-img { animation: voile .35s ease; }

/* Bande archives et mosaïque : léger zoom au survol */
.archive .plate img { transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .5s ease; }
.archive figure:hover .plate img { transform: scale(1.02); filter: sepia(.05) contrast(1.06); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .card, .strip figure, .qa-item, .visit .wrap > div, .trade-list li { opacity: 1 !important; transform: none !important; }
  .hero-text > *, .hero-media .frame img, .hero-caption, .page-hero > .wrap > * { animation: none !important; }
  .masthead { transition: none; }
}

/* Entretiens : deux voix, deux fonds */
.qa.alt { background: var(--paper-2); }
.qa-nom { font-family: var(--f-display); font-size: 1.375rem; color: var(--ink); margin: .9rem 0 0; }
.qa-credit { margin-top: .15rem; }
.entretien-tete { padding-bottom: 0; }
.entretien-tete .qa-chapo { max-width: 60ch; margin: 0; }
.qa .wrap { align-items: start; }

/* ═════════════════════════════════════════════════════════════
   RETOURS DE JULIEN
   ═════════════════════════════════════════════════════════════ */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cœur du titre d'ouverture */
.coeur { color: var(--accent); font-style: normal; font-size: .82em; vertical-align: .05em; }

/* Menu déroulant sur mobile */
.burger {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 0; cursor: pointer; flex-direction: column;
  justify-content: center; gap: 5px; align-items: flex-end;
}
.burger span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .site-header { z-index: 40; }
  .burger { position: relative; z-index: 41; }
  .nav {
    position: fixed; inset: auto 0 0 0; top: 0; z-index: 30;
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 0; padding: 6rem var(--gutter) 3rem; background: var(--paper);
    transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.6,.2,1);
    height: 100dvh; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a {
    font-family: var(--f-display); font-size: 2rem; color: var(--ink);
    padding: .65rem 0; width: 100%; border-bottom: 1px solid var(--rule);
  }
  .nav a::after { display: none; }
  body.menu-ouvert { overflow: hidden; }
}

/* Barre d'outils de l'inventaire */
.outils {
  display: flex; gap: .75rem; flex-wrap: wrap; align-items: center;
  margin: -1rem 0 2rem;
}
.champ-recherche { flex: 1 1 18rem; position: relative; }
.outils input[type="search"], .outils select {
  width: 100%; font: inherit; font-size: .9375rem; color: var(--ink);
  background: #fbf9f4; border: 1px solid var(--rule); border-radius: 0;
  padding: .7rem .85rem; min-height: 2.9rem;
}
.outils select { width: auto; min-width: 11rem; cursor: pointer; }
.outils .selects { display: flex; gap: .75rem; flex-wrap: wrap; }
.outils input:focus, .outils select:focus { border-color: var(--ink); outline: none; }
@media (max-width: 620px) { .outils .selects { width: 100%; } .outils select { flex: 1 1 8rem; min-width: 0; } }

/* Fiche : l'année passe devant */
.info-year {
  font-family: var(--f-display); font-weight: 600; color: var(--accent);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1; letter-spacing: -0.01em;
}
.info h1 { margin-top: .2rem; }
.price-row { justify-content: flex-start; }

/* Bouton WhatsApp */
.btn-wa { gap: .55rem; }
.btn-wa:hover { border-color: #25693f; color: #25693f; }

/* Caractéristiques à puces */
.specs h2 { margin-bottom: .75rem; }
.puces { list-style: none; padding: 0; margin: 0; }
.puces li { position: relative; padding: .3rem 0 .3rem 1.1rem; border: 0; font-size: .9375rem; }
.puces li::before {
  content: ""; position: absolute; left: .1rem; top: .95rem;
  width: .3rem; height: .3rem; border-radius: 50%; background: var(--accent);
}

/* Avant / après */
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.avant-apres figure { margin: 0; }
.avant-apres .plate { border: 1px solid rgba(239,234,222,.28); padding: .4rem; background: rgba(239,234,222,.05); }
.avant-apres img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.avant-apres figcaption {
  margin-top: .6rem; font-family: var(--f-display); font-style: italic;
  font-size: .8125rem; color: var(--on-dark-dim);
}
@media (max-width: 560px) { .avant-apres { grid-template-columns: 1fr; } }

/* Ouverture : le texte d'abord sur mobile */
@media (max-width: 880px) {
  .hero-media { order: 0; }
  .hero-full .wrap { gap: 2rem; }
}

/* Cartouche « dernière arrivée » sous la photo (demande de Julien) */
.hero-caption {
  position: static; max-width: none; background: transparent;
  border-left: 0; border-top: 1px solid var(--ink);
  display: flex; align-items: baseline; gap: .75rem 1.25rem; flex-wrap: wrap;
  padding: .85rem 0 0; margin-top: .85rem;
}
.hero-caption strong { margin-right: auto; }
.hero-caption em { color: var(--ink); }

/* ═══ Retours de Julien — deuxième passe ═══ */

/* Les photos ne sont plus recadrées : on voit l'instrument en entier */
.card .frame { aspect-ratio: 3 / 4; background: var(--paper-2); }
.card .frame img { object-fit: contain; padding: .35rem; }
.card:hover img { transform: scale(1.015); }

/* Avant / après : toujours côte à côte, même sur téléphone */
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.avant-apres figure { margin: 0; }
.avant-apres figcaption { margin-top: .5rem; font-size: .8125rem; }

/* Bouton d'agrandissement plus discret */
.stage-btn { padding: .35rem .6rem; font-size: .75rem; gap: .3rem; }
.stage-btn svg { width: 14px; height: 14px; }

/* Le avant/après occupe toute la bande, maintenant qu'il est seul */
.archive .wrap { grid-template-columns: minmax(0, 1fr); }
.archive .avant-apres { gap: 1rem; }
.archive figcaption { font-size: .9375rem; }

/* ── Page Vendre ─────────────────────────────────────────── */
.vendre .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.vendre .chapo { font-size: 1.125rem; color: var(--ink); max-width: 46ch; }
.vendre .trade-list { border-top: 1px solid var(--rule); margin: 2rem 0; }
.vendre .trade-list li { border-bottom: 1px solid var(--rule); }
.vendre .trade-list strong { color: var(--ink); }
.vendre .trade-list span { color: var(--ink-3); }
.vendre-media { background: var(--paper-2); overflow: hidden; }
.vendre-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .vendre .wrap { grid-template-columns: 1fr; } .vendre-media { aspect-ratio: 4 / 3; } }

.etapes-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.etapes-liste li { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.etapes-liste .num { font-family: var(--f-display); font-size: 2.5rem; line-height: 1; color: var(--accent); display: block; margin-bottom: .5rem; }
.etapes-liste h3 { font-size: 1.125rem; margin: 0 0 .5rem; }
.etapes-liste p { margin: 0; color: var(--ink-3); font-size: .9375rem; }
@media (max-width: 760px) { .etapes-liste { grid-template-columns: 1fr; } }

/* ── Page Contact ────────────────────────────────────────── */
.contact .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.contact dl { margin: 0; }
.contact dt { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 1.0625rem; margin-top: 1.5rem; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: .35rem 0 0; color: var(--ink-3); }
.contact dd a { color: var(--ink); }
.contact-media { background: var(--paper-2); overflow: hidden; }
.contact-media img { width: 100%; }
@media (max-width: 880px) { .contact .wrap { grid-template-columns: 1fr; } }

/* La bande « dernières arrivées » renvoie vers l'inventaire complet */
.section-head p a { color: var(--ink); text-underline-offset: 3px; }


/* ═══ En-tête : logo, baseline, loupe ═══ */
.site-header .wrap { gap: 1rem; }
.baseline {
  margin: 0 auto 0 0; padding-left: 1.25rem; border-left: 1px solid var(--rule);
  font-size: .8125rem; color: var(--ink-3); line-height: 1.3;
}
.baseline span { color: var(--paper-3); }
@media (max-width: 1100px) { .baseline span { display: none; } }
@media (max-width: 720px) { .baseline { display: none; } }

.outils-entete { display: flex; align-items: center; gap: .5rem; }
.loupe {
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.loupe:hover { color: var(--accent); }

.recherche { border-top: 1px solid var(--rule); background: var(--paper); }
.recherche .wrap { display: flex; align-items: center; gap: .75rem; padding-top: .75rem; padding-bottom: .75rem; }
.recherche input {
  flex: 1; border: 0; background: none; font-family: var(--f-display); font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--ink); padding: .4rem 0;
}
.recherche input:focus { outline: none; }
.recherche input::placeholder { color: var(--paper-3); }
.ferme-recherche { background: none; border: 0; font-size: 1.75rem; line-height: 1; cursor: pointer; color: var(--ink-3); }
.ferme-recherche:hover { color: var(--ink); }

/* ═══ Ouverture : la photo prend la place ═══ */
.hero-full .wrap { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.hero-media .frame { aspect-ratio: 4 / 3; }
@media (max-width: 880px) {
  .hero-full .wrap { grid-template-columns: 1fr; }
  .hero-media .frame { aspect-ratio: 5 / 4; }
}

/* ═══ Réseaux en logos ═══ */
.site-footer .reseau { display: inline-flex; align-items: center; gap: .4rem; }
.site-footer .reseau span { font-size: .875rem; }
.mot-reverb { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.0625rem; letter-spacing: .01em; }

/* Sécurité : aucun débordement horizontal, sans casser le collant */
body { overflow-x: clip; }

.site-footer nav { flex-wrap: wrap; gap: 1rem 1.25rem; }
@media (max-width: 520px) { .site-footer .wrap { gap: 1rem; } }

/* ═════════════════════════════════════════════════════════════
   V4 — plus de relief : plein écran, bandeau défilant, citation
   ═════════════════════════════════════════════════════════════ */

/* ── Ouverture plein écran ───────────────────────────────── */
.hero-plein {
  position: relative;
  height: calc(100svh - 5.25rem);
  min-height: 30rem;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-fond { position: absolute; inset: 0; }
.hero-fond img { width: 100%; height: 100%; object-fit: cover; animation: respire 18s ease-in-out infinite alternate; }
@keyframes respire { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,17,14,.9) 0%, rgba(20,17,14,.35) 45%, rgba(20,17,14,.05) 75%),
    linear-gradient(to right, rgba(20,17,14,.55) 0%, rgba(20,17,14,0) 60%);
}
.hero-contenu { position: relative; width: 100%; padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero-plein h1 {
  color: var(--on-dark); font-weight: 700;
  font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: .95; letter-spacing: -0.03em;
  margin: 0 0 1rem; text-shadow: 0 2px 30px rgba(20,17,14,.35);
}
.hero-plein h1 em { font-style: italic; font-weight: 500; }
.hero-sous { color: var(--on-dark); opacity: .9; font-size: clamp(1rem, 1.6vw, 1.25rem); margin: 0; }
.hero-fleche {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; z-index: 2;
}
.hero-fleche span {
  width: .85rem; height: .85rem; border-right: 2px solid var(--on-dark); border-bottom: 2px solid var(--on-dark);
  transform: rotate(45deg); animation: descend 2.2s ease-in-out infinite;
}
@keyframes descend { 0%,100% { transform: rotate(45deg) translate(0,0); opacity: .55; } 50% { transform: rotate(45deg) translate(4px,4px); opacity: 1; } }
@media (max-width: 880px) { .hero-plein { height: calc(100svh - 4.5rem); } }

/* ── Bandeau défilant ────────────────────────────────────── */
.defilant {
  background: var(--ink); color: var(--on-dark); overflow: hidden;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: .7rem 0;
}
.defilant-piste {
  display: inline-flex; gap: 1.25rem; align-items: center; white-space: nowrap;
  font-family: var(--f-display); font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase;
  animation: glisse 48s linear infinite;
}
.defilant .point { color: var(--accent); }
@keyframes glisse { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .defilant-piste { animation: none; }
  .hero-fond img { animation: none; }
  .hero-fleche span { animation: none; }
}

/* ── Numéros de section ──────────────────────────────────── */
.num-section {
  display: inline-block; margin-right: .9rem; color: var(--accent);
  font-size: .5em; vertical-align: super; letter-spacing: .04em;
}
.section-head { border-bottom-width: 2px; }
.section-head h2 { font-weight: 700; letter-spacing: -0.02em; }

/* ── Citation ────────────────────────────────────────────── */
.citation { background: var(--ink); color: var(--on-dark); padding: clamp(3.5rem, 8vw, 7rem) 0; }
.citation .wrap { display: grid; gap: 2.5rem; }
.citation .btn { justify-self: start; }
.citation blockquote { margin: 0; }
.citation p {
  font-family: var(--f-display); font-weight: 500; color: var(--on-dark);
  font-size: clamp(2rem, 5.5vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1.25rem; max-width: 15ch;
}
.citation p em { font-style: italic; color: var(--accent); }
.citation cite { font-style: normal; color: var(--on-dark-dim); font-size: .9375rem; }
.btn-clair { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-clair:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* ── Cartes : un peu plus de caractère ───────────────────── */
.card .frame { background: linear-gradient(170deg, var(--paper-2), var(--paper-3)); }
.card-title .card-year { color: var(--accent); }
.card-price { font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; }
.card:hover .frame { box-shadow: 0 10px 30px rgba(26,21,16,.18); }

/* ── Introduction de page ────────────────────────────────── */
.page-intro { margin-top: 2rem; max-width: 46ch; }
.page-intro p { margin: 0 0 .75rem; font-size: 1.0625rem; }
.page-intro p:first-child { font-size: 1.25rem; color: var(--ink); }

/* ── Liens fléchés ───────────────────────────────────────── */
.section-head p a { font-family: var(--f-display); font-weight: 500; }
.section-head p a:hover { color: var(--accent); }

/* ── Récits de Julien et Vincent ─────────────────────────── */
.recit { border-top: 1px solid var(--rule); }
.recit.alt { background: var(--paper-2); }
.recit .wrap {
  display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.recit-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 7rem); }
.recit-texte p { margin: 0 0 1.25rem; max-width: 60ch; font-size: 1.0625rem; line-height: 1.75; }
.recit-texte .qa-item:first-child p:first-of-type::first-letter {
  float: left; font-size: 3.1em; line-height: .8; padding: .05em .12em 0 0;
  color: var(--accent); font-family: var(--f-display); font-weight: 600;
}
.recit-texte p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .recit .wrap { grid-template-columns: 1fr; }
  .recit-aside { position: static; display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; align-items: center; }
  .recit-aside .qa-portrait { aspect-ratio: 1; }
  .qa-nom { margin: 0; }
}

/* ── Bandes photo pleine largeur ─────────────────────────── */
.bande-photo { position: relative; overflow: hidden; height: clamp(18rem, 42vw, 34rem); }
.bande-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Citation sur photo ──────────────────────────────────── */
.citation { position: relative; overflow: hidden; }
.citation-fond { position: absolute; inset: 0; }
.citation-fond img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.2); }
.citation::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,17,14,.92) 0%, rgba(20,17,14,.55) 70%, rgba(20,17,14,.35) 100%);
}
.citation .wrap { position: relative; z-index: 1; }

/* ── Titre de page avec photo ────────────────────────────── */
.page-hero.avec-photo .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end;
}
.page-hero-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-hero.avec-photo .wrap { grid-template-columns: 1fr; } .page-hero-media { aspect-ratio: 16 / 9; } }

.contact-media { display: grid; gap: .75rem; }

/* ── Sélecteur de langue ─────────────────────────────────── */
.bascule-langue {
  font-family: var(--f-display); font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
  text-decoration: none; color: var(--ink-3); border: 1px solid var(--rule);
  padding: .3rem .5rem; line-height: 1;
}
.bascule-langue:hover { color: var(--ink); border-color: var(--ink); }

/* ── Bascule de thème ────────────────────────────────────── */
.theme {
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.theme:hover { color: var(--accent); }

/* ═════════════════════════════════════════════════════════════
   MODE SOMBRE — le papier devient encre, l'encre devient papier
   ═════════════════════════════════════════════════════════════ */
:root[data-theme="sombre"] {
  --paper: #14110e;
  --paper-2: #1e1a15;
  --paper-3: #2b251d;
  --ink: #f1ece0;
  --ink-2: #ddd5c5;
  --ink-3: #9c9382;
  --rule: #342c23;
  --accent: #c8543f;
  --on-dark: #f1ece0;
  --on-dark-dim: #9c9382;
}
:root[data-theme="sombre"] .site-header { background: rgba(20, 17, 14, .94); }
:root[data-theme="sombre"] .recherche,
:root[data-theme="sombre"] .masthead { background: var(--paper); }
:root[data-theme="sombre"] body::after { mix-blend-mode: screen; opacity: .25; }
:root[data-theme="sombre"] .wordmark img { filter: invert(1) brightness(1.12); }

/* Les bandes sombres se distinguent du fond */
:root[data-theme="sombre"] .citation,
:root[data-theme="sombre"] .trade,
:root[data-theme="sombre"] .site-footer,
:root[data-theme="sombre"] .defilant { background: var(--paper-2); }
:root[data-theme="sombre"] .defilant { border-color: var(--rule); color: var(--ink); }
:root[data-theme="sombre"] .trade { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
:root[data-theme="sombre"] .site-footer { border-top: 1px solid var(--rule); }
:root[data-theme="sombre"] .citation::after {
  background: linear-gradient(to right, rgba(30, 26, 21, .93) 0%, rgba(30, 26, 21, .6) 70%, rgba(30, 26, 21, .4) 100%);
}
:root[data-theme="sombre"] .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
:root[data-theme="sombre"] .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
:root[data-theme="sombre"] .btn-clair { background: var(--ink); color: var(--paper); border-color: var(--ink); }
:root[data-theme="sombre"] .trade .btn-primary { background: var(--ink); color: var(--paper); }
:root[data-theme="sombre"] .card .frame { background: linear-gradient(170deg, var(--paper-2), var(--paper-3)); }
:root[data-theme="sombre"] .stage, :root[data-theme="sombre"] .thumbs button,
:root[data-theme="sombre"] .qa-portrait, :root[data-theme="sombre"] .page-hero-media,
:root[data-theme="sombre"] .contact-media, :root[data-theme="sombre"] .vendre-media,
:root[data-theme="sombre"] .teaser-media { background: var(--paper-2); }
:root[data-theme="sombre"] .stage-nav, :root[data-theme="sombre"] .stage-count,
:root[data-theme="sombre"] .stage-btn { background: rgba(20, 17, 14, .9); }
:root[data-theme="sombre"] .recit.alt, :root[data-theme="sombre"] .qa.alt { background: var(--paper-2); }
:root[data-theme="sombre"] .ph { background: var(--paper-2); }
:root[data-theme="sombre"] input[type=search] { color: var(--ink); }
:root[data-theme="sombre"] select {
  background: var(--paper-2); color: var(--ink); border-color: var(--rule);
}

/* ── Diaporama des photos de la boutique ─────────────────── */
.diapo { position: relative; border-top: 1px solid var(--rule); background: var(--paper-2); }
.diapo-piste {
  display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.diapo-piste::-webkit-scrollbar { display: none; }
.diapo-vue {
  margin: 0; flex: 0 0 min(88%, 46rem); scroll-snap-align: center;
  height: clamp(20rem, 46vw, 36rem); background: var(--paper-3); overflow: hidden;
}
.diapo-vue img { width: 100%; height: 100%; object-fit: cover; }
.diapo-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; z-index: 2;
  background: rgba(241, 236, 224, .92); border: 1px solid var(--rule); color: var(--ink);
  display: grid; place-items: center;
}
.diapo-nav:hover { border-color: var(--ink); }
.diapo-nav.prev { left: 1rem; } .diapo-nav.next { right: 1rem; }
:root[data-theme="sombre"] .diapo-nav { background: rgba(20, 17, 14, .9); }

/* ── Citation : guillemets ───────────────────────────────── */
.guillemet { color: var(--accent); font-style: normal; }

/* ── Bouton sous la grille de l'accueil ──────────────────── */
.apres-grille { margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: center; }

/* ── Titre de page avec photo : aussi pour Story ─────────── */
.page-hero.avec-photo .wrap { align-items: center; }
.page-hero.avec-photo .page-intro { margin-top: 1.5rem; }

/* ── Téléphone : derniers ajustements ────────────────────── */
@media (max-width: 760px) {
  .actions { grid-template-columns: 1fr; }
  .stage-nav { width: 2.9rem; height: 2.9rem; }
  .stage-btn { right: .6rem; bottom: .6rem; }
  .thumbs button { width: 4rem; }
  .info h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .info-year { font-size: 2rem; line-height: 1; }
  .price { font-size: 1.75rem; }
  .pager { grid-template-columns: 1fr; gap: 1.5rem; }
  .pager a:last-child { text-align: left; }
  .qa-item h3 { font-size: 1.1875rem; }
  .diapo-vue { flex-basis: 92%; height: clamp(15rem, 62vw, 22rem); }
  .diapo-nav { width: 2.6rem; height: 2.6rem; }
  .diapo-nav.prev { left: .5rem; } .diapo-nav.next { right: .5rem; }
  .hero-plein h1 { font-size: clamp(2.5rem, 13vw, 3.5rem); }
  .hero-sous { font-size: .9375rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .tabs { gap: 1rem; }
  .outils .selects { width: 100%; gap: .5rem; }
  .card-title { font-size: 1rem; }
  .citation p { font-size: clamp(1.75rem, 9vw, 2.25rem); max-width: 100%; }
  .etapes-liste .num { font-size: 2rem; }
  .contact dt { margin-top: 1.25rem; }
  .strip-section + .section, .diapo + .section { border-top: 0; }
}
@media (max-width: 400px) {
  .grid { grid-template-columns: 1fr; }
  .card .frame { aspect-ratio: 4 / 3; }
}

/* ── Formulaire d'estimation ─────────────────────────────── */
.formulaire { border-top: 1px solid var(--rule); }
.form-intro { max-width: 60ch; color: var(--ink-3); margin: 0 0 2rem; }
.form-estimation { max-width: 46rem; display: grid; gap: 1.1rem; }
.form-estimation label { display: grid; gap: .4rem; font-size: .875rem; color: var(--ink-3); }
.form-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-ligne { grid-template-columns: 1fr; } }
.form-estimation input[type="text"],
.form-estimation input[type="email"],
.form-estimation input[type="tel"],
.form-estimation select,
.form-estimation textarea {
  width: 100%; padding: .75rem .85rem; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 0;
}
.form-estimation textarea { resize: vertical; line-height: 1.6; }
.form-estimation input:focus, .form-estimation select:focus, .form-estimation textarea:focus {
  outline: none; border-color: var(--ink);
}
.form-photos input[type="file"] {
  padding: .85rem; border: 1px dashed var(--rule); background: var(--paper-2);
  width: 100%; font-size: .9375rem; cursor: pointer;
}
.form-bas { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: .5rem; }
.form-aide { font-size: .8125rem; color: var(--ink-3); }
.piege { position: absolute; left: -9999px; }
.form-message {
  border-left: 3px solid var(--accent); background: var(--paper-2);
  padding: 1rem 1.25rem; margin: 0 0 2rem; max-width: 46rem;
}
.form-message.ok { border-left-color: #3f7a3f; }
@media (max-width: 620px) { .form-bas .btn { width: 100%; } }
