/* Imobiliária Exemplo (fictícia): visual de real estate corporativo, diferente da ImobiQ, para a demo do widget */
:root {
  --navy: #1e2237;
  --navy-deep: #161c2f;
  --navy-2: #2c3352;
  --steel: #4f5d75;
  --gold: #c9a45c;
  --gold-soft: #f4ecdc;
  --ink: #282828;
  --ink-2: #555b66;
  --muted: #7e8899;
  --line: #e4e6ec;
  --bg: #f6f7fa;
  --card: #ffffff;
  --head: "Red Hat Display", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.55; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.2; }
a { color: var(--navy-2); }
img, svg { max-width: 100%; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* faixa de aviso da demo */
.demo-bar { margin: 0; padding: 6px 16px; text-align: center; font-size: 12px; background: #fff4e5; color: #7a4b00; }

/* barra utilitária e cabeçalho */
.util { background: var(--navy-deep); color: #c5cad6; font-size: 13px; }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.util-link { background: none; border: 0; color: #fff; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.top-in { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin: 0; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text b { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.logo-text small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.top nav a, .nav-link {
  color: #dfe3ec; text-decoration: none; font-size: 14px; font-weight: 600; padding: 4px 0; background: none;
  border: 0; border-bottom: 2px solid transparent;
}
.top nav a:hover, .top nav a[aria-current="page"], .nav-link:hover { color: #fff; border-bottom-color: var(--gold); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .03em;
  text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: filter .15s, background .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn svg { flex-shrink: 0; }
.wide { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy-2); font-weight: 700; text-decoration: underline; }

/* hero com skyline desenhado em CSS/SVG (sem fotos) */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%); padding: 64px 0 88px; }
.skyline {
  position: absolute; inset: auto 0 0 0; height: 200px; opacity: .12; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cpath fill='%23c5cad6' d='M0 220V150h40v-30h30v50h25V90h45v130h20V60h50v160h15v-90h35v90h20V30h55v190h20V110h40v110h25V70h35v150h20V120h45v100h15V40h60v180h20V100h30v120h20V80h45v140h25V130h40v90h20V50h50v170h20V110h35v110h20V70h40v150h25V140h40v80h20V90h45v130z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.hero-in { position: relative; }
.eyebrow { margin: 0 0 12px; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.eyebrow.dark { color: var(--steel); }
.hero h1 { color: #fff; font-size: clamp(24px, 6.4vw, 52px); overflow-wrap: anywhere; font-weight: 900; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .01em; }
.hero h1 span { font-weight: 400; color: #c5cad6; font-size: .62em; letter-spacing: .12em; }
.lead { max-width: 620px; margin: 0 0 32px; color: #c5cad6; font-size: 17px; }

.search { background: #fff; color: var(--ink); border-radius: 6px; padding: 0 20px 20px; max-width: 960px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.tabs { display: flex; gap: 4px; border: 0; margin: 0 0 16px; padding: 0; border-bottom: 1px solid var(--line); }
.tabs label { cursor: pointer; }
.tabs input { position: absolute; opacity: 0; }
.tabs span { display: block; padding: 14px 18px 12px; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs input:checked + span { color: var(--navy); border-bottom-color: var(--gold); }
.tabs input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: -3px; }
.search-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { min-width: 0; display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; flex: 1 1 180px; }
.field.grow { flex: 3 1 260px; }
select, input, textarea {
  font: inherit; font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; min-height: 44px; width: 100%;
}
textarea { resize: vertical; }
.code-search { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #c5cad6; font-size: 14px; }
.code-search label { display: flex; align-items: center; gap: 8px; }
.code-search input { width: 120px; min-height: 36px; padding: 6px 10px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.code-search input::placeholder { color: #9aa3b5; }
.code-search button { min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; border-radius: 4px; font-weight: 700; }

/* blocos */
.block { padding: 44px 16px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.block-head h2, .about h2 { margin: 0; font-size: 26px; font-weight: 700; }
.block-head a { font-weight: 600; text-decoration: none; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.tile {
  display: grid; gap: 2px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: 4px; color: var(--navy); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.tile b { font-family: var(--head); font-size: 16px; }
.tile:hover { border-left-color: var(--gold); box-shadow: 0 8px 20px rgba(30, 34, 55, .08); }
.tile span { font-size: 13px; color: var(--muted); }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 14px 30px rgba(30, 34, 55, .14); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card a { color: inherit; text-decoration: none; display: block; }
.card-body { padding: 14px 18px 18px; }
.code { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.ctype { margin: 2px 0 2px; font-size: 18px; font-weight: 700; }
.where { margin: 0; font-size: 14px; color: var(--ink-2); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 12px 0; font-size: 13px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 5px; }
.facts svg { width: 15px; height: 15px; color: var(--steel); }
.card-price { border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-price span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--navy); }
.price small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.price.big { font-size: 32px; margin: 0 0 12px; }
.leased { margin: 10px 0 0; font-size: 12px; font-weight: 600; color: #6b4e16; background: var(--gold-soft); border-radius: 4px; padding: 5px 8px; }

.art {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(120% 80% at 80% 0%, hsl(var(--h) 30% 42% / .55), transparent 60%),
    linear-gradient(160deg, hsl(var(--h) 28% 24%), hsl(var(--h) 32% 14%));
}
.art svg { width: 42%; }
.art-big { aspect-ratio: 21 / 8; border-radius: 6px; margin: 16px 0 12px; }
.art-big svg { width: 22%; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: #fff; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.badge.gold { background: var(--gold); color: #fff; }
.badge.ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.art-note { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: rgba(255, 255, 255, .7); }

/* serviços e quem somos */
.services { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); padding-top: 44px; padding-bottom: 44px; }
.service { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.service h3 { margin: 0; font-size: 20px; }
.service p { margin: 0 0 6px; color: var(--ink-2); flex: 1; }
.service-laris img { border-radius: 50%; }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.about { display: grid; gap: 32px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }
.about p { color: var(--ink-2); }
.stats { display: grid; gap: 12px; margin: 0; }
.stats div { background: var(--navy); color: #fff; border-radius: 4px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stats dt { font-size: 14px; color: #c5cad6; }
.stats dd { margin: 0; font-family: var(--head); font-size: 28px; font-weight: 900; color: var(--gold); }

/* listagem */
.list-head { background: var(--navy); padding: 20px 0 24px; }
.filters { background: #fff; border-radius: 6px; padding: 0 20px 20px; }
.count { margin: 0 0 16px; color: var(--ink-2); }
.count b { color: var(--navy); font-family: var(--head); font-size: 18px; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: 6px; padding: 24px; text-align: center; color: var(--ink-2); }

/* página do imóvel */
.detail-top h1 { margin: 4px 0 0; font-size: clamp(22px, 3.2vw, 32px); font-weight: 700; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.facts-big { font-size: 15px; gap: 10px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0 0 8px; }
.facts-big svg { width: 20px; height: 20px; }
.detail { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.sec-title { font-size: 18px; margin: 28px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.desc { font-size: 16px; color: var(--ink-2); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; margin: 0; }
.spec-grid div { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
.spec-grid dt { font-size: 12px; color: var(--muted); }
.spec-grid dd { margin: 0; font-weight: 700; color: var(--navy); }
.spec-list { columns: 2 220px; padding-left: 18px; margin: 0; color: var(--ink-2); }
.spec-list li { margin-bottom: 4px; break-inside: avoid; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li { background: #eceef4; color: var(--navy); border-radius: 3px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.fine-dark { margin-top: 28px; font-size: 12px; color: var(--muted); }
.box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 6px; padding: 22px; position: sticky; top: 96px; margin-top: 28px; }
.box-type { margin: 0 0 10px; color: var(--ink-2); font-size: 14px; }
.box-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.costs { margin: 0 0 16px; }
.costs div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.costs dt { color: var(--ink-2); }
.costs dd { margin: 0; font-weight: 600; }
.costs .package { border-top: 2px solid var(--navy); font-size: 15px; }
.costs .package dt, .costs .package dd { color: var(--navy); font-weight: 700; }
.leased-box { background: var(--gold-soft); color: #5b4213; border-radius: 4px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; }
.leased-box p { margin: 0 0 4px; }
.leased-box p:last-child { margin: 0; }
.contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.contact-title { margin: 0; font-family: var(--head); font-weight: 700; color: var(--navy); }
.box-note { margin: 0; font-size: 12px; color: var(--muted); }

/* rodapé */
.foot { background: var(--navy-deep); color: #c5cad6; padding: 44px 0 18px; margin-top: 24px; font-size: 14px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-units { margin: 0 0 12px; }
.foot-units b { color: #fff; }
.foot-title { margin: 0 0 10px; font-family: var(--head); font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-links a { color: #c5cad6; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.fine { font-size: 12px; color: #8b93a7; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }

@media (max-width: 960px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .box { position: static; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top nav { margin-left: 0; gap: 14px; }
  .top .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .tabs span { padding: 12px 10px 10px; font-size: 13px; }
  .hero { padding: 40px 0 64px; }
  .search, .filters { padding: 0 14px 16px; }
  .tabs { overflow-x: auto; }
  .util-in span { display: none; }
  .art-big { aspect-ratio: 16 / 9; }
  .detail-top h1 { font-size: 21px; }
}
