:root {
  --noir: #000;
  --anthracite: #2b2b29;
  --sauge: #4f6b30;          /* couleur d'action unique (sauge foncé) */
  --sauge-fonce: #4f6b30;
  --sauge-pale: #f5f5f3;     /* fond gris très léger */
  --anis: #c5e85b;           /* vert du logo : seulement le repère « votre bien » sur la carte */
  --creme: #f5f5f3;
  --texte: #000;
  --gris: rgba(0,0,0,.58);
  --bord: rgba(0,0,0,.1);
  --rouge: #b3261e;
  --rayon: 20px;
  --ombre: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; font-weight: 400; color: var(--texte); background: var(--creme); line-height: 1.55; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--sauge-fonce); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }


/* En-tête */
.entete { background: var(--noir); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px 16px 14px; }
.logo img { display: block; width: clamp(200px, 24vw, 300px); }
.entete-liens { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; }
.entete-liens a { color: #fff; text-decoration: none; font-size: .92rem; }
.entete-liens a:hover { color: var(--anis); }
.bouton-tel { border: 1px solid var(--sauge); border-radius: 999px; padding: 8px 16px; white-space: nowrap; }

/* Bandeau titre */
.hero { background: var(--noir); color: #fff; text-align: center; padding: 28px 16px 120px; }
.surtitre { color: var(--sauge); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin: 0 0 8px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.atouts { list-style: none; padding: 0; margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .95rem; color: #e8e8e2; max-width: 980px; }
.atouts span { color: var(--anis); font-weight: 600; margin-right: 4px; }

/* Carte du formulaire */
.carte-form { position: relative; max-width: 980px; margin: -90px auto 0; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); padding: clamp(20px, 4vw, 40px); }
.etapes { list-style: none; display: flex; justify-content: center; gap: clamp(12px, 5vw, 56px); padding: 0; margin: 0 0 28px; font-size: .85rem; color: var(--gris); }
.etapes li { display: flex; align-items: center; gap: 8px; }
.etapes em { font-style: normal; }
.etapes span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--bord); font-weight: 600; font-size: .8rem; }
.etapes li.active { color: var(--texte); font-weight: 500; }
.etapes li.active span, .etapes li.fait span { background: var(--sauge); border-color: var(--sauge); color: var(--texte); }
.etape { max-width: 640px; margin: 0 auto; }
#resultat { max-width: none; }

fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend, .champ > label, .champ-titre { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.choix-type { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choix-type legend { grid-column: 1 / -1; }
.tuile input { position: absolute; opacity: 0; }
.tuile span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; border: 1.5px solid var(--bord); border-radius: var(--rayon); cursor: pointer; font-weight: 500; transition: .15s; }
.tuile svg { width: 30px; height: 30px; fill: var(--gris); }
.tuile input:checked + span { border-color: var(--sauge-fonce); background: var(--sauge-pale); }
.tuile input:checked + span svg { fill: var(--sauge-fonce); }
.tuile input:focus-visible + span { outline: 3px solid var(--anis); outline-offset: 2px; }

.champ { margin-bottom: 16px; position: relative; }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--bord); border-radius: 10px; background: #fff; color: var(--texte); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--sauge-fonce); box-shadow: 0 0 0 3px var(--sauge-pale); }
.ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ligne.trois { grid-template-columns: repeat(3, 1fr); }
.champ-bas { display: flex; align-items: flex-end; padding-bottom: 6px; }
.aide { font-size: .8rem; color: var(--gris); margin: 6px 0 0; }
.erreur { color: var(--rouge); font-size: .9rem; margin: 0 0 12px; }

.zone-adresse { position: relative; }
.resultat-location { display: inline-grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px auto 0; max-width: 640px; width: 100%; }
.resultat-location div { background: var(--sauge-pale); border-radius: 10px; padding: 10px 12px; font-size: .82rem; color: var(--gris); }
.resultat-location strong { display: block; font-size: 1.05rem; color: var(--texte); font-weight: 600; }
.note-bruit { background: var(--creme); border-radius: 8px; padding: 8px 10px; margin-top: 8px; color: var(--texte); }
.note-bruit.alerte { background: #fbeee9; }
.suggestions { position: absolute; z-index: 1000; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--bord); border-radius: 10px; box-shadow: var(--ombre); max-height: 280px; overflow: auto; }
.suggestions li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .95rem; }
.suggestions li small { color: var(--gris); }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--sauge-pale); }

.segments { display: flex; flex-wrap: wrap; gap: 8px; }
.segments label { flex: 1 1 auto; }
.segments input { position: absolute; opacity: 0; }
.segments span { display: block; text-align: center; padding: 10px 12px; border: 1.5px solid var(--bord); border-radius: 999px; cursor: pointer; font-size: .9rem; white-space: nowrap; }
.segments input:checked + span { background: var(--sauge); border-color: var(--sauge); font-weight: 500; }
.segments input:focus-visible + span { outline: 3px solid var(--anis); outline-offset: 2px; }

.interrupteur, .champ > label.interrupteur { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 0 24px 16px 0; font-size: .95rem; }
.interrupteur input { position: absolute; opacity: 0; }
.interrupteur span { width: 42px; height: 24px; border-radius: 999px; background: var(--bord); position: relative; transition: .15s; flex: none; }
.interrupteur span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.interrupteur input:checked + span { background: var(--sauge-fonce); }
.interrupteur input:checked + span::after { left: 21px; }
.interrupteur input:focus-visible + span { outline: 3px solid var(--anis); outline-offset: 2px; }

.seulement-maison, .seulement-appart { display: none; }
body.type-maison .seulement-maison, body.type-appart .seulement-appart { display: block; }

.actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
.actions.fin { justify-content: center; gap: 28px; margin-top: 28px; }
.bouton { font: inherit; font-weight: 600; background: var(--sauge); color: var(--texte); border: 0; border-radius: 999px; padding: 13px 28px; cursor: pointer; transition: .15s; }
.bouton:hover { background: var(--anis); }
.bouton:focus-visible, .bouton-lien:focus-visible { outline: 3px solid var(--anis); outline-offset: 2px; }
.bouton.grand { padding: 15px 30px; font-size: 1.02rem; }
.bouton.plein { width: 100%; }
.bouton:disabled { opacity: .6; cursor: wait; }
.bouton-lien { font: inherit; background: none; border: 0; color: var(--sauge-fonce); cursor: pointer; padding: 8px 0; font-weight: 500; }

/* Résultat */
.resultat-tete { text-align: center; padding: 8px 0 24px; }
.resultat-adresse { color: var(--gris); margin: 0 0 14px; font-size: .95rem; }
.resultat-libelle { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--sauge-fonce); margin: 0; font-weight: 600; }
.resultat-prix { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 700; margin: 4px 0; line-height: 1.1; }
.resultat-fourchette { font-size: 1.05rem; margin: 0; }
.resultat-m2 { color: var(--gris); margin: 4px 0 0; font-size: .95rem; }
.fiabilite { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; background: var(--creme); border-radius: 999px; padding: 8px 16px; font-size: .85rem; }
.jauge { display: inline-flex; gap: 3px; }
.jauge i { width: 14px; height: 6px; border-radius: 3px; background: var(--bord); }
.jauge i.on { background: var(--sauge-fonce); }

.bloc-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--noir); color: #fff; border-radius: var(--rayon); padding: 24px 28px; margin: 4px 0 28px; }
.bloc-cta h2 { font-size: 1.35rem; margin-bottom: 6px; }
.bloc-cta p { margin: 0; color: #d9d9d2; font-size: .93rem; }
.bloc-cta .bouton { flex: none; }

.grille-res { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.panneau h3 { font-size: 1.1rem; margin-top: 4px; }
.panneau h3 + * { margin-top: 0; }
.carte { height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--bord); z-index: 0; }
.legende { font-size: .8rem; color: var(--gris); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 12px; }
.pastille { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-left: 6px; }
.pastille.vous { background: var(--anis); border: 2px solid var(--noir); }
.pastille.vente { background: var(--sauge-fonce); }
.liste-ventes { list-style: none; padding: 0; margin: 0; }
.liste-ventes li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bord); font-size: .9rem; }
.liste-ventes li:last-child { border-bottom: 0; }
.liste-ventes .rue { font-weight: 500; }
.liste-ventes small { color: var(--gris); display: block; }
.liste-ventes .prix { text-align: right; white-space: nowrap; font-weight: 500; }

.facteurs { list-style: none; padding: 0; margin: 0 0 24px; }
.facteurs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--bord); font-size: .92rem; }
.facteurs .plus { color: var(--sauge-fonce); font-weight: 600; white-space: nowrap; }
.facteurs .moins { color: var(--rouge); font-weight: 600; white-space: nowrap; }
.facteurs .neutre { color: var(--gris); white-space: nowrap; }
.tendance svg { width: 100%; height: auto; display: block; }
.note { font-size: .8rem; color: var(--gris); }

/* Fenêtre de contact */
.dialogue { border: 0; border-radius: var(--rayon); padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: var(--ombre); }
.dialogue::backdrop { background: rgba(0,0,0,.55); }
.dialogue form, .merci { padding: 28px; position: relative; }
.dialogue h2 { font-size: 1.5rem; }
.fermer { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--gris); }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--gris); margin: 6px 0 16px; }
.consentement input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--sauge-fonce); }
.pot { position: absolute; left: -9999px; }
.consentement.proprio { color: var(--texte); font-size: .85rem; }

/* Astérisque et conditions de l'avis de valeur */
.asterisque { color: var(--anis); text-decoration: none; font-weight: 600; margin-left: 1px; }
.asterisque:hover { text-decoration: underline; }
.bloc-cta .asterisque { color: var(--anis); }
.bloc-cta p.cta-conditions { font-size: .75rem; color: #a9a9a1; margin-top: 8px; }
.cta-conditions a { color: var(--sauge); }
.encart-conditions { background: var(--sauge-pale); border-left: 3px solid var(--sauge-fonce); border-radius: 8px; padding: 10px 14px; margin: 12px 0 16px; font-size: .82rem; }
.encart-conditions p { margin: 0 0 4px; }
.encart-conditions ul { margin: 0; padding-left: 18px; }
.encart-conditions li { margin: 2px 0; }
.conditions { margin-top: 40px; padding: 22px 24px; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); scroll-margin-top: 20px; }
.conditions h2 { font-size: 1.2rem; margin-top: 0; }
.conditions ul { padding-left: 20px; margin: 0 0 12px; }
.conditions li { margin: 6px 0; color: #3d3f39; }
.conditions p { font-size: .9rem; }
.conditions .tarif-hors { background: var(--creme); border-radius: 10px; padding: 12px 14px; }
.encart-tarif { margin: 6px 0 0 !important; color: var(--gris); font-size: .78rem; }
.merci pre { white-space: pre-wrap; background: var(--creme); border-radius: 10px; padding: 12px; font-size: .75rem; max-height: 260px; overflow: auto; }

/* Texte de référencement */
.seo { max-width: 820px; margin: 56px auto; padding: 0 16px; }
.seo h2 { font-size: 1.5rem; margin-top: 1.4em; }
.seo p { color: #3d3f39; }

.pied { background: var(--noir); color: #cfcfc8; padding: 28px 16px; text-align: center; font-size: .88rem; }
.pied a { color: var(--sauge); }
.pied .petit { font-size: .72rem; color: #9a9a93; max-width: 900px; margin: 8px auto 0; }

.leaflet-popup-content { font-family: Poppins, sans-serif; font-size: .85rem; }

/* Vidéo YouTube : miniature locale, lecteur chargé au clic seulement */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin: 6px 0 8px; }
.video iframe, .video-lancer, .video-lancer img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lancer { padding: 0; margin: 0; cursor: pointer; background: #000; }
.video-lancer img { object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 84%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0,0,0,.72); box-shadow: 0 0 0 3px rgba(255,255,255,.85); transition: transform .15s; }
.video-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.video-lancer:hover .video-play, .video-lancer:focus-visible .video-play { transform: scale(1.08); }

@media (max-width: 760px) {
  .entete-liens a:not(.bouton-tel) { display: none; }
  .hero { padding-bottom: 100px; }
  .atouts { flex-direction: column; align-items: center; gap: 6px; }
  .carte-form { margin: -80px 12px 0; padding: 20px 16px; }
  .etapes { gap: 10px; font-size: .75rem; }
  .etapes li { flex-direction: column; gap: 4px; text-align: center; }
  .ligne, .ligne.trois, .grille-res { grid-template-columns: 1fr; }
  .ligne.trois { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ligne.trois label { font-size: .78rem; }
  .bloc-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 18px; }
  .carte { height: 260px; }
}

@media print {
  .entete-liens, .hero .atouts, .bloc-cta, .actions, .seo, .etapes { display: none !important; }
  .hero { padding: 10px; } .carte-form { margin: 0; box-shadow: none; }
  body { background: #fff; }
}
@media (max-width: 760px) { .video-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; } .video-play::after { left: 18px; top: 13px; border-width: 10px 0 10px 16px; } }


/* ===================== Design épuré (inspiration Samara) — couche ajoutée le 22/11/2026 =====================
   Seule l'apparence change : mêmes classes, mêmes identifiants, aucun changement de logique. */
body { font-family: Inter, system-ui, -apple-system, sans-serif; background: #fff; color: #000; -webkit-font-smoothing: antialiased; line-height: 1.6; }
h1, h2, h3 { font-family: inherit; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
a { color: #000; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sauge-fonce); outline-offset: 3px; }

/* En-tête identique au site : blanc, fixe, logo à gauche, action à droite */
.entete { position: sticky; top: 0; z-index: 1100; flex-direction: row; justify-content: space-between; height: 72px; padding: 0 max(16px, calc((100% - 1240px) / 2));
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); }
.logo img { width: 168px; }
.entete-liens { gap: 24px; }
.entete-liens a { color: #000; opacity: .8; font-size: .9rem; }
.entete-liens a:hover { color: #000; opacity: 1; }
.bouton-tel { background: var(--sauge-fonce); color: #fff !important; opacity: 1 !important; border: 0; padding: 10px 20px; font-weight: 500; }
.bouton-tel:hover { opacity: .85 !important; }

/* Titre */
.hero { background: #fff; color: #000; padding: clamp(48px, 8vw, 104px) 16px clamp(32px, 5vw, 56px); }
.surtitre { color: var(--gris); text-transform: none; letter-spacing: 0; font-size: .9rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.045em; line-height: 1.02; }
.atouts { color: var(--gris); font-size: .95rem; margin-top: 24px; }
.atouts span { color: var(--sauge-fonce); }
.atouts strong { color: #000; font-weight: 500; }

/* Formulaire : plus de carte flottante ni d'ombre, de l'air, de grands champs sans cadre */
.carte-form { margin: 0 auto; max-width: 1240px; box-shadow: none; border-radius: 0; padding: 0 16px; background: transparent; }
.etape { max-width: 680px; }
#resultat { max-width: 1240px; }
.etapes { gap: 0; margin: 0 auto clamp(40px, 6vw, 64px); max-width: 680px; justify-content: space-between; border-top: 1px solid var(--bord); padding-top: 14px; }
.etapes li { gap: 10px; font-size: .88rem; position: relative; }
.etapes li.active::before, .etapes li.fait::before { content: ""; position: absolute; top: -15px; left: 0; right: 0; height: 2px; background: #000; }
.etapes span { display: inline; width: auto; height: auto; border: 0; border-radius: 0; font-weight: 400; font-size: .88rem; color: var(--gris); }
.etapes span::after { content: "."; }
.etapes li.active span, .etapes li.fait span { background: none; color: #000; }
.etapes li.active { color: #000; font-weight: 500; }

legend, .champ > label, .champ-titre { font-weight: 400; font-size: .85rem; color: var(--gris); margin-bottom: 8px; }
fieldset { margin-bottom: 28px; }
.champ { margin-bottom: 22px; }
.tuile span { border: 0; background: var(--sauge-pale); border-radius: 16px; padding: 22px 16px; font-weight: 400; font-size: 1.05rem; }
.tuile svg { width: 28px; height: 28px; fill: rgba(0,0,0,.45); }
.tuile input:checked + span { background: #fff; box-shadow: inset 0 0 0 1.5px #000; }
.tuile input:checked + span svg { fill: #000; }
.tuile input:focus-visible + span { outline: 2px solid var(--sauge-fonce); }
.champ input, .champ select, .champ textarea { border: 0; background: var(--sauge-pale); border-radius: 12px; padding: 16px 18px; font-size: 1.1rem; color: #000; }
.champ input::placeholder { color: rgba(0,0,0,.35); }
.champ input:focus, .champ select:focus, .champ textarea:focus { box-shadow: inset 0 0 0 1.5px #000; background: #fff; border: 0; }
.aide { color: var(--gris); font-size: .8rem; }
.suggestions { border: 1px solid var(--bord); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.08); } /* seule ombre : liste déroulante au-dessus des champs */
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--sauge-pale); }
.segments span { border: 0; background: var(--sauge-pale); padding: 11px 16px; font-size: .92rem; }
.segments input:checked + span { background: #000; color: #fff; font-weight: 400; }
.segments input:focus-visible + span, .interrupteur input:focus-visible + span { outline: 2px solid var(--sauge-fonce); }
.interrupteur span { background: rgba(0,0,0,.14); }
.interrupteur span::after { box-shadow: none; }
.resultat-location div { background: var(--sauge-pale); border-radius: 14px; }
.note-bruit { background: var(--sauge-pale); border-radius: 12px; padding: 10px 14px; }

.actions { margin-top: 36px; }
.bouton { background: var(--sauge-fonce); color: #fff; font-weight: 500; padding: 15px 32px; transition: opacity .15s; }
.bouton:hover { background: var(--sauge-fonce); opacity: .85; }
.bouton:focus-visible, .bouton-lien:focus-visible { outline: 2px solid var(--sauge-fonce); }
.bouton-lien { color: #000; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }

/* Résultat : le prix en très grand, au centre */
.resultat-tete { padding: 0 0 clamp(40px, 6vw, 72px); }
.resultat-adresse { color: var(--gris); }
.resultat-libelle { text-transform: none; letter-spacing: 0; color: var(--gris); font-weight: 400; font-size: .95rem; }
.resultat-prix { font-family: inherit; font-weight: 300; font-size: clamp(3.4rem, 12vw, 7.5rem); letter-spacing: -.055em; line-height: 1; margin: 12px 0 18px; }
.resultat-fourchette { font-size: 1.15rem; font-weight: 400; }
.resultat-m2 { color: var(--gris); }
.fiabilite { background: var(--sauge-pale); }
.jauge i { background: rgba(0,0,0,.12); }
.jauge i.on { background: #000; }

.bloc-cta { flex-direction: column; text-align: center; background: var(--sauge-pale); color: #000; border-radius: var(--rayon); padding: clamp(40px, 6vw, 72px) 24px; margin: 0 0 clamp(56px, 8vw, 96px); gap: 28px; }
.bloc-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.bloc-cta p { color: var(--gris); font-size: 1rem; max-width: 620px; margin: 0 auto; }
.bloc-cta .asterisque, .asterisque { color: var(--sauge-fonce); }
.bloc-cta p.cta-conditions { color: var(--gris); }
.cta-conditions a { color: #000; }

.grille-res { gap: clamp(32px, 6vw, 80px); }
.panneau h3 { font-size: 1.4rem; margin-bottom: 16px; }
.carte { border: 0; border-radius: var(--rayon); }
.pastille.vente { background: #000; }
.liste-ventes li, .facteurs li { border-bottom: 1px solid var(--bord); padding: 12px 0; }
.facteurs .plus { color: var(--sauge-fonce); }

.dialogue { border-radius: 24px; box-shadow: none; }
.dialogue::backdrop { background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialogue { border: 1px solid var(--bord); }
.dialogue h2 { font-size: 1.8rem; }
.encart-conditions { background: var(--sauge-pale); border-left: 0; border-radius: 12px; }
.conditions { background: var(--sauge-pale); border: 0; border-radius: var(--rayon); padding: clamp(24px, 4vw, 40px); }
.conditions h2 { font-size: 1.5rem; }
.conditions li { color: var(--gris); }
.conditions .tarif-hors { background: #fff; }
.merci pre { background: var(--sauge-pale); }

.seo { max-width: 760px; margin: clamp(72px, 10vw, 128px) auto; }
.seo h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.035em; }
.seo p { color: var(--gris); font-size: 1.02rem; }
.video { border-radius: var(--rayon); }
.video-play { top: 50%; background: rgba(255,255,255,.92); box-shadow: none; }
.video-play::after { border-color: transparent transparent transparent #000; }

.pied { background: #fff; color: var(--gris); border-top: 1px solid var(--bord); padding: 40px 16px; }
.pied a { color: #000; }
.pied .petit { color: rgba(0,0,0,.42); }
.leaflet-popup-content { font-family: Inter, sans-serif; }

@media (max-width: 760px) {
  .entete { height: 60px; }
  .logo img { width: 136px; }
  .bouton-tel { padding: 8px 14px; font-size: .82rem; }
  .carte-form { margin: 0 auto; padding: 0 16px; }
  .hero { padding-bottom: 32px; }
  .etapes li { flex-direction: row; gap: 4px; font-size: .78rem; }
  .etapes span { font-size: .78rem; }
  .bloc-cta { padding: 36px 20px; }
}


/* ===================== Statistiques du marché, approche locative, synthèse (27/11/2026) ===================== */
.panneau-large { margin-top: clamp(48px, 7vw, 88px); }
.panneau-large h4 { font-size: .95rem; font-weight: 500; margin: 28px 0 10px; }
.intro-approche { color: var(--gris); max-width: 760px; margin: 0 0 20px; }
.grille-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.grille-stats div { background: var(--sauge-pale); border-radius: 14px; padding: 16px 18px; }
.grille-stats span { display: block; font-size: .82rem; color: var(--gris); }
.grille-stats strong { display: block; font-size: 1.35rem; font-weight: 400; letter-spacing: -.02em; margin: 4px 0; }
.grille-stats small { display: block; font-size: .78rem; color: var(--gris); line-height: 1.4; }
.grille-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); }
.tableau { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tableau th { text-align: left; font-weight: 400; color: var(--gris); font-size: .8rem; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--bord); }
.tableau td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--bord); }
.tableau td:not(:first-child), .tableau th:not(:first-child) { text-align: right; }
.tableau tr.vous td { font-weight: 600; }
.tableau small { font-weight: 400; color: var(--gris); }
.tableau.synthese td:nth-child(2) { font-size: 1.1rem; }
.activite svg { width: 100%; height: auto; display: block; }
#detailLocatif { margin-top: 16px; }
.entete-impression { display: none; }
@media (max-width: 760px) {
  .grille-2 { grid-template-columns: 1fr; }
  .grille-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grille-stats div { padding: 12px; }
  .grille-stats strong { font-size: 1.1rem; }
  .tableau { font-size: .82rem; }
  .tableau th:nth-child(3), .tableau td:nth-child(3) { display: none; }   /* surface médiane masquée sur téléphone */
  .tableau.synthese th:nth-child(3), .tableau.synthese td:nth-child(3) { display: table-cell; }
}

/* ===================== Impression / PDF (27/11/2026) : une page propre, rien de coupé =====================
   Safari (WebKit) respecte mal « break-inside: avoid » sur les grilles et les boîtes flexibles : à l'impression,
   chaque ligne, carte, tableau ou graphique devient une boîte « en ligne » (inline-block / inline-flex / inline-table),
   que le navigateur ne coupe jamais entre deux pages. Les titres gardent sous eux une réserve invisible de 35 mm
   (pseudo-élément ::after à marge négative) : s'il n'y a plus la place, ils passent à la page suivante. */
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  html, body { background: #fff !important; font-size: 10pt; }
  .entete, .hero, .etapes, .bloc-cta, .actions, .seo, .leaflet-control-zoom, dialog, .bulle-assistant, #gg-assistant { display: none !important; }
  main, .carte-form, #resultat { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .entete-impression { display: flex !important; justify-content: space-between; align-items: center; border-bottom: 1px solid #000; padding-bottom: 8px; margin-bottom: 14px; }
  .entete-impression img { width: 46mm; height: auto; }
  .entete-impression p { text-align: right; font-size: 8.5pt; margin: 0; color: #333; line-height: 1.4; }
  .resultat-tete { padding: 0 0 10px !important; }
  .resultat-prix { font-size: 34pt !important; margin: 4px 0 6px !important; }
  .resultat-fourchette { font-size: 12pt !important; }
  .fiabilite { font-size: 8.5pt; padding: 6px 10px; }

  /* une seule colonne, sections les unes sous les autres */
  .grille-res, .grille-2, .grille-stats, .resultat-location { display: block !important; }
  .grille-res .panneau + .panneau, .panneau-large { margin-top: 16px !important; }

  /* titres : jamais seuls en bas de page */
  .panneau h3, .panneau h4 { font-size: 13pt !important; margin: 0 0 8px !important; break-inside: avoid; page-break-inside: avoid; break-after: avoid; page-break-after: avoid; }
  .panneau h4 { font-size: 10.5pt !important; margin-top: 10px !important; }
  .panneau h3::after, .panneau h4::after { content: ""; display: block; height: 35mm; margin-bottom: -35mm; }

  /* lignes de listes : boîtes insécables */
  .liste-ventes, .facteurs { font-size: 0; columns: auto !important; }
  .liste-ventes li, .facteurs li { display: inline-flex !important; width: 100%; vertical-align: top; justify-content: space-between; gap: 10px; padding: 5px 0 !important; font-size: 9pt; border-bottom: 1px solid #ddd; }
  .liste-ventes li > div:first-child, .facteurs li > span:first-child { flex: 1 1 auto; }

  /* cartes de chiffres : 3 par ligne, insécables */
  .grille-stats, .resultat-location { font-size: 0; }
  .grille-stats > div, .resultat-location > div { display: inline-block !important; width: calc(33.33% - 6px); margin: 0 6px 6px 0; vertical-align: top; font-size: 9pt; padding: 8px 10px; border: 1px solid #ddd; background: #fff !important; box-sizing: border-box; }
  .grille-stats strong { font-size: 12pt; }

  /* tableau des pièces et graphique des ventes : côte à côte, chacun d'un seul bloc */
  .grille-2 { font-size: 0; }
  .grille-2 > div { display: inline-block; vertical-align: top; font-size: 10pt; width: 56%; padding-right: 4%; box-sizing: border-box; }
  .grille-2 > div + div { width: 44%; padding-right: 0; }
  .tableau { display: inline-table !important; width: 100%; font-size: 8.5pt; }
  .tableau th:nth-child(3), .tableau td:nth-child(3) { display: table-cell !important; }
  .tableau td { padding: 5px 6px 5px 0; }
  .tendance, .activite { display: inline-block; width: 100%; }
  .tendance svg, .activite svg { max-height: 45mm; width: auto; max-width: 100%; }

  /* carte : même taille qu'à l'écran (voir retenirTailleCarte), d'un seul bloc avec sa légende */
  .carte { display: inline-block !important; width: var(--carte-l, 100%) !important; max-width: 100%; height: var(--carte-h, 70mm) !important; max-height: 90mm; }
  .legende { margin: 4px 0 8px !important; }

  .note, .intro-approche { font-size: 8pt; }
  .pied { padding: 12px 0 0 !important; margin-top: 16px; border-top: 1px solid #000; break-inside: avoid; page-break-inside: avoid; }
  .pied p { font-size: 7.5pt; margin: 2px 0; }
  a { text-decoration: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
