/* ============================================================
   Appartement 60 m² — Vieux-Lille, rue des Bouchers
   Palette tirée des photos : prune du mur d'accent, vert zellige
   de la salle de bain, bleu nuit des portes, brique des façades.

   Tous les couples texte/fond de ce fichier ont été vérifiés
   >= 4.5:1 (WCAG 2.1 AA), en thème clair comme en thème sombre.
   ============================================================ */

:root {
  color-scheme: light dark;

  /* Accents — identiques dans les deux thèmes */
  --plum:      #5b2340;
  --plum-deep: #3d1729;
  --navy:      #1f2c44;
  --green:     #566b45;
  --brick:     #a8563c;
  --gold:      #b08447;

  /* Surfaces & texte — thème clair */
  --ink:       #1b1a19;
  --ink-soft:  #55504c;
  --ink-faint: #726c67;   /* 4.53:1 sur --paper-alt, le fond le plus sombre */
  --line:      #e4ded7;
  --paper:     #fbf9f6;
  --paper-alt: #f4efe8;
  --surface:   #ffffff;

  /* Accents lisibles sur surface claire */
  --accent-txt: var(--brick);
  --tag-txt:    var(--plum);
  --badge-txt:  var(--green);
  --badge-bg:   #eff1e9;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --r:    14px;
  --shadow-sm: 0 1px 2px rgba(27,26,25,.06), 0 4px 14px rgba(27,26,25,.05);
  --shadow-md: 0 2px 6px rgba(27,26,25,.08), 0 16px 40px rgba(27,26,25,.10);

  --tap: 44px;            /* cible tactile minimale (WCAG 2.5.5) */
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:       #f2ece5;
    --ink-soft:  #c6bcb1;
    --ink-faint: #9c9289;
    --line:      #322b25;
    --paper:     #14110e;
    --paper-alt: #1c1815;
    --surface:   #201b17;

    --accent-txt: #e39a7c;   /* brique éclaircie : 7.5:1 sur --surface */
    --tag-txt:    #e8b9d0;
    --badge-txt:  #a8c187;
    --badge-bg:   #23291d;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.5), 0 4px 14px rgba(0,0,0,.4);
    --shadow-md: 0 2px 6px rgba(0,0,0,.55), 0 16px 40px rgba(0,0,0,.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Respect de prefers-reduced-motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); margin-bottom: .5em; text-wrap: balance; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

/* Utilitaire : visible pour les lecteurs d'écran uniquement */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--plum); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r) 0; text-decoration: none; font-weight: 600;
}
.skip:focus { left: 0; }

/* Indicateur de focus visible et contrasté partout (WCAG 2.4.7 / 1.4.11) */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :focus-visible { outline-color: #d9b98e; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 2.5rem); }
/* Colonne de lecture étroite, mais alignée à gauche sur les sections larges :
   un simple max-width centré décalerait ces blocs par rapport au reste. */
.wrap--narrow > * { max-width: 760px; }
.section--contact .wrap--narrow > * { margin-left: auto; margin-right: auto; }

/* Les ancres ne doivent pas passer sous la barre collante (WCAG 2.4.1). */
[id] { scroll-margin-top: 5rem; }

.kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-txt); margin: 0 0 .7rem;
}
.kicker--light { color: #d9b98e; }

.muted { color: var(--ink-faint); font-weight: 400; }
.note  { font-size: .87rem; color: var(--ink-faint); line-height: 1.55; }

/* ---------------- Barre de navigation ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem clamp(1.15rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.topbar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.topbar__brand {
  font-family: var(--serif); font-size: .98rem; font-weight: 600;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  display: flex; align-items: center; min-height: var(--tap);
}
.topbar__nav { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.2rem); }
.topbar__nav a {
  display: flex; align-items: center; min-height: var(--tap);
  padding: 0 .3rem;
  font-size: .9rem; text-decoration: none; color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.topbar__nav a:hover { color: var(--ink); border-bottom-color: var(--accent-txt); }
.topbar__cta {
  background: var(--plum); color: #fff !important; border-radius: 999px;
  padding: 0 1.15rem !important; border-bottom: none !important;
}
.topbar__cta:hover { background: var(--plum-deep); }
@media (max-width: 800px) {
  .topbar__nav a:not(.topbar__cta) { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; }
/* La scène ne contient que la photo et le texte : le bandeau de chiffres
   reste dans le flux, sous elle (sinon le texte le recouvre). */
.hero__stage { position: relative; isolation: isolate; }
.hero__img {
  width: 100%;
  height: clamp(460px, 78vh, 820px);
  object-fit: cover; object-position: center 55%;
  background: var(--paper-alt);
  display: block;
}
/* Voile assombrissant. Le texte n'occupe plus que le bas de la scène : le
   dégradé peut donc rester >= .70 derrière le texte (>= 6:1 sur du blanc,
   quelle que soit la photo) tout en libérant le haut de l'image. */
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(22,14,18,.94) 0%,
    rgba(22,14,18,.86) 28%,
    rgba(22,14,18,.55) 48%,
    rgba(22,14,18,.16) 72%,
    rgba(22,14,18,.30) 100%);
}
.hero__inner {
  position: absolute; inset: auto 0 0 0;
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(1.15rem, 4vw, 2.5rem) clamp(2rem, 4.5vw, 3.2rem);
  color: #fff;
}
.hero__eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #e6c79b; margin: 0 0 .7rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
}
.hero__title {
  font-size: clamp(1.95rem, 5.2vw, 3.7rem); color: #fff; margin: 0 0 .45em;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero__title span { color: #f0d9bb; }
.hero__price {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600;
  margin: 0 0 1.25rem; display: flex; align-items: baseline; gap: .65rem; flex-wrap: wrap;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.hero__price span {
  font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-shadow: none;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.45);
  padding: .3rem .7rem; border-radius: 999px;
}
.hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap);
  text-decoration: none; font-size: .95rem; font-weight: 600;
  padding: .5rem 1.6rem; border-radius: 999px;
  transition: transform .18s, background .2s, box-shadow .2s;
}
.btn--primary { background: #fff; color: var(--plum-deep); box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

.hero__strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--navy); color: #fff;
}
.hero__strip li {
  padding: 1.05rem .6rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.16);
  display: flex; flex-direction: column; gap: .12rem;
}
.hero__strip li:last-child { border-right: none; }
.hero__strip strong { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; }
.hero__strip span { font-size: .74rem; color: rgba(255,255,255,.72); letter-spacing: .04em; }
@media (max-width: 780px) {
  .hero__strip { grid-template-columns: repeat(3, 1fr); }
  .hero__strip li:nth-child(3) { border-right: none; }
  .hero__strip li:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.16); }
}

/* ---------------- Sections ---------------- */
.section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }
.section__sub { color: var(--ink-soft); margin: -.2rem 0 1.8rem; }

.prose p { color: var(--ink-soft); font-size: 1.06rem; }
.prose strong { color: var(--ink); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.8rem 0 0; }
.tags li {
  font-size: .82rem; font-weight: 600; color: var(--tag-txt);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem .95rem;
}

/* ---------------- Galerie ---------------- */
.section--gallery { background: var(--paper-alt); }

.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.6rem; }
.filters__btn {
  font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer;
  min-height: var(--tap); padding: .4rem 1.05rem;
  background: var(--surface); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.filters__btn:hover { border-color: var(--plum); color: var(--tag-txt); }
.filters__btn[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }

.grid {
  display: grid; gap: clamp(.6rem, 1.4vw, 1rem);
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.card {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--paper-alt); box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.card:hover img { transform: scale(1.045); }
.card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.9rem .9rem .75rem; font-size: .87rem; color: #fff; font-weight: 500;
  background: linear-gradient(to top, rgba(18,12,15,.92), rgba(18,12,15,.55) 55%, rgba(18,12,15,0));
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
/* Bouton étiré : rend chaque vignette focalisable et actionnable au clavier */
.card__btn {
  position: absolute; inset: 0;
  width: 100%; border: 0; padding: 0;
  background: transparent; cursor: zoom-in;
  border-radius: var(--r);
}
.card__btn:focus-visible { outline-offset: -4px; }
.card[hidden] { display: none; }

/* Mise en avant de la première photo sur grand écran.
   Les lignes sont de hauteur fixe et les vignettes remplissent leur cellule :
   sans cela, la vignette double impose des lignes hautes et les autres cartes
   se retrouvent avec une bande vide sous leur image. */
@media (min-width: 900px) {
  .grid { grid-auto-rows: clamp(175px, 15.5vw, 225px); }
  .card { height: 100%; }
  .card img { height: 100%; aspect-ratio: auto; }
  .card:first-of-type { grid-column: span 2; grid-row: span 2; }
  .card:first-of-type figcaption { font-size: 1rem; padding: 2.4rem 1.2rem 1rem; }
}

/* ---------------- Pièces ---------------- */
.rooms { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.room {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
}
.room h3 { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: .6rem; }
.room h3 span {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--badge-txt); background: var(--badge-bg);
  border-radius: 999px; padding: .22rem .6rem;
}
.room p { color: var(--ink-soft); font-size: .96rem; }
.room p:last-child { margin-bottom: 0; }

.check { list-style: none; padding: 0; margin: 0; display: grid; gap: .42rem; }
.check li { position: relative; padding-left: 1.5rem; font-size: .94rem; color: var(--ink-soft); }
.check li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: .48rem; height: .78rem;
  border-right: 2px solid var(--badge-txt); border-bottom: 2px solid var(--badge-txt);
  transform: rotate(42deg);
}

/* ---------------- Rénovation ---------------- */
.section--reno { background: var(--navy); color: #fff; }
.section--reno h2 { color: #fff; }
.section--reno .kicker { color: #e0be92; }
.reno { list-style: none; padding: 0; margin: 0; }
.reno li {
  padding: 1.05rem 0 1.05rem 2.6rem; position: relative;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82); font-size: .99rem;
}
.reno li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.reno li strong { color: #fff; font-weight: 600; }
.reno li::before {
  content: ""; position: absolute; left: .35rem; top: 1.5em;
  width: .5rem; height: .82rem;
  border-right: 2px solid #e0be92; border-bottom: 2px solid #e0be92;
  transform: rotate(42deg);
}

/* ---------------- Chiffres ---------------- */
.facts { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.facts__block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
}
.facts__block h3 { font-size: 1.05rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.facts__block dl { margin: 0; }
.facts__block dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: .95rem;
}
.facts__block dt:first-of-type { margin-top: 0; }
.facts__block dd { margin: .18rem 0 0; font-size: .99rem; color: var(--ink-soft); }
.facts__block dd strong { color: var(--ink); }
.facts__block .note { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }

.dpe + .dpe { margin-top: 1.3rem; }
.dpe__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 .5rem; }
.dpe__scale { list-style: none; display: flex; gap: .28rem; padding: 0; margin: 0; }
.dpe__scale li {
  flex: 1; text-align: center; font-size: .8rem; font-weight: 700;
  padding: .5rem .1rem; border-radius: 6px;
  background: var(--paper-alt); color: var(--ink-faint);
}
.dpe__scale li[aria-current="true"] {
  background: var(--brick); color: #fff;
  transform: scale(1.14); box-shadow: var(--shadow-sm);
}
.dpe__scale--ges li[aria-current="true"] { background: var(--green); }

/* ---------------- Quartier ---------------- */
.section--hood { background: var(--paper-alt); }
.hood { display: grid; gap: clamp(1.4rem, 3vw, 2.8rem); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .hood { grid-template-columns: 1fr; } }
.hood__text p { color: var(--ink-soft); }
.hood__img { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-md); }
.hood__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.dist { list-style: none; padding: 0; margin: 1.5rem 0; }
.dist li { padding: .78rem 0; border-top: 1px solid var(--line); font-size: .96rem; color: var(--ink-soft); }
.dist li:last-child { border-bottom: 1px solid var(--line); }
.dist strong {
  display: inline-block; min-width: 5.2rem; color: var(--tag-txt);
  font-family: var(--serif); font-size: 1.06rem;
}

/* ---------------- FAQ ---------------- */
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 1.15rem; margin-bottom: .6rem;
}
details[open] { border-color: color-mix(in srgb, var(--line) 60%, var(--ink-faint)); }
summary {
  cursor: pointer; padding: .9rem 0; min-height: var(--tap);
  font-weight: 600; font-size: .99rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-txt); font-weight: 400; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: .96rem; }

/* ---------------- Contact ---------------- */
.section--contact { background: var(--plum); color: #fff; text-align: center; }
.section--contact h2 { color: #fff; }
.contact__lede { color: rgba(255,255,255,.88); max-width: 48ch; margin: 0 auto 2.2rem; }
.contact__cards { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.ccard {
  display: flex; flex-direction: column; align-items: center; gap: .12rem;
  min-width: 240px; min-height: var(--tap);
  color: #fff; text-decoration: none;
  background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r); padding: 1.4rem 1.6rem;
  transition: background .22s, transform .22s, border-color .22s;
}
.ccard:hover { background: rgba(255,255,255,.19); border-color: rgba(255,255,255,.55); transform: translateY(-3px); }
.ccard__icon { font-size: 1.5rem; margin-bottom: .3rem; }
.ccard__k { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e6c79b; }
.ccard__v { font-family: var(--serif); font-size: 1.14rem; word-break: break-word; }
.contact__foot { margin: 2.2rem 0 0; font-size: .87rem; color: rgba(255,255,255,.72); }
.contact__fallback {
  margin: 1.4rem 0 0; font-family: var(--serif); font-size: 1.1rem; color: #fff;
}

/* ---------------- Pied de page ---------------- */
.footer { background: var(--plum-deep); color: rgba(255,255,255,.72); padding: 2.4rem 0; font-size: .87rem; }
.footer strong { color: rgba(255,255,255,.95); }
.footer p { margin: 0 0 .7rem; }
.footer__legal { font-size: .79rem; color: rgba(255,255,255,.5); line-height: 1.55; margin: 0; }

/* ---------------- Bouton flottant mobile ---------------- */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 55; display: none;
  align-items: center; min-height: var(--tap);
  background: var(--plum); color: #fff; text-decoration: none;
  font-size: .92rem; font-weight: 600; padding: .5rem 1.5rem; border-radius: 999px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 800px) { .fab { display: inline-flex; } }

/* ---------------- Visionneuse plein écran ---------------- */
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16,11,14,.96);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(.8rem, 3vw, 2.5rem);
}
.lb[hidden] { display: none; }
.lb__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: .85rem; align-items: center; }
.lb__figure img {
  max-width: 100%; max-height: calc(100vh - 8.5rem);
  border-radius: 8px; object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.lb__figure figcaption {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: center;
  color: rgba(255,255,255,.92); font-size: .92rem; text-align: center;
}
.lb__count { color: rgba(255,255,255,.66); font-size: .82rem; font-variant-numeric: tabular-nums; }
.lb__close, .lb__nav {
  position: absolute; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.34);
  color: #fff; cursor: pointer; border-radius: 999px;
  display: grid; place-items: center; transition: background .2s;
}
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.28); }
.lb__close { top: 1rem; right: 1rem; width: var(--tap); height: var(--tap); font-size: 1.1rem; }
.lb__nav {
  top: 50%; transform: translateY(-50%);
  width: 3.1rem; height: 3.1rem; font-size: 2rem; line-height: 0; padding-bottom: .28em;
}
.lb__nav--prev { left: 1rem; }
.lb__nav--next { right: 1rem; }
@media (max-width: 640px) {
  .lb__nav { width: var(--tap); height: var(--tap); font-size: 1.6rem; }
  .lb__nav--prev { left: .4rem; }
  .lb__nav--next { right: .4rem; }
}
body.lb-open { overflow: hidden; }

/* Mode contraste élevé / forced colors (Windows) */
@media (forced-colors: active) {
  .filters__btn[aria-pressed="true"] { border: 3px solid; }
  .dpe__scale li[aria-current="true"] { border: 3px solid; }
  .card { border: 1px solid; }
}

@media print {
  .topbar, .fab, .filters, .lb, .hero__actions, .card__btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 1.2rem 0; break-inside: avoid; }
  .hero__img { height: 260px; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
