/* ==========================================================================
   Vendeur de Caps — feuille de style principale (thème WordPress)
   Concept « Le mur blanc » : noir, blanc, deux gris. La couleur vient des œuvres.
   ========================================================================== */

:root {
  --vdc-black: #0A0A0A;
  --vdc-white: #FFFFFF;
  --vdc-grey-light: #F4F4F2;
  --vdc-grey-concrete: #8C8C88;
  --vdc-grey-text: #5E5E5A;
  --vdc-ph: #E6E6E3;

  --font-display: 'Anton', Impact, sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', sans-serif;

  --m: 64px;            /* marge latérale */
  --gap: 24px;          /* gouttière */
  --section: 160px;     /* espace entre sections */
  --pad: 120px;         /* padding des sections pleines */
  --header-h: 80px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 989px) { :root { --m: 40px; --gap: 20px; --section: 120px; --pad: 96px; } }
@media (max-width: 749px) { :root { --m: 20px; --gap: 12px; --section: 96px; --pad: 64px; --header-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--vdc-black); background: var(--vdc-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; overflow-wrap: break-word; }
button { font: inherit; color: inherit; }

/* ---------- Typographie ---------- */
.d { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; line-height: .95; }
.t-xxl { font-size: clamp(64px, 12vw, 220px); line-height: .9; }
.t-xl  { font-size: clamp(44px, 6.7vw, 96px); }
.t-l   { font-size: clamp(32px, 4vw, 56px); }
.t-2   { font-size: clamp(28px, 2.8vw, 40px); }
.t-3   { font-size: clamp(20px, 1.7vw, 24px); }
.c   { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.n   { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.ed  { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.muted { color: var(--vdc-grey-text); }
.dark .muted { color: #B5B5B0; }
.measure { max-width: 680px; }
.center { text-align: center; }

/* ---------- Mise en page ---------- */
.wrap { max-width: 1600px; margin: 0 auto; padding: 0 var(--m); }
.section { padding-top: var(--section); }
.pad { padding-top: var(--pad); padding-bottom: var(--pad); }
.stack { display: flex; flex-direction: column; gap: var(--s, 24px); }
.row { display: flex; align-items: center; gap: var(--s, 24px); flex-wrap: wrap; }
.between { justify-content: space-between; }
.end { align-items: flex-end; }
.grow { flex-grow: 1; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.cols-2, .cols-3, .cols-4, .cols-5 { display: grid; gap: var(--gap); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.items-center { align-items: center; }
.rule { border-top: 1px solid var(--vdc-black); }
.rule-b { border-bottom: 1px solid var(--vdc-black); }
.dark { background: var(--vdc-black); color: var(--vdc-white); }
.dark .rule, .dark.rule { border-color: var(--vdc-white); }
.grey { background: var(--vdc-grey-light); }

@media (max-width: 989px) {
  .cols-4, .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 749px) {
  .grid12 { grid-template-columns: 1fr !important; gap: 24px; }
  .grid12 > * { grid-column: auto !important; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .cols-2.keep-m, .cols-3.keep-m, .cols-4.keep-m { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hide-m { display: none !important; }
}
@media (min-width: 750px) { .only-m { display: none !important; } }

/* ---------- Visuels (placeholders légendés) ---------- */
.ph { background: var(--vdc-ph); display: flex; align-items: flex-end; padding: 12px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--vdc-grey-text); overflow: hidden; }
.ph-light { background: var(--vdc-grey-light); }
.ph-dark { background: #2B2B29; color: #B5B5B0; }
.r45 { aspect-ratio: 4 / 5; }
.r32 { aspect-ratio: 3 / 2; }
.r169 { aspect-ratio: 16 / 9; }
.r11 { aspect-ratio: 1 / 1; }
.r34 { aspect-ratio: 3 / 4; }
@media (max-width: 749px) { .r169.m45, .r32.m45 { aspect-ratio: 4 / 5; } }

/* ---------- Boutons & liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn-1 { background: var(--vdc-black); color: var(--vdc-white); border-color: var(--vdc-black); }
.btn-1:hover { background: var(--vdc-white); color: var(--vdc-black); }
.btn-2 { background: transparent; color: var(--vdc-black); border-color: var(--vdc-black); }
.btn-2:hover { background: var(--vdc-black); color: var(--vdc-white); }
.btn-w { background: var(--vdc-white); color: var(--vdc-black); border-color: var(--vdc-white); }
.btn-w:hover { background: transparent; color: var(--vdc-white); }
.btn-wo { background: transparent; color: var(--vdc-white); border-color: var(--vdc-white); }
.btn-wo:hover { background: var(--vdc-white); color: var(--vdc-black); }
.btn-full { width: 100%; }
@media (max-width: 749px) { .btn { height: 56px; } .btn-m-full { width: 100%; } }
.lk { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.lk:hover { color: var(--vdc-grey-text); }
.dark .lk:hover { color: #B5B5B0; }

/* ---------- Statuts & pastilles ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--vdc-black); }
.status.is-reserved { color: var(--vdc-grey-text); }
.status.is-reserved::before { background: var(--vdc-grey-concrete); }
.status.is-sold { color: var(--vdc-grey-text); }
.status.is-sold::before { display: none; }
.pill { white-space: nowrap; display: inline-block; border: 1px solid currentColor; padding: 6px 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pulse::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: middle; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }

/* ---------- Barre d'annonce & header ---------- */
.announce { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--vdc-black); color: var(--vdc-white); text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px var(--m); }
.announce a { text-decoration: none; }
.section-header { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; background: var(--vdc-white); border-bottom: 1px solid var(--vdc-black); transition: background .3s var(--ease), color .3s var(--ease); }
.site-header .hdr { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: 30px; text-decoration: none; }
.nav { display: flex; gap: 36px; }
.nav a, .tools a.n { text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: currentColor; transition: width .2s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.tools { display: flex; align-items: center; gap: 12px; }
.icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.burger { display: none; }
/* Header transparent au-dessus du hero de l'accueil */
.is-home .site-header { background: transparent; color: var(--vdc-white); border-bottom-color: transparent; }
.is-home .site-header.is-solid { background: var(--vdc-white); color: var(--vdc-black); border-bottom-color: var(--vdc-black); }
.is-home #MainContent { margin-top: calc(-1 * var(--header-h)); }
@media (max-width: 1100px) { .nav { gap: 20px; } }
@media (max-width: 989px) {
  .nav, .hide-t { display: none !important; }
  .burger { display: inline-flex; }
  .logo { font-size: 22px; position: absolute; left: 50%; transform: translateX(-50%); }
  .site-header .hdr { padding: 0 8px; }
}

/* Menu mobile plein écran */
.mmenu { position: fixed; inset: 0; z-index: 100; background: var(--vdc-white); color: var(--vdc-black); display: flex; flex-direction: column; padding: 8px 20px 32px; transform: translateX(-100%); transition: transform .3s var(--ease); visibility: hidden; overflow-y: auto; }
.mmenu.is-open { transform: none; visibility: visible; }
@media (min-width: 990px) { .mmenu { display: none !important; } }
.mmenu-links { display: flex; flex-direction: column; gap: 16px; padding: 32px 0; }
.mmenu-links a { font-family: var(--font-display); text-transform: uppercase; font-size: 36px; line-height: 1; text-decoration: none; }
.mmenu .grow { flex-grow: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 100vh); display: flex; flex-direction: column; justify-content: flex-end; background: #2B2B29; color: var(--vdc-white); overflow: hidden; }
.hero .ph-label { position: absolute; top: calc(var(--header-h) + 56px); right: var(--m); font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #B5B5B0; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 55%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; padding-bottom: 64px; }
.hero-meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #D6D6D2; }
@media (max-width: 749px) {
  .hero { min-height: 100svh; }
  .hero .ph-label { top: calc(var(--header-h) + 48px); left: var(--m); right: auto; }
  .hero-in { padding-bottom: 32px; }
  .hero .t-xxl { font-size: 18vw; }
}

/* ---------- Bandeau événement (CAPOFIL) ---------- */
.event-strip .inner { min-height: 120px; display: flex; align-items: center; }
.event-strip .zone { padding: 0 40px; border-right: 1px solid var(--vdc-white); min-height: 56px; display: flex; align-items: center; }
.event-strip .zone:first-child { padding-left: 0; }
@media (max-width: 989px) {
  .event-strip .inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
  .event-strip .zone { border: 0; padding: 0; min-height: 0; }
  .event-strip .btn { width: 100%; }
}

/* ---------- Cartes produit ---------- */
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card .media { position: relative; overflow: hidden; }
.card .media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s var(--ease); }
.card:hover .media .alt { opacity: 1; }
.card-title { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; line-height: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 600; }
.cta-tile { background: var(--vdc-black); color: var(--vdc-white); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 40px; }
@media (max-width: 749px) {
  .card-title { font-size: 15px; }
  .card .c.muted { display: none; }
  .cta-tile { grid-column: 1 / -1; aspect-ratio: 2 / 1; padding: 24px; }
}

/* Carrousel horizontal (mobile et sections dédiées) */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (max-width: 749px) {
  .scroller { grid-auto-columns: 72%; margin-right: calc(-1 * var(--m)); padding-right: var(--m); }
  .m-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--m)); padding-right: var(--m); }
}

/* ---------- Réassurance ---------- */
.reassure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--vdc-black); border-bottom: 1px solid var(--vdc-black); }
.reassure > div { padding: 48px 24px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--vdc-black); }
.reassure > div:last-child { border-right: 0; }
@media (max-width: 749px) {
  .reassure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reassure > div { padding: 24px 12px; text-align: center; }
  .reassure > div:nth-child(2) { border-right: 0; }
  .reassure > div:nth-child(-n+2) { border-bottom: 1px solid var(--vdc-black); }
  .reassure .muted { display: none; }
}

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
@media (max-width: 749px) { .insta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Ligne de métro (motif unique du site) ---------- */
.metro { position: relative; padding-left: 120px; border-left: 2px solid var(--vdc-black); margin-left: var(--m); margin-right: var(--m); }
.station { position: relative; }
.station::before { content: ''; position: absolute; left: -127px; top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--vdc-black); background: var(--vdc-white); transition: background .2s var(--ease); }
.station.is-passed::before { background: var(--vdc-black); }
.station.terminus::before { width: 20px; height: 20px; left: -131px; background: var(--vdc-black); }
.station + .station { margin-top: var(--section); }
@media (max-width: 749px) {
  .metro { padding-left: 28px; margin-left: 12px; margin-right: var(--m); }
  .station::before { left: -35px; }
  .station.terminus::before { left: -39px; }
}
.steps { position: relative; }
.steps::before { content: ''; position: absolute; left: 7px; right: 7px; top: 6px; border-top: 2px solid var(--vdc-black); }
.steps .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--vdc-black); background: var(--vdc-white); position: relative; }
.steps .dot.on { background: var(--vdc-black); }
@media (max-width: 989px) {
  .steps { grid-template-columns: 1fr !important; padding-left: 32px; }
  .steps::before { left: 6px; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 2px solid var(--vdc-black); }
  .steps .dot { position: absolute; left: -32px; }
  .steps > div { position: relative; }
}

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--vdc-grey-text); }
.field input, .field textarea, .field select { height: 48px; border: 0; border-bottom: 1px solid var(--vdc-black); background: transparent; font: inherit; font-size: 16px; padding: 0; border-radius: 0; }
.field textarea { height: auto; min-height: 140px; resize: vertical; padding-top: 8px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-width: 2px; }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice label { min-height: 64px; border: 1px solid var(--vdc-black); display: flex; align-items: center; padding: 0 20px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--vdc-black); cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice input:checked + span { color: var(--vdc-white); }
.choice label:has(input:checked) { background: var(--vdc-black); color: var(--vdc-white); }
.choice input:focus-visible + span { outline: 2px solid var(--vdc-black); outline-offset: 4px; }
.drop { min-height: 96px; border: 1px dashed var(--vdc-grey-concrete); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 14px; color: var(--vdc-grey-text); }
.newsletter input { height: 52px; flex-grow: 1; background: transparent; border: 1px solid currentColor; color: inherit; padding: 0 16px; font: inherit; font-size: 15px; min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Accordéons ---------- */
details { border-top: 1px solid var(--vdc-black); }
details:last-of-type { border-bottom: 1px solid var(--vdc-black); }
summary { list-style: none; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding-bottom: 20px; font-size: 15px; line-height: 1.6; }

/* ---------- Fiche œuvre ---------- */
.product { align-items: start; }
.product .gallery { display: flex; flex-direction: column; gap: 8px; }
.product .cartel { position: sticky; top: calc(var(--header-h) + 40px); }
.spec { display: grid; grid-template-columns: 130px 1fr; padding: 10px 0; border-top: 1px solid var(--vdc-ph); font-size: 15px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--vdc-white); border-top: 1px solid var(--vdc-black); height: 72px; display: none; align-items: center; gap: 12px; padding: 0 20px; transform: translateY(100%); transition: transform .3s var(--ease); }
.buybar.is-visible { transform: none; }
@media (max-width: 749px) {
  .buybar { display: flex; }
  .product .cartel { position: static; }
  .product .gallery { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; }
  .product .gallery > * { flex: 0 0 100%; scroll-snap-align: start; }
}

/* ---------- Expositions ---------- */
.info-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--vdc-black); }
.info-bar > div { padding: 24px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--vdc-black); }
.info-bar > div:first-child { padding-left: 0; }
.info-bar > div:last-child { border-right: 0; }
.prog a { border-top: 1px solid var(--vdc-black); min-height: 64px; display: flex; align-items: center; gap: 24px; text-decoration: none; font-family: var(--font-display); text-transform: uppercase; font-size: 24px; }
.prog a:last-child { border-bottom: 1px solid var(--vdc-black); }
.prog a:hover { background: var(--vdc-grey-light); }
.dropcap::first-letter { font-family: var(--font-display); float: left; font-size: 72px; line-height: .85; padding: 6px 10px 0 0; }
.masonry { columns: 4; column-gap: 4px; }
.masonry > * { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 989px) { .masonry { columns: 3; } }
@media (max-width: 749px) {
  .info-bar { grid-template-columns: 1fr; }
  .info-bar > div { padding: 14px 0; border-right: 0; border-top: 1px solid var(--vdc-black); }
  .prog a { font-size: 18px; min-height: 56px; gap: 16px; }
    .masonry { columns: 2; }
}

/* ---------- Frise d'archives ---------- */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid var(--vdc-black); }
.tl-year { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; text-align: center; background: var(--vdc-white); padding: 8px 0; margin: 0 auto; width: max-content; }
.tl-entry { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; margin-top: 120px; }
.tl-entry::before { content: ''; position: absolute; left: 50%; margin-left: -7px; top: 12px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--vdc-black); background: var(--vdc-white); }
.tl-entry.right > .stack { grid-column: 2; }
@media (max-width: 749px) {
  .timeline::before { left: 6px; }
  .tl-year { margin: 0; text-align: left; padding-left: 28px; }
  .tl-entry { grid-template-columns: 1fr; gap: 0; padding-left: 28px; margin-top: 64px; }
  .tl-entry::before { left: 6px; }
  .tl-entry.right > .stack { grid-column: 1; }
}

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--vdc-white); padding-top: 48px; }
.footer-cols a { text-decoration: none; font-size: 15px; }
.footer-cols a:hover { text-decoration: underline; }
.footer-cols .stack { --s: 12px; }
.wordmark { font-size: 14vw; line-height: .8; white-space: nowrap; margin-bottom: 0; padding-bottom: 2vw; }
.legal { border-top: 1px solid #3A3A38; padding: 24px 0 32px; color: #B5B5B0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 24px; flex-wrap: wrap; }
.legal a { text-decoration: none; }
@media (max-width: 989px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .footer-cols .contact-col { grid-column: 1 / -1; order: -1; } }
@media (max-width: 749px) { .wordmark { font-size: 24vw; white-space: normal; margin-bottom: 0; } .newsletter { flex-direction: column; align-items: stretch !important; } }

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-title { animation: heroIn .8s var(--ease) .2s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }
.zoom-hover { overflow: hidden; }
.zoom-hover > * { transition: transform .6s var(--ease); }
.zoom-hover:hover > * { transform: scale(1.04); }
.floating-cta { position: fixed; right: 24px; bottom: 24px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.floating-cta.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 749px) { .floating-cta { left: 0; right: 0; bottom: 0; } .floating-cta .btn { width: 100%; height: 60px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--vdc-black); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--vdc-white); }

/* ---------- Onglets de filtre ---------- */
.filters button { background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; color: var(--vdc-grey-text); white-space: nowrap; }
.filters button[aria-pressed="true"] { color: var(--vdc-black); text-decoration: underline; text-underline-offset: 8px; }


/* ==========================================================================
   Composants communs (repris du thème Shopify)
   ========================================================================== */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--vdc-black); color: var(--vdc-white); padding: 12px 16px; text-decoration: none; }
.skip-link:focus { top: 8px; }
#MainContent:focus { outline: none; }
.btn-reset { background: none; border: 0; padding: 0; cursor: pointer; }
.btn-sm { height: 44px; padding: 0 20px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.editor-note { padding: 24px var(--m); font-size: 14px; color: var(--vdc-grey-text); border: 1px dashed var(--vdc-grey-concrete); margin-top: 24px; }
.form-success { padding: 16px; background: var(--vdc-grey-light); color: var(--vdc-black); }
.dark .form-success { background: #1E1E1C; color: var(--vdc-white); }
.form-error { padding: 16px; border: 1px solid #B42318; color: #B42318; }
.form-error ul { margin: 0; padding-left: 18px; }
.legal-note { font-size: 12px; color: #B5B5B0; padding-top: 8px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.field select { appearance: auto; }

/* Navigation : sous-menus au survol / focus */
.nav-list { display: flex; gap: inherit; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-sub { position: absolute; top: calc(100% + 18px); left: -20px; min-width: 240px; list-style: none; margin: 0; padding: 16px 20px; background: var(--vdc-white); color: var(--vdc-black); border: 1px solid var(--vdc-black); display: none; }
.nav-sub a { display: block; padding: 6px 0; text-decoration: none; font-size: 14px; }
.nav-sub a:hover { text-decoration: underline; }
.nav-item.has-sub:hover .nav-sub, .nav-item.has-sub:focus-within .nav-sub { display: block; }
.cart-icon { position: relative; }
.cart-count { position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; border-radius: 8px; background: currentColor; font-size: 10px; line-height: 16px; text-align: center; }
.cart-count { color: inherit; }
.site-header .cart-count { background: var(--vdc-black); color: var(--vdc-white); }
.is-home .site-header:not(.is-solid) .cart-count { background: var(--vdc-white); color: var(--vdc-black); }
.logo-img { display: block; }
.mmenu-group summary { font-family: var(--font-display); text-transform: uppercase; font-size: 36px; line-height: 1; letter-spacing: 0; font-weight: 400; min-height: 0; }
.mmenu-group summary::after { font-size: 28px; }
.mmenu-group { border: 0 !important; }
.mmenu-group ul { list-style: none; margin: 0; padding: 12px 0 0 4px; display: flex; flex-direction: column; gap: 10px; }
.mmenu-group ul a { font-family: var(--font-body); font-size: 17px; text-transform: none; }

/* Hero */
.hero-bg { position: absolute; inset: 0; }
.hero-bg picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; }
.hero--compact { min-height: max(560px, 90vh); }
.hero-split { min-height: calc(100vh - var(--header-h)); gap: 0 !important; }
.hero-split-text { padding: 64px var(--m); justify-content: center; }
.hero-split-media { height: 100%; }
.hero-split-media .media-img, .hero-split-media .ph-fill { height: 100%; }

/* Images */
.media { position: relative; overflow: hidden; background: var(--vdc-grey-light); }
.media.r-auto { aspect-ratio: auto; }
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.r-auto .media-img { height: auto; object-fit: contain; }
.ph-fill { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.ph-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.ph-note { position: relative; z-index: 1; }
.ph-dark .ph, .ph-dark.media { background: #2B2B29; color: #B5B5B0; }

/* Cartes */
.card { display: flex; flex-direction: column; gap: 12px; }
.card-link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card .media { aspect-ratio: 4 / 5; }
.card .media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s var(--ease); }
.card:hover .media .alt { opacity: 1; }
.card--large .card-title { font-size: 24px; }
.card-excerpt { font-size: 15px; line-height: 1.6; }
.product-grid, .cart-lines, ul.cols-2, ul.cols-3, ul.cols-4, ol.cols-3 { list-style: none; margin: 0; padding: 0; }

/* Collection : filtres natifs */
.collection-toolbar { position: sticky; top: var(--header-h); z-index: 10; background: var(--vdc-white); }
.filters-panel { position: relative; border: 0 !important; }
.filters-panel summary { min-height: 44px; }
.filters-body { position: absolute; top: 100%; left: 0; z-index: 20; width: min(360px, 90vw); max-height: 70vh; overflow-y: auto; background: var(--vdc-white); border: 1px solid var(--vdc-black); padding: 24px; }
.filter-group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.filter-group legend { padding-bottom: 8px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; }
.sort-select { border: 0; background: none; min-height: 44px; }
.pagination .page, .pagination span.current { padding: 0 8px; }
@media (max-width: 749px) {
  .filters-body { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 85vh; border-width: 1px 0 0; }
}

/* Texte riche */
.rte p + p { margin-top: 1em; }
.rte ul, .rte ol { padding-left: 1.2em; margin: .5em 0; }
.rte a { text-decoration: underline; text-underline-offset: 3px; }
.lead-xl { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.45; }
.lead-xl p + p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; margin-top: 32px; }
.t-small { font-size: clamp(22px, 2vw, 28px); }
.vdc-text--offset > .stack { max-width: 66.666%; margin-left: 16.666%; }
@media (max-width: 749px) { .vdc-text--offset > .stack { max-width: none; margin-left: 0; } }

/* Tuiles */
.tile { position: relative; display: block; color: var(--vdc-white); text-decoration: none; }
.tile .media { background: #4A4A47; }
.tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 60%); }
.tile-num { position: absolute; top: 20px; left: 20px; }
.tile-text { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.tile-title { font-size: clamp(22px, 2.2vw, 32px); }
.tile-desc { font-size: 13px; line-height: 1.5; color: #E6E6E3; }
.tile--cta .tile-text { top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.tile--cta .tile-title { font-size: clamp(32px, 4vw, 56px); }
.tile--cta .tile-overlay { background: rgba(0,0,0,.45); }

/* Divers sections */
.banner-inline { flex-wrap: wrap; }
.stat-value { font-size: clamp(48px, 5vw, 72px); }
.stats > div + div, .ruled-cols > .col-item + .col-item { border-left: 1px solid var(--vdc-black); }
.ruled-cols > .col-item { padding: 32px 24px 0; }
.ruled-cols > .col-item:first-child { padding-left: 0; }
.gallery-item { margin: 0 0 8px; break-inside: avoid; display: flex; flex-direction: column; gap: 8px; }
.gallery-item img { width: 100%; height: auto; }
.gallery-top { padding-top: 32px; }
.format { padding: 40px 24px; }
.format + .format { border-left: 1px solid var(--vdc-black); }
.format-rect { border: 1px solid var(--vdc-black); }
.station-grid > * { min-width: 0; }
.station-large .ed { font-size: clamp(20px, 2vw, 28px); line-height: 1.5; }
.thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.payment-icons { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.payment-icon { height: 20px; width: auto; }
.specs { margin: 0; }
.specs dd { margin: 0; }
.buybar-title { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; padding: 20px 0; align-items: start; }
.cart-thumb { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--vdc-grey-light); }
.qty-input { width: 72px; height: 44px; border: 1px solid var(--vdc-black); text-align: center; font: inherit; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; border: 1px solid var(--vdc-black); padding: 24px; }
.additional-checkout { display: flex; flex-direction: column; gap: 8px; }
.search-input { flex-grow: 1; height: 64px; border: 0; border-bottom: 1px solid var(--vdc-black); font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3vw, 40px); background: transparent; min-width: 0; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li > a { border-top: 1px solid var(--vdc-black); min-height: 96px; display: grid; grid-template-columns: 200px 1fr 320px 40px; align-items: center; text-decoration: none; }
.archive-list li:last-child > a { border-bottom: 1px solid var(--vdc-black); }
.archive-list li > a:hover { background: var(--vdc-grey-light); }
.archive-year { font-size: 40px; }
ol.prog { list-style: none; margin: 0; padding: 0; }
ol.prog li { border-top: 1px solid var(--vdc-black); min-height: 64px; display: flex; align-items: center; gap: 24px; font-family: var(--font-display); text-transform: uppercase; font-size: 24px; }
ol.prog li:last-child { border-bottom: 1px solid var(--vdc-black); }
.prog-num { width: 48px; flex-shrink: 0; }
.exhibited { list-style: none; margin: 0; padding: 0; }
.newsletter-box { padding: 64px var(--m); flex-wrap: wrap; }
.sticky-filters { position: sticky; top: var(--header-h); z-index: 10; background: var(--vdc-white); }
.filters a { text-decoration: none; color: var(--vdc-grey-text); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.filters a[aria-current="page"] { color: var(--vdc-black); text-decoration: underline; text-underline-offset: 8px; }
.tl-entry h2 a:hover { text-decoration: underline; }
@media (max-width: 749px) {
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-qty { grid-column: 2; align-items: flex-start !important; flex-direction: row !important; }
  .cart-summary { position: static; }
  .quote-aside { position: static; }
  .stats > div + div, .ruled-cols > .col-item + .col-item, .format + .format { border-left: 0; border-top: 1px solid var(--vdc-black); }
  .ruled-cols > .col-item { padding: 24px 0 0; }
  .archive-list li > a { grid-template-columns: 1fr auto; padding: 16px 0; gap: 4px 16px; }
  .archive-list li > a > :nth-child(3) { grid-column: 1; }
  .archive-list li > a > :last-child { grid-row: 1 / 3; grid-column: 2; }
  ol.prog li { font-size: 18px; min-height: 56px; gap: 16px; }
  .hero-split .hero-split-media { order: -1; }
}

.grid12 > *, .cols-2 > *, .cols-3 > *, .cols-4 > * { min-width: 0; }
.ph-note { min-width: 0; overflow-wrap: anywhere; }
.cta-tile .muted { color: #B5B5B0; }
.hero-in { width: 100%; }
.product .gallery { align-items: flex-start; }
.product .gallery .media-img { height: auto; }
@media (max-width: 749px) {
  .product .gallery > .media { aspect-ratio: 4 / 5; }
  .product .gallery > .media .media-img { height: 100%; object-fit: cover; }
}
.hero-title, .t-xxl { line-height: .95; }

/* ==========================================================================
   Ajouts WordPress
   ========================================================================== */
.admin-bar .section-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .section-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .section-header { top: 0; } }
.is-home #MainContent { margin-top: calc(-1 * var(--header-h)); }
#MainContent { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ph-label { z-index: 1; }
.logo-img { max-height: 40px; width: auto; }
.nav-list > li { list-style: none; }
.nav .nav-list { gap: 36px; }
@media (max-width: 1100px) { .nav .nav-list { gap: 20px; } }
.mmenu-links > a { font-family: var(--font-display); text-transform: uppercase; font-size: 36px; line-height: 1; text-decoration: none; }
.mm-search input { width: 100%; height: 52px; border: 1px solid var(--vdc-black); padding: 0 16px; font: inherit; border-radius: 0; background: transparent; }
.breadcrumb { padding: 32px 0 24px; }
.breadcrumb a { text-decoration: none; }
mark.vdc-todo { background: #FFF1A8; color: var(--vdc-black); padding: 0 4px; }
.editor-note { margin-left: auto; margin-right: auto; }

/* Contenu éditable (éditeur de blocs) */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; margin-top: 1.6em; }
.entry-content h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; line-height: 1.1; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content img { height: auto; }
.entry-content .wp-block-gallery { margin-top: 32px; }
.entry-content figure { margin: 0; }
.entry-content .alignwide { max-width: none; }
.page-body .measure { max-width: 760px; }
.gallery-content:empty { display: none; }
.pagination-wrap .nav-links, .woocommerce-pagination ul { display: flex; gap: 8px; flex-wrap: wrap; padding: 48px 0 0; margin: 0; list-style: none; }
.pagination-wrap .page-numbers, .woocommerce-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--vdc-black); text-decoration: none; padding: 0 12px; }
.pagination-wrap .page-numbers.current, .woocommerce-pagination .page-numbers.current { background: var(--vdc-black); color: var(--vdc-white); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Formats (sous-catégories du plan métro) */
.formats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.formats-grid .format { border-left: 1px solid var(--vdc-black); }
.formats-grid .format:first-child { border-left: 0; }
.formats-grid .format:hover { background: var(--vdc-grey-light); }
@media (max-width: 749px) { .formats-grid { grid-template-columns: 1fr; } .formats-grid .format { border-left: 0; border-top: 1px solid var(--vdc-black); padding: 24px 0; } .formats-grid .format:first-child { border-top: 0; } }

/* Formulaires */
.form-success:focus { outline: none; }
.consent label a { text-decoration: underline; }
.footer-newsletter .consent { color: #B5B5B0; }
.footer-newsletter .form-success { background: #1E1E1C; color: var(--vdc-white); }
.newsletter-box .consent { font-size: 12px; }
.specs .spec dt { font-size: 12px; }
.spec { gap: 12px; }
@media (max-width: 749px) { .spec { grid-template-columns: 1fr; gap: 2px; } }
.info-bar dd { margin: 0; }
.wrap.legal { padding-left: var(--m); padding-right: var(--m); }
