:root {
  --blue: #0051d5;
  --navy: #0f172a;
  --ink: #191c1e;
  --muted: #59616d;
  --line: #dbe0e6;
  --soft: #f3f6f9;
  --white: #fff;
  --green: #00a86b;
  --radius: 14px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5
}

a {
  color: inherit
}

button,
input,
select {
  font: inherit
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px
}

.skip-link:focus {
  left: 16px;
  top: 16px
}

.container {
  width: min(100% - 32px, 1280px);
  margin: auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line)
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy)
}

.brand img {
  width: 38px;
  height: 38px
}

.nav {
  display: flex;
  gap: 25px;
  align-items: center
}

.nav a,
.footer-links a {
  text-decoration: none;
  color: #374151;
  font-size: .9rem;
  font-weight: 600
}

.nav a:hover,
.footer-links a:hover {
  color: var(--blue);
  text-decoration: underline
}

.login,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer
}

.login:hover,
.button:hover {
  background: #003fa8
}

.menu {
  display: none
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 88px;
  background: linear-gradient(115deg, #fff 0%, #f6f9ff 55%, #dce9ff 100%)
}

.hero:after {
  content: "";
  position: absolute;
  right: -110px;
  top: -240px;
  width: 650px;
  height: 650px;
  border: 80px solid rgba(0, 81, 213, .09);
  border-radius: 50%
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 760px
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: #064dbd;
  background: #e7f0ff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em
}

.hero h1,
.section-title {
  margin: 0;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1.08
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 650px
}

.accent {
  color: var(--blue)
}

.intro {
  max-width: 620px;
  margin: 20px 0 30px;
  color: #46505d;
  font-size: 1.12rem
}

.search-box {
  max-width: 760px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dfe5ed;
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(15, 23, 42, .12)
}

.tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px
}

.tab {
  padding: 0 8px 10px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #485260;
  font-weight: 800;
  cursor: pointer
}

.tab.active {
  border-color: var(--blue);
  color: var(--blue)
}

.fields {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr auto;
  gap: 10px;
  align-items: end
}

.home-location-field {
  grid-column: span 2;
}

.field {
  display: grid;
  gap: 5px
}

.field label {
  padding-left: 2px;
  color: #59616d;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em
}

.field select {
  width: 100%;
  height: 44px;
  border: 1px solid #d5dce5;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 0 9px
}

.value-trigger {
  width: 100%;
  height: 44px;
  overflow: hidden;
  border: 1px solid #d5dce5;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 0 30px 0 9px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  position: relative
}

.value-trigger:after {
  content: "⌄";
  position: absolute;
  right: 10px;
  color: #59616d;
  font-size: 1rem
}

.field select:focus,
.value-trigger:focus,
.button:focus,
.login:focus,
a:focus {
  outline: 3px solid #9fc4ff;
  outline-offset: 2px
}

summary:focus {
  outline: none
}

summary:focus-visible {
  outline: 3px solid #9fc4ff;
  outline-offset: 2px
}

.price-dialog {
  width: min(424px, calc(100% - 30px));
  padding: 0;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .2)
}

.price-dialog::backdrop {
  background: rgba(15, 23, 42, .16)
}

.type-dialog {
  width: min(424px, calc(100% - 30px));
  padding: 0;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .2)
}

.type-dialog::backdrop {
  background: rgba(15, 23, 42, .16)
}

.feature-dialog {
  width: min(454px, calc(100% - 30px));
  padding: 0;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .2)
}

.feature-dialog::backdrop {
  background: rgba(15, 23, 42, .16)
}

.location-dialog {
  width: min(424px, calc(100% - 30px));
  padding: 0;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .2)
}

.location-dialog::backdrop {
  background: rgba(15, 23, 42, .16)
}

.price-dialog-content {
  position: relative;
  padding: 26px
}

.type-dialog-content {
  padding: 26px
}

.feature-dialog-content {
  position: relative;
  padding: 26px
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.location-dialog-content {
  position: relative;
  padding: 26px
}

.location-dialog-close,
.price-dialog-close,
.feature-dialog-close {
  display: grid;
  place-items: center;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.location-dialog-close:hover,
.price-dialog-close:hover,
.feature-dialog-close:hover {
  background: #edf2f7;
}

.location-dialog-close:focus-visible,
.price-dialog-close:focus-visible,
.feature-dialog-close:focus-visible {
  outline: 3px solid #b9e1f7;
  outline-offset: 1px;
}

.price-dialog h2,
.type-dialog h2,
.location-dialog h2 {
  margin: 0 0 10px;
  color: #161b25;
  font-size: 1.05rem
}

.location-search-label {
  display: block;
  margin: 18px 0 7px;
  color: #6b7280;
  font-size: .9rem
}

.location-search {
  width: 100%;
  height: 48px;
  border: 1px solid #008ed8;
  border-radius: 10px;
  padding: 0 13px;
  color: #172033
}

.location-search:focus {
  outline: 3px solid #b9e1f7;
  outline-offset: 1px
}

.location-results {
  max-height: 276px;
  display: grid;
  gap: 6px;
  overflow: auto;
  margin: 14px 0 0;
  padding: 0;
  list-style: none
}

.location-results button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  padding: 9px 11px;
  color: #263244;
  text-align: left;
  cursor: pointer
}

.location-results button:hover,
.location-results button:focus {
  background: #edf8fd;
  outline: none
}

.location-empty {
  padding: 12px 0;
  color: #6b7280;
  text-align: center
}

.type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px
}

.type-options label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #dce3ea;
  border-radius: 10px;
  color: #263244;
  cursor: pointer
}

.type-options label:has(input:checked) {
  border-color: #008ed8;
  background: #edf8fd
}

.type-options input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: #008ed8
}

.feature-filter-group + .feature-filter-group {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb
}

.feature-filter-group h3 {
  margin: 0 0 10px;
  color: #3b4049;
  font-size: 1.05rem;
  font-weight: 500
}

.feature-options {
  display: grid;
  grid-template-columns: minmax(104px, 1.6fr) repeat(4, minmax(0, 1fr));
}

.feature-options button {
  min-height: 50px;
  margin-left: -1px;
  border: 1px solid #c7c9ce;
  border-radius: 0;
  background: #fff;
  color: #3b4049;
  padding: 4px 2px;
  font-size: .76rem;
  line-height: 1.15;
  cursor: pointer
}

.feature-options button:first-child {
  margin-left: 0;
  border-radius: 13px 0 0 13px
}

.feature-options button:last-child {
  border-radius: 0 13px 13px 0
}

.feature-options button.active {
  position: relative;
  z-index: 1;
  border-color: #34384f;
  background: #34384f;
  color: #fff
}

.feature-options button:focus-visible {
  z-index: 2;
  outline: 3px solid #9fc4ff;
  outline-offset: 1px
}

.feature-dialog .apply-price {
  width: 100%;
  margin-top: 24px
}

.price-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6c6c6c;
  font-size: .93rem
}

.price-scale span:last-child {
  text-align: right
}

.range-control {
  height: 64px;
  position: relative;
  display: flex;
  align-items: center
}

.range-track,
.range-selected {
  height: 6px;
  border-radius: 99px;
  position: absolute;
  right: 0;
  left: 0
}

.range-track {
  background: #d8e3ec
}

.range-selected {
  background: #008ed8
}

.range-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  position: absolute
}

.range-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border: 2px solid #008ed8;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, .18);
  cursor: grab;
  pointer-events: auto
}

.range-control input[type="range"]::-moz-range-thumb {
  width: 27px;
  height: 27px;
  border: 2px solid #008ed8;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, .18);
  cursor: grab;
  pointer-events: auto
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  color: #757575;
  font-size: .9rem
}

.price-inputs label {
  display: grid;
  gap: 7px
}

.price-inputs input {
  width: 100%;
  height: 56px;
  border: 1px solid #008ed8;
  border-radius: 13px;
  padding: 0 14px;
  color: #0087d5;
  font-size: 1.05rem
}

.price-inputs input:focus {
  outline: 3px solid #b9e1f7;
  outline-offset: 1px
}

.price-conversions {
  display: flex;
  gap: 8px;
  min-height: 1.1em
}

.price-usd,
.price-brl {
  color: #6c6c6c;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.1
}

.price-inputs>span {
  padding-bottom: 16px;
  color: #b7c0c9
}

.apply-price {
  width: 100%;
  height: 49px;
  margin-top: 21px;
  border-radius: 12px;
  background: #008ed8
}

.apply-price:hover {
  background: #0079bb
}

.search-button {
  height: 44px;
  min-width: 52px;
  font-size: 1.25rem;
  background: var(--green)
}

.search-button-label {
  display: none
}

.search-icon {
  font-size: 2.0em;
  margin-top: -8px;
}

.search-button:hover {
  background: #008a59
}

.stats {
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0
}

.stat {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--line)
}

.stat:last-child {
  border: 0
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--navy)
}

.stat span {
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5b6470
}

.section {
  padding: 72px 0
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 30px
}

.about-hero {
  padding: 72px 0 62px;
  background: linear-gradient(115deg, #fff 0%, #f6f9ff 55%, #dce9ff 100%)
}

.about-hero-content {
  max-width: 820px
}

.about-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -.035em;
  line-height: 1.08
}

.about-lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: #46505d;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 1.5
}

.about-content {
  padding: 64px 0 88px
}

.about-copy {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75
}

.about-copy p {
  margin: 0 0 25px
}

.about-copy strong {
  color: var(--navy)
}

.about-copy h2 {
  margin: 48px 0 20px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.025em;
  line-height: 1.18
}

.about-copy .about-closing {
  margin-top: 36px;
  padding: 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: #eff5ff;
  font-size: 1.18rem;
  line-height: 1.55
}

.legal-hero {
  padding: 72px 0 56px;
  background: linear-gradient(115deg, #fff 0%, #f6f9ff 55%, #dce9ff 100%)
}

.legal-hero-content {
  max-width: 820px
}

.legal-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -.035em;
  line-height: 1.08
}

.legal-hero p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted)
}

.legal-content {
  padding: 64px 0 88px
}

.legal-copy {
  max-width: 860px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75
}

.legal-copy p {
  margin: 0 0 18px
}

.legal-copy strong {
  color: var(--navy)
}

.legal-copy h2 {
  margin: 46px 0 16px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -.02em;
  line-height: 1.2
}

.legal-copy h2:first-of-type {
  margin-top: 34px
}

.legal-copy ul {
  display: grid;
  gap: 8px;
  margin: -2px 0 18px;
  padding-left: 25px
}

.pre-registration-hero {
  min-height: calc(100vh - 72px);
  padding: 76px 0;
  background: linear-gradient(125deg, #fff 0%, #f4f8ff 55%, #dce9ff 100%)
}

.pre-registration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 510px);
  align-items: center;
  gap: clamp(42px, 8vw, 118px)
}

.pre-registration-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65
}

.pre-registration-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.55rem, 5vw, 4.6rem);
  letter-spacing: -.045em;
  line-height: 1.04
}

.pre-registration-lead {
  margin: 24px 0 12px;
  color: #344258;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.45
}

.pre-registration-benefits {
  display: grid;
  gap: 11px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #344258;
  font-weight: 600
}

.pre-registration-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.pre-registration-benefits li:before {
  content: "✓";
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: #dff7eb;
  color: #087a4f;
  font-size: .8rem
}

.pre-registration-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid #dbe5f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(30, 64, 120, .16)
}

.pre-registration-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.65rem;
  letter-spacing: -.025em
}

.pre-registration-card-intro {
  margin: 9px 0 25px;
  color: var(--muted)
}

.pre-registration-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.pre-registration-field,
.pre-registration-field-full {
  display: grid;
  gap: 7px
}

.pre-registration-field-full {
  grid-column: 1 / -1
}

.pre-registration-field label,
.pre-registration-contact-hint {
  color: #344258;
  font-size: .87rem;
  font-weight: 750
}

.pre-registration-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd6e5;
  border-radius: 9px;
  padding: 0 12px;
  color: var(--navy);
  background: #fff
}

.pre-registration-field textarea {
  width: 100%;
  min-height: 132px;
  border: 1px solid #cbd6e5;
  border-radius: 9px;
  padding: 12px;
  color: var(--navy);
  background: #fff;
  resize: vertical
}

.pre-registration-field input:focus {
  border-color: var(--blue);
  outline: 3px solid #cfe0ff;
  outline-offset: 1px
}

.pre-registration-field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid #cfe0ff;
  outline-offset: 1px
}

.pre-registration-captcha-image {
  display: block;
  width: 130px;
  max-width: 100%;
  height: 42px;
  border: 1px solid #cbd6e5;
  border-radius: 9px;
  background: #f9fbff
}

.pre-registration-field small,
.pre-registration-optional {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500
}

.pre-registration-contact-hint {
  grid-column: 1 / -1;
  margin: 1px 0 -7px
}

.pre-registration-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 3px
}

.pre-registration-privacy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
  text-align: center
}

.pre-registration-privacy a {
  color: var(--blue)
}

.pre-registration-alert {
  margin: 0 0 20px;
  padding: 13px 15px;
  border: 1px solid #f1bfc2;
  border-radius: 9px;
  background: #fff5f5;
  color: #9c2530;
  font-size: .88rem
}

.pre-registration-alert ul {
  display: grid;
  gap: 4px;
  margin: 7px 0 0;
  padding-left: 18px
}

.pre-registration-success {
  display: grid;
  justify-items: center;
  padding: 24px 0 16px;
  color: var(--muted);
  text-align: center
}

.pre-registration-success>span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #dff7eb;
  color: #087a4f;
  font-size: 1.7rem;
  font-weight: 800
}

.pre-registration-success h2 {
  margin-top: 18px
}

.pre-registration-success p {
  max-width: 330px;
  margin: 9px 0 0
}

.pre-registration-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.cities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.city-card {
  min-height: 128px;
  padding: 22px;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: linear-gradient(115deg, #fff 0%, #f6f9ff 55%, #dce9ff 100%)
}

.city-card:before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 210px;
  height: 210px;
  border: 35px solid rgba(0, 81, 213, .09);
  border-radius: 50%
}

.city-card h3 {
  margin: 0;
  font-size: 1.3rem
}

.city-card p {
  margin: 3px 0 0;
  color: #5b6470;
  font-size: .88rem
}

.city-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .22)
}

.featured {
  background: #fff
}

.listings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.listing {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04)
}

.listing-visual {
  position: relative;
  overflow: hidden;
  height: 150px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px
}

.listing-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.listing-visual .pill {
  position: relative;
  z-index: 1
}

.pill {
  border-radius: 6px;
  background: #0051d5;
  color: #fff;
  padding: 3px 7px;
  font-size: .75rem;
  font-weight: 800
}

.listing:nth-child(2) .pill {
  background: #374151
}

.heart {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #394150;
  font-size: 1rem;
  width: 32px;
  height: 32px
}

.heart.is-favorite,
.detail-favorite-action.is-favorite {
  background: var(--blue);
  color: #fff
}

.listing .features {
  flex-wrap: wrap
}

.listing .price a {
  color: inherit;
  text-decoration: none
}

.listing-content {
  padding: 16px
}

.listing-type {
  margin: 0;
  color: #59616d;
  font-size: .78rem
}

.price {
  margin: 6px 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy)
}

.features {
  display: flex;
  gap: 12px;
  color: #59616d;
  font-size: .85rem
}

.center {
  text-align: center;
  margin-top: 28px
}

.button.secondary {
  background: #edf1f5;
  color: var(--navy);
  border: 1px solid #cbd3dd
}

.button.secondary:hover {
  background: #dce4ec
}

.popular {
  border-block: 1px solid var(--line)
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.chip {
  padding: 9px 14px;
  border: 1px solid #c7d0db;
  border-radius: 999px;
  background: #fff;
  color: #263242;
  text-decoration: none;
  font-size: .9rem
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #f1f6ff
}

.advertise {
  background: #eaf2ff
}

.ad-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.ad-content p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 1.08rem
}

.ad-content .section-title {
  margin: 0
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px
}

.faq-layout>div>p {
  color: var(--muted);
  font-size: 1.05rem
}

.faq details {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff
}

.faq summary {
  padding: 16px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 750
}

.faq details p {
  padding: 0 16px 16px;
  margin: 0;
  color: var(--muted)
}

.help {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #c6dbff;
  border-radius: 10px;
  background: #f1f6ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.help p {
  margin: 0;
  font-weight: 700
}

.site-footer {
  padding: 52px 0;
  background: #eef2f6;
  border-top: 1px solid var(--line)
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 28px
}

.footer-note {
  max-width: 260px;
  margin: 12px 0;
  color: var(--muted);
  font-size: .9rem
}

.footer-links {
  display: grid;
  gap: 8px
}

.footer-links h2 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em
}

.copyright {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #667085;
  font-size: .85rem
}

@media(max-width:900px) {
  .nav {
    display: none
  }

  .menu {
    display: block
  }

  .menu summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
    list-style: none
  }

  .menu-icon {
    width: 24px;
    display: grid;
    gap: 5px
  }

  .menu-icon span {
    height: 2px;
    border-radius: 4px;
    background: var(--navy)
  }

  .menu[open] ul {
    position: absolute;
    right: 16px;
    top: 58px;
    z-index: 3;
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 16px;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
    list-style: none
  }

  .menu:not([open]) ul {
    display: none
  }

  .menu a {
    text-decoration: none
  }

  .cities,
  .listings {
    grid-template-columns: repeat(2, 1fr)
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 18px
  }
}

@media(max-width:620px) {
  .header-inner {
    min-height: 64px
  }

  .login {
    display: none
  }

  .hero {
    padding: 18px 0
  }

  .hero:after {
    opacity: .45
  }

  .fields {
    grid-template-columns: 1fr 1fr
  }

  .search-box .field:first-child {
    grid-column: span 2
  }

  .field:last-of-type {
    grid-column: span 2
  }

  .search-button {
    grid-column: span 2
  }

  .search-button-label {
    display: inline;
    margin-left: 7px;
    font-size: 1rem
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px
  }

  .stat:nth-child(2) {
    border: 0
  }

  .stat {
    padding: 0 8px
  }

  .section {
    padding: 48px 0
  }

  .cities,
  .listings {
    grid-template-columns: 1fr
  }

  .city-card {
    min-height: 170px
  }

  .ad-content,
  .help {
    align-items: flex-start;
    flex-direction: column
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid>div:first-child {
    grid-column: span 2
  }
}

/* Página de listagem */
.breadcrumbs {
  display: flex;
  gap: 9px;
  padding: 20px 0 14px;
  color: #667085;
  font-size: .88rem
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none
}


.listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 4px 0 52px
}

.filters {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06)
}

.filters-heading,
.results-heading,
.alert-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px
}

.filters-heading h2 {
  margin: 0;
  font-size: 1.15rem
}

.filters-heading button {
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer
}

.filters-heading>div {
  display: flex;
  align-items: center
}

.filters form {
  display: grid;
  gap: 20px;
  margin-top: 20px
}

.filters fieldset {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0
}

.filters legend {
  margin-bottom: 3px;
  color: #59616d;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em
}

.filters input {
  width: 100%;
  height: 44px;
  border: 1px solid #d5dce5;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  color: var(--navy)
}

/* O modal de tipo fica dentro do formulário de filtros para enviar os valores.
   Preserve nele as dimensões dos checkboxes usadas no modal da home. */
.filters .type-options input {
  width: 19px;
  height: 19px;
  padding: 0;
  border: initial;
  border-radius: 0
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: #f0f3f6;
  border-radius: 9px
}

.segmented button {
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4b5563;
  font-weight: 700;
  cursor: pointer
}

.segmented .active {
  background: var(--blue);
  color: #fff
}

.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: .92rem
}

.check input {
  width: 17px;
  height: 17px;
  padding: 0;
  accent-color: var(--blue)
}

.price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.price-fields label {
  color: #667085;
  font-size: .78rem
}

.price-fields input {
  height: 39px;
  font-size: .85rem
}

.apply-filters {
  width: 100%
}


.results-heading {
  align-items: end
}

.results-heading .eyebrow {
  margin: 0 0 8px
}

.results-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -.025em
}

.results-heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: #667085
}

.sort {
  display: grid;
  gap: 5px;
  color: #667085;
  font-size: .78rem;
  font-weight: 700
}

.sort select {
  height: 40px;
  border: 1px solid #d5dce5;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  color: var(--navy)
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px
}

.active-filters span {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #b8d2fb;
  border-radius: 999px;
  background: #edf5ff;
  padding: 5px 9px;
  color: #0757c5;
  font-size: .83rem;
  font-weight: 700
}

.active-filters button {
  border: 0;
  background: transparent;
  color: #0757c5;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer
}

.results-count {
  margin: 21px 0 14px;
  color: #667085;
  font-size: .9rem
}


.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px
}

.property-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  transition: transform .2s, box-shadow .2s
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, .12)
}

.property-image {
  position: relative;
  display: block;
  overflow: hidden;
  height: 172px;
  text-decoration: none
}

.property-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.property-image.property-image-placeholder {
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at -8% 116%, rgba(0, 81, 213, .045) 0 28%, transparent 28.5%),
    linear-gradient(115deg, #fff 0%, #f6f9ff 55%, #dce9ff 100%);
}

.property-image.property-image-placeholder::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 235px;
  aspect-ratio: 1;
  top: -132px;
  right: -48px;
  border: 30px solid rgba(0, 81, 213, .09);
  border-radius: 50%;
  pointer-events: none;
}

.property-image.property-image-placeholder::after {
  background: none;
}

.property-image .property-image-empty {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  padding: 7px 10px;
  border: 1px solid rgba(0, 81, 213, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  pointer-events: none;
}

.property-image-link {
  position: absolute;
  z-index: 1;
  inset: 0
}

.property-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .05), rgba(15, 23, 42, .23))
}

.property-image span,
.property-image button {
  position: absolute;
  z-index: 1;
  top: 11px
}

.property-image span {
  left: 11px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: .65rem;
  font-weight: 800
}

.property-image button {
  display: grid;
  place-items: center;
  right: 11px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  color: var(--blue);
  font-size: 1.35rem;
  cursor: pointer
}

.property-image button:not(.is-favorite) {
  font-size: 0;
}

.property-image button:not(.is-favorite)::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='m8%202.748-.717-.737C5.6.281%202.514.878%201.4%203.053c-.523%201.023-.641%202.5.314%204.385.92%201.815%202.834%203.989%206.286%206.357%203.452-2.368%205.365-4.542%206.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878%2010.4.28%208.717%202.01zM8%2015C-7.333%204.868%203.279-3.04%207.824%201.143q.09.083.176.171a3%203%200%200%201%20.176-.17C12.72-3.042%2023.333%204.867%208%2015'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='m8%202.748-.717-.737C5.6.281%202.514.878%201.4%203.053c-.523%201.023-.641%202.5.314%204.385.92%201.815%202.834%203.989%206.286%206.357%203.452-2.368%205.365-4.542%206.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878%2010.4.28%208.717%202.01zM8%2015C-7.333%204.868%203.279-3.04%207.824%201.143q.09.083.176.171a3%203%200%200%201%20.176-.17C12.72-3.042%2023.333%204.867%208%2015'/%3E%3C/svg%3E") center / contain no-repeat;
}

.property-image .favorite-icon,
.detail-favorite-action .favorite-icon {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin: 0;
}

.property-image button.is-favorite {
  background: var(--blue);
  color: #fff;
}

.image-one {
  background-image: url("imagens/listagem-01.jpg")
}

.image-two {
  background-image: url("imagens/listagem-02.jpg")
}

.image-three {
  background-image: url("imagens/listagem-03.jpg")
}

.image-four {
  background-image: url("imagens/listagem-04.jpg")
}

.image-five {
  background-image: url("imagens/listagem-05.jpg")
}

.image-six {
  background-image: url("imagens/listagem-06.jpg")
}

.property-content {
  padding: 14px
}

.property-tags {
  display: flex;
  gap: 6px
}

.property-tags span {
  padding: 3px 6px;
  border-radius: 5px;
  background: #eef1f4;
  color: #59616d;
  font-size: .68rem;
  font-weight: 700
}

.property-price {
  display: block;
  margin-top: 11px;
  color: var(--blue);
  font-size: 1.14rem
}

.property-price-conversions {
  display: block;
  margin-top: 3px;
  color: #7a8491;
  font-size: .7rem;
  font-weight: 400
}

.property-content h2 {
  margin: 5px 0;
  font-size: 1rem;
  line-height: 1.3
}

.property-content h2 a {
  color: var(--navy);
  text-decoration: none
}

.property-content h2 a:hover {
  color: var(--blue)
}

.property-features,
.property-location {
  margin: 0;
  color: #667085;
  font-size: .81rem
}

.property-location {
  margin-top: 6px;
  color: #374151
}

.property-content footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #edf0f2;
  color: #7a8491;
  font-size: .7rem
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 32px 0 0
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #4b5563;
  text-decoration: none;
  font-weight: 700
}

.pagination a:not([aria-label]):not(.current) {
  border: 1px solid #d5dce5;
  background: #fff
}

.pagination a[aria-label^="Página "]:not([rel]):not(.current) {
  border: 1px solid #d5dce5;
  background: #fff
}

.pagination a:not([aria-label]):not(.current):hover {
  background: var(--blue);
  color: #fff
}

.pagination a[aria-label^="Página "]:not([rel]):not(.current):hover {
  background: var(--blue);
  color: #fff
}

.pagination a:hover,
.pagination .current {
  background: var(--blue);
  color: #fff
}


.listing-alert {
  padding: 42px 0;
  background: #eff5ff;
  border-block: 1px solid #d6e3f6
}

.empty-results {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff
}

.empty-results h2 { margin: 0 0 7px; color: var(--navy); font-size: 1.25rem }
.empty-results p { margin: 0; color: #59616d }

.alert-content {
  justify-content: center
}

.alert-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dceaff;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 700
}

.alert-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem
}

.alert-content p {
  margin: 4px 0 0;
  color: #59616d
}

.mobile-filter-toggle,
.mobile-filter-close {
  display: none
}


@media(max-width:1050px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .listing-layout {
    grid-template-columns: 230px 1fr
  }

}


@media(max-width:760px) {
  .breadcrumbs {
    overflow-x: auto;
    padding-top: 15px;
    white-space: nowrap;
    scrollbar-width: none
  }

  .breadcrumbs::-webkit-scrollbar { display: none }
  .breadcrumbs > * { flex: none }

  .listing-layout {
    display: block;
    padding-top: 4px
  }

  .filters {
    position: static;
    margin-bottom: 6px;
    padding: 0;
    overflow: hidden
  }

  .mobile-filter-toggle {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: #fff;
    padding: 28px 16px 14px;
    color: var(--navy);
    text-align: left;
    cursor: pointer
  }

  .mobile-filter-label {
    position: absolute;
    top: 8px;
    left: 16px;
    color: #667085;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase
  }

  .mobile-filter-values {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 700
  }

  .mobile-filter-values span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }

  .mobile-filter-values span+span {
    border-left: 1px solid var(--line);
    padding-left: 8px;
    color: #667085;
    font-weight: 600
  }

  .mobile-filter-toggle b {
    display: grid;
    flex: none;
    place-items: center;
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--blue);
    font-size: .9rem
  }

  .filters-heading,
  .filters form {
    display: none
  }

  .filters.is-expanded {
    padding: 18px
  }

  .filters.is-expanded .mobile-filter-toggle {
    display: none
  }

  .filters.is-expanded .filters-heading {
    display: flex
  }

  .filters.is-expanded form {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .filters.is-expanded fieldset:first-child,
  .filters.is-expanded fieldset:nth-child(2),
  .filters.is-expanded .apply-filters {
    grid-column: span 2
  }

  .mobile-filter-close {
    display: inline !important;
    margin-right: 12px
  }

  .results-heading {
    align-items: start;
    flex-direction: column
  }

  .sort,
  .sort select {
    width: 100%
  }

  .property-grid {
    grid-template-columns: 1fr
  }

  .property-image {
    height: 190px
  }

  .alert-content {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start
  }

  .alert-content .button {
    margin-left: 76px
  }

}


@media(max-width:440px) {
  .filters.is-expanded form {
    grid-template-columns: 1fr
  }

  .filters.is-expanded fieldset,
  .filters.is-expanded fieldset:first-child,
  .filters.is-expanded fieldset:nth-child(2),
  .filters.is-expanded .apply-filters {
    grid-column: auto
  }

  .alert-content .button {
    margin-left: 0;
    width: 100%
  }

}

/* Página de detalhe do imóvel */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 32px;
  padding: 10px 0 56px
}

.detail-content {
  min-width: 0
}

.gallery-frame {
  position: relative
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #dce7ec
}

.image-placeholder {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
  isolation: isolate;
  background: linear-gradient(115deg, #fff 0%, #f6f9ff 55%, #dce9ff 100%);
}

.image-placeholder::before,
.image-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.image-placeholder::before {
  width: min(78vw, 620px);
  aspect-ratio: 1;
  right: -15%;
  top: -48%;
  border: clamp(36px, 7vw, 80px) solid rgba(0, 81, 213, .09);
}

.image-placeholder::after {
  width: min(47vw, 370px);
  aspect-ratio: 1;
  left: -14%;
  bottom: -58%;
  background: rgba(0, 81, 213, .045);
}

.image-placeholder span {
  position: relative;
  padding: 11px 18px;
  border: 1px solid rgba(0, 81, 213, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.gallery-slide {
  border: 0;
  padding: 0;
  cursor: zoom-in;
  position: relative;
  overflow: hidden
}

.gallery-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.gallery-main {
  grid-row: span 2
}

.gallery-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .08)
}

.gallery-main span {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 800
}

.gallery-extra { display: none }
.gallery-count-1 { grid-template-columns: 1fr }
.gallery-count-2 .gallery-side { grid-row: span 2 }

.gallery-counter {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  border-radius: 8px;
  padding: 10px 13px;
  background: rgba(15, 23, 42, .82);
  color: #fff;
  font-size: .85rem;
  font-weight: 700
}

.gallery-dots { display: none }

.image-viewer { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 15, 27, .96); color: #fff }
.image-viewer::backdrop { background: rgba(8, 15, 27, .78) }
.viewer-topbar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent) }
.viewer-topbar > div { display: flex; align-items: center; gap: 8px }
.viewer-action,.viewer-close { border: 1px solid rgba(255, 255, 255, .32); border-radius: 8px; padding: 8px 10px; background: rgba(15, 23, 42, .65); color: #fff; font-weight: 700; cursor: pointer }
.viewer-whatsapp { display: inline-flex; align-items: center; justify-content: center; background: #25d366; border-color: #25d366 }
.viewer-whatsapp-form { display: contents }
.whatsapp-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; fill: currentColor }
.whatsapp,.viewer-whatsapp { gap: 6px }
.viewer-close { width: 38px; padding: 5px; font-size: 1.5rem }
.viewer-image { position: absolute; inset: 76px 78px 34px; background-repeat: no-repeat; background-position: center; background-size: contain }
.viewer-arrow { display: grid; place-items: center; position: absolute; z-index: 1; top: 50%; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; transform: translateY(-50%) }
.viewer-arrow:hover { background: rgba(255, 255, 255, .32) }
.viewer-previous { left: 20px }.viewer-next { right: 20px }

body.is-share-modal-open { overflow: hidden }

.property-share-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(680px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28)
}

.property-share-dialog::backdrop { background: rgba(15, 23, 42, .52); backdrop-filter: blur(2px) }
.property-share-dialog[open] { animation: property-share-dialog-in .2s ease-out }

@keyframes property-share-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.98) }
  to { opacity: 1; transform: translateY(0) scale(1) }
}

.property-share-dialog-content { padding: 25px }
.property-share-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px }
.property-share-heading h2 { margin: 0; color: var(--navy); font-size: 1.35rem; line-height: 1.2 }
.property-share-heading p { margin: 5px 0 0; color: #667085; font-size: .92rem }
.property-share-close { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #eef2f6; color: #344054; font-size: 1.45rem; line-height: 1; cursor: pointer }
.property-share-close:hover { background: #e2e8f0 }
.property-share-close:focus-visible,.property-share-option:focus-visible,.property-share-link button:focus-visible,.property-share-more:focus-visible { outline: 3px solid #9fc4ff; outline-offset: 2px }

.property-share-options { display: flex; gap: 12px; margin: 25px -5px 23px; padding: 3px 5px 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin }
.property-share-option { display: grid; flex: 0 0 72px; justify-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: #475467; font: inherit; font-size: .74rem; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer }
.property-share-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff }
.property-share-icon img { width: 27px; height: 27px; filter: brightness(0) invert(1) }
.property-share-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.property-share-icon strong { font-size: 1.4rem; font-weight: 700 }
.property-share-option.is-whatsapp .property-share-icon { background: #25d366 }
.property-share-option.is-facebook .property-share-icon { background: #1877f2 }
.property-share-option.is-messenger .property-share-icon { background: linear-gradient(135deg, #006aff, #a033ff) }
.property-share-option.is-telegram .property-share-icon { background: #229ed9 }.property-share-option.is-telegram svg { fill: currentColor; stroke: none }
.property-share-option.is-x .property-share-icon { background: #111827 }.property-share-option.is-email .property-share-icon { background: #667085 }

.property-share-link { padding-top: 19px; border-top: 1px solid #e6eaf0 }
.property-share-link h3 { margin: 0 0 10px; color: #344054; font-size: .88rem; font-weight: 800 }
.property-share-link > div { display: flex; overflow: hidden; border: 1px solid #cfd6df; border-radius: 10px; background: #f8fafc }
.property-share-link input { min-width: 0; flex: 1; padding: 11px 12px; border: 0; outline: 0; background: transparent; color: #475467; font: inherit; font-size: .85rem; text-overflow: ellipsis }
.property-share-link button { flex: 0 0 auto; margin: 4px; border: 0; border-radius: 7px; padding: 8px 12px; background: var(--blue); color: #fff; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer }
.property-share-more { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 42px; margin-top: 17px; border: 1px solid #cfd6df; border-radius: 9px; background: #fff; color: #344054; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer }
.property-share-more span { font-size: 1.35rem; line-height: .5 }
.property-share-toast { position: fixed; z-index: 3; right: 50%; bottom: 22px; min-width: max-content; max-width: calc(100vw - 32px); padding: 10px 14px; border-radius: 9px; background: #172033; color: #fff; font-size: .84rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(50%, 12px); transition: opacity .18s ease, transform .18s ease }
.property-share-toast.is-visible { opacity: 1; transform: translate(50%, 0) }

.detail-summary { padding: 25px 0 19px }
.detail-tags,.property-tags { display: flex; gap: 7px }
.detail-tags span { padding: 5px 10px; border-radius: 999px; background: #e6f0ff; color: #0757c5; font-size: .78rem; font-weight: 800 }
.detail-tags span+span { background: #edf0f2; color: #46505d }
.detail-summary h1 { margin: 12px 0 6px; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.025em }
.detail-location { margin: 0; color: #59616d }

.detail-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 0; border-block: 1px solid var(--line) }
.detail-metrics div { display: grid; justify-items: center; gap: 4px; text-align: center }
.detail-metrics span { display: inline-flex; align-items: center; gap: 4px; color: #667085; font-size: .75rem; font-weight: 700 }
.metric-icon { flex: 0 0 19px; width: 19px; height: 19px; fill: currentColor }
.metric-symbol { color: var(--blue); font-size: 1.05rem }
.detail-metrics strong { color: var(--navy); font-size: 1.05rem }

.detail-section { padding: 28px 0; border-bottom: 1px solid var(--line) }
.detail-section h2,.detail-suggestions h2 { margin: 0 0 12px; color: var(--navy); font-size: 1.35rem }
.detail-section p { margin: 0 0 12px; color: #59616d; line-height: 1.65 }
.text-button { border: 0; padding: 0; background: transparent; color: var(--blue); font-weight: 800; cursor: pointer }
.detail-description.is-collapsed .detail-description-content { max-height: 260px; overflow: hidden; position: relative }
.detail-description.is-collapsed:not(.is-expanded) .detail-description-content::after { position: absolute; right: 0; bottom: 0; left: 0; height: 78px; background: linear-gradient(transparent, #fff); content: "" }
.detail-description.is-expanded .detail-description-content { max-height: none }
.detail-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 }
.detail-list div { display: grid; gap: 3px }.detail-list dt { color: #667085; font-size: .8rem }.detail-list dd { margin: 0; color: var(--navy); font-weight: 700 }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; color: #46505d; list-style: none }.amenities li::first-letter { color: var(--blue) }

.visit-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 0; padding: 22px; border: 1px solid #cfdcec; border-radius: 14px; background: #eff5ff }.visit-banner h2 { margin: 0; font-size: 1.25rem }.visit-banner p { margin: 4px 0 0; color: #59616d }
.section-heading { display: flex; justify-content: space-between; gap: 18px }.outline-button { align-self: start; border: 1px solid #8fbaf6; border-radius: 8px; padding: 9px 12px; background: #fff; color: var(--blue); font-weight: 700; cursor: pointer }
.detail-map { display: grid; place-content: center; min-height: 270px; margin-top: 14px; border: 1px solid #cbd9df; border-radius: 14px; background: linear-gradient(25deg, #d6e1dd 0 20%, #edf3ef 20% 38%, #cadde3 38% 48%, #f2eee5 48% 72%, #dcebdc 72%); color: var(--navy); text-align: center }.detail-map span { font-size: 2rem; color: var(--blue) }.detail-map small { color: #59616d }

.detail-sidebar { align-self: start; position: sticky; top: 92px }
.detail-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px }
.detail-actions button { min-height: 38px; border: 1px solid #cfd6df; border-radius: 8px; padding: 8px 11px; background: #fff; color: #46505d; font-size: .8rem; font-weight: 700; cursor: pointer }
.detail-share-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px }
.action-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.detail-share-action .share-icon { display: block; flex: 0 0 20px; width: 20px !important; height: 20px !important; margin: 0; fill: none }
.detail-favorite-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px }
.detail-actions .detail-favorite-action .favorite-icon { width: 20px; height: 20px; fill: none; stroke: currentColor }
.contact-card { display: grid; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(15, 23, 42, .1) }
.contact-label { display: block; color: #667085; font-size: .75rem; font-weight: 800; text-transform: uppercase }
.detail-price { display: block; margin-top: 3px; color: var(--blue); font-size: 2rem; letter-spacing: -.03em }
.detail-price-conversions { display: block; margin-top: 5px; color: #7a8491; font-size: .78rem; font-weight: 500 }
.agent { display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #e5e9ed }
.agent-avatar { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e6effa; color: var(--blue) }
.agent-avatar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.agent div+div { display: grid; gap: 2px }
.agent span { color: #667085; font-size: .78rem }
.contact-button { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; border: 0; border-radius: 8px; padding: 0; color: #fff; text-decoration: none; font-weight: 800; cursor: pointer }
.contact-button-form { display: contents }
.contact-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round }
.contact-icon.whatsapp-icon { fill: currentColor; stroke: none }
.whatsapp { background: #25d366 }
.phone { border: 1px solid #bec7d1; background: #fff; color: var(--navy) }
.email { border: 1px solid #8fbaf6; background: #fff; color: var(--blue) }
.original { background: var(--blue) }
.outline-button { text-decoration: none }

.detail-suggestions { padding: 48px 0; border-top: 1px solid var(--line); background: #f4f7fa }.detail-property-grid { grid-template-columns: repeat(3, 1fr) }

@media(max-width:900px) { .detail-layout { grid-template-columns: 1fr }.detail-sidebar { position: static }.detail-actions { justify-content: start }.contact-card { grid-template-columns: repeat(2, 1fr) }.contact-card > :first-child,.contact-card > :nth-child(2),.agent { grid-column: span 2 } }
@media(max-width:620px) {
  #dialog-valor-listagem.price-dialog {
    width: calc(100% - 8px);
    border-radius: 16px;
  }

  #dialog-valor-listagem .price-dialog-content {
    padding: 20px 16px 18px;
  }

  #dialog-valor-listagem .price-inputs {
    grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
    gap: 5px;
  }

  #dialog-valor-listagem .price-inputs input {
    padding-inline: 8px;
    font-size: 1rem;
  }

  #dialog-valor-listagem .price-inputs > span {
    padding-bottom: 16px;
    font-size: .8rem;
    text-align: center;
  }

  .detail-layout { padding-top: 0; gap: 22px }
  .gallery-frame { width: calc(100% + 32px); margin-left: -16px }
  .detail-gallery { display: flex; height: 280px; overflow-x: auto; overflow-y: hidden; border-radius: 0; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-y }
  .detail-gallery.image-placeholder { display: grid; overflow: hidden; scroll-snap-type: none; touch-action: auto }
  .detail-gallery::-webkit-scrollbar { display: none }
  .gallery-slide,.gallery-extra { display: block; flex: 0 0 100%; min-width: 100%; height: 100%; scroll-snap-align: start; cursor: grab }
  .gallery-main { grid-row: auto }
  .gallery-counter { right: 12px; bottom: 12px; border-radius: 999px; padding: 8px 11px }
  .gallery-dots { display: flex; justify-content: center; gap: 7px; padding: 11px 0 2px }
  .gallery-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #c3cad2; cursor: pointer }
  .gallery-dots button.active { background: var(--navy) }
  .detail-metrics { grid-template-columns: repeat(3, 1fr) }
  .detail-metrics div { padding: 5px 0 }
  .detail-list,.amenities { grid-template-columns: 1fr }
  .visit-banner,.section-heading { align-items: flex-start; flex-direction: column }
  .contact-card { grid-template-columns: 1fr }
  .contact-card > :first-child,.contact-card > :nth-child(2),.agent { grid-column: auto }
  .detail-property-grid { grid-template-columns: 1fr }
  .detail-price { font-size: 1.75rem }
  .property-share-dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: min(88vh, 680px); margin: 0; border-radius: 18px 18px 0 0 }
  .property-share-dialog[open] { animation-name: property-share-sheet-in }
  .property-share-dialog-content { padding: 22px 16px max(20px, env(safe-area-inset-bottom)) }
  .property-share-options { gap: 13px; margin-top: 22px }
  .property-share-option { flex-basis: 69px }
  .property-share-icon { width: 50px; height: 50px }
  .property-share-toast { bottom: 18px }
}

@keyframes property-share-sheet-in {
  from { opacity: 0; transform: translateY(100%) }
  to { opacity: 1; transform: translateY(0) }
}

@media(max-width:900px) {
  .pre-registration-hero { min-height: 0; padding: 56px 0 }
  .pre-registration-grid { grid-template-columns: 1fr; gap: 36px }
  .pre-registration-copy { max-width: 760px }
  .pre-registration-card { max-width: 620px }
}

@media(max-width:500px) {
  .pre-registration-hero { padding: 40px 0 }
  .pre-registration-card { padding: 24px 18px }
  .pre-registration-form { grid-template-columns: 1fr }
  .pre-registration-field { grid-column: 1 / -1 }
}
