/* ===========================================================================
   VERONEZ — Assessoria Imobiliária Boutique · Porto Alegre
   Sistema visual: preto, branco, off-white. Sem cor de acento.
   Display: Fraunces · Body/UI: Manrope · Wordmark: Jost (stand-in p/ Nexa)
   =========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --off:   #f5f5f3;
  --off-2: #ecece8;
  --ink:   #0a0a0a;
  --muted: #6f6f6a;
  --muted-2: #9a9a94;
  --line:  rgba(10, 10, 10, 0.12);
  --line-soft: rgba(10, 10, 10, 0.07);
  --line-on-dark: rgba(255, 255, 255, 0.16);

  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;
  --logo: 'Jost', var(--body);
  --mono: 'Jost', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 520ms;
  --t-med: 380ms;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 84px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.9rem); margin: 0; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); margin: 0; }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  max-width: 56ch;
}
em, .it { font-style: italic; }

/* Eyebrow / kicker — wide-tracked mono caps */
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.kicker--light { color: rgba(255,255,255,0.66); }
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.kicker.no-rule::before { display: none; }

.wordmark {
  font-family: var(--logo);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 1.18rem;
  padding-left: 0.42em;
}

/* ---------- Layout helpers ---------- */
/* width:100% é necessário aqui: sem um valor explícito, um .wrap(-wide) que
   seja filho direto de um container flex (ex. .hero) perde o stretch padrão
   pro margin:auto do centralização, encolhe pro tamanho do próprio conteúdo
   e passa a centralizar sozinho — desalinhando à esquerda de qualquer outro
   .wrap(-wide) irmão com conteúdo de tamanho diferente. */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(54px, 7vw, 96px); }
.section--dark { background: var(--black); color: var(--white); }
.section--off { background: var(--off); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

/* Editorial divider — thin graphic rule between sections */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.divider--center {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; padding-block: clamp(40px, 6vw, 80px);
}
.divider--center::before,
.divider--center::after {
  content: ""; height: 1px; flex: 1; max-width: 220px; background: var(--line);
}
.divider--center .mark { width: 6px; height: 6px; background: var(--ink); transform: rotate(45deg); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .lead { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1.05em 1.7em; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  border-radius: 0; transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  cursor: pointer; line-height: 1;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--on-dark { border-color: var(--white); }
.btn--on-dark.btn--outline { color: var(--white); }
.btn--on-dark.btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--lg { padding: 1.25em 2.2em; font-size: 0.86rem; }
.btn--block { width: 100%; }

/* Text link with animated underline */
.link {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(1); transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.link:hover::after { transform: scaleX(0); transform-origin: left; }
.link .arr { transition: transform var(--t-med) var(--ease); }
.link:hover .arr { transform: translateX(5px); }

/* ---------- Media placeholders (B&W editorial, grain, Ken Burns) ----------
   Real photography/video will replace these. Each carries a mono caption. */
.media {
  position: relative; display: block; overflow: hidden; background: #1b1b1b; isolation: isolate;
}
.media__fill {
  position: absolute; inset: -2%; z-index: 0;
  background:
    radial-gradient(120% 90% at 28% 18%, rgba(255,255,255,0.16), transparent 55%),
    radial-gradient(140% 120% at 78% 92%, rgba(0,0,0,0.6), transparent 60%),
    linear-gradient(140deg, #3a3a3a 0%, #232323 45%, #121212 100%);
}
.media--light .media__fill {
  background:
    radial-gradient(110% 90% at 24% 16%, rgba(255,255,255,0.9), transparent 60%),
    linear-gradient(140deg, #e9e9e5 0%, #dcdcd6 50%, #cfcfc8 100%);
}
.media--mid .media__fill {
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,0.22), transparent 55%),
    linear-gradient(140deg, #6a6a66 0%, #4d4d49 50%, #343431 100%);
}
.media__fill.kb { animation: kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
/* fine architectural line overlay */
.media__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.media--light .media__grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
/* grain via svg noise */
.media__grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.media__cap {
  position: absolute; z-index: 3; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.62); font-weight: 500;
}
.media__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.97);
}
.media--color .media__img { filter: none; }
.media--bright .media__img { filter: grayscale(1) contrast(1.0) brightness(1.18); }
.media__nophoto-mark {
  position: absolute; z-index: 3; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--logo); font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase;
  font-size: 0.8rem; color: rgba(255,255,255,0.22); pointer-events: none; text-align: center; padding: 0 10%;
}
.media__cap--video {
  display: inline-flex; align-items: center; color: #fff !important;
  background: rgba(0,0,0,0.42); backdrop-filter: blur(3px);
  padding: 6px 10px; letter-spacing: 0.18em;
}
.media--light .media__cap { color: rgba(0,0,0,0.42); }
/* video affordance */
.media__play {
  position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.media__play span {
  width: 64px; height: 64px; border: 1px solid rgba(255,255,255,0.7); border-radius: 50%;
  display: grid; place-items: center; backdrop-filter: blur(2px);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.media__play span::after {
  content: ""; border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent rgba(255,255,255,0.9); margin-left: 3px;
}
.media--light .media__play span { border-color: rgba(0,0,0,0.5); }
.media--light .media__play span::after { border-left-color: rgba(0,0,0,0.7); }

/* aspect helpers */
.ar-21\/9 { aspect-ratio: 21 / 9; }
.ar-16\/9 { aspect-ratio: 16 / 9; }
.ar-16\/12 { aspect-ratio: 16 / 12; }
.ar-4\/5  { aspect-ratio: 4 / 5; }
.ar-3\/4  { aspect-ratio: 3 / 4; }
.ar-1\/1  { aspect-ratio: 1 / 1; }
.ar-3\/2  { aspect-ratio: 3 / 2; }
.ar-9\/16 { aspect-ratio: 9 / 16; }

/* ===========================================================================
   HEADER
   =========================================================================== */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), height var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__inner {
  width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.hdr--scrolled {
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line); height: 70px;
}
.hdr--solid { background: var(--white); border-bottom-color: var(--line); position: sticky; }
.hdr__logo { justify-self: start; color: var(--ink); }
.hdr--invert:not(.hdr--scrolled) { color: var(--white); }
.hdr--invert:not(.hdr--scrolled) .hdr__logo { color: var(--white); }
.hdr--invert:not(.hdr--scrolled) .hdr__nav a { color: rgba(255,255,255,0.86); }
.hdr--invert:not(.hdr--scrolled) .navbtn--outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hdr--invert:not(.hdr--scrolled) .navbtn--outline:hover { background:#fff; color:#000; }
.hdr--invert:not(.hdr--scrolled) .navbtn--solid { background:#fff; color:#000; border-color:#fff; }
.hdr--invert:not(.hdr--scrolled) .navbtn--solid:hover { background:transparent; color:#fff; }
.hdr--invert:not(.hdr--scrolled) .burger span { background:#fff; }

.hdr__nav { justify-self: center; display: flex; gap: clamp(18px, 2.4vw, 40px); }
.hdr__nav a {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); position: relative; padding-block: 6px; white-space: nowrap;
}
.hdr__nav a::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:currentColor;
  transform: scaleX(0); transform-origin:left; transition: transform var(--t-med) var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); }

.hdr__actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.navbtn {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  padding: 0.82em 1.2em; border: 1px solid var(--ink); line-height: 1; white-space: nowrap;
  transition: all var(--t-med) var(--ease); display: inline-flex; align-items: center; gap: 0.6em;
}
.navbtn--outline { background: transparent; color: var(--ink); }
.navbtn--outline:hover { background: var(--ink); color: #fff; }
.navbtn--solid { background: var(--ink); color: #fff; }
.navbtn--solid:hover { background: transparent; color: var(--ink); }
.burger {
  width: 56px; height: 35px; border: 0; background: transparent; display: grid; place-items: center; gap: 1px; padding: 0;
}
.burger span { display:block; width: 40px; height: 1.5px; background: var(--ink); transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease); }

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .navbtn--outline { display: none; }
}
@media (max-width: 560px) {
  .navbtn--solid .navbtn__txt { display: none; }
  .navbtn--solid { padding: 0.82em; }
}

/* ===========================================================================
   FULLSCREEN MENU (hamburger)
   =========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: #fff;
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { height: var(--header-h); display: flex; align-items: center; }
.menu__top .hdr__inner { grid-template-columns: 1fr auto; }
.menu__close {
  width: 46px; height: 46px; border: 0; background: transparent; position: relative; justify-self: end;
}
.menu__close::before, .menu__close::after {
  content:""; position:absolute; left:11px; top:22px; width:24px; height:1.5px; background:#fff;
}
.menu__close::before { transform: rotate(45deg); }
.menu__close::after { transform: rotate(-45deg); }
.menu__body {
  max-width: 1600px; margin: 0 auto; width: 100%; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-content: center; padding-block: 40px;
}
.menu__col h4 {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin: 0 0 26px; font-weight: 500;
}
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { overflow: hidden; }
.menu__list a {
  font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.18;
  color: #fff; display: inline-flex; align-items: baseline; gap: 0.5em;
  transition: color var(--t-med) var(--ease), transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease);
  transform: translateY(110%); opacity: 0;
}
.menu.is-open .menu__list a { transform: translateY(0); opacity: 1; }
.menu__list a:hover { color: rgba(255,255,255,0.55); }
.menu__list a .num {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.35);
  transform: translateY(-0.4em);
}
.menu__aside { border-left: 1px solid var(--line-on-dark); padding-left: 48px; }
.menu__aside ul { list-style: none; padding: 0; margin: 0 0 28px; }
.menu__aside li { margin-bottom: 14px; }
.menu__aside a { color: rgba(255,255,255,0.75); font-size: 0.95rem; letter-spacing: 0.02em; }
.menu__aside a:hover { color: #fff; }
.menu__foot {
  max-width: 1600px; margin: 0 auto; width: 100%; padding: 28px var(--gutter);
  border-top: 1px solid var(--line-on-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
@media (max-width: 820px) {
  .menu__body { grid-template-columns: 1fr; gap: 36px; }
  .menu__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-on-dark); padding-top: 32px; }
}

/* ===========================================================================
   FLOATING WHATSAPP
   =========================================================================== */
.wa {
  position: fixed; right: clamp(16px, 3vw, 34px); bottom: clamp(16px, 3vw, 34px); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 40px rgba(0,0,0,0.28);
  transition: transform var(--t-med) var(--ease); border: 1px solid rgba(255,255,255,0.12);
}
.wa:hover { transform: translateY(-3px) scale(1.04); }
.wa svg { width: 27px; height: 27px; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.ftr { background: var(--black); color: rgba(255,255,255,0.7); padding-block: clamp(64px, 8vw, 110px) 40px; }
.ftr__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid var(--line-on-dark); }
.ftr__brand .wordmark { color: #fff; font-size: 1.6rem; }
.ftr__brand p { max-width: 34ch; color: rgba(255,255,255,0.55); margin-top: 22px; font-size: 0.95rem; }
.ftr h5 { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin: 0 0 20px; font-weight: 500; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 12px; }
.ftr a { color: rgba(255,255,255,0.72); font-size: 0.92rem; transition: color var(--t-med); }
.ftr a:hover { color: #fff; }
.ftr__stores { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ftr__store { border: 1px solid var(--line-on-dark); padding: 10px 14px; font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); display: inline-flex; gap: 8px; align-items: center; }
.ftr__store:hover { border-color: rgba(255,255,255,0.4); }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 32px; font-size: 0.74rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.42); }
.ftr__bottom a { color: rgba(255,255,255,0.6); }
@media (max-width: 880px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__top { grid-template-columns: 1fr; } }

/* ===========================================================================
   PROPERTY CARD (vitrine)
   =========================================================================== */
.pcard { display: block; color: inherit; }
.pcard__media { position: relative; overflow: hidden; }
.pcard__media .media { width: 100%; }
.pcard__media .media__fill { transition: transform var(--t-slow) var(--ease); }
.pcard:hover .media__fill { transform: scale(1.06); }
.pcard__tag {
  position: absolute; top: 14px; left: 14px; z-index: 4; background: rgba(255,255,255,0.92);
  color: var(--ink); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 7px 11px; white-space: nowrap;
}
.pcard__fav {
  position: absolute; top: 12px; right: 12px; z-index: 4; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: grid; place-items: center; transition: transform var(--t-med);
}
.pcard:hover .pcard__fav { transform: scale(1.08); }
.pcard__body { padding-top: 22px; }
.pcard__loc { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pcard__title { font-family: var(--display); font-size: 1.5rem; line-height: 1.12; margin: 12px 0 16px; letter-spacing: -0.01em; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.86rem; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pcard__specs .s { display: inline-flex; align-items: center; gap: 7px; }
.pcard__price { margin-top: 16px; font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pcard__price > span:first-child { white-space: nowrap; }
.pcard__price .op { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* inline icon line */
.ico { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.25; fill: none; flex: none; }
.ico--sm { width: 15px; height: 15px; }
.ico--fill { stroke: none; fill: currentColor; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 90ms; }
.reveal[data-d="2"] { transition-delay: 180ms; }
.reveal[data-d="3"] { transition-delay: 270ms; }
.reveal[data-d="4"] { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================================
   SEARCH BAR (busca rápida / filtros)
   =========================================================================== */
.search {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}
.search--on-dark { box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.search__field { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-right: 1px solid var(--line); text-align: left; }
.search__field:nth-child(4) { border-right: 0; }
.search__field label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.search__field select, .search__field input {
  border: 0; background: transparent; font-family: var(--body); font-size: 0.98rem; font-weight: 600; color: var(--ink);
  padding: 0; width: 100%; appearance: none; cursor: pointer; letter-spacing: -0.01em;
}
.search__field select:focus, .search__field input:focus { outline: none; }
.search__go {
  background: var(--ink); color: #fff; border: 0; padding: 0 34px; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.7em;
  transition: background var(--t-med) var(--ease), gap var(--t-med) var(--ease);
}
.search__go:hover { background: #222; gap: 1em; }
/* segmented op toggle */
.seg { display: inline-flex; border: 1px solid var(--line); background: var(--white); }
.seg--on-dark { border-color: rgba(255,255,255,0.25); background: rgba(0,0,0,0.3); backdrop-filter: blur(6px); }
.seg button {
  background: transparent; border: 0; padding: 12px 26px; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700; color: var(--muted); transition: all var(--t-med) var(--ease);
}
.seg--on-dark button { color: rgba(255,255,255,0.6); }
.seg button.is-active { background: var(--ink); color: #fff; }
.seg--on-dark button.is-active { background: #fff; color: #000; }
@media (max-width: 860px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search__field { border-right: 0; border-bottom: 1px solid var(--line); }
  .search__field:nth-child(odd) { border-right: 1px solid var(--line); }
  .search__go { grid-column: 1 / -1; padding: 18px; }
}

/* ===========================================================================
   NEIGHBORHOOD TILES (bairros nobres)
   =========================================================================== */
.hoods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hood { position: relative; display: block; overflow: hidden; color: #fff; }
.hood .media { width: 100%; }
.hood .media__fill { transition: transform var(--t-slow) var(--ease); }
.hood:hover .media__fill { transform: scale(1.08); }
.hood__label {
  position: absolute; z-index: 4; inset: auto 0 0 0; padding: 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  font-family: var(--display); font-size: 1.18rem; letter-spacing: -0.01em;
}
.hood__count { position: absolute; z-index: 4; top: 14px; right: 14px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.8); }
@media (max-width: 1080px) { .hoods { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .hoods { grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================================
   INSTAGRAM GRID
   =========================================================================== */
.ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig__cell { position: relative; overflow: hidden; }
.ig__cell .media { width: 100%; }
.ig__cell .media__img { filter: none; }
.ig__cell .media__fill { transition: transform var(--t-slow) var(--ease); }
.ig__cell:hover .media__fill { transform: scale(1.08); }
.ig__cell::after {
  content: ""; position: absolute; inset: 0; z-index: 4; background: rgba(0,0,0,0.0); transition: background var(--t-med) var(--ease);
}
.ig__cell:hover::after { background: rgba(0,0,0,0.28); }
@media (max-width: 880px) { .ig { grid-template-columns: repeat(3, 1fr); } }

/* ===========================================================================
   EMPREENDIMENTO CARD (vídeo em hover)
   =========================================================================== */
.ecard { position: relative; display: block; overflow: hidden; color: #fff; }
.ecard .media { width: 100%; height: 100%; }
.ecard .media__fill { transition: transform 1.2s var(--ease); }
.ecard:hover .media__fill { transform: scale(1.07); }
.ecard .media__play span { transition: opacity var(--t-med) var(--ease); }
.ecard:hover .media__play span { background: rgba(255,255,255,0.14); }
.ecard__overlay { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 3vw, 40px); background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 100%); }
.ecard__status { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 9px; }
.ecard__status .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.ecard__name { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.6rem); margin: 14px 0 6px; line-height: 1.02; }
.ecard__loc { font-size: 0.86rem; color: rgba(255,255,255,0.72); letter-spacing: 0.02em; }

/* ===========================================================================
   FIGURE / quote / stats
   =========================================================================== */
.figrow { display: grid; gap: clamp(16px, 2vw, 28px); }
.quote { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.18; letter-spacing: -0.015em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.stat__n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.stat__l { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.section--dark .stat__l { color: rgba(255,255,255,0.55); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; gap: 36px; } }

/* form */
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 1rem; padding: 14px 16px; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); border-radius: 0; transition: border-color var(--t-med) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.section--dark .field input, .section--dark .field textarea, .section--dark .field select { background: transparent; border-color: var(--line-on-dark); color: #fff; }
.section--dark .field label { color: rgba(255,255,255,0.5); }

/* ===========================================================================
   PAGE: HOME
   =========================================================================== */
/* ---- Home-specific layout ---- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background:#000; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide .media, .hero-slide .media__fill { width: 100%; height: 100%; }
.hero-slide .media__fill { animation: kenburns 13s ease-in-out infinite alternate; }
.hero__bg { width: 100%; height: 100%; }
.hero__bg .media__fill, .hero__bg { aspect-ratio: auto !important; }
.hero .media.ar-21\/9 { aspect-ratio: auto; height: 100%; }
.hero__scrim { position: absolute; inset: 0; z-index: 3; background: linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.5) 38%, rgba(0,0,0,.38) 68%, rgba(0,0,0,.5) 100%); }
.hero__inner { position: relative; z-index: 5; color: #fff; padding-top: calc(var(--header-h) + 40px); padding-bottom: 18px; }
.hero__inner h1 { margin-top: 24px; line-height: 1.06; font-size: clamp(3rem, 5.6vw, 5.2rem); text-wrap: nowrap; }
.hero__inner p { font-size: clamp(1rem, 4.6vw, 1.5rem); }
@media (max-width: 520px) { .hero__inner h1 { text-wrap: balance; } }
.hero__sub { max-width: 46ch; margin-top: 30px; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.8); line-height: 1.5; }
.hero__search { position: relative; z-index: 5; padding-bottom: clamp(40px, 6vw, 80px); padding-top: 30px; }
.hero__search .seg { margin-bottom: -1px; }
.hero__code { margin-top: 22px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 26px; z-index: 5; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.6); font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll-line { width: 46px; height: 1px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:""; position:absolute; inset:0; background:#fff; animation: scrollline 2.4s var(--ease) infinite; }
@keyframes scrollline { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }
@media (max-width: 1080px) { .hero__scroll { display:none; } }

.brand { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.brand__sign { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.brand__faces { display: flex; }
.brand__face { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--off); }
.brand__face img {object-position: top center;}
.brand__faces .brand__face + .brand__face { margin-left: -16px; }
.brand__face .media__cap { left: 50%; bottom: 50%; transform: translate(-50%, 50%); }
@media (max-width: 820px) { .brand { grid-template-columns: 1fr; } }

.shorts-head { display: flex; align-items: center; gap: 22px; }
.shorts-nav { display: flex; gap: 8px; }
.shorts-nav button { width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); transition: all var(--t-med) var(--ease); }
.shorts-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.shorts { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; cursor: grab; }
.shorts::-webkit-scrollbar { display: none; }
.scard { position: relative; flex: none; width: clamp(232px, 24vw, 312px); scroll-snap-align: start; overflow: hidden; display: block; color: #fff; }
.scard .media { width: 100%; }
.scard .media__fill { transition: transform 1.2s var(--ease); }
.scard:hover .media__fill { transform: scale(1.05); }
.scard .media__play span { transition: background var(--t-med) var(--ease); }
.scard:hover .media__play span { background: rgba(255,255,255,.16); }
/* vídeo autoplay do destaque: só decorativo, sem controles do YouTube
   roubando o clique do link do card (o card inteiro é um <a>). */
.scard .yt-embed { pointer-events: none; width: 100%; }
.scard__overlay { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,.74) 0%, rgba(0,0,0,.05) 52%, rgba(0,0,0,.18) 100%); pointer-events: none; }
.scard__loc { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.scard__title { font-family: var(--display); font-size: 1.14rem; line-height: 1.14; margin: 9px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.scard__price { font-weight: 700; font-size: .98rem; letter-spacing: -0.01em; }

.emp-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.emp-grid .ecard:nth-child(1) { grid-row: 1 / 3; }
.emp-grid .ecard:nth-child(1) .media { aspect-ratio: 4/5; }
.emp-grid .ecard:nth-child(2) .media,
.emp-grid .ecard:nth-child(3) .media { aspect-ratio: 16/10; }
@media (max-width: 820px) { .emp-grid { grid-template-columns: 1fr; } .emp-grid .ecard:nth-child(1) { grid-row: auto; } .emp-grid .ecard .media { aspect-ratio: 16/10 !important; } }

.cta { position: relative; display: grid; place-items: center; text-align: center; min-height: 78vh; overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media .media { width: 100%; height: 100%; aspect-ratio: auto; }
.cta__media::after { content:""; position:absolute; inset:0; background: rgba(245,245,243,.72); }
.cta__inner { position: relative; z-index: 3; padding-block: 80px; }
.cta__inner .lead { margin-inline: auto; }

/* ===========================================================================
   PAGE: IMOVEL (PDP)
   =========================================================================== */
.pdp-gallery { padding-top: 25px }
.pdp-gallery .crumb { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 9px; margin-bottom: 22px; flex-wrap: wrap; }
.pdp-gallery .crumb a:hover { color: var(--ink); }
.gal-wrap { position: relative; }
.gallery-carousel { display: flex; align-items: stretch; gap: 14px; height: clamp(360px, 52vh, 580px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-inline: 15px; scrollbar-width: none; cursor: grab; }
.shorts.is-dragging, .gallery-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.shorts.is-dragging *, .gallery-carousel.is-dragging * { pointer-events: none; }
.gallery-carousel::-webkit-scrollbar { display: none; }
.gslide { flex: none; height: 100%; aspect-ratio: 16/12; scroll-snap-align: center; cursor: pointer; }
.gslide--video { aspect-ratio: 9/16; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.94); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.16); transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease); }
.gal-arrow:hover { background: var(--ink); color: #fff; }
.gal-arrow--prev { left: max(10px, 3.5vw); }
.gal-arrow--next { right: max(10px, 3.5vw); }
.gallery__bar { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }

.yt-embed { position: relative; display: block; width: 100%; height: 100%; background: #000; overflow: hidden; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===========================================================================
   LIGHTBOX — galeria em tela cheia (fotos + vídeo) ao clicar num slide
   =========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.96); display: none; }
.lightbox.is-open { display: block; }
.lightbox__track { height: 100%; display: flex; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: none; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; padding: 40px; box-sizing: border-box; }
.lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__slide .yt-embed { max-width: min(100%, 520px); height: 100%; margin-inline: auto; }
.lightbox__close, .lightbox__arrow {
  position: fixed; z-index: 210; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background var(--t-med) var(--ease);
}
.lightbox__close:hover, .lightbox__arrow:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.lightbox__arrow { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; }
.lightbox__arrow--prev { left: 20px; }
.lightbox__arrow--next { right: 20px; }
.lightbox__count { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 210; font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; color: rgba(255,255,255,.7); }
@media (max-width: 620px) { .lightbox__arrow { width: 44px; height: 44px; } .lightbox__slide { padding: 20px; } }
.gal-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: var(--muted); }
.gallery__all { background: transparent; border: 1px solid var(--line); padding: 12px 18px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; transition: border-color var(--t-med); }
.gallery__all:hover { border-color: var(--ink); }
@media (max-width: 760px) { .gallery-carousel { height: clamp(320px, 46vh, 460px); } .gal-arrow { width: 42px; height: 42px; } }

.pdp { display: grid; grid-template-columns: 1fr 380px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.pdp--no-aside { grid-template-columns: 1fr; }
.pdp__loc { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pdp__title { font-size: clamp(2rem, 4vw, 3.3rem); margin: 18px 0 26px; line-height: 1.06; max-width: 20ch; }
.pdp__specs { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.pdp__specs .spec { display: inline-flex; align-items: center; gap: 8px; font-size: .98rem; color: var(--muted); }
.pdp__specs .spec .ico { color: var(--muted); }
.pdp__specs .spec b { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin-right: 2px; }
.pdp__block { padding-block: clamp(34px, 4vw, 52px); }
.pdp__block h3 { margin-bottom: 8px; }
.pdp__desc { color: var(--muted); font-size: 1.06rem; line-height: 1.65; max-width: 60ch; margin-top: 16px; }
.feats { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 60px); }
.feats__h { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; font-weight: 500; }
.feats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.feats__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: .98rem; }
.feats__list li::before { content: ""; width: 5px; height: 5px; background: var(--ink); transform: rotate(45deg); flex: none; }
.pdp__map { aspect-ratio: 16/8; position: relative; }
.pin { position: absolute; width: 16px; height: 16px; background: var(--ink); border: 2px solid #fff; border-radius: 50%; transform: translate(-50%,-50%); }
.pin--on { width: auto; height: auto; border-radius: 20px; padding: 7px 13px; }
.pin--on span { font-size: .72rem; font-weight: 700; color: #fff; }
.map-marker { width: 18px; height: 18px; background: var(--ink); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.mapboxgl-ctrl-attrib, .mapboxgl-ctrl-logo { opacity: .8; }

.pdp__aside { position: sticky; top: 92px; }
.contact { border: 1px solid var(--line); padding: 30px; }
.contact__agent { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact__agent-photo { width: 86px; height: 86px; border-radius: 0; object-fit: cover; flex: none; }
.contact__agent-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact__agent-name { font-family: var(--display); font-size: 1.08rem; font-weight: 500; }
.contact__agent-role { font-size: .78rem; color: var(--muted); }
.contact__agent-phone { font-size: .84rem; font-weight: 600; color: var(--ink); }
.contact__op { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__price { font-family: var(--display); font-size: 2.4rem; font-weight: 500; line-height: 1; margin: 12px 0 12px; letter-spacing: -0.02em; }
.contact__code { font-size: .82rem; color: var(--muted); line-height: 1.5; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.contact .btn { margin-bottom: 10px; }
.contact__form { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.contact__ok { font-size: .84rem; color: var(--ink); background: var(--off); padding: 12px; }
@media (max-width: 900px) { .feats, .feats__list { grid-template-columns: 1fr; } .pdp { grid-template-columns: 1fr; } .pdp__aside { position: static; } }

/* modal genérico (usado por "Agendar visita" na página de imóvel) */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,.6); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__body { background: #fff; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 34px 30px; position: relative; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; display: grid; place-items: center; background: transparent; border: 0; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.modal__close:hover { color: var(--ink); }
.modal__title { font-family: var(--display); font-size: 1.5rem; font-weight: 500; padding-right: 30px; }
.modal__lead { color: var(--muted); font-size: .9rem; margin-top: 8px; line-height: 1.5; }
.modal .contact__form { margin-top: 22px; }

.vitrine { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 38px); }
@media (max-width: 980px) { .vitrine { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vitrine { grid-template-columns: 1fr; } }

/* ===========================================================================
   PAGE: EMPREENDIMENTO (LP)
   =========================================================================== */
.lp-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background:#000; }
.lp-hero__media { position: absolute; inset: 0; overflow: hidden; }
.lp-hero__media .media { width: 100%; height: 100%; }
.lp-hero__media .media__fill { animation-duration: 32s; }
.lp-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.2) 46%, rgba(0,0,0,.4) 100%); }
.lp-hero__play { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.lp-hero__inner { position: relative; z-index: 5; color: #fff; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 7vw, 96px); }
.lp-hero__inner .ecard__status { color: rgba(255,255,255,.85); }
.lp-hero__inner h1 { font-size: clamp(2.6rem, 7.4vw, 6.6rem); margin: 22px 0 0; line-height: 1.04; text-wrap: nowrap; }
@media (max-width: 560px) { .lp-hero__inner h1 { text-wrap: balance; } }
.lp-hero__sub { max-width: 40ch; margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: rgba(255,255,255,.82); }
.lp-hero__cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.lp-nav { position: sticky; top: 70px; z-index: 45; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.lp-nav__name { font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.lp-nav__links { display: flex; gap: 26px; }
.lp-nav__links a { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color var(--t-med); }
.lp-nav__links a:hover { color: var(--ink); }
@media (max-width: 880px) { .lp-nav__links { display: none; } }

#link-wa {display: none;}

.lp-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.lp-diffs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.lp-diff { border-top: 1px solid var(--line); padding-top: 16px; }
.lp-diff b { font-family: var(--display); font-size: 1.15rem; font-weight: 500; display: block; margin-bottom: 6px; }
.lp-diff span { color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .lp-about { grid-template-columns: 1fr; } }

.lp-local { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.lp-local--no-map { grid-template-columns: 1fr; }
.lp-local__map { aspect-ratio: 16/11; position: relative; }
.lp-poi { display: flex; flex-direction: column; }
.poi { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.poi b { font-weight: 600; }
.poi span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.pin { position: absolute; width: 16px; height: 16px; background: var(--ink); border: 2px solid #fff; border-radius: 50%; transform: translate(-50%,-50%); }
.pin--on { width: auto; height: auto; border-radius: 20px; padding: 7px 13px; }
.pin--on span { font-size: .72rem; font-weight: 700; color: #fff; }
@media (max-width: 820px) { .lp-local { grid-template-columns: 1fr; } }

.lp-typos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-typo { background: var(--white); border: 1px solid var(--line); }
.lp-typo .media { aspect-ratio: 4/3; }
.lp-typo__b { padding: 22px; }
.lp-typo__b h4 { font-family: var(--display); font-size: 1.4rem; font-weight: 500; margin: 0 0 6px; }
.lp-typo__b .m { color: var(--muted); font-size: .88rem; }
.lp-typo__b .d { margin-top: 14px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 820px) { .lp-typos { grid-template-columns: 1fr; } }

.lp-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.lp-gal .media { width: 100%; height: 100%; }
.lp-gal__item { display: block; width: 100%; height: 100%; cursor: pointer; }
.lp-gal > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.lp-gal > *:nth-child(4) { grid-row: span 2; }
@media (max-width: 820px) { .lp-gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .lp-gal > *:nth-child(1) { grid-column: span 2; } .lp-gal > *:nth-child(4) { grid-row: auto; } }

.lp-amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-amen__cell { position: relative; overflow: hidden; color: #fff; }
.lp-amen__cell .media { aspect-ratio: 4/3; }
.lp-amen__cell .media__fill { transition: transform var(--t-slow) var(--ease); }
.lp-amen__cell:hover .media__fill { transform: scale(1.07); }
.lp-amen__cell b { position: absolute; z-index: 4; left: 18px; bottom: 16px; font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.lp-amen__cell::after { content:""; position:absolute; inset:0; z-index:3; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 55%); }
@media (max-width: 820px) { .lp-amen { grid-template-columns: 1fr 1fr; } }

.lp-form { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.lp-form__card { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); padding: 30px; }
.contact__ok { font-size: .84rem; background: var(--off); padding: 12px; }
@media (max-width: 820px) { .lp-form { grid-template-columns: 1fr; } }

.emp-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.emp-list .ecard .media { aspect-ratio: 4/3.4; }
@media (max-width: 900px) { .emp-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .emp-list { grid-template-columns: 1fr; } }

/* ===========================================================================
   PAGE: EMPREENDIMENTOS (LISTAGEM)
   =========================================================================== */
.emp-intro { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(20px, 3vw, 36px); }
.emp-intro .crumb { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; margin-bottom: 30px; }
.emp-intro .crumb a:hover { color: var(--ink); }
.emp-intro h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin-top: 18px; }

/* feature: one big + two stacked */
.emp-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.emp-feature .ecard:first-child .media { aspect-ratio: 16/12; }
.emp-feature__side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.emp-feature__side .ecard .media { aspect-ratio: 16/9; height: 100%; }
@media (max-width: 820px) { .emp-feature { grid-template-columns: 1fr; } .emp-feature .ecard .media { aspect-ratio: 16/10 !important; } }

.emp-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.emp-filters { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--line); padding: 9px 16px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: all var(--t-med) var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ffield { display: flex; flex-direction: column; gap: 3px; padding: 8px 14px; border: 1px solid var(--line); min-width: 150px; }
.ffield span { font-family: var(--mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ffield select { border: 0; background: transparent; font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--ink); appearance: none; cursor: pointer; }
.ffield select:focus { outline: none; }

.emp-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.emp-list .ecard .media { aspect-ratio: 4/3.4; }
@media (max-width: 900px) { .emp-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .emp-list { grid-template-columns: 1fr; } }

.helpstrip { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ===========================================================================
   PAGE: BUSCAR
   =========================================================================== */
.srch-intro { padding-top: clamp(40px, 6vw, 40px); padding-bottom: clamp(28px, 3vw, 40px); }
.crumb { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; margin-bottom: 30px; }
.crumb a:hover { color: var(--ink); }
.srch-intro__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.srch-intro h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin-top: 16px; }
.srch-intro__count { color: var(--muted); font-size: .95rem; max-width: 22ch; }
.srch-intro__count strong { font-family: var(--display); font-size: 1.3rem; color: var(--ink); font-weight: 500; }

.filterbar { position: sticky; top: 83px; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.filterbar__inner { display: flex; align-items: center; gap: 14px; padding-block: 12px; flex-wrap: wrap; }
.filterbar__inner + .filterbar__inner { border-top: 1px solid var(--line-soft); }
.filterbar__fields { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; flex: 1 1 420px; }
.filterbar__row2 { padding-block: 12px; }
.ffield { display: flex; flex-direction: column; gap: 3px; padding: 8px 14px; border: 1px solid var(--line); min-width: 120px; }
.ffield span { font-family: var(--mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ffield select { border: 0; background: transparent; font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--ink); appearance: none; cursor: pointer; }
.ffield select:focus { outline: none; }
.filterbar__right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ffield--sort { min-width: 130px; }
.viewtoggle { display: inline-flex; border: 1px solid var(--line); }
.viewtoggle button { width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 0; color: var(--muted); transition: all var(--t-med) var(--ease); }
.viewtoggle button.is-active { background: var(--ink); color: #fff; }
@media (max-width: 1300px) { .filterbar__inner { flex-direction: column; align-items: stretch; } .filterbar__fields { flex-basis: auto; } .filterbar__right { width: 100%; justify-content: space-between; } }
@media (max-width: 560px) { .filterbar__fields { grid-template-columns: 1fr 1fr; gap: 8px; } }
@media (max-width: 380px) { .filterbar__fields { grid-template-columns: 1fr; } }

/* mobile: esconde os campos atrás de um botão "Filtros", pra não ocupar
   a tela toda com a barra de filtros aberta o tempo todo. */
.filters-toggle { display: none; }
@media (max-width: 780px) {
  .filterbar__inner { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 10px; }
  .filters-toggle {
    display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto;
  }
  .filters-toggle .ico { width: 16px; height: 16px; }
  .filters-toggle.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .filterbar__collapsible { display: none; width: 100%; }
  .filterbar.is-open .filterbar__collapsible { display: flex; }
  .filterbar.is-open .filterbar__fields.filterbar__collapsible { display: grid; }
  .filterbar.is-open .filterbar__inner { flex-wrap: wrap; }
  .filterbar__right.filterbar__collapsible { flex-direction: column; align-items: stretch; }
}

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
@media (max-width: 980px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .results { grid-template-columns: 1fr; } }

.mapview { display: grid; grid-template-columns: 420px 1fr; gap: 20px; height: 76vh; }
.mapview__list { overflow: auto; display: flex; flex-direction: column; gap: 16px; padding-right: 6px; }
.mapview__canvas { position: relative; overflow: hidden; }
.pin { position: absolute; width: 16px; height: 16px; background: var(--ink); border: 2px solid #fff; border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.pin--on { width: auto; height: auto; border-radius: 20px; padding: 7px 12px; }
.pin--on span { font-size: .72rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.maprow { display: grid; grid-template-columns: 120px 1fr; gap: 14px; border: 1px solid var(--line); padding: 12px; cursor: pointer; transition: border-color var(--t-med); }
.maprow:hover { border-color: var(--ink); }
.maprow h4 { font-family: var(--display); font-size: 1.05rem; font-weight: 500; margin: 0 0 6px; line-height: 1.15; }
.maprow .mr-meta { font-size: .78rem; color: var(--muted); }
.maprow .mr-price { font-weight: 700; font-size: .95rem; margin-top: 8px; }
@media (max-width: 820px) { .mapview { grid-template-columns: 1fr; height: auto; } .mapview__canvas { height: 50vh; } }

.loadmore { text-align: center; margin-top: clamp(48px, 6vw, 80px); }
.loadmore p { color: var(--muted); font-size: .85rem; margin-top: 18px; }
.loadmore p strong { color: var(--ink); }

.helpstrip { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ===========================================================================
   PAGE: VERONEZ (INSTITUCIONAL)
   =========================================================================== */
.vz-hero { position: relative; min-height: 82svh; display: flex; align-items: flex-end; background:#000; }
.vz-hero__media { position: absolute; inset: 0; overflow: hidden; }
.vz-hero__media .media { width: 100%; height: 100%; }
.vz-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.2) 60%, rgba(0,0,0,.34)); }
.vz-hero__inner { position: relative; z-index: 4; color: #fff; padding-block: 0 clamp(48px, 7vw, 90px); padding-top: calc(var(--header-h) + 30px); }
.vz-hero__inner h1 { margin-top: 22px; font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 1.04; text-wrap: nowrap; }
@media (max-width: 560px) { .vz-hero__inner h1 { text-wrap: balance; } }

.vz-hist { display: grid; grid-template-columns: .5fr 1.5fr; gap: clamp(24px, 4vw, 64px); }
@media (max-width: 760px) { .vz-hist { grid-template-columns: 1fr; } }

.vz-princ { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.vz-princ__item { border-top: 1px solid var(--ink); padding-top: 22px; }
.vz-princ__n { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; color: var(--muted); }
.vz-princ__item h4 { font-family: var(--display); font-size: 1.5rem; font-weight: 500; margin: 16px 0 12px; line-height: 1.1; }
.vz-princ__item p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
@media (max-width: 860px) { .vz-princ { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vz-princ { grid-template-columns: 1fr; } }

.vz-office { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 230px; gap: 12px; }
.vz-office .media { width: 100%; height: 100%; }
.vz-office > *:nth-child(1) { grid-row: span 2; }
.vz-office > *:nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) { .vz-office { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .vz-office > *:nth-child(1) { grid-column: span 2; } .vz-office > *:nth-child(4) { grid-column: span 2; } }

.vz-partners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-bottom: 60px; }
.vz-partner { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.vz-partner .media { aspect-ratio: 4/5; }
.vz-partner .media__img { object-position: top center; }
.vz-partner h4 { font-family: var(--display); font-size: 1.6rem; font-weight: 500; margin: 0 0 4px; }
.vz-partner .role { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.vz-partner p { color: var(--muted); font-size: .92rem; margin-top: 14px; line-height: 1.55; }
@media (max-width: 980px) { .vz-partners { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .vz-partner { grid-template-columns: 110px 1fr; gap: 16px; } }

.vz-team__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 22px; }
.vz-team__grid .media { aspect-ratio: 4/5; }
.vz-team__grid .media__img { object-position: top center; }
@media (max-width: 760px) { .vz-team__grid { grid-template-columns: repeat(3, 1fr); } }

.vz-anuncie { position: relative; color: #fff; padding-block: clamp(72px, 10vw, 150px); overflow: hidden; }
.vz-anuncie__media { position: absolute; inset: 0; overflow: hidden; }
.vz-anuncie__media .media { width: 100%; height: 100%; }
.vz-anuncie__media::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,.66); }
.vz-anuncie__grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.vz-args { margin-top: 30px; display: flex; flex-direction: column; }
.vz-arg { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-on-dark); }
.vz-arg::before { content:""; width: 6px; height: 6px; background: #fff; transform: rotate(45deg); margin-top: 8px; flex: none; }
.vz-arg b { font-weight: 600; }
.vz-arg span { color: rgba(255,255,255,.6); display: block; font-size: .9rem; margin-top: 2px; }
.vz-testi { margin-top: 30px; padding: 22px; border: 1px solid var(--line-on-dark); }
.vz-testi p { font-family: var(--display); font-size: 1.2rem; line-height: 1.4; }
.vz-testi cite { font-style: normal; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); display: block; margin-top: 14px; }
.vz-anuncie__form { background: #fff; color: var(--ink); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.vz-anuncie__form h4 { font-family: var(--display); font-size: 1.4rem; font-weight: 500; margin: 0 0 6px; }
.vz-anuncie__form .field input, .vz-anuncie__form .field select { background: var(--white); border-color: var(--line); color: var(--ink); }
.vz-anuncie__form .field label { color: var(--muted); }
@media (max-width: 860px) { .vz-anuncie__grid { grid-template-columns: 1fr; } }

.vz-area { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.vz-area__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ===========================================================================
   LEGACY WIDGETS RESTYLED FOR NEW LAYOUT
   Applied only on pages rendered with $newLayout=true (body[data-new-layout]),
   so unmigrated pages keep the old widget look untouched.
   =========================================================================== */
body[data-new-layout] #whatsapp-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
body[data-new-layout] #whatsapp-modal.visible { display: flex; }
body[data-new-layout] #whatsapp-modal .whatsapp-modal-body {
  background: #fff; width: 100%; max-width: 420px; padding: 30px; position: relative;
}
body[data-new-layout] #whatsapp-modal .title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
body[data-new-layout] #whatsapp-modal .title img { display:none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
body[data-new-layout] #whatsapp-modal .title p { font-family: var(--display); font-size: 1.2rem; margin: 0; flex: 1; }
body[data-new-layout] #whatsapp-modal .title button { background: transparent; border: 0; font-size: 1rem; color: var(--muted); }
body[data-new-layout] #whatsapp-form { display: flex; flex-direction: column; gap: 12px; }
body[data-new-layout] #whatsapp-form input {
  font-family: var(--body); font-size: 1rem; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0;
}
body[data-new-layout] #whatsapp-form input:focus { outline: none; border-color: var(--ink); }
body[data-new-layout] #whatsapp-form .input-website { display: none; }
body[data-new-layout] #whatsapp-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--body); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 1.05em 1.7em; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer;
}
body[data-new-layout] #whatsapp-form button:hover { background: transparent; color: var(--ink); }
body[data-new-layout] #fabs-contact { z-index: 55; }
body[data-new-layout] #ccmsg { font-family: var(--body); border-radius: 0 !important; }

/* ===========================================================================
   FILTER SELECTS (fsel) — dropdown "custom select" (tipo, dormitórios, valor)
   and the bairro modal. Same interaction as o sistema antigo (multi-select
   com checkboxes / faixa de valor em 2 campos / modal pro bairro), com o
   visual do layout novo.
   =========================================================================== */
.fsel { position: relative; display: block; }
.fsel__btn {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border: 0; border-right: 1px solid var(--line);
  background: transparent; text-align: left; width: 100%; cursor: pointer; font-family: var(--body);
}
.fsel__label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fsel__value { font-size: 0.98rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.fsel.is-open .fsel__btn { background: rgba(10,10,10,0.03); }

/* .ffilter: tamanho uniforme pra qualquer campo de filtro (dropdown .fsel
   ou o texto livre .ftext), pra barra de busca/filtros não "espichar" um
   campo e bagunçar a grade — todos do mesmo tamanho, quebrando linha em
   grupos parecidos com o sistema antigo. */
.ffilter { flex: 1 1 168px; min-width: 150px; max-width: 100%; }
.search .ffilter { flex: none; width: auto; max-width: none; }
.ftext {
  display: flex; flex-direction: column; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); background: #fff;
}
.ftext input {
  border: 0; background: transparent; font-family: var(--body); font-weight: 600; font-size: 0.9rem; color: var(--ink);
  padding: 0; width: 100%;
}
.ftext input::placeholder { color: var(--muted-2); font-weight: 500; }
.ftext input:focus { outline: none; }

/* dentro da barra de filtros da busca: mesmo tamanho compacto do .ffield
   vizinho (select de ordenação), em vez do recorte alto da busca da home. */
.filterbar__fields .fsel__btn {
  flex-direction: row; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line);
}
.filterbar__fields .fsel__label { font-size: 0.56rem; }
.filterbar__fields .fsel__value { font-size: 0.9rem; }
.filterbar__fields .fsel.is-open .fsel__btn { background: var(--off); border-color: var(--ink); }

/* código e ordenar: mesmo tratamento de linha única (label + valor lado a
   lado) dos outros campos da barra, pra ficar com a mesma altura. */
.filterbar__fields .ftext,
.filterbar__right .ffield {
  flex-direction: row; align-items: baseline; gap: 8px; padding: 8px 14px;
}
.filterbar__fields .ftext .fsel__label,
.filterbar__right .ffield span {
  white-space: nowrap; flex: none;
}
.filterbar__fields .ftext input {
  font-size: 0.9rem; min-width: 0;
}
.filterbar__right .ffield select {
  font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.fsel__panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 80; width: max-content; min-width: 100%; max-width: min(320px, 92vw);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.16); color: var(--ink);
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
}
.filterbar .fsel__panel { top: calc(100% + 14px); }
.fsel__list { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.fsel__opt {
  display: flex; align-items: center; gap: 12px; padding: 10px 8px; font-size: 0.94rem; cursor: pointer;
  border-bottom: 1px solid var(--line-soft);
}
.fsel__opt:last-child { border-bottom: 0; }
.fsel__opt input { accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.fsel__range { display: flex; align-items: center; flex-flow: column; gap: 10px; }
.fsel__range .field { flex: 1; }
.fsel__range span.sep { color: var(--muted); margin-top: 18px; }
.fsel__actions { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.fsel__clear {
  background: transparent; border: 0; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; padding: 8px 4px;
}
.fsel__clear:hover { color: var(--ink); }
.fsel__apply {
  background: var(--ink); color: #fff; border: 0; padding: 10px 22px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background var(--t-med) var(--ease);
}
.fsel__apply:hover { background: #222; }

/* ---- bairro modal ---- */
.nbhd-modal {
  position: fixed; inset: 0; z-index: 150; background: rgba(10,10,10,0.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.nbhd-modal.is-open { display: flex; }
.nbhd-modal__body {
  background: #fff; width: 100%; max-width: 760px; max-height: 84vh; display: flex; flex-direction: column;
}
.nbhd-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.nbhd-modal__head h4 { font-family: var(--display); font-size: 1.3rem; font-weight: 500; margin: 0; }
.nbhd-modal__close { background: transparent; border: 0; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.nbhd-modal__close:hover { color: var(--ink); }
.nbhd-modal__scroll { overflow-y: auto; padding: 10px 26px; }
.nbhd-group { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.nbhd-group:last-child { border-bottom: 0; }
.nbhd-group__title { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.nbhd-group__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; }
@media (max-width: 620px) { .nbhd-group__list { grid-template-columns: repeat(2, 1fr); } }
.nbhd-opt { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-size: 0.92rem; cursor: pointer; }
.nbhd-opt input { accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.nbhd-modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 26px; border-top: 1px solid var(--line); }

/* ===========================================================================
   LOCAÇÃO DIGITAL — formulários (fiador / locatário / proprietário, PF/PJ)
   =========================================================================== */
.rent-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.rent-choice--2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.rent-choice a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; border: 1px solid var(--line);
  padding: 32px; transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.rent-choice a:hover { border-color: var(--ink); background: var(--off); }
.rent-choice a .num { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; color: var(--muted); }
.rent-choice a h3 { font-size: 1.4rem; }
.rent-choice a span.desc { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .rent-choice, .rent-choice--2 { grid-template-columns: 1fr; } }

.rent-form { max-width: 920px; }
.rent-group { border-top: 1px solid var(--line); padding-block: 32px; }
.rent-group:first-child { border-top: 0; padding-top: 0; }
.rent-group__title { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; font-weight: 500; }
.rent-group__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rent-group__fields .field--wide { grid-column: 1 / -1; }
@media (max-width: 820px) { .rent-group__fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rent-group__fields { grid-template-columns: 1fr; } }
.rent-docs { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 32px; }
.rent-docs h4 { font-family: var(--display); font-size: 1.2rem; font-weight: 500; margin: 0 0 10px; }
.rent-docs .text { color: var(--muted); font-size: .94rem; line-height: 1.6; margin-bottom: 22px; }

/* ===========================================================================
   BLOG
   =========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: block; color: inherit; }
.blog-card__body { padding-top: 20px; }
.blog-card__meta { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.blog-card h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 500; margin: 12px 0 10px; line-height: 1.15; }
.blog-card__desc { color: var(--muted); font-size: .92rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.pagination-nav .pagination { display: flex; list-style: none; margin: 0; padding: 0; gap: 6px; flex-wrap: wrap; }
.pagination-nav .pagination li a {
  display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding-inline: 10px;
  border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink); transition: all var(--t-med) var(--ease);
}
.pagination-nav .pagination li a:hover { border-color: var(--ink); background: var(--off); }
.pagination-nav .pagination li.active a { background: var(--ink); color: #fff; border-color: var(--ink); }
.pdp__desc :where(p) { margin: 0 0 1.2em; }
.pdp__desc :where(img) { max-width: 100%; height: auto; margin-block: 1.2em; }
.pdp__desc :where(h2, h3) { font-family: var(--display); font-weight: 500; margin: 1.4em 0 .6em; }

/* campo "buscar por código" da home — mesma largura da caixa de busca, mas
   transparente sobre a foto, só com a borda inferior branca. */
.hero__code-field { display: block; margin-top: 14px; }
.hero__code-field input {
  width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,0.5); background: transparent;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; padding: 14px 22px;
}
.hero__code-field input::placeholder { color: rgba(255,255,255,0.6); }
.hero__code-field input:focus { outline: none; border-bottom-color: #fff; }
