/* =============================================================================================
   Agence Villa — feuille de style unique du site
   Couleurs du logo (bleu ardoise #3E4A6A), bleu nuit, laiton et sable. Mobile d'abord.
   ============================================================================================= */
@font-face { font-family: "DM Sans"; src: url(../fonts/dm-sans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond.woff2) format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }

:root {
  --navy: #1F263A; --navy-2: #2A3350; --brand: #3E4A6A; --brand-l: #5A6687;
  --gold: #B08D57; --gold-d: #8F6F3D; --gold-l: #E9DCC6;
  --sand: #F6F2EB; --sand-2: #EDE6DA; --line: #E3DDD2; --white: #fff;
  --ink: #1B2030; --muted: #61687A; --ok: #2E7D5B; --err: #B3261E; --wa: #1FA855;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 14px; --r-s: 10px;
  --sh: 0 1px 2px rgba(27,32,48,.06), 0 8px 24px rgba(27,32,48,.07);
  --sh-l: 0 20px 50px rgba(27,32,48,.18);
  --hd: 72px; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.center { text-align: center; margin-top: 24px; }
.muted { color: var(--muted); }
.note { font-size: .9rem; color: var(--muted); }
em { font-style: italic; }

/* ---------- Titres ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold-l); }
.sec__title, .lh__title, .ph__title, .hero__title, .pd__title, .cta-band__title { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; color: var(--navy); }
.sec__title { font-size: clamp(2rem, 4.2vw, 3rem); }
.sec__title--sm { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 18px; }
.sec__title em, .lh__title em, .ph__title em, .hero__title em, .cta-band__title em { color: var(--gold); }
.sec__title--light { color: #fff; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn .ico { width: 18px; height: 18px; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--brand); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-d); }
.btn--line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--line:hover { border-color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold-l); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.link:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.hd { position: sticky; top: 0; z-index: 60; height: var(--hd); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s, box-shadow .25s; }
.hd.is-scrolled { box-shadow: 0 6px 20px rgba(27,32,48,.06); }
.hd--over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.hd--over.is-scrolled, .menu-open .hd--over { background: rgba(255,255,255,.97); border-color: var(--line); color: var(--ink); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 16px; }
.hd__logo { position: relative; display: block; flex: none; }
.hd__logo img { height: 52px; width: auto; }
.hd__logo-w { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.hd--over:not(.is-scrolled) .hd__logo-w { opacity: 1; }
.hd--over:not(.is-scrolled) .hd__logo-d { opacity: 0; }
.menu-open .hd--over .hd__logo-w { opacity: 0; }
.menu-open .hd--over .hd__logo-d { opacity: 1; }
.hd__act { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hd__icon { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.hd__icon:hover { background: rgba(62,74,106,.08); }
.hd__icon b, .nav__fav b { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }
.hd__tel { display: none; align-items: center; gap: 8px; font-weight: 600; padding: 8px 10px; }
.hd__cta { display: none; }
.devise select { appearance: none; -webkit-appearance: none; border: 1px solid currentColor; border-color: rgba(127,127,127,.35); background: transparent; border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.devise option { color: var(--ink); }
.hd__act > .devise { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 50%; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { position: fixed; inset: var(--hd) 0 0; background: #fff; color: var(--ink); padding: 8px 16px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; }
.nav.is-open { transform: none; visibility: visible; }
.nav__link { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__link[aria-current] { color: var(--gold-d); }
.nav__caret { width: 18px; height: 18px; display: none; }
.nav__sub { display: grid; padding: 6px 0 10px 12px; }
.nav__sub a { padding: 7px 4px; color: var(--muted); }
.nav__sub a:hover { color: var(--navy); }
.nav__foot { display: grid; gap: 12px; margin-top: 24px; }
.nav__foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav__fav { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding-right: 26px; }
.nav__fav b { position: static; }
body.menu-open { overflow: hidden; }

@media (min-width: 720px) {
  .hd__tel { display: inline-flex; }
}
@media (min-width: 1100px) {
  :root { --hd: 84px; }
  .burger, .nav__foot { display: none; }
  .hd__logo img { height: 58px; }
  .nav { position: static; transform: none; visibility: visible; background: none; color: inherit; padding: 0; overflow: visible; margin-left: 18px; }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__item { position: relative; }
  .nav__link { border: 0; font-size: .95rem; padding: 10px 12px; border-radius: 999px; gap: 4px; }
  .nav__link:hover { background: rgba(127,127,127,.12); }
  .nav__link[aria-current] { color: inherit; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
  .nav__caret { display: block; width: 15px; height: 15px; }
  .nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--sh-l); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sub a { padding: 9px 12px; border-radius: 8px; color: var(--ink); }
  .nav__sub a:hover { background: var(--sand); }
  .hd__cta { display: inline-flex; }
  .hd__act > .devise { display: block; }
}
@media (min-width: 1100px) and (max-width: 1240px) { .hd__tel span { display: none; } }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: center; color: #fff; padding: calc(var(--hd) + 32px) 0 32px; isolation: isolate; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,25,40,.62) 0%, rgba(20,25,40,.2) 70%), linear-gradient(180deg, rgba(20,25,40,.5) 0%, rgba(20,25,40,.1) 45%, rgba(20,25,40,.65) 100%); }
.hero__in { position: relative; }
.hero__title { color: #fff; font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.04; max-width: 18ch; margin-bottom: 14px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__title em { color: var(--gold-l); }
.hero__lead { max-width: 60ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.9); margin-bottom: 26px; }
.hero__quick { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; font-size: .9rem; }
.hero__quick span { opacity: .8; }
.hero__quick a { border-bottom: 1px solid rgba(255,255,255,.45); }
.hero__quick a:hover { border-color: #fff; }
.hero__stats { display: flex; gap: 22px; margin-top: 30px; font-size: .9rem; }
.hero__stats a { display: inline-flex; align-items: baseline; gap: 6px; }
.hero__stats b { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--gold-l); line-height: 1; }

/* ---------- Barre de recherche ---------- */
.sb { position: relative; color: var(--ink); max-width: 1120px; }
.sb__offre { display: inline-flex; gap: 4px; padding: 4px; background: rgba(255,255,255,.18); border-radius: 999px; margin-bottom: 10px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sb--list .sb__offre { background: var(--sand-2); backdrop-filter: none; }
.sb__offre label { position: relative; }
.sb__offre input { position: absolute; opacity: 0; pointer-events: none; }
.sb__offre span { display: block; padding: 8px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.sb--list .sb__offre span { color: var(--navy); }
.sb__offre input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.sb__offre input:focus-visible + span { outline: 2px solid var(--gold); }
.sb__bar { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; background: #fff; border-radius: 20px; padding: 8px; box-shadow: var(--sh-l); }
.sb--list .sb__bar { box-shadow: var(--sh); border: 1px solid var(--line); }
.sb__field { position: relative; min-width: 0; text-align: left; }
.sb__field--loc { grid-column: 1 / -1; padding: 8px 12px 6px; border-radius: 14px; background: var(--sand); }
.sb__lbl { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sb__loc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 32px; }
.sb__loc input { flex: 1 1 140px; min-width: 120px; border: 0; background: transparent; padding: 4px 0; font-size: 1rem; outline: none; }
.sb__loc input::placeholder { color: #8b90a0; }
.sb__chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 600; }
.sb__chip button { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.sb__chip button:hover { background: rgba(255,255,255,.2); }
.sb__chip .ico { width: 14px; height: 14px; }
.sb__sugg { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r); box-shadow: var(--sh-l); padding: 6px; max-height: 340px; overflow-y: auto; }
.sb__sugg li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.sb__sugg li .ico { color: var(--muted); width: 18px; height: 18px; }
.sb__sugg li span { flex: 1; min-width: 0; }
.sb__sugg li small { display: block; color: var(--muted); font-size: .8rem; }
.sb__sugg li b { font-size: .8rem; font-weight: 600; color: var(--muted); }
.sb__sugg li.is-active, .sb__sugg li:hover { background: var(--sand); }
.sb__sugg mark { background: none; color: var(--gold-d); font-weight: 700; }
.sb__sugg .sb__sugg-h { cursor: default; padding: 8px 12px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sb__sugg .sb__sugg-h:hover { background: none; }
.sb__sugg .sb__sugg-empty { cursor: default; color: var(--muted); }
.sb__btn { display: none; }
.sb__filters { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 52px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; }
.sb__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #fff; font-size: .75rem; line-height: 20px; }
.sb__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 700; transition: background .2s; }
.sb__go:hover { background: var(--brand); }
.sb__n { font-weight: 600; opacity: .8; }
.sb__n:not(:empty)::before { content: "· "; }
.sb--list .sb__go-txt { display: none; }
.sb--list .sb__go .sb__n:not(:empty)::before { content: ""; }
.sb--list .sb__go { min-width: 52px; }

.sb__sheet { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; max-height: 88svh; display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); animation: sheet .3s var(--ease); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
/* Voile du panneau Filtres sur mobile : .sb__backdrop (dans le même calque que le panneau) */
.sb__sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.sb__x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.sb__x:hover { background: var(--sand); }
.sb__panels { overflow-y: auto; padding: 6px 18px 18px; overscroll-behavior: contain; }
.sb__panel { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sb__panel:last-child { border-bottom: 0; }
.sb__h { margin: 12px 0 10px; font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--navy); }
.sb__h:first-child { margin-top: 0; }
.sb__h small { font-weight: 500; color: var(--muted); }
.sb__wait { color: var(--muted); font-size: .9rem; }
.sb__sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sb__sheet-foot .btn { flex: 1; max-width: 260px; }
.sb__range { display: flex; align-items: flex-end; gap: 10px; }
.sb__range .fld { flex: 1; margin: 0; }
.sb__dash { padding-bottom: 14px; color: var(--muted); }
.ty { border-radius: 12px; }
.ty + .ty { margin-top: 2px; }
.ty__row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; cursor: pointer; }
.ty__row:hover { background: var(--sand); }
.ty__row input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.ty__row span { flex: 1; font-weight: 500; }
.ty__row b { font-size: .82rem; font-weight: 600; color: var(--muted); }
.ty__row--sub { padding: 7px 8px 7px 40px; font-size: .93rem; }
.ty__row.is-zero { opacity: .45; }

@media (min-width: 720px) {
  .sb__bar { grid-template-columns: minmax(0, 1fr) auto auto; }
  .sb__field--loc { grid-column: auto; }
}
@media (min-width: 1024px) {
  .sb__bar { grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(0, 1fr)) auto; gap: 0; align-items: stretch; padding: 8px 8px 8px 8px; }
  .sb__field--loc { background: none; padding: 8px 16px; }
  .sb__btn { display: flex; flex-direction: column; justify-content: center; padding: 8px 34px 8px 16px; border-left: 1px solid var(--line); border-radius: 0; min-height: 60px; }
  .sb__btn:hover { background: var(--sand); }
  .sb__btn[aria-expanded="true"] { background: var(--sand); border-radius: 12px; }
  .sb__val { display: block; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb__val.is-set { color: var(--navy); }
  .sb__val:not(.is-set) { color: #8b90a0; font-weight: 500; }
  .sb__chev { position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--muted); transition: transform .2s; }
  .sb__btn[aria-expanded="true"] .sb__chev { transform: rotate(180deg); }
  .sb__filters { display: none; }
  .sb__go { margin-left: 8px; min-height: 60px; border-radius: 14px; padding: 0 26px; }
  .sb--list .sb__go-txt { display: inline; }
  .sb--list .sb__go .sb__n:not(:empty)::before { content: "· "; }
  .sb__sheet { position: absolute; bottom: auto; top: calc(100% + 10px); left: var(--sheet-x, 0); right: auto; width: 380px; max-height: none; border-radius: var(--r); box-shadow: var(--sh-l); animation: pop .2s var(--ease); }
  @keyframes pop { from { transform: translateY(-6px); opacity: 0; } }
  .sb-open::before { display: none; }
  .sb__sheet-head { display: none; }
  .sb__panels { max-height: 420px; padding: 4px 18px; }
  .sb__sheet.is-one .sb__panel:not(.is-on) { display: none; }
  .sb__sheet.is-one .sb__panel { border: 0; }
  .sb__sheet-foot { padding: 10px 18px; }
  .sb__sheet-foot .btn { min-height: 42px; }
}

/* ---------- Champs ---------- */
.fld { display: block; margin-bottom: 14px; }
.fld > span, .fld > label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.fld input, .fld select, .fld textarea, .tel { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361687A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .tel:focus-within { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(62,74,106,.15); }
.fld.has-error input, .fld.has-error textarea, .fld.has-error .tel { border-color: var(--err); }
.tel { display: flex; padding: 0; overflow: hidden; }
.tel__code { appearance: none; -webkit-appearance: none; border: 0; border-right: 1px solid var(--line); background: var(--sand); padding: 0 12px; font-size: .88rem; font-weight: 600; width: 104px; flex: none; text-align: center; }
.tel input { border: 0; min-height: 48px; border-radius: 0; box-shadow: none !important; }
.hp { position: absolute !important; left: -9999px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .15s; background: #fff; }
.seg span:hover { border-color: var(--brand); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span, .chips--static .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 500; background: #fff; cursor: pointer; transition: all .15s; }
.chips--static .chip { cursor: default; background: var(--sand); border-color: transparent; }
.chips--static .ico { width: 16px; height: 16px; color: var(--gold-d); }
.chip > span b { font-weight: 600; color: var(--muted); font-size: .8rem; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span b { color: rgba(255,255,255,.75); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: default; }

/* ---------- Sections ---------- */
.sec { padding: 64px 0; }
.sec--tight { padding: 40px 0 64px; }
.sec--sand { background: var(--sand); }
.sec--navy { background: var(--navy); color: #fff; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.sec__foot { margin-top: 36px; text-align: center; }
@media (min-width: 1024px) { .sec { padding: 96px 0; } }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand-2); }
.tabs button { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.tabs b { font-weight: 600; color: var(--gold-d); }

/* ---------- Cartes de biens ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-l); }
.card.is-hidden { display: none; }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--sand-2) url("../img/logo-mark.svg") no-repeat center / 64px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media img.is-broken { opacity: 0; }
.card__tag, .tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--navy); }
.card__tag { position: absolute; top: 12px; left: 12px; }
.card__tag--location, .tag--location { background: var(--navy); color: #fff; }
.card__tag--saison, .tag--saison { background: var(--gold); color: #fff; }
.tag--vente { background: var(--sand-2); }
.tag--label { background: var(--gold-l); color: var(--gold-d); }
.card__label { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(31,38,58,.82); color: #fff; font-size: .75rem; font-weight: 600; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card__price { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--navy); }
.card__price small, .pd__price small, .contact-card__price small, .cmp__price small { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); }
.price-ask { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--gold-d); }
.card__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__loc { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .88rem; color: var(--muted); }
.card__loc .ico { width: 16px; height: 16px; }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink); }
.card__specs li { display: inline-flex; align-items: center; gap: 6px; }
.card__specs .ico { width: 17px; height: 17px; color: var(--brand-l); }
.card__fav { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .2s var(--ease), color .2s; }
.card__fav:hover { transform: scale(1.08); }
.card__fav[aria-pressed="true"], .act[aria-pressed="true"] { color: #C2410C; }
.card__fav[aria-pressed="true"] .ico, .act[data-fav][aria-pressed="true"] .ico { fill: currentColor; }

/* ---------- Recherches rapides & quartiers ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; background: var(--navy); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20,25,40,.78)); }
.tile:hover img { transform: scale(1.06); }
.tile__txt { position: absolute; left: 16px; right: 56px; bottom: 14px; }
.tile__txt strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.tile__txt small { font-size: .85rem; opacity: .85; }
.tile__go { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .2s; }
.tile:hover .tile__go { background: var(--gold); }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
  .tile { aspect-ratio: auto; }
  .tile--big { grid-column: span 2; grid-row: span 2; }
  .tile--big .tile__txt strong { font-size: 2.2rem; }
}
.places { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.place { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.place:hover { border-color: transparent; box-shadow: var(--sh); }
.place__img { width: 96px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--sand-2); }
.place__img img { width: 100%; height: 100%; object-fit: cover; }
.place__txt strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); line-height: 1.15; }
.place__txt small { color: var(--muted); font-size: .85rem; }
.place__n { padding: 4px 10px; border-radius: 999px; background: var(--sand); font-size: .8rem; font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ---------- Agence, citation, visite ---------- */
.about__in, .about--page { display: grid; gap: 36px; align-items: center; }
.about__img { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; max-height: 620px; background: var(--sand-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .8rem; font-weight: 600; color: var(--navy); }
.about__txt > p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.about__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.points { display: grid; gap: 18px; margin: 26px 0 28px; }
.points li { display: flex; gap: 16px; }
.points__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--gold-d); box-shadow: var(--sh); }
.points strong { display: block; color: var(--navy); margin-bottom: 2px; }
.points p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) {
  .about__in, .about--page { grid-template-columns: 5fr 6fr; gap: 72px; }
}
.quote { position: relative; padding: 110px 0; color: #fff; isolation: isolate; overflow: hidden; text-align: center; }
.quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23,29,46,.66); }
.quote blockquote { margin: 0 auto 30px; max-width: 900px; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.25; font-style: italic; }
.quote .kicker { justify-content: center; }
.visit__in { display: grid; gap: 32px; align-items: center; }
.visit__addr { display: flex; gap: 12px; margin: 18px 0 22px; font-size: 1.1rem; color: var(--ink); }
.visit__addr .ico { color: var(--gold-d); width: 24px; height: 24px; margin-top: 2px; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { background: var(--sand); border-radius: var(--r); padding: 24px; }
.sec--sand .hours { background: #fff; }
.hours h2, .hours h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border: 0; }
.hours b { font-weight: 600; text-align: right; }
@media (min-width: 900px) { .visit__in { grid-template-columns: 1.2fr 1fr; gap: 72px; } }

/* ---------- Bandeau propriétaires & pied de page ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 52px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.cta-band__in { display: grid; gap: 24px; align-items: center; position: relative; }
.cta-band__title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1fr auto; } }
.ft { background: var(--navy); color: rgba(255,255,255,.78); padding: 64px 0 0; font-size: .94rem; }
.ft__grid { display: grid; gap: 36px; }
.ft__brand img { height: 84px; width: auto; margin-bottom: 18px; }
.ft__brand p { max-width: 34ch; }
.ft__social { display: flex; gap: 8px; }
.ft__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.ft__social a:hover { background: var(--gold); border-color: var(--gold); }
.ft__h { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 16px; }
.ft__list li + li { margin-top: 8px; }
.ft a:hover { color: #fff; }
.ft__contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.ft__contact .ico { color: var(--gold-l); margin-top: 3px; width: 18px; height: 18px; }
.ft__h-row { display: block; }
.ft__h-row b { color: #fff; font-weight: 600; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding: 22px 16px 96px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.55); }
.ft__bottom a { color: rgba(255,255,255,.75); }
@media (min-width: 720px) { .ft__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ft__grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } .ft__bottom { padding-bottom: 26px; } }
/* Contact flottant : bouton principal animé (pulsation, petit balancement), canaux déployés au clic */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__main { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; box-shadow: 0 10px 26px rgba(176,141,87,.45); transition: background .2s, transform .25s var(--ease); animation: fab-wiggle 6s ease-in-out 3s infinite; }
.fab__main:hover { background: var(--gold-d); transform: scale(1.05); }
.fab__main .ico { position: absolute; width: 28px; height: 28px; transition: opacity .2s, transform .3s var(--ease); }
.fab__close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab.is-open .fab__open { opacity: 0; transform: rotate(90deg) scale(.6); }
.fab.is-open .fab__close { opacity: 1; transform: none; }
.fab.is-open .fab__main { animation: none; background: var(--navy); box-shadow: 0 10px 26px rgba(31,38,58,.4); }
.fab__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: fab-pulse 2.2s ease-out infinite; pointer-events: none; }
.fab.is-open .fab__ring { display: none; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .75; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fab-wiggle { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } 94% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); } }
.fab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__item { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .25s, transform .3s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.fab.is-open .fab__item { opacity: 1; transform: none; }
.fab__label { padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--navy); font-size: .88rem; font-weight: 600; box-shadow: var(--sh); white-space: nowrap; }
.fab__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); box-shadow: 0 6px 16px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.fab__ico .ico { width: 23px; height: 23px; }
.fab__item:hover .fab__ico, .fab__item:focus-visible .fab__ico { transform: scale(1.08); }
.fab__item--wa .fab__ico { background: var(--wa); }
.fab__item--msg .fab__ico { background: #0A7CFF; }
.fab__item--mail .fab__ico { background: var(--brand); }
.fab__item--form .fab__ico { background: var(--gold-d); }
.fab__hint { cursor: pointer; position: absolute; right: 72px; bottom: 10px; margin: 0; padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: .88rem; box-shadow: var(--sh-l); white-space: nowrap; animation: fab-hint .4s var(--ease); }
.fab__hint b { color: var(--gold-d); }
.fab__hint::after { content: ""; position: absolute; right: -6px; bottom: 16px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
@keyframes fab-hint { from { opacity: 0; transform: translateX(10px); } }
.to-top { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--sh); margin-right: 7px; transition: transform .2s var(--ease), background .2s; }
.to-top .ico { transform: rotate(180deg); }
.to-top:hover { background: var(--sand); transform: translateY(-3px); }
.fab.is-open .to-top { display: none; }
.p-detailbien .fab { bottom: 84px; }
@media (min-width: 1024px) { .p-detailbien .fab { bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .fab__ring { display: none; } }
/* ---------- Pages de liste ---------- */
.lh { padding: 28px 0 12px; background: var(--sand); }
.lh__title { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 8px 0 6px; }
.lh__lead { color: var(--muted); max-width: 70ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs--light, .crumbs--light [aria-current] { color: rgba(255,255,255,.85); }
.lb-bar { position: sticky; top: var(--hd); z-index: 40; background: var(--sand); padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.lb-bar .sb__offre { margin-bottom: 8px; }
@media (max-width: 1023px) { .lb-bar { position: relative; top: 0; } }
.results { padding-top: 22px; padding-bottom: 64px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.active-chips:not(:empty) { margin-bottom: 14px; }
.ac { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy); }
.ac .ico { width: 15px; height: 15px; }
.ac:hover { border-color: var(--navy); }
.ac--clear { border: 0; background: none; text-decoration: underline; color: var(--muted); }
.tb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tb__count { margin: 0; color: var(--muted); }
.tb__count b { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); }
.tb__sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.tb__sort select { min-height: 42px; padding: 8px 36px 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361687A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; -webkit-appearance: none; font-weight: 600; color: var(--navy); }
.more { text-align: center; margin-top: 36px; }
.more p { color: var(--muted); font-size: .9rem; }
.empty { text-align: center; max-width: 560px; margin: 24px auto; padding: 44px 24px; border-radius: var(--r); background: var(--sand); }
.empty img { width: 64px; margin: 0 auto 16px; opacity: .8; }
.empty h2 { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); margin-bottom: 8px; }
.empty p { color: var(--muted); }
.empty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.seo-links { padding-bottom: 64px; }
.seo-links__h { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.seo-links ul { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--sand); font-size: .88rem; }
.seo-links a:hover { background: var(--sand-2); }
.seo-links span { color: var(--muted); }
.seo-links__txt { margin-top: 18px; color: var(--muted); }

/* ---------- En-tête des pages intérieures ---------- */
.ph { padding: 34px 0 30px; background: var(--sand); }
.ph__title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 10px 0 8px; }
.ph__lead { color: var(--muted); max-width: 66ch; margin: 0; font-size: 1.05rem; }
.ph--img { position: relative; color: #fff; padding: 120px 0 44px; isolation: isolate; overflow: hidden; background: var(--navy); }
.ph--img .ph__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ph--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,25,40,.35), rgba(20,25,40,.75)); }
.ph--img .ph__title { color: #fff; }
.ph--img .ph__title em { color: var(--gold-l); }
.ph--img .ph__lead { color: rgba(255,255,255,.88); }
@media (min-width: 1024px) { .ph--img { padding: 150px 0 60px; } }

/* ---------- Fiche bien ---------- */
.pd { padding: 20px 0 40px; }
.pd__head { display: grid; gap: 16px; margin: 16px 0 20px; }
.pd__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.pd__ref { font-size: .82rem; color: var(--muted); }
.pd__title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.1; }
.pd__loc { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--muted); }
.pd__loc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.pd__price { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; color: var(--navy); line-height: 1; margin: 0 0 12px; }
.pd__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.act { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; }
.act:hover { border-color: var(--navy); }
.act .ico { width: 18px; height: 18px; }
@media (min-width: 900px) { .pd__head { grid-template-columns: 1fr auto; align-items: end; } .pd__price-box { text-align: right; } .pd__acts { justify-content: flex-end; } }
.gal { position: relative; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.gal__item { flex: 0 0 88%; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; scroll-snap-align: center; background: var(--sand-2); }
.gal[data-n="1"] .gal__item { flex-basis: 100%; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal__all { display: none; }
.gal__count { position: absolute; right: 26px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(20,25,40,.7); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
@media (min-width: 900px) {
  .gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; margin: 0; padding: 0; overflow: visible; border-radius: var(--r); }
  .gal__item { aspect-ratio: auto; border-radius: 0; }
  .gal__item:first-child { grid-row: span 2; }
  .gal__item:nth-child(n+6) { display: none; }
  .gal__item:hover img { transform: scale(1.04); }
  .gal[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 470px; }
  .gal[data-n="2"] { grid-template-columns: 2fr 1fr; }
  .gal[data-n="2"] .gal__item:nth-child(2) { grid-row: span 2; }
  .gal[data-n="3"] { grid-template-columns: 2fr 1fr; }
  .gal[data-n="4"] { grid-template-columns: 2fr 1fr 1fr; }
  .gal[data-n="4"] .gal__item:nth-child(2) { grid-row: span 2; }
  .gal__item:first-child { border-radius: var(--r) 0 0 var(--r); }
  .gal__all { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; box-shadow: var(--sh); }
  .gal__count { display: none; }
}
.pd__grid { display: grid; gap: 32px; margin-top: 28px; }
@media (min-width: 1024px) { .pd__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } .pd__aside { position: relative; } .contact-card { position: sticky; top: calc(var(--hd) + 20px); } }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.specs li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--sand); }
.specs__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--gold-d); }
.specs small { display: block; font-size: .75rem; color: var(--muted); }
.specs strong { font-size: .98rem; color: var(--navy); }
.blk { padding: 30px 0; border-bottom: 1px solid var(--line); }
.blk:last-child { border: 0; }
.blk__h { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); margin-bottom: 14px; }
.prose { color: #3a4052; }
.prose p { margin-bottom: 1em; }
.prose h2 { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); margin: 1.4em 0 .5em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose--page { max-width: 820px; }
.prose--fold { position: relative; }
.prose--fold.is-folded { max-height: 260px; overflow: hidden; }
.prose--fold.is-folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); }
.fold-btn { margin-top: 8px; }
.amen { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.amen h3 { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.amen li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .94rem; }
.amen .ico { width: 16px; height: 16px; color: var(--gold-d); }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy) url("../img/site/interieur.webp") center / cover; }
.frame--360 { aspect-ratio: 4 / 3; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-weight: 600; background: rgba(20,25,40,.5); }
.frame__play span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); }
.credit__grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .credit__grid { grid-template-columns: 1fr 260px; align-items: center; } }
.rng { display: block; margin-bottom: 18px; }
.rng span { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.rng output { color: var(--gold-d); }
.rng input { width: 100%; accent-color: var(--navy); }
.credit__res { padding: 24px; border-radius: var(--r); background: var(--navy); color: #fff; text-align: center; }
.credit__res p { margin: 0; opacity: .8; font-size: .9rem; }
.credit__res strong { display: block; margin: 8px 0; font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.credit__res small { font-family: var(--sans); font-size: .85rem; opacity: .8; }
.map-box { position: relative; height: 340px; border-radius: var(--r); overflow: hidden; background: var(--sand-2) url("../img/site/sidi-bou-said.webp") center / cover; }
.map-box--wide { height: 380px; margin-bottom: 64px; }
.map-box iframe, .map-box .leaflet-container { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box__btn { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--sh-l); }
.contact-card { padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--sh-l); border: 1px solid var(--line); }
.contact-card__price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; line-height: 1.1; }
.contact-card__txt { color: var(--muted); font-size: .94rem; }
.contact-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.contact-card__btns .btn { padding: 10px; }
.pd-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.pd-bar__price { flex: 1; margin: 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); line-height: 1.1; min-width: 0; }
.pd-bar__price small { font-family: var(--sans); font-size: .72rem; color: var(--muted); }
.pd-bar__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); }
.pd-bar__ico--wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.p-detailbien .ft__bottom { padding-bottom: 110px; }
@media (min-width: 1024px) { .pd-bar { display: none; } .p-detailbien .ft__bottom { padding-bottom: 26px; } }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(12,15,25,.95); display: flex; align-items: center; justify-content: center; }
.lb__fig { margin: 0; max-width: 92vw; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; }
.lb__fig img { max-width: 92vw; max-height: 82vh; margin: 0 auto 12px; border-radius: 8px; object-fit: contain; }
.lb__x, .lb__nav { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.lb__x { top: 16px; right: 16px; }
.lb__nav { top: 50%; margin-top: -24px; }
.lb__nav--prev { left: 12px; } .lb__nav--prev .ico { transform: rotate(90deg); }
.lb__nav--next { right: 12px; } .lb__nav--next .ico { transform: rotate(-90deg); }
.lb__x:hover, .lb__nav:hover { background: var(--gold); }

/* ---------- Formulaires ---------- */
.form--card { padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--sh-l); border: 1px solid var(--line); }
@media (min-width: 720px) { .form--card { padding: 34px; } }
.form__h { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); margin-bottom: 18px; }
.form__row { display: grid; gap: 0 14px; }
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.fset { border: 0; padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.fset legend { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.seg--wrap { margin-bottom: 16px; }
.chips--pick { margin-top: 4px; }
.captcha { margin: 6px 0 14px; min-height: 0; }
.form-msg { padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin: 0 0 14px; }
.form-msg.is-ok { background: #E7F4EE; color: var(--ok); }
.form-msg.is-err { background: #FBEAEA; color: var(--err); }
.contact { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; } }
.cinfo { display: grid; gap: 12px; margin-bottom: 22px; }
.cinfo li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--sand); }
.cinfo__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--gold-d); }
.cinfo small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.cinfo a { font-weight: 600; color: var(--navy); }
.est { display: grid; gap: 32px; }
@media (min-width: 1024px) { .est { grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; } .est__side { position: sticky; top: calc(var(--hd) + 24px); } }
.steps { display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; }
.steps b { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.3rem; }
.steps strong { display: block; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.est__call { margin-top: 26px; padding: 18px; border-radius: var(--r); background: var(--sand); }
.est__call a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.engage { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: e; }
.engage li { padding: 26px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.engage__n { font-family: var(--serif); font-size: 2.4rem; color: var(--gold-l); line-height: 1; }
.engage h3 { font-family: var(--sans); font-size: 1.05rem; color: #fff; margin: 12px 0 8px; }
.engage p { margin: 0; color: rgba(255,255,255,.75); }

/* ---------- Comparateur, carte ---------- */
.cmp__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cmp__scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.cmp { border-collapse: collapse; min-width: 100%; font-size: .93rem; }
.cmp th, .cmp td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 210px; }
.cmp tbody th { position: sticky; left: 0; background: var(--sand); min-width: 130px; font-weight: 600; color: var(--navy); }
.cmp__corner { background: var(--sand); }
.cmp__media { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 8px; background: var(--sand-2); }
.cmp__media img { width: 100%; height: 100%; object-fit: cover; }
.cmp__title { display: block; font-weight: 600; margin-bottom: 4px; }
.cmp__price { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.cmp .is-best { background: #F1F7F3; }
.cmp__best { display: block; margin-top: 4px; font-size: .75rem; font-weight: 700; color: var(--ok); }
.cmp__feat li { display: flex; align-items: center; gap: 6px; }
.cmp__feat .ico { width: 15px; height: 15px; color: var(--ok); }
.mapp { padding: 20px 0 40px; }
.mapp__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.mapp__canvas { height: calc(100svh - var(--hd) - 190px); min-height: 420px; background: var(--sand-2); }
.mk { padding: 4px 9px; border-radius: 999px; background: var(--navy); color: #fff; font: 700 12px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.25); transform: translate(-50%, -50%); width: max-content; }
.mk--location { background: var(--gold); }
.mk-pop { width: 220px; font-family: var(--sans); }
.mk-pop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.mk-pop b { display: block; color: var(--navy); }
.leaflet-container a.mk-pop { color: var(--ink); }

/* ---------- Bandeau cookies, notification, popup ---------- */
.ck { position: fixed; z-index: 110; left: 16px; right: 16px; bottom: 16px; max-width: 520px; padding: 20px; border-radius: var(--r); background: var(--navy); color: rgba(255,255,255,.85); box-shadow: var(--sh-l); font-size: .9rem; }
.ck strong { display: block; color: #fff; margin-bottom: 4px; }
.ck p { margin: 0 0 14px; }
.ck a { color: var(--gold-l); text-decoration: underline; }
.ck__btns { display: flex; gap: 10px; }
.ck .btn { min-height: 42px; flex: 1; }
.toast { position: fixed; z-index: 130; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: var(--sh-l); opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.popup { position: fixed; inset: 0; z-index: 125; display: grid; place-items: center; padding: 16px; }
.popup__bg { position: absolute; inset: 0; background: rgba(12,15,25,.7); }
.popup__box { position: relative; max-width: 520px; border-radius: var(--r); overflow: hidden; }
.popup__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 479px) {
  .sb__go { flex-wrap: wrap; align-content: center; gap: 0 8px; line-height: 1.15; white-space: nowrap; }
  .sb__go .sb__n { flex-basis: 100%; text-align: center; font-size: .75rem; }
  .sb__go .sb__n:not(:empty)::before { content: ""; }
}

/* ---------- Carrousel de photos des cartes ---------- */
.card__nav { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 3; pointer-events: none; }
.card__arrow { position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.18); pointer-events: auto; opacity: 0; transition: opacity .2s, transform .2s var(--ease); }
.card__arrow .ico { width: 18px; height: 18px; }
.card__arrow--prev { left: 10px; } .card__arrow--prev .ico { transform: rotate(90deg); }
.card__arrow--next { right: 10px; } .card__arrow--next .ico { transform: rotate(-90deg); }
.card__arrow:hover { transform: scale(1.08); }
.card:hover .card__arrow, .card__arrow:focus-visible { opacity: 1; }
.card__dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 5px; }
.card__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 3px rgba(0,0,0,.3); transition: background .2s, transform .2s; }
.card__dots i.is-on { background: #fff; transform: scale(1.25); }
.card__media img { transition: transform .6s var(--ease), opacity .25s; }
@media (hover: none) {
  .card__arrow { opacity: 1; width: 32px; height: 32px; margin-top: -16px; background: rgba(255,255,255,.8); }
  .card:hover { transform: none; }
}
/* La pastille « Coup de cœur » remonte un peu pour laisser la place aux points */
.card__nav ~ .card__fav { z-index: 2; }
.card:has(.card__nav) .card__label { bottom: 30px; }

/* ---------- Devise (drapeaux) ---------- */
.cur { position: relative; }
.cur__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 10px 6px 8px; border-radius: 999px; border: 1px solid rgba(127,127,127,.35); font-size: .85rem; font-weight: 700; }
.cur__btn:hover { border-color: currentColor; }
.flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.cur__chev { width: 14px; height: 14px; transition: transform .2s; }
.cur__btn[aria-expanded="true"] .cur__chev { transform: rotate(180deg); }
.cur__list { position: absolute; z-index: 70; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--sh-l); }
.nav .cur__list { right: auto; left: 0; top: auto; bottom: calc(100% + 8px); }
.cur__list button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; text-align: left; font-size: .92rem; }
.cur__list button:hover, .cur__list button:focus-visible { background: var(--sand); }
.cur__list span { flex: 1; }
.cur__list b { font-size: .78rem; color: var(--muted); }
.cur__list [aria-current] { background: var(--sand); font-weight: 700; }
.hd__act > .cur { display: none; }
@media (min-width: 1100px) { .hd__act > .cur { display: block; } }
.nav__cur-lbl { font-size: .9rem; color: var(--muted); font-weight: 600; }
.nav__foot-row + .nav__foot-row { padding-top: 4px; }

/* ---------- Comparer depuis une carte ---------- */
.card__cmp { position: absolute; top: 10px; right: 56px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .2s var(--ease), background .2s, color .2s; z-index: 2; }
.card__cmp:hover { transform: scale(1.08); }
.card__cmp[aria-pressed="true"] { background: var(--navy); color: #fff; }
.card__fav { z-index: 2; }
.hd__icon b.js-cmp-count { background: var(--brand); }
.toast--link { pointer-events: auto; }
.toast a { color: var(--gold-l); text-decoration: underline; margin-left: 6px; white-space: nowrap; }
@media (min-width: 900px) {
  .tiles:not(.tiles--n5) { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
  .tiles--n4 { grid-template-columns: repeat(2, 1fr); }
}
/* Pages de liste : onglet de transaction actif bien visible sur le fond sable */
.sb--list .sb__offre input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.sb--list .sb__offre span:hover { background: rgba(31,38,58,.06); }
.sb--list .sb__offre input:checked + span:hover { background: var(--navy); }
/* Téléphone : indicatif à largeur fixe, numéro sur le reste (règles plus précises que .fld select / .fld input) */
.fld .tel { display: flex; padding: 0; overflow: hidden; }
.fld .tel .tel__code { flex: 0 0 108px; width: 108px; min-height: 48px; padding: 0 26px 0 10px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background-color: var(--sand); background-position: right 6px center; background-size: 14px; font-size: .88rem; font-weight: 600; box-shadow: none; }
.fld .tel input { flex: 1 1 auto; width: auto; min-width: 0; min-height: 48px; border: 0; border-radius: 0; box-shadow: none; }

/* ---------- Formulaire d'estimation dynamique ---------- */
.dyn-grid { display: grid; gap: 0 14px; }
@media (min-width: 720px) { .dyn-grid { grid-template-columns: 1fr 1fr; } }
.dyn-note { margin: -4px 0 14px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--sand); border-radius: 0 10px 10px 0; font-size: .9rem; color: var(--muted); }
.dyn-note:empty { display: none; }
.fld-lbl { margin: 4px 0 8px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.dyn-in { animation: dyn-in .35s var(--ease); }
@keyframes dyn-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Menu mobile : jamais de défilement horizontal ---------- */
@media (max-width: 1099px) { .nav { overflow-x: hidden; overscroll-behavior: contain; } }
.nav__foot-row { flex-wrap: wrap; row-gap: 10px; }
.nav__foot .cur__list { left: auto; right: 0; top: auto; bottom: calc(100% + 8px); max-width: calc(100vw - 32px); }
.nav__fav { padding-right: 0; }

/* ---------- Panneau Filtres sur mobile : au-dessus de tout (en-tête, bouton de contact) ---------- */
.sb__backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(20,25,40,.5); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 1023px) {
  .sb-open { overflow: hidden; }
  .sb-open .hero, .sb-open .lb-bar { z-index: 120; }
  .sb-open .fab, .sb-open .ck { display: none; }
}
@media (min-width: 1024px) { .sb__backdrop { display: none; } }

/* ---------- Mobile : aucune colonne ne doit s'élargir au-delà de l'écran ---------- */
.est > *, .contact > *, .pd__grid > *, .about__in > *, .visit__in > *, .cta-band__in > *, .ft__grid > *, .dyn-grid > *, .form__row > * { min-width: 0; }
.form .btn, .form--card .btn { white-space: normal; text-align: center; }
@media (max-width: 479px) {
  .form--card { padding: 20px 16px; }
  .fset legend { font-size: 1.35rem; }
  .seg span { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
  .form .btn--gold, .form .btn--navy { width: 100%; }
}
.hours li { align-items: flex-start; }
.hours li > span { flex: 1 1 auto; min-width: 0; }
.hours li > b { flex: 0 0 auto; white-space: nowrap; line-height: 1.5; }

/* ---------- Mandat de recherche ---------- */
.mt-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mt-type { display: contents; }
.mt-subs { flex-basis: 100%; padding: 10px 12px; margin: 2px 0 6px; border-radius: 12px; background: var(--sand); }
.chip--sm > span { min-height: 34px; padding: 5px 12px; font-size: .85rem; }
.mt-places { margin-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mt-places__search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--sand); color: var(--muted); }
.mt-places__search input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 46px; font-size: .95rem; outline: none; }
.mt-places__list { max-height: 260px; overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.mt-place { display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 30px; border-radius: 8px; cursor: pointer; font-size: .93rem; }
.mt-place:hover { background: var(--sand); }
.mt-place--d { padding-left: 8px; font-weight: 600; color: var(--navy); }
.mt-place small { font-weight: 400; color: var(--muted); }
.mt-place input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.mt-places__picked { margin: 0; padding: 0 14px 10px; font-size: .85rem; color: var(--gold-d); font-weight: 600; }
.mt-places__picked:empty { display: none; }
.nav__sub a.nav__sub-cta { color: var(--gold-d); font-weight: 600; }
.mandat-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 0 0 40px; padding: 24px 28px; border-radius: var(--r); background: var(--navy); color: rgba(255,255,255,.82); }
.mandat-cta strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.mandat-cta p { margin: 0; max-width: 60ch; }
.sec__foot--2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hd__tel { white-space: nowrap; }
@media (min-width: 1100px) { .nav { overflow: visible; } .nav__list { flex-wrap: nowrap; } .nav__link { white-space: nowrap; } }
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav { margin-left: 8px; }
  .nav__link { padding: 10px 8px; font-size: .92rem; }
  .hd__act { gap: 2px; }
  .hd__cta { padding: 8px 14px; }
}

/* ---------- Favoris et comparateur flottants (au-dessus du bouton de contact) ---------- */
.dock { position: relative; width: 50px; height: 50px; margin-right: 5px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .2s var(--ease), background .2s; animation: dock-in .35s var(--ease); }
.dock .ico { width: 22px; height: 22px; }
.dock[data-dock="fav"] { color: #C2410C; }
.dock[data-dock="fav"] .ico { fill: currentColor; }
.dock:hover, .dock[aria-current] { background: var(--sand); transform: translateY(-2px); }
.dock b { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--navy); color: #fff; font-size: .75rem; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.dock[data-dock="fav"] b { background: var(--gold); }
.dock__label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.dock:hover .dock__label, .dock:focus-visible .dock__label { opacity: 1; transform: translate(0, -50%); }
.dock.is-bump { animation: dock-bump .45s var(--ease); }
@keyframes dock-in { from { opacity: 0; transform: scale(.6); } }
@keyframes dock-bump { 30% { transform: scale(1.18); } 60% { transform: scale(.95); } }
.fab.is-open .dock { display: none; }
@media (hover: none) { .dock__label { display: none; } }

/* ---------- Logo plus grand dans l'en-tête ---------- */
:root { --hd: 80px; }
.hd__logo img { height: 62px; }
@media (min-width: 1100px) {
  :root { --hd: 96px; }
  .hd__logo img { height: 78px; }
}
/* Titre de l'accueil : « Agence Villa » puis la ligne « Agence immobilière à La Marsa » */
.hero__title { max-width: none; }
.hero__title em { display: block; font-size: .56em; line-height: 1.15; margin-top: .15em; }

/* ---------- Téléphone international (intl-tel-input) ---------- */
.fld--tel .iti { display: block; width: 100%; }
.fld--tel .iti input[type="tel"] { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1rem; }
.fld--tel .iti input[type="tel"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(62,74,106,.15); }
.fld--tel.has-error .iti input { border-color: var(--err); }
.iti--separate-dial-code .iti__selected-flag { background: var(--sand); border-radius: 12px 0 0 12px; border-right: 1px solid var(--line); padding: 0 10px 0 12px; }
.iti--separate-dial-code .iti__selected-dial-code { font-weight: 600; color: var(--navy); font-size: .95rem; }
.iti__flag-container:hover .iti__selected-flag { background: var(--sand-2) !important; }
.iti--container { z-index: 130; }
.iti__country-list { border: 0; border-radius: 12px; box-shadow: var(--sh-l); font-size: .92rem; max-width: calc(100vw - 32px); white-space: normal; }
.iti__country { padding: 8px 12px; }
.iti__country.iti__highlight { background: var(--sand); }
.iti__divider { border-color: var(--line); }

/* ---------- Carrousel des biens sur mobile (sélection de l'accueil, biens similaires) ---------- */
.carousel-bar { display: none; }
@media (max-width: 719px) {
  .js-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 6px 16px 18px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .js-carousel::-webkit-scrollbar { display: none; }
  .js-carousel > .card { flex: 0 0 84%; scroll-snap-align: start; }
  .js-carousel > .card:hover { transform: none; }
  .carousel-bar { display: block; position: relative; height: 4px; margin: 2px auto 0; width: 46%; border-radius: 2px; background: var(--sand-2); overflow: hidden; }
  .carousel-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; border-radius: 2px; background: var(--navy); transition: transform .12s linear; }
  .sec--sand .carousel-bar { background: rgba(31,38,58,.12); }
}

/* ---------- Cartes Leaflet : sous l'en-tête et le menu (leurs calques montent jusqu'à 1000) ---------- */
.mapp__canvas, .map-box { position: relative; z-index: 0; isolation: isolate; }
.mk-cl { display: grid; place-items: center; border-radius: 50%; background: rgba(31,38,58,.92); color: #fff; font: 700 13px/1 var(--sans); box-shadow: 0 0 0 5px rgba(176,141,87,.45), 0 4px 12px rgba(0,0,0,.25); }
.mk-cl span { display: block; }
.leaflet-marker-icon.mk-cl { display: flex !important; align-items: center; justify-content: center; text-align: center; }
.mk-cl span { line-height: 1; margin: 0; padding: 0; }

/* ---------- Mobile : le copyright en dernière ligne du pied de page (règle commune aux sites) ---------- */
@media (max-width: 719px) {
  .ft__bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .ft__bottom > span:first-child { order: 2; }
}
/* Photo d'accueil (villa à l'heure bleue) : voile plus léger pour garder la photo lumineuse */
.hero::after { background: linear-gradient(90deg, rgba(20,25,40,.5) 0%, rgba(20,25,40,.12) 65%), linear-gradient(180deg, rgba(20,25,40,.35) 0%, rgba(20,25,40,0) 40%, rgba(20,25,40,.55) 100%); }

/* ---------- Localisation : délégations et localités à cocher ---------- */
.sb__sugg { max-height: 380px; }
.sb__sugg li.sg { gap: 10px; padding: 9px 12px; }
.sb__sugg li.sg--d { font-weight: 600; color: var(--navy); margin-top: 2px; }
.sb__sugg li.sg--d + li.sg--d { border-top: 0; }
.sb__sugg li.sg--l { padding-left: 38px; font-size: .94rem; }
.sb__sugg li.sg span small { display: inline; margin-left: 6px; font-weight: 400; }
.sg__box { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border: 1.5px solid #c9c3b8; border-radius: 6px; background: #fff; transition: background .15s, border-color .15s; }
.sg__box .ico { width: 14px; height: 14px; stroke-width: 2.4; color: #fff; opacity: 0; }
.sb__sugg li.sg.is-sel .sg__box { background: var(--navy); border-color: var(--navy); }
.sb__sugg li.sg.is-sel .sg__box .ico { opacity: 1; }
.sb__sugg li.sg.is-sel { background: rgba(31,38,58,.05); }
.sb__sugg li.sg.is-sel.is-active, .sb__sugg li.sg.is-sel:hover { background: var(--sand); }
@media (min-width: 720px) { .sb__sugg { right: auto; width: 380px; max-width: calc(100vw - 48px); } }
.sb__sugg li.sg span { line-height: 1.3; }

/* Référence du bien sur les cartes, à droite du prix */
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card__ref { flex: none; padding: 3px 8px; border-radius: 6px; background: var(--sand); color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
