@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f2efea;
  --bg-2: #eae7e2;
  --card: #ffffff;
  --ink: #0b0b0b;
  --muted: #5f5a53;
  --line: rgba(11, 11, 11, .1);
  --gold: #d4af37;
  --gold-hover: #e2c052;
  --on-gold: #0b0b0b;
  --night: #0b0b0b;
  --night-2: #2e2e2e;
  --night-ink: #f2efea;
  --night-muted: #b5aea3;
  --night-line: rgba(244, 242, 238, .14);
  --wa: #25d366;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 8px;
  --shadow: 0 1px 2px rgba(33, 31, 28, .04), 0 8px 24px rgba(33, 31, 28, .06);
  --out: cubic-bezier(.22, 1, .36, 1);
  --head: 64px;
  --bar: 76px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; font-variant-numeric: lining-nums; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { padding-left: var(--gut); padding-right: var(--gut-r); max-width: 1200px; margin-inline: auto; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* header */
.head { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 11, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(212, 175, 55, .22); color: var(--night-ink); }
.head .wrap { height: var(--head); display: flex; align-items: center; justify-content: space-between; }
.h7 { fill: url(#h7-gold); flex: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--night-ink); }
.brand .h7 { width: 58px; height: auto; }
.brand span { font-size: 9.5px; font-weight: 600; line-height: 1.35; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-left: 12px; border-left: 1px solid rgba(212, 175, 55, .35); }
.brand-foot .h7 { width: 52px; }
.brand-foot span { font-size: 10px; }
@media (min-width: 900px) { .brand .h7 { width: 66px; } .brand span br { display: none; } .brand span { font-size: 10.5px; } }
.head .wa { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(242, 239, 234, .22); background: transparent; color: var(--night-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.head .wa svg { width: 18px; height: 18px; color: var(--wa); }

/* labels */
.label { display: flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.dark .label { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 4px; font-weight: 700; font-size: 15.5px; letter-spacing: .04em; text-decoration: none; transition: background-color .2s var(--out), transform .15s var(--out), border-color .2s var(--out); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn.gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 20px rgba(197, 161, 89, .25); }
.btn.ghost { border: 1px solid var(--night-line); color: var(--night-ink); font-weight: 600; }
@media (hover: hover) { .btn.gold:hover { background: var(--gold-hover); } .btn.ghost:hover { border-color: var(--night-ink); } }

/* hero */
.hero { position: relative; color: var(--night-ink); background: var(--night); overflow: hidden; }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20, .2), rgba(20, 20, 20, .85) 75%, var(--night)); }
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 48px; }
.hero h1 { margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw + 18px, 58px); line-height: 1.12; letter-spacing: -0.01em; max-width: 16ch; text-wrap: balance; }
.hero .sub { margin-top: 20px; max-width: 46ch; font-size: 16.5px; line-height: 1.6; color: var(--night-muted); }
.hero .price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero .price b { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--night-ink); }
.hero .price span { font-size: 14px; color: var(--night-muted); }
.hero .acts { margin-top: 28px; display: grid; gap: 12px; }
.hero .fine { margin-top: 16px; font-size: 13px; color: var(--night-muted); }

/* sections */
.sec { padding-top: 64px; }
.sec h2, .close h2 { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 2.2vw + 18px, 42px); line-height: 1.18; letter-spacing: -0.01em; max-width: 20ch; text-wrap: balance; }
.sec .lead { margin-top: 14px; max-width: 54ch; color: var(--muted); font-size: 16px; }
.rule { width: 56px; height: 1px; background: var(--line); margin-top: 22px; }

/* fact cards */
.facts { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.fact { padding: 18px 16px 18px; display: grid; gap: 10px; align-content: start; }
.fact .i { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; color: var(--ink); }
.fact b { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.1; font-variant-numeric: lining-nums; }
.fact b small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.fact span { font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* photo */
.shot { margin-top: 16px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--bg-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(20, 20, 20, .72); color: #fff; font-size: 12.5px; font-weight: 600; border: 0; }
.shot .zoom svg { width: 15px; height: 15px; }

.shot.gallery-one { aspect-ratio: 4 / 3; }
.shot.gallery-one img { object-position: 30% 60%; }

/* floors */
.floors { margin-top: 26px; display: grid; gap: 10px; }
.floor { padding: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.floor .i { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; }
.floor h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; }
.floor p { font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.floor .a { font-family: var(--serif); font-weight: 600; font-size: 19px; white-space: nowrap; }
.floor.total { border-color: var(--gold); background: #fffdf8; }

/* gallery */
.gallery { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery .shot { margin: 0; aspect-ratio: 4 / 5; }
.gallery .shot.big { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; color: #fff; font-size: 12.5px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); max-width: 60%; line-height: 1.3; }

/* places */
.places { margin-top: 26px; padding: 6px 18px; }
.places li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.places li:last-child { border-bottom: 0; }
.places li small { display: block; font-size: 12px; color: var(--muted); }
.places .km { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.maps { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.maps svg { width: 16px; height: 16px; }

/* closing */
.close { margin-top: 72px; background: var(--night); color: var(--night-ink); padding: 64px 0 40px; }
.close h2 { color: var(--night-ink); }
h1, h2, h3, b, dd, .a, .km { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.close .lead { color: var(--night-muted); }
.terms { margin-top: 24px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 4px 18px; }
.terms div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--night-line); }
.terms div:last-child { border-bottom: 0; }
.terms dt { color: var(--night-muted); font-size: 14px; }
.terms dd { font-weight: 700; text-align: right; }
.close .btn { margin-top: 20px; width: 100%; }
.close .alt { margin-top: 14px; font-size: 14px; color: var(--night-muted); }
.close .alt a { color: var(--night-ink); }
.foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: 12.5px; color: var(--night-muted); }
.foot a { color: var(--night-ink); }

/* mobile action bar + desktop floating WhatsApp */
.bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 10px var(--gut-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gut); background: rgba(11, 11, 11, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(212, 175, 55, .25); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar p { font-size: 12.5px; color: var(--night-muted); line-height: 1.3; }
.bar p b { display: block; color: var(--night-ink); font-size: 15px; }
.bar .btn { min-height: 48px; padding: 0 18px; }
.bar .btn svg { color: var(--on-gold); }
.fab { display: none; }

@media (min-width: 900px) {
  :root { --gut: max(48px, env(safe-area-inset-left, 0px)); --gut-r: max(48px, env(safe-area-inset-right, 0px)); --head: 72px; }
  body { padding-bottom: 0; }
  .bar { display: none; }
  .fab { display: grid; place-items: center; position: fixed; right: 28px; bottom: 28px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .35); }
  .fab svg { width: 30px; height: 30px; }
  .hero .wrap { padding-top: 120px; padding-bottom: 96px; }
  .hero .acts { grid-template-columns: auto auto; justify-content: start; }
  .sec { padding-top: 104px; }
  .two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .two .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 2fr 1fr 1fr; }
  .gallery .shot.big { grid-column: auto; aspect-ratio: auto; }
  .close .btn { width: auto; }
}

/* ---------- security highlight ---------- */
.facts.odd > li:last-child { grid-column: 1 / -1; }
.secure { background: var(--night); color: var(--night-ink); border-radius: 24px; padding: 28px 22px 26px; display: grid; gap: 22px; box-shadow: 0 18px 40px rgba(20, 20, 20, .18); }
.secure .label { color: var(--gold); }
.s-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(197, 161, 89, .14); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.s-ico .ico { width: 28px; height: 28px; }
.secure h2 { margin-top: 12px; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.2vw + 18px, 42px); line-height: 1.15; color: var(--night-ink); }
.secure .lead { margin-top: 12px; color: var(--night-muted); max-width: 52ch; }
.s-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s-stats div { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 14px; padding: 14px 14px 12px; }
.s-stats dd { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1; color: var(--gold); }
.s-stats dt { margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--night-muted); }
.secure .btn { justify-self: stretch; }
@media (min-width: 900px) {
  .secure { padding: 48px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: center; }
  .s-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .secure .btn { grid-column: 2; justify-self: start; }
}

/* ---------- utilities ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero .sub.big { margin-top: 22px; max-width: 30ch; font-size: clamp(21px, 1vw + 17px, 28px); line-height: 1.45; color: var(--night-ink); }

/* ---------- site footer (same on every page) ---------- */
.site-foot { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); }
.close + .site-foot { border-top: 0; }
.site-foot .wrap { padding-top: 32px; padding-bottom: 32px; display: grid; gap: 16px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--night-ink); font-size: 14px; text-decoration: none; }
@media (hover: hover) { .site-foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.site-foot p { font-size: 13px; }
.close { padding-bottom: 56px; }
.home .sec#imoveis { padding-bottom: 40px; }
.home body { padding-bottom: 0; }

/* ---------- legal page ---------- */
.legal-page { padding-bottom: 0; }
.legal { padding-top: 48px; padding-bottom: 72px; }
.legal .card, .legal h1 { max-width: 820px; }
.legal h1 { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 2vw + 22px, 44px); line-height: 1.15; }
.legal .upd { margin-top: 10px; font-size: 14px; color: var(--muted); }
.legal .card { margin-top: 28px; padding: 8px 22px 24px; }
.legal h2 { margin-top: 26px; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; }
.legal p, .legal li { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: #403c37; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (min-width: 900px) { .site-foot .wrap { grid-template-columns: auto 1fr auto; align-items: center; } .site-foot nav { justify-content: center; } .legal .card { padding: 12px 40px 36px; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: var(--gut); top: -80px; z-index: 90; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.shot .zoom { cursor: pointer; }

/* ---------- availability: <html data-status> on property pages, <li data-status> on the list ---------- */
html[data-status="indisponivel"] .if-on, html[data-status="disponivel"] .if-off { display: none !important; }
.off-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero .off { margin-top: 22px; display: grid; gap: 12px; justify-items: start; color: var(--night-muted); }

/* ---------- full image viewer ---------- */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--night); color: var(--night-ink); }
.viewer::backdrop { background: var(--night); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr auto; animation: v-open .2s var(--out); }
@keyframes v-open { from { opacity: 0; } }
.viewer .vt { display: flex; justify-content: space-between; align-items: center; padding: max(12px, env(safe-area-inset-top, 0px)) var(--gut-r) 12px var(--gut); font-size: 13px; color: var(--night-muted); }
.viewer .close-v { appearance: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: var(--night-ink); font: inherit; font-weight: 600; cursor: pointer; }
.viewer img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.viewer p { padding: 12px var(--gut) max(16px, env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--night-muted); }

/* ---------- main page (Grupo H7): list of properties ---------- */
.home .hero .wrap { padding-bottom: 56px; }
.estates { margin-top: 26px; display: grid; gap: 18px; }
.estate { overflow: hidden; }
.estate > a { display: grid; text-decoration: none; }
.estate .ph { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.estate .ph picture { display: contents; }
.estate .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
@media (hover: hover) { .estate > a:hover .ph img { transform: scale(1.03); } }
.estate .tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(20, 20, 20, .72); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.estate .tag.ok { background: var(--gold); color: var(--on-gold); }
.estate .tx { padding: 20px 18px 22px; display: grid; gap: 8px; }
.estate .loc { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.estate h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.estate .sum { font-size: 15px; color: var(--muted); }
.estate .mini { margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.estate .mini div { background: var(--bg); border-radius: 12px; padding: 10px 10px 9px; display: grid; gap: 4px; }
.estate .mini svg { width: 18px; height: 18px; color: var(--muted); }
.estate .mini dd { font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.estate .mini dt { font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.estate .foot-c { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.estate .price b { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.estate .price span { font-size: 13px; color: var(--muted); }
.estate .go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; }
.estate .go svg { width: 16px; height: 16px; }
.estate[data-status="indisponivel"] .ph img { filter: grayscale(1); opacity: .75; }
.estate[data-status="indisponivel"] .if-on, .estate:not([data-status="indisponivel"]) .if-off { display: none !important; }
.estates-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.legal-link { margin-top: 40px; font-size: 13px; }
.legal-link a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-underline-offset: 3px; }

@media (min-width: 900px) {
  .estate > a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .estate .ph { aspect-ratio: 4 / 3; }
  .estate .tx { padding: 32px 32px 30px; align-content: center; }
  .estate h3 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
