/*
Theme Name: Ansas Papillon de Léry
Theme URI: https://ansaspapillon.com/
Description: Thème sur mesure du cabinet d'expertise en art asiatique Ansas Papillon de Léry — reprise fidèle de la maquette (design figé, contenu clé éditable via l'administration).
Author: Cabinet Ansas Papillon de Léry
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: ansaspapillon
*/

/* ============================================
   Ansas Papillon — Concept de refonte
   Esthétique luxe-minimal, fond blanc dominant
   ============================================ */

:root {
  --bg: #FBFAF7;
  --bg-warm: #F5F2EC;
  --bg-soft: #EFEBE2;
  --ink: #1A1814;
  --ink-soft: #4A453E;
  --ink-mute: #8A8378;
  --line: #E5E0D6;
  --accent: #8C2E1F;          /* vermillon profond, subtil */
  --accent-soft: #C77A6A;
  --gold: #A88B5C;            /* doré profond — sections sombres */
  --gold-deep: #8E7142;       /* or antique pour fonds */
  --gold-bright: #C9A961;     /* or vif pour accents */
  --gold-soft: #E6D4A8;       /* or pâle pour textes sur or */
  --radius: 2px;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eyebrow.dark { color: var(--ink); }

/* Cadre photo vide (vente, journée, vente passée sans photo) :
   fond beige + monogramme en filigrane, pour garder l'alignement. */
.apl-ph { position: relative; background-color: var(--bg-warm); }

/* Record cliquable (lien vers le lot / l'article) */
a.rm-link { display: block; color: inherit; text-decoration: none; }
h3 a.rm-link, h4 a.rm-link { display: inline; }
a.rm-link:hover img { opacity: 0.92; }
h3 a.rm-link:hover, h4 a.rm-link:hover { color: var(--gold-deep); }
.adj a.rm-link { display: inline; }
.adj a.rm-link:hover { opacity: 0.75; }
.apl-ph::after {
  content: ""; position: absolute; inset: 0;
  background: url(images/logo-monogramme.jpg) center / 44% auto no-repeat;
  opacity: 0.35; pointer-events: none;
}

/* ============================================
   NAV — centered logo, items split left/right
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.nav-side {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; align-items: center; }
.nav-right-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-right-stack .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-side > a:not(.nav-cta) {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-side > a:not(.nav-cta):hover { color: var(--ink); }
.nav-side > a.active { color: var(--ink); }
.nav-side > a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold-bright);
}

/* Nav dropdown ("Lecture") */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown.open .nav-dropdown-trigger { color: var(--ink); }
.nav-caret {
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: translateY(0) rotate(225deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 176px;
  padding: 8px 0;
  background: rgba(251, 250, 247, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(26,24,20,0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}
/* invisible bridge so the menu stays open across the gap */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(5px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-dropdown-menu a.active { color: var(--gold-deep); }
.nav-cta {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: gap 0.25s ease, color 0.2s, border-color 0.2s;
}
.nav-cta:hover {
  gap: 14px;
  color: var(--ink);
  border-color: var(--ink);
}
.nav-cta .arrow {
  display: inline-block;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
}
.nav-cta .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  padding: 0 12px;
}
.nav-brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--ink);
}
.nav-brand .brand-logo {
  display: block;
  width: 48px; height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}
.nav-brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
}
.nav-brand .brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
}

/* Tighten nav on mid-width screens so the CTA never overflows */
@media (max-width: 1180px) {
  .nav-inner { padding: 16px var(--gutter); gap: 18px; }
  .nav-side { gap: 16px; font-size: 12px; }
  .nav-cta { margin-left: 0; font-size: 9px; letter-spacing: 0.12em; }
  .nav-brand .brand-name { font-size: 16px; }
}
@media (max-width: 940px) {
  .nav-cta { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  cursor: pointer;
  transition: gap 0.25s;
}
.btn-link:hover { gap: 18px; }
.btn-link .arrow {
  display: inline-block;
  width: 22px; height: 1px; background: currentColor;
  position: relative;
}
.btn-link .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px var(--gutter) 32px;
  margin-top: 120px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  font-weight: 400;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer ul li a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer ul li a:hover { color: var(--accent-soft); }
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.footer-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 320px;
  line-height: 1.6;
}
.footer-zones {
  max-width: var(--max);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-zones .fz-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-zones .fz-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.footer-zones .fz-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.footer-zones .fz-links a:hover { color: var(--accent-soft); }
.footer-zones .fz-links a.fz-all {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-bottom a:hover { color: var(--gold-soft); }
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-row a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s;
}
.social-row a:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

/* ============================================
   UTILS
   ============================================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px var(--gutter);
}
.section-tight { padding: 60px var(--gutter); }
.section-full {
  width: 100%;
  padding: 100px var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.section-head .eyebrow { margin-bottom: 14px; display: block; }

.divider-line {
  height: 1px;
  background: var(--line);
  margin: 0 var(--gutter);
}

/* ============================================
   GRID HELPERS
   ============================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }

/* ============================================
   CARDS
   ============================================ */
.lot-card {
  cursor: pointer;
}
.lot-card .lot-img {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-warm);
  overflow: hidden;
  margin-bottom: 18px;
}
.lot-card .lot-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.lot-card:hover .lot-img img {
  transform: scale(1.04);
}
.lot-card .lot-num {
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bg);
  background: rgba(0,0,0,0.4);
  padding: 4px 8px;
  backdrop-filter: blur(4px);
}
.lot-card .lot-status {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bg);
  background: var(--accent);
  padding: 4px 10px;
}
.lot-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.005em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.lot-card .lot-meta {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.lot-card .lot-estimate {
  font-size: 14px;
  color: var(--ink-soft);
}
.lot-card .lot-estimate b { color: var(--ink); font-weight: 500; }

/* ============================================
   ART-OBJECT PLACEHOLDER SYSTEM
   ============================================
   Cream-toned, typographic placeholders that
   read as luxury catalog photo slots waiting
   for real inventory photography. Uses a real
   child .ph-label element (not ::after) so it
   never collides with parent gradients.
*/
.img-placeholder {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(0,0,0,0.04) 0%, transparent 60%),
    linear-gradient(160deg, #F2EEE5 0%, #E2DAC8 100%);
  position: relative;
  overflow: hidden;
}
/* Faint vertical striations evoking laid paper */
.img-placeholder > .ph-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.22) 0px,
    rgba(255,255,255,0.22) 1px,
    transparent 1px,
    transparent 26px
  );
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
/* Cropmark frame */
.img-placeholder > .ph-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  pointer-events: none;
  z-index: 0;
}
/* The label text */
.img-placeholder > .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  z-index: 1;
  pointer-events: none;
}
.img-placeholder > .ph-label .ph-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.img-placeholder > .ph-label .ph-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.25;
  color: rgba(0,0,0,0.7);
  font-style: italic;
  max-width: 80%;
}
.img-placeholder > .ph-label .ph-foot {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,0.35);
  text-transform: uppercase;
  margin-top: 16px;
}

/* Tone variants — gentle, never brown-dominant */
.img-placeholder.tone-jade {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.65) 0%, transparent 55%),
    linear-gradient(160deg, #E6EAE0 0%, #C9D2C5 100%);
}
.img-placeholder.tone-bronze {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.55) 0%, transparent 55%),
    linear-gradient(160deg, #E8DCC6 0%, #C9B89A 100%);
}
.img-placeholder.tone-ink {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.18) 0%, transparent 55%),
    linear-gradient(160deg, #3A352D 0%, #5A5247 100%);
}
.img-placeholder.tone-ink > .ph-label .ph-eye,
.img-placeholder.tone-ink > .ph-label .ph-foot { color: rgba(255,255,255,0.5); }
.img-placeholder.tone-ink > .ph-label .ph-title { color: rgba(255,255,255,0.85); }
.img-placeholder.tone-ink > .ph-frame { border-color: rgba(255,255,255,0.18); }
.img-placeholder.tone-cinnabar {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.18) 0%, transparent 55%),
    linear-gradient(160deg, #A1402F 0%, #6E261A 100%);
}
.img-placeholder.tone-cinnabar > .ph-label .ph-eye,
.img-placeholder.tone-cinnabar > .ph-label .ph-foot { color: rgba(255,235,228,0.6); }
.img-placeholder.tone-cinnabar > .ph-label .ph-title { color: rgba(255,240,232,0.95); }
.img-placeholder.tone-cinnabar > .ph-frame { border-color: rgba(255,255,255,0.18); }
.img-placeholder.tone-porcelain {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.75) 0%, transparent 60%),
    linear-gradient(160deg, #F8F4EC 0%, #DFD3BD 100%);
}
.img-placeholder.tone-paper {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.55) 0%, transparent 55%),
    linear-gradient(160deg, #F0E5CC 0%, #D3BF99 100%);
}

/* When placeholder is small (thumb / strip), hide frame and shrink label */
.thumb.img-placeholder > .ph-frame,
.sale-strip .img-placeholder > .ph-frame { display: none; }
.thumb.img-placeholder > .ph-label .ph-eye,
.sale-strip .img-placeholder > .ph-label .ph-eye,
.thumb.img-placeholder > .ph-label .ph-foot,
.sale-strip .img-placeholder > .ph-label .ph-foot { display: none; }
.thumb.img-placeholder > .ph-label .ph-title,
.sale-strip .img-placeholder > .ph-label .ph-title {
  font-size: 10px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Don't let parents' own ::after overlays hide the label */
.hero-image.img-placeholder::after,
.fs-img.img-placeholder::after { content: none; }

/* ============================================
   COOKIE / RGPD BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--bg-warm);
  border-top: 1px solid var(--gold-deep);
  box-shadow: 0 -10px 40px rgba(26,24,20,0.25);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.cookie-text { flex: 1; }
.cookie-text h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.cookie-text p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--bg-soft);
  max-width: 760px;
}
.cookie-text a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-text a:hover { color: #fff; }
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 12px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--gold-soft);
  background: transparent;
  color: var(--gold-soft);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.cookie-btn:hover { background: rgba(230,212,168,0.12); }
.cookie-btn.is-accept {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}
.cookie-btn.is-accept:hover {
  background: #fff;
  border-color: #fff;
}
@media (max-width: 820px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ============================================
   LOCAL / SEO LANDING PAGES (.lp-*)
   ============================================ */
.lp-hero { max-width: var(--max); margin: 0 auto; padding: 76px var(--gutter) 56px; border-bottom: 1px solid var(--line); }
.lp-crumbs { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 24px; }
.lp-crumbs a { color: var(--ink-mute); }
.lp-crumbs .sep { margin: 0 10px; color: var(--gold-deep); }
.lp-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px; }
.lp-hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(36px, 5vw, 72px); line-height: 1.0; letter-spacing: -0.02em; }
.lp-hero h1 em { font-style: italic; color: var(--gold-deep); }
.lp-deck { margin-top: 26px; max-width: 780px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); font-weight: 300; }
.lp-badges { display: inline-flex; flex-wrap: wrap; margin-top: 34px; border: 1px solid var(--line); }
.lp-badges > div { padding: 14px 26px; border-right: 1px solid var(--line); }
.lp-badges > div:last-child { border-right: none; }
.lp-badges .l { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.lp-badges .v { font-family: 'Cormorant Garamond', serif; font-size: 20px; }

.lp-wrap { max-width: 920px; margin: 0 auto; padding: 64px var(--gutter) 20px; }
.lp-wrap.wide { max-width: var(--max); }
.lp-section { margin-bottom: 56px; }
.lp-section > h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin-bottom: 20px; }
.lp-section h2 em { font-style: italic; color: var(--gold-deep); }
.lp-section h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; margin: 22px 0 8px; }
.lp-section p, .lp-section li { font-size: 16px; line-height: 1.75; color: var(--ink-soft); font-weight: 300; }
.lp-section p { margin-bottom: 16px; }
.lp-section ul { margin: 0 0 16px; padding-left: 22px; }
.lp-section li { margin-bottom: 8px; }
.lp-section a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.lp-section a:hover { color: var(--ink); }
.lp-section strong { color: var(--ink); font-weight: 500; }

.lp-cats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-bottom: none; margin: 4px 0 8px; }
.lp-cats .cat { padding: 24px 26px; border-bottom: 1px solid var(--line); }
.lp-cats .cat:nth-child(odd) { border-right: 1px solid var(--line); }
.lp-cats .cat h3 { margin: 0 0 6px; }
.lp-cats .cat p { margin: 0; font-size: 14px; }

.lp-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.lp-links a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.lp-links a:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.lp-faq { border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.lp-faq summary { font-family: 'Cormorant Garamond', serif; font-size: 21px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--gold-deep); font-family: 'JetBrains Mono', monospace; }
.lp-faq details[open] summary::after { content: "\2013"; }
.lp-faq p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }

.lp-citygrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lp-citygrid a { padding: 22px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-decoration: none; color: inherit; transition: background 0.2s; }
.lp-citygrid a:hover { background: var(--bg-soft); }
.lp-citygrid .c-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin-bottom: 4px; }
.lp-citygrid .c-region { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

.lp-cta { max-width: 920px; margin: 8px auto 0; padding: 0 var(--gutter) 90px; }
.lp-cta .box { background: var(--ink); color: var(--bg-warm); padding: 46px clamp(28px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.lp-cta h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.lp-cta p { font-size: 14px; line-height: 1.6; color: var(--bg-soft); margin-top: 10px; max-width: 430px; font-weight: 300; }
.lp-cta .btn { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.lp-cta .btn:hover { background: #fff; border-color: #fff; }

@media (max-width: 760px) {
  .lp-cats, .lp-citygrid { grid-template-columns: 1fr; }
  .lp-cats .cat:nth-child(odd) { border-right: none; }
  .lp-citygrid a { border-right: none; }
}

/* ============================================
   INFO ICON + POPIN (.badge-info) — global
   ============================================ */
.badge-info {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 7px;
  cursor: help;
}
.badge-info .info-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  color: var(--gold-deep);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-style: normal;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.badge-info:hover .info-i,
.badge-info:focus-visible .info-i {
  background: var(--gold-deep);
  color: #fff;
}
.badge-info .info-pop {
  position: absolute;
  bottom: calc(100% + 11px);
  left: 50%;
  width: 252px;
  padding: 13px 15px;
  background: var(--ink);
  color: var(--bg-warm);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.005em;
  text-align: left;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(26,24,20,0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 30;
}
.badge-info .info-pop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}
.badge-info:hover .info-pop,
.badge-info:focus-visible .info-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 620px) {
  .badge-info .info-pop { width: 220px; }
}


/* ============================================
   Formulaires WordPress (ajouts thème)
   ============================================ */
.apl-hp { position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.apl-form-notice {
  padding: 14px 18px;
  margin-bottom: 22px;
  border-left: 4px solid var(--gold-deep);
  background: var(--bg-warm);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.apl-form-notice.is-ok  { border-left-color: #3f7d4f; background: #eef5ef; }
.apl-form-notice.is-err { border-left-color: var(--accent); background: #f7ece9; color: var(--accent); }


/* ============================================
   Article single (gabarit d’article WordPress)
   ============================================ */
.article-hero {
      max-width: 920px;
      margin: 0 auto;
      padding: 72px var(--gutter) 40px;
    }
    .crumbs {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-mute);
      margin-bottom: 28px;
    }
    .crumbs a { color: var(--ink-mute); }
    .crumbs .sep { margin: 0 12px; color: var(--gold-deep); }
    .article-hero .kicker {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold-deep);
      margin-bottom: 22px;
    }
    .article-hero h1 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      font-size: clamp(36px, 5.5vw, 64px);
      line-height: 1.02;
      letter-spacing: -0.015em;
    }
    .article-hero .deck {
      margin-top: 26px;
      font-size: 19px;
      line-height: 1.55;
      color: var(--ink-soft);
      font-weight: 300;
    }
    .article-hero .meta {
      margin-top: 30px;
      padding-top: 22px;
      border-top: 1px solid var(--line);
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-mute);
    }
    .article-cover {
      max-width: 1120px;
      margin: 16px auto 0;
      padding: 0 var(--gutter);
    }
    .article-cover .img-placeholder { height: clamp(280px, 42vw, 520px); }

    .article {
      max-width: 920px;
      margin: 0 auto;
      padding: 56px var(--gutter) 40px;
    }
    .article h2 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 400;
      font-size: clamp(26px, 3vw, 36px);
      line-height: 1.1;
      margin: 44px 0 18px;
    }
    .article h2 .num {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      letter-spacing: 0.1em;
      color: var(--gold-deep);
      margin-right: 12px;
    }
    .article h3 {
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: 16px;
      margin: 26px 0 8px;
    }
    .article p, .article li {
      font-size: 16px;
      line-height: 1.75;
      color: var(--ink-soft);
      font-weight: 300;
    }
    .article p { margin-bottom: 18px; }
    .article ul { margin: 0 0 18px; padding-left: 22px; }
    .article li { margin-bottom: 9px; }
    .article strong { color: var(--ink); font-weight: 500; }
    .article a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
    .article a:hover { color: var(--ink); }
    .article .lead-p { font-size: 18px; color: var(--ink); font-weight: 300; }
    .pull {
      border-left: 2px solid var(--gold-deep);
      padding: 6px 0 6px 24px;
      margin: 30px 0;
      font-family: 'Cormorant Garamond', serif;
      font-size: 24px;
      line-height: 1.3;
      font-style: italic;
      color: var(--ink);
    }
    .checklist {
      background: var(--bg-soft);
      border: 1px solid var(--line);
      padding: 28px 32px;
      margin: 32px 0;
    }
    .checklist h3 { margin-top: 0; }
    /* CTA */
    .article-cta {
      max-width: 920px;
      margin: 24px auto 0;
      padding: 0 var(--gutter) 96px;
    }
    .article-cta .box {
      background: var(--ink);
      color: var(--bg-warm);
      padding: 48px clamp(28px, 5vw, 56px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      flex-wrap: wrap;
    }
    .article-cta h3 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      font-size: clamp(26px, 3vw, 34px);
      line-height: 1.1;
    }
    .article-cta p { font-size: 14px; line-height: 1.6; color: var(--bg-soft); margin-top: 10px; max-width: 420px; font-weight: 300; }
    .article-cta .btn { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
    .article-cta .btn:hover { background: #fff; border-color: #fff; }
    .back-link {
      max-width: 920px;
      margin: 0 auto;
      padding: 0 var(--gutter) 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .back-link a { color: var(--ink-mute); }
    .back-link a:hover { color: var(--gold-deep); }

    /* =====================================================================
     *  ARTICLES — blocs natifs WordPress (éditeur de blocs)
     *  Pour qu'un article rédigé avec les blocs Titre / Image / Paragraphe /
     *  Liste / Citation rende comme la maquette, SANS écrire de HTML.
     * ================================================================== */

    /* Compteur pour les sections numérotées */
    .article { counter-reset: apl-sec; }
    .article::after { content: ""; display: block; clear: both; }

    /* Chapeau : 1er paragraphe automatiquement, ou style « Chapeau » choisi */
    .article > p:first-of-type,
    .article p.is-style-apl-lead,
    .article p.lead-p {
      font-size: 18px;
      color: var(--ink);
      font-weight: 300;
    }

    /* Section numérotée (style de bloc « Section numérotée » sur un Titre H2) */
    .article h2.is-style-apl-numbered { counter-increment: apl-sec; }
    .article h2.is-style-apl-numbered::before {
      content: counter(apl-sec, decimal-leading-zero);
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      letter-spacing: 0.1em;
      color: var(--gold-deep);
      margin-right: 12px;
    }

    /* Image de couverture réelle (image mise en avant) — bandeau homogène */
    .article-cover img {
      width: 100%;
      height: clamp(280px, 42vw, 520px);
      object-fit: cover;
    }

    /* Images dans le corps de l'article (bloc Image) */
    .article figure { margin: 32px 0; }
    .article img { height: auto; }
    .article .wp-block-image { margin: 32px 0; text-align: center; }
    .article .wp-block-image img { display: inline-block; }
    /* Largeur pleine colonne par défaut, sauf tailles réduites explicites */
    .article .wp-block-image > img,
    .article .wp-block-image.size-large img,
    .article .wp-block-image.size-full img { width: 100%; height: auto; }
    .article .wp-block-image.is-resized img,
    .article .wp-block-image.size-medium img,
    .article .wp-block-image.size-thumbnail img { width: auto; max-width: 100%; }

    /* Légendes d'image */
    .article figcaption,
    .article .wp-block-image figcaption {
      margin-top: 10px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-mute);
      text-align: center;
    }

    /* Alignements de bloc */
    .article .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
    .article .alignleft { float: left; margin: 6px 32px 20px 0; max-width: 46%; }
    .article .alignright { float: right; margin: 6px 0 20px 32px; max-width: 46%; }
    /* « Pleine largeur » / « Large » restent bornés à la colonne de texte
       (évite tout débordement — le corps d'article est une colonne unique) */
    .article .alignwide,
    .article .alignfull { width: 100%; margin-left: 0; margin-right: 0; }

    /* Listes (bloc Liste) */
    .article ol { margin: 0 0 18px; padding-left: 22px; }
    .article .wp-block-list { margin: 0 0 18px; }

    /* Citation (bloc Citation) — reprend l'aspect « pull quote » de la maquette */
    .article blockquote,
    .article .wp-block-quote {
      border-left: 2px solid var(--gold-deep);
      padding: 6px 0 6px 24px;
      margin: 30px 0;
      font-family: 'Cormorant Garamond', serif;
      font-size: 24px;
      line-height: 1.3;
      font-style: italic;
      color: var(--ink);
    }
    .article blockquote p { font-size: inherit; color: inherit; font-weight: inherit; margin-bottom: 8px; }
    .article blockquote cite,
    .article .wp-block-quote cite {
      display: block;
      margin-top: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-style: normal;
      color: var(--ink-mute);
    }

    /* Bouton (bloc Bouton) — reprend le bouton du site */
    .article .wp-block-button__link {
      display: inline-block;
      background: var(--ink);
      color: var(--bg-warm);
      border: 1px solid var(--ink);
      border-radius: 0;
      padding: 14px 28px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .article .wp-block-button__link:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

    /* Séparateur (bloc Séparateur) */
    .article .wp-block-separator {
      border: 0;
      border-top: 1px solid var(--line);
      max-width: 100%;
      margin: 40px 0;
    }

/* Plan d'accès Google Maps (pages Cabinet / Contact) */
.apl-gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; filter: grayscale(0.35) contrast(1.02); }
.apl-gmap .gmap-consent {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: 90%; text-align: center;
}
.apl-gmap .gmap-load {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 20px; background: var(--ink); color: #FBF6E8; border: 0; cursor: pointer; transition: background .2s;
}
.apl-gmap .gmap-load:hover { background: var(--gold-deep); }
.apl-gmap .gmap-open { font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.apl-gmap .gmap-note { font-size: 11px; color: var(--ink-mute); }
.apl-gmap.is-loaded .gmap-consent, .apl-gmap.is-loaded .pin { display: none; }

/* Pages villes (gabarit commun) : le corps vient de l'éditeur WordPress */
.lp-content > h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin: 56px 0 20px; }
.lp-content > h2:first-child { margin-top: 0; }
.lp-content .lp-cats > .wp-block-group__inner-container,
.lp-content .lp-cats .cat > .wp-block-group__inner-container { display: contents; }
.lp-content .wp-block-details { border-bottom: 1px solid var(--line); padding: 20px 0; margin: 0; }
.lp-content :not(.wp-block-details) + .wp-block-details { border-top: 1px solid var(--line); margin-top: 8px; }
.lp-content .wp-block-details summary { font-family: 'Cormorant Garamond', serif; font-size: 21px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.lp-content .wp-block-details summary::-webkit-details-marker { display: none; }
.lp-content .wp-block-details summary::after { content: "+"; color: var(--gold-deep); font-family: 'JetBrains Mono', monospace; }
.lp-content .wp-block-details[open] summary::after { content: "\2013"; }
.lp-content .wp-block-details p { margin-top: 14px; font-size: 15px; line-height: 1.7; }
.lp-content p.lp-links a { color: var(--ink-soft); text-decoration: none; }
