/* Elon Immobilier : maquette de refonte. Système : ivoire, encre (bleu du logo), une seule couleur d'action, Cormorant Garamond + Manrope. */
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ivoire: #F6F3EE; --papier: #FCFBF8; --sable: #EDE8DF; --ligne: #E1DBD0; --ligne-f: #CFC7B9;
  --encre: #1C2840; --encre-2: #2C3A56; --texte: #2B2F38; --gris: #676B74; --gris-c: #8E9198;
  --laiton: #8C7350; --ok: #2F6B4F; --alerte: #9B3B2F;
  --serif: 'Cormorant', 'Times New Roman', serif; --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 4px; --r2: 8px; --ombre: 0 18px 50px -18px rgba(20, 28, 45, .28);
  --large: 1240px; --gout: clamp(20px, 4vw, 40px);
  --t-xs: 12.5px; --t-s: 14px; --t-b: 15.5px; --t-m: 17px; --t-l: 20px; --t-xl: 26px; --t-2: 34px; --t-3: 46px; --t-4: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivoire); color: var(--texte); font: 400 var(--t-b)/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cadre { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 var(--gout); }
.cadre-etroit { max-width: 860px; }

/* Typo */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; color: var(--encre); letter-spacing: -.005em; margin: 0; }
h1 { font-size: clamp(36px, 5.4vw, var(--t-4)); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.6vw, var(--t-3)); line-height: 1.08; }
h3 { font-size: var(--t-xl); line-height: 1.15; }
h1 em, h2 em { font-style: italic; }
p { margin: 0 0 1em; }
.surtitre { display: block; font: 600 var(--t-xs)/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--laiton); margin-bottom: 18px; }
.chapo { font-size: var(--t-m); color: var(--gris); max-width: 640px; }
.petit { font-size: var(--t-s); color: var(--gris); }
.tete-section { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.tete-section p { margin: 14px 0 0; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section + .section.meme { padding-top: 0; }
.fond-sable { background: var(--sable); }
.fond-encre { background: var(--encre); color: #E6E3DC; }
.fond-encre h2, .fond-encre h3 { color: #fff; }
.fond-encre .surtitre { color: #C9B48E; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: 999px; font: 600 var(--t-s)/1 var(--sans); letter-spacing: .02em; border: 1px solid var(--encre); background: var(--encre); color: #fff; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--encre-2); border-color: var(--encre-2); }
.btn-ligne { background: transparent; color: var(--encre); }
.btn-ligne:hover { background: var(--encre); color: #fff; }
.btn-clair { background: #fff; color: var(--encre); border-color: #fff; }
.btn-clair:hover { background: var(--ivoire); border-color: var(--ivoire); }
.btn-fantome { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-fantome:hover { background: #fff; color: var(--encre); }
.btn-s { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-s); color: var(--encre); border-bottom: 1px solid var(--ligne-f); padding-bottom: 3px; transition: border-color .2s, gap .2s; }
.lien:hover { border-color: var(--encre); gap: 12px; }
.lien svg { width: 14px; height: 14px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 238, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ligne); transition: background .3s, border-color .3s; }
.entete .cadre { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--encre); flex: none; }
.logo b { font: 500 31px/0.9 var(--serif); letter-spacing: .06em; }
.logo small { font: 500 9.5px/1 var(--sans); letter-spacing: .38em; margin-top: 5px; padding-left: .38em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 13px; font-size: var(--t-s); font-weight: 500; color: var(--texte); border-radius: var(--r); position: relative; }
.nav a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.outils { display: flex; align-items: center; gap: 6px; }
.outil { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--encre); transition: background .2s; }
.outil:hover { background: rgba(28, 40, 64, .07); }
.outil svg { width: 20px; height: 20px; }
.outil .pastille { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--encre); color: #fff; font: 600 10.5px/17px var(--sans); text-align: center; }
.outil .pastille:empty, .outil .pastille[data-n="0"] { display: none; }
.entete .btn { margin-left: 6px; }
.burger { display: none; }
.transparent .entete { background: transparent; border-color: transparent; position: fixed; left: 0; right: 0; }
.transparent .entete .logo, .transparent .entete .nav a, .transparent .entete .outil { color: #fff; }
.transparent .entete .btn { background: #fff; color: var(--encre); border-color: #fff; }
.transparent .entete.colle { background: rgba(246, 243, 238, .96); border-color: var(--ligne); }
.transparent .entete.colle .logo, .transparent .entete.colle .nav a, .transparent .entete.colle .outil { color: var(--encre); }
.transparent .entete.colle .nav a { color: var(--texte); }
.transparent .entete.colle .btn { background: var(--encre); color: #fff; border-color: var(--encre); }

.tiroir { position: fixed; inset: 0; z-index: 80; background: var(--ivoire); padding: 22px var(--gout) 40px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); visibility: hidden; overflow-y: auto; }
.tiroir.ouvert { transform: none; visibility: visible; }
.tiroir-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.tiroir nav a { display: block; font: 500 30px/1.25 var(--serif); color: var(--encre); padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.tiroir .btn { margin-top: 30px; }
.tiroir .petit { margin-top: 22px; }

/* Héros accueil */
.heros { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.heros-fond { position: absolute; inset: 0; z-index: 0; background: #1C2840; }
.heros-fond img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); }
.heros-fond img { position: absolute; inset: 0; z-index: 0; }
.heros-fond img.dessous { opacity: 1; z-index: 1; transition: none; }
.heros-fond img.vu { opacity: 1; z-index: 2; animation: lent 14s ease-out forwards; }
@keyframes lent { to { transform: scale(1); } }
.heros::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,18,30,.55) 0%, rgba(12,18,30,.28) 32%, rgba(12,18,30,.8) 100%), linear-gradient(90deg, rgba(12,18,30,.62) 0%, rgba(12,18,30,.3) 55%, rgba(12,18,30,.05) 85%); }
.heros .cadre { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vh, 80px); padding-top: 140px; }
.heros h1 { color: #fff; max-width: 820px; }
.heros .chapo { color: rgba(255,255,255,.86); margin: 22px 0 36px; }
.heros .surtitre { color: #E3D3B4; }
.heros-legende { position: absolute; right: var(--gout); top: 104px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.88); background: rgba(14,20,34,.32); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 18px; transition: background .2s; }
.heros-legende:hover { background: rgba(14,20,34,.55); color: #fff; }
.heros-legende svg { width: 14px; height: 14px; }

/* Recherche */
.recherche { background: var(--papier); border-radius: var(--r2); box-shadow: var(--ombre); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; align-items: stretch; color: var(--texte); max-width: 1040px; }
.recherche .champ { padding: 14px 20px; border-right: 1px solid var(--ligne); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.recherche label { font: 600 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-bottom: 5px; }
.recherche select, .recherche input { border: 0; background: transparent; font-size: var(--t-b); font-weight: 500; color: var(--encre); padding: 2px 0; outline: none; width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }
.recherche .btn { margin: 10px; min-height: 54px; }
.onglets-statut { display: inline-flex; gap: 0; margin-bottom: 14px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px; backdrop-filter: blur(6px); }
.onglets-statut button { padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.onglets-statut button[aria-pressed="true"] { background: #fff; color: var(--encre); }
.heros-pied { display: flex; gap: 34px; margin-top: 34px; font-size: var(--t-s); color: rgba(255,255,255,.82); flex-wrap: wrap; }
.heros-pied b { display: block; font: 500 28px/1 var(--serif); color: #fff; margin-bottom: 4px; }

/* Cartes biens */
.grille-biens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.carte { position: relative; display: flex; flex-direction: column; }
.carte-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--sable); }
.carte-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.carte:hover .carte-media img { transform: scale(1.035); }
.carte-media .defile { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carte-media .defile::-webkit-scrollbar { display: none; }
.carte-media .defile img { flex: 0 0 100%; scroll-snap-align: start; }
.carte-fl { position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: rgba(252,251,248,.92); color: var(--encre); display: grid; place-items: center; opacity: 0; transition: opacity .2s; z-index: 2; }
.carte-fl svg { width: 15px; height: 15px; }
.carte-fl.g { left: 12px; } .carte-fl.d { right: 12px; }
.carte:hover .carte-fl { opacity: 1; }
.carte-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.tag { background: rgba(252,251,248,.94); color: var(--encre); font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 3px; }
.carte-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 2; }
.rond { width: 38px; height: 38px; border-radius: 50%; background: rgba(252,251,248,.94); color: var(--encre); display: grid; place-items: center; transition: background .2s, color .2s; }
.rond svg { width: 17px; height: 17px; }
.rond:hover { background: #fff; }
.rond[aria-pressed="true"] { background: var(--encre); color: #fff; }
.carte-compteur { position: absolute; bottom: 12px; right: 12px; background: rgba(20,28,45,.62); color: #fff; font: 500 11.5px/1 var(--sans); padding: 6px 9px; border-radius: 3px; z-index: 2; }
.carte-corps { padding-top: 18px; }
.carte-lieu { font: 600 var(--t-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--laiton); }
.carte-titre { font: 500 23px/1.2 var(--serif); color: var(--encre); margin: 8px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carte-titre a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.carte-meta { display: flex; gap: 0; font-size: var(--t-s); color: var(--gris); flex-wrap: wrap; }
.carte-meta span + span::before { content: '·'; margin: 0 9px; color: var(--ligne-f); }
.carte-prix { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.carte-prix b { font: 600 var(--t-m)/1 var(--sans); color: var(--encre); letter-spacing: .01em; }
.carte-prix small { font-size: var(--t-xs); color: var(--gris-c); }

/* Rangée défilante (sans barre visible) */
.rangee-bloc { position: relative; }
.rangee { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.rangee::-webkit-scrollbar { display: none; }
.rangee > * { scroll-snap-align: start; }
.fleches { display: flex; gap: 10px; }
.fleche { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ligne-f); display: grid; place-items: center; color: var(--encre); transition: background .2s, border-color .2s, opacity .2s; }
.fleche:hover { background: var(--encre); color: #fff; border-color: var(--encre); }
.fleche:disabled { opacity: .35; pointer-events: none; }
.fleche svg { width: 16px; height: 16px; }

/* Blocs éditoriaux */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.duo-media { position: relative; }
.duo-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.duo-media .vignette { position: absolute; right: -28px; bottom: -28px; width: 46%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--ivoire); border-radius: var(--r); }
.liste-points { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 0; }
.liste-points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--ligne); }
.liste-points li:last-child { border-bottom: 1px solid var(--ligne); }
.liste-points .n { font: 500 22px/1 var(--serif); color: var(--laiton); padding-top: 2px; }
.liste-points b { display: block; color: var(--encre); font-weight: 600; margin-bottom: 2px; }
.liste-points span { font-size: var(--t-s); color: var(--gris); }

.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ligne); }
.chiffres div { padding: 32px 26px 0 0; }
.chiffres b { display: block; font: 500 clamp(38px, 4vw, 52px)/1 var(--serif); color: var(--encre); margin-bottom: 10px; }
.chiffres span { font-size: var(--t-s); color: var(--gris); }

.secteurs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; }
.secteur { background: var(--papier); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; transition: background .2s; min-height: 130px; }
.secteur:hover { background: #fff; }
.secteur b { font: 500 24px/1.1 var(--serif); color: var(--encre); }
.secteur small { font-size: var(--t-s); color: var(--gris); }
.secteur .lien { margin-top: auto; align-self: flex-start; border: 0; padding: 0; font-size: 13px; }

.avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.avis { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); padding: 32px 30px; display: flex; flex-direction: column; }
.etoiles { display: flex; gap: 3px; color: var(--laiton); margin-bottom: 18px; }
.etoiles svg { width: 15px; height: 15px; }
.avis blockquote { margin: 0 0 22px; font: 500 21px/1.45 var(--serif); color: var(--encre); }
.avis .plus { display: none; }
.avis.ouvert .plus { display: inline; }
.avis.ouvert .pts { display: none; }
.avis footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: var(--t-s); color: var(--gris); gap: 10px; }
.avis footer b { color: var(--texte); font-weight: 600; display: block; }
.avis-note { display: flex; align-items: center; gap: 18px; }
.avis-note b { font: 500 54px/1 var(--serif); color: var(--encre); }

.bandeau { position: relative; overflow: hidden; border-radius: var(--r2); color: #fff; }
.bandeau img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandeau::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,34,.82), rgba(14,20,34,.35)); }
.bandeau-in { position: relative; z-index: 2; padding: clamp(44px, 7vw, 90px); max-width: 680px; }
.bandeau h2 { color: #fff; }
.bandeau p { color: rgba(255,255,255,.84); margin: 18px 0 30px; font-size: var(--t-m); }

/* Pages intérieures */
.tete-page { padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); }
.tete-page .chapo { margin-top: 22px; }
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--gris); margin-bottom: 28px; }
.ariane a:hover { color: var(--encre); }
.ariane span[aria-hidden] { color: var(--ligne-f); }
.prose { max-width: 720px; }
.prose h2 { font-size: var(--t-2); margin: 54px 0 18px; }
.prose h3 { margin: 34px 0 12px; }
.prose p, .prose li { color: var(--texte); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* Liste des biens */
.barre-filtres { position: sticky; top: 78px; z-index: 30; background: rgba(246,243,238,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.barre-filtres .cadre { display: flex; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.puce { position: relative; }
.puce > button, .puce > select { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--ligne-f); border-radius: 21px; background: var(--papier); font-size: var(--t-s); font-weight: 500; color: var(--encre); white-space: nowrap; appearance: none; -webkit-appearance: none; }
.puce > select { padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231C2840' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; cursor: pointer; }
.puce > button.actif, .puce > select.actif { border-color: var(--encre); background-color: var(--encre); color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); }
.puce > button svg { width: 14px; height: 14px; }
.panneau { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 330px; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); box-shadow: var(--ombre); padding: 22px; display: none; }
.panneau.ouvert { display: block; }
.panneau h4 { margin: 0 0 12px; font: 600 var(--t-xs)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.panneau .rangee-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.panneau-pied { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.choix { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.choix button, .choix label { padding: 8px 13px; border: 1px solid var(--ligne-f); border-radius: 18px; font-size: 13px; font-weight: 500; cursor: pointer; }
.choix button[aria-pressed="true"], .choix input:checked + span { background: var(--encre); color: #fff; border-color: var(--encre); }
.choix label { padding: 0; border: 0; }
.choix label span { display: block; padding: 8px 13px; border: 1px solid var(--ligne-f); border-radius: 18px; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.liste-villes { max-height: 250px; overflow-y: auto; scrollbar-width: thin; margin: 0 -6px 6px; }
.liste-villes label { display: flex; align-items: center; gap: 10px; padding: 7px 6px; font-size: var(--t-s); cursor: pointer; border-radius: var(--r); }
.liste-villes label:hover { background: var(--ivoire); }
.liste-villes input { width: 16px; height: 16px; accent-color: var(--encre); }
.liste-villes em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--gris-c); }
.saisie { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--ligne-f); border-radius: var(--r); background: #fff; font-size: var(--t-b); outline: none; transition: border-color .2s; }
.saisie:focus { border-color: var(--encre); }
textarea.saisie { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
select.saisie { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231C2840' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; padding-right: 38px; }
.barre-droite { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.bascule { display: inline-flex; border: 1px solid var(--ligne-f); border-radius: 21px; padding: 3px; background: var(--papier); }
.bascule button { height: 34px; padding: 0 14px; border-radius: 17px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--gris); }
.bascule button svg { width: 15px; height: 15px; }
.bascule button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.resume-resultats { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 34px 0 26px; flex-wrap: wrap; }
.resume-resultats h1 { font-size: clamp(30px, 3.4vw, 42px); }
.resume-resultats p { margin: 6px 0 0; color: var(--gris); }
.filtres-actifs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filtres-actifs button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 16px; background: var(--sable); font-size: 13px; font-weight: 500; color: var(--encre); }
.filtres-actifs button svg { width: 12px; height: 12px; }
.vue-carte { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px; }
.vue-carte .grille-biens { grid-template-columns: repeat(2, 1fr); }
.carte-geo { position: sticky; top: 160px; height: calc(100vh - 190px); border-radius: var(--r2); overflow: hidden; border: 1px solid var(--ligne); background: var(--sable); }
.vide { text-align: center; padding: 90px 20px; border: 1px dashed var(--ligne-f); border-radius: var(--r2); }
.vide h3 { margin-bottom: 10px; }
.alerte-bloc { margin-top: 70px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); padding: clamp(28px, 4vw, 48px); }
.alerte-bloc form { display: flex; gap: 10px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 60px; }
.pagination button { min-width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--ligne-f); font-size: var(--t-s); font-weight: 600; color: var(--encre); padding: 0 14px; }
.pagination button[aria-current] { background: var(--encre); color: #fff; border-color: var(--encre); }
.marqueur { background: var(--encre); color: #fff; font: 600 12px/1 var(--sans); padding: 7px 10px; border-radius: 14px; white-space: nowrap; box-shadow: 0 4px 14px -4px rgba(0,0,0,.35); border: 2px solid #fff; transform: translate(-50%, -50%); display: inline-block; }
.marqueur.chaud { background: #fff; color: var(--encre); border-color: var(--encre); }
.leaflet-container { font-family: var(--sans) !important; }
.leaflet-popup-content-wrapper { border-radius: var(--r2) !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; }
.pop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pop div { padding: 12px 14px 14px; }
.pop b { display: block; font: 500 18px/1.2 var(--serif); color: var(--encre); margin-bottom: 4px; }
.pop span { font-size: 13px; color: var(--gris); }

/* Fiche bien */
.galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(68vh, 620px); border-radius: var(--r2); overflow: hidden; position: relative; }
.galerie button { position: relative; overflow: hidden; background: var(--sable); }
.galerie button:first-child { grid-row: 1 / 3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.galerie button:hover img { transform: scale(1.03); }
.galerie.n1 { grid-template-columns: 1fr; }
.galerie.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.galerie.n2 button:first-child { grid-row: auto; }
.galerie.n3 { grid-template-columns: 2fr 1fr; }
.galerie.n4 { grid-template-columns: 2fr 1fr 1fr; }
.galerie.n4 button:nth-child(2) { grid-column: 2 / 4; }
.galerie .toutes-photos { position: absolute; grid-row: auto; overflow: visible; right: 18px; bottom: 18px; z-index: 3; background: var(--papier); color: var(--encre); border: 1px solid var(--ligne); }
.toutes-photos:hover { background: #fff; color: var(--encre); }
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 90px); padding: 52px 0 40px; align-items: start; }
.fiche-tete .carte-lieu { margin-bottom: 14px; display: block; }
.fiche-tete h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.fiche-cles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); margin: 34px 0 44px; }
.fiche-cles div { padding: 20px 18px 20px 0; }
.fiche-cles div + div { padding-left: 20px; border-left: 1px solid var(--ligne); }
.fiche-cles b { display: block; font: 500 30px/1 var(--serif); color: var(--encre); margin-bottom: 6px; }
.fiche-cles span { font-size: 13px; color: var(--gris); }
.fiche h2 { font-size: var(--t-2); margin-bottom: 20px; }
.fiche-bloc { padding: 44px 0; border-top: 1px solid var(--ligne); }
.fiche-bloc:first-of-type { border-top: 0; padding-top: 0; }
.description p { font-size: var(--t-m); line-height: 1.75; }
.description.replie { max-height: 330px; overflow: hidden; position: relative; }
.description.replie::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(transparent, var(--ivoire)); }
.atouts { display: flex; flex-wrap: wrap; gap: 8px; }
.atouts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ligne-f); border-radius: 20px; font-size: var(--t-s); color: var(--encre); }
.atouts svg { width: 14px; height: 14px; color: var(--laiton); }
.tableau { width: 100%; border-collapse: collapse; font-size: var(--t-b); }
.tableau td, .tableau th { padding: 13px 0; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; }
.tableau th { font-weight: 500; color: var(--gris); width: 46%; }
.tableau td { color: var(--encre); font-weight: 500; }
.energie { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.echelle { display: grid; gap: 4px; margin-top: 16px; }
.echelle div { display: flex; align-items: center; height: 26px; padding: 0 10px; color: #fff; font: 600 12px/1 var(--sans); border-radius: 0 13px 13px 0; position: relative; }
.echelle div.vous { outline: 2px solid var(--encre); outline-offset: 2px; }
.echelle div.vous::after { content: attr(data-val); position: absolute; left: calc(100% + 12px); color: var(--encre); font-weight: 600; white-space: nowrap; }
.energie h3 { font-size: var(--t-l); font-family: var(--sans); font-weight: 600; }
.energie p { font-size: 13px; color: var(--gris); margin: 6px 0 0; }
.simulateur { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.simulateur label { display: block; font-size: 13px; font-weight: 600; color: var(--gris); margin-bottom: 8px; }
.simulateur input[type=range] { width: 100%; accent-color: var(--encre); }
.simulateur output { font-weight: 600; color: var(--encre); }
.resultat-sim { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--sable); border-radius: var(--r2); padding: 22px 26px; flex-wrap: wrap; }
.resultat-sim b { font: 500 36px/1 var(--serif); color: var(--encre); }
.carte-quartier { height: 360px; border-radius: var(--r2); overflow: hidden; border: 1px solid var(--ligne); }
.aside-fiche { position: sticky; top: 104px; }
.boite { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); padding: 30px; }
.boite + .boite { margin-top: 16px; }
.boite-prix { font: 500 40px/1 var(--serif); color: var(--encre); }
.boite .petit { margin: 8px 0 0; }
.boite hr { border: 0; border-top: 1px solid var(--ligne); margin: 24px 0; }
.conseiller { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.conseiller .mono { width: 52px; height: 52px; border-radius: 50%; background: var(--encre); color: #fff; display: grid; place-items: center; font: 500 21px/1 var(--serif); flex: none; }
.conseiller b { display: block; color: var(--encre); }
.conseiller span { font-size: 13px; color: var(--gris); }
.pile { display: grid; gap: 10px; }
.pile .btn { width: 100%; }
.actions-fiche { display: flex; gap: 8px; margin-top: 16px; }
.actions-fiche button { flex: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; font-size: 12px; font-weight: 600; color: var(--encre); border: 1px solid var(--ligne); border-radius: var(--r); background: var(--papier); }
.actions-fiche button svg { width: 18px; height: 18px; }
.actions-fiche button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.creneaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 16px; }
.creneaux button { padding: 10px 4px; border: 1px solid var(--ligne-f); border-radius: var(--r); font-size: 12.5px; line-height: 1.3; text-align: center; }
.creneaux button b { display: block; font-size: 13.5px; color: var(--encre); }
.creneaux button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.creneaux button[aria-pressed="true"] b { color: #fff; }
.barre-mobile { display: none; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 100; background: #0E131D; display: none; flex-direction: column; }
.visionneuse.ouvert { display: flex; }
.vis-tete { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; color: #fff; font-size: var(--t-s); }
.vis-tete button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.vis-tete button:hover { background: rgba(255,255,255,.1); }
.vis-tete svg { width: 20px; height: 20px; }
.vis-scene { flex: 1; position: relative; display: grid; place-items: center; min-height: 0; padding: 0 80px; }
.vis-scene img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.vis-scene .fleche { position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; border-color: rgba(255,255,255,.3); color: #fff; }
.vis-scene .fleche:hover { background: #fff; color: var(--encre); }
.vis-scene .g { left: 18px; } .vis-scene .d { right: 18px; }
.vis-vignettes { display: flex; gap: 6px; padding: 14px 22px 20px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.vis-vignettes::-webkit-scrollbar { display: none; }
.vis-vignettes button { flex: 0 0 82px; height: 56px; border-radius: 3px; overflow: hidden; opacity: .45; transition: opacity .2s; }
.vis-vignettes button[aria-current] { opacity: 1; outline: 2px solid #fff; outline-offset: 2px; }
.vis-vignettes img { width: 100%; height: 100%; object-fit: cover; }

/* Formulaires, étapes */
.form-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grille .plein { grid-column: 1 / -1; }
.form-grille label, .etiquette { display: block; font-size: 13px; font-weight: 600; color: var(--encre); margin-bottom: 8px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gris); }
.case input { margin-top: 3px; accent-color: var(--encre); width: 16px; height: 16px; flex: none; }
.etapes { display: flex; gap: 8px; margin-bottom: 36px; }
.etapes span { flex: 1; height: 3px; border-radius: 2px; background: var(--ligne); }
.etapes span.fait { background: var(--encre); }
.etape { display: none; }
.etape.active { display: block; animation: monte .4s ease; }
@keyframes monte { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tuile { position: relative; }
.tuile input { position: absolute; opacity: 0; }
.tuile span { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border: 1px solid var(--ligne-f); border-radius: var(--r2); background: var(--papier); cursor: pointer; transition: border-color .2s, background .2s; height: 100%; }
.tuile span svg { width: 26px; height: 26px; color: var(--laiton); }
.tuile span b { color: var(--encre); font-weight: 600; }
.tuile span small { font-size: 13px; color: var(--gris); }
.tuile input:checked + span { border-color: var(--encre); background: #fff; box-shadow: inset 0 0 0 1px var(--encre); }
.tuile input:focus-visible + span { outline: 2px solid var(--encre); outline-offset: 2px; }
.nav-etapes { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; gap: 12px; }
.simulation { display: none; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); padding: clamp(28px, 4vw, 48px); text-align: center; }
.simulation.vu { display: block; animation: monte .4s ease; }
.simulation .coche { width: 58px; height: 58px; border-radius: 50%; background: var(--encre); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; }
.simulation .coche svg { width: 26px; height: 26px; }
.badge-sim { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--laiton); border: 1px solid currentColor; padding: 6px 10px; border-radius: 3px; margin-bottom: 18px; }
.fourchette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--r2); overflow: hidden; margin: 26px 0; text-align: center; }
.fourchette div { background: #fff; padding: 22px 12px; }
.fourchette div:nth-child(2) { background: var(--encre); color: #fff; }
.fourchette small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.fourchette b { font: 500 clamp(19px, 2vw, 26px)/1.1 var(--serif); white-space: nowrap; }

/* Cartes services, honoraires */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); padding: 36px 32px; display: flex; flex-direction: column; }
.service svg { width: 30px; height: 30px; color: var(--laiton); margin-bottom: 26px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--gris); font-size: var(--t-s); }
.service ul { list-style: none; padding: 0; margin: 8px 0 26px; font-size: var(--t-s); }
.service li { padding: 9px 0; border-top: 1px solid var(--ligne); display: flex; gap: 10px; }
.service li svg { width: 15px; height: 15px; margin: 4px 0 0; flex: none; }
.service .lien { margin-top: auto; align-self: flex-start; }
.bareme { display: grid; gap: 0; border-top: 1px solid var(--ligne-f); }
.bareme div { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--ligne); align-items: baseline; }
.bareme span { color: var(--texte); }
.bareme b { font: 500 32px/1 var(--serif); color: var(--encre); }
.calc { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); padding: 32px; }
.calc .resultat-sim { margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 500 22px/1.3 var(--serif); color: var(--encre); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--encre); border-bottom: 1.5px solid var(--encre); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 40px 26px 0; color: var(--gris); }
.contact-grille { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); }
.coordonnees { display: grid; gap: 0; }
.coordonnees a, .coordonnees div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.coordonnees svg { width: 20px; height: 20px; color: var(--laiton); margin-top: 3px; }
.coordonnees small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin-bottom: 2px; }
.coordonnees b { color: var(--encre); font-weight: 600; }

/* Comparateur */
.comparateur { overflow-x: auto; scrollbar-width: thin; border: 1px solid var(--ligne); border-radius: var(--r2); background: var(--papier); }
.comparateur table { width: 100%; border-collapse: collapse; min-width: 760px; }
.comparateur th, .comparateur td { padding: 16px 18px; border-bottom: 1px solid var(--ligne); text-align: left; font-size: var(--t-s); vertical-align: top; }
.comparateur thead td { vertical-align: top; }
.comparateur thead td { width: 25%; }
.comparateur thead img { width: 100%; max-width: 300px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); margin-bottom: 12px; }
.comparateur th { color: var(--gris); font-weight: 500; width: 170px; background: var(--ivoire); }
.comparateur td b { color: var(--encre); }
.comparateur .meilleur { color: var(--ok); font-weight: 600; }

/* Pied */
.pied { background: var(--encre); color: rgba(255,255,255,.72); padding: 90px 0 30px; font-size: var(--t-s); }
.pied-haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pied .logo { color: #fff; align-items: flex-start; }
.pied .logo small { padding-left: .1em; }
.pied h4 { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 6px 0 20px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pied a:hover { color: #fff; }
.pied-bas { display: flex; align-items: center; gap: 22px; padding-top: 26px; flex-wrap: wrap; font-size: 13px; }
.pied-bas nav { display: flex; gap: 18px; flex-wrap: wrap; }
.pied .reseaux { display: flex; gap: 10px; margin-top: 22px; }
.pied .reseaux a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; }
.pied .reseaux a:hover { border-color: #fff; }
.pied .reseaux svg { width: 16px; height: 16px; }
.pied-news { display: flex; margin-top: 16px; border-bottom: 1px solid rgba(255,255,255,.3); }
.pied-news input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 12px 0; outline: none; }
.pied-news input::placeholder { color: rgba(255,255,255,.5); }
.pied-news button { color: #fff; font-weight: 600; font-size: 13px; padding: 0 0 0 12px; }

/* Barre flottante comparer */
.flottant { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translate(-50%, 140%); background: var(--encre); color: #fff; border-radius: 30px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--ombre); transition: transform .35s cubic-bezier(.2,.7,.2,1); font-size: var(--t-s); white-space: nowrap; }
.flottant { visibility: hidden; }
.flottant.vu { transform: translate(-50%, 0); visibility: visible; }
.flottant .btn { min-height: 40px; }
.toast { position: fixed; left: 50%; top: 96px; z-index: 120; transform: translate(-50%, -20px); opacity: 0; background: var(--encre); color: #fff; padding: 12px 20px; border-radius: 24px; font-size: var(--t-s); pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--ombre); max-width: calc(100vw - 32px); text-align: center; }
.toast.vu { opacity: 1; transform: translate(-50%, 0); }
.modale { position: fixed; inset: 0; z-index: 110; background: rgba(14,19,29,.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.modale.ouvert { display: flex; }
.modale-boite { background: var(--ivoire); border-radius: var(--r2); width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px; position: relative; }
.modale-boite .fermer { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.modale-boite .fermer:hover { background: var(--sable); }
.modale-boite .fermer svg { width: 18px; height: 18px; }
.cookies { position: fixed; left: 22px; bottom: 22px; z-index: 90; max-width: 400px; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--r2); box-shadow: var(--ombre); padding: 22px; font-size: 13.5px; display: none; }
.cookies.vu { display: block; }
.cookies p { color: var(--gris); }
.cookies div { display: flex; gap: 8px; flex-wrap: wrap; }
.apparait { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.apparait.vu { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; }
  .entete .btn { display: none; }
}
@media (max-width: 1020px) {
  .nav, .entete .outil.cache-m { display: none; }
  .burger { display: grid; }
  .outils { margin-left: auto; }
  .grille-biens { grid-template-columns: repeat(2, 1fr); }
  .rangee { grid-auto-columns: calc((100% - 28px) / 2); }
  .recherche { grid-template-columns: 1fr 1fr; }
  .recherche .champ:nth-child(2) { border-right: 0; }
  .recherche .champ { border-bottom: 1px solid var(--ligne); }
  .recherche .btn { grid-column: 1 / -1; }
  .duo, .contact-grille, .alerte-bloc { grid-template-columns: 1fr; }
  .duo-media .vignette { right: 16px; bottom: -24px; }
  .secteurs { grid-template-columns: repeat(2, 1fr); }
  .avis-grille, .services { grid-template-columns: 1fr; }
  .fiche { grid-template-columns: 1fr; }
  .aside-fiche { position: static; }
  .vue-carte { grid-template-columns: 1fr; }
  .carte-geo { position: relative; top: 0; height: 60vh; order: -1; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .heros-legende { top: 80px; right: 16px; font-size: 12px; }
  :root { --t-b: 15px; }
  .entete .cadre { height: 66px; gap: 10px; }
  .logo b { font-size: 26px; }
  .barre-filtres { top: 66px; }
  .grille-biens, .vue-carte .grille-biens { grid-template-columns: 1fr; gap: 36px; }
  .rangee { grid-auto-columns: 86%; gap: 16px; }
  .recherche { grid-template-columns: 1fr 1fr; }
  .recherche .champ { padding: 12px 14px; }
  .recherche .champ:nth-child(odd) { border-right: 1px solid var(--ligne); }
  .recherche select { font-size: 14px; }
  .heros .chapo { font-size: 15.5px; margin: 16px 0 26px; }
  .heros { min-height: 92svh; }
  .heros-pied { gap: 22px; }
  .galerie { grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; height: 62vw; min-height: 260px; border-radius: 0; margin: 0 calc(var(--gout) * -1); }
  .galerie button:not(:first-child) { display: none; }
  .galerie .toutes-photos { display: inline-flex; right: 12px; bottom: 12px; }
  .galerie button:first-child { grid-row: auto; grid-column: auto !important; }
  .fiche-cles { grid-template-columns: 1fr 1fr; }
  .fiche-cles div:nth-child(3) { padding-left: 0; border-left: 0; }
  .fiche-cles div:nth-child(n+3) { border-top: 1px solid var(--ligne); }
  .energie, .simulateur, .form-grille { grid-template-columns: 1fr; }
  .tuiles { grid-template-columns: 1fr 1fr; }
  .secteurs { grid-template-columns: 1fr; }
  .fourchette b { font-size: 22px; }
  .pied-haut { grid-template-columns: 1fr; }
  .barre-mobile { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--papier); border-top: 1px solid var(--ligne); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; }
  .barre-mobile .btn { flex: 1; padding: 0 12px; }
  .barre-mobile .btn-ligne { flex: 0 0 48px; padding: 0; }
  .barre-mobile b { font: 500 22px/1 var(--serif); color: var(--encre); margin-right: auto; }
  .page-fiche .pied { padding-bottom: 100px; }
  .page-fiche .flottant { bottom: 86px; }
  .vis-scene { padding: 0; }
  .vis-scene .fleche { display: none; }
  .vis-vignettes { justify-content: flex-start; }
  .panneau { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; max-height: 75vh; overflow-y: auto; }
  .barre-filtres .cadre { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .barre-filtres .cadre::-webkit-scrollbar { display: none; }
  .barre-droite { margin-left: 0; }
  .alerte-bloc form { flex-direction: column; }
  .flottant { width: calc(100% - 32px); justify-content: space-between; padding-left: 18px; }
  .cookies { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .modale-boite { padding: 28px 22px; }
  .bareme b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .apparait { opacity: 1; transform: none; } }
@media print { .entete, .pied, .aside-fiche .pile, .barre-mobile, .flottant, .cookies, .toutes-photos { display: none !important; } .fiche { grid-template-columns: 1fr; } body { background: #fff; } }
.leaflet-tile-pane { filter: grayscale(1) sepia(.12) contrast(.92) brightness(1.04); }
/* Badge « Conçu par ThorTank » : composant officiel (E:\Pro\Thortank\thortank-footer-badge_1.html, même CSS que le mu-plugin thortank-badge.php).
   Pied sombre : mot ThorTank en bleu principal #5082C8. Tortue auto-hébergée (/assets/img/thortank-tortue.webp). */
.tt-badge { --tt-brand: #205294; --tt-wave: #5082C8; --tt-wave-opacity: .55; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 12px 12px; border-radius: 999px; text-decoration: none; color: inherit; font-family: inherit; font-size: 13px; line-height: 1.2; position: relative; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); background: color-mix(in srgb, currentColor 4%, transparent); transition: border-color .35s ease, background .35s ease, transform .35s ease; overflow: hidden; box-sizing: border-box; margin-left: auto; flex: none; }
.tt-badge:hover { border-color: var(--tt-wave); background: color-mix(in srgb, var(--tt-wave) 10%, transparent); transform: translateY(-1px); }
.pied .tt-badge:hover { color: inherit; }
.pied-bas .tt-badge { margin-left: auto; }
.tt-badge .tt-badge__turtle { flex-shrink: 0; width: 26px; height: 26px; max-width: none; object-fit: contain; display: block; margin: 0; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.tt-badge:hover .tt-badge__turtle { transform: rotate(-6deg) scale(1.05); }
.tt-badge .tt-badge__text { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.tt-badge .tt-badge__label { font-size: 9.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; opacity: .7; line-height: 1.2; }
.tt-badge .tt-badge__brand { font-weight: 600; font-size: 14px; letter-spacing: -.01em; line-height: 1.1; color: var(--tt-brand); }
.tt-badge .tt-badge__arrow { flex-shrink: 0; width: 10px; height: 10px; margin-left: 2px; opacity: .55; transition: transform .3s ease, opacity .3s ease; }
.tt-badge:hover .tt-badge__arrow { transform: translateX(3px); opacity: 1; }
.tt-badge .tt-badge__wave { position: absolute; bottom: 2px; left: 0; right: 0; height: 6px; pointer-events: none; opacity: var(--tt-wave-opacity); overflow: hidden; color: var(--tt-wave); }
.tt-badge .tt-badge__wave svg { display: block; width: 200%; height: 100%; animation: tt-wave-drift 6s linear infinite; }
@keyframes tt-wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tt-badge .tt-badge__wave svg { animation: none; } .tt-badge, .tt-badge .tt-badge__arrow, .tt-badge .tt-badge__turtle { transition: none; } }

/* Cloudflare Turnstile : visible seulement si Cloudflare demande une interaction */
.ts-zone{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:10050;display:none;background:#fff;padding:10px;border-radius:14px;box-shadow:0 12px 40px rgba(28,40,64,.25)}
.ts-zone.vu{display:block}
