/* Site d'un conseiller Domini · concept izak · composants propres. v2 (2 décembre 2026) : aucune animation au défilement,
   thème clair et sombre, transitions entre les pages, méga menu, Prestige, fiche inspirée du staging, secteur complet. */

/* ======================= transitions entre les pages : celles de mydomini.fr (nuit.css), plus la photo qui glisse vers sa fiche ======================= */
@view-transition { navigation: auto; }
::view-transition-group(hd) { animation: none; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ======================= l'ouverture : une porte ouverte sur le secteur (fixe) ======================= */
.dh { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; overflow: clip; background: #070708; color: var(--n-fg); isolation: isolate; }
.dh-stage { position: absolute; inset: 0; z-index: 0; }
.dh-scene { position: absolute; inset: 0; --floor: 78%; }
.dh-wall { position: absolute; inset: 0 0 calc(100% - var(--floor)) 0; background: radial-gradient(60% 70% at 66% 74%, #1b1a18 0%, #111111 42%, #09090a 100%); }
.dh-floor { position: absolute; left: 0; right: 0; top: var(--floor); bottom: 0; background: linear-gradient(180deg, #121110 0%, #0b0b0c 60%, #070708 100%); }
.dh-opening { position: absolute; left: 61%; bottom: calc(100% - var(--floor)); width: min(19vw, 27vh, 360px); aspect-ratio: 9 / 20; perspective: 1300px; perspective-origin: 40% 55%; }
.dh-out { position: absolute; inset: 0; overflow: hidden; background: #cfd6dc; }
.dh-out img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; transform: scale(1.16); transform-origin: 50% 62%; }
.dh-sun { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,250,238,.38), rgba(255,250,238,0) 55%); mix-blend-mode: screen; pointer-events: none; }
.dh-jamb { position: absolute; top: 0; bottom: 0; width: 6%; }
.dh-jamb--l { left: 0; background: linear-gradient(90deg, #262421, #3a3632); }
.dh-jamb--r { right: 0; background: linear-gradient(270deg, #121110, #1c1a18); }
.dh-lintel { position: absolute; left: 0; right: 0; top: 0; height: 3.2%; background: linear-gradient(180deg, #1a1917, #2b2825); }
.dh-leaf { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; transform: rotateY(-64deg); }
.dh-face { position: absolute; inset: 0; background: linear-gradient(96deg, #04124a 0%, #061a66 38%, #0a2584 78%, #0d2e9c 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.45), inset 26px 0 60px rgba(0,0,0,.45); backface-visibility: hidden; }
.dh-face::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,244,222,.1) 0%, rgba(255,244,222,0) 40%, rgba(0,0,0,.25) 100%); }
.dh-p { position: absolute; left: 14%; right: 14%; border-radius: 1px; box-shadow: inset 1px 1px 0 rgba(255,255,255,.12), inset -1px -1px 0 rgba(0,0,0,.35); }
.dh-p1 { top: 8%; height: 40%; } .dh-p2 { top: 54%; height: 38%; }
.dh-handle { position: absolute; right: 10%; top: 51%; width: 5%; height: 10%; min-width: 6px; border-radius: 3px; background: linear-gradient(90deg, #0c0c0d, #2c2c2e); box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.dh-edge { position: absolute; top: 0; bottom: 0; right: 0; width: 14px; transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(90deg, #051a66, #0a2a95); }
.dh-spill { position: absolute; top: var(--floor); height: calc(100% - var(--floor)); left: calc(61% - 6vw); width: 46vw; clip-path: polygon(25% 0, 50% 0, 100% 100%, 36% 100%); background: linear-gradient(180deg, rgba(255,238,206,.36), rgba(255,238,206,.1) 55%, rgba(255,238,206,0)); filter: blur(6px); mix-blend-mode: screen; }
.dh-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, rgba(7,7,8,.82) 0%, rgba(7,7,8,.4) 38%, rgba(7,7,8,0) 58%), linear-gradient(0deg, rgba(7,7,8,.7) 0%, rgba(7,7,8,0) 30%); }
/* le bloc du titre est dans le flux : il reste toujours sous l'en-tête, la hauteur de l'ouverture s'adapte s'il le faut */
.dh-in { position: relative; z-index: 5; margin: calc(var(--hd) + clamp(24px, 4vh, 48px)) var(--gut) clamp(64px, 11vh, 140px); width: min(54vw, 820px); display: grid; gap: clamp(14px, 2.4vh, 26px); justify-items: start; }
.dh-h1 { font-size: clamp(46px, min(7.4vw, 12.5vh), 132px); max-width: 9.5em; margin-left: -.04em; }
.dh-search { display: flex; align-items: center; gap: 8px; width: min(100%, 640px); padding: 8px; border-radius: 4px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--n-line); }
.dh-search .seg { flex: none; }
.dh-search input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; outline: none; color: var(--n-fg); font-size: 16px; padding: 0 8px; }
.dh-search input::placeholder { color: var(--n-fg-3); }
.dh-go { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.dh-go:hover { background: #1d5cff; }
.dh-foot { position: absolute; z-index: 5; left: var(--gut); right: var(--gut); bottom: calc(24px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--n-fg-3); }
/* en clair : un mur blanc au soleil, la porte bleue grande ouverte (la direction de la maquette, en mieux) */
.t-light .dh { background: #ece6db; }
.t-light .dh-wall { background: radial-gradient(70% 80% at 64% 70%, #ffffff 0%, #f4f4f5 50%, #e9e9eb 100%); }
.t-light .dh-floor { background: linear-gradient(180deg, #dcdcdf 0%, #e9e9eb 70%, #f1f1f2 100%); }
.t-light .dh-jamb--l { background: linear-gradient(90deg, #d6d6d9, #ececee); }
.t-light .dh-jamb--r { background: linear-gradient(270deg, #cfc6b6, #dcdcdf); }
.t-light .dh-lintel { background: linear-gradient(180deg, #d4ccbd, #e2dbcf); }
.t-light .dh-face { background: linear-gradient(96deg, #0a3ac7 0%, #0b44e6 45%, #1450f0 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 22px 0 50px rgba(0,0,0,.18); }
.t-light .dh-edge { background: linear-gradient(90deg, #0838b8, #0b44e6); }
.t-light .dh-spill { background: linear-gradient(180deg, rgba(120,100,70,.16), rgba(120,100,70,0)); mix-blend-mode: multiply; clip-path: polygon(0 0, 25% 0, 60% 100%, 0 100%); left: calc(61% - 30vw); width: 40vw; }
.t-light .dh-shade { background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.55) 40%, rgba(255,255,255,0) 60%); }
@media (max-width: 899px) {
  .dh-scene { --floor: 47%; }
  .dh-opening { left: 56%; translate: -50% 0; width: min(34vw, 15.5vh); }
  .dh-spill { left: calc(56% - 34vw); width: 96vw; }
  .dh-shade { background: linear-gradient(0deg, rgba(7,7,8,.97) 0%, rgba(7,7,8,.9) 44%, rgba(7,7,8,0) 58%), linear-gradient(180deg, rgba(7,7,8,.6) 0%, rgba(7,7,8,0) 16%); }
  .t-light .dh-shade { background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 44%, rgba(255,255,255,0) 58%); }
  .dh-in { width: auto; margin: calc(var(--hd) + 24px) var(--gut) calc(56px + env(safe-area-inset-bottom)); gap: 14px; }
  .dh-h1 { font-size: clamp(44px, 12.6vw, 72px); }
  .dh-in .n-lead { font-size: 15.5px; }
  .dh-search { flex-wrap: wrap; padding: 6px; }
  .dh-search .seg { width: 100%; } .dh-search .seg button { flex: 1; justify-content: center; }
}

/* ======================= l'accueil ======================= */
.feat { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: center; }
.feat-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: var(--n-bg-3); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-t { display: grid; gap: 14px; justify-items: start; }
.feat-t .n-k, .feat-t .n-h2 { margin: 0; }
.feat-k { margin: 0; color: var(--n-fg-3); font-size: 14px; }
.feat-p { margin: 0; font-stretch: 116%; font-weight: 500; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; }
.feat-f { margin: 0 0 10px; color: var(--n-fg-2); }
.hm-sell-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.hm-sell-fig { aspect-ratio: 4 / 5; }
.hm-sell-t { display: grid; gap: 22px; justify-items: start; }
.hm-sell-t .n-k, .hm-sell-t .n-h2 { margin: 0; }
.hm-steps { list-style: none; margin: 8px 0; padding: 0; width: 100%; border-top: 1px solid var(--n-line); }
.hm-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--n-line); font-stretch: 110%; font-weight: 500; font-size: clamp(17px, 1.3vw, 20px); }
.hm-steps li span { font-size: 13px; font-weight: 560; color: var(--n-fg-3); padding-top: .25em; }
.hm-ev-h { margin: clamp(50px, 5vw, 80px) 0 28px; }
.cm-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.cm { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 20px 22px; border-radius: 4px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); transition: background .2s; }
.cm:hover { background: var(--n-bg-3); }
.cm b { font-stretch: 114%; font-weight: 520; font-size: 20px; }
.cm span { grid-row: 2; font-size: 13.5px; color: var(--n-fg-3); }
.cm .ic { grid-row: 1 / 3; grid-column: 2; }
.cm-g--big .cm { padding: 28px 26px; } .cm-g--big .cm b { font-size: clamp(26px, 2.4vw, 38px); }
.ev-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-bottom: 26px; }
.ev { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 4px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); }
.ev-d { margin: 0; font-size: 13px; font-weight: 600; color: var(--blue-2); }
.t-light .ev-d { color: var(--blue); }
.ev-t { font-stretch: 112%; font-weight: 520; font-size: 20px; line-height: 1.2; }
.ev-p, .ev-x { margin: 0; font-size: 14px; color: var(--n-fg-2); }
.ev-s { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--n-fg-3); text-decoration: underline; text-underline-offset: .2em; }
.ev-s .ic { width: 13px; height: 13px; }
.ev-g--list { grid-template-columns: 1fr; } .ev-g--list .ev { grid-template-columns: 220px 1fr; column-gap: 30px; } .ev-g--list .ev > :not(.ev-d) { grid-column: 2; } .ev-g--list .ev-d { grid-row: 1 / span 4; font-size: 15px; }
.sold-mos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 290px); gap: clamp(8px, 1vw, 16px); }
.sold-m { position: relative; overflow: hidden; border-radius: 3px; background: var(--n-bg-3); }
.sold-m0 { grid-column: span 2; grid-row: span 2; }
.sold-m5, .sold-m6 { grid-column: span 2; }
.sold-img, .sold-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sold-img img { filter: grayscale(.5) brightness(.85); }
.sold-m figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 13.5px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.sold-m figcaption b { display: inline-block; font-weight: 600; padding: 4px 8px; margin-right: 6px; border-radius: 3px; background: rgba(10,10,11,.6); text-shadow: none; }
.hm-avis-top, .hm-avis-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hm-avis-nav { display: flex; gap: 10px; }
.q-stage { display: grid; min-height: clamp(260px, 28vw, 420px); align-items: center; padding: clamp(30px, 4vw, 60px) 0; }
.q { grid-area: 1 / 1; margin: 0; max-width: 1180px; }
.q-t { margin: 0 0 30px; font-family: var(--read); font-style: italic; font-weight: 380; font-size: clamp(26px, 3.1vw, 50px); line-height: 1.2; text-wrap: pretty; }
.q-t.long { font-size: clamp(21px, 2.1vw, 34px); line-height: 1.32; }
.q figcaption, .av figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 14px; color: var(--n-fg-3); }
.q figcaption b, .av figcaption b { color: var(--n-fg); font-weight: 560; font-size: 15px; }
.q-stars { color: var(--n-fg); letter-spacing: 2px; font-size: 13px; }
.q-dots { display: flex; gap: 4px; }
.q-dots button { width: 34px; height: 30px; display: grid; place-items: center; }
.q-dots i { width: 100%; height: 2px; background: var(--n-line); }
.q-dots [aria-selected="true"] i { background: var(--n-fg); }
.jc a { display: grid; gap: 12px; }
.jc-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--n-bg-3); }
.jc-img img { width: 100%; height: 100%; object-fit: cover; }
.jc-k { margin: 6px 0 0; font-size: 13px; font-weight: 560; color: var(--n-fg-3); }
.jc-t { font-stretch: 112%; font-weight: 500; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.2; text-wrap: balance; }
.jc a:hover .jc-t { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.kit-g { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.kit .n-k { margin: 0 0 14px; }
.qr-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: 4px; background: var(--card, #ffffff); box-shadow: 0 0 0 1px var(--n-line); }
.n-ivory .qr-card { background: #ffffff; }
.qr-img { width: 140px; height: 140px; border-radius: 3px; background: #fff; padding: 4px; }
.qr-t { margin: 0 0 14px; font-weight: 520; }
.cband .n-h2 { margin-bottom: clamp(36px, 4vw, 64px); }
.cband-g, .fx-next-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.cb { position: relative; display: grid; gap: 10px; align-content: start; min-height: 240px; padding: clamp(24px, 2.4vw, 36px); border-radius: 4px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); transition: background .2s; }
.cb:hover { background: var(--n-bg-3); }
.cb-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--n-line); margin-bottom: auto; }
.cb b { font-stretch: 114%; font-weight: 500; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; margin-top: 44px; }
.cb > span:not(.cb-ic) { color: var(--n-fg-2); max-width: 24em; }
.cb-go { position: absolute; right: clamp(24px, 2.4vw, 36px); top: clamp(24px, 2.4vw, 36px); }
.cb--blue { background: var(--blue); box-shadow: none; color: #fff; }
.cb--blue:hover { background: #1d5cff; }
.cb--blue > span:not(.cb-ic) { color: rgba(255,255,255,.84); }
.cb--blue .cb-ic { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.fx-next .n-h3 { margin-bottom: 30px; }
/* Prestige : un univers à part (vert profond, laiton, Bodoni), qui s'active dès qu'un bien entre en Prestige */
.pz-band { background: var(--pz-bg); color: var(--pz-fg); --n-fg: var(--pz-fg); --n-fg-2: var(--pz-fg-2); --n-fg-3: rgba(28,27,24,.5); --n-line: rgba(28,27,24,.14); --n-line-2: rgba(28,27,24,.08); --wash: rgba(28,27,24,.05); color-scheme: light; border-top: 1px solid var(--pz-brass); }
.t-light .pz-band { background: #ececee; }
.pz-k { margin: 0 0 12px; font-family: var(--didone); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--pz-brass); }
.pz-h { font-family: var(--didone); font-weight: 400; font-size: clamp(40px, 5vw, 86px); line-height: 1.02; letter-spacing: -.01em; }
.pz-h em { font-style: italic; font-family: var(--didone); }
.pz-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(14px, 2vw, 30px); }
.pz-c { display: grid; gap: 8px; }
.pz-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; }
.pz-img img { width: 100%; height: 100%; object-fit: cover; }
.pz-n { font-family: var(--didone); font-size: clamp(24px, 2.2vw, 34px); margin-top: 8px; }
.pz-m { font-size: 14px; color: var(--pz-fg-2); }
.pz-hero { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; color: #f4efe2; background: var(--pz-bg); }
.pz-hero-img { position: absolute; inset: 0; } .pz-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pz-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.45), rgba(20,18,15,.05) 35%, rgba(20,18,15,.82)); }
.pz-hero-in { position: relative; z-index: 2; padding: calc(var(--hd) + 40px) var(--gut) clamp(50px, 7vh, 90px); display: grid; gap: 18px; max-width: 1000px; }
.pz-hero .n-crumbs { color: rgba(244,239,226,.7); }
.pz-l { max-width: 36em; color: rgba(244,239,226,.82); font-size: clamp(16px, 1.25vw, 19px); }
.pz-list { background: var(--pz-bg); color: var(--pz-fg); --n-fg: var(--pz-fg); --n-fg-2: var(--pz-fg-2); --n-fg-3: rgba(28,27,24,.5); --n-line: rgba(28,27,24,.14); --wash: rgba(28,27,24,.05); color-scheme: light; }
.pz-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; padding: clamp(30px, 4vw, 60px) 0; border-bottom: 1px solid rgba(28,27,24,.12); }
.pz-row--r .pz-row-img { order: 2; }
.pz-row-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; } .pz-row-img img { width: 100%; height: 100%; object-fit: cover; }
.pz-row-t { display: grid; gap: 14px; justify-items: start; }
.pz-h2 { font-family: var(--didone); font-weight: 400; font-size: clamp(32px, 3.2vw, 54px); line-height: 1.04; }
.pz-p { font-family: var(--didone); font-size: clamp(26px, 2.2vw, 36px); margin: 0; color: var(--pz-ink); }
.pz-band .n-btn, .pz-list .n-btn:not(.n-btn--line), .is-prestige .fx-card:first-child .n-btn:not(.n-btn--line) { background: var(--pz-ink); color: #ffffff; }
.pz-band .n-btn:hover, .pz-list .n-btn:not(.n-btn--line):hover, .is-prestige .fx-card:first-child .n-btn:not(.n-btn--line):hover { background: var(--pz-brass); color: var(--pz-ink); }
.pz-band .n-btn--line, .pz-list .n-btn--line { box-shadow: inset 0 0 0 1px rgba(28,27,24,.3); color: var(--pz-fg); background: transparent; }
.pz-band .n-link, .pz-list .n-link { color: var(--pz-ink); }
@media (max-width: 899px) {
  .feat, .hm-sell-g, .kit-g { grid-template-columns: 1fr; }
  .hm-sell-fig { aspect-ratio: 4 / 3; }
  .sold-mos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .sold-m5, .sold-m6 { grid-column: span 1; }
  .sold-m figcaption { left: 10px; right: 10px; bottom: 10px; font-size: 12.5px; line-height: 1.3; } .sold-m:not(.sold-m0) .sold-ty { display: none; } .sold-m figcaption b { display: table; margin: 0 0 4px; }
  .q-stage { min-height: 360px; }
  .hm-avis-foot { flex-direction: column; align-items: flex-start; }
  .cb { min-height: 0; } .cb b { margin-top: 24px; }
  .qr-card { grid-template-columns: 1fr; } .qr-img { width: 160px; height: 160px; }
  .pz-row { grid-template-columns: 1fr; } .pz-row--r .pz-row-img { order: 0; }
  .ev-g--list .ev { grid-template-columns: 1fr; } .ev-g--list .ev > * { grid-column: 1 !important; } .ev-g--list .ev-d { grid-row: auto; }
}

/* ======================= biens à vendre ======================= */
.flt { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: clamp(34px, 4vw, 60px); }
.flt-s select, .flt-q input { height: 44px; border: 0; border-radius: 4px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--n-line); color: var(--n-fg); padding: 0 14px; font-size: 14.5px; outline: none; }
.flt-s select option { background: var(--n-bg-2); color: var(--n-fg); }
.flt-q { position: relative; margin-left: auto; }
.flt-q .ic { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--n-fg-3); }
.flt-q input { padding-left: 38px; width: 220px; }
.list-g .card[hidden] { display: none; }
.list-empty { display: grid; gap: 16px; justify-items: start; padding: 40px 0; }
.list-more-g { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 899px) { .flt-q { margin-left: 0; width: 100%; } .flt-q input { width: 100%; } .flt-s { flex: 1; } .flt-s select { width: 100%; } .flt .seg { width: 100%; } .flt .seg button { flex: 1; justify-content: center; } }

/* ======================= fiche d'un bien ======================= */
.fx-top { padding: calc(var(--hd) + 26px) var(--gut) 18px; }
.fx-gal { padding: 0 var(--gut); }
.fx-body { padding-top: clamp(24px, 3vw, 40px); }
.fx-mos { position: relative; display: grid; gap: 8px; height: clamp(340px, 66vh, 720px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; border-radius: 6px; overflow: hidden; }
.fx-m { position: relative; overflow: hidden; background: var(--n-bg-3); }
.fx-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-m0 { grid-row: 1 / 3; }
.fx-m0::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, rgba(10,10,11,0) 25%, rgba(10,10,11,0) 55%, rgba(10,10,11,.75) 100%); pointer-events: none; }
.fx-mos--4 .fx-m3 { grid-column: 2 / 4; }
.fx-mos--3 { grid-template-columns: 2fr 1fr; }
.fx-mos--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; } .fx-mos--2 .fx-m0 { grid-row: auto; }
.fx-mos--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; } .fx-mos--1 .fx-m0 { grid-row: auto; }
.fx-badges { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; z-index: 2; }
.fx-badges .card-flag { position: static; background: var(--blue); color: #fff; border-radius: 3px; font-weight: 560; }
.fx-tools { position: absolute; right: 16px; top: 16px; display: flex; gap: 8px; z-index: 2; }
.fx-tool { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 3px; background: rgba(244,241,234,.92); color: #111214; font-size: 13.5px; font-weight: 560; }
.fx-tool .ic { width: 16px; height: 16px; }
.fx-cap { position: absolute; left: 26px; bottom: 24px; z-index: 2; color: #fff; max-width: 52%; pointer-events: none; }
.fx-cap p { margin: 0 0 6px; font-size: 14px; color: rgba(255,255,255,.85); }
.fx-h1 { font-stretch: 116%; font-weight: 520; font-size: clamp(32px, 3.6vw, 60px); line-height: 1.02; text-wrap: balance; }
.fx-all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 3px; background: rgba(244,241,234,.92); color: #111214; font-size: 13.5px; font-weight: 560; z-index: 2; }
.fx-all .ic { width: 16px; height: 16px; }
.fx-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(30px, 5vw, 80px); align-items: start; }
.fx-main { display: grid; gap: clamp(18px, 2vw, 28px); min-width: 0; }
.fx-sec { padding: clamp(22px, 2.4vw, 36px); border-radius: 6px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); display: grid; gap: 18px; min-width: 0; }
.fx-n { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--n-fg-3); }
.fx-n b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wash-2); color: var(--n-fg); font-size: 11.5px; letter-spacing: 0; }
.fx-h2 { font-stretch: 114%; font-weight: 520; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.15; }
.fx-facts, .near { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.fx-facts li, .near li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 4px; background: var(--wash); }
.near-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--wash-2); color: var(--n-fg); }
.near-ic .ic { width: 18px; height: 18px; }
.fx-facts b, .near b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.fx-facts small, .near small { display: block; font-size: 12.5px; color: var(--n-fg-3); line-height: 1.35; }
.near { grid-template-columns: 1fr; }
.near--cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.near em { font-style: normal; font-weight: 600; font-size: 14px; white-space: nowrap; }
.near-co { font-stretch: 112%; font-size: 20px; margin: 0 0 6px; }
.near-src { margin: 14px 0 0; font-size: 12.5px; color: var(--n-fg-3); }
.tabs { display: grid; gap: 16px; }
.tabs .seg { justify-self: start; }
.fx-sc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-box { padding: 16px; border-radius: 4px; background: var(--wash); }
.sc-box > p { margin: 10px 0 0; font-size: 13.5px; color: var(--n-fg-2); }
.sc p { margin: 0 0 10px; font-size: 13.5px; font-weight: 560; }
.sc ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.sc li { flex: 1; height: 32px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: rgba(0,0,0,.6); border-radius: 3px; opacity: .35; }
.sc li.on { height: 42px; opacity: 1; font-size: 17px; color: #000; box-shadow: 0 0 0 2px var(--n-fg); }
.sc--dpe li:nth-child(1) { background: #00935b; } .sc--dpe li:nth-child(2) { background: #4fb848; } .sc--dpe li:nth-child(3) { background: #b5d334; } .sc--dpe li:nth-child(4) { background: #fded28; } .sc--dpe li:nth-child(5) { background: #fbbb1f; } .sc--dpe li:nth-child(6) { background: #f1771f; } .sc--dpe li:nth-child(7) { background: #e4252a; }
.sc--ges li { background: #c8b6e4; } .sc--ges li:nth-child(n+3) { background: #a98ad3; } .sc--ges li:nth-child(n+5) { background: #8562bd; } .sc--ges li:nth-child(n+6) { background: #6a3fa6; color: #fff; } .sc--ges li:nth-child(7) { background: #4b1b85; color: #fff; }
.fx-read p { margin: 0 0 .65em; }
.fx-legal { margin: 0; color: var(--n-fg-3); font-size: 13.5px; }
.fx-legal a, .lg a, .fx-mo a, .fx-ref a { text-decoration: underline; text-underline-offset: .2em; }
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; align-items: end; }
.calc label { display: grid; gap: 8px; font-size: 13.5px; color: var(--n-fg-3); font-weight: 540; }
.calc output { color: var(--n-fg); font-weight: 600; }
.calc input[type=range] { accent-color: var(--blue); width: 100%; }
.calc select, .calc-r input { height: 44px; border-radius: 4px; border: 0; background: var(--wash); box-shadow: inset 0 0 0 1px var(--n-line); color: var(--n-fg); padding: 0 12px; font-size: 15px; width: 100%; }
.calc select option { background: var(--n-bg-2); }
.calc-r { position: relative; } .calc-r i { position: absolute; right: 12px; top: 12px; font-style: normal; color: var(--n-fg-3); }
.calc-out { grid-column: 1 / -1; padding: 18px 20px; border-radius: 4px; background: var(--wash); }
.calc-n { margin: 0; font-size: 15px; color: var(--n-fg-2); } .calc-n b { font-stretch: 116%; font-weight: 520; font-size: clamp(30px, 2.8vw, 44px); color: var(--n-fg); margin-right: 6px; }
.calc-h { margin: 6px 0 0; font-size: 13px; color: var(--n-fg-3); }
.fx-side { position: sticky; top: calc(var(--hd) + 20px); display: grid; gap: 14px; }
.fx-card { display: grid; gap: 14px; padding: clamp(20px, 2vw, 28px); border-radius: 6px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); }
.fx-st { justify-self: start; margin: 0; padding: 5px 10px; border-radius: 3px; background: rgba(46,160,90,.16); color: #4fc07a; font-size: 12.5px; font-weight: 600; }
.t-light .fx-st { color: #1f7a45; }
.fx-p { margin: 0; font-stretch: 116%; font-weight: 520; font-size: clamp(32px, 2.8vw, 46px); line-height: 1; }
.fx-mo { margin: 0; font-size: 14px; color: var(--n-fg-2); }
.fx-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fx-mini li { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 4px; background: var(--wash); text-align: center; }
.fx-mini b { font-weight: 600; font-size: 17px; } .fx-mini span { font-size: 12px; color: var(--n-fg-3); }
.fx-b { width: 100%; justify-content: center; }
.fx-ref { margin: 0; font-size: 12.5px; color: var(--n-fg-3); }
.fx-who, .ct-who, .art-who { display: flex; align-items: center; gap: 14px; }
.fx-who div, .ct-who p, .art-who p { display: grid; gap: 2px; margin: 0; }
.fx-who b, .ct-who b, .art-who b { font-weight: 560; }
.fx-who span, .ct-who span, .art-who span { font-size: 13.5px; color: var(--n-fg-3); }
.fx-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.fx-ag-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-ag-a .n-btn { height: 46px; padding: 0 10px; font-size: 14px; gap: 8px; }
.fx-leg { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--n-fg-3); }
.is-prestige .fx-h1, .is-prestige .fx-h2, .is-prestige .fx-p { font-family: var(--didone); font-stretch: 100%; font-weight: 400; }
.is-prestige .fx-badges .card-flag--p { background: #ffffff !important; }
.is-prestige .fx-card:first-child { background: var(--pz-bg); color: var(--pz-fg); --n-fg: var(--pz-fg); --n-fg-2: var(--pz-fg-2); --n-fg-3: rgba(28,27,24,.5); --n-line: rgba(28,27,24,.14); --wash: rgba(28,27,24,.05); box-shadow: inset 0 3px 0 var(--pz-brass); color-scheme: light; }
.is-prestige .fx-card:first-child .fx-st { background: rgba(168,139,92,.16); color: #7a6136; }
.is-prestige .fx-card:first-child .fx-p { color: var(--pz-ink); }
.is-prestige .fx-card:first-child .n-btn--line { box-shadow: inset 0 0 0 1px rgba(28,27,24,.3); color: var(--pz-fg); }
.is-prestige .fx-card:first-child a { color: inherit; }
/* visionneuse */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(5,5,6,.97); display: grid; place-items: center; color: #f4f1ea; }
.lb-stage { width: min(92vw, 1600px); height: 82vh; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 2px; }
.lb .n-round { color: #f4f1ea; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); background: rgba(10,10,11,.6); }
.lb-x { position: absolute; top: 18px; right: 18px; }
.lb-p, .lb-n { position: absolute; top: 50%; translate: 0 -50%; }
.lb-p { left: 18px; } .lb-n { right: 18px; }
.lb-c { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 13px; color: rgba(244,241,234,.6); margin: 0; }
/* partage */
.sh { position: fixed; inset: 0; z-index: 130; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.sh-box { width: min(100%, 460px); padding: 24px; border-radius: 6px; background: var(--card); color: var(--n-fg); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px var(--n-line); }
.sh-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sh-t { margin: 0; font-stretch: 114%; font-weight: 500; font-size: 22px; }
.sh-top .n-round { width: 44px; height: 44px; }
.sh-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-g > * { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 4px; background: var(--wash); font-size: 14.5px; font-weight: 540; text-align: left; }
.sh-g > *:hover { background: var(--wash-2); }
@media (max-width: 899px) {
  .fx-mos { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 78vw; grid-auto-rows: 30vw; border-radius: 4px; }
  .fx-mos .fx-m0 { grid-column: 1 / -1; grid-row: 1; }
  .fx-mos .fx-m3, .fx-mos .fx-m4 { display: none; }
  .fx-mos--2 .fx-m1 { grid-column: 1 / -1; }
  .fx-cap { left: 16px; bottom: auto; top: calc(78vw - 16px); transform: translateY(-100%); max-width: 84%; }
  .fx-h1 { font-size: 30px; }
  .fx-tools .fx-tool span { display: none; }
  .fx-g { grid-template-columns: 1fr; }
  .fx-side { position: static; order: -1; }
  .fx-sc, .calc { grid-template-columns: 1fr; }
  .lb-p, .lb-n { top: auto; bottom: 14px; translate: none; }
}

/* ======================= prise de rendez-vous ======================= */
.bk { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.fx-sec .bk { grid-template-columns: 1fr; }
.bk-pick { display: grid; gap: 18px; min-width: 0; }
.bk-ex { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--n-fg-2); padding: 12px 14px; border-radius: 4px; background: var(--wash); }
.bk-ex .ic { width: 18px; height: 18px; margin-top: 1px; }
.bk-ex b { font-weight: 600; color: var(--n-fg); }
.bk-cal { padding: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--n-line); }
.bk-cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bk-cal-h p { margin: 0; font-weight: 600; font-size: 16px; }
.bk-cal-h .n-round { width: 38px; height: 38px; }
.bk-cal-h .n-round[disabled] { opacity: .3; pointer-events: none; }
.bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-days .wd { font-size: 12px; color: var(--n-fg-3); padding: 4px 0; }
.bk-days button { height: 42px; border-radius: 4px; font-size: 14.5px; font-weight: 540; }
.bk-days button[disabled] { color: var(--n-fg-3); opacity: .45; cursor: default; }
.bk-days button.ok { background: var(--wash); }
.bk-days button.ok:hover { background: var(--wash-2); }
.bk-days button[aria-pressed="true"] { background: var(--n-fg); color: var(--n-bg); }
.bk-d { margin: 0 0 10px; font-weight: 600; }
.bk-d::first-letter { text-transform: uppercase; }
.bk-sl { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bk-sl button { height: 46px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--n-line); font-weight: 560; text-align: center; }
.bk-sl button:hover { box-shadow: inset 0 0 0 1px var(--n-fg-2); }
.bk-sl button[aria-pressed="true"] { background: var(--blue); box-shadow: none; color: #fff; }
.bk-dur { margin: 10px 0 0; font-size: 13px; color: var(--n-fg-3); }
.bk-right { position: sticky; top: calc(var(--hd) + 24px); }
.fx-sec .bk-right { position: static; }
.bk-form, .bk-done { padding: clamp(20px, 2.2vw, 30px); border-radius: 4px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); display: grid; gap: 14px; }
.fx-sec .bk-form, .fx-sec .bk-done { background: var(--wash); box-shadow: none; }
.bk-form .fm-g { grid-template-columns: 1fr; gap: 4px; }
.bk-form .fm-t, .bk-done .fm-t { font-size: 19px; font-weight: 560; font-stretch: 112%; }
.bk-done p { margin: 0; }
@media (max-width: 899px) { .bk { grid-template-columns: 1fr; } .bk-right { position: static; } }

/* ======================= pages intérieures ======================= */
.sold-g .card-img { aspect-ratio: 4 / 3; }
.sold-cta-g, .etude-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.etude-g > div:first-child { display: grid; gap: 20px; align-content: start; }
.etude-g .n-k { margin: 0; }
.n-ivory .fm { padding: clamp(24px, 3vw, 44px); background: #ffffff; border-radius: 4px; box-shadow: 0 0 0 1px rgba(17,18,20,.08); }
.n-ivory .seg { background: rgba(17,18,20,.06); }
.n-ivory .seg button { color: var(--n-ink-2); }
.n-ivory .seg [aria-pressed="true"] { background: var(--n-ink); color: var(--n-ivory); }
.rows-steps > li { grid-template-columns: 70px minmax(0, 1fr); }
.av-g { columns: 2; column-gap: clamp(30px, 5vw, 90px); }
.av { break-inside: avoid; margin: 0 0 clamp(40px, 5vw, 80px); padding-top: 26px; border-top: 1px solid var(--n-line); display: grid; gap: 16px; }
.av blockquote { margin: 0; font-family: var(--read); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.45; color: var(--n-fg); }
.av--big blockquote { font-style: italic; font-size: clamp(22px, 2vw, 32px); line-height: 1.32; }
.av figcaption a { display: inline-flex; gap: 4px; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.av figcaption a .ic { width: 14px; height: 14px; }
.stars-in { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars-in legend { font-size: 13px; color: var(--n-fg-3); margin-bottom: 6px; float: left; width: 100%; }
.stars-in input { position: absolute; opacity: 0; }
.stars-in label { font-size: 30px; line-height: 1; color: var(--n-line); cursor: pointer; }
.stars-in input:checked ~ label, .stars-in label:hover, .stars-in label:hover ~ label { color: var(--n-fg); }
.stars-in input:focus-visible + label { outline: 2px solid var(--blue); }
.j-feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: center; margin-bottom: clamp(60px, 7vw, 110px); }
.j-feat-img { aspect-ratio: 4 / 3; }
.j-feat-t { display: grid; gap: 18px; justify-items: start; }
.j-more-h { margin-bottom: 40px; }
.art-g { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(40px, 7vw, 130px); justify-content: center; }
.art-side { position: sticky; top: calc(var(--hd) + 30px); align-self: start; display: grid; gap: 22px; justify-items: start; }
.art-who { align-items: flex-start; flex-direction: column; }
.art-read h2:first-child { margin-top: 0; }
.art-tip { padding: 18px 20px; border-radius: 3px; background: var(--n-bg-2); font-family: var(--sans); font-size: 15.5px; line-height: 1.55; }
.art-tip b { display: block; font-size: 13px; color: var(--n-fg-3); margin-bottom: 4px; font-weight: 560; }
.art-ex { margin-top: 2.4em; padding: 4px 0 0 26px; border-left: 1px solid var(--n-fg); }
.art-ck ul { list-style: none; padding: 0; }
.art-ck li { margin: 0; border-bottom: 1px solid var(--n-line); }
.art-ck label { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; cursor: pointer; font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.art-ck input { width: 20px; height: 20px; accent-color: var(--blue); margin-top: 3px; }
.art-ck b { font-weight: 560; color: var(--n-fg); }
.art-src { font-family: var(--sans); font-size: 14.5px; }
.t-light .n-read { color: rgba(17,18,20,.86); }
/* secteur et communes */
.cm-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cm-toc a { padding: 8px 12px; border-radius: 3px; background: var(--wash); font-size: 14px; font-weight: 540; }
.cm-toc a:hover { background: var(--wash-2); }
.cm-h { margin-bottom: 26px; }
.n-sec-h .cm-h { margin-bottom: 0; }
.cm-sub { margin: 26px 0 12px; font-size: 14px; font-weight: 600; color: var(--n-fg-3); }
.cm-sold { margin-top: 24px; }
.zone-l { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--n-line); }
.zone-l li.zone-sold { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--n-line); color: var(--n-fg-2); }
.zone-sold b { font-weight: 500; font-size: 13.5px; }
.cat-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.cat { padding: 20px; border-radius: 4px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); }
.cat h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.cat h3 .ic { width: 18px; height: 18px; color: var(--n-fg-3); }
.cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cat li { font-size: 14.5px; line-height: 1.35; }
.cat li a { text-decoration: underline; text-underline-offset: .2em; }
.cat small { display: block; font-size: 12.5px; color: var(--n-fg-3); }
.pt-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.pt { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 4px; background: #ffffff; box-shadow: 0 0 0 1px rgba(17,18,20,.08); }
.pt-ex { position: absolute; top: 16px; right: 16px; font-size: 11.5px; font-weight: 600; padding: 4px 8px; border-radius: 3px; background: var(--wash-2); color: var(--n-fg-2); }
.n-ivory .pt-ex { background: rgba(17,18,20,.07); color: var(--n-ink-2); }
.pt-logo { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--n-fg); color: var(--n-bg); font-stretch: 116%; font-weight: 560; font-size: 20px; margin-bottom: 10px; }
.n-ivory .pt-logo { background: var(--n-ink); color: var(--n-ivory); }
.pt h3 { font-stretch: 112%; font-weight: 520; font-size: 20px; line-height: 1.2; }
.pt h3 i { font-style: normal; font-weight: 400; color: var(--n-fg-3); font-size: 15px; }
.pt-m { margin: 0; font-size: 14px; color: var(--n-fg-3); }
.pt-w { margin: 8px 0 0; font-family: var(--read); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--n-fg-2); }
/* à propos, contact, carte, lettre */
.ab-in { gap: 0; }
.ab-g { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: end; margin-top: clamp(30px, 4vw, 60px); }
.ab-ph { display: grid; gap: 12px; font-size: 13px; color: var(--n-fg-3); }
.ab-ph img { width: clamp(150px, 15vw, 240px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--n-line); }
.ab-lead { max-width: 40em; margin: 26px 0; }
.ab-s { display: grid; gap: 16px; justify-items: start; align-content: start; }
.ab-s .n-k, .cadre-i .n-k { margin: 0; }
.cadre-i { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--n-line); }
.cadre-i p:last-child { color: var(--n-fg-2); margin: 0; }
.ab-net-g { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.ab-net-l .ab-logo { width: clamp(120px, 12vw, 180px); color: var(--n-fg); }
.ab-net-g > div { display: grid; gap: 18px; justify-items: start; }
.ct-g { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ct-side { display: grid; gap: 26px; padding-top: 10px; }
.ct-l { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--n-line); }
.ct-l a { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--n-line); font-weight: 520; word-break: break-word; }
.carte-g { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.carte-qr { display: grid; gap: 16px; max-width: 340px; }
.carte-qr img { width: 320px; height: 320px; padding: 14px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--n-line); }
.carte-qr p, .carte-h { margin: 0; font-size: 14px; color: var(--n-fg-3); }
.carte-t { display: grid; gap: 22px; justify-items: start; }
.lettre-g { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.lettre-g .lt { margin-top: 0; }
.lettre-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lettre-l li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 18px; border-radius: 4px; background: var(--n-bg-2); }
.lettre-l b { display: block; font-weight: 600; margin-bottom: 2px; }
.lettre-l span { color: var(--n-fg-2); font-size: 14.5px; }
.lg h2 { font-size: clamp(22px, 1.8vw, 28px); }
@media (max-width: 899px) {
  .sold-cta-g, .etude-g, .ct-g, .j-feat, .ab-net-g, .carte-g, .lettre-g { grid-template-columns: 1fr; }
  .carte-qr { order: 2; } .carte-qr img { width: 240px; height: 240px; }
  .av-g { columns: 1; }
  .art-g { grid-template-columns: 1fr; }
  .art-side { position: static; }
  .ab-g { grid-template-columns: 1fr; align-items: start; }
}
/* sur téléphone : le bouton « Ajouter à mes contacts » avant le QR ; sur ordinateur, le QR d'abord */
@media (hover: none) and (pointer: coarse) { .qr-card .qr-img { display: none; } .qr-card { grid-template-columns: 1fr; } }

/* ======================= l'ouverture de l'accueil : le nom du conseiller, puis son univers (v6) ======================= */
.hm-hero { min-height: 100vh; min-height: 100svh; }
.hm-in { max-width: min(62vw, 980px); }
.hm-h1 { font-size: clamp(46px, min(7.4vw, 12.5vh), 132px); }
.hm-search { margin-top: 6px; }
.nm { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: var(--n-bg, #ffffff); color: var(--n-fg); pointer-events: none; }
.t-light .nm { --n-bg: #ffffff; --n-fg: #111214; --n-fg-3: rgba(17,18,20,.54); background: #ffffff; color: #111214; }
.nm-in { display: grid; justify-items: center; gap: clamp(16px, 2.6vh, 28px); text-align: center; padding: 0 var(--gut); }
.nm-name { margin: 0; display: grid; font-size: clamp(56px, min(11vw, 17vh), 210px); line-height: .96; }
.nm-l { display: block; }
.nm-sub { margin: 0; font-size: clamp(14px, 1.2vw, 17px); color: var(--n-fg-3); letter-spacing: .01em; }
.nm-logo { margin: 0; } .nm-lg { width: clamp(84px, 7vw, 110px); color: var(--n-fg); }
/* avant le script : le nom est là, la page attend ; filet de sécurité si le script ne part pas */
.no-js .nm, .reduce .nm { display: none; }
.js:not(.reduce):not(.intro-run) body.p-home [data-hd], .js:not(.reduce):not(.intro-run) body.p-home .chat, .js:not(.reduce):not(.intro-run) .hm-in > *, .js:not(.reduce):not(.intro-run) .hm-foot, .js:not(.reduce):not(.intro-run) .nm-in > * { opacity: 0; animation: mo-safe .01s 5s forwards; }
.js:not(.reduce):not(.intro-run) .nm { animation: door-safe .5s 5s forwards; }
@keyframes mo-safe { to { opacity: 1; } }
@keyframes door-safe { to { opacity: 0; visibility: hidden; } }
@media (max-width: 899px) { .hm-in { max-width: none; } .hm-h1 { font-size: clamp(42px, 12.4vw, 72px); } .nm-name { font-size: clamp(48px, 15vw, 96px); } }

/* le rideau Prestige (ivoire, laiton) */
html.pzi-wait::after { content: ""; position: fixed; inset: 0; z-index: 300; background: #f6f6f7; animation: door-safe .01s 3.6s forwards; }
.pzi { position: fixed; inset: 0; z-index: 310; pointer-events: auto; }
.pzi-a, .pzi-b { position: absolute; left: 0; right: 0; height: 50.5%; background: #f6f6f7; }
.pzi-a { top: 0; } .pzi-b { bottom: 0; }
.pzi-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #1c1b18; text-align: center; }
.pzi-k { margin: 0; font: 560 12.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: #a88b5c; }
.pzi-t { margin: 0; font-family: var(--didone); font-weight: 400; font-size: clamp(64px, 11vw, 190px); line-height: .95; letter-spacing: .02em; }
.pzi-l { display: block; width: min(320px, 50vw); height: 1px; background: #a88b5c; transform-origin: 50% 50%; }
.pzi-s { margin: 0; font-family: var(--didone); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); color: rgba(28,27,24,.7); }
/* survols : un léger zoom des photos, comme sur mydomini.fr */
.card-img img, .jc-img img, .pz-img img, .pz-row-img img, .feat-img img { transition: scale 1.2s var(--ease); }
.card-a:hover .card-img img, .jc a:hover .jc-img img, .pz-c:hover .pz-img img, .pz-row-img:hover img, .feat-img:hover img { scale: 1.045; }
/* téléphones peu hauts : la porte un peu plus petite et plus haute, le titre ne la touche pas */
@media (max-width: 899px) and (max-height: 740px) { .dh-scene { --floor: 41%; } .dh-opening { width: min(30vw, 12.5vh); } .dh-h1 { font-size: clamp(40px, 11.4vw, 60px); } }

/* ======================= le chat du site (le conseiller répond depuis MyDomini) ======================= */
.chat { position: fixed; z-index: 70; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); }
body:has(.izak-bar) .chat { bottom: calc(66px + env(safe-area-inset-bottom)); }
.chat-b { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 6px; border-radius: 28px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 560; box-shadow: 0 14px 34px -12px rgba(0,30,120,.55); transition: background .2s; }
.chat-b:hover { background: #1d5cff; }
.chat-b img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.chat.on .chat-b { display: none; }
.chat-p { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: var(--card); color: var(--n-fg); box-shadow: 0 30px 80px -24px rgba(0,0,0,.45), 0 0 0 1px var(--n-line); }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--n-line-2); }
.chat-h img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat-h div { flex: 1; display: grid; gap: 1px; line-height: 1.25; } .chat-h b { font-weight: 600; font-size: 15px; } .chat-h span { font-size: 12.5px; color: var(--n-fg-3); }
.chat-x { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 4px; } .chat-x:hover { background: var(--wash); }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-m { margin: 0; max-width: 86%; padding: 10px 13px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; background: var(--wash); align-self: flex-start; }
.chat-m small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--n-fg-3); }
.chat-m--v { align-self: flex-end; background: var(--blue); color: #fff; } .chat-m--v small { color: rgba(255,255,255,.75); }
.chat-m--s { align-self: center; max-width: 100%; background: none; text-align: center; font-size: 12.5px; color: var(--n-fg-3); padding: 4px 6px; }
.chat-who { display: grid; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--n-line-2); }
.chat-who p { margin: 0; font-size: 13px; color: var(--n-fg-2); }
.chat-who-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-who small { font-size: 12px; color: var(--n-fg-3); }
.chat-who input, .chat-f textarea { width: 100%; border: 0; border-radius: 6px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--n-line); color: var(--n-fg); padding: 11px 12px; font-size: 15px; outline: none; }
.chat-who .n-btn { height: 46px; justify-content: center; }
.chat-ctx { margin: 0; padding: 8px 16px 0; font-size: 12.5px; color: var(--n-fg-3); }
.chat-f { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--n-line-2); }
.chat-f textarea { resize: none; max-height: 120px; }
.chat-f button { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
@media (max-width: 599px) { .chat-b span { display: none; } .chat-b { padding: 0 6px; height: 52px; width: 52px; justify-content: center; } .chat-p { position: fixed; inset: auto 0 0 0; width: auto; height: min(88vh, 620px); border-radius: 10px 10px 0 0; } }

/* ======================= avis vidéo ou écrit (à la manière de SocialJuice) ======================= */
.rv2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.rv2-t { display: grid; gap: 18px; justify-items: start; } .rv2-t .n-k { margin: 0; }
.rv2-k { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--n-fg-3); }
.rv2-q { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--n-fg-2); }
.rv2-box { display: grid; gap: 16px; padding: clamp(20px, 2.6vw, 34px); border-radius: 6px; background: #ffffff; box-shadow: 0 0 0 1px rgba(17,18,20,.08); }
.cam { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #111113; color: #f4f1ea; }
.cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam video[data-cam] { transform: scaleX(-1); }
.cam-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 20px; }
.cam-ph .ic { width: 34px; height: 34px; opacity: .8; } .cam-ph p { margin: 0; font-size: 14px; color: rgba(244,241,234,.75); max-width: 24em; }
.cam-rec { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 4px; background: rgba(10,10,11,.6); font-size: 13px; font-variant-numeric: tabular-nums; }
.cam-rec i { width: 9px; height: 9px; border-radius: 50%; background: #e4252a; }
.cam-acts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.cam-file { cursor: pointer; } .cam-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.av--vid .av-v { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 6px; background: linear-gradient(160deg, #1b1a18, #0c0c0d); color: #f4f1ea; }
.av--vid .av-v .ic { width: 54px; height: 54px; padding: 15px; border-radius: 50%; background: rgba(244,241,234,.14); }
.av--vid .av-v span { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 3px; background: rgba(244,241,234,.14); }
.hm-avis-foot .n-acts { gap: 6px 26px; }
@media (max-width: 899px) { .rv2 { grid-template-columns: 1fr; } .cam { aspect-ratio: 3 / 4; } }

/* ======================= alertes nouveaux biens ======================= */
.al-g { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.al-s { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.al-s legend { font-size: 13px; font-weight: 600; color: var(--n-fg-3); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 3px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--n-line); font-size: 14px; font-weight: 540; transition: background .2s, color .2s; }
.chip input:checked + span { background: var(--n-fg); color: var(--n-bg); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.al-ex { position: sticky; top: calc(var(--hd) + 24px); display: grid; gap: 12px; } .al-ex .n-k { margin: 0; }
.al-mail { padding: 18px; border-radius: 6px; background: #ffffff; color: #111214; box-shadow: 0 0 0 1px rgba(17,18,20,.1); display: grid; gap: 10px; }
.al-mail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.al-mail-h { margin: 0; font-size: 12.5px; color: rgba(17,18,20,.55); } .al-mail-t { margin: 0; font-weight: 600; font-size: 17px; } .al-mail-p { margin: 0; color: rgba(17,18,20,.7); font-size: 14px; }
.al-mail-b { justify-self: start; height: 42px; font-size: 14px; } .al-mail-f { margin: 0; font-size: 11.5px; color: rgba(17,18,20,.5); }
.flt-al { height: 44px; padding: 0 14px; font-size: 14px; gap: 8px; } .flt-al .ic { width: 17px; height: 17px; }
.kit-al { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--n-fg-2); }
@media (max-width: 899px) { .al-g { grid-template-columns: 1fr; } .al-ex { position: static; } .flt-al { width: 100%; justify-content: center; } }

/* méga menu en clair : la bande du bas reste claire et lisible (v8) */
.t-light.t-nuit .mm-bar { background: rgba(17,18,20,.045); border-top-color: rgba(17,18,20,.1); color: rgba(17,18,20,.62); }
.t-light.t-nuit .mm-bar a { color: #111214; }

/* l'encoche élargie (survol, méga menu) ne recouvre plus le bouton clair/sombre ni « Voir le numéro » :
   ils s'effacent le temps du menu, et l'encoche se décale vers le bouton de rendez-vous, loin du nom (v8) */
@media (min-width: 1241px) and (max-width: 1599px) {
  .hd-r > .hd-theme, .hd-r > .hd-tel { transition: opacity .2s, visibility .2s, background .2s; }
  .hd:has(.notch:hover, .notch:focus-within, .notch.open) .hd-r > .hd-theme,
  .hd:has(.notch:hover, .notch:focus-within, .notch.open) .hd-r > .hd-tel { opacity: 0; visibility: hidden; }
  .notch { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
  .notch:hover, .notch:focus-within, .notch.open { transform: translateX(calc(-50% + 39px)); }
}
/* entre 1024 et 1240 px, la place manque : l'encoche reste en icônes, le panneau dit le reste */
@media (min-width: 1024px) and (max-width: 1240px) {
  .notch:hover .nt-l, .notch:focus-within .nt-l, .notch.open .nt-l { grid-template-columns: 0fr; margin-left: 0; }
  .notch:hover .nt-l > span, .notch:focus-within .nt-l > span, .notch.open .nt-l > span { opacity: 0; }
}

/* plus de crème (v9) : les sections claires de mydomini.fr (ivoire) deviennent gris clair, dans les deux thèmes ;
   l'en-tête au-dessus d'elles et le méga menu en clair suivent. nuit.css reste tel quel, on le corrige ici. */
html.t-nuit { --n-ivory: #f4f4f5; --n-ivory-2: #e9e9eb; --n-ink: #111214; --n-ink-2: rgba(17,18,20,.68); --n-ink-3: rgba(17,18,20,.48); }
.n-ivory { --white: #ffffff; --line: rgba(17,18,20,.14); --line-2: rgba(17,18,20,.08); --n-line: rgba(17,18,20,.14); --n-line-2: rgba(17,18,20,.08); }
.t-nuit .hd.hd-ivory:not(.mm-on) { --notch: #ececee; background: rgba(255,255,255,.88); border-bottom-color: rgba(17,18,20,.08); }
.t-light.t-nuit .mm { background: #ffffff; }

/* ======================= production (décembre 2026) : envois réels, états vides, avis notés ======================= */
.fm-priv { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; font-size: 13px; color: var(--n-fg-3); }
.fm-priv .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.fm-priv a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fm-done { margin: 0; padding: 22px 24px; border-radius: 4px; background: var(--wash); font-size: 17px; line-height: 1.5; }
button.is-busy { opacity: .6; cursor: progress; }
.av-none { grid-column: 1 / -1; margin: 0; font-size: 18px; color: var(--n-fg-2); }
.av-t { margin: 10px 0 0; font-weight: 600; font-size: 15px; }
.av-video { width: 100%; aspect-ratio: 9 / 16; max-height: 460px; object-fit: cover; border-radius: 4px; background: #000; margin-bottom: 12px; }
.no-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--wash); color: var(--n-fg-3); }
.no-ph .ic { width: 34px; height: 34px; }
.pt-l { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 560; }
.pt-l .ic { width: 15px; height: 15px; }
.pt-ty { margin: 8px 0 0; font-size: 12px; color: var(--n-fg-3); }
.ab-more { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--n-fg-2); max-width: 44em; }
.ab-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: 15px; font-weight: 560; }
.ab-links a { text-decoration: underline; text-underline-offset: 3px; }

/* filtres de la liste des biens : la rangée des types défile dans sa bande au lieu d'élargir la page (téléphone, conseillers aux nombreux types) */
.flt { min-width: 0; max-width: 100%; }
.flt .seg { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.flt .seg::-webkit-scrollbar { display: none; }
.flt .seg button { flex: none; white-space: nowrap; }

/* accueil : la recherche choisit une commune du secteur (liste), plus de saisie libre */
.dh-search select { flex: 1; min-width: 0; height: 46px; border: 0; background: none; outline: none; color: var(--n-fg); font-size: 16px; padding: 0 8px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 16px) 21px, calc(100% - 11px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.dh-search select option { color: #111214; background: #fff; }
/* « Qui je suis » : la bio du conseiller sur fond clair, lisible sur téléphone */
.hm-bio-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 90px); align-items: start; }
.hm-bio-t p { margin: 0 0 16px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--n-fg-2); max-width: 40em; }
.hm-bio-t .n-link { margin-top: 6px; }
@media (max-width: 899px) { .hm-bio-g { grid-template-columns: 1fr; } .hm-bio-t p { font-size: 17px; } }

/* garder un bien (favori) */
.fx-tool[aria-pressed="true"] .ic { fill: currentColor; }
.fav .sh-box { max-width: 520px; }
.fav-p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--n-fg-2); }
.fav-f .n-btn { width: 100%; justify-content: center; }

/* anti-robots : la vérification ne se montre qu'en cas de doute (case à cocher Cloudflare) */
.ar-voile { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.45); }
.ar-voile[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.ar-cadre { width: 320px; height: 80px; border: 0; border-radius: 6px; background: #fff; }
