:root {
  --red: #d71920;
  --red-dark: #a90f17;
  --ink: #211b1b;
  --muted: #706565;
  --paper: #fffdf9;
  --soft: #f6f0ea;
  --line: #eadfd7;
  --green: #24724e;
  --radius: 18px;
  --shadow: 0 18px 60px rgb(48 28 28 / 14%);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.5; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--ink); color: #fff; font-size: .77rem; letter-spacing: .02em; }
.topbar__content { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header { position: sticky; top: 0; z-index: 40; background: rgb(255 253 249 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header.is-scrolled { box-shadow: 0 8px 30px rgb(50 30 30 / 8%); }
.header__content { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 145px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a, .footer__links a { text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--red); transition: right .2s ease; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav a.is-active { color: var(--red-dark); }
.nav a.is-active::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle__line { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.button { min-height: 46px; border: 1px solid transparent; border-radius: 999px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-weight: 600; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgb(215 25 32 / 20%); }
.button--primary:hover { background: var(--red-dark); }
.button--secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button--whatsapp { background: var(--green); color: #fff; }
.whatsapp-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.button--light { background: #fff; color: var(--red-dark); align-self: flex-start; }

.hero { min-height: 570px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--soft); }
.hero__copy { padding: clamp(68px, 8vw, 110px) clamp(28px, 6vw, 88px) 145px max(24px, calc((100vw - var(--container)) / 2)); align-self: center; }
.eyebrow { margin: 0 0 21px; display: flex; align-items: center; gap: 9px; color: var(--red-dark); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
h1, h2, .testimonial blockquote { margin: 0; font-family: "Playfair Display", Georgia, serif; letter-spacing: -.035em; font-weight: 500; }
h1 { max-width: 690px; font-size: clamp(3rem, 6vw, 5rem); line-height: .98; }
h1 em { color: var(--red); font-style: normal; }
h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.06; }
.hero__lead { max-width: 580px; margin: 27px 0 32px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__image { position: relative; min-height: 520px; overflow: hidden; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.04); }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--soft), transparent 25%), linear-gradient(0deg, rgb(32 15 15 / 20%), transparent 50%); }
.experience-stamp { position: absolute; z-index: 2; right: 8%; bottom: 44px; width: 118px; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 94%); display: grid; place-content: center; text-align: center; box-shadow: 0 14px 40px rgb(20 10 10 / 18%); font-size: .7rem; }
.experience-stamp strong { display: block; color: var(--red); font-family: "Playfair Display", serif; font-size: 1.9rem; line-height: 1; }

.property-search { position: relative; z-index: 4; margin-top: -72px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr 1.35fr auto; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 5px; }
.field label { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.field select { min-height: 47px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); }
.field select:focus { outline: 2px solid rgb(215 25 32 / 25%); outline-offset: 2px; }
.property-search__button { align-self: end; }
.property-search__status { grid-column: 1 / -1; margin: 0; color: var(--green); font-size: .82rem; }
.property-search__status:empty { display: none; }

.trust { padding-block: 38px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust__item { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: .86rem; }
.trust__icon { width: 30px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgb(215 25 32 / 8%); color: var(--red); font-weight: 600; }

.section { padding-block: 90px; }
.section--soft { background: var(--soft); }
.section-heading { margin-bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.section-heading__copy { max-width: 450px; margin: 0; color: var(--muted); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.property-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgb(52 29 29 / 11%); }
.property-card__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.property-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.property-card:hover img { transform: scale(1.035); }
.tag { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgb(255 255 255 / 94%); font-size: .7rem; font-weight: 600; }
.favorite { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 94%); color: var(--ink); font-size: 1.45rem; cursor: pointer; }
.favorite[aria-pressed="true"] { background: var(--red); color: #fff; }
.property-card__content { padding: 21px; }
.property-card__place { margin: 0; color: var(--red-dark); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.property-card h3 { min-height: 60px; margin: 9px 0 7px; font-family: "Playfair Display", serif; font-size: 1.42rem; font-weight: 500; line-height: 1.25; }
.property-card__price { margin: 0 0 16px; font-size: 1.25rem; font-weight: 600; }
.property-card__meta { padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.category-card { min-height: 155px; padding: 23px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.category-card:hover { transform: translateY(-3px); border-color: var(--red); }
.category-card__symbol { color: var(--red); font-size: 1.9rem; }
.category-card strong { display: block; font-family: "Playfair Display", serif; font-size: 1.35rem; font-weight: 500; }
.category-card small { color: var(--muted); }

.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; min-height: 540px; background: var(--red); scroll-margin-top: 82px; }
.about__portrait { position: relative; width: calc(100% - 80px); max-width: 420px; margin: 48px auto; padding: 16px 16px 0; background: #fff; box-shadow: 0 24px 55px rgb(48 35 25 / 16%); transform: rotate(-1.5deg); }
.about__portrait::after { content: ""; position: absolute; top: 20px; right: -15px; width: 54px; height: 10px; background: var(--red-dark); transform: rotate(10deg); }
.about__portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.about__portrait figcaption { min-height: 68px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 8px; }
.about__portrait figcaption span { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.about__portrait figcaption small { color: var(--red-dark); font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.about__content { min-width: 0; align-self: stretch; padding: clamp(58px, 8vw, 108px); display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: #fff; }
.eyebrow--light { color: #ffb9bc; }
.about__content > p:not(.eyebrow) { max-width: 620px; margin: 27px 0 31px; color: #d7cdca; line-height: 1.75; }
.about__facts { padding-top: 25px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; border-top: 1px solid rgb(255 255 255 / 16%); }
.about__facts strong { display: block; font-family: "Playfair Display", serif; font-size: 1.8rem; font-weight: 500; }
.about__facts span { color: #c5bab8; font-size: .76rem; }

.testimonial-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 23px; }
.testimonial, .owner-card { padding: clamp(30px, 4vw, 54px); border-radius: var(--radius); }
.testimonial { background: #fff; border: 1px solid var(--line); }
.testimonial__stars { margin-bottom: 24px; color: var(--red); letter-spacing: .18em; }
.testimonial blockquote { margin: 0; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.25; }
.testimonial > p { margin: 29px 0 0; color: var(--muted); font-size: .84rem; }
.owner-card { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; background: var(--red); color: #fff; }
.owner-card h3 { margin: 0; font-family: "Playfair Display", serif; font-size: 2rem; line-height: 1.1; font-weight: 500; }
.owner-card p { color: #ffe7e8; line-height: 1.65; }

.contact { padding: 76px max(20px, calc((100vw - var(--container)) / 2)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; background: #f0e6df; }
.contact h2 { max-width: 700px; }
.contact > div > p:last-child { color: var(--muted); }
.contact__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.footer { padding: 54px 0 24px; background: #171313; color: #fff; }
.footer__grid { padding-bottom: 39px; display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 44px; }
.footer__logo { width: 150px; height: auto; padding: 8px; border-radius: 8px; background: #fff; }
.footer p { max-width: 340px; color: #bfb4b2; font-size: .82rem; line-height: 1.65; }
.footer__links, .footer__contact { display: grid; align-content: start; gap: 12px; }
.footer__contact { color: #ded5d3; font-size: .82rem; font-style: normal; }
.footer__contact a { text-decoration: none; }
.footer__bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / 12%); color: #998e8c; font-size: .72rem; }
.floating-whatsapp { position: fixed; z-index: 35; right: 22px; bottom: 22px; width: 56px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; text-decoration: none; box-shadow: 0 12px 30px rgb(0 0 0 / 22%); }
.floating-whatsapp .whatsapp-icon { width: 25px; height: 25px; }

/* Listagem e filtros */
.listing-intro { padding: 70px 0 115px; background: var(--soft); border-bottom: 1px solid var(--line); }
.listing-intro__content { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.listing-intro h1 { max-width: 720px; font-size: clamp(2.8rem, 5vw, 4.6rem); }
.listing-intro__content > p { max-width: 430px; margin: 0 0 6px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.listing-workspace { --container: 1600px; position: relative; margin-top: -62px; padding-bottom: 95px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 16px 45px rgb(48 28 28 / 9%); }
.filters__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.filters__heading h2 { font-family: "DM Sans", sans-serif; font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.filters__heading button { border: 0; background: transparent; color: var(--red-dark); font-size: .76rem; font-weight: 600; cursor: pointer; }
.filters form { display: grid; gap: 25px; }
.filters fieldset { margin: 0; padding: 0; border: 0; }
.filters legend, .filter-field > label { display: block; margin-bottom: 11px; color: var(--ink); font-size: .78rem; font-weight: 600; }
.choice { display: flex; align-items: center; gap: 9px; padding: 7px 0; color: var(--muted); font-size: .84rem; cursor: pointer; }
.choice input { accent-color: var(--red); }
.filter-field select, .sort-control select { width: 100%; min-height: 43px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.bedroom-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bedroom-options label { position: relative; }
.bedroom-options input { position: absolute; opacity: 0; }
.bedroom-options span { min-height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .75rem; cursor: pointer; }
.bedroom-options input:checked + span { border-color: var(--red); background: rgb(215 25 32 / 7%); color: var(--red-dark); font-weight: 600; }
.bedroom-options input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.filters-toggle { display: none; }
.results { min-width: 0; padding-top: 78px; }
.results__toolbar { min-height: 54px; margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.results__toolbar p { margin: 0; color: var(--muted); font-size: .9rem; }
.results__toolbar strong { color: var(--ink); }
.sort-control { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--muted); font-size: .76rem; }
.sort-control select { min-width: 165px; }
.active-filters { min-height: 24px; margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { padding: 4px 8px; border-radius: 999px; background: var(--soft); color: var(--red-dark); font-size: .68rem; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.property-card[hidden], .results-grid[hidden] { display: none; }
.property-card--result h3 { min-height: 56px; }
.property-card__action { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; color: var(--red-dark); font-size: .84rem; font-weight: 600; text-decoration: none; }
.empty-results { padding: 80px 25px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.empty-results > span { color: var(--red); font-size: 2.6rem; }
.empty-results h2 { margin-top: 15px; font-size: 2rem; }
.empty-results p { margin: 12px 0 24px; color: var(--muted); }
.listing-contact { padding: 70px 0; background: var(--red); color: #fff; }
.listing-contact__content { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.listing-contact h2 { max-width: 690px; font-size: clamp(2rem, 4vw, 3rem); }

/* Detalhes do imóvel */
.breadcrumb { padding-block: 28px 20px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .78rem; }
.breadcrumb a { text-decoration: none; }
.property-title { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.property-title__location { margin: 0 0 5px; color: var(--red-dark); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.property-title h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.property-title__actions { display: flex; gap: 9px; }
.icon-action { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.icon-action[aria-pressed="true"] { border-color: var(--red); color: var(--red-dark); background: rgb(215 25 32 / 6%); }
.property-gallery { height: min(610px, 56vw); min-height: 440px; display: grid; grid-template-columns: 1.7fr .8fr; gap: 10px; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.property-gallery button { position: relative; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; }
.property-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.property-gallery button:hover img { transform: scale(1.025); }
.property-gallery__main { min-height: 100%; }
.property-gallery__side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.gallery-count, .property-gallery__more span { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgb(255 255 255 / 94%); color: var(--ink); font-size: .74rem; font-weight: 600; }
.property-gallery__more::after { content: ""; position: absolute; inset: 0; background: rgb(20 10 10 / 20%); }
.property-gallery__more span { z-index: 2; }
.property-layout { padding-block: 64px 95px; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 70px; align-items: start; }
.property-content { min-width: 0; }
.property-facts { padding-bottom: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border-bottom: 1px solid var(--line); }
.property-facts > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.property-facts > div > span { grid-row: 1 / 3; width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--red); }
.property-facts strong { font-size: 1rem; }
.property-facts small { color: var(--muted); font-size: .72rem; }
.property-description { padding-block: 52px; border-bottom: 1px solid var(--line); }
.property-description h2 { max-width: 720px; font-size: clamp(2rem, 4vw, 3rem); }
.property-description > p:not(.eyebrow), .description-extra p { max-width: 760px; color: var(--muted); line-height: 1.8; }
.description-toggle { padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--red-dark); font-weight: 600; cursor: pointer; }
.description-extra[hidden] { display: none; }
.property-note { font-size: .78rem; }
.property-amenities { padding-block: 50px; border-bottom: 1px solid var(--line); }
.property-amenities h2 { font-size: 2rem; }
.property-amenities ul { margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 28px; list-style: none; }
.property-amenities li { position: relative; padding-left: 25px; color: var(--muted); }
.property-amenities li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 600; }
.property-location { padding-top: 50px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.property-location h2 { font-size: 2rem; }
.property-location p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.map-placeholder { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius); background-color: #e9e2dc; background-image: linear-gradient(35deg, transparent 47%, rgb(255 255 255 / 70%) 48%, rgb(255 255 255 / 70%) 51%, transparent 52%), linear-gradient(-45deg, transparent 47%, rgb(255 255 255 / 65%) 48%, rgb(255 255 255 / 65%) 51%, transparent 52%); background-size: 82px 82px, 110px 110px; text-align: center; }
.map-pin { width: 45px; aspect-ratio: 1; margin-bottom: 10px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); color: #fff; box-shadow: 0 8px 24px rgb(70 35 35 / 20%); }
.map-pin::first-letter { transform: rotate(45deg); }
.map-placeholder strong { font-size: 1rem; }
.map-placeholder small { color: var(--muted); }
.property-summary { position: sticky; top: 115px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.property-summary__reference { margin: 0 0 8px; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.property-summary__price { margin: 0; font-family: "Playfair Display", serif; font-size: 2.5rem; line-height: 1.1; }
.property-summary__condition { color: var(--muted); font-size: .78rem; }
.property-summary hr { margin: 25px 0; border: 0; border-top: 1px solid var(--line); }
.property-summary h2 { font-family: "DM Sans", sans-serif; font-size: 1.15rem; letter-spacing: 0; }
.property-summary > p:not(.property-summary__price):not(.property-summary__reference):not(.property-summary__condition) { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.button--block { width: 100%; margin-top: 10px; }
.property-summary__trust { margin-top: 24px; display: grid; gap: 9px; color: var(--muted); font-size: .74rem; }
.related-properties { padding-block: 84px; }
.property-lead { padding:90px 0; background:var(--ink); color:#fff; }.property-lead__grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(45px,8vw,110px); align-items:start; }.property-lead h2 { color:#fff; font-size:clamp(2rem,4vw,3.2rem); }.property-lead__intro>p:not(.eyebrow) { color:#cbbfbc; line-height:1.75; }.property-lead__alternatives { margin-top:30px; display:grid; gap:12px; color:#ad9f9c; font-size:.82rem; }.property-lead__alternatives .text-link { color:#fff; }.lead-form { padding:30px; display:grid; gap:18px; border-radius:var(--radius); background:#fff; color:var(--ink); }.lead-form__grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.lead-form label { display:grid; gap:7px; color:var(--ink); font-size:.78rem; font-weight:600; }.lead-form input,.lead-form select,.lead-form textarea { width:100%; padding:12px 13px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font:inherit; }.lead-form textarea { min-height:105px; resize:vertical; }.lead-form__consent { grid-template-columns:auto 1fr; align-items:start; font-weight:400!important; line-height:1.5; }.lead-form__consent input { width:auto; margin-top:3px; }.lead-form__honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }.lead-form .button { justify-self:start; }.lead-form__status { min-height:20px; margin:0; font-size:.82rem; }.lead-form__status.is-success { color:#2e7444; }.lead-form__status.is-error { color:#a82f2f; }
.mobile-property-cta { display: none; }
.gallery-dialog { width: min(1100px, calc(100% - 36px)); max-width: none; height: min(820px, calc(100% - 36px)); max-height: none; padding: 0; border: 0; border-radius: var(--radius); background: #151111; color: #fff; overflow: hidden; }
.gallery-dialog::backdrop { background: rgb(15 10 10 / 88%); backdrop-filter: blur(6px); }
.gallery-dialog figure { width: 100%; height: 100%; margin: 0; display: grid; place-items: center; }
.gallery-dialog figure img { max-width: 100%; max-height: calc(100% - 50px); object-fit: contain; }
.gallery-dialog figcaption { position: absolute; bottom: 17px; font-size: .8rem; }
.gallery-dialog__close, .gallery-dialog__nav { position: absolute; z-index: 2; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--ink); cursor: pointer; }
.gallery-dialog__close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 1.7rem; }
.gallery-dialog__nav { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); font-size: 2rem; }
.gallery-dialog__nav--previous { left: 16px; }
.gallery-dialog__nav--next { right: 16px; }
.share-toast { position: fixed; z-index: 80; left: 50%; bottom: 25px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.share-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Página Comprar */
.buy-hero { padding: clamp(70px, 9vw, 120px) 0; background: var(--soft); border-bottom: 1px solid var(--line); }
.buy-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(50px, 8vw, 105px); align-items: center; }
.buy-hero h1 { max-width: 760px; }
.buy-hero__lead { max-width: 700px; margin: 28px 0 32px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.buy-hero__summary { padding: 34px; border-left: 1px solid var(--line); }
.buy-hero__summary-number { color: var(--red); font-family: "Playfair Display", serif; font-size: 2rem; }
.buy-hero__summary p { margin: 6px 0 28px; color: var(--muted); line-height: 1.65; }
.buy-hero__summary p:last-child { margin-bottom: 0; }
.steps-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; counter-reset: steps; }
.steps-grid li { min-height: 245px; padding: 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps-grid li > span { color: var(--red); font-family: "Playfair Display", serif; font-size: 1.6rem; }
.steps-grid h3 { margin: auto 0 9px; font-family: "Playfair Display", serif; font-size: 1.4rem; font-weight: 500; }
.steps-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.financing { padding: 88px 0; background: var(--ink); color: #fff; }
.financing__heading { margin-bottom: 38px; display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: end; }
.financing__heading > p { margin: 0; color: #cbbfbc; line-height: 1.7; }
.bank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bank-card { min-height: 230px; padding: 25px; display: flex; flex-direction: column; border-radius: var(--radius); color: #fff; text-decoration: none; transition: transform .2s ease, filter .2s ease; }
.bank-card:hover { transform: translateY(-4px); filter: brightness(1.04); }
.bank-card__name { font-size: 1.8rem; font-weight: 600; letter-spacing: -.04em; }
.bank-card__description { margin-top: auto; margin-bottom: 22px; font-size: .8rem; line-height: 1.5; opacity: .88; }
.bank-card strong { display: flex; justify-content: space-between; font-size: .8rem; }
.bank-card--caixa { background: #1261a0; }
.bank-card--itau { background: #e86e10; }
.bank-card--bradesco { background: #b61932; }
.bank-card--inter { background: #f56b00; }
.financing__disclaimer { max-width: 900px; margin: 25px 0 0; color: #9f9391; font-size: .75rem; line-height: 1.6; }
.preparation { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 120px); align-items: start; }
.preparation__content > p:not(.eyebrow) { max-width: 450px; color: var(--muted); line-height: 1.7; }
.preparation__list { margin: 0; padding: 0; display: grid; gap: 0; list-style: none; }
.preparation__list li { padding: 21px 0; display: grid; grid-template-columns: 38px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.preparation__list li > span { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgb(215 25 32 / 8%); color: var(--red); font-weight: 600; }
.preparation__list strong, .preparation__list small { display: block; }
.preparation__list small { margin-top: 4px; color: var(--muted); line-height: 1.5; }
.buy-contact { padding: 75px 0; background: var(--red); color: #fff; }
.buy-contact__content { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; }
.buy-contact h2 { max-width: 720px; font-size: clamp(2rem, 4vw, 3.1rem); }
.buy-contact p:not(.eyebrow) { margin-bottom: 0; color: #ffe5e6; }
.buy-contact__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px; }
.button--outline-light { border-color: rgb(255 255 255 / 55%); color: #fff; }

/* Página 404 */
.error-page-body { min-height: 100vh; display: flex; flex-direction: column; }
.error-page-main { flex: 1; display: grid; background: var(--soft); }
.error-page-content { min-height: 560px; padding-block: clamp(65px, 9vw, 120px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.error-page-code { margin: 0 0 -22px; color: rgb(215 25 32 / 12%); font-family: "Playfair Display", Georgia, serif; font-size: clamp(6rem, 15vw, 11rem); font-weight: 600; line-height: .8; }
.error-page-content h1 { max-width: 700px; font-size: clamp(2.8rem, 6vw, 5rem); }
.error-page-lead { max-width: 650px; margin: 26px 0 32px; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.error-page-visual { position: relative; min-height: 370px; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--red); border-radius: 50% 50% 12px 12px; box-shadow: var(--shadow); }
.error-page-visual span { position: relative; z-index: 2; font-family: "Playfair Display", serif; font-size: clamp(7rem, 14vw, 12rem); line-height: 1; }
.error-page-visual div { position: absolute; width: 280px; aspect-ratio: 1; border: 1px solid rgb(255 255 255 / 28%); transform: rotate(45deg); }
.error-page-visual div:last-child { width: 190px; }
.error-page-footer { padding-top: 0; }

@media (max-width: 900px) {
  .topbar { display: none; }
  .header__content { min-height: 72px; }
  .brand img { width: 122px; }
  .menu-toggle { display: block; order: 3; }
  .header__cta { margin-left: auto; }
  .nav { position: fixed; inset: 72px 0 auto; padding: 26px 20px 34px; display: grid; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 35px rgb(40 20 20 / 10%); transform: translateY(calc(-100% - 90px)); opacity: 0; visibility: hidden; transition: transform .22s ease, opacity .22s ease, visibility .22s ease; }
  .nav a { padding: 13px 0; }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 65px 24px 48px; }
  .hero__image { min-height: 350px; }
  .hero__image::after { background: linear-gradient(180deg, var(--soft), transparent 26%), linear-gradient(0deg, rgb(32 15 15 / 20%), transparent 50%); }
  .property-search { margin-top: -28px; grid-template-columns: 1fr 1fr; }
  .property-search__button { grid-column: 2; }
  .property-grid { grid-template-columns: 1fr 1fr; }
  .property-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__portrait { max-width: 400px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__actions { justify-content: flex-start; }
  .listing-intro { padding-bottom: 85px; }
  .listing-workspace { margin-top: -40px; grid-template-columns: 1fr; gap: 18px; }
  .filters-toggle { display: flex; position: relative; z-index: 2; justify-content: space-between; width: 100%; box-shadow: 0 12px 30px rgb(48 28 28 / 9%); }
  .filters { display: none; }
  .filters.is-open { display: block; }
  .results { padding-top: 0; }
  .property-layout { grid-template-columns: 1fr; gap: 42px; }
  .property-lead__grid { grid-template-columns:1fr; }
  .property-summary { position: static; }
  .property-location { grid-template-columns: 1fr; }
  .buy-hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .buy-hero__summary { padding: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; border-left: 0; }
  .buy-hero__summary p { margin: 0; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .bank-grid { grid-template-columns: 1fr 1fr; }
  .preparation { grid-template-columns: 1fr; gap: 35px; }
  .buy-contact__content { align-items: flex-start; flex-direction: column; }
  .buy-contact__actions { justify-content: flex-start; }
  .error-page-content { grid-template-columns: 1fr; }
  .error-page-visual { min-height: 290px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header__content { min-height: 66px; gap: 8px; }
  .brand { flex: 0 0 auto; }
  .brand img { width: 104px; }
  .menu-toggle { flex: 0 0 40px; width: 40px; height: 40px; padding: 8px; }
  .header__cta { flex: 0 0 40px; width: 40px; min-height: 40px; margin-left: auto; padding: 0; font-size: 0; }
  .header__cta span { font-size: 1rem; }
  .hero { overflow: hidden; }
  .hero__copy { padding: 52px 18px 40px; }
  .hero__lead { margin-block: 23px 28px; font-size: 1rem; line-height: 1.65; }
  h1 { font-size: clamp(2.65rem, 13vw, 3.65rem); }
  .eyebrow { gap: 7px; font-size: .65rem; letter-spacing: .1em; }
  .eyebrow::before { width: 22px; }
  .hero__actions .button { width: 100%; }
  .property-search { padding: 18px; grid-template-columns: 1fr; }
  .property-search__button { grid-column: auto; width: 100%; }
  .trust { grid-template-columns: 1fr; }
  .trust__item { justify-content: flex-start; }
  .section { padding-block: 66px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .property-grid { grid-template-columns: 1fr; }
  .property-card:last-child { grid-column: auto; max-width: none; }
  .property-card h3 { min-height: auto; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 135px; }
  .about__content { padding: 58px 24px; }
  .about__facts { grid-template-columns: 1fr; }
  .contact { padding-inline: 20px; }
  .contact__actions .button { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .listing-intro { padding: 54px 0 72px; }
  .listing-intro__content { grid-template-columns: 1fr; gap: 20px; }
  .results__toolbar { align-items: flex-start; flex-direction: column; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { width: auto; min-width: 175px; }
  .results-grid { grid-template-columns: 1fr; }
  .listing-contact__content { align-items: flex-start; flex-direction: column; }
  body:has(.mobile-property-cta) { padding-bottom: 88px; }
  .breadcrumb { padding-bottom: 14px; }
  .property-title { align-items: flex-start; flex-direction: column; }
  .property-title__actions { width: 100%; }
  .icon-action { flex: 1; }
  .property-gallery { height: auto; min-height: 0; display: block; border-radius: 12px; }
  .property-gallery__main { width: 100%; aspect-ratio: 4 / 3; }
  .property-gallery__side { display: none; }
  .property-layout { padding-block: 42px 65px; }
  .property-facts { grid-template-columns: 1fr 1fr; }
  .property-amenities ul { grid-template-columns: 1fr; }
  .property-summary { display: none; }
  .property-lead { padding:65px 0; }.lead-form { padding:22px; }.lead-form__grid { grid-template-columns:1fr; }
  .mobile-property-cta { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; min-height: 76px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 35px rgb(40 20 20 / 12%); }
  .mobile-property-cta div { display: grid; }
  .mobile-property-cta small { color: var(--muted); font-size: .68rem; }
  .mobile-property-cta strong { font-size: .95rem; }
  .mobile-property-cta .button { min-height: 44px; padding-inline: 16px; font-size: .78rem; }
  .gallery-dialog__nav { top: auto; bottom: 10px; transform: none; }
  .buy-hero { padding: 58px 0; }
  .buy-hero__lead { font-size: 1rem; }
  .buy-hero__summary { grid-template-columns: 45px 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid li { min-height: 190px; }
  .financing { padding-block: 66px; }
  .financing__heading { grid-template-columns: 1fr; gap: 20px; }
  .bank-grid { grid-template-columns: 1fr; }
  .bank-card { min-height: 190px; }
  .buy-contact__actions, .buy-contact__actions .button { width: 100%; }
  .error-page-nav { display: none; }
  .error-page-content { min-height: auto; padding-block: 58px; }
  .error-page-code { margin-bottom: -10px; }
  .error-page-visual { min-height: 230px; }
}

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


/* A ficha inteira Ã© um link, com o favorito como controle independente. */
.property-card--result { position: relative; }
.property-card--result .property-card__action::after { content: ""; position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.property-card--result .favorite { z-index: 2; }
.property-card--result:has(.property-card__action:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.results-grid .property-card:last-child { grid-column: auto; max-width: none; }
