:root {
  --navy-900: #0b2338;
  --navy-800: #15324b;
  --navy-700: #1d4466;
  --teal: #00a98f;
  --teal-600: #008f79;
  --teal-100: #e6f7f4;
  --gold: #d4a017;
  --wa: #25d366;
  --text: #122033;
  --muted: #5b6b7c;
  --line: #e4eaf0;
  --bg: #f4f7fa;
  --white: #ffffff;
  --danger: #d64545;
  --shadow: 0 18px 50px rgba(11, 35, 56, 0.12);
  --radius: 18px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Manrope", "Inter", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, .btn { font-family: inherit; cursor: pointer; }

.web {
  min-width: 0;
  background: #fff;
}
.topbar {
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topbar span { opacity: 0.85; }
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px 16px;
  padding: 12px 24px;
}
.header-login { white-space: nowrap; }
.header .nav { justify-self: end; flex-wrap: wrap; }
.account { position: relative; }
.account-drop {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 60;
}
.account.is-open .account-drop { display: block; }
.account-drop a, .account-drop button {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  border: 0; background: none; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; color: var(--navy-800);
}
.account-drop a:hover, .account-drop button:hover { background: var(--teal-100); }
.account-drop [data-logout] { color: var(--danger); }
.logout-row { margin-top: 18px; }
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.logo-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  color: var(--navy-800);
}
.logo-type {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.logo-type em {
  font-style: normal;
  color: var(--teal);
  font-weight: 800;
  margin-left: 1px;
  letter-spacing: 0;
}
.logo.logo-lg { font-size: 36px; gap: 12px; }
.logo.logo-lg .logo-mark { width: 56px; height: 56px; }
.splash .logo, .splash .logo-mark { color: #fff; }
.ds-hero .logo { margin: 0 0 18px; }
.logo i { display: none; }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--navy-800); }
.header .grow { flex: 1; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14px;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-800); border: 1px solid var(--line); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.hero {
  position: relative; height: 620px; overflow: hidden; color: #fff;
}
.hero img { position: absolute; inset: 0; filter: brightness(0.62); }
.hero-content {
  position: relative; z-index: 2; max-width: 920px; padding: 110px 48px 0;
}
.kicker {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(0,169,143,0.18); border: 1px solid rgba(0,169,143,0.4);
  color: #b8fff2; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display); font-size: 56px; line-height: 1.05; margin: 18px 0 12px; font-weight: 800;
}
.hero p { font-size: 18px; max-width: 640px; opacity: 0.92; }
.search {
  margin: 28px 0 0; background: #fff; color: var(--text); border-radius: 22px;
  display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; padding: 10px;
  box-shadow: var(--shadow);
}
.search label { display: flex; flex-direction: column; gap: 4px; padding: 10px 16px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.search input, .search select {
  border: 0; outline: 0; font-size: 15px; font-weight: 600; color: var(--navy-800); background: transparent; font-family: inherit;
}
.search .btn { align-self: center; margin-right: 6px; }
.section { padding: 56px 48px; }
.section h2 { font-family: var(--display); font-size: 32px; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 600; color: var(--navy-800);
}
.chip.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(11,35,56,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-photo { position: relative; height: 220px; }
.badge {
  position: absolute; top: 14px; left: 14px; background: #fff; color: var(--navy-800);
  font-size: 11px; font-weight: 800; padding: 5px 9px; border-radius: 999px;
}
.badge.acd { background: #fff4d6; color: #8a6200; }
.badge.cout { background: #ffe8e8; color: #9b1c1c; }
.badge.titre { background: var(--teal-100); color: var(--teal-600); }
.heart {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 16px;
}
.card-body { padding: 16px 18px 18px; }
.price { font-family: var(--display); font-size: 22px; font-weight: 800; margin: 0; white-space: nowrap; }
.price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.card h3 { margin: 6px 0 4px; font-size: 16px; }
.meta { color: var(--muted); font-size: 13px; display: flex; gap: 10px; }
.mosaic {
  display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 250px 250px; gap: 8px;
  height: 508px; padding: 16px 48px 0; border-radius: 0;
}
.mosaic a:first-child { grid-row: 1 / span 2; }
.mosaic a { border-radius: 16px; overflow: hidden; position: relative; }
.mosaic .more {
  position: absolute; right: 12px; bottom: 12px; background: rgba(11,35,56,.82); color: #fff;
  padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.detail { display: grid; grid-template-columns: 1.5fr 380px; gap: 28px; padding: 28px 48px 80px; }
.facts { display: flex; gap: 18px; margin: 16px 0 24px; }
.fact { background: #fff; border-radius: 16px; padding: 14px 16px; min-width: 110px; }
.fact b { display: block; font-size: 18px; }
.fact span { color: var(--muted); font-size: 12px; }
.legal {
  background: var(--teal-100); border-left: 4px solid var(--teal); padding: 16px 18px; border-radius: 12px; margin: 18px 0;
}
.aside {
  background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); position: sticky; top: 92px; height: fit-content;
}
.aside .price { font-size: 28px; }
.agent { display: flex; gap: 12px; align-items: center; margin: 18px 0; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 800; }
.gallery-page { background: #0b2338; color: #fff; min-height: 100vh; }
.gallery-page .header { background: rgba(11,35,56,.9); color: #fff; border: 0; }
.gallery-page .logo, .gallery-page .nav a { color: #fff; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; padding: 24px 48px 80px; }
.gallery-grid a { min-height: 240px; border-radius: 16px; overflow: hidden; }
.gallery-grid a:first-child { grid-row: span 2; min-height: 500px; }
.results-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 28px 48px 80px; }
.filters { background: #fff; border-radius: 20px; padding: 20px; height: fit-content; position: sticky; top: 92px; }
.filters h3 { margin: 0 0 14px; }
.filter { margin: 0 0 16px; }
.filter label { font-size: 12px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 6px; }
.filter input, .filter select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; }
.map-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 74px); }
.map-list { overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.map-canvas { position: relative; background: #d7e4ee; }
.map-canvas img { filter: saturate(.8) contrast(1.05); }
.pin {
  position: absolute; background: var(--navy-800); color: #fff; border-radius: 12px 12px 12px 2px;
  padding: 6px 9px; font-size: 12px; font-weight: 800; transform: rotate(-8deg);
}
.footer { background: var(--navy-900); color: #c9d6e2; padding: 40px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; margin: 0 0 10px; }
.footer a { display: block; margin: 6px 0; font-size: 14px; opacity: .85; }

/* Mobile */
.phone {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0;
  background: #fff;
  position: relative;
  overflow-x: hidden;
}
body:has(> .phone) { background: #dce4ec; }
.pay-card { display: block; color: inherit; }
.m-status {
  height: 44px; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 20px 8px; font-size: 12px; font-weight: 700;
}
.m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 16px 12px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.m-head .logo { font-size: 18px; gap: 6px; }
.m-head .logo-mark { width: 28px; height: 28px; }
.m-head-act {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-600);
  white-space: nowrap;
}
.m-hero { position: relative; height: 430px; width: 100%; }
.m-hero.carousel { height: 280px; }
.phone .carousel { width: 100%; }
.m-hero img { position: absolute; inset: 0; }
.m-hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,35,56,.15) 20%, rgba(11,35,56,.78) 100%);
}
.m-hero-copy { position: absolute; left: 20px; right: 20px; bottom: 24px; color: #fff; }
.m-hero-copy h1 { font-family: var(--display); font-size: 30px; line-height: 1.1; margin: 0 0 8px; }
.m-search {
  margin: -22px 16px 0; position: relative; z-index: 3; background: #fff; border-radius: 18px;
  padding: 12px 14px; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center;
}
.m-search input { border: 0; outline: 0; flex: 1; font: inherit; font-weight: 600; }
.m-section { padding: 22px 16px 110px; }
.m-row { display: flex; gap: 12px; overflow: auto; padding-bottom: 6px; }
.m-card { min-width: 250px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(11,35,56,.1); }
.m-card .ph { height: 150px; position: relative; }
.m-card .body { padding: 12px; }
.m-card .listing-main { padding: 12px; }
.m-list .m-card { min-width: 0; display: grid; grid-template-columns: 118px 1fr; }
.m-list .ph { height: 100%; min-height: 118px; }
.m-count { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.m-offer {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,35,56,.1); margin-bottom: 14px;
}
.m-offer-media { position: relative; height: 196px; }
.m-offer-media.carousel { height: 196px; }
.m-offer-brand {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: linear-gradient(180deg, rgba(11,35,56,.6), transparent);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em;
}
.m-offer-brand i {
  width: 22px; height: 22px; border-radius: 6px; background: #fff; color: var(--navy-800);
  display: grid; place-items: center; font-size: 9px; font-style: normal; font-weight: 900;
}
.m-fav {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff;
  font-size: 16px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.m-fav.is-on { color: var(--danger); }
.m-offer .badge { top: auto; bottom: 12px; left: 12px; }
.m-offer-body { display: block; padding: 12px 14px 14px; color: inherit; }
.m-offer-price { margin: 0; font-size: 20px; font-weight: 800; color: var(--navy-800); line-height: 1.2; }
.m-offer-price span { font-size: 13px; font-weight: 600; color: var(--muted); }
.m-offer-body h3 { margin: 4px 0 6px; font-size: 15px; font-family: var(--display); }
.m-offer-facts { margin: 0; font-size: 13px; font-weight: 600; color: var(--navy-800); }
.m-offer-loc { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.m-offer-meta { margin: 6px 0 0; font-size: 12px; color: var(--teal-600); font-weight: 700; }
.m-drop { color: var(--danger); }
.m-pager {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 4px 0 8px;
}
.m-pager button {
  min-width: 44px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; font-weight: 800; font-size: 18px; cursor: pointer; color: var(--navy-800);
}
.m-pager button:disabled { opacity: .35; cursor: default; }
.m-pager-label { font-size: 13px; font-weight: 700; color: var(--navy-800); }
.pager {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 28px 0 0;
}
.pager button {
  min-width: 44px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; font-weight: 800; font-size: 18px; cursor: pointer; color: var(--navy-800);
}
.pager button:disabled { opacity: .35; cursor: default; }
.web .m-pager { justify-content: center; margin: 24px 0 0; }
[data-page-item].is-page-hide { display: none !important; }
.tabbar {
  position: sticky; bottom: 0; z-index: 10;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 6px 18px; text-align: center; font-size: 10px; font-weight: 700; color: var(--muted);
}
.phone.acc-app { background: var(--bg); }
.phone.acc-app .m-head,
.phone.acc-app .m-status { background: var(--bg); }
.phone.acc-app .m-head { border: 0; }
.acc-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.acc-ava {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.acc-hero h1 { font-family: var(--display); font-size: 22px; margin: 0 0 4px; line-height: 1.15; }
.acc-hero p { margin: 0; font-size: 13px; color: var(--muted); }
.acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 22px;
}
.acc-tile {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(11,35,56,.06);
  color: inherit;
}
.acc-tile i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-600);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.acc-tile b { font-size: 14px; display: block; }
.acc-tile span { font-size: 12px; color: var(--muted); font-weight: 600; }
.acc-tile em {
  font-style: normal;
  margin-left: 4px;
  color: var(--teal-600);
  font-weight: 800;
}
.acc-sec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 10px;
}
.acc-sec h2 { font-family: var(--display); font-size: 18px; margin: 0; }
.acc-sec a { font-size: 13px; font-weight: 700; color: var(--teal-600); white-space: nowrap; }
.acc-next {
  display: grid;
  grid-template-columns: 92px 1fr;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11,35,56,.08);
  margin-bottom: 20px;
  color: inherit;
}
.acc-next .ph { height: 92px; position: relative; }
.acc-next .body { padding: 10px 12px; }
.acc-next .body b { display: block; font-size: 14px; }
.acc-next .body span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.acc-mini { min-width: 168px; max-width: 168px; flex-shrink: 0; }
.acc-mini .ph { height: 110px; }
.acc-mini .body { padding: 10px 12px 12px; }
.acc-mini .body b { font-size: 13px; }
.acc-alert {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(11,35,56,.06);
  color: inherit;
}
.acc-alert b { display: block; font-size: 14px; }
.acc-alert span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice {
  display: block; background: #fff; border-radius: 22px; overflow: hidden; min-height: 280px; position: relative;
  box-shadow: var(--shadow); color: #fff;
}
.choice img { position: absolute; inset: 0; filter: brightness(.55); }
.choice .copy { position: relative; z-index: 1; padding: 28px; }
.choice h2 { font-family: var(--display); font-size: 32px; margin: 8px 0; }
.stepper { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.step { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--muted); border: 1px solid var(--line); }
.step.on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.step.done { background: var(--teal-100); color: var(--teal-600); border-color: var(--teal); }
.form-card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 8px 24px rgba(11,35,56,.08); }
.form-card label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 12px 0 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; background: #fff;
}
.otp { display: flex; gap: 10px; }
.otp input { width: 52px; height: 56px; text-align: center; font-size: 22px; font-weight: 800; }
.phone .otp { gap: 6px; justify-content: space-between; }
.phone .otp input { width: 42px; height: 48px; padding: 0; }
.chat { display: grid; grid-template-rows: 1fr auto; min-height: 520px; background: #fff; border-radius: 20px; overflow: hidden; }
.bubble { max-width: 70%; padding: 12px 14px; border-radius: 16px; margin: 8px 0; font-size: 14px; }
.bubble.in { background: var(--teal-100); }
.bubble.out { background: var(--navy-800); color: #fff; margin-left: auto; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.compare th { background: var(--navy-900); color: #fff; }
.empty {
  text-align: center; padding: 72px 24px; background: #fff; border-radius: 22px;
}
.doc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--teal); }
.narrow { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.banner-warn { background: #fff4d6; color: #8a6200; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.banner-danger { background: #ffe8e8; color: #9b1c1c; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.tabbar a.active { color: var(--teal-600); }
.tabbar b { display: block; font-size: 18px; margin-bottom: 2px; }
.tab-dot {
  position: absolute; top: 2px; right: 18%; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--teal); color: #fff; font-size: 9px; line-height: 16px;
}
.tabbar a { position: relative; }

.inbox-alert {
  margin: 0 16px 10px; padding: 10px 12px; border-radius: 14px;
  background: var(--teal-100); color: var(--navy-800); font-size: 13px; font-weight: 700;
}
.inbox-list { padding: 0 16px 110px; }
.inbox-empty { text-align: center; padding: 48px 16px; color: var(--muted); font-weight: 700; }
.inbox-search {
  margin: 0 16px 10px; display: flex; gap: 8px; align-items: center;
  background: #f3f5f7; border-radius: 14px; padding: 10px 12px;
}
.inbox-search input { border: 0; outline: 0; flex: 1; background: transparent; font: inherit; font-weight: 600; }
.inbox-row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 12px 4px; border-bottom: 1px solid var(--line); color: inherit;
}
.inbox-ava {
  width: 52px; height: 52px; border-radius: 16px; overflow: hidden; position: relative; background: var(--navy-800);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.inbox-ava img { width: 100%; height: 100%; object-fit: cover; }
.inbox-ava .online {
  position: absolute; right: 3px; bottom: 3px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); border: 2px solid #fff;
}
.inbox-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.inbox-top b { font-family: var(--display); }
.inbox-top span { color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.inbox-sub { font-size: 12px; color: var(--teal-600); font-weight: 700; margin: 2px 0; }
.inbox-preview { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row.is-unread .inbox-preview { color: var(--navy-800); font-weight: 700; }
.inbox-badge {
  min-width: 20px; height: 20px; border-radius: 99px; background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 6px;
}
.inbox-row[hidden],
.msg-head[hidden],
.msg-listing[hidden],
[data-thread][hidden] { display: none !important; }
.phone.msg-app {
  display: flex; flex-direction: column; height: 100vh; min-height: 100vh;
  max-width: 430px; overflow: hidden; background: #f4f7fa;
}
.msg-head {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 6;
  flex-shrink: 0;
}
.msg-head .who { flex: 1; min-width: 0; overflow: hidden; }
.msg-head .who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-head .who span { font-size: 11px; color: var(--teal-600); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-ico {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; font-size: 16px; color: var(--navy-800);
  padding: 0; flex-shrink: 0;
}
.msg-ico.back { background: var(--navy-800); color: #fff; border: 0; font-size: 22px; font-weight: 800; }
.msg-listing {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center;
  margin: 10px 12px 0; padding: 8px; background: #fff; border-radius: 14px; color: inherit;
  box-shadow: 0 6px 16px rgba(11,35,56,.06);
}
.msg-listing img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.msg-listing b { display: block; font-size: 13px; }
.msg-listing span { font-size: 12px; color: var(--muted); }
.msg-log { flex: 1; min-height: 0; padding: 12px 14px 8px; overflow-y: auto; }
.msg-typing { font-size: 12px; font-weight: 700; color: var(--teal-600); padding: 0 4px 8px; }
.msg-more {
  position: absolute; right: 8px; top: 52px; z-index: 12; width: 200px; max-width: calc(100% - 16px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px;
}
.msg-more button, .msg-more a {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0;
  background: none; border-radius: 10px; font: inherit; font-weight: 700; color: var(--navy-800);
}
.msg-more button:hover, .msg-more a:hover { background: var(--teal-100); }
.msg-more .danger { color: var(--danger); }
.msg-more[hidden] { display: none !important; }
.msg-day {
  text-align: center; font-size: 11px; font-weight: 800; color: var(--muted);
  margin: 14px 0 8px; letter-spacing: .04em; text-transform: uppercase;
}
.msg-log .bubble { max-width: 82%; position: relative; }
.msg-log img {
  width: 180px; height: 120px; border-radius: 12px; object-fit: cover;
  background: var(--line);
}
.msg-time { display: block; margin-top: 6px; font-size: 10px; font-weight: 700; opacity: .7; }
.bubble.sys {
  margin: 10px auto; max-width: 90%; background: #fff; color: var(--navy-800);
  border: 1px dashed var(--line); text-align: center; font-size: 12px; font-weight: 600;
}
.msg-card {
  background: #fff; border-radius: 16px; padding: 10px; margin: 8px 0; max-width: 82%;
  box-shadow: 0 6px 16px rgba(11,35,56,.06); font-size: 13px;
}
.msg-card.out { margin-left: auto; }
.msg-card img { height: 120px; border-radius: 12px; margin-bottom: 8px; }
.msg-card .btn { margin-top: 8px; width: 100%; }
.msg-quick { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; background: #f4f7fa; min-width: 0; flex-shrink: 0; }
.msg-quick button {
  flex-shrink: 0; border: 1px solid var(--teal); background: #fff; color: var(--navy-800);
  border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.msg-attach {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px; background: #fff;
  border-top: 1px solid var(--line); min-width: 0; flex-shrink: 0;
}
.msg-attach[hidden] { display: none !important; }
.msg-attach button {
  border: 1px solid var(--line); background: #f6f8fa; border-radius: 14px; padding: 12px 10px;
  font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; color: var(--navy-800);
}
.msg-composer {
  display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 18px;
  background: #fff; border-top: 1px solid var(--line); position: sticky; bottom: 0;
  min-width: 0; flex-shrink: 0;
}
.msg-composer input {
  flex: 1; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font: inherit;
}
.msg-send {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: #fff;
  font-size: 18px; cursor: pointer;
}
.m-cta {
  position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line);
  padding: 12px 16px 22px; display: flex; gap: 8px;
}
.m-cta .btn { flex: 1; }
.m-gallery { background: #000; min-height: 100vh; color: #fff; }
.m-gallery img { height: 280px; }
.pay { padding: 16px 16px 120px; }
.pay-card { display: block; color: inherit; background: #fff; border-radius: 18px; padding: 16px; margin-bottom: 12px; box-shadow: 0 8px 24px rgba(11,35,56,.08); }
.method { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-top: 8px; }
.method.active { border-color: var(--teal); background: var(--teal-100); }

.hub { padding: 32px 40px 80px; }
.hub h1 { font-family: var(--display); font-size: 40px; margin: 0 0 8px; }
.frames { display: grid; grid-template-columns: 1.4fr 390px; gap: 28px; align-items: start; }
.device {
  background: #1a1a1a; border-radius: 24px; padding: 12px; box-shadow: var(--shadow);
}
.device iframe { width: 1440px; height: 900px; border: 0; border-radius: 12px; transform: scale(0.72); transform-origin: top left; }
.device.web-frame { height: 662px; overflow: hidden; }
.device.phone-frame { width: 414px; padding: 12px; }
.device.phone-frame iframe { width: 390px; height: 844px; transform: none; border-radius: 28px; overflow: auto; }
.screen-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }

@media (max-width: 980px) {
  .header { grid-template-columns: auto auto; }
  .header .nav { grid-column: 1 / -1; justify-self: start; }
}

/* SeLoger-like search results */
.srch-bar {
  padding: 14px 24px 8px; background: #fff;
}
.srch-bar form {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 16px;
  max-width: 720px;
}
.srch-bar input {
  flex: 1; border: 0; outline: 0; font: inherit; font-weight: 600; font-size: 16px;
}
.srch-bar .icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f3f5f7; cursor: pointer; font-size: 16px;
}
.srch-filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 8px 24px 14px; border-bottom: 1px solid var(--line); background: #fff;
}
.phone .srch-filters {
  flex-wrap: nowrap; overflow-x: auto; padding: 8px 16px 12px;
  border-bottom: 0; -webkit-overflow-scrolling: touch;
}
.phone .srch-filters .pill,
.phone .srch-filters .btn-save { flex-shrink: 0; }
.phone .srch-filters .btn-save { margin-left: 0; }
.pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 14px; font-size: 13px; font-weight: 700; color: var(--navy-800);
}
.pill.active { box-shadow: inset 0 0 0 1.5px var(--navy-800); }
.pill .dot {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 10px; margin-left: 4px;
}
.btn-save {
  margin-left: auto; background: var(--teal); color: #fff; border-radius: 999px;
  padding: 10px 16px; font-weight: 800; font-size: 13px;
}
.srch-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 18px 24px 8px;
}
.srch-meta h1 { font-family: var(--display); font-size: 22px; margin: 0; flex: 1; }
.view-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff;
}
.view-toggle a { padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.view-toggle a.on { background: var(--navy-800); color: #fff; }
.sort { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; background: #fff; }
.srch-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 20px;
  padding: 8px 24px 80px; align-items: start;
}
.listing-stack { display: flex; flex-direction: column; gap: 16px; }
.listing {
  display: grid; grid-template-columns: 340px 1fr; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.listing[hidden], [data-listing][hidden] { display: none !important; }
.listing-media { position: relative; min-height: 230px; background: #dfe7ee; }
.listing-brand {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.brand-riviera { background: var(--navy-800); }
.brand-sib { background: var(--teal); }
.brand-palmiers { background: var(--navy-900); }
.brand-part { background: var(--navy-700); }
.agency-logo {
  width: 28px; height: 28px; border-radius: 6px; background: #fff; color: inherit;
  display: grid; place-items: center; font-size: 10px; font-weight: 900;
}
.brand-riviera .agency-logo { color: var(--navy-800); }
.brand-sib .agency-logo { color: var(--teal-600); }
.brand-palmiers .agency-logo { color: var(--navy-900); }
.brand-part .agency-logo { color: var(--navy-700); }
.carousel { position: relative; height: 230px; }
.carousel [data-slide] { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.carousel [data-slide].is-on { opacity: 1; pointer-events: auto; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94);
  font-size: 18px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }
.car-idx {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  background: rgba(11,35,56,.78); color: #fff; border-radius: 999px;
  padding: 4px 8px; font-size: 11px; font-weight: 800;
}
.car-new {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  background: var(--teal); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 800;
}
.listing-main { display: block; padding: 18px 20px 16px; color: inherit; }
.listing-main .price { font-size: 22px; }
.listing-main .price em { font-style: normal; font-size: 13px; color: var(--teal-600); font-weight: 700; margin-left: 6px; }
.listing-acts { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 4; }
.listing-acts a, .listing-acts button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 14px; display: grid; place-items: center;
}
.listing-info h3 { margin: 8px 0 4px; font-size: 16px; }
.mini-map {
  position: sticky; top: 92px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.mini-map img { height: 140px; }
.mini-map a {
  display: block; text-align: center; padding: 12px; font-weight: 800; font-size: 13px; color: var(--navy-800);
}

/* Fiche détail */
.hero-slider { position: relative; height: 460px; background: #0b2338; }
.hero-slider [data-slide] { position: absolute; inset: 0; opacity: 0; }
.hero-slider [data-slide].is-on { opacity: 1; }
.hero-thumbs {
  display: flex; gap: 8px; padding: 10px 48px 0; overflow: auto;
}
.hero-thumbs button {
  width: 88px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none;
}
.hero-thumbs button.is-on { border-color: var(--teal); }
.fiche-wrap { display: grid; grid-template-columns: 1.55fr 360px; gap: 28px; padding: 24px 48px 80px; }
.fiche-section { padding: 28px 0; border-top: 1px solid var(--line); }
.fiche-section h2 { font-family: var(--display); font-size: 22px; margin: 0 0 16px; }
.char-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.char-item { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.char-item i {
  width: 36px; height: 36px; border-radius: 10px; background: #f3f6f8;
  display: grid; place-items: center; font-style: normal; font-size: 16px;
}
.plan-box, .dpe-box {
  background: #f6f7f9; border-radius: 18px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cost-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 8px 20px 16px; margin-bottom: 14px;
}
.cost-row {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.cost-row:last-child { border: 0; }
.cost-row b { font-size: 16px; }
.cost-sub { color: var(--muted); padding-left: 0; }
.poi-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.poi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.poi h3 { margin: 0 0 8px; font-size: 14px; }
.poi p { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.agency-card {
  display: flex; gap: 12px; align-items: center; margin: 16px 0;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px;
}
.agency-card .mark {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 13px; flex-shrink: 0;
}
.contact-box { margin: 8px 0 10px; }
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px;
}
.contact-split .btn { width: 100%; padding: 11px 8px; font-size: 13px; text-align: center; }
.contact-phone:not([hidden]) {
  display: block; margin-top: 10px; padding: 12px 14px; background: var(--teal-100);
  border-radius: 14px; font-weight: 800; text-align: center; color: var(--navy-800); font-size: 16px;
}
.contact-panel[hidden], .contact-phone[hidden], .contact-thread[hidden], .contact-form[hidden] { display: none !important; }
.contact-thread { margin-top: 10px; }
.contact-thread .bubble { max-width: 100%; font-size: 13px; }
.contact-form { margin-top: 14px; }
.contact-form-title {
  font-weight: 800; font-size: 16px; margin: 0 0 10px; color: var(--navy-800);
}
.contact-form textarea {
  width: 100%; min-height: 112px; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; font: inherit; resize: vertical; line-height: 1.45; color: var(--text);
}
.contact-hint {
  margin: 10px 0 14px; padding: 10px 12px; background: #f3f5f7; border-radius: 12px;
  font-size: 12px; color: var(--muted); line-height: 1.45;
}
.contact-names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form > label, .contact-names label {
  display: block; font-size: 13px; font-weight: 700; margin: 0 0 12px; color: var(--navy-800);
}
.contact-form input:not([type="checkbox"]), .contact-form select {
  display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; font: inherit; font-weight: 400; background: #fff;
}
.contact-tel {
  display: grid; grid-template-columns: 102px 1fr; margin-top: 6px;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.contact-tel select, .contact-tel input {
  border: 0; border-radius: 0; margin: 0; width: 100%;
}
.contact-tel select {
  background: #f6f8fa; border-right: 1px solid var(--line); font-size: 13px; padding: 11px 8px;
}
.contact-check {
  display: flex !important; gap: 10px; align-items: flex-start;
  font-weight: 500 !important; font-size: 13px !important; color: var(--text); margin: 0 0 12px;
}
.contact-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }
.contact-form .btn { width: 100%; margin-top: 4px; }
@media (max-width: 1100px) {
  .srch-layout, .fiche-wrap, .detail { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .mini-map { position: static; }
  .poi-grid { grid-template-columns: 1fr; }
  .fiche-wrap { padding: 16px 16px 80px; }
  .char-grid { grid-template-columns: 1fr; }
  .plan-box, .dpe-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .header { padding: 12px 16px; grid-template-columns: auto 1fr; }
  .header .nav { display: none; }
  .hero-slider { height: 280px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 18px 16px 80px; }
  .card-photo { height: 180px; }
}
