/* ==========================================================================
   PATINE — Design system du portail (prototype)
   Mobile-first · aucune dépendance JS · polices système en repli
   ========================================================================== */

:root {
  /* Couleurs de marque */
  --paper: #f6f1e7;        /* papier vergé */
  --paper-2: #ede5d5;      /* papier patiné */
  --paper-3: #e3d8c3;
  --ink: #1d1b17;          /* encre */
  --ink-2: #4a453b;
  --muted: #7a7163;
  --line: #d8ccb6;
  --gilt: #9c7a45;         /* dorure */
  --gilt-2: #c4a467;
  --oxblood: #5c2420;      /* sang-de-bœuf */
  --forest: #1e2a23;       /* vert bronze, sections sombres */
  --forest-2: #2a3a31;
  --on-dark: #efe7d6;
  --ok: #3f6a4c;

  /* Typographie */
  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-text: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  /* Rythme */
  --gutter: 16px;
  --max: 1320px;
  --radius: 2px;
  --shadow: 0 1px 0 rgba(29, 27, 23, .04), 0 12px 32px -18px rgba(29, 27, 23, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 760px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-text);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oxblood); }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Typographie ---------------------------------------------------------- */
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em, .display em { font-style: italic; color: var(--gilt); }
p { margin: 0 0 1em; }
.eyebrow {
  font: 500 .72rem/1.2 var(--f-text); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gilt); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 72ch; }
.small { font-size: .85rem; color: var(--muted); }
.serif { font-family: var(--f-display); }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
  font: 500 .8rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.btn:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--gilt { background: var(--gilt); border-color: var(--gilt); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--block { width: 100%; }
.link-arrow { font: 500 .78rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; white-space: nowrap; }

/* --- Bandeau supérieur ---------------------------------------------------- */
.topbar { background: var(--forest); color: var(--on-dark); font-size: .78rem; letter-spacing: .04em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar a { text-decoration: none; }
.topbar__tools { display: none; gap: 20px; }
@media (min-width: 760px) { .topbar__tools { display: flex; } }

/* --- En-tête -------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .97); border-bottom: 1px solid var(--line); }
/* pas de backdrop-filter : il ferait de l'en-tête le repère du menu mobile en position fixe (panneau écrasé) */
.header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; gap: 12px; }
@media (min-width: 1024px) { .header__row { min-height: 84px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; color: var(--ink); }
.brand svg { width: 32px; height: 32px; color: var(--gilt); }
.brand__name { font: 500 1.65rem/1 var(--f-display); letter-spacing: .28em; text-transform: uppercase; padding-left: .28em; }
.brand__tag { display: none; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1024px) {
  .brand { flex-direction: column; gap: 6px; }
  .brand svg { display: none; }
  .brand__name { font-size: 2.1rem; }
  .brand__tag { display: block; }
}
.header__left, .header__right { display: flex; align-items: center; gap: 4px; }
.header__right { justify-content: flex-end; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 50%; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.header__search { display: none; }
@media (min-width: 1024px) {
  .header__search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink-2); padding: 6px 0; min-width: 260px; }
  .header__search input { border: 0; background: none; outline: none; width: 100%; font-size: .9rem; }
  .header__left .icon-btn--search { display: none; }
}

/* Menu mobile en <details> : accessible et indexable sans JS */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: fixed; top: var(--hdr-bottom, 64px); left: 0; right: 0; bottom: 0; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 40px;
  border-top: 1px solid var(--line); z-index: 60;
}
.menu__panel details { border-bottom: 1px solid var(--line); }
.menu__panel summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font: 500 1.35rem/1 var(--f-display); cursor: pointer; list-style: none; }
.menu__panel summary::after { content: "+"; font: 300 1.4rem var(--f-text); color: var(--gilt); }
.menu__panel details[open] summary::after { content: "–"; }
.menu__panel ul { list-style: none; margin: 0 0 16px; padding: 0; columns: 2; column-gap: 16px; }
.menu__panel li a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink-2); }
.menu__extra { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 1024px) { .menu { display: none; } }

/* Navigation principale (desktop) */
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; border-top: 1px solid var(--line); }
  .nav ul { display: flex; justify-content: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
  .nav a { display: block; padding: 14px 0; text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gilt); transform: scaleX(0); transition: transform .3s var(--ease); }
  .nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
  .nav .nav__pro { color: var(--gilt); }
}

/* --- Visuels de substitution (gravures) ----------------------------------- */
.ph {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(255, 255, 255, .55), transparent 60%),
    var(--tone, var(--paper-2));
  color: var(--ink-2);
}
.ph svg { width: 62%; height: 62%; transition: transform .8s var(--ease); }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1; }
.ph--dark { --tone: var(--forest-2); color: var(--gilt-2); }
.t1 { --tone: #e9dfcb; } .t2 { --tone: #e2d6c1; } .t3 { --tone: #ddd3c6; } .t4 { --tone: #e6dccf; } .t5 { --tone: #d9cdb5; } .t6 { --tone: #e4ddd0; }

/* --- Héros ---------------------------------------------------------------- */
.hero { position: relative; padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { max-width: none; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero__stats strong { display: block; font: 500 2rem/1 var(--f-display); }
.hero__stats span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__media { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.hero__media .ph:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.hero__media figcaption { position: absolute; left: 14px; max-width: calc(53% - 28px); bottom: 14px; background: var(--paper); padding: 8px 12px; font-size: .75rem; letter-spacing: .06em; box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* Recherche principale */
.search { display: flex; margin-top: 28px; background: #fff; border: 1px solid var(--ink); box-shadow: var(--shadow); max-width: 560px; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; min-height: 56px; outline: none; background: none; font-size: 1rem; }
.search button { border: 0; background: var(--ink); color: var(--paper); padding: 0 20px; cursor: pointer; font: 500 .76rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; }
.search button:hover { background: var(--oxblood); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 40px; text-decoration: none; font-size: .85rem; background: rgba(255, 255, 255, .4); }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--forest); color: var(--on-dark); }
.section--dark .lead { color: #cfc5b0; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 32px; }
.section__head h2 { margin: 0; }

/* Rail horizontal mobile → grille desktop */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { grid-auto-columns: 40%; } }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding-inline: 0; } }

/* Univers (catégories) */
.univers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .univers { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.univers a { display: block; text-decoration: none; }
.univers .ph { aspect-ratio: 1; }
.univers a:hover .ph svg { transform: scale(1.06); }
.univers h3 { margin: 12px 0 2px; font-size: 1.3rem; }
.univers span { font-size: .8rem; color: var(--muted); }

/* --- Carte objet ---------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; }
.card:hover .ph svg { transform: scale(1.05); }
.card__fav { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(246, 241, 231, .9); display: grid; place-items: center; cursor: pointer; }
.card__fav svg { width: 18px; height: 18px; }
.card__badge { position: absolute; left: 0; top: 12px; background: var(--ink); color: var(--paper); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; }
.card__body { padding-top: 12px; }
.card__meta { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gilt); margin: 0 0 4px; }
.card__title { font: 500 1.18rem/1.2 var(--f-display); margin: 0 0 6px; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* carte entièrement cliquable */
.card__dealer { font-size: .82rem; color: var(--muted); margin: 0 0 4px; }
.card__price { font-weight: 500; margin: 0; font-size: .95rem; }
.card__fav { z-index: 2; }
.card__dealer a { position: relative; z-index: 2; }

/* Grille de listing */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; } }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .card__title { font-size: 1.05rem; } }

/* --- Antiquaires ---------------------------------------------------------- */
.dealer-card { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.dealer-card .ph { aspect-ratio: 1; border-radius: 50%; }
.dealer-card .ph svg { width: 58%; }
.dealer-card h3 { margin: 0 0 2px; font-size: 1.25rem; }
.dealer-card p { margin: 0; font-size: .85rem; color: var(--muted); }
.dealers { display: grid; gap: 0 48px; }
@media (min-width: 900px) { .dealers { grid-template-columns: repeat(2, 1fr); } }

.verified { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); }
.verified svg { width: 14px; height: 14px; }

/* Bloc éditorial / split */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--rev > :first-child { order: 2; } }

.quote { font: italic 400 clamp(1.5rem, 3.4vw, 2.3rem)/1.3 var(--f-display); margin: 0 0 20px; }

/* Magazine */
.articles { display: grid; gap: 32px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article a { text-decoration: none; }
.article h3 { margin: 14px 0 6px; font-size: 1.4rem; }
.article p { font-size: .92rem; color: var(--ink-2); }

/* Bandeau confiance */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li { border-top: 1px solid var(--gilt); padding-top: 14px; }
.trust strong { display: block; font: 500 1.2rem/1.2 var(--f-display); margin-bottom: 4px; }
.trust span { font-size: .85rem; color: var(--muted); }
.section--dark .trust span { color: #b9ae98; }

/* --- Fil d'Ariane --------------------------------------------------------- */
.crumbs { padding: 14px 0; font-size: .8rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: nowrap; gap: 8px; list-style: none; margin: 0; padding: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }

/* --- Page catégorie ------------------------------------------------------- */
.cat-head { padding: 16px 0 32px; border-bottom: 1px solid var(--line); }
.cat-head .lead { margin-bottom: 0; }
.toolbar { position: sticky; top: 64px; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: 12px; }
.toolbar select { border: 0; background: none; font-size: .88rem; padding: 8px 0; cursor: pointer; }
@media (min-width: 1024px) { .toolbar { top: 133px; } }
.listing { display: grid; gap: 32px; padding: 32px 0 64px; }
@media (min-width: 1024px) { .listing { grid-template-columns: 260px 1fr; gap: 48px; } }
.facets { display: none; }
@media (min-width: 1024px) { .facets { display: block; } }
.facets details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.facets summary { cursor: pointer; padding: 12px 0; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.facets summary::after { content: "+"; color: var(--gilt); }
.facets details[open] summary::after { content: "–"; }
.facets ul { list-style: none; margin: 0 0 12px; padding: 0; }
.facets li a, .facets label { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; text-decoration: none; cursor: pointer; }
.facets li span, .facets label span { color: var(--muted); font-size: .8rem; }
.facets--mobile { display: block; }
@media (min-width: 1024px) { .filter-btn { display: none !important; } }
.filters-sheet > summary { list-style: none; }
.filters-sheet > summary::-webkit-details-marker { display: none; }
.filters-sheet[open] .sheet { position: fixed; inset: 0; background: var(--paper); z-index: 70; overflow-y: auto; padding: 20px var(--gutter) 100px; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet__foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter); background: var(--paper); border-top: 1px solid var(--line); }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; list-style: none; padding: 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.pager [aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Contenu éditorial de catégorie (SEO / GEO) */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.summary-box { border-left: 2px solid var(--gilt); background: rgba(255, 255, 255, .45); padding: 18px 22px; margin: 0 0 32px; }
.summary-box p:last-child { margin: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font: 500 1.2rem/1.3 var(--f-display); list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; color: var(--gilt); font: 300 1.4rem var(--f-text); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }
.linkcloud { display: grid; gap: 24px; }
@media (min-width: 760px) { .linkcloud { grid-template-columns: repeat(3, 1fr); } }
.linkcloud h3 { font-size: .74rem; font-family: var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: var(--gilt); }
.linkcloud ul { list-style: none; margin: 0; padding: 0; }
.linkcloud a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink-2); }

/* --- Fiche objet ---------------------------------------------------------- */
.product { display: grid; gap: 28px; padding: 8px 0 48px; }
@media (min-width: 1000px) { .product { grid-template-columns: 1.25fr 1fr; gap: 64px; padding-bottom: 96px; } }
.gallery { display: grid; gap: 8px; }
.gallery__main { aspect-ratio: 4 / 5; margin: 0 calc(var(--gutter) * -1); }
@media (min-width: 1000px) { .gallery__main { margin: 0; } }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.product__info { align-self: start; }
@media (min-width: 1000px) { .product__info { position: sticky; top: 150px; } }
.product__info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.product__price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; }
.product__price strong { font: 500 2rem/1 var(--f-display); }
.product__actions { display: grid; gap: 10px; margin-bottom: 24px; }
@media (min-width: 560px) { .product__actions { grid-template-columns: 1fr 1fr; } }
.facts { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .93rem; }
.facts caption { text-align: left; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gilt); padding-bottom: 10px; }
.facts th, .facts td { text-align: left; padding: 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 400; color: var(--muted); width: 40%; padding-right: 12px; }
.seller { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 18px; background: var(--paper-2); }
.seller .ph { aspect-ratio: 1; border-radius: 50%; }
.seller h2 { font-size: 1.25rem; margin: 0; }
.seller p { margin: 0; font-size: .85rem; color: var(--muted); }
.assurances { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: .88rem; }
.assurances li { display: flex; gap: 10px; align-items: flex-start; }
.assurances svg { width: 18px; height: 18px; flex: none; color: var(--gilt); margin-top: 3px; }

/* Barre d'action collante — mobile uniquement */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .4); }
.sticky-cta strong { font: 500 1.3rem/1 var(--f-display); padding-right: 6px; }
.sticky-cta .btn { padding: 0 12px; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }
.has-sticky { padding-bottom: 80px; }
@media (min-width: 1000px) { .has-sticky { padding-bottom: 0; } }

/* --- Page antiquaire ------------------------------------------------------ */
.dealer-hero { position: relative; background: var(--forest); color: var(--on-dark); }
.dealer-hero .ph { aspect-ratio: 16 / 7; opacity: .9; }
@media (max-width: 759px) { .dealer-hero .ph { aspect-ratio: 16 / 10; } }
.dealer-id { position: relative; margin-top: -56px; background: var(--paper); padding: 24px 20px; box-shadow: var(--shadow); display: grid; gap: 20px; }
@media (min-width: 900px) { .dealer-id { margin-top: -96px; padding: 40px 48px; grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.dealer-id h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 8px; }
.dealer-id dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: .92rem; }
.dealer-id dt { color: var(--muted); }
.dealer-id dd { margin: 0; }
.tabs { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 40px 0 32px; scrollbar-width: none; }
.tabs a { padding: 14px 0; white-space: nowrap; text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { border-color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.badges li { border: 1px solid var(--gilt); color: var(--gilt); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }

/* --- Espace pro ----------------------------------------------------------- */
.pro { display: grid; gap: 24px; padding: 24px 0 64px; }
@media (min-width: 1100px) { .pro { grid-template-columns: 220px 1fr 320px; gap: 40px; } }
.pro__nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pro__nav a { white-space: nowrap; padding: 10px 14px; text-decoration: none; font-size: .9rem; border: 1px solid var(--line); }
.pro__nav a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (min-width: 1100px) { .pro__nav { flex-direction: column; } .pro__nav a { border: 0; border-left: 2px solid transparent; } .pro__nav a[aria-current] { background: none; color: var(--ink); border-left-color: var(--gilt); } }
.panel { background: #fffdf8; border: 1px solid var(--line); padding: 20px; }
@media (min-width: 760px) { .panel { padding: 32px; } }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.5rem; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); font-size: 1rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field small { color: var(--muted); font-size: .8rem; }
.fields-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } .fields-3 { grid-template-columns: 1fr 1fr 1fr; } }
.upload { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 640px) { .upload { grid-template-columns: repeat(6, 1fr); } }
.upload .ph { aspect-ratio: 1; }
.upload__add { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1; border: 1px dashed var(--gilt); color: var(--gilt); font-size: .8rem; text-align: center; }
.ai-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ai-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--gilt); background: none; color: var(--gilt); padding: 6px 12px; font-size: .78rem; cursor: pointer; }
.score { text-align: center; }
.score__ring { width: 140px; height: 140px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gilt) 0 78%, var(--paper-3) 78% 100%); }
.score__ring div { width: 116px; height: 116px; border-radius: 50%; background: #fffdf8; display: grid; place-items: center; font: 500 2.4rem/1 var(--f-display); }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; font-size: .9rem; }
.checklist li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.checklist .ok { color: var(--ok); } .checklist .ko { color: var(--oxblood); }
.serp { font-family: Arial, sans-serif; background: #fff; border: 1px solid var(--line); padding: 14px; margin-top: 10px; }
.serp__url { font-size: 12px; color: #202124; }
.serp__title { font-size: 18px; color: #1a0dab; line-height: 1.3; margin: 4px 0; }
.serp__desc { font-size: 13px; color: #4d5156; line-height: 1.5; }
.langs { display: flex; gap: 6px; flex-wrap: wrap; }
.langs span { font-size: .75rem; padding: 4px 8px; border: 1px solid var(--line); }
.langs .done { background: var(--ok); color: #fff; border-color: var(--ok); }

/* --- Pied de page --------------------------------------------------------- */
.footer { background: var(--forest); color: var(--on-dark); padding: 56px 0 24px; }
.footer a { text-decoration: none; color: #d6ccb6; }
.footer a:hover { color: var(--gilt-2); }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer h2 { font: 500 .72rem/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gilt-2); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.footer .brand { justify-self: start; color: var(--on-dark); flex-direction: row; }
.footer .brand svg { display: block; }
.footer .brand__name { font-size: 1.6rem; }
.newsletter { display: flex; margin-top: 20px; border-bottom: 1px solid #6c7a6f; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; padding: 12px 0; color: var(--on-dark); outline: none; }
.newsletter button { background: none; border: 0; color: var(--gilt-2); cursor: pointer; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #39483f; font-size: .8rem; color: #a59b86; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
.grid--4 > li:nth-child(n+9) { display: none; }
.pro > * { min-width: 0; }

/* ==========================================================================
   v2 — annuaire, guide, observatoire, offres pro, recherche, 404
   ========================================================================== */

/* Annuaire : villes */
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; list-style: none; margin: 24px 0 0; padding: 0; }
@media (min-width: 760px) { .cities { grid-template-columns: repeat(3, 1fr); gap: 0 32px; } }
@media (min-width: 1100px) { .cities { grid-template-columns: repeat(4, 1fr); } }
.cities a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cities strong { font: 500 1.2rem/1.2 var(--f-display); }
.cities span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.districts { list-style: none; margin: 24px 0 0; padding: 0; }
.districts a { display: block; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.districts strong { display: block; font: 500 1.3rem/1.2 var(--f-display); }
.districts span { font-size: .88rem; color: var(--muted); }
.map { margin: 0; background: var(--paper-2); padding: 16px; color: var(--ink-2); }
.map svg { width: 100%; height: auto; }
.map__pin circle { fill: var(--gilt); stroke: var(--paper); stroke-width: 2; }
.map__pin text { font: 500 11px var(--f-text); fill: var(--ink); letter-spacing: .04em; }

/* Article du Guide */
.article-head { padding: 16px 0 40px; border-bottom: 1px solid var(--line); }
.article-head h1 { max-width: 28ch; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: .88rem; }
.byline .ph { width: 48px; aspect-ratio: 1; border-radius: 50%; }
.byline .ph svg { width: 70%; }
.byline strong { display: block; font-weight: 500; }
.article-layout { display: grid; gap: 40px; padding: 40px 0 72px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { font-size: .9rem; }
@media (min-width: 1024px) { .toc { position: sticky; top: 150px; align-self: start; } }
.toc details > summary { cursor: pointer; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gilt); padding: 12px 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.prose figure { margin: 32px 0; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 32px; }
@media (min-width: 760px) { .keyfacts { grid-template-columns: repeat(4, 1fr); } }
.keyfacts div { background: var(--paper); padding: 16px; }
.keyfacts dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.keyfacts dd { margin: 4px 0 0; font: 500 1.2rem/1.2 var(--f-display); }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 24px 0; }
.compare th, .compare td { text-align: left; padding: 12px 10px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gilt); font-weight: 500; }
.table-scroll { overflow-x: auto; }
.sources { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }
.timeline { list-style: none; padding: 0; margin: 24px 0; border-left: 1px solid var(--gilt); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gilt); }
.timeline strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; margin-right: 8px; }

/* Observatoire des prix */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.kpi { background: #fffdf8; border: 1px solid var(--line); padding: 18px; }
.kpi span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kpi strong { display: block; font: 500 clamp(1.6rem, 4vw, 2.2rem)/1.1 var(--f-display); margin-top: 6px; }
.kpi small { color: var(--ok); font-size: .8rem; }
.chart { background: #fffdf8; border: 1px solid var(--line); padding: 20px; margin: 24px 0; }
.chart h3 { font-size: 1.25rem; margin-bottom: 4px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis { stroke: var(--line); }
.chart .lbl { font: 400 12px var(--f-text); fill: var(--muted); }
.chart .val { font: 500 12px var(--f-text); fill: var(--ink); }
.chart .range { stroke: var(--gilt); stroke-width: 8; stroke-linecap: round; }
.chart .med { fill: var(--ink); stroke: #fffdf8; stroke-width: 2; }
.chart .hit { outline: none; cursor: default; }
.chart .hit:hover .range, .chart .hit:focus .range { stroke: var(--oxblood); }
.chart .hit:hover .dot, .chart .hit:focus .dot { r: 7; }
.chart-wrap { position: relative; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--paper); font-size: .8rem; padding: 8px 10px; max-width: 260px; transform: translate(-50%, calc(-100% - 12px)); }
.chart .line { fill: none; stroke: var(--gilt); stroke-width: 2.5; }
.chart .area { fill: var(--gilt); opacity: .1; }
.chart .dot { fill: var(--gilt); stroke: #fffdf8; stroke-width: 2; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.legend i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; background: var(--gilt); margin-right: 6px; vertical-align: middle; }
.legend i.med { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }

/* Offres pro */
.plans { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; } }
.plan { display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--line); padding: 28px; }
.plan--featured { border-color: var(--ink); box-shadow: var(--shadow); position: relative; }
.plan--featured::before { content: attr(data-flag); position: absolute; top: -12px; left: 28px; background: var(--ink); color: var(--paper); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; }
.plan h3 { font-size: 1.6rem; margin-bottom: 4px; }
.plan .price { font: 500 2.4rem/1 var(--f-display); margin: 16px 0 4px; }
.plan .price small { font: 400 .85rem var(--f-text); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; font-size: .92rem; flex: 1; }
.plan li::before { content: "—"; color: var(--gilt); margin-right: 8px; }
.steps { display: grid; gap: 24px; list-style: none; padding: 0; margin: 32px 0 0; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; border-top: 1px solid var(--gilt); padding-top: 16px; }
.steps li::before { content: "0" counter(s); display: block; font: italic 500 2rem/1 var(--f-display); color: var(--gilt); margin-bottom: 10px; }
.steps strong { display: block; font: 500 1.2rem/1.2 var(--f-display); margin-bottom: 6px; }
.steps span { font-size: .9rem; color: var(--ink-2); }
.section--dark .steps span { color: #cfc5b0; }
.testimonial { border-left: 2px solid var(--gilt); padding-left: 20px; }

/* Recherche */
.search-head { padding: 24px 0; border-bottom: 1px solid var(--line); }
.search-head .search { max-width: none; margin-top: 0; }
.suggest { display: grid; gap: 24px; padding: 24px 0 0; }
@media (min-width: 900px) { .suggest { grid-template-columns: repeat(3, 1fr); } }
.suggest h2 { font: 500 .74rem/1 var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: var(--gilt); margin-bottom: 12px; }
.suggest ul { list-style: none; margin: 0; padding: 0; }
.suggest a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.suggest mark { background: none; color: var(--oxblood); font-weight: 500; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 64px 0; }
.notfound .ph { width: 180px; margin: 0 auto 24px; aspect-ratio: 1; border-radius: 50%; }
.notfound h1 em { display: block; }
.notfound .search { margin: 24px auto 0; }
.notfound .chips { justify-content: center; }

/* Graphique de fourchettes en HTML (lisible à toute largeur) */
.rangechart { margin: 20px 0 4px; }
.rc-row, .rc-axis { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; }
@media (min-width: 760px) { .rc-row, .rc-axis { grid-template-columns: 240px 1fr; gap: 20px; align-items: center; } }
.rc-row { border-top: 1px solid var(--paper-3); outline: none; }
.rc-row:hover, .rc-row:focus-visible { background: rgba(156, 122, 69, .06); }
.rc-label { font-size: .92rem; }
.rc-track { position: relative; height: 34px; margin-right: 24px; }
.rc-range { position: absolute; top: 22px; height: 8px; border-radius: 4px; background: var(--gilt); }
.rc-row:hover .rc-range, .rc-row:focus .rc-range { background: var(--oxblood); }
.rc-track .med { position: absolute; top: 18px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fffdf8; }
.rc-val { position: absolute; top: 0; transform: translateX(-50%); font-size: .8rem; font-weight: 500; white-space: nowrap; }
.rc-axis { padding-top: 0; }
.rc-axis .rc-track { height: 18px; border-top: 1px solid var(--line); }
.rc-axis .rc-track span { position: absolute; top: 4px; transform: translateX(-50%); font-size: .72rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 759px) { .rc-axis .rc-label { display: none; } .rc-axis .rc-track span:nth-child(even) { display: none; } }
.linechart { max-width: 640px; display: block; }
.chart .linechart .lbl { font-size: 10px; }
.chart .linechart .val { font-size: 11px; }

/* Sélecteur de langue (en-tête) */
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 8px; cursor: pointer; font-size: .78rem; letter-spacing: .14em; font-weight: 500; border-radius: 22px; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { background: var(--paper-2); }
.lang-switch[open] > summary svg { transform: rotate(180deg); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 168px; list-style: none; margin: 0; padding: 6px 0; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lang-switch li a { display: flex; justify-content: space-between; padding: 10px 16px; text-decoration: none; font-size: .92rem; }
.lang-switch li a:hover { background: var(--paper-2); color: var(--ink); }
.lang-switch li a[aria-current]::after { content: "✓"; color: var(--gilt); }
@media (max-width: 759px) { .icon-btn--fav { display: none; } }
@media (max-width: 1023px) {
  .header .brand svg { display: none; }
  .header .brand__name { font-size: 1.45rem; letter-spacing: .24em; }
}
@media (max-width: 380px) { .header .brand__name { font-size: 1.25rem; letter-spacing: .18em; } }

/* Styles & Époques */
.styles-list { list-style: none; margin: 40px 0 72px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 32px 20px; }
@media (min-width: 640px) { .styles-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .styles-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .styles-list { grid-template-columns: repeat(4, 1fr); } }
.style-card > a:first-child { display: block; text-decoration: none; }
.style-card .ph { aspect-ratio: 4 / 3; }
.style-card:hover .ph svg { transform: scale(1.05); }
.style-card__dates { font: italic 500 1rem/1 var(--f-display); color: var(--gilt); margin: 14px 0 4px; }
.style-card h3 { font-size: 1.55rem; margin: 0 0 6px; }
.style-card p:not(.style-card__dates) { font-size: .92rem; color: var(--ink-2); margin: 0 0 6px; }
.style-card__guide { display: inline-block; margin-top: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gilt); padding-bottom: 2px; }
/* Hub Guide / Observatoire */
.guide-sections { display: grid; grid-template-columns: 1fr; gap: 0 32px; list-style: none; margin: 32px 0 0; padding: 0; }
@media (min-width: 760px) { .guide-sections { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .guide-sections { grid-template-columns: repeat(3, 1fr); } }
.guide-sections a { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.guide-sections .ph { aspect-ratio: 1; }
.guide-sections strong { display: block; font: 500 1.3rem/1.2 var(--f-display); }
.guide-sections span { font-size: .85rem; color: var(--muted); }
.experts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; list-style: none; margin: 32px 0 0; padding: 0; }
@media (min-width: 900px) { .experts { grid-template-columns: repeat(4, 1fr); } }
.experts .ph { aspect-ratio: 1; border-radius: 50%; max-width: 120px; }
.experts strong { display: block; font: 500 1.15rem/1.2 var(--f-display); margin-top: 12px; }
.experts span { font-size: .82rem; color: var(--muted); }
.index-table td.up { color: var(--ok); white-space: nowrap; }
.index-table td.down { color: var(--oxblood); white-space: nowrap; }
.index-table td, .index-table th { white-space: nowrap; }
.index-table td:first-child, .index-table th:first-child { white-space: normal; }
.grid--all > li:nth-child(n+9) { display: list-item; }
/* Très petits écrans : la colonne du héros ne doit pas s'élargir sur un mot long */
.hero__grid > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; hyphens: manual; }

/* Guide : frise des styles et navigation entre styles */
.frise { display: flex; gap: 0; list-style: none; margin: 32px 0 0; padding: 0 0 8px; overflow-x: auto; scroll-snap-type: x proximity; border-top: 1px solid var(--gilt); }
.frise li { flex: 1 0 128px; scroll-snap-align: start; }
.frise a { display: block; position: relative; padding: 18px 12px 8px 0; text-decoration: none; }
.frise a::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gilt); }
.frise a:hover::before { background: var(--gilt); }
.frise span { display: block; font: italic 500 .95rem/1.2 var(--f-display); color: var(--gilt); }
.frise strong { display: block; font: 500 1.15rem/1.2 var(--f-display); }
.style-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.style-nav a { display: block; text-decoration: none; font: 500 1.3rem/1.2 var(--f-display); }
.style-nav a.next { text-align: right; }
.style-nav small { display: block; font: 500 .7rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt); margin-bottom: 6px; }
.style-nav span { display: block; font: italic 400 .9rem/1.3 var(--f-display); color: var(--muted); }
@media (min-width: 1024px) { .frise li { flex: 1 0 96px; } .frise strong { font-size: 1.05rem; } }
/* Logo « ANTICARIA » (9 lettres) : resserré sur mobile pour laisser la place au sélecteur de langue et au compte */
@media (max-width: 1023px) { .header .brand__name { font-size: 1.3rem; letter-spacing: .14em; padding-left: .14em; } }
@media (max-width: 430px) { .header__row { gap: 4px; } .header .brand__name { font-size: 1.12rem; letter-spacing: .1em; padding-left: .1em; } }
@media (max-width: 370px) { .header .brand__name { font-size: 1rem; letter-spacing: .08em; padding-left: .08em; } .lang-switch > summary { padding: 0 4px; } }
/* Colonnes : un contenu long ne doit jamais élargir la page */
.split > *, .product > * { min-width: 0; }
.prose .link-arrow { white-space: normal; }
/* Quartiers d'une ville (liste non cliquable) */
.districts li > div { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
.districts li > div strong { display: block; font: 500 1.3rem/1.2 var(--f-display); }
.districts li > div span { font-size: .88rem; color: var(--muted); }
/* Formulaire de mise en relation */
.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; margin: 4px 0 16px; cursor: pointer; }
.lead-form .consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.lead-form__note { margin: 12px 0 0; }

/* Retours à la ligne : titres équilibrés, pas de mot orphelin en fin de paragraphe, jamais de césure automatique */
h1, h2, h3, .card__title, .quote { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.lead, .eyebrow { text-wrap: balance; }

/* ==========================================================================
   Galerie de la fiche objet et diaporama plein écran
   ========================================================================== */
.gallery__main { display: block; position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: auto; color: inherit; text-align: left; }
.gallery__media, .gallery__media > .ph { display: grid; }
.gallery__main .ph { aspect-ratio: 4 / 5; }
.gallery__main:hover .ph svg { transform: scale(1.04); }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(246, 241, 231, .92); color: var(--ink); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--shadow); }
.gallery__zoom svg { width: 14px; height: 14px; }
.gallery__thumbs { list-style: none; margin: 0; padding: 0; }
.gallery__thumb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gallery__thumb .ph { aspect-ratio: 1; transition: opacity .2s; }
.gallery__thumb[aria-current="false"] .ph { opacity: .72; }
.gallery__thumb:hover .ph { opacity: 1; }
.gallery__thumb[aria-current="true"] .ph { outline: 1px solid var(--ink); outline-offset: 2px; }

html.lb-open { overflow: hidden; }
dialog.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #121915; color: var(--on-dark); }
dialog.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); animation: lb-fade .25s var(--ease); }
dialog.lightbox::backdrop { background: rgba(10, 14, 12, .85); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb__top { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lb__count { font: italic 500 1.1rem/1 var(--f-display); color: var(--gilt-2); min-width: 48px; }
.lb__title { flex: 1; min-width: 0; font-size: .85rem; color: #c9c0ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__close, .lb__nav { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(255, 255, 255, .04); color: var(--on-dark); cursor: pointer; transition: background .2s, border-color .2s; }
@media (hover: hover) { .lb__close:hover, .lb__nav:hover { background: var(--gilt); border-color: var(--gilt); color: #121915; } }
.lb__close svg, .lb__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb__stage { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; justify-items: center; min-height: 0; padding: 16px var(--gutter); }
.lb__figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-height: 0; overflow: hidden; }
.lb__media { width: min(100%, calc((100dvh - 250px) * .8)); cursor: zoom-in; transition: transform .35s var(--ease); touch-action: pan-y; user-select: none; }
.lb__media > .ph, .lb__media > img { width: 100%; aspect-ratio: 4 / 5; }
.lb__media.is-zoomed { transform: scale(2.2); cursor: zoom-out; }
.lb__media.is-in-right { animation: lb-in-right .35s var(--ease); }
.lb__media.is-in-left { animation: lb-in-left .35s var(--ease); }
@keyframes lb-in-right { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes lb-in-left { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
.lb__caption { font: italic 400 1.05rem/1.3 var(--f-display); color: #d9cfbb; text-align: center; }
.lb__thumbs { display: flex; justify-content: center; gap: 8px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); overflow-x: auto; border-top: 1px solid rgba(255, 255, 255, .08); scrollbar-width: none; }
.lb__thumb { flex: none; width: 64px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .2s; }
.lb__thumb .ph { aspect-ratio: 1; }
.lb__thumb:hover, .lb__thumb[aria-current="true"] { opacity: 1; }
.lb__thumb[aria-current="true"] .ph { outline: 2px solid var(--gilt-2); outline-offset: 2px; }
@media (max-width: 699px) {
  .lb__stage { grid-template-columns: minmax(0, 1fr); padding: 8px 8px; }
  .lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; background: rgba(18, 25, 21, .7); }
  .lb__prev { left: 10px; } .lb__next { right: 10px; }
  .lb__media { width: min(100%, calc((100dvh - 220px) * .8)); }
  .lb__thumb { width: 52px; }
}
@media (prefers-reduced-motion: reduce) { dialog.lightbox[open], .lb__media { animation: none !important; transition: none !important; } }

/* ==========================================================================
   Devenir marchand : gratuité mise en valeur (sceau, ligne « Gratuit », cartouche)
   ========================================================================== */
.hero--pro { overflow: hidden; }
.free-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 4px 0 20px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.free-line span:not(.free-line__tag) { display: inline-flex; align-items: center; gap: 8px; }
.free-line span:not(.free-line__tag)::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gilt); }
.free-line__tag { font: italic 500 1.35rem/1 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--paper); background: var(--gilt); padding: 6px 14px 7px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 10px; }
.hero__reassure { margin: 0; color: var(--muted); }
.pro-aside { display: grid; justify-items: center; gap: 28px; }
.seal { margin: 0; width: min(300px, 72vw); filter: drop-shadow(0 18px 30px rgba(29, 27, 23, .18)); }
.seal svg { display: block; width: 100%; height: auto; overflow: visible; }
.seal__outer { fill: var(--forest); stroke: var(--gilt-2); stroke-width: 1.5; }
.seal__inner { fill: none; stroke: var(--gilt-2); stroke-width: .8; stroke-dasharray: 1 4; }
.seal__ring { transform-origin: 120px 120px; animation: seal-turn 60s linear infinite; }
.seal__ring text { fill: var(--gilt-2); font: 500 12.5px var(--f-text); letter-spacing: .24em; text-transform: uppercase; }
.seal__amount { fill: var(--on-dark); font: italic 500 64px var(--f-display); }
.seal__label { fill: var(--gilt-2); font: 500 9.5px var(--f-text); letter-spacing: .32em; text-transform: uppercase; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal__ring { animation: none; } }
.pro-aside__quote { max-width: 440px; }
.pro-aside__quote .quote { font-size: 1.4rem; }

.free { background: var(--paper-2); }
.cartouche { position: relative; max-width: 980px; margin: 0 auto; padding: 48px 24px 40px; text-align: center; background: #fffdf8; border: 1px solid var(--gilt-2); outline: 1px solid var(--gilt-2); outline-offset: -9px; box-shadow: var(--shadow); }
.cartouche::before, .cartouche::after { content: ""; position: absolute; left: 50%; width: 12px; height: 12px; background: var(--gilt); transform: translate(-50%, -50%) rotate(45deg); }
.cartouche::before { top: 0; } .cartouche::after { top: 100%; }
.cartouche .eyebrow { justify-content: center; }
.cartouche h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.cartouche__lead { max-width: 56ch; margin: 0 auto; color: var(--ink-2); }
.zeros { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px auto; padding: 0; list-style: none; max-width: 720px; }
.zeros li { display: grid; gap: 6px; padding: 4px 8px; }
.zeros li + li { border-left: 1px solid var(--line); }
.zeros strong { font: italic 500 clamp(2.8rem, 9vw, 4.8rem)/1 var(--f-display); color: var(--gilt); }
.zeros span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.included { display: grid; gap: 10px 32px; max-width: 760px; margin: 0 auto; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; text-align: left; }
.included li { position: relative; padding-left: 26px; }
.included li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 5px; border-left: 1.5px solid var(--gilt); border-bottom: 1.5px solid var(--gilt); transform: rotate(-45deg); }
.cartouche__cta { margin: 32px 0 12px; }
.cartouche__note { max-width: 60ch; margin: 0 auto; color: var(--muted); }
@media (min-width: 700px) { .included { grid-template-columns: 1fr 1fr; } .cartouche { padding: 64px 56px 48px; } }
@media (max-width: 420px) { .free-line { gap: 6px 12px; letter-spacing: .08em; } .zeros li { padding: 4px 2px; } .zeros span { font-size: .64rem; letter-spacing: .04em; } .cartouche { padding-left: 18px; padding-right: 18px; } }
@media (min-width: 900px) { .hero--pro .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; } }
@media (min-width: 900px) and (max-width: 1199px) { .seal { width: 240px; } }

/* Suggestion de langue (sans redirection) */
.lang-suggest { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 16px; padding: 10px 48px 10px var(--gutter); background: var(--gilt); color: #fff; font-size: .86rem; position: relative; }
.lang-suggest p { margin: 0; }
.lang-suggest a { color: #fff; font-weight: 500; text-underline-offset: 3px; }
.lang-suggest button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* Liens sur fond sombre : jamais la couleur sang-de-bœuf au survol */
.topbar a:hover, .section--dark a:hover { color: var(--gilt-2); }
.topbar a { transition: color .2s; }

/* Autocomplétion d'adresse */
.addr { position: relative; }
.addr__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 2px); margin: 0; padding: 4px 0; list-style: none; background: #fffdf8; border: 1px solid var(--line); box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; }
.addr__list li { display: grid; gap: 2px; padding: 10px 14px; cursor: pointer; }
.addr__list li span { font-size: .8rem; color: var(--muted); }
.addr__list li:hover, .addr__list li[aria-selected="true"] { background: var(--paper-2); }
.addr__ok { color: var(--ok); font-size: .8rem; }
.field .addr { display: grid; gap: 6px; }

/* ==========================================================================
   Actus : liste et article (gabarit pensé pour Google Discover)
   ========================================================================== */
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 24px; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card a { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.news-card img, .news-lead img, .news-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.news-card img { transition: opacity .3s; }
.news-card a:hover img { opacity: .88; }
.news-card h3 { margin: 4px 0 0; font-size: 1.45rem; line-height: 1.18; }
.news-card a:hover h3 { color: var(--oxblood); }
.news-card p { margin: 0; font-size: .92rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.news-card__meta span { color: var(--gilt); }
.news-card__by { font-size: .82rem; color: var(--muted); }
.news-lead { display: grid; gap: 24px; margin: 8px 0 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); align-items: center; }
.news-lead h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 8px 0 12px; }
.news-lead h2 a { text-decoration: none; }
.news-lead p { color: var(--ink-2); }
@media (min-width: 1000px) { .news-lead { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; } }
.news-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.news-toolbar .chips button { font: inherit; font-size: .82rem; padding: 7px 14px; border: 1px solid var(--line); background: transparent; border-radius: 999px; cursor: pointer; }
.news-toolbar .chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.news-toolbar .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.news-rss { font-size: .82rem; color: var(--muted); }
.news .news-grid { margin-bottom: 72px; }
.section .news-grid { margin-bottom: 0; }

.news-article { max-width: 1100px; margin: 0 auto; }
.news-head { max-width: 820px; margin: 0 auto; padding: 8px 0 28px; text-align: center; }
.news-head .eyebrow { justify-content: center; }
.news-head .eyebrow a { text-decoration: none; }
.news-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; }
.news-dek { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); margin: 0 auto; max-width: 66ch; }
.news-byline { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-align: left; font-size: .86rem; }
.news-byline__avatar .ph { width: 56px; aspect-ratio: 1; border-radius: 50%; }
.news-byline__avatar .ph svg { width: 70%; }
.news-byline strong { display: block; font-weight: 500; font-size: .95rem; }
.news-byline span { display: block; color: var(--muted); }
.news-hero { margin: 0 calc(var(--gutter) * -1) 0; }
@media (min-width: 1200px) { .news-hero { margin: 0; } }
.news-hero figcaption { padding: 8px var(--gutter) 0; font-size: .78rem; color: var(--muted); }
@media (min-width: 1200px) { .news-hero figcaption { padding: 8px 0 0; } }
.news-layout { display: grid; gap: 24px; padding: 36px 0 72px; }
@media (min-width: 1000px) { .news-layout { grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 40px; } }
.news-share { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .82rem; }
.news-share span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); width: 100%; }
.news-share a, .news-share button { color: var(--ink-2); text-decoration: none; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.news-share a:hover, .news-share button:hover { color: var(--oxblood); }
@media (min-width: 1000px) { .news-share { flex-direction: column; align-items: flex-start; position: sticky; top: 140px; align-self: start; } }
.news-body { max-width: 68ch; margin: 0 auto; width: 100%; }
.news-body > p, .news-body li { font-size: 1.08rem; line-height: 1.75; }
.news-body > p:first-of-type::first-letter { float: left; font: 500 4.2em/.82 var(--f-display); color: var(--gilt); padding: 6px 10px 0 0; }
.news-body blockquote { margin: 36px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gilt); }
.news-body blockquote p { font: italic 400 clamp(1.4rem, 2.6vw, 1.8rem)/1.35 var(--f-display); color: var(--ink); margin: 0; }
.news-takeaways { margin-bottom: 32px; }
.news-takeaways ul { margin: 8px 0 0; padding-left: 20px; }
.news-takeaways li { font-size: .98rem; }
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 40px 0 0; }
.news-tags li { font-size: .78rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); margin: 0; }
.news-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px; background: var(--paper-2); }
.news-author .ph { flex: none; width: 72px; aspect-ratio: 1; border-radius: 50%; }
.news-author .ph svg { width: 70%; }
.news-author p { margin: 0 0 6px; font-size: .95rem; }
.news-author .eyebrow { margin-bottom: 6px; }

html.menu-open body { overscroll-behavior: none; }

/* Recherche : barre mobile sous l'en-tête, suggestions instantanées, page de résultats */
.header__search { position: relative; }
@media (max-width: 1023px) {
  .header.search-open .header__search { display: flex; align-items: center; gap: 10px; position: absolute; left: 0; right: 0; top: 100%; padding: 10px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .header.search-open .header__search input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); background: #fff; padding: 0 12px; font-size: 1rem; outline: none; }
  .header.search-open .header__search input:focus { border-color: var(--gilt); }
  .header.search-open .icon-btn--search { background: var(--paper-2); }
}
.suggest-list { position: absolute; z-index: 70; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fffdf8; border: 1px solid var(--line); box-shadow: var(--shadow); max-height: 60vh; overflow-y: auto; }
@media (max-width: 1023px) { .header.search-open .suggest-list { left: var(--gutter); right: var(--gutter); } }
.suggest-list a { display: grid; gap: 2px; padding: 9px 14px; text-decoration: none; color: var(--ink); }
.suggest-list small { font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.suggest-list li[aria-selected="true"] a, .suggest-list a:hover { background: var(--paper-2); color: var(--ink); }
.search-results { padding: 8px 0 72px; }
.search-results:empty { padding: 0; }
.search-count { font: 500 1.5rem/1.3 var(--f-display); margin: 24px 0 12px; }
.search-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.search-filter button { font: inherit; font-size: .82rem; padding: 7px 14px; border: 1px solid var(--line); background: transparent; border-radius: 999px; cursor: pointer; }
.search-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search-results section { margin-top: 32px; }
.search-results h2 { font-size: 1.5rem; margin-bottom: 14px; }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.search-list a { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.search-list a:hover strong { color: var(--oxblood); }
.search-list strong { font: 500 1.2rem/1.25 var(--f-display); }
.search-list small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gilt); }
.search-list span { font-size: .9rem; color: var(--ink-2); }
.search-idle { padding: 24px 0 72px; }
.search-idle h2 { font-size: 1.3rem; margin: 24px 0 12px; }
.search-idle .chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.search-idle .chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.search-idle .chips a:hover { border-color: var(--ink); color: var(--ink); }

/* ==========================================================================
   Compte : menu de l'icône, connexion, inscription, espace acheteur
   ========================================================================== */
.account-menu { position: relative; }
.account-menu > summary { list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu[open] > summary { background: var(--paper-2); }
.account-menu__panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; width: min(300px, calc(100vw - 2 * var(--gutter))); padding: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 8px; }
.account-menu__panel hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
.account-menu__title { margin: 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gilt); }
.account-menu__link { font-size: .9rem; text-align: center; }
.account-menu__hint { margin: 0; font-size: .78rem; color: var(--muted); text-align: center; }

.auth { padding: 24px 0 80px; }
.auth__head { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.auth__head .eyebrow { justify-content: center; }
.auth__grid { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .auth__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.auth__narrow { max-width: 620px; }
.auth-card { background: #fffdf8; border: 1px solid var(--line); padding: 28px 24px; box-shadow: var(--shadow); scroll-margin-top: 120px; }
@media (min-width: 760px) { .auth-card { padding: 36px 40px; } }
.auth-card:target { outline: 2px solid var(--gilt); outline-offset: 4px; }
.auth-card__kicker { margin: 0 0 6px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gilt); }
.auth-card h2 { font-size: 2rem; margin-bottom: 6px; }
.auth-card__lead { margin: 0 0 22px; color: var(--ink-2); font-size: .95rem; }
.auth-card--pro { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.auth-card--pro .auth-card__lead, .auth-card--pro .auth-card__perks { color: #cfc5b0; }
.auth-card--pro .auth-card__kicker { color: var(--gilt-2); }
.auth-card--pro .field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: var(--on-dark); }
.auth-card--pro a { color: var(--gilt-2); }
.auth-card--pro a:hover { color: #e3cc98; }
.auth-form .field { margin-bottom: 14px; }
.auth-form__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.auth-form__check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: .88rem; }
.auth-form__check input { margin-top: 4px; accent-color: var(--gilt); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth-card__perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: .88rem; }
.auth-card__perks li::before { content: "✓"; color: var(--gilt-2); margin-right: 10px; }
.auth-card__foot { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.auth-card--pro .auth-card__foot { border-color: rgba(255, 255, 255, .14); }
.auth__legal { max-width: 720px; margin: 28px auto 0; text-align: center; color: var(--muted); }

.account { padding: 24px 0 80px; }
.account__grid { display: grid; gap: 24px; }
.account__grid > * { min-width: 0; }
@media (min-width: 1000px) { .account__grid { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; } }
.account__me { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.account__me strong { display: block; font-weight: 500; }
.account__me span { font-size: .8rem; color: var(--muted); }
.account__me .account__avatar { flex: none; font-size: .95rem; color: #fff; }
.account__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gilt); color: #fff; font-weight: 500; letter-spacing: .06em; }
.account__side ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.account__side nav a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; white-space: nowrap; font-size: .9rem; }
.account__side nav a svg { flex: none; width: 18px; height: 18px; }
.account__side nav a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (min-width: 1000px) {
  .account__side { position: sticky; top: 120px; align-self: start; }
  .account__side ul { flex-direction: column; }
  .account__side nav a { border: 0; border-left: 2px solid transparent; border-radius: 0; padding: 10px 12px; }
  .account__side nav a[aria-current] { background: var(--paper-2); color: var(--ink); border-left-color: var(--gilt); }
}
.account__logout { display: inline-block; margin-top: 14px; font-size: .86rem; color: var(--muted); }
.account__head h1 { margin-bottom: 6px; }
.account__head p { color: var(--ink-2); margin: 0 0 24px; }
.acc-kpis { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .acc-kpis { grid-template-columns: repeat(3, 1fr); } }
.acc-kpis a { display: grid; gap: 2px; padding: 18px 20px; background: #fffdf8; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.acc-kpis a:hover { border-color: var(--gilt); color: var(--ink); }
.acc-kpis strong { font: 500 2.2rem/1 var(--f-display); }
.acc-kpis em { font-style: normal; font-size: .8rem; color: var(--gilt); }
.acc-box { background: #fffdf8; border: 1px solid var(--line); padding: 20px; margin-bottom: 20px; }
@media (min-width: 760px) { .acc-box { padding: 24px 28px; } }
.acc-box h2 { font-size: 1.45rem; margin-bottom: 14px; }
.acc-box__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.acc-box__head h2 { margin: 0; }
.acc-thread { border-top: 1px solid var(--line); }
.acc-box > .acc-thread:first-of-type, .acc-box__head + .acc-thread { border-top: 0; }
.acc-thread summary { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 0; cursor: pointer; list-style: none; }
.acc-thread summary::-webkit-details-marker { display: none; }
.acc-thread summary .ph { width: 56px; aspect-ratio: 1; grid-row: span 2; }
.acc-thread summary strong { display: block; font-weight: 500; line-height: 1.3; }
.acc-thread summary span:not(.acc-pill) { font-size: .82rem; color: var(--muted); }
.acc-thread summary .acc-pill { justify-self: start; }
@media (min-width: 760px) { .acc-thread summary { grid-template-columns: 56px minmax(0, 1fr) auto; } .acc-thread summary .ph { grid-row: auto; } .acc-thread summary .acc-pill { justify-self: end; } }
.acc-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.acc-pill--ok { background: #e7f0e9; color: var(--ok); }
.acc-thread__body { padding: 0 0 18px; display: grid; gap: 10px; }
.acc-thread__body > * { min-width: 0; }
.acc-msg { max-width: min(560px, 100%); padding: 12px 14px; background: var(--paper-2); }
.acc-msg p { margin: 0 0 6px; font-size: .95rem; }
.acc-msg span { font-size: .76rem; color: var(--muted); }
.acc-msg--me { justify-self: end; background: #f1ead9; }
.acc-reply { display: flex; gap: 8px; align-items: flex-end; }
.acc-reply textarea { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); background: #fff; font: inherit; resize: vertical; }
.notice-acc { padding: 14px 18px; margin-bottom: 20px; background: var(--paper-2); border-left: 2px solid var(--gilt); font-size: .92rem; }
.acc-alerts-mini { list-style: none; margin: 0; padding: 0; }
.acc-alerts-mini a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.acc-alerts-mini span { color: var(--gilt); font-size: .86rem; white-space: nowrap; }
.acc-alerts { list-style: none; margin: 0; padding: 0; }
.acc-alert { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; }
.acc-alert:first-child { border-top: 0; padding-top: 0; }
.acc-alert strong { display: block; font-weight: 500; }
.acc-alert div span { font-size: .82rem; color: var(--muted); }
.acc-alert select { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: .88rem; }
.acc-alert__new { font-size: .84rem; color: var(--gilt); }
@media (min-width: 900px) { .acc-alert { grid-template-columns: minmax(0, 1fr) 220px 130px auto; } }
.acc-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.acc-toolbar p { margin: 0; color: var(--muted); font-size: .9rem; }
.acc-switches { list-style: none; margin: 0; padding: 0; }
.acc-switches li { padding: 10px 0; border-top: 1px solid var(--line); }
.acc-switches li:first-child { border-top: 0; }
.acc-switches label { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.acc-switches input { accent-color: var(--gilt); width: 18px; height: 18px; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-danger { color: var(--oxblood); border-color: currentColor; }
.site-toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; transition: .3s var(--ease); max-width: calc(100vw - 32px); padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: .9rem; box-shadow: var(--shadow); }
.site-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Mentions légales et pages juridiques */
.legal { display: grid; gap: 32px; padding: 16px 0 80px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } .legal__toc { position: sticky; top: 140px; align-self: start; } }
.legal__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.legal__toc a { text-decoration: none; }
.legal__body h2 { scroll-margin-top: 140px; }
.legal__body .facts { margin: 8px 0 8px; width: 100%; }
.legal__body .facts th { width: 38%; }

/* Recherche en langage naturel : critères compris */
.nl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 18px; padding: 14px 16px; background: #fffdf8; border: 1px solid var(--line); border-left: 2px solid var(--gilt); }
.nl__label { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gilt); }
.nl__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: .86rem; cursor: pointer; }
.nl-chip span { opacity: .7; }
.nl-chip:hover { background: var(--oxblood); border-color: var(--oxblood); }
.nl__alert { margin-left: auto; font-size: .86rem; }
.nl__relaxed { margin: -6px 0 18px; padding: 12px 16px; background: var(--paper-2); font-size: .92rem; }
.auth-form__err { margin: 0 0 14px; padding: 10px 12px; background: rgba(156, 46, 36, .14); border-left: 2px solid #d98b7f; font-size: .88rem; }

/* Consentement aux cookies : petite carte discrète en bas à gauche (bande fine sur mobile) */
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 150; width: min(360px, calc(100vw - 32px)); padding: 14px 16px; background: rgba(30, 42, 35, .97); color: #d6ccb6; font-size: .82rem; line-height: 1.45; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.cookie-bar__text { margin: 0 0 10px; }
.cookie-bar__text a { color: var(--gilt-2); }
.cookie-bar__prefs { display: grid; gap: 6px; margin: 0 0 10px; }
.cookie-bar__prefs label { display: flex; gap: 8px; align-items: center; cursor: pointer; color: var(--on-dark); }
.cookie-bar__prefs input { accent-color: var(--gilt); width: 15px; height: 15px; margin: 0; }
.cookie-bar__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cookie-bar__btn { padding: 6px 14px; border: 1px solid rgba(239, 231, 214, .55); border-radius: 999px; background: transparent; color: var(--on-dark); font: inherit; font-size: .8rem; cursor: pointer; }
.cookie-bar__btn:hover { background: var(--on-dark); color: var(--ink); }
.cookie-bar__link { margin-left: auto; border: 0; background: none; padding: 4px 2px; color: #b9ae98; font: inherit; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-bar__link:hover { color: var(--gilt-2); }
.cookie-bar [hidden] { display: none !important; }
@media (max-width: 520px) {
  .cookie-bar { left: 0; right: 0; bottom: 0; width: auto; border-radius: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .cookie-bar__text { margin-bottom: 8px; }
}
.link-consent { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.link-consent:hover { color: var(--gilt-2); }


.lead-form__thanks { margin: 0; padding: 16px; background: #e7f0e9; color: var(--ok); font-size: .95rem; }
.card__fav[aria-pressed="true"] svg { fill: var(--oxblood); stroke: var(--oxblood); }

/* Photos d'illustration des rubriques (remplacent les pictogrammes) */
.ph--photo { background: #e9e4da; padding: 0; }
.ph--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a:hover .ph--photo img { transform: scale(1.04); }
.credits { columns: 2 260px; column-gap: 32px; padding-left: 18px; font-size: .86rem; color: var(--ink-2); }
.credits li { break-inside: avoid; margin-bottom: 6px; }

.lead-form__err { color: #8c2f24; font-size: .9rem; margin: 0 0 10px; }
.gallery--photos .gallery__media img, .gallery--photos .gallery__thumb img { width: 100%; height: 100%; object-fit: contain; background: #f4f1ea; display: block; }
.gallery--photos .gallery__thumb img { object-fit: cover; }
.ph--photo img { object-fit: cover; }
.gallery--single .gallery__thumbs { display: none; }
.gallery--photos .gallery__media { aspect-ratio: 4 / 5; }

/* Devise d'affichage */
.cur { position: relative; }
.cur summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.cur summary::-webkit-details-marker { display: none; }
.cur[open] summary svg { transform: rotate(180deg); }
.cur__list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 200px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.cur__list button { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 8px 10px; border: 0; background: none; font: inherit; font-size: .85rem; color: inherit; cursor: pointer; text-align: left; letter-spacing: .02em; }
.cur__list button:hover, .cur__list button[aria-pressed="true"] { background: var(--paper-2); }
.cur__list button[aria-pressed="true"] { font-weight: 600; }
.cur__list small { color: var(--muted); font-size: .75rem; }
.cur__note { width: 240px; margin: 6px 0 0; padding: 8px 10px 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; line-height: 1.45; white-space: normal; letter-spacing: 0; }
.product__price .cur-note { display: block; width: 100%; margin-top: 4px; color: var(--muted); }
@media (max-width: 759px) {
  .topbar__tools { display: flex; }
  .topbar__tools > a, .topbar__tools > span[aria-hidden] { display: none; }
}
.cur summary { white-space: nowrap; } .topbar__tools { flex-shrink: 0; }

/* Photo d'un meuble représentatif en tête des fiches de style */
.style-photo { margin: 32px 0 8px; }
.style-photo img { display: block; width: 100%; height: clamp(280px, 40vw, 440px); object-fit: contain; background: #ebe6dc; }
.style-photo figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
.style-photo figcaption .small { color: var(--muted); }

.maker-photo { margin: 0; }
.maker-photo img { display: block; width: 100%; height: clamp(260px, 32vw, 400px); object-fit: contain; background: #ebe6dc; }
.maker-photo figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-2); }
.maker-photo figcaption .small { color: var(--muted); }

/* Devenir marchand : visibilité (Google, IA, réseaux sociaux) */
.reach-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 22px; }
.reach-chips li { font-size: .74rem; letter-spacing: .04em; padding: 4px 10px; border: 1px solid var(--gilt-2); color: var(--ink); border-radius: 999px; background: rgba(196,164,103,.12); }
.reach__head .lead { max-width: 62ch; }
.reach__grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 900px) { .reach__grid { grid-template-columns: repeat(3, 1fr); } }
.reach-card { background: #fffdf8; border: 1px solid var(--line); padding: 22px 22px 18px; display: flex; flex-direction: column; }
.reach-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.reach-card .eyebrow { margin: 18px 0 6px; }
.reach-card ul { margin: 0; padding-left: 18px; font-size: .92rem; color: var(--ink-2); display: grid; gap: 8px; }
.reach-card ul strong { color: var(--ink); font-weight: 500; }
.reach-mock { display: grid; gap: 5px; padding: 14px 16px; min-height: 132px; border-radius: 6px; font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; align-content: start; }
.reach-mock--serp { background: #fff; border: 1px solid #e3e3e3; }
.reach-mock--serp .rm-url { font-size: .72rem; color: #4d5156; }
.reach-mock--serp .rm-title { font-size: .98rem; color: #1a0dab; line-height: 1.3; }
.reach-mock--serp .rm-meta { font-size: .74rem; color: #70757a; }
.reach-mock--serp .rm-desc { font-size: .78rem; color: #4d5156; line-height: 1.4; }
.reach-mock--ai { background: #f6f5f1; border: 1px solid #e6e1d6; }
.reach-mock--ai .rm-q { justify-self: end; max-width: 88%; background: #e9e4d8; padding: 7px 11px; border-radius: 14px 14px 2px 14px; font-size: .78rem; color: #2b2b2b; }
.reach-mock--ai .rm-a { font-size: .8rem; color: #2b2b2b; line-height: 1.45; margin-top: 4px; }
.reach-mock--ai .rm-src { font-size: .7rem; color: var(--gilt); justify-self: start; border: 1px solid var(--gilt-2); padding: 2px 8px; border-radius: 999px; }
.reach-mock--social { background: #fff; border: 1px solid #e3e3e3; padding: 0; overflow: hidden; gap: 0; }
.reach-mock--social .rm-img { display: block; height: 78px; background: center / cover no-repeat url("/assets/photos/appliques.jpg"), #d9cdb4; }
.reach-mock--social .rm-site { font-size: .66rem; color: #65676b; padding: 8px 12px 0; letter-spacing: .03em; }
.reach-mock--social .rm-title { font-size: .86rem; font-weight: 600; color: #050505; padding: 2px 12px 10px; }
.reach__proof { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 20px 22px; background: var(--forest); color: var(--on-dark); }
.reach__proof p { margin: 0; max-width: 72ch; font-size: .95rem; }
.reach__proof strong { color: var(--gilt-2); font-weight: 500; }
.article .ph--photo { background: #e7e4df; } .article .ph--photo img { object-fit: contain; }

.dealer-hero--photo img { display: block; width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
@media (max-width: 759px) { .dealer-hero--photo img { aspect-ratio: 16 / 10; } }

.dealers-empty { grid-column: 1 / -1; padding: 20px 22px; background: var(--paper-2); border-left: 3px solid var(--gilt); font-size: .95rem; margin: 0; }

/* Lancement : bloc « référencement en cours » */
.teaser-li { grid-column: 1 / -1; list-style: none; }
.teaser { display: grid; gap: 24px; background: var(--paper-2); border: 1px solid var(--line); padding: 28px 24px; }
@media (min-width: 900px) { .teaser { grid-template-columns: 1.5fr 1fr; padding: 40px 44px; gap: 48px; } }
.teaser__h { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 12px; }
.teaser__txt > p { color: var(--ink-2); max-width: 60ch; }
.teaser__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: 520px; }
.teaser__form input[type=email] { flex: 1 1 220px; min-height: 48px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; font: inherit; }
.teaser__form label:not(.visually-hidden) { width: 100%; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.teaser__ok { width: 100%; margin: 4px 0 0; color: var(--forest); font-weight: 500; }
.teaser__rgpd { width: 100%; margin: 2px 0 0; color: var(--muted); }
.teaser__pro { background: var(--forest); color: var(--on-dark); padding: 24px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.teaser__pro .eyebrow { color: var(--gilt-2); }
.teaser__pro-h { font: 500 1.45rem/1.2 var(--f-display); margin: 0 0 10px; }
.teaser__pro p { margin: 0 0 12px; font-size: .95rem; }
.search-teaser { margin: 40px 0; }
.topbar p a { text-decoration: underline; text-underline-offset: 3px; }

.reach__world { margin-top: 24px; display: grid; gap: 20px 40px; align-items: center; padding: 26px 24px; background: #fffdf8; border: 1px solid var(--line); }
@media (min-width: 900px) { .reach__world { grid-template-columns: 1.6fr 1fr; padding: 32px 36px; } }
.reach__world h3 { font-size: 1.6rem; margin: 0 0 10px; }
.reach__world p { margin: 0; color: var(--ink-2); }
.reach__langs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reach__langs li { padding: 8px 14px; border: 1px solid var(--gilt-2); border-radius: 999px; font: 500 1.05rem/1 var(--f-display); background: rgba(196,164,103,.1); }
/* Devenir marchand : trois cartes alignées (maquettes de même hauteur, titres sur deux lignes) */
@media (min-width: 900px) {
  .reach-card .reach-mock { height: 190px; box-sizing: border-box; overflow: hidden; }
  .reach-card h3 { min-height: 2.4em; }
}
.reach-mock--social { display: flex; flex-direction: column; }
.reach-mock--social .rm-img { flex: 1; height: auto; min-height: 78px; }
.reach-mock--ai { align-content: center; }
.reach-mock--serp { align-content: center; }
