/* METROREALTY Immersive - lecteur public. Palette de la marque : bleu nuit #232c3f, bronze #7f7059 (seul accent).
   Les variables --nuit, --nuit-moyen, --bronze et derivees suivent le theme du site en temps reel (theme-site.js). */
:root {
  --nuit: #232c3f;
  --nuit-moyen: #414756;
  --nuit-trait: rgba(35, 44, 63, 0.1);
  --bronze: #7f7059;
  --bronze-voile: rgba(127, 112, 89, 0.55);
  --bronze-leger: rgba(127, 112, 89, 0.12);
  --clair: #f6f4f0;
  --texte: #1d2230;
  --verre: rgba(35, 44, 63, 0.86);   /* sans backdrop-filter : flou mal rendu par Chrome sur certains GPU (Adreno, 19/10/2026) */
  --trait: rgba(255, 255, 255, 0.16);
  --police: Arial, Helvetica, sans-serif;
  --rayon: 10px;
  --sur-haut: env(safe-area-inset-top, 0px);
  --sur-bas: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #14181f; color: #fff; font-family: var(--police); }
#scene { position: fixed; inset: 0; touch-action: none; outline: none; cursor: grab; }
#scene.glisse { cursor: grabbing; }
#scene:focus-visible { box-shadow: inset 0 0 0 3px var(--bronze); }
#scene canvas { display: block; width: 100%; height: 100%; }
#voile { position: fixed; inset: 0; background: #14181f; opacity: 0; pointer-events: none; transition: opacity .28s ease; z-index: 5; }
#voile.actif { opacity: 1; }
button { font-family: var(--police); }

.marque { font-size: 15px; letter-spacing: .06em; color: #fff; white-space: nowrap; font-weight: 400; }
.marque b { font-weight: 700; }
.marque.grande { font-size: 22px; margin-bottom: 18px; }

.barre-haut { position: fixed; top: 0; left: 0; right: 0; z-index: 10; transform: translateZ(0); display: flex; align-items: flex-start; gap: 14px;
  padding: calc(12px + var(--sur-haut)) 14px 22px; background: linear-gradient(rgba(20, 24, 31, .7), rgba(20, 24, 31, .35) 60%, rgba(20, 24, 31, 0));
  pointer-events: none; }
.barre-haut > * { pointer-events: auto; }
/* logo puis, a la ligne, le titre du bien (02/11/2026) */
.entete-gauche { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 3px; }
/* titre : police des titres d'annonces de www.metrorealty.fr (.property-title : DM Serif Display 400, releve le 02/11/2026) */
.titre { max-width: 900px; font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 18px; line-height: 1.25; letter-spacing: .01em;
  color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.titre:empty { display: none; }
.actions-haut { display: flex; gap: 6px; align-items: center; }
.badge-demo { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--bronze);
  color: #fff; background: var(--bronze-voile); border-radius: 6px; }
/* boutons du haut : memes pastilles brillantes que la barre du bas (02/11/2026) */
.btn-icone { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .26);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .08) 48%, rgba(255, 255, 255, .03) 52%, rgba(255, 255, 255, .08) 100%), var(--verre);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 3px 10px rgba(0, 0, 0, .28);
  color: #fff; font-size: 13px; cursor: pointer; transition: border-color .2s; }
.btn-icone:hover { border-color: rgba(255, 255, 255, .5); }
.btn-icone:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.btn-icone .drapeau { width: 22px; height: 16px; display: block; border-radius: 2px; stroke: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

.btn-icone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
#btnPlein .pe-fermer, #btnPlein.plein .pe-ouvrir { display: none; }
#btnPlein.plein .pe-fermer { display: inline; }

.barre-bas { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--sur-bas)); z-index: 10;
  display: flex; gap: 8px; align-items: center; max-width: calc(100vw - 20px); flex-wrap: wrap; justify-content: center; }
.etages { display: flex; background: var(--verre); border: 1px solid var(--trait); border-radius: 22px; padding: 3px; }
.etages button { height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: transparent; color: rgba(255, 255, 255, .85);
  font-size: 13px; cursor: pointer; white-space: nowrap; }
.etages button[aria-pressed="true"] { background: var(--clair); color: var(--nuit); font-weight: 700; }
.etages button:focus-visible, .btn-pieces:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; }

/* barre principale : pictogrammes au trait + rond de contact au centre (30/10/2026) */
/* 02/11/2026 : chaque bouton dans sa propre pastille brillante, tous centres sur l'axe du rond ; le rond deborde
   de la barre a parts egales en haut et en bas (plus de decalage vers le haut) */
.dock { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 9px; background: var(--verre); border: 1px solid var(--trait);
  border-radius: 29px; box-shadow: 0 8px 28px rgba(0, 0, 0, .28); }
.dock-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 21px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .07) 48%, rgba(255, 255, 255, .02) 52%, rgba(255, 255, 255, .06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 3px 10px rgba(0, 0, 0, .28);
  color: rgba(255, 255, 255, .92); font-family: 'DM Sans', var(--police); font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer;
  white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.dock-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dock-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.dock-btn[aria-pressed="true"] { color: var(--nuit); font-weight: 600; border-color: rgba(255, 255, 255, .9);
  background: linear-gradient(180deg, #ffffff 0%, var(--clair) 50%, #e6e1d8 100%); }
.dock-btn:focus-visible, .dock-contact:focus-visible, .btn-mesure:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.dock-contact { position: relative; display: grid; place-items: center; flex: none; width: 78px; height: 78px; margin: 0 4px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #34405a 0%, var(--nuit) 62%); border: 2px solid rgba(37, 211, 102, .85);
  box-shadow: 0 0 0 3px rgba(20, 24, 31, .6), 0 8px 22px rgba(0, 0, 0, .4); color: #fff; text-decoration: none; transition: transform .2s; }
.dock-contact:hover { transform: scale(1.04); }
.dock-contact.sans-wa { border-color: var(--bronze); }
.dock-contact.sans-wa .dock-wa { display: none; }
/* neon WhatsApp : un arc lumineux tourne en continu autour du logo (02/11/2026), halo qui respire */
.dock-contact::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(37, 211, 102, .3) 68%, #25d366 84%, #eafff2 91%, transparent 97%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  filter: drop-shadow(0 0 4px #25d366) drop-shadow(0 0 9px rgba(37, 211, 102, .8));
  animation: neon-tour 2.6s linear infinite; }
.dock-contact::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none;
  animation: neon-halo 1.6s ease-in-out infinite alternate; }
.dock-contact.sans-wa::before, .dock-contact.sans-wa::after { display: none; }
@keyframes neon-tour { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes neon-halo { from { box-shadow: 0 0 4px 1px rgba(37, 211, 102, .25); } to { box-shadow: 0 0 16px 4px rgba(37, 211, 102, .55); } }
/* logo du site, à l'identique de .nav-logo de www.metrorealty.fr (relevé le 31/10/2026) : une ligne, Arial,
   majuscules, interlettrage .06em, METRO en 700, REALTY en 400 ; environ 70 % du diametre, marges egales */
.dock-logo { display: block; font-family: Arial, Helvetica, sans-serif; font-size: 6.9px; letter-spacing: .06em; line-height: 1;
  font-weight: 400; text-transform: uppercase; white-space: nowrap; }
.dock-logo b { font-weight: 700; }
.dock-wa { position: absolute; right: -5px; bottom: -4px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #25d366;
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.dock-wa .wa-tel { fill: #fff; stroke: none; }

/* mesure */
.btn-mesure { position: fixed; right: 16px; bottom: calc(18px + var(--sur-bas)); z-index: 10; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--trait); background: var(--verre); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: background .2s, color .2s; }
.btn-mesure svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-mesure:hover { border-color: var(--bronze); }
.btn-mesure[aria-pressed="true"] { background: var(--bronze); border-color: var(--bronze); }
.mesures { position: fixed; inset: 0; pointer-events: none; z-index: 8; overflow: hidden; }
.etiquette-mesure { position: absolute; left: 0; top: 0; padding: 5px 10px; border-radius: 14px; background: var(--nuit); color: #fff;
  border: 1px solid rgba(255, 255, 255, .5); font-family: 'DM Sans', var(--police); font-size: 13px; font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.etiquette-mesure.provisoire { background: var(--bronze); border-color: var(--bronze); }
body.en-mesure #scene { cursor: crosshair; }
.btn-pieces { height: 42px; padding: 0 16px; border-radius: 21px; border: 1px solid var(--trait); background: var(--verre); color: #fff;
  font-size: 13px; cursor: pointer; }
.etages:empty { display: none; }
.btn-pieces.accent { background: var(--bronze); border-color: var(--bronze); }

/* fiche du bien et contact : charte des pages biens de www.metrorealty.fr (relevee le 19/10/2026 sur
   paris-1er-palais-royal-opera-local-commercial-157-m-double-a-vendre.html) ; encre et accent = couleurs du site */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(vendor/polices/dm-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(vendor/polices/dm-serif-display-latin.woff2) format('woff2'); }
.panneau.panneau-bien { --fb-encre: var(--nuit); --fb-encre-2: var(--nuit-moyen); --fb-ardoise: #a5abbd; --fb-bronze: var(--bronze); --fb-bord: #e4e2dc;
  --fb-fond: #f7f6f4; --fb-serif: 'DM Serif Display', Georgia, serif; --fb-sans: 'DM Sans', system-ui, sans-serif;
  width: min(420px, calc(100vw - 24px)); background: #fff; color: var(--fb-encre); font-family: var(--fb-sans); font-size: 15px;
  padding: 18px 22px 22px; border-radius: 12px; }
.panneau-bien .panneau-tete { margin-bottom: 10px; }
.panneau-bien .panneau-tete h2 { font-family: var(--fb-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fb-encre); }
.panneau-bien .fermer { color: var(--fb-encre); }
/* fiche du bien : nouvelle fiche de www.metrorealty.fr (gabarit v4, relevee le 04/11/2026 sur 3-pieces-a-vendre-paris-1er-palais-royal-2.html) */
.fb-photo { display: block; width: calc(100% + 44px); margin: -4px -22px 20px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--fb-fond); }
.fb-entete { margin-bottom: 20px; }
.fb-lieu { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fb-encre-2); }
.fb-lieu .fb-picto { width: 13px; height: 13px; flex: none; }
.fb-titre { margin: 0; font-family: var(--fb-serif); font-size: 25px; font-weight: 400; line-height: 1.15; color: var(--fb-encre); overflow-wrap: anywhere; }
.fb-picto { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* chiffres cles : cases a filets fins, pictogramme bronze, valeur serif, libelle en petites capitales */
.fb-cles { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); margin: 0 0 22px;
  border-top: 1px solid var(--fb-bord); border-bottom: 1px solid var(--fb-bord); }
.fb-cle { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 16px 6px 14px; text-align: center; }
.fb-cle + .fb-cle { border-left: 1px solid var(--fb-bord); }
.fb-cle .fb-picto { color: var(--fb-bronze); }
.fb-cle strong { font-family: var(--fb-serif); font-size: 24px; font-weight: 400; line-height: 1; color: var(--fb-encre); }
.fb-cle span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fb-encre-2); }
/* carte prix */
.fb-prix { display: grid; gap: 10px; margin: 0 0 30px; padding: 20px; border: 1px solid var(--fb-bord); border-radius: 4px;
  box-shadow: 0 12px 30px rgba(35, 44, 63, .08); }
.fb-prix-valeur { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--fb-bord); font-family: var(--fb-serif); font-size: 30px; line-height: 1; color: var(--fb-encre); }
.fb-prix-detail { margin: 0 0 4px; font-size: 12px; color: var(--fb-encre-2); }
.fb-btn { display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px 18px; border-radius: 4px;
  font-family: var(--fb-sans); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.fb-btn-nuit { background: var(--fb-encre); color: #fff; border: 1px solid var(--fb-encre); }
.fb-btn-nuit:hover { background: var(--fb-bronze); border-color: var(--fb-bronze); }
.fb-btn-contour { background: #fff; color: var(--fb-encre); border: 1px solid var(--fb-bord); }
.fb-btn-contour:hover { border-color: var(--fb-bronze); }
.fb-btn:focus-visible, .panneau-bien a:focus-visible, .fb-suite:focus-visible { outline: 2px solid var(--fb-bronze); outline-offset: 2px; }
/* sections : sur-titre bronze puis titre serif en capitales, separees par un filet */
.fb-section { margin: 0 0 28px; padding-top: 26px; border-top: 1px solid var(--fb-bord); }
.fb-surtitre { margin: 0 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fb-bronze); }
.panneau-bien .fb-titre-section { margin: 0 0 16px; font-family: var(--fb-serif); font-size: 21px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; color: var(--fb-encre); }
.fb-texte { margin: 0; font-size: 15px; line-height: 1.75; color: var(--fb-encre-2); white-space: pre-line; }
.fb-replie { max-height: 10.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.fb-suite { margin-top: 12px; padding: 0 0 3px; border: 0; border-bottom: 1px solid var(--fb-encre); background: none; cursor: pointer;
  font-family: var(--fb-sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fb-encre); }
.panneau-bien .fb-sous-titre { margin: 4px 0 6px; font-family: var(--fb-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fb-bronze); }
.fb-lignes { margin: 0 0 18px; }
.fb-lignes div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--fb-bord); font-size: 14px; }
.fb-lignes dt { color: var(--fb-encre-2); }
.fb-lignes dd { margin: 0; font-weight: 500; color: var(--fb-encre); text-align: right; }
.fb-puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.fb-puces li { padding: 6px 12px; border: 1px solid var(--fb-bord); border-radius: 999px; font-size: 13px; color: var(--fb-encre); background: var(--fb-fond); }
/* echelles DPE et GES */
.fb-echelle { margin: 0 0 18px; }
.fb-echelle-tete { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--fb-encre); }
.fb-echelle-barre { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; align-items: center; padding: 6px 0; }
.fb-echelle-barre span { display: grid; place-items: center; height: 26px; font-size: 11px; opacity: .3; }
.fb-echelle-barre .fb-cur { height: 38px; font-size: 14px; font-weight: 700; opacity: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
/* carte de fin : bloc lateral de la fiche du site (reference, prix, boutons, partage, agence) */
.fb-rond { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--fb-encre); color: var(--fb-encre); background: #fff; }
.fb-rond:hover { border-color: var(--fb-bronze); color: var(--fb-bronze); }
.fb-rond-wa { border-color: #25d366; color: #25d366; }
.fb-agent { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.fb-agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.fb-agent p { margin: 0; }
.fb-agent-nom { font-family: var(--fb-serif); font-size: 19px; color: var(--fb-encre); }
.fb-agent-role { font-size: 13px; color: var(--fb-encre-2); }
.fb-agence { margin-bottom: 4px; }
.fb-marque { margin: 0 0 8px; font-family: Arial, Helvetica, sans-serif; font-size: 17px; font-weight: 400; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1; color: var(--fb-encre); }
.fb-marque strong { font-weight: 700; }
.fb-coord { display: block; margin: 3px 0 0; font-size: 13px; color: var(--fb-encre-2); text-decoration: none; }
a.fb-coord:hover { color: var(--fb-bronze); }
.fb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.fb-mentions { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--fb-encre-2); opacity: .8; }
.fb-cta { padding-top: 26px; border-top: 1px solid var(--fb-bord); }
.fb-cta-ref { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fb-bronze); }
.fb-cta-prix { margin: 0; padding-bottom: 16px; font-family: var(--fb-serif); font-size: 34px; line-height: 1; color: var(--fb-encre); }
.fb-cta-hon { margin: -8px 0 12px; font-size: 12px; color: var(--fb-encre-2); }
.fb-cta .fb-btn { gap: 10px; border-radius: 6px; font-size: 13px; letter-spacing: .14em; }
.fb-cta .fb-btn .fb-picto { width: 19px; height: 19px; }
.fb-cta-grand { margin-bottom: 10px; padding: 17px 18px; }
.fb-cta-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.fb-cta-duo .fb-btn { padding: 15px 10px; }
.fb-btn-trait { background: #fff; color: var(--fb-encre); border: 1.5px solid var(--fb-encre); }
.fb-btn-trait:hover { border-color: var(--fb-bronze); color: var(--fb-bronze); }
.fb-cta-lien { display: inline-block; margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--fb-encre); text-underline-offset: 3px; }
.fb-partage { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--fb-bord); }
.fb-partage > span { margin-right: 8px; font-size: 14px; color: var(--fb-encre-2); }
.fb-partage .fb-rond { width: 44px; height: 44px; border: 1px solid var(--fb-bord); cursor: pointer; padding: 0; }
.fb-partage .fb-rond-wa { border-color: #25d366; color: #25d366; }
.fb-coord-fort { color: var(--fb-encre); font-size: 15px; }
.fb-coord-fort span { color: var(--fb-encre-2); font-size: 13px; }
.fb-agence .fb-coord { font-size: 15px; line-height: 1.7; margin: 0; }

.panneau { position: fixed; z-index: 20; right: 12px; top: calc(62px + var(--sur-haut)); width: min(340px, calc(100vw - 24px));
  max-height: calc(100vh - 150px); overflow: auto; background: rgba(246, 244, 240, .97); color: var(--texte); border-radius: var(--rayon);
  padding: 14px 16px 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.45; }
.panneau h2 { font-size: 15px; margin: 0; color: var(--nuit); letter-spacing: .02em; }
.panneau h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bronze); margin: 14px 0 6px; }
.panneau-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fermer { width: 32px; height: 32px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--nuit); }
.fermer::before { content: "\00d7"; }
.liste-pieces { list-style: none; margin: 0; padding: 0; }
.liste-pieces button { width: 100%; text-align: left; padding: 9px 10px; border: 0; border-bottom: 1px solid var(--nuit-trait);
  background: transparent; color: var(--texte); font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.liste-pieces button:hover, .liste-pieces button:focus-visible { background: var(--bronze-leger); outline: none; }
.liste-pieces button[aria-current="true"] { font-weight: 700; color: var(--nuit); }
.liste-pieces .note { color: rgba(29, 34, 48, .55); font-size: 12px; }
.lien { margin-top: 12px; border: 0; background: none; color: var(--bronze); text-decoration: underline; cursor: pointer; padding: 0; font-size: 13px; }
.petit { font-size: 12px; color: rgba(29, 34, 48, .6); }

.aide { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(92px + var(--sur-bas)); z-index: 9; background: var(--verre);
  border: 1px solid var(--trait); border-radius: 18px; padding: 8px 14px; font-size: 13px; color: rgba(255, 255, 255, .9);
  transition: opacity .6s ease; pointer-events: none; max-width: calc(100vw - 24px); text-align: center; }
.aide.cache { opacity: 0; }
.message { position: fixed; left: 50%; transform: translateX(-50%); top: calc(66px + var(--sur-haut)); z-index: 30; background: var(--clair);
  color: var(--texte); border-left: 3px solid var(--bronze); border-radius: 6px; padding: 10px 14px; font-size: 13px; max-width: calc(100vw - 24px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }

.chargement { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: #14181f; transition: opacity .4s ease; }
.chargement.fini { opacity: 0; pointer-events: none; }
.chargement .boite { text-align: center; width: min(320px, 80vw); }
.jauge { height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.jauge i { display: block; height: 100%; width: 4%; background: var(--bronze); transition: width .3s ease; }
.chargement p { font-size: 13px; color: rgba(255, 255, 255, .75); margin-top: 14px; }
.btn { display: inline-block; margin-top: 12px; padding: 10px 18px; border-radius: 6px; border: 1px solid var(--bronze); background: var(--nuit);
  color: #fff; text-decoration: none; font-size: 14px; cursor: pointer; }
.repli { position: fixed; inset: 0; z-index: 35; background: #14181f; display: grid; place-items: center; }
.repli img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.repli-texte { position: relative; background: rgba(20, 24, 31, .82); padding: 22px 24px; border-radius: var(--rayon); max-width: min(440px, 88vw); text-align: center; font-size: 15px; line-height: 1.5; }
.noscript { padding: 30px; text-align: center; }

@media (max-width: 640px) {
  .titre { font-size: 14px; }
  .barre-haut { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .marque { font-size: 13px; }
  .actions-haut { gap: 4px; }
  .btn-icone { width: 38px; height: 38px; }
  .badge-demo { font-size: 9px; padding: 3px 5px; max-width: 96px; line-height: 1.2; }
  .etages button { padding: 0 11px; }
  .dock { height: 60px; padding: 0 5px; gap: 4px; border-radius: 30px; }
  .dock-btn { flex-direction: column; gap: 3px; height: 48px; width: 58px; padding: 0; font-size: 10px; border-radius: 16px; }
  .dock-btn svg { width: 19px; height: 19px; }
  .dock-contact { width: 70px; height: 70px; margin: 0 2px; }
  .dock-logo { font-size: 6.2px; }
  .barre-bas { bottom: calc(10px + var(--sur-bas)); }
  .btn-mesure { right: 10px; bottom: calc(82px + var(--sur-bas)); width: 42px; height: 42px; }
  .aide { bottom: calc(90px + var(--sur-bas)); }
}
@media (prefers-reduced-motion: reduce) {
  .dock-contact::before, .dock-contact::after { animation: none; }
  * { transition-duration: .01ms !important; }
}
