/* Dynasty – le site public, dans le style du badge du logo : beige, ivoire, or et anthracite.
   En-tête ivoire, photo d'accueil en grande carte arrondie avec un cartouche clair,
   annonces à photo encadrée, Collection Signature en anthracite et or, carte interactive
   de San Andreas, fiche en panneau, tiroir « Ma sélection », palette de recherche,
   plaquette imprimable. */

body.site { --top: 78px; --tick: 0px; overflow-x: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--card); color: var(--text); font-weight: 700; border: 1px solid var(--gold-line); }
.skip:focus { top: 12px; }

/* ---------- Bandeau d'annonce ---------- */
.ticker { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 8px 18px; background: var(--bg-deep); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; text-align: center; border-bottom: 1px solid var(--line); }
.ticker i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex: none; }
:root[data-theme="dark"] .ticker { background: #221f1a; color: var(--gold-text); }

/* ---------- Barre haute : ivoire vitré, nette ---------- */
.top { position: sticky; top: 0; z-index: 40; height: 78px; display: flex; align-items: center; gap: 22px; padding: 0 30px; background: var(--band); color: var(--band-text); border-bottom: 1px solid var(--band-line); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); transition: background-color .5s var(--ease-slow); }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; color: var(--band-text); }
.brand-badge { display: grid; place-items: center; width: 48px; height: 48px; padding: 6px 6px 7px; border-radius: 13px; background: var(--ivory); color: var(--gold); border: 1px solid var(--gold-line); box-shadow: var(--raised); flex: none; }
:root[data-theme="dark"] .brand-badge { background: #2a2620; color: var(--champagne); }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-text b { font-family: var(--font-brand); font-weight: 400; font-size: 22px; letter-spacing: .3em; margin-right: -.3em; }
.brand-text small { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 9px; font-weight: 600; letter-spacing: .44em; margin-right: -.44em; text-transform: uppercase; color: var(--band-gold); }
.brand-text small::before, .brand-text small::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7; }
.brand-text small::after { margin-left: -.44em; }
.brand-logo { height: 54px; width: auto; border-radius: 12px; }

.menu { display: flex; align-items: center; gap: 2px; margin: 0 auto; min-width: 0; }
.menu a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 12px 13px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--band-text-2); white-space: nowrap; transition: color .3s; }
.menu a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.menu a:hover, .menu a.on { color: var(--band-text); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.menu a.sig { color: var(--band-gold); }
.menu a .icon { width: 15px; height: 15px; }

.tools { display: flex; align-items: center; gap: 2px; padding: 4px; margin-left: auto; border: 1px solid var(--line); border-radius: 15px; background: var(--card); box-shadow: var(--raised); flex: none; }
.menu + .tools { margin-left: 0; }
.tools .iconbtn { width: 40px; height: 40px; border-radius: 11px; border-color: transparent; background: transparent; color: var(--text-2); box-shadow: none; }
.tools .iconbtn:hover { background: var(--card-2); border-color: var(--line); color: var(--text); }
.tools .iconbtn.lit { color: var(--gold-text); }
.burger { display: none !important; }

.menu-mobile { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 8px 18px 20px; background: var(--band-solid); border-bottom: 1px solid var(--band-line); box-shadow: var(--shadow); max-height: calc(100vh - var(--top)); overflow-y: auto; animation: fade .3s ease both; }
.menu-mobile a { display: flex; align-items: center; gap: 10px; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.menu-mobile a span { flex: 1; }
.menu-mobile a .icon:last-child { color: var(--gold); }
.menu-mobile a.on, .menu-mobile a.sig { color: var(--gold-text); }
.menu-mobile-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.menu-mobile-tools a { justify-content: center; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 8px; letter-spacing: .1em; font-size: 12px; background: var(--card); }
.menu-mobile-tools a span { flex: none; }

.view { position: relative; min-height: calc(100vh - var(--top)); outline: none; }

/* ---------- Titres de section ---------- */
.page { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.sec { padding-top: 112px; }
.band-sand { margin-top: 112px; padding: 96px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-sand .sec { padding-top: 0; }
.sec-head { margin-bottom: 38px; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.sec-head h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
.sec-head p { color: var(--text-2); max-width: 60ch; margin: 14px 0 0; font-size: 16px; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.eyebrow .icon { width: 15px; height: 15px; margin-right: -4px; }
.mini-title { display: block; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }

/* ---------- Accueil : la photo en grande carte arrondie ---------- */
.hero-wrap { padding: 18px 22px 0; }
.hero { position: relative; height: calc(100vh - var(--top) - var(--tick) - 18px); height: calc(100svh - var(--top) - var(--tick) - 18px); min-height: 580px; max-height: 920px; border-radius: var(--r-xl); overflow: hidden; background: var(--card-3); isolation: isolate; box-shadow: var(--raised-hi); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; opacity: 0; transform: scale(1.02); transition: opacity 1.8s var(--ease-slow), transform 12s linear; }
.hero-img.on { opacity: 1; transform: scale(1.08); }
.hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(30, 26, 21, .3) 0%, rgba(30, 26, 21, 0) 34%), linear-gradient(180deg, rgba(30, 26, 21, .18) 0%, rgba(30, 26, 21, 0) 22%); }
.hero-in { position: absolute; left: 0; right: 0; bottom: 0; max-width: 1400px; margin: 0 auto; padding: 0 34px 104px; display: flex; align-items: flex-end; }
/* Le cartouche : une plaque ivoire, comme le badge du logo, posée sur la photo */
.hero-text { position: relative; max-width: 640px; min-width: 0; padding: 30px 34px 28px; border-radius: 24px; background: var(--cartouche); color: var(--cartouche-text); border: 1px solid var(--cartouche-line); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); box-shadow: 0 30px 60px -30px rgba(30, 26, 21, .55); }
.hero-text::before { content: ""; position: absolute; left: 34px; top: -1px; width: 64px; height: 2px; background: var(--gold); }
.hero-slide.swap > * { animation: rise 1s var(--ease-out) both; }
.hero-slide.swap > :nth-child(2) { animation-delay: .08s; }
.hero-slide.swap > :nth-child(3) { animation-delay: .16s; }
.hero-slide.swap > :nth-child(4) { animation-delay: .24s; }
.hero-slide.swap > :nth-child(5) { animation-delay: .32s; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); }
.hero-kicker .icon { width: 15px; height: 15px; }
.hero-name { margin: 12px 0 8px; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.02; color: inherit; overflow-wrap: anywhere; }
.hero-name a { transition: color .4s; }
.hero-name a:hover { color: var(--gold-text); }
.hero-meta { margin: 0; font-size: 15px; color: var(--text-2); }
.hero-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 14px 0 20px; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); color: inherit; }
.hero-price span { font-family: var(--font); font-size: 14.5px; color: var(--text-2); }
.hero-acts { display: inline-flex; background: var(--card-2); }
/* La pellicule : les biens du diaporama, en vignettes */
.hero-film { position: absolute; right: 30px; bottom: 104px; z-index: 2; display: flex; align-items: stretch; gap: 8px; padding: 8px; border-radius: 20px; background: var(--cartouche); border: 1px solid var(--cartouche-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 50px -28px rgba(30, 26, 21, .55); }
.hf { position: relative; display: flex; flex-direction: column; gap: 6px; width: 96px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; color: var(--cartouche-text); }
.hf img { width: 96px; height: 64px; object-fit: cover; border-radius: 12px; opacity: .62; transition: opacity .4s, box-shadow .4s; }
.hf:hover img { opacity: .9; }
.hf.on img { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.hf span { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; line-height: 1.25; color: var(--text-2); padding: 0 2px; overflow-wrap: anywhere; }
.hf.on span { color: var(--cartouche-text); }
.hf i { position: absolute; left: 6px; right: 6px; top: 57px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; opacity: 0; }
.hf.on i { opacity: 1; }
.hf.on i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: fill 7s linear forwards; }
.hero:hover .hf.on i::after, body.locked .hf.on i::after { animation-play-state: paused; }
.hero.paused .hf.on i::after { animation: none; transform: none; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-arrows { display: flex; flex-direction: column; gap: 6px; justify-content: center; padding-left: 4px; border-left: 1px solid var(--line); }
.hero-arrows .iconbtn { width: 36px; height: 36px; border-radius: 10px; box-shadow: none; background: transparent; }
.hero-empty { display: flex; align-items: flex-end; background: var(--bg-2); }

/* ---------- Recherche en trois choix ---------- */
.finder-wrap { position: relative; z-index: 3; max-width: 1180px; margin: -64px auto 0; padding: 0 28px; }
.finder { background: var(--card); border: 1px solid var(--gold-line); border-radius: 22px; box-shadow: var(--shadow); padding: 24px 26px 26px; }
.finder-head { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.finder-title { font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.finder.compact .finder-title { font-family: var(--font); font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--card-2); border: 1px solid var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg span, .seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 18px; border: 0; border-radius: 10px; background: transparent; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); cursor: pointer; transition: background-color .3s, color .3s; }
.seg span:hover, .seg button:hover { color: var(--text); }
.seg input:checked + span, .seg button.on { background: var(--accent); color: var(--accent-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.seg button b { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(127, 127, 127, .2); letter-spacing: 0; }
.seg.wide { display: flex; }
.seg.wide button { flex: 1; justify-content: center; letter-spacing: .08em; padding-inline: 10px; }
.finder-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.ff { display: block; min-width: 0; }
.ff > span:first-child { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.sel { position: relative; display: block; }
.sel select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 54px; padding: 0 42px 0 16px; border: 1px solid var(--line-2); border-radius: 13px; background: var(--bg-light); color: var(--text); font-size: 15px; cursor: pointer; outline: 0; transition: border-color .25s, box-shadow .25s; text-overflow: ellipsis; }
.sel select:hover { border-color: var(--gold-line-2); }
.sel select:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(164, 133, 77, .25); }
.sel select option { background: var(--card); color: var(--text); }
.sel .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gold-text); pointer-events: none; }
.finder-go { min-height: 54px; }
.finder-note { margin: 16px 0 0; color: var(--text-3); font-size: 14px; }
.finder-wrap.inline { margin: 28px 0 0; padding: 0; max-width: none; }
.finder.compact { box-shadow: var(--raised); padding: 18px 20px 20px; }

/* ---------- Collection Signature : anthracite et or ---------- */
.sig-band { position: relative; overflow: hidden; margin-top: 112px; padding: 104px 0; background: var(--deep); color: var(--deep-text); isolation: isolate; }
.sig-band::before { content: ""; position: absolute; inset: 20px; z-index: -1; border: 1px solid var(--deep-line); border-radius: 26px; pointer-events: none; }
.sig-mark { position: absolute; z-index: -1; right: 4%; top: 50%; width: min(460px, 40%); transform: translateY(-50%); color: var(--deep-gold); opacity: .06; pointer-events: none; }
.sig-in { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: 60px; align-items: center; }
.sig-band .eyebrow, .sig-top .eyebrow, .sig-inline .eyebrow { color: var(--deep-gold); }
.sig-band .eyebrow::before, .sig-top .eyebrow::before, .sig-inline .eyebrow::before { background: var(--deep-gold); }
.sig-head h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; }
.sig-head p { margin: 20px 0 30px; color: var(--deep-text-2); font-size: 16.5px; max-width: 44ch; }
.actionbar.ondeep { display: inline-flex; background: rgba(246, 240, 230, .05); border-color: var(--deep-line); }
.sig-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sig-card { display: flex; flex-direction: column; gap: 16px; padding: 12px 12px 20px; border-radius: 24px; background: var(--deep-2); border: 1px solid var(--deep-line); transition: transform .6s var(--ease-out), border-color .5s; }
.sig-card:hover { transform: translateY(-4px); border-color: var(--deep-gold); }
.sig-card-shot { display: block; aspect-ratio: 4 / 3.4; border-radius: 16px; overflow: hidden; background: var(--deep-3); }
.sig-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform 1.8s var(--ease-out), opacity .8s; }
.sig-card img.shown { opacity: 1; }
.sig-card:hover img { transform: scale(1.05); }
.sig-card-in { display: flex; flex-direction: column; gap: 6px; padding: 0 10px; }
.sig-card-kicker { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--deep-gold); }
.sig-card-in strong { font-family: var(--font-heading); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; }
.sig-card-price { font-family: var(--font-display); font-size: 20px; color: var(--deep-gold); }
.sig-card-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--deep-text); }
.sig-card-go .icon { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.sig-card:hover .sig-card-go .icon { transform: translateX(5px); }

/* ---------- Annonces : photo encadrée dans une carte ivoire ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.cards.small { gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--raised); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s; }
@media (hover: hover) { .card:hover { transform: translateY(-5px); box-shadow: var(--raised-hi); border-color: var(--gold-line); } }
.card-shot { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; background: var(--card-3); }
.card-shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease-slow), transform 1.6s var(--ease-out); }
.card-shot img.shown { opacity: 1; }
.card:hover .card-shot img { transform: scale(1.05); }
.card-tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag-state { background: rgba(253, 251, 247, .95); color: var(--anthracite); border-color: transparent; }
.tag-state i { width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; }
.tag-state.s-reserve i { background: #b77a1e; }
.tag-state.s-vendu i, .tag-state.s-loue i { background: #7a5f2e; }
.tag-state.s-bientot i { background: #3f7488; }
.card-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 9px; background: rgba(253, 251, 247, .94); color: var(--anthracite); font-size: 12px; font-weight: 700; }
.card-count .icon { width: 14px; height: 14px; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 10px 6px; flex: 1; }
.card-kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.card-name { font-family: var(--font-heading); font-size: 25px; line-height: 1.12; overflow-wrap: anywhere; }
.card-name a { transition: color .3s; }
.card-name a:hover { color: var(--gold-text); }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.card-keys { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text-2); font-size: 13.5px; }
.card-keys li { display: inline-flex; align-items: center; gap: 7px; }
.card-keys .icon { width: 16px; height: 16px; color: var(--gold); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.card-price { min-width: 0; display: flex; flex-direction: column; }
.p-main { font-family: var(--font-display); font-size: 25px; line-height: 1.1; color: var(--price); white-space: nowrap; }
.p-main small { font-family: var(--font); font-size: 13px; color: var(--text-2); }
.p-ask { font-size: 19px; }
.card-price s { font-size: 13px; color: var(--text-3); }
.p-rent { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.card-acts { position: relative; z-index: 2; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: var(--card-2); flex: none; }
.iconbtn.sm { width: 36px; height: 36px; border-radius: 10px; box-shadow: none; }
.iconbtn.sm .icon { width: 17px; height: 17px; }
.iconbtn.on { color: var(--gold-text); border-color: var(--gold-line-2); background: var(--violet-soft); }
.iconbtn.fav.on { color: var(--pink); border-color: rgba(158, 47, 74, .42); background: rgba(158, 47, 74, .07); }
:root[data-theme="dark"] .iconbtn.fav.on { border-color: rgba(236, 148, 168, .5); background: rgba(236, 148, 168, .1); }
.btn[data-add].on { background: var(--card-2); color: var(--text); border-color: var(--gold-line-2); box-shadow: none; }
.btn.fav.on { color: var(--pink); border-color: rgba(158, 47, 74, .45); }
:root[data-theme="dark"] .btn.fav.on { border-color: rgba(236, 148, 168, .55); }
.card.is-sold .card-shot img.shown { filter: grayscale(.6); opacity: .85; }
.card.is-sold .p-main { color: var(--text-2); }
/* Tuile d'appel en fin de grille : anthracite et or */
.cta-tile { position: relative; display: flex; align-items: flex-end; min-height: 100%; grid-column: span var(--s3, 1); overflow: hidden; border-radius: 24px; background: var(--deep); color: var(--deep-text); border: 1px solid var(--deep-line); isolation: isolate; transition: border-color .5s, transform .6s var(--ease-out); }
.cta-tile:hover { border-color: var(--deep-gold); transform: translateY(-4px); }
.cta-mark { position: absolute; z-index: -1; right: 7%; top: 50%; width: min(220px, 40%); transform: translateY(-50%); color: var(--deep-gold); opacity: .09; transition: opacity .6s; }
.cta-tile:hover .cta-mark { opacity: .15; }
.cta-in { display: flex; flex-direction: column; gap: 8px; padding: 32px 32px 30px; max-width: 440px; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--deep-gold); }
.cta-eyebrow .icon { width: 17px; height: 17px; }
.cta-in strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.06; }
.cta-text { color: var(--deep-text-2); font-size: 14.5px; }
.cta-go { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 10px; padding: 10px 16px; border: 1px solid var(--deep-line); border-radius: 11px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--deep-text); transition: border-color .4s, background-color .4s; }
.cta-go .icon { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.cta-tile:hover .cta-go { border-color: var(--deep-gold); background: rgba(246, 240, 230, .06); }
.cta-tile:hover .cta-go .icon { transform: translateX(4px); }
.quarter-cta { aspect-ratio: auto; min-height: 100%; }

/* ---------- La carte, en aperçu sur l'accueil ---------- */
.map-intro { display: grid; grid-template-columns: minmax(280px, 4fr) 8fr; gap: 48px; align-items: center; }
.map-intro h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; }
.map-intro p { color: var(--text-2); font-size: 16px; margin: 18px 0 26px; }
.legend { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--text-2); font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend i { position: relative; width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--gold); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.legend i.l-rent { background: #fff; border: 3px solid var(--gold); }
.legend i.l-sig { background: var(--deep); border-color: var(--champagne); }
.legend i.l-sold { background: #9a968e; }
.map-frame { position: relative; height: 560px; border-radius: 26px; overflow: hidden; border: 1px solid var(--gold-line); box-shadow: var(--raised-hi); }
.map-frame .carte { position: absolute; inset: 0; }
.map-open { position: absolute; left: 16px; bottom: 16px; z-index: 6; }

/* ---------- Page Carte : la liste à gauche, le plan à droite ---------- */
.mapscreen { display: grid; grid-template-columns: 410px minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "head map" "filters map" "list map"; height: calc(100vh - var(--top) - var(--tick)); height: calc(100svh - var(--top) - var(--tick)); min-height: 560px; }
.map-side-head, .map-filters, .map-list { border-right: 1px solid var(--line); background: var(--bg); }
.map-side-head { grid-area: head; padding: 26px 26px 16px; }
.map-side-head h1 { font-size: 42px; line-height: 1.05; }
.map-side-head p { margin: 10px 0 0; color: var(--text-2); font-size: 14.5px; }
.map-filters { grid-area: filters; display: flex; flex-direction: column; gap: 10px; padding: 0 26px 16px; border-bottom: 1px solid var(--line); }
.map-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.toggle i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.toggle i.l-sig { background: var(--deep); border-color: var(--champagne); }
.toggle i.l-sold { background: #9a968e; }
.toggle[aria-pressed="true"] { border-color: var(--gold-line-2); color: var(--text); background: var(--violet-soft); }
.toggle[aria-pressed="false"] { color: var(--text-3); }
.toggle[aria-pressed="false"] i { opacity: .5; }
.map-list { grid-area: list; min-height: 0; overflow-y: auto; padding: 14px 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.ml { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: border-color .3s, box-shadow .3s; }
.ml:hover { border-color: var(--gold-line); }
.ml.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.ml img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 11px; background: var(--card-3); }
.ml > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ml small { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.ml b { font-family: var(--font-heading); font-weight: 400; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.ml em { font-style: normal; font-family: var(--font-display); font-size: 16px; }
.ml .ml-state { font-size: 12px; color: var(--text-3); }
.ml.is-sig { border-color: rgba(164, 133, 77, .45); }
.map-main { grid-area: map; position: relative; min-width: 0; min-height: 0; }
.map-main .carte { position: absolute; inset: 0; }
.map-empty { padding: 30px 10px; text-align: center; color: var(--text-3); }

/* ---------- Quartiers ---------- */
.quarters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.quarter { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card-3); isolation: isolate; box-shadow: var(--raised); }
.quarter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0; transition: transform 1.8s var(--ease-out), opacity .8s; }
.quarter img.shown { opacity: 1; }
.quarter:hover img { transform: scale(1.06); }
/* La plaque ivoire : le nom se lit toujours, sans assombrir la photo */
.quarter-in { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 13px; border-radius: 16px; background: var(--cartouche); color: var(--cartouche-text); border: 1px solid var(--cartouche-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.quarter-in strong { font-family: var(--font-heading); font-weight: 400; font-size: 21px; line-height: 1.15; }
.quarter-in span { font-size: 13.5px; color: var(--text-2); }
.quarter-in b { margin-top: 4px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }

/* ---------- Comment acheter ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: 28px 26px 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--raised); }
/* Le numéro dans un petit badge, comme celui du logo */
.step-n { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 15px; border: 1px solid var(--gold-line); background: var(--bg-light); font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--gold-text); }
.step p { margin: 0; color: var(--text-2); }
.steps-note { margin-top: 24px; }
.steps.compact { grid-template-columns: 1fr; gap: 10px; margin-bottom: 26px; }
.steps.compact .step { display: flex; gap: 16px; align-items: center; padding: 14px 16px; box-shadow: none; }
.steps.compact .step-n { width: 42px; height: 42px; font-size: 19px; margin: 0; flex: none; border-radius: 12px; }

/* ---------- L'agence ---------- */
.agency { display: grid; grid-template-columns: 7fr 5fr; gap: 22px; }
.panel { padding: 36px 38px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--raised); }
.panel h2 { font-size: 36px; margin-bottom: 16px; }
.facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.facts li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); }
.facts .icon { color: var(--gold); margin-top: 3px; }
.facts a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages intérieures ---------- */
.page-top { padding: 66px 0 34px; }
.page-top h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.02; }
.page-lead { margin: 16px 0 0; color: var(--text-2); font-size: 17px; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px 6px 14px; border-radius: 11px; border: 1px solid var(--gold-line); background: var(--card); font-size: 13.5px; font-weight: 600; color: var(--text); transition: border-color .3s, background-color .3s; }
.chip .icon { width: 15px; height: 15px; color: var(--text-3); }
.chip:hover { border-color: var(--gold); background: var(--card-2); }
.chip.clear { border-style: dashed; color: var(--text-2); }
.soon { display: flex; align-items: flex-start; gap: 10px; margin: 42px 0 0; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--text-3); font-size: 14px; }
.soon .icon { margin-top: 2px; color: var(--gold-text); }
.sig-inline { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 36px; padding: 28px 32px; border-radius: 24px; background: var(--deep); color: var(--deep-text); border: 1px solid var(--deep-line); }
.sig-inline p { margin: 0; color: var(--deep-text-2); max-width: 60ch; }
.sig-inline .eyebrow { margin-bottom: 8px; }

/* Collection Signature : l'écran à part, anthracite et or */
.signature { background: var(--deep); color: var(--deep-text); }
.sig-top { position: relative; overflow: hidden; padding: 92px 0 70px; border-bottom: 1px solid var(--deep-line); isolation: isolate; }
.sig-top .sig-mark { right: 5%; width: min(420px, 38%); opacity: .08; }
.sig-top h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: 1.02; }
.sig-top .page-lead { color: var(--deep-text-2); margin-bottom: 30px; }
.sig-count { padding: 0 12px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--deep-gold); }
.sig-list { max-width: 1280px; margin: 0 auto; padding: 76px 40px 0; display: flex; flex-direction: column; gap: 76px; }
.sig-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 52px; align-items: center; }
.sig-item.alt { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sig-item.alt .sig-item-shot { order: 2; }
.sig-item-shot { display: block; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; border: 1px solid var(--deep-line); background: var(--deep-2); }
.sig-item-shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform 1.8s var(--ease-out), opacity .8s; }
.sig-item-shot img.shown { opacity: 1; }
.sig-item-shot:hover img { transform: scale(1.05); }
.sig-item-in h2 { margin: 12px 0 16px; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; }
.sig-item-in h2 a:hover { color: var(--deep-gold); }
.sig-item-in .card-keys { color: var(--deep-text-2); font-size: 14.5px; }
.sig-item-in .card-keys .icon { color: var(--deep-gold); }
.sig-item-price { margin: 22px 0 8px; font-family: var(--font-display); font-size: 32px; color: var(--deep-gold); }
.sig-item-cond { margin: 0 0 22px; color: var(--deep-text-2); font-size: 14.5px; }
.signature .foot { margin-top: 110px; }
.iconbtn.ondeep { background: transparent; border-color: rgba(246, 240, 230, .32); color: var(--deep-text); box-shadow: none; }
.iconbtn.ondeep:hover { border-color: var(--deep-gold); background: rgba(246, 240, 230, .08); color: var(--deep-text); }
.iconbtn.ondeep.on { color: #f0a9b8; border-color: rgba(240, 169, 184, .55); background: transparent; }
.btn.btn-veil[data-add].on { background: rgba(246, 240, 230, .1); color: var(--deep-gold); border-color: var(--deep-gold); }

/* ---------- Pied de page : anthracite ---------- */
.foot { margin-top: 124px; background: var(--deep); color: var(--deep-text-2); }
.foot-in { max-width: 1280px; margin: 0 auto; padding: 60px 40px 34px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 40px; }
.foot .brand { color: var(--deep-text); }
.foot .brand-badge { background: #2f3137; color: var(--deep-gold); border-color: var(--deep-line); box-shadow: none; }
.foot .brand-text small { color: var(--deep-gold); }
.foot-brand p { margin: 18px 0 0; max-width: 42ch; font-size: 14.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-end; align-content: flex-start; }
.foot-links a { padding: 8px 0; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--deep-text-2); transition: color .3s; }
.foot-links a:hover { color: var(--deep-gold); }
.foot-note { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--deep-line); font-size: 13px; color: var(--deep-text-2); }

/* ---------- Fiche d'un bien, en panneau ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: rgba(38, 34, 28, .42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 28px 24px 48px; animation: fade .35s ease both; }
:root[data-theme="dark"] .sheet { background: rgba(8, 7, 6, .62); }
.sheet-box { position: relative; max-width: 1240px; margin: 0 auto; background: var(--card); border: 1px solid var(--gold-line); border-radius: 26px; box-shadow: var(--shadow); overflow: clip; animation: sheetIn .6s var(--ease-out) both; }   /* clip et non hidden : la barre du haut reste collée au défilement */
.sheet-box.instant { animation: none; }
.sheet-box.narrow { max-width: 760px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.sheet-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 26px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sheet-crumb { min-width: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; line-height: 1.45; text-transform: uppercase; color: var(--text-3); }
.crumb-path + .crumb-pos::before { content: "·"; margin: 0 .8em; }
.crumb-pos { white-space: nowrap; }
.sheet-crumb b { color: var(--text); }
.sheet-nav { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 15px; background: var(--card-2); flex: none; }
.sheet-nav .iconbtn { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
.sheet-body { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); grid-template-areas: "g i" "d i" "c i"; grid-template-rows: auto auto 1fr; gap: 30px 40px; align-items: start; padding: 28px 30px 32px; }
.sheet-body > .gallery { grid-area: g; }
.sheet-body > .sheet-info { grid-area: i; }
.sheet-body > .sheet-desc { grid-area: d; }
.sheet-body > .sheet-contact { grid-area: c; }
.gallery { min-width: 0; }
.g-main { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--card-3); border: 1px solid var(--line); touch-action: pan-y; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-main img.in { animation: picIn .9s var(--ease-slow) both; }
@keyframes picIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.g-label, .g-count { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 10px; background: rgba(253, 251, 247, .94); color: var(--anthracite); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.g-label { left: 14px; }
.g-count { right: 14px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; border: 1px solid rgba(164, 133, 77, .4); background: rgba(253, 251, 247, .92); color: var(--anthracite); cursor: pointer; box-shadow: 0 8px 20px -10px rgba(30, 26, 21, .5); transition: background-color .3s, border-color .3s; }
.g-nav:hover { background: #ffffff; border-color: var(--gold); }
.g-nav.prev { left: 14px; }
.g-nav.next { right: 14px; }
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px 10px; margin-top: 12px; align-items: start; }
.g-thumbs button { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--text-3); text-align: center; cursor: pointer; }
.g-thumb { display: block; aspect-ratio: 3 / 2; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--card-3); opacity: .7; transition: opacity .3s, border-color .3s, box-shadow .3s; }
.g-thumbs button:hover .g-thumb { opacity: .92; }
.g-thumbs button.on .g-thumb { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-cap { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; overflow-wrap: anywhere; transition: color .3s; }
.g-thumbs button.on .g-cap { color: var(--gold-text); }
.sheet-info { min-width: 0; }
.dtags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.dtags:empty { display: none; }
.dtags .tag-state { background: var(--card-2); border-color: var(--line); color: var(--text); }
.sheet-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.sheet-title { margin: 10px 0 10px; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.04; overflow-wrap: anywhere; }
.sheet-addr { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--text-2); font-size: 14.5px; }
.sheet-addr .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); }
.sheet-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0 14px; }
.sp { padding: 14px 18px; border: 1px solid var(--gold-line); border-radius: 16px; background: var(--card-2); }
.sp-label { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.sp-value { font-family: var(--font-display); font-size: 30px; line-height: 1.15; color: var(--price); white-space: nowrap; }
.sp-value small { font-family: var(--font); font-size: 14px; color: var(--text-2); }
.sp s { display: block; font-size: 13px; color: var(--text-3); }
.dstate { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); display: inline-block; flex: none; }
.dot.s-reserve { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.dot.s-vendu, .dot.s-loue { background: var(--text-3); box-shadow: 0 0 0 4px var(--line); }
.dot.s-bientot { background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.dacts { margin-bottom: 14px; }
.sheet-info .note { margin-bottom: 10px; }
.keys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 18px 0; border-top: 1px solid var(--line); }
.keys-grid > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.keys-grid .icon { width: 20px; height: 20px; color: var(--gold); }
.keys-grid span { min-width: 0; }
.keys-grid dt { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.keys-grid dd { margin: 0; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.amen-box { margin-top: 20px; }
.amen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amen li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--card-2); font-size: 13.5px; color: var(--text-2); }
.amen .icon { width: 15px; height: 15px; color: var(--gold); }
.sheet-desc .rich { font-size: 15.5px; }
/* Situation du bien : un extrait de la carte */
.situ { display: block; margin-top: 24px; }
.situ-map { position: relative; display: block; height: 220px; border-radius: 18px; overflow: hidden; border: 1px solid var(--gold-line); }
.situ-map .carte { position: absolute; inset: 0; }
.situ-go { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 11px; background: rgba(253, 251, 247, .95); color: var(--anthracite); border: 1px solid var(--gold-line); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: border-color .3s; }
.situ:hover .situ-go { border-color: var(--gold); }
.situ-go .icon { width: 16px; height: 16px; color: var(--gold-deep); }
.sheet-contact { align-self: start; padding: 24px 26px; border-radius: 20px; border: 1px solid var(--gold-line); background: var(--card-2); }
.sheet-contact p { color: var(--text-2); font-size: 14.5px; }
.sheet-contact .facts { margin-bottom: 16px; font-size: 14.5px; }
.sheet-near { padding: 26px 30px 32px; border-top: 1px solid var(--line); }
.sheet-single { padding: 28px 32px 32px; }
.single-title { font-size: 38px; margin-bottom: 18px; }
.sheet-single .actionbar { display: inline-flex; margin-bottom: 34px; }
.sheet-single .note { margin-top: 24px; }
/* Une fiche de la Collection Signature porte l'anthracite et l'or */
.sheet-box.is-sig { border-color: rgba(164, 133, 77, .7); }
.sheet-box.is-sig .sheet-top { background: var(--deep); border-bottom-color: var(--deep-line); }
.sheet-box.is-sig .sheet-crumb { color: var(--deep-gold); }
.sheet-box.is-sig .sheet-crumb b { color: var(--deep-text); }
.sheet-box.is-sig .sheet-nav { background: rgba(246, 240, 230, .05); border-color: var(--deep-line); }
.sheet-box.is-sig .sheet-nav .iconbtn { background: transparent; border-color: rgba(246, 240, 230, .3); color: var(--deep-text); }
.sheet-box.is-sig .sheet-nav .iconbtn:hover { border-color: var(--deep-gold); background: rgba(246, 240, 230, .08); }

/* ---------- Tiroir : ma sélection ---------- */
.veil { position: fixed; inset: 0; z-index: 50; background: rgba(38, 34, 28, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
:root[data-theme="dark"] .veil { background: rgba(8, 7, 6, .55); }
.veil.on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 55; width: min(470px, 100vw); display: flex; flex-direction: column; background: var(--card); border-left: 1px solid var(--gold-line); box-shadow: var(--shadow); transform: translateX(100%); transition: transform .5s var(--ease-out); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 12px 24px; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--font-display); font-size: 26px; }
.drawer-tabs { padding: 14px 16px 0; }
.drawer-hint { margin: 0; padding: 12px 20px 4px; font-size: 13.5px; color: var(--text-3); }
.drawer-list { flex: 1; overflow-y: auto; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.drawer-list .empty { padding: 44px 20px; }
.drow { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.drow.is-sig { border-color: var(--gold-line); }
.drow-shot { flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: 11px; overflow: hidden; background: var(--card-3); }
.drow-shot img { width: 100%; height: 100%; object-fit: cover; }
.drow-in { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.drow-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.drow-name { font-family: var(--font-heading); font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.drow-name:hover { color: var(--gold-text); }
.drow-price { font-family: var(--font-display); font-weight: 400; font-size: 15px; color: var(--price); }
.drow-state { font-size: 12px; color: var(--text-3); }
.drow-acts { display: inline-flex; flex-direction: column; gap: 4px; flex: none; }
.drawer-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); background: var(--card-2); }
.drawer-foot .actionbar { background: var(--card); }
/* Dossier de visite */
.ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--gold-line); font-size: 13px; color: var(--text-3); }
.ticket-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); }
.ticket-brand .emblem { width: 34px; }
.ticket-brand b { font-family: var(--font-brand); font-weight: 400; font-size: 17px; letter-spacing: .26em; color: var(--text); }
.ticket ul { list-style: none; margin: 0; padding: 0; }
.ticket li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticket li span { display: flex; flex-direction: column; min-width: 0; }
.ticket li small { font-size: 12.5px; color: var(--text-3); }
.ticket li em { font-style: normal; font-family: var(--font-display); color: var(--price); text-align: right; }
.ticket-note { margin: 14px 0 0; font-size: 13px; }

/* ---------- Palette de recherche ---------- */
.palette { position: fixed; inset: 0; z-index: 70; background: rgba(38, 34, 28, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 11vh 16px 16px; animation: fade .2s ease both; }
:root[data-theme="dark"] .palette { background: rgba(8, 7, 6, .6); }
.pal-box { max-width: 660px; margin: 0 auto; background: var(--card); border: 1px solid var(--gold-line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; animation: rise .3s var(--ease) both; }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pal-in .icon { color: var(--gold); width: 20px; height: 20px; }
.pal-in input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 18px; color: var(--text); }
.pal-in input::placeholder { color: var(--text-3); }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; font-family: var(--font); font-size: 11px; font-weight: 700; color: var(--text-2); background: var(--card-2); border: 1px solid var(--line-2); border-bottom-width: 2px; }
.pal-list { max-height: 56vh; overflow-y: auto; padding: 8px; }
.pal-group { padding: 12px 12px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.pal-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 13px; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; font-family: inherit; font-size: 14.5px; }
.pal-item img { width: 66px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--card-3); flex: none; }
.pal-item > .icon { width: 20px; height: 20px; color: var(--gold); margin: 0 12px 0 10px; }
.pal-item span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pal-item b { font-weight: 600; overflow-wrap: anywhere; }
.pal-item small { font-size: 12.5px; color: var(--text-3); }
.pal-item em { font-style: normal; font-family: var(--font-display); color: var(--price); flex: none; }
.pal-item:hover, .pal-item.on { background: var(--card-2); }
.pal-item.on { box-shadow: inset 3px 0 0 var(--gold); }
.pal-empty { padding: 30px; text-align: center; color: var(--text-3); }
.pal-foot { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); background: var(--card-2); }
.pal-foot span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Écran d'arrivée : l'emblème se remplit d'or, puis tout s'efface ----------
   À chaque ouverture ou rechargement : environ 2,3 secondes, puis un fondu de 0,75 seconde. */
.intro { display: none; }
html.intro-on, html.intro-on body { overflow: hidden; }
html.intro-on .intro { display: grid; }
.intro { position: fixed; inset: 0; z-index: 300; place-items: center; padding: 24px; background: var(--bg-light); color: var(--text); cursor: pointer; transition: opacity .75s var(--ease-slow), visibility 0s linear .75s; }
:root[data-theme="dark"] .intro { background: #15130f; }
.intro.out { display: grid; opacity: 0; visibility: hidden; pointer-events: none; }
.intro-in { display: flex; flex-direction: column; align-items: center; transition: transform 1s var(--ease-slow); }
.intro.out .intro-in { transform: scale(1.05); }
.intro-badge { position: relative; width: 124px; height: 124px; border-radius: 32px; background: var(--card); border: 1px solid var(--gold-line); box-shadow: 0 34px 70px -34px rgba(30, 26, 21, .5); overflow: hidden; animation: introBadge .9s var(--ease-out) both; }
:root[data-theme="dark"] .intro-badge { background: #221f1a; }
.intro-ghost, .intro-fill { position: absolute; left: 20px; right: 20px; top: 24px; bottom: 26px; color: var(--gold); }
:root[data-theme="dark"] .intro-ghost, :root[data-theme="dark"] .intro-fill { color: var(--champagne); }
.intro-ghost svg, .intro-fill svg { display: block; width: 100%; height: 100%; }
.intro-ghost { opacity: .2; }
.intro-fill { clip-path: inset(100% 0 0 0); animation: introFill 1.5s .25s cubic-bezier(.65, 0, .35, 1) forwards; }
.intro-badge::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 60%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(0) skewX(-12deg); opacity: 0; animation: introGlint .75s 1.55s var(--ease-out) forwards; }
.intro-word { margin-top: 28px; text-align: center; }
.intro-word b { display: block; font-family: var(--font-brand); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: .34em; margin-right: -.34em; animation: introWord 1.1s .6s var(--ease-out) both; }
.intro-word small { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .5em; margin-right: -.5em; text-transform: uppercase; color: var(--gold-text); animation: introFade .9s .95s ease both; }
.intro-word small::before, .intro-word small::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.intro-word small::after { margin-left: -.5em; }
.intro-line { width: 168px; height: 2px; margin-top: 26px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.intro-line i { display: block; height: 100%; background: var(--gold); transform-origin: left center; transform: scaleX(0); animation: introLine 2s .15s cubic-bezier(.65, 0, .35, 1) forwards; }
.intro-credit { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--raised); white-space: nowrap; overflow: hidden; animation: introCredit .8s .8s var(--ease-out) both; }
:root[data-theme="dark"] .intro-credit { background: #221f1a; }
/* Le portrait apparaît, puis un anneau d’or se dessine autour ; le nom se souligne d’un trait d’or ; un reflet traverse la pastille */
.intro-face { position: relative; width: 40px; height: 40px; flex: none; }
.intro-credit img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-line); animation: introFace .6s .95s var(--ease-out) both; }
.intro-ring { position: absolute; left: -3px; top: -3px; width: 46px; height: 46px; transform: rotate(-90deg); overflow: visible; }
.intro-ring circle { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 142.2; stroke-dashoffset: 142.2; animation: introRing .8s 1.05s cubic-bezier(.65, 0, .35, 1) forwards; }
:root[data-theme="dark"] .intro-ring circle { stroke: var(--champagne); }
.intro-by { font-size: 13px; color: var(--text-2); letter-spacing: .02em; }
.intro-by b { position: relative; display: inline-block; }
.intro-by b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left center; animation: introLine .6s 1.3s cubic-bezier(.65, 0, .35, 1) forwards; }
:root[data-theme="dark"] .intro-by b::after { background: var(--champagne); }
.intro-credit::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -30%; width: 26%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(0) skewX(-18deg); opacity: 0; pointer-events: none; animation: introCreditGlint .75s 1.5s var(--ease-out) forwards; }
:root[data-theme="dark"] .intro-credit::after { background: linear-gradient(100deg, rgba(246, 236, 214, 0) 0%, rgba(246, 236, 214, .32) 50%, rgba(246, 236, 214, 0) 100%); }
.intro-credit em { font-style: normal; }
.intro-credit b { font-weight: 600; color: var(--text); }
@keyframes introBadge { from { opacity: 0; transform: translateY(12px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes introFill { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes introGlint { 0% { opacity: 0; transform: translateX(0) skewX(-12deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(380%) skewX(-12deg); } }
@keyframes introWord { from { opacity: 0; transform: scaleX(1.18); } to { opacity: 1; transform: none; } }
@keyframes introFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes introCredit { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes introShine { 0%, 100% { filter: brightness(1); } 45% { filter: brightness(1.45); } }
@keyframes introFace { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes introRing { to { stroke-dashoffset: 0; } }
@keyframes introCreditGlint { 0% { opacity: 0; transform: translateX(0) skewX(-18deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(560%) skewX(-18deg); } }
.intro-credit { transform: translateX(-50%); }
/* Quand le système demande moins d'animations (réglage de Windows ou du téléphone), l'écran d'arrivée
   garde sa durée mais sans mouvement : fondus, remplissage de l'emblème, reflet sur place et trait doré. */
@media (prefers-reduced-motion: reduce) {
  .intro { transition: opacity .75s ease, visibility 0s linear .75s !important; }
  .intro.out .intro-in { transform: none; }
  .intro-badge { animation: introFade .8s ease both !important; }
  .intro-fill { animation: introFill 1.5s .25s cubic-bezier(.65, 0, .35, 1) forwards, introShine .8s 1.55s ease both !important; }
  .intro-badge::after { animation: none !important; }
  .intro-word b { animation: introFade 1s .6s ease both !important; }
  .intro-word small { animation: introFade .9s .95s ease both !important; }
  .intro-line i { animation: introLine 2s .15s cubic-bezier(.65, 0, .35, 1) forwards !important; }
  .intro-credit { animation: introFade .8s .8s ease both !important; }
  .intro-credit img { animation: introFade .6s .95s ease both !important; }
  .intro-ring circle { animation: introRing .8s 1.05s cubic-bezier(.65, 0, .35, 1) forwards !important; }
  .intro-by b::after { animation: introLine .6s 1.3s cubic-bezier(.65, 0, .35, 1) forwards !important; }
  .intro-credit::after { animation: introCreditGlint .75s 1.5s ease forwards !important; }
}

/* ---------- Le catalogue en quatre portes (accueil) ---------- */
.fam-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fam-tile { aspect-ratio: 3 / 4; }
.fam-tile .quarter-in span { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Construire (accueil) : texte et photo ---------- */
.build-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.build-copy h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; }
.build-copy p { margin: 18px 0 22px; color: var(--text-2); font-size: 16px; max-width: 48ch; }
.build-steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.build-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.build-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--gold-line); background: var(--bg-light); font-family: var(--font-display); font-weight: 400; font-size: 16px; color: var(--gold-text); }
.build-shot { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--card-3); box-shadow: var(--raised-hi); }
.build-shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s, transform 1.8s var(--ease-out); }
.build-shot img.shown { opacity: 1; }
.build-shot:hover img { transform: scale(1.04); }
.build-tag { position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; background: var(--cartouche); color: var(--cartouche-text); border: 1px solid var(--cartouche-line); font-family: var(--font-display); font-size: 17px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.build-tag b { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.agency-shot { display: block; aspect-ratio: 16 / 9; margin: -12px -14px 26px; border-radius: 18px; overflow: hidden; background: var(--card-3); }
.agency-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0; transition: opacity .8s; }
.agency-shot img.shown { opacity: 1; }
.agency-shot.wide { margin: 0 0 24px; }
.steps-title { margin-top: 26px; }

/* ---------- Le catalogue des intérieurs ---------- */
.seg a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 18px; border-radius: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); transition: background-color .3s, color .3s; }
.seg a:hover { color: var(--text); }
.seg a.on { background: var(--accent); color: var(--accent-ink); }
.seg a b { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(127, 127, 127, .2); letter-spacing: 0; }
.cat-tabs { margin-top: 26px; }
.cat-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-top: 18px; }
.cat-groups { display: flex; flex-wrap: wrap; gap: 8px; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cat-sort { width: 220px; max-width: 100%; }
.cat-sort .sel select { min-height: 44px; font-size: 14px; }
.cat-lead { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 26px; color: var(--text-2); font-size: 15px; }
.cat-lead .icon { margin-top: 2px; color: var(--gold); flex: none; }
.cat-lead b { color: var(--text); }

/* ---------- Construire : l'estimation ---------- */
[id="estimer"], [id="tarifs"], [id="exterieurs"] { scroll-margin-top: calc(var(--top) + 18px); }
.est { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.est-form { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--gold-line); box-shadow: var(--raised); }
.est-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.est-step:last-child { padding-bottom: 0; border-bottom: 0; }
.est-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--gold-line); background: var(--bg-light); font-family: var(--font-display); font-size: 20px; color: var(--gold-text); }
.est-field { min-width: 0; }
.est-lab { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.est-lab small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--text-3); }
.est-hint { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 4px 8px; margin: 9px 0 0; font-size: 13.5px; color: var(--text-3); }
.est-hint .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--gold); flex: none; }
.est-hint > span { flex: 1 1 200px; min-width: 0; }
.est-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.est-more .icon { color: currentColor; margin-top: 0; }
.est-check { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.est-check input { width: 18px; height: 18px; accent-color: var(--gold); }
.est-zonelink { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.est-zonelink .icon { width: 16px; height: 16px; }
/* La carte des zones, en vignette sous les pastilles : un clic l'agrandit */
.est-zonemap { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 6px 14px 6px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: inherit; text-align: left; cursor: zoom-in; transition: border-color .25s, box-shadow .25s; }
.est-zonemap:hover { border-color: var(--gold-line-2); box-shadow: var(--raised); }
.est-zonemap img { width: 96px; aspect-ratio: 1258 / 823; object-fit: cover; border-radius: 9px; background: var(--card-3); flex: none; }
.est-zonemap span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.est-zonemap b { font-size: 14px; font-weight: 600; }
.est-zonemap small { font-size: 13px; color: var(--text-3); }
.est-zonemap > .icon { color: var(--gold-text); }
/* Le résultat : une plaque anthracite et or */
.est-result { position: sticky; top: calc(var(--top) + 16px); display: flex; flex-direction: column; padding: 28px 28px 24px; border-radius: 24px; background: var(--deep); color: var(--deep-text); border: 1px solid var(--deep-line); box-shadow: var(--raised-hi); }
.est-label { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--deep-gold); }
.est-total { margin: 10px 0 4px; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; color: var(--deep-text); overflow-wrap: anywhere; }
.est-rent { font-size: 14.5px; color: var(--deep-text-2); }
.est-lines { margin: 20px 0 20px; border-top: 1px solid var(--deep-line); }
.est-lines > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--deep-line); }
.est-lines dt { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--deep-text-2); }
.est-lines dt > span { display: flex; flex-direction: column; min-width: 0; }
.est-th { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--deep-3); border: 1px solid var(--deep-line); }
.est-zdot { display: inline-block; width: 11px; height: 11px; margin-right: 7px; border-radius: 50%; background: var(--z); box-shadow: 0 0 0 2px var(--deep), 0 0 0 3px rgba(255, 255, 255, .25); vertical-align: 1px; }
.est-lines dt small { margin-top: 2px; font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--deep-text); overflow-wrap: anywhere; }
.est-lines dd { margin: 0; display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-family: var(--font-display); font-size: 17px; color: var(--deep-text); white-space: nowrap; }
.est-lines dd small { font-family: var(--font); font-size: 12px; color: var(--deep-text-2); }
.est-todo { font-family: var(--font); font-size: 13.5px; color: var(--deep-gold); }
.est-note { margin: 16px 0 0; font-size: 13px; color: var(--deep-text-2); }
.est-wait { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0 0; font-size: 15px; color: var(--deep-text-2); }
.est-wait .icon { width: 26px; height: 26px; color: var(--deep-gold); flex: none; }
.est-result .actionbar { align-self: flex-start; flex-wrap: wrap; }

/* ---------- Tarifs et zones ---------- */
.tarifs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.zones-map { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--gold-line); border-radius: 22px; overflow: hidden; background: var(--card-3); cursor: zoom-in; box-shadow: var(--raised); }
.zones-map img { display: block; width: 100%; height: auto; aspect-ratio: 1258 / 823; opacity: 0; transition: opacity .8s; }
.zones-map img.shown { opacity: 1; }
.zones-go { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 11px; background: rgba(253, 251, 247, .95); color: var(--anthracite); border: 1px solid var(--gold-line); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.zones-go .icon { width: 16px; height: 16px; }
.tarifs-side { display: flex; flex-direction: column; gap: 12px; }
.zone-list { list-style: none; margin: 0 0 6px; padding: 8px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--raised); }
.zone-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.zone-list li:last-child { border-bottom: 0; }
.zone-list i { width: 14px; height: 14px; border-radius: 50%; background: var(--z); box-shadow: 0 0 0 2px var(--card), 0 0 0 3px rgba(0, 0, 0, .12); flex: none; }
.zone-list span { flex: 1; }
.zone-list b { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--gold-text); }
.tarifs-note { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 0; font-size: 14px; color: var(--text-3); }
.tarifs-note .icon { margin-top: 2px; color: var(--gold); flex: none; }
.zoomed { display: block; width: 100%; height: auto; border-radius: 14px; }

/* ---------- Fiche d'un modèle : prix selon la zone ---------- */
.zt-box { margin-top: 20px; }
.zt { width: 100%; border-collapse: collapse; font-size: 14px; }
.zt th, .zt td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zt thead th { padding-top: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.zt th:first-child { text-align: left; padding-left: 0; }
.zt td:last-child, .zt th:last-child { padding-right: 0; }
.zt tbody th { font-weight: 600; color: var(--text); white-space: normal; }
.zt-z { display: inline-flex; align-items: center; gap: 9px; }
.zt tbody th i { width: 11px; height: 11px; border-radius: 50%; background: var(--z); flex: none; }
.zt tbody th small { font-weight: 500; color: var(--text-3); }
.zt td { color: var(--text); font-family: var(--font-display); font-size: 15.5px; }
.amen li a { display: inline-flex; align-items: center; gap: 7px; color: var(--text); text-decoration: underline; text-decoration-color: var(--gold-line-2); text-underline-offset: 3px; }
.amen li a:hover { color: var(--gold-text); }
.sheet-more { margin: 14px 0 0; }
.sheet-more a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.sheet-more .icon { width: 16px; height: 16px; }

/* ---------- Pied de page : mentions ---------- */
.foot-credits { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 10px 24px; flex-wrap: wrap; margin-top: -14px; font-size: 12.5px; color: var(--deep-text-2); }
.foot-credit { display: inline-flex; align-items: center; gap: 10px; }
.foot-credit img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--deep-line); }
.foot-credit b { color: var(--deep-text); font-weight: 600; }

/* ---------- Écrans intermédiaires ---------- */
@media (max-width: 1240px) {
  .top { gap: 14px; padding: 0 20px; }
  .menu a { padding: 12px 9px; letter-spacing: .13em; }
  .menu a::after { left: 9px; right: 9px; }
}
@media (max-width: 1180px) {
  .brand-text small { display: none; }
  .menu a { padding: 12px 8px; letter-spacing: .1em; }
  .menu a::after { left: 8px; right: 8px; }
  .hero-film .hf span { display: none; }
  .hf, .hf img { width: 78px; }
  .hf img { height: 52px; }
  .hf i { top: 45px; }
}
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: inline-flex !important; }
  .fam-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam-tile { aspect-ratio: 4 / 3; }
  .build-band { grid-template-columns: 1fr; gap: 34px; }
  .est { grid-template-columns: 1fr; }
  .est-result { position: static; }
  .tarifs { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-tile:not(.quarter-cta) { grid-column: span var(--s2, 1); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sig-in { grid-template-columns: 1fr; gap: 40px; }
  .sig-head p { max-width: 60ch; }
  .sheet-body { gap: 26px 28px; }
  .map-intro { grid-template-columns: 1fr; gap: 30px; }
  .mapscreen { grid-template-columns: 340px minmax(0, 1fr); }
}
/* Portable bas (1366 x 640 et moins) : le diaporama se resserre */
@media (max-height: 720px) and (min-width: 981px) {
  .hero { min-height: 520px; }
  .hero-in { padding-bottom: 92px; }
  .hero-film { bottom: 92px; }
  .hero-text { padding: 22px 28px 22px; }
  .hero-name { font-size: clamp(30px, 3.6vw, 48px); margin: 8px 0 6px; }
  .hero-price { margin: 8px 0 14px; }
}

/* ---------- Téléphone et tablette ---------- */
@media (max-width: 980px) {
  body.site { --top: 66px; }
  .top { height: 66px; padding: 0 12px 0 16px; }
  .menu { display: none; }
  .burger { display: inline-flex !important; }
  .brand-badge { width: 42px; height: 42px; padding: 5px 5px 6px; border-radius: 12px; }
  .brand-text b { font-size: 19px; letter-spacing: .26em; margin-right: -.26em; }
  .tools .iconbtn { width: 38px; height: 38px; }
  .finder-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder-go { grid-column: 1 / -1; }
  .sheet-body { grid-template-columns: 1fr; grid-template-areas: "g" "i" "d" "c"; grid-template-rows: none; }
  .agency { grid-template-columns: 1fr; }
  .sig-item, .sig-item.alt { grid-template-columns: 1fr; gap: 26px; }
  .sig-item.alt .sig-item-shot { order: 0; }
  .quarters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quarter-cta { grid-column: span var(--s2, 1); }
  .hero-film { right: 18px; top: 18px; bottom: auto; }
  .mapscreen { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "filters" "map" "list"; height: auto; min-height: 0; }
  .map-side-head, .map-filters, .map-list { border-right: 0; }
  .map-main { height: 64vh; height: 64svh; min-height: 420px; border-bottom: 1px solid var(--line); }
  .map-side-head { padding: 22px 18px 12px; }
  .map-filters { padding: 0 18px 14px; border-bottom: 0; }
  .map-list { padding: 16px 18px 20px; overflow: visible; }
}
@media (max-width: 760px) {
  .fam-tiles { gap: 12px; }
  .fam-tile { aspect-ratio: 1 / 1; }
  .fam-tile .quarter-in span { display: none; }
  .build-steps li { font-size: 13px; }
  .est-form { padding: 16px; border-radius: 20px; }
  .est-step { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .est-n { width: 36px; height: 36px; border-radius: 11px; font-size: 17px; }
  .est-result { padding: 22px 18px 18px; border-radius: 20px; }
  .cat-tabs { display: flex; flex-wrap: wrap; width: 100%; }
  .cat-tabs a { flex: 1 1 auto; justify-content: center; padding-inline: 10px; letter-spacing: .06em; }
  .cat-sort { width: 100%; }
  .zt { font-size: 13px; }
  .zt th, .zt td { padding: 9px 3px; }
  .zt td { font-size: 14px; }
  .foot-credits { margin-top: 0; }
  .agency-shot { margin: -6px -8px 20px; }
  .intro-badge { width: 108px; height: 108px; border-radius: 28px; }
  .intro-ghost, .intro-fill { left: 17px; right: 17px; top: 21px; bottom: 23px; }
  .intro-word b { font-size: 28px; }
  .page { padding: 0 18px; }
  .sec { padding-top: 80px; }
  .band-sand { margin-top: 80px; padding: 70px 0; }
  .sec-head { margin-bottom: 26px; }
  .hero-wrap { padding: 10px 10px 0; }
  .hero { min-height: 600px; max-height: 780px; border-radius: 22px; height: calc(100svh - var(--top) - var(--tick) - 10px); }
  .hero-in { padding: 0 12px 84px; }
  .hero-text { padding: 20px 18px 18px; border-radius: 18px; }
  .hero-text::before { left: 18px; width: 48px; }
  .hero-name { font-size: clamp(30px, 8.6vw, 42px); }
  .hero-meta { font-size: 14px; }
  .hero-film { right: 12px; top: 12px; padding: 6px; gap: 6px; border-radius: 16px; }
  .hf, .hf img { width: 48px; }
  .hf img { height: 34px; border-radius: 9px; }
  .hf i { top: 28px; left: 4px; right: 4px; }
  .hero-arrows { display: none; }
  .finder-wrap { margin-top: -58px; padding: 0 12px; }
  .finder { padding: 18px 16px 18px; border-radius: 20px; }
  .finder-title { font-size: 22px; }
  .finder-row { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg label { flex: 1; }
  .seg span { width: 100%; justify-content: center; }
  .sig-band { margin-top: 80px; padding: 70px 0; }
  .sig-band::before { inset: 10px; border-radius: 20px; }
  .sig-cards { grid-template-columns: 1fr; }
  .sig-mark { width: 70%; right: 0; top: 24%; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .cta-tile:not(.quarter-cta) { grid-column: auto; }
  .cta-in { padding: 26px 22px 24px; }
  .quarter-cta .cta-in { padding: 16px 14px 14px; gap: 5px; }
  .quarter-cta .cta-text { display: none; }
  .quarter-cta strong { font-size: 21px; }
  .quarter-cta .cta-eyebrow { font-size: 9.5px; letter-spacing: .14em; gap: 6px; }
  .quarter-cta .cta-go { margin-top: 4px; padding: 7px 10px; font-size: 10px; letter-spacing: .14em; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .panel { padding: 28px 22px; }
  .panel h2 { font-size: 30px; }
  .quarters { gap: 12px; }
  .quarter { aspect-ratio: 1 / 1; border-radius: 18px; }
  .quarter-in { left: 8px; right: 8px; bottom: 8px; padding: 10px 11px 9px; border-radius: 12px; }
  .quarter-in strong { font-size: 16px; }
  .quarter-in span { display: none; }
  .quarter-in b { margin-top: 2px; font-size: 9.5px; letter-spacing: .16em; }
  .map-frame { height: 440px; border-radius: 20px; }
  .page-top { padding: 44px 0 24px; }
  .foot { margin-top: 90px; }
  .foot-in { grid-template-columns: 1fr; padding: 44px 18px 30px; }
  .foot-links { justify-content: flex-start; }
  .sig-top { padding: 60px 0 44px; }
  .sig-list { padding: 48px 18px 0; gap: 56px; }
  .sheet { padding: 0; }
  .sheet-box { border-radius: 0; border: 0; min-height: 100%; }
  .sheet-top { padding: 8px 8px 8px 16px; }
  .sheet-body { padding: 16px 16px 22px; gap: 22px; }
  .sheet-near { padding: 22px 16px 26px; }
  .sheet-single { padding: 22px 18px 26px; }
  .g-nav { width: 40px; height: 40px; }
  .g-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
  .g-cap { font-size: 9.5px; letter-spacing: .05em; }
  .crumb-path { display: none; }
  .crumb-path + .crumb-pos::before { content: none; }
  .sp-value { font-size: 26px; }
  .dacts .grow { display: none; }
  .drawer { width: 100vw; border-left: 0; }
  .palette { padding: 0; }
  .pal-box { border-radius: 0; border: 0; min-height: 100%; }
  .pal-list { max-height: calc(100vh - 120px); }
  .pal-foot { display: none; }
  .modal-backdrop { padding: 0; }
  .modal { border-radius: 0; min-height: 100%; border: 0; }
  .modal-head, .modal-foot { border-radius: 0; }
  .modal.pk-modal { max-height: none; height: 100vh; height: 100dvh; }
  .carte-hint { display: none; }
}
/* Estimation sur téléphone : le numéro de l'étape passe à côté de son titre, le choix prend toute la largeur */
@media (max-width: 640px) {
  .est-step { display: block; position: relative; }
  .est-n { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
  .est-lab { min-height: 30px; align-items: center; padding-left: 42px; margin-bottom: 10px; }
  .est-field .zones legend { padding-left: 42px; line-height: 30px; margin-bottom: 10px; }
  .zone span { gap: 7px; min-height: 40px; padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 420px) {
  .top { padding: 0 8px 0 12px; gap: 8px; }
  .brand { gap: 9px; }
  .brand-badge { width: 38px; height: 38px; padding: 4px 4px 5px; border-radius: 11px; }
  .brand-text b { font-size: 15px; letter-spacing: .2em; margin-right: -.2em; }
  .tools { padding: 3px; gap: 0; }
  .tools .iconbtn { width: 35px; height: 35px; }
  .tools .iconbtn .icon { width: 17px; height: 17px; }
  .hero-acts { flex-wrap: nowrap; }
  .hero-acts .btn { padding-inline: 14px; }
  .hero-acts .btn-main { flex: 1; }
  .hero-acts .btn[data-kind="visites"] { width: 46px; padding: 0; flex: none; }
  .hero-acts .btn[data-kind="visites"] span { display: none; }
  .card { padding: 10px; border-radius: 20px; }
  .card-body { padding: 16px 8px 4px; }
  .card-name { font-size: 22px; }
  .sheet-crumb { letter-spacing: .12em; font-size: 10.5px; }
}
@media (max-width: 370px) {
  .brand-text b { font-size: 14px; letter-spacing: .16em; margin-right: -.16em; }
  .tools .iconbtn { width: 33px; height: 33px; }
  .hf, .hf img { width: 46px; }
  .hf img { height: 32px; }
  .hf i { top: 26px; }
}

/* ---------- Plaquette : page imprimable ---------- */
.plaquette { display: none; }
@media print {
  @page { size: A4; margin: 11mm 12mm; }
  html, body { background: #ffffff !important; }
  body.printing > *:not(.plaquette) { display: none !important; }
  body.printing .plaquette { display: block; color: #343841; font-family: "Segoe UI", Arial, sans-serif; font-size: 9.5pt; line-height: 1.45; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pq { padding: 0 1mm; }
  .pq-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 3mm; border-bottom: 1.5px solid #a4854d; }
  .pq-brand { display: inline-flex; align-items: center; gap: 3mm; }
  .pq-emblem { width: 11mm; color: #a4854d; }
  .pq-brand b { display: block; font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-weight: 400; font-size: 17pt; letter-spacing: .26em; color: #343841; line-height: 1; }
  .pq-brand small { display: block; margin-top: 1mm; font-size: 6.5pt; letter-spacing: .4em; text-transform: uppercase; color: #7a5f2e; }
  .pq-contact { font-size: 7.5pt; line-height: 1.5; color: #63656c; text-align: right; }
  .pq-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6mm; margin-top: 5mm; break-inside: avoid; }
  .pq-hero img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2.5mm; }
  .pq-side { display: flex; flex-direction: column; min-width: 0; }
  .pq-kicker { font-size: 7.5pt; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #7a5f2e; }
  .pq-sig { align-self: flex-start; margin-top: 2mm; padding: 1mm 2.5mm; border-radius: 1.5mm; background: #26282d; color: #d2bf98; font-size: 6.5pt; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
  .pq-side h1 { margin: 3mm 0 1.5mm; font-family: "Sitka Display", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-weight: 400; font-size: 24pt; line-height: 1.05; color: #2c2f35; overflow-wrap: anywhere; }
  .pq-addr { margin: 0; color: #4a4d55; }
  .pq-prices { display: flex; flex-direction: column; gap: 2.5mm; margin-top: auto; padding-top: 4mm; }
  .pq-prices div { padding: 2.2mm 3.5mm; border: 1px solid #c3af8a; border-radius: 2mm; }
  .pq-prices span { display: block; font-size: 6.5pt; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #63656c; }
  .pq-prices b { font-family: "Sitka Display", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-weight: 400; font-size: 15pt; color: #2c2f35; }
  .pq-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; margin: 4mm 0 0; break-inside: avoid; }
  .pq-thumbs figure { margin: 0; }
  .pq-thumbs img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1.5mm; }
  .pq-thumbs figcaption { margin-top: 1mm; font-size: 6.5pt; letter-spacing: .16em; text-transform: uppercase; color: #63656c; }
  .pq-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 7mm; margin-top: 5mm; }
  .pq-desc { color: #4a4d55; }
  .pq-desc p { margin: 0 0 2mm; }
  .pq-desc h3 { margin: 3mm 0 1mm; font-size: 7pt; letter-spacing: .2em; text-transform: uppercase; color: #7a5f2e; }
  .pq-desc ul { margin: 0; padding-left: 4mm; }
  .pq-keys { width: 100%; border-collapse: collapse; }
  .pq-keys th, .pq-keys td { text-align: left; padding: 1.2mm 0; border-bottom: 1px solid #e6dfd2; font-size: 8.5pt; }
  .pq-keys th { color: #63656c; font-weight: 500; width: 45%; }
  .pq-facts h2 { margin: 3.5mm 0 1mm; font-family: inherit; font-size: 7pt; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #7a5f2e; }
  .pq-facts ul { margin: 0; padding-left: 4mm; }
  .pq-facts p { margin: 0; }
  .pq-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 5mm; padding-top: 2mm; border-top: 1px solid #c3af8a; font-size: 7pt; color: #63656c; break-inside: avoid; }
}
