/*
Theme Name: VintageArt
Theme URI: https://vintageart.fr/blog/
Author: Vintage'Art
Description: Thème du blog Vintage'Art — reprend l'identité de la page d'accueil de vintageart.fr : ivoire, vert profond, anthracite, Cormorant Garamond / Inter, angles droits, filets fins.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Propriétaire
Text Domain: vintageart
*/

/* ── 1. Jetons (repris de assets/css/home-universes.css du site) ── */
:root {
  --ivory: #F7F4EE;
  --ivory-deep: #EFEBE3;
  --paper: #FFFFFF;
  --tile: #EFE8DC;            /* fond des vignettes, comme les tuiles « À découvrir » */
  --line: #E1DBD0;
  --ink: #1F2226;
  --ink-soft: #55595F;
  --muted: #7A7E84;
  --nav-bg: #22262A;
  --deep: #0D2820;            /* vert du bandeau d'accueil */
  --deep-2: #12352B;
  --on-deep: #F4EFE6;
  --on-deep-soft: #B7C4BC;
  --on-deep-line: rgba(244,239,230,.16);
  --petrol: #0F4F54;
  --petrol-hover: #0A3B3F;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1330px;
  --gutter: 40px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--petrol); }
a:hover { color: var(--petrol-hover); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }

.va-skip-link { position: absolute; left: -9999px; }
.va-skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: var(--paper); padding: 8px 14px; border: 1px solid var(--line); }
.va-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── 2. En-tête : identique au site (ligne ivoire + barre anthracite), puis rubriques du blog ── */
.va-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.va-header { position: sticky; top: 0; z-index: 300; background: var(--ivory); }
.admin-bar .va-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .va-header { top: 46px; } }
.va-header-inner {
  position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-height); display: flex; align-items: center; gap: 28px;
}
.va-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.va-logo-img { height: 46px; width: 46px; object-fit: contain; }
.va-logo-text { display: block; font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--ink); letter-spacing: .04em; line-height: 1; }
.va-logo-sub { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-soft); letter-spacing: .22em; text-transform: uppercase; line-height: 1; margin-top: 6px; }

.va-search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; }
.va-search svg { position: absolute; left: 14px; color: var(--ink-soft); pointer-events: none; }
.va-search input {
  width: 100%; height: 44px; padding: 0 14px 0 44px; border: 1px solid var(--line); border-radius: 0;
  background: var(--paper); color: var(--ink); font: 400 15px/1 var(--sans); -webkit-appearance: none;
}
.va-search input::placeholder { color: #8A8E94; }
.va-search input:focus { outline: none; border-color: var(--ink); }

.va-icons { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.va-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--ink); }
.va-icons a:hover { color: var(--petrol); }

.va-sell-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  height: 44px; padding: 0 18px; border: 1px solid var(--petrol); background: transparent;
  color: var(--petrol); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.va-sell-btn svg { width: 15px; height: 15px; }
.va-sell-btn:hover { background: var(--petrol); color: #fff; }

.va-burger-toggle { display: none; }
.va-burger { display: none; cursor: pointer; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); }
.va-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); }
.va-mobile-nav { display: none; }

/* Barre anthracite : la navigation du site, « Blog » actif */
.va-sitenav { background: var(--nav-bg); }
.va-sitenav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 48px; display: flex; align-items: center; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.va-sitenav-inner::-webkit-scrollbar { display: none; }
.va-sitenav a { position: relative; flex: none; padding: 13px 0; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.va-sitenav a.is-secondary { color: rgba(255,255,255,.78); font-weight: 400; }
.va-sitenav a:hover { color: #fff; }
.va-sitenav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: #fff; transform: scaleX(0); transition: transform .2s; }
.va-sitenav a:hover::after { transform: scaleX(1); opacity: .5; }
.va-sitenav a.is-active { color: #fff; font-weight: 500; }
.va-sitenav a.is-active::after { transform: scaleX(1); opacity: 1; background: var(--on-deep-soft); }
.va-sitenav-sep { flex: 1; min-width: 16px; }

/* Rubriques du blog : ligne claire sous l'en-tête commun */
.va-rubriques { background: var(--ivory); border-bottom: 1px solid var(--line); }
.va-rubriques-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 54px; display: flex; align-items: center; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.va-rubriques-inner::-webkit-scrollbar { display: none; }
.va-rubriques-label { flex: none; padding-right: 22px; border-right: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.va-rubriques a { position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 16px 0; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.va-rubriques a:hover { color: var(--ink); }
.va-rubriques a.is-active { color: var(--ink); }
.va-rubriques a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--petrol); }
.va-rubriques-count { color: var(--muted); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }

/* ── 3. À la une : moitié texte sur vert profond, moitié image ── */
.va-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--deep); color: var(--on-deep); }
.va-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 56px; padding-right: 64px; }
.va-feature-kicker { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--on-deep-line); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep); }
.va-feature-cat { align-self: flex-start; margin-bottom: 14px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep-soft); text-decoration: none; }
.va-feature-cat:hover { color: #fff; }
.va-feature h1 { margin: 0 0 18px; font-size: clamp(36px, 3.6vw, 54px); line-height: 1.06; color: var(--on-deep); }
.va-feature h1 a { color: inherit; text-decoration: none; }
.va-feature h1 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.va-feature-excerpt { margin: 0 0 14px; max-width: 520px; font-size: 17px; line-height: 1.6; color: rgba(244,239,230,.86); }
.va-feature-meta { margin: 0 0 30px; font-size: 13px; color: var(--on-deep-soft); }
.va-feature-actions, .va-band-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.va-feature-media { display: block; position: relative; overflow: hidden; background: var(--deep-2); }
.va-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Boutons du site : carré clair sur fond foncé, lien souligné avec flèche */
.va-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 27px;
  background: var(--petrol); color: #fff; border: 1px solid var(--petrol);
  font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s;
}
.va-btn:hover { background: var(--petrol-hover); color: #fff; }
.va-btn--light { background: var(--on-deep); border-color: var(--on-deep); color: var(--ink); }
.va-btn--light:hover { background: #fff; color: var(--ink); }
.va-btn-text { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid currentColor; color: var(--on-deep); font-size: 15px; font-weight: 500; text-decoration: none; }
.va-btn-text::after { content: '\2192'; }
.va-btn-text:hover { color: #fff; }
.va-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.va-link::after { content: '\2192'; }
.va-link:hover { color: var(--petrol); }

/* Bandeau simple (rubriques, recherche, pages suivantes) */
.va-hero { background: var(--deep); color: var(--on-deep); }
.va-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 60px; }
.va-hero .va-feature-kicker { max-width: 640px; }
.va-hero h1 { margin: 0 0 12px; font-size: clamp(36px, 4vw, 56px); color: var(--on-deep); }
.va-hero p:not(.va-feature-kicker) { margin: 0; max-width: 640px; font-size: 17px; color: rgba(244,239,230,.86); }

/* ── 4. Liste des articles ── */
.va-section { padding-top: 64px; padding-bottom: 72px; }
.va-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.va-section-head h2 { margin: 0; font-size: clamp(34px, 3.2vw, 46px); }

.va-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.va-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 32px; }
.va-grid--2 .va-card-media { aspect-ratio: 16 / 10; }
.va-grid--2 .va-card-title { font-size: 34px; }
.va-card { display: flex; flex-direction: column; min-width: 0; }
.va-card-media { display: block; aspect-ratio: 4 / 3; background: var(--tile); overflow: hidden; }
.va-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.va-card:hover .va-card-media img { transform: scale(1.03); }
.va-card-media--empty { display: flex; align-items: center; justify-content: center; }
.va-card-media--empty img { width: 72px; height: 72px; object-fit: contain; opacity: .45; }
.va-card-body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.va-kicker { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); text-decoration: none; }
.va-kicker:hover { color: var(--petrol-hover); }
.va-card-title { margin: 10px 0 10px; font-size: 29px; line-height: 1.12; }
.va-card-title a { color: var(--ink); text-decoration: none; }
.va-card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.va-card-excerpt { flex: 1; margin: 0 0 18px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.va-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.va-meta { font-size: 13px; color: var(--muted); }
.va-card-foot .va-link { font-size: 14px; }

.va-pagination { margin-top: 56px; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.va-pagination:empty { display: none; }
.va-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-size: 14px; }
.va-pagination .page-numbers:hover { border-color: var(--ink); }
.va-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.va-empty { margin: 0; padding: 40px 0; text-align: center; color: var(--muted); }

/* Bandeau de fin : appel vers le catalogue */
.va-band { background: var(--deep); color: var(--on-deep); }
.va-band-inner { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 40px; }
.va-band .va-feature-kicker { max-width: 520px; }
.va-band h2 { margin: 0 0 12px; font-size: clamp(32px, 3.2vw, 46px); color: var(--on-deep); }
.va-band p:not(.va-feature-kicker) { margin: 0; max-width: 560px; color: rgba(244,239,230,.86); font-size: 16.5px; }

/* ── 5. Article ── */
/* En-tête d'article : bandeau vert profond + photo, comme le bandeau d'accueil du site */
.va-hero-article { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 540px; background: var(--deep); color: var(--on-deep); }
.va-hero-article-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 72px 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.va-hero-article .va-crumbs { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--on-deep-line); color: var(--on-deep-soft); }
.va-hero-article .va-crumbs a { color: var(--on-deep); }
.va-hero-article .va-crumbs span { color: var(--on-deep-soft); }
.va-hero-article h1 { margin: 0 0 20px; color: var(--on-deep); font-size: clamp(38px, 3.5vw, 58px); line-height: 1.04; }
.va-hero-article-lead { margin: 0 0 32px; max-width: 600px; font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1.45; color: rgba(244,239,230,.86); }
.va-hero-article-meta { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--on-deep-line); }
.va-hero-article-meta img { flex: none; width: 44px; height: 44px; padding: 3px; background: var(--paper); object-fit: contain; }
.va-hero-article-meta p { margin: 0; font-size: 13.5px; color: var(--on-deep-soft); }
.va-hero-article-meta .va-hero-article-author { margin-bottom: 2px; color: var(--on-deep); font-size: 14.5px; font-weight: 500; }
.va-hero-article-media { position: relative; margin: 0; overflow: hidden; background: var(--deep-2); }
.va-hero-article-media > a, .va-hero-article-media > img { position: absolute; inset: 0; display: block; }
.va-hero-article-media img { width: 100%; height: 100%; object-fit: cover; }
.va-hero-article-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 48px 28px 20px; background: linear-gradient(to top, rgba(13,40,32,.78), rgba(13,40,32,0)); color: rgba(244,239,230,.92); font-size: 13px; }
.va-hero-article-media figcaption a { flex: none; color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.va-hero-article-media figcaption a::after { content: ' \2192'; }
.va-hero-article--text { grid-template-columns: 1fr; min-height: 0; }
.va-hero-article--text .va-hero-article-copy { padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.va-hero-article + .va-article-wrap { padding-top: 64px; }

/* Mise en page magazine : en-tête sur la grille du site, texte à gauche, colonne d'accompagnement à droite */
.va-article-wrap { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 72px; }
.va-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.va-article { min-width: 0; max-width: 820px; }
.va-article-side { min-width: 0; align-self: stretch; }
.va-side-sticky { position: sticky; top: calc(var(--header-height) + 48px + 24px); display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - var(--header-height) - 48px - 48px); overflow-y: auto; scrollbar-width: thin; }
.admin-bar .va-side-sticky { top: calc(var(--header-height) + 48px + 56px); }
.va-side-block { padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); }
.va-side-title { margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.va-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.va-toc li { counter-increment: toc; border-top: 1px solid var(--line-soft, #ECE7DE); }
.va-toc li:first-child { border-top: 0; }
.va-toc a { display: flex; gap: 12px; padding: 9px 0; color: var(--ink); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.va-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; width: 22px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.va-toc a:hover { color: var(--petrol); }
.va-toc a.is-current { color: var(--petrol); font-weight: 600; }
.va-side-pieces { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.va-side-pieces a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.va-side-thumb { flex: none; width: 56px; height: 56px; background: var(--tile); overflow: hidden; }
.va-side-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.va-side-piece-name { display: block; font-size: 13.5px; line-height: 1.35; }
.va-side-piece-price { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.va-side-pieces a:hover .va-side-piece-name { color: var(--petrol); }
.va-side-shop p:not(.va-side-title) { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.va-btn--block { display: flex; width: 100%; height: 46px; margin-bottom: 14px; }
.va-side-shop .va-link { font-size: 13.5px; white-space: normal; }
.va-content h2[id] { scroll-margin-top: calc(var(--header-height) + 48px + 24px); }
#pieces { scroll-margin-top: calc(var(--header-height) + 48px + 24px); }
.va-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.va-crumbs a { color: var(--petrol); text-decoration: none; }
.va-crumbs a:hover { text-decoration: underline; }
.va-article-header { max-width: 1040px; padding-bottom: 28px; margin-bottom: 44px; border-bottom: 0; }
.va-article-header::after { content: ''; display: block; width: 72px; height: 2px; margin-top: 28px; background: var(--petrol); }
.va-article-header h1 { margin: 0 0 18px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.03; }
.va-article-lead { max-width: 860px; }
.va-article-lead { margin: 0 0 20px; font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1.45; color: var(--ink-soft); }
.va-article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 13.5px; color: var(--muted); }
.va-article-meta span:first-child { color: var(--ink); font-weight: 500; }
.va-article-cover { margin: 0 0 40px; }
.va-article-cover img { display: block; width: 100%; }

.va-content { font-size: 17.5px; line-height: 1.8; color: #34383D; }
.va-content > :first-child { margin-top: 0; }
.va-content > p:first-of-type { font-size: 19px; color: var(--ink); }
.va-content > p:first-of-type::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--serif); font-size: 82px; font-weight: 500; line-height: .78; color: var(--petrol); }
.va-content .va-callout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 2em 0 0; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--petrol); }
.va-content .va-callout a { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.va-content p { margin: 0 0 1.25em; }
.va-content h2 { margin: 2em 0 .55em; font-size: 36px; }
.va-content h3 { margin: 1.7em 0 .45em; font-size: 27px; }
.va-content strong { color: var(--ink); font-weight: 600; }
.va-content a { color: var(--petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.va-content a:hover { color: var(--petrol-hover); text-decoration-thickness: 2px; }
.va-content ul, .va-content ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.va-content li { margin-bottom: .45em; padding-left: .2em; }
.va-content ul li::marker { color: var(--petrol); }
.va-content ol li::marker { color: var(--petrol); font-weight: 600; }
.va-content blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--petrol); font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.45; color: var(--ink); }
.va-content figure { margin: 2.2em 0; }
.va-content figure { padding: 0; background: var(--tile); }
.va-content figure > a { display: block; }
.va-content figure img, .va-content img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(72vh, 680px); margin: 0 auto; }
.va-content figure figcaption { margin: 0; padding: 10px 0 0; background: var(--ivory); }
.va-content figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: left; }
.va-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.va-content em { color: var(--muted); }
.va-content .alignwide, .va-content .alignfull { margin-left: 0; margin-right: 0; }
/* Pages simples */
.va-narrow { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 72px; box-sizing: content-box; }

/* Fiches produit dans l'article (liste « en vente » transformée par functions.php) */
.va-content .va-pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; margin: 1.4em 0 1.2em; }
.va-content .va-piece { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.va-content .va-piece:hover { border-color: var(--ink); color: var(--ink); }
.va-piece-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--tile); overflow: hidden; }
.va-content .va-piece-media img { width: 100%; height: 100%; max-height: none; object-fit: cover; margin: 0; transition: transform .4s; }
.va-content .va-piece-media img.is-logo { object-fit: contain; padding: 28%; opacity: .45; }
.va-piece:hover .va-piece-media img { transform: scale(1.03); }
.va-piece-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.va-piece-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 12px 12px 14px; }
.va-piece-title { flex: 1; font-size: 14px; line-height: 1.4; font-weight: 500; }
.va-piece-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.va-piece-price { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.va-content .va-pieces-note { margin-top: -.2em; font-size: 13.5px; color: var(--muted); }
.va-piece-cta { font-size: 12px; font-weight: 500; color: var(--petrol); white-space: nowrap; }
.va-piece-cta::after { content: ' \2192'; }
.va-piece.is-sold .va-piece-media img { filter: grayscale(.6); opacity: .8; }
.va-piece.is-sold .va-piece-price { color: var(--muted); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Pied d'article : mots-clés, partage, signature */
.va-article-foot { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.va-tags, .va-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.va-tags-label { min-width: 96px; margin-right: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.va-tags a, .va-share a, .va-share button { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); font: 400 13px/1 var(--sans); text-decoration: none; cursor: pointer; }
.va-tags a:hover, .va-share a:hover, .va-share button:hover { border-color: var(--ink); color: var(--ink); }
.va-author { display: flex; gap: 18px; margin-top: 10px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); }
.va-author img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.va-author p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.va-author .va-author-name { margin: 0 0 4px; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }
.va-author .va-link { font-size: 14px; }

/* Commentaires */
.va-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.va-comments .comment-reply-title { margin: 0 0 6px; font-size: 30px; }
.va-comments .comment-reply-title small { font-family: var(--sans); font-size: 13px; margin-left: 10px; }
.va-comments .comment-notes, .va-comments .logged-in-as { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.va-comments .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.va-comments .comment-form > p { margin: 0; }
.va-comments .comment-notes, .va-comments .comment-form-comment, .va-comments .form-submit, .va-comments .logged-in-as { grid-column: 1 / -1; }
.va-comments label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.va-comments input[type="text"], .va-comments input[type="email"], .va-comments textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.5 var(--sans); }
.va-comments textarea { height: 140px; resize: vertical; }
.va-comments input:focus, .va-comments textarea:focus { outline: none; border-color: var(--ink); }
.va-comments .submit { height: 48px; padding: 0 24px; border: 1px solid var(--petrol); background: var(--petrol); color: #fff; font: 500 15px/1 var(--sans); cursor: pointer; }
.va-comments .submit:hover { background: var(--petrol-hover); }
.va-comments .comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.va-comments .comment-body { background: var(--paper); border: 1px solid var(--line); padding: 16px 20px; margin-bottom: 12px; }
.va-comments .required { color: var(--petrol); }

/* ── 6. Pied de page : celui du site (includes/site-footer.php + assets/css/footer.css) ── */
/* Les règles globales du blog (liens, titres) ne doivent pas modifier le pied de page du site. */
.va-ft h2, .va-ft h3 { font-family: inherit; letter-spacing: normal; }
.va-ft a:hover { text-decoration: none; }
.va-footer-fallback { padding: 28px var(--gutter); background: var(--nav-bg); color: rgba(255,255,255,.7); font-size: 13px; text-align: center; }
.va-footer-fallback a { color: #fff; }

/* ── 7. Tablette et mobile ── */
@media (max-width: 1180px) {
  .va-search { max-width: 320px; }
  .va-sitenav-inner { gap: 18px; }
  .va-sitenav a { font-size: 14px; }
  .va-sitenav a.is-secondary:not(.is-active) { display: none; }
}
@media (max-width: 1100px) {
  .va-hero-article { grid-template-columns: 1fr; min-height: 0; }
  .va-hero-article-media { order: -1; aspect-ratio: 16 / 10; }
  .va-hero-article-copy { padding: 40px var(--gutter) 44px; }
  .va-article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .va-article { max-width: none; }
  .va-article-side { display: none; }
  .va-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; --header-height: 64px; }
  .va-header-inner { gap: 10px; }
  .va-logo-text { font-size: 23px; }
  .va-logo-img { width: 40px; height: 40px; }
  .va-search, .va-sell-btn, .va-sitenav { display: none; }
  .va-icons { gap: 0; }
  .va-icons a { width: 38px; }
  .va-burger { display: flex; }
  .va-mobile-nav { position: absolute; top: var(--header-height); left: 0; right: 0; max-height: calc(100vh - var(--header-height)); overflow-y: auto; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 16px 18px; box-shadow: 0 18px 30px -20px rgba(31,34,38,.35); }
  .va-burger-toggle:checked ~ .va-mobile-nav { display: block; }
  .va-search--mobile { display: flex; max-width: none; margin-bottom: 8px; }
  .va-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .va-mobile-nav li a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; text-decoration: none; }
  .va-mobile-nav li a.is-active { color: var(--petrol); font-weight: 600; }
  .va-mobile-sell { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; border: 1px solid var(--petrol); color: var(--petrol); font-weight: 500; text-decoration: none; }
  .va-rubriques-inner { gap: 22px; height: 50px; }
  .va-rubriques-label { display: none; }

  .va-feature { grid-template-columns: 1fr; min-height: 0; }
  .va-feature-media { order: -1; aspect-ratio: 4 / 3; }
  .va-feature-copy { padding: 30px 16px 40px; }
  .va-feature-actions, .va-band-actions { gap: 20px; }

  .va-section { padding-top: 40px; padding-bottom: 48px; }
  .va-section-head { align-items: center; }
  .va-grid { grid-template-columns: 1fr; gap: 36px; }
  .va-card-title { font-size: 27px; }

  .va-band-inner { grid-template-columns: 1fr; padding: 44px 16px; gap: 26px; }
  .va-narrow { padding: 32px 16px 48px; }
  .va-article-wrap { padding: 28px 16px 48px; }
  .va-hero-article-media { aspect-ratio: 4 / 3; }
  .va-hero-article-copy { padding: 28px 16px 34px; }
  .va-hero-article-lead { font-size: 19px; margin-bottom: 24px; }
  .va-hero-article-media figcaption { padding: 36px 16px 14px; font-size: 12px; }
  .va-hero-article + .va-article-wrap { padding-top: 36px; }
  .va-article-header { margin-bottom: 30px; }
  .va-content { font-size: 17px; }
  .va-content h2 { font-size: 31px; }
  .va-content .va-pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .va-comments .comment-form { grid-template-columns: 1fr; }
  .va-author { padding: 18px; }
  .va-tags-label { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .va-card-media img, .va-sitenav a::after { transition: none; } }
