:root {
  --text: #16223f;       /* navy — titulos e texto principal */
  --text-soft: #44566f;  /* navy suave — apoio */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: #f7f9ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 72px;
  padding: 12px clamp(18px, 3.8vw, 56px);
  background: var(--ink);
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: 0 6px 20px rgba(16, 35, 70, .12);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: auto;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}

.brand img {
  width: clamp(128px, 10vw, 172px);
  height: auto;
}

/* Cabecalho do portal do cliente: enxuto, sem a navegacao da vitrine (para o
   inquilino/proprietario nao sair da area dele sem querer). O CTA de WhatsApp
   fica encostado a direita. */
.portal-header .portal-badge {
  color: #fff;
  font-weight: 700;
  font-size: clamp(.9rem, 2.6vw, 1.02rem);
  letter-spacing: .01em;
  opacity: .92;
}
.portal-header .nav-cta { margin-left: auto; }

.panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.panel-brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.8vw, 24px);
  margin-left: auto;
  font-weight: 800;
  font-size: .92rem;
}
.site-nav a {
  position: relative;
  color: #fff;
  transition: opacity .18s ease;
}
.site-nav a:hover { opacity: .82; }
.site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  color: #fff !important;
  background: #2fbd4f;
  box-shadow: 0 2px 8px rgba(47, 189, 79, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(47, 189, 79, .4); }
.filters-icon, .map-btn-icon { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-cta .nav-cta-text { display: none; }
.nav-cta .whatsapp-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  line-height: 1;
  color: #fff;
}
.nav-cta .whatsapp-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.flash {
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.flash-ok { background: #dcf8ee; color: #145d4b; }
.flash-erro { background: #ffe2d9; color: #8b2d19; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1fr);
  align-items: start;
  gap: clamp(28px, 4.4vw, 62px);
  min-height: min(610px, 78vh);
  padding: clamp(42px, 6vw, 86px) clamp(18px, 4.6vw, 72px) 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,244,255,.94)),
    radial-gradient(circle at 86% 18%, rgba(250,177,2,.18), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(3,79,251,.12), transparent 28%);
}
.home-hero-block {
  grid-template-columns: minmax(0, 780px);
  align-items: end;
  min-height: min(620px, 76vh);
}
.home-hero-block.hero-com-calc {
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1fr);
  align-items: start;
  min-height: 0;
}
.home-hero-block.has-hero-image .hero-calculator .section-heading h2 { color: #fff; }
.home-hero-block.has-hero-image .hero-calculator .section-heading p:not(.eyebrow) { color: rgba(255, 255, 255, .85); }
.home-hero-block.has-hero-image {
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(12, 25, 52, .86), rgba(12, 25, 52, .48) 62%, rgba(12, 25, 52, .18)),
    var(--home-hero-image);
  background-size: cover;
  background-position: center;
}
.home-hero-block.has-hero-image .hero-text,
.home-hero-block.has-hero-image .hero-trust li,
.home-hero-block.has-hero-image .hero-trust li strong {
  color: rgba(255,255,255,.9);
}
.home-hero-block.has-hero-image .hero-trust {
  border-top-color: rgba(255,255,255,.22);
}
.home-hero-block.has-hero-image .btn.secondary {
  color: #fff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.34);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.45rem, 4.35vw, 4.75rem);
  line-height: .97;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  color: #294966;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-trust {
  list-style: none;
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid #e1e8f3;
  display: grid;
  gap: 14px;
  max-width: 480px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 1rem;
}
.hero-trust li strong { color: var(--text); font-weight: 800; }
.hero-trust-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #15875f;
  background: #e3f6ee;
}
.hero-trust-ico svg { width: 17px; height: 17px; }

.hero-actions, .row-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn, button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn.primary, .button.primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(3, 79, 251, .24);
}
.btn.primary:hover, .button.primary:hover { background: #0344d8; border-color: #0344d8; transform: translateY(-1px); }
.btn.secondary, .button { color: var(--text); background: #fff; border-color: #dbe3f0; }
.btn.secondary:hover, .button:hover { background: #f4f7fc; border-color: #c7d2e6; }
.btn.full { width: 100%; }
.text-link { color: var(--ink); font-weight: 800; }
.text-link:hover { color: #0344d8; }

.hero-calculator {
  min-width: 0;
  display: grid;
  gap: 22px;
  align-self: start;
}
.hero-calculator .section-heading {
  margin: 0;
}
.hero-calculator .section-heading h2 {
  color: var(--text);
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
}
.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(420px, 1fr);
  gap: clamp(24px, 4.4vw, 62px);
  align-items: start;
}
.calculator-layout .section-heading {
  margin: 0;
}
.calculator-layout .section-heading h2 {
  color: var(--text);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.section, .page-head, .detail-layout, .thanks {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 32px);
}
.page-head { padding-bottom: 12px; }
.page-head + .section { padding-top: 24px; }
.section-soft { max-width: none; padding-left: max(18px, calc((100vw - 1180px) / 2 + 32px)); padding-right: max(18px, calc((100vw - 1180px) / 2 + 32px)); background: #eef3ff; }
.section-heading { max-width: 720px; margin-bottom: 24px; }
.section-heading h2, .page-head h1, .thanks h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.section-heading p, .page-head p, .thanks p { color: #5d6f86; }
.row-heading { justify-content: space-between; max-width: none; }

.calc-card, .interest-card {
  padding: 26px;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(16, 35, 70, .10);
}

form label { display: grid; gap: 6px; color: #33486a; font-size: .9rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #8f98aa;
  border-radius: 11px;
  color: var(--text);
  background: #fff;
  font: inherit;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input::placeholder, textarea::placeholder { color: #566780; opacity: 1; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(3, 79, 251, .14);
}
textarea { resize: vertical; }
.form-row, .qualifier { display: grid; gap: 14px; margin-bottom: 14px; }
.form-row.two, .qualifier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lead-form > label { margin-bottom: 14px; }

.profile-simulator {
  position: relative;
}
.profile-simulator::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--ink));
}
.profile-output {
  display: grid;
  gap: 12px;
}
.profile-output[hidden] {
  display: none;
}
.preference-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 14px;
}
.preference-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d7e6ea;
  border-radius: 999px;
  color: var(--text);
  background: #f7f9ff;
}
.preference-row input {
  width: auto;
  min-height: 0;
  accent-color: var(--ink);
}
.profile-result {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(3,79,251,.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #eef3ff);
}
.profile-result span {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.profile-result strong {
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.15;
}
.profile-result p {
  margin: 0;
  color: #294966;
}
.profile-result small {
  color: #5d6f86;
  font-weight: 800;
}
.profile-suggestions {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(3,79,251,.14);
  border-radius: 8px;
  background: #fbfcff;
}
.profile-suggestions[hidden] { display: none; }
.profile-suggestions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-suggestions-head div {
  display: grid;
  gap: 2px;
}
.profile-suggestions-head span {
  color: var(--brand);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.profile-suggestions-head strong {
  color: var(--text);
  line-height: 1.18;
}
.profile-suggestions-list {
  display: grid;
  gap: 10px;
}
.profile-suggestion-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid #d7e6ea;
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.profile-suggestion-card.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(250,177,2,.18);
}
.profile-suggestion-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 76px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--brand));
  font-weight: 900;
}
.profile-suggestion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-suggestion-placeholder {
  padding: 8px;
  font-size: .78rem;
  text-align: center;
}
.profile-suggestion-card div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.profile-suggestion-card strong,
.profile-suggestion-card span,
.profile-suggestion-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-suggestion-card strong { color: var(--text); }
.profile-suggestion-card span,
.profile-suggestion-card small { color: #5d6f86; }
.profile-suggestion-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  margin-top: 5px;
}
.profile-suggestion-actions button,
.profile-suggestion-actions a {
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #eef3ff;
  font-size: .82rem;
  font-weight: 900;
}
.profile-suggestion-actions button {
  background: #fff3cf;
}
.profile-suggestion-empty,
.profile-selected {
  color: #5d6f86;
  font-weight: 800;
}
.profile-selected {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff3cf;
}
.profile-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 2px;
}
.profile-actions .btn {
  width: 100%;
  border-radius: 8px;
}
.btn.assistant {
  color: #061b4a;
  background: #ffe500;
  border-color: #ffe500;
  box-shadow: 0 10px 24px rgba(250, 177, 2, .24);
}
.btn.assistant:hover {
  background: #f4d900;
  border-color: #f4d900;
  transform: translateY(-1px);
}
.profile-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
}
.profile-lead-modal[hidden] {
  display: none;
}
.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(10, 23, 45, .48);
  box-shadow: none;
}
.profile-modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(10, 23, 45, .28);
}
.profile-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.profile-modal-head div {
  display: grid;
  gap: 3px;
}
.profile-modal-head span {
  color: var(--brand);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.profile-modal-head strong {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.15;
}
.profile-modal-close {
  flex: 0 0 auto;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: #eef3ff;
  box-shadow: none;
  font-size: 1.35rem;
}
.profile-modal-close:hover {
  background: #dfe8fb;
}
.profile-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.has-profile-modal {
  overflow: hidden;
}

.results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.results div {
  min-height: 98px;
  padding: 14px;
  border-radius: 8px;
  background: #f2f7f8;
}
.results span { display: block; color: #5d6f86; font-size: .82rem; font-weight: 800; }
.results strong { display: block; margin-top: 8px; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.results small { display: block; margin-top: 4px; color: #20435e; font-weight: 800; }
.results .saving { color: #fff; background: var(--ink); }
.results .saving span, .results .saving small { color: rgba(255,255,255,.82); }
.calc-note { color: #5d6f86; font-size: .9rem; }

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-property-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}
.home-property-next div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.home-property-next span {
  color: var(--brand);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.home-property-next strong {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.15;
}
.home-property-next p {
  max-width: 620px;
  margin: 0;
  color: #5d6f86;
}
.home-property-next-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}
.home-property-next-actions .btn {
  min-height: 40px;
  border-radius: 8px;
}
.property-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 35, 70, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.property-card:hover {
  transform: translateY(-4px);
  border-color: #d7e0ee;
  box-shadow: 0 24px 52px rgba(16, 35, 70, .14);
}
.property-list-section {
  padding-top: 18px;
}
.property-media, .detail-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
  overflow: hidden;
  color: rgba(255,255,255,.9);
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #16223f, #284a86);
}
.property-media img, .detail-media img { width: 100%; height: 100%; object-fit: cover; }
.property-media.no-photo, .detail-media.no-photo {
  min-height: 190px;
  gap: 6px;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(3, 79, 251, .16), rgba(250, 177, 2, .18)),
    #f3f7fb;
  color: #33486a;
}
.property-media.no-photo span, .detail-media.no-photo span {
  font-size: .92rem;
}
.property-media.no-photo small, .detail-media.no-photo small {
  color: #6c8390;
  font-weight: 800;
}
.detail-media.no-photo { min-height: 260px; }
.property-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .65s ease, transform 1.2s ease;
}
.property-photo.active {
  opacity: 1;
  transform: scale(1);
}
.media-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 22, 76, .62);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 900;
}
.property-dots {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.property-dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  box-shadow: 0 1px 5px rgba(0,0,0,.18);
  transition: width .25s ease, background .25s ease;
}
.property-dots i.active {
  width: 18px;
  background: var(--brand);
}
.property-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.property-body h2, .property-body h3 { margin: 4px 0 8px; font-size: 1.18rem; line-height: 1.18; }
.property-body h2 a { color: var(--text); }
.property-body p { color: #5d6f86; margin: 0 0 10px; }
.property-body strong, .price { color: #16223f; font-size: 1.28rem; font-weight: 900; }
.property-body small { display: block; margin-top: 2px; color: #6c8390; font-weight: 700; }
.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.property-tags span {
  padding: 5px 8px;
  border: 1px solid #dde6f5;
  border-radius: 999px;
  color: #2b446a;
  background: #f6f9ff;
  font-size: .76rem;
  font-weight: 800;
}
.property-price-line {
  display: grid;
  gap: 2px;
  margin-top: auto;
}
.property-price-line > span {
  color: var(--brand);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.property-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}
.property-card-actions .btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .9rem;
}
.meta { color: var(--support) !important; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.info-grid article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid #e6ecf5;
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 35, 70, .05);
}
.info-grid h3 { margin-top: 0; }
.info-grid p { color: #5d6f86; }

.owner-hero {
  position: relative;
  min-height: min(660px, 78vh);
  display: grid;
  align-items: end;
  padding: clamp(72px, 10vw, 118px) clamp(18px, 5vw, 72px) clamp(46px, 7vw, 72px);
  color: #fff;
  background-image: linear-gradient(90deg, rgba(8, 20, 43, .82), rgba(8, 20, 43, .44) 58%, rgba(8, 20, 43, .18)), var(--owner-hero-image);
  background-size: cover;
  background-position: center;
}
.owner-hero.no-image {
  background:
    linear-gradient(90deg, rgba(8, 20, 43, .94), rgba(8, 20, 43, .78)),
    #0f1d33;
}
.owner-hero-copy {
  max-width: 760px;
}
.owner-hero .eyebrow { color: var(--brand); }
.owner-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: 0;
}
.owner-hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.owner-hero .btn.secondary {
  color: #fff;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.38);
}
.owner-section {
  padding-bottom: clamp(34px, 5vw, 58px);
}
.owner-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.owner-benefits article {
  min-height: 218px;
  padding: 24px;
  border: 1px solid #e6ecf5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 35, 70, .05);
}
.owner-benefits span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}
.owner-benefits h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.owner-benefits p {
  margin: 0;
  color: #5d6f86;
}
.owner-form-band {
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(44px, 6vw, 76px);
}
.owner-form-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: 0 clamp(18px, 4vw, 32px);
}
.owner-checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.owner-checklist span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #33486a;
  font-weight: 800;
}
.owner-checklist span::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(250,177,2,.16);
}
.owner-form {
  display: grid;
  gap: 0;
}
.owner-form > label {
  margin-bottom: 14px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.post-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 35, 70, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: #d7e0ee; box-shadow: 0 22px 48px rgba(16, 35, 70, .12); }
.post-card h2 { margin: 0; font-size: 1.28rem; line-height: 1.2; }
.post-card h2 a { color: var(--text); }
.post-card p { margin: 0; color: #5d6f86; }
.post-detail {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 32px);
}
.post-detail h1 {
  margin: 14px 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.post-summary { color: #5d6f86; font-size: 1.18rem; }

.filters {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px) 24px;
}
.filters summary {
  display: none;
}
.filters form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 0;
}
.property-results-summary,
.property-assistant-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}
.property-results-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}
.property-results-summary h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}
.property-results-summary p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #5d6f86;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.filter-chips span {
  padding: 7px 10px;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  color: #2b446a;
  background: #fff;
  font-size: .84rem;
  font-weight: 800;
}
.property-results-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
/* No desktop o wrapper da linha de resultados nao existe visualmente:
   filtros e contador seguem como blocos independentes. */
.results-toolbar { display: contents; }
.map-btn-text-short { display: none; }
.map-results-btn {
  min-height: 40px;
  border-radius: 8px;
}
.property-map-modal {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: grid;
  place-items: center;
  padding: 18px;
}
.property-map-modal[hidden] {
  display: none;
}
.property-map-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(10, 23, 45, .58);
  box-shadow: none;
}
.property-map-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: min(760px, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(10, 23, 45, .30);
}
.property-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #e6ecf5;
}
.property-map-head div {
  display: grid;
  gap: 2px;
}
.property-map-head span {
  color: var(--brand);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.property-map-head strong {
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.15;
}
.property-map-close {
  flex: 0 0 auto;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: #eef3ff;
  box-shadow: none;
  font-size: 1.45rem;
}
.property-map-close:hover {
  background: #dfe8fb;
}
.property-map-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}
.property-map-list {
  min-height: 0;
  overflow: auto;
  padding: 12px;
  border-right: 1px solid #e6ecf5;
  background: #f6f9ff;
}
.property-map-list button {
  width: 100%;
  min-height: 0;
  display: grid;
  justify-items: start;
  gap: 4px;
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  box-shadow: none;
  text-align: left;
}
.property-map-list button.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(3, 79, 251, .13);
}
.property-map-list strong {
  font-size: .95rem;
  line-height: 1.2;
}
.property-map-list span {
  color: #5d6f86;
  font-size: .84rem;
  font-weight: 700;
}
.property-map-list small {
  color: var(--ink);
  font-weight: 900;
}
.property-map-frame {
  position: relative;
  min-height: 0;
  background: #dfe8f4;
}
.property-map-canvas {
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.property-map-status {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(320px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  padding: 14px 16px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #213657;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px rgba(16, 35, 67, .16);
  font-weight: 800;
  text-align: center;
}
.property-map-status[hidden] {
  display: none;
}
.property-price-marker {
  display: grid;
  place-items: center;
  width: auto !important;
  height: auto !important;
  background: transparent;
  border: 0;
}
.property-price-marker.active {
  z-index: 1000 !important;
}
.property-price-marker span {
  display: block;
  min-width: 78px;
  padding: 8px 11px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(3, 79, 251, .30);
  font-size: .82rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.property-price-marker.active span,
.property-price-marker span:hover {
  color: #17213a;
  background: var(--brand);
  box-shadow: 0 10px 28px rgba(250, 177, 2, .38);
}
.property-map-popup {
  display: grid;
  gap: 5px;
  min-width: 190px;
}
.property-map-popup strong {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.2;
}
.property-map-popup span {
  color: #5d6f86;
  font-weight: 700;
}
.property-map-popup b {
  color: var(--ink);
  font-size: 1rem;
}
.property-map-popup a {
  width: fit-content;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.property-map-popup a:hover {
  text-decoration: underline;
}
.has-property-map {
  overflow: hidden;
}
.property-assistant-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 4px;
}
.property-assistant-strip div {
  display: grid;
  gap: 3px;
}
.property-assistant-strip strong {
  color: var(--text);
  font-size: 1rem;
}
.property-assistant-strip span {
  color: #5d6f86;
}
.property-assistant-strip .btn {
  flex: none;
  min-height: 40px;
  border-radius: 8px;
}

.empty-state {
  display: grid;
  gap: 6px;
  padding: 32px;
  border: 1px dashed #c4cfe0;
  border-radius: 14px;
  color: #5d6f86;
  background: #fff;
}
.empty-state strong {
  color: var(--text);
  font-size: 1.08rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.detail-media { min-height: 380px; border-radius: 16px; overflow: hidden; }
.detail-main h1 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; }
.feature-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.feature-row span { padding: 9px 14px; border-radius: 999px; color: #2b446a; background: #eef3ff; border: 1px solid #dde6f5; font-weight: 700; font-size: .9rem; }
.interest-card { position: sticky; top: 82px; }
.interest-card h2 { margin-top: 0; }
.interest-card form { display: grid; gap: 12px; }

.rich-text { color: #33486a; line-height: 1.72; }
.rich-text > :first-child { margin-top: 0; }
.rich-text h2 { margin: 30px 0 10px; font-size: 1.5rem; line-height: 1.25; color: var(--text); }
.rich-text h3 { margin: 22px 0 8px; font-size: 1.2rem; color: var(--text); }
.rich-text p { margin: 0 0 16px; }
.rich-text ul, .rich-text ol { margin: 0 0 16px; padding-left: 22px; }
.rich-text li { margin: 5px 0; }
.rich-text img { border-radius: 12px; margin: 12px 0; }
.rich-text a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(3,79,251,.34); text-underline-offset: 3px; }
.rich-text a:hover { text-decoration-color: currentColor; }

.thanks {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.thanks > * { max-width: 720px; }
.thanks-mascot { width: 180px; margin: 0 auto 10px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 44px clamp(18px, 5vw, 72px);
  color: rgba(231, 237, 246, .72);
  background: #0f1d33;
}
.site-footer strong { color: #fff; font-size: 1.08rem; }
.site-footer p { margin: 8px 0 0; max-width: 380px; line-height: 1.5; }
.site-footer .footer-creci { color: #aebdd2; font-weight: 700; font-size: .9rem; }
.footer-links { display: grid; gap: 10px; text-align: right; align-content: start; }
.footer-links a { color: #e7edf6; font-weight: 700; transition: color .15s ease; }
.footer-links a:hover { color: var(--brand); }
.footer-social { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #e7edf6;
  background: rgba(255, 255, 255, .08);
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
.footer-social a:hover { color: #0f1d33; background: var(--brand); transform: translateY(-2px); }

@media (max-width: 900px) {
  .site-header { align-items: stretch; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 12px 0; }
  .hero, .home-hero-block.hero-com-calc, .detail-layout, .owner-form-layout, .calculator-layout { grid-template-columns: 1fr; }
  .property-grid, .info-grid, .post-grid, .owner-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-property-next {
    align-items: stretch;
    flex-direction: column;
  }
  .home-property-next-actions {
    justify-content: flex-start;
  }
  .property-results-summary,
  .property-assistant-strip {
    align-items: stretch;
    flex-direction: column;
  }
  .property-results-actions {
    justify-content: flex-start;
  }
  .property-assistant-strip .btn {
    width: 100%;
  }
  .interest-card { position: static; }
}

@media (max-width: 620px) {
  .site-footer { display: grid; }
  /* No smartphone a barra fica azul e em UMA linha so: logo + links + whatsapp. */
  .site-header {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px; padding: 7px 10px; min-height: 0;
    background: var(--ink); backdrop-filter: none; border-bottom: none;
  }
  .brand { flex: none; padding: 0; background: none; border-radius: 0; margin-right: auto; }
  .brand img { width: 96px; }
  /* No celular a navegacao vira um menu (hamburger): itens empilhados,
     que abrem por baixo da barra. Nada de rolagem horizontal. */
  .nav-toggle { display: flex; order: 3; }
  .site-nav {
    order: 5;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .site-header.nav-open .site-nav { max-height: 70vh; padding: 6px 0 10px; }
  .site-nav a {
    color: #fff;
    white-space: nowrap;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .site-nav a:hover, .site-nav a.is-active { color: #fff; }
  .site-nav a.is-active::after { display: none; }
  .site-nav a.is-active { color: var(--brand); }
  /* WhatsApp: so o icone, redondo, a direita, ao lado do menu. */
  .nav-cta { order: 4; flex: none; min-height: 0; width: 38px; height: 38px; padding: 0; justify-content: center; gap: 0; }
  .nav-cta .nav-cta-text { display: none; }
  .nav-cta .whatsapp-icon { width: 22px; height: 22px; }
  .nav-cta .whatsapp-icon svg { width: 20px; height: 20px; }
  .form-row.two, .form-row.three, .qualifier, .results, .property-grid, .info-grid, .post-grid, .filters form, .owner-benefits { grid-template-columns: 1fr; }
  /* Menos ar no celular: hero compacto e sem textos de apoio (menos "poluido"). */
  .page-head { padding: 20px 16px 4px; }
  .page-head h1 { font-size: 1.9rem; }
  .page-head p:not(.eyebrow) { display: none; }

  /* Contador, Filtros e Mapa dividem UMA linha (item 10 da auditoria visual).
     A ordem visual e: [titulo] -> [N imoveis | Filtros | Mapa] -> cards.
     O formulario de filtros abre como painel flutuante por cima da lista. */
  .results-toolbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 8px;
  }
  .filters {
    order: 2;
    margin: 0;
    padding: 0;
  }
  .filters summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #d7dfec;
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(16, 35, 70, .06);
  }
  .filters[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
  .filters[open] summary .filters-icon { color: #fff; }
  .filters summary::-webkit-details-marker { display: none; }
  .filters-icon { display: inline-block; color: var(--brand); flex: none; }
  .filters summary span { color: inherit; font-size: .95rem; text-transform: none; }
  .filters summary strong { display: none; }
  .filters form {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    z-index: 40;
    margin-top: 4px;
    padding: 14px;
    background: #fff;
    border: 1px solid #d7dfec;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(16, 35, 70, .2);
  }

  /* Contagem de resultados: enxuta, divide a linha com os botoes.
     Os chips de filtro ativo descem para uma linha propria abaixo da barra. */
  .property-results-summary { display: contents; }
  .property-results-summary > div:first-child { display: contents; }
  .property-results-summary .eyebrow { display: none; }
  .property-results-summary h2 {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.15rem;
  }
  .property-results-summary h2 .count-tail { display: none; }
  .property-results-summary p:not(.eyebrow) { display: none; }
  .filter-chips {
    order: 4;
    flex-basis: 100%;
    margin-top: 0;
  }
  .property-results-actions {
    order: 3;
    width: auto;
    margin-top: 0;
    justify-content: flex-start;
    gap: 8px;
  }
  .map-results-btn { width: auto; padding: 9px 14px; gap: 8px; }
  .map-btn-icon { display: inline-block; flex: none; }
  .map-btn-text { display: none; }
  .map-btn-text-short { display: inline; }
  /* No celular o bloco "Quer ajuda para escolher?" some: o chat flutuante ja cobre isso. */
  .property-assistant-strip { display: none; }
  .home-property-next-actions,
  .home-property-next-actions .btn { width: 100%; }
  .property-map-modal {
    padding: 10px;
  }
  .property-map-dialog {
    height: calc(100vh - 20px);
  }
  .property-map-head {
    padding: 12px;
  }
  .property-map-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(150px, 220px);
  }
  .property-map-list {
    order: 2;
    border-right: 0;
    border-top: 1px solid #e6ecf5;
  }
  .property-map-frame { order: 1; }
  /* Ver imovel + Assistente dividem uma linha para encurtar o card
     (item 10 da auditoria visual) — herdam o grid 1fr/auto do desktop. */
  .profile-actions { grid-template-columns: 1fr; }
  .profile-modal-actions { display: grid; grid-template-columns: 1fr; justify-content: stretch; }
  .profile-modal-actions .btn { width: 100%; }
  .owner-hero { min-height: 620px; align-items: end; }
  .footer-links { text-align: left; }
  .footer-social { justify-content: flex-start; }
  /* Titulo do hero travava no piso de 2.45rem e ocupava ~7 linhas no celular,
     empurrando os botoes pra fora da tela. Piso menor e escala por vw. */
  .hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.45rem); line-height: 1.02; }
}

.detail-gallery { position: relative; }
.detail-media { position: relative; }
.gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  object-fit: cover;
}
.gallery-slide.active { display: block; }
.gallery-controls {
  position: absolute;
  inset: 50% 10px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.gallery-controls button {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(3,79,251,.86);
  font-weight: 900;
}
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.gallery-thumbs button {
  border: 1px solid #d7e6ea;
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}
.gallery-thumbs button.active {
  border-color: var(--brand);
  background: #fff3cf;
}
.contract-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.contract-prices div {
  padding: 16px 18px;
  border: 1px solid #e6ecf5;
  border-radius: 14px;
  background: #f7f9fc;
}
.contract-prices span,
.contract-prices small {
  display: block;
  color: #64768f;
  font-weight: 700;
  font-size: .86rem;
}
.contract-prices strong { display: block; color: #16223f; font-size: 1.35rem; margin-top: 4px; }
.map-block { margin-top: 24px; }
.map-block iframe {
  width: 100%;
  height: 320px;
  border: 1px solid #e6ecf5;
  border-radius: 14px;
}

@media (max-width: 620px) {
  .contract-prices { grid-template-columns: 1fr; }
}

/* ===================== Blocos da home (largura/fundo/espacamento) ===================== */
.hs { width: 100%; }
.hs-inner { max-width: 1180px; margin: 0 auto; padding-left: clamp(18px, 4vw, 32px); padding-right: clamp(18px, 4vw, 32px); }
.hs-larg-estreita .hs-inner { max-width: 760px; }
.hs-larg-normal .hs-inner { max-width: 1180px; }
.hs-larg-larga .hs-inner { max-width: 1360px; }
.hs-larg-full .hs-inner { max-width: none; }
.hs-esp-compacto { padding-top: 34px; padding-bottom: 34px; }
.hs-esp-normal { padding-top: 58px; padding-bottom: 58px; }
.hs-esp-amplo { padding-top: 88px; padding-bottom: 88px; }
.hs-fundo-claro { background: #fff; }
.hs-fundo-escuro { background: #0f1d33; }
.hs-fundo-roxo { background: #241a52; }
.hs-fundo-amarelo { background: #fff7e0; }
.hs-fundo-escuro, .hs-fundo-roxo { color: #e7edf6; }
.hs-fundo-escuro .section-heading h2, .hs-fundo-roxo .section-heading h2,
.hs-fundo-escuro .sec-head h2, .hs-fundo-roxo .sec-head h2 { color: #fff; }
.hs-fundo-escuro .section-heading p, .hs-fundo-roxo .section-heading p,
.hs-fundo-escuro .sec-head p, .hs-fundo-roxo .sec-head p { color: rgba(231,237,246,.82); }
.sec-head { max-width: 760px; margin-bottom: 26px; }
.sec-head .eyebrow { display: block; margin-bottom: 6px; }
.sec-head h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: var(--text); }
.sec-head p { margin: 0; color: #5d6f86; }

/* ===================== Mosaico ===================== */
.mosaico-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mosaico-card {
  position: relative; border-radius: 22px; padding: 30px 28px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease; --fx-lift: 0px; --fx-scale: 1; --fx-tilt: 0deg;
}
.mosaico-card.mc-largo { grid-column: span 2; }
.mosaico-card.fx-elevar:hover, .mosaico-card.fx-ampliar:hover, .mosaico-card.fx-inclinar:hover { transform: translateY(var(--fx-lift)) scale(var(--fx-scale)) rotate(var(--fx-tilt)); }
.mosaico-card.fx-elevar:hover { --fx-lift: -8px; box-shadow: 0 20px 42px rgba(0,0,0,.20); }
.mosaico-card.fx-ampliar:hover { --fx-scale: 1.04; }
.mosaico-card.fx-inclinar:hover { --fx-tilt: -1.6deg; }
.mosaico-card.fx-brilho:hover { box-shadow: 0 0 0 3px rgba(3,79,251,.28), 0 16px 34px rgba(3,79,251,.30); }
.mc-sub { font-size: 1.02rem; font-weight: 600; opacity: .92; }
.mc-titulo { font-size: 1.7rem; font-weight: 900; line-height: 1.14; margin: 0; }
.mc-texto { font-size: 1rem; margin: 6px 0 0; opacity: .96; }
.mc-btn { position: relative; z-index: 2; align-self: flex-start; margin-top: 16px; background: rgba(0,0,0,.12); color: inherit; padding: 11px 20px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: transform .15s ease; }
.mc-btn:hover { transform: translateY(-2px); }
.mc-cobertura { position: absolute; inset: 0; z-index: 1; }
.mc-lima { background: #c7e85a; color: #1c2b08; }
.mc-roxo { background: #3a2b86; color: #fff; }
.mc-amarelo { background: var(--brand); color: #2a1d00; }
.mc-escuro { background: #14213a; color: #fff; }
.mc-claro { background: #fff; color: #1c2238; border: 1px solid rgba(28,34,56,.12); }
.mc-roxo .mc-btn, .mc-escuro .mc-btn { background: rgba(255,255,255,.2); }
.mosaico-card.mc-tem-imagem { background-size: cover; background-position: center; color: #fff; border: none; min-height: 260px; }
.mosaico-card.mc-tem-imagem::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.30) 55%, rgba(0,0,0,.45)); }
.mc-tem-imagem .mc-sub, .mc-tem-imagem .mc-titulo, .mc-tem-imagem .mc-texto { position: relative; z-index: 1; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.mc-tem-imagem .mc-btn { background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.55); }
.mc-tem-imagem .mc-btn2 { background: rgba(0,0,0,.30) !important; border-color: rgba(255,255,255,.7); }
.mosaico-card.mc-txt-branco { color: #fff; }
.mosaico-card.mc-txt-escuro { color: #14213a; }
.mosaico-card.mc-txt-roxo { color: #3a2b86; }
.mosaico-card.mc-txt-amarelo { color: #b9820a; }
.mosaico-card.mc-tem-imagem.mc-txt-escuro::before { background: linear-gradient(to top, rgba(255,255,255,.78), rgba(255,255,255,.36) 55%, rgba(255,255,255,.5)); }
.mc-tem-imagem.mc-txt-escuro .mc-btn { background: rgba(255,255,255,.6); border-color: rgba(20,33,58,.3); }
.mc-tem-imagem.mc-txt-escuro .mc-btn2 { background: rgba(255,255,255,.5) !important; border-color: rgba(20,33,58,.4); }
.mc-tem-imagem.mc-txt-escuro .mc-sub, .mc-tem-imagem.mc-txt-escuro .mc-titulo, .mc-tem-imagem.mc-txt-escuro .mc-texto { text-shadow: 0 1px 8px rgba(255,255,255,.6); }
.mosaico-sec-img { position: relative; background-size: cover; background-position: center; }
.mosaico-sec-img::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.20); z-index: 0; }
.mosaico-sec-img > .hs-inner { position: relative; z-index: 1; }
.mosaico-sec-img .sec-head h2, .mosaico-sec-img .sec-head .eyebrow, .mosaico-sec-img .sec-head p { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.mc-bloco-botao { display: flex; align-items: center; justify-content: center; padding: 28px 18px; }
.mc-bloco-botao .mc-btn { font-size: 1.05rem; }
.mc-btn2 { background: transparent !important; border: 2px solid rgba(255,255,255,.5); color: inherit !important; font-size: .82rem !important; margin-top: 6px; }
.mc-bloco-texto { background: #fff; border: 1px solid #e6e9f5; color: #1c2238; }
.mc-bloco-texto .mc-titulo { color: var(--text); }
@media (max-width: 900px) { .mosaico-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mosaico-grid { grid-template-columns: 1fr; } .mosaico-card.mc-largo { grid-column: auto; } .mc-titulo { font-size: 1.5rem; } }

/* =========================================================================
   Portal do cliente (inquilino/proprietario) — mesma linguagem do painel,
   replicada aqui porque o portal usa apenas site.css.
   ========================================================================= */
.portal { max-width: 960px; margin: 0 auto; padding: clamp(24px, 4vw, 44px) clamp(18px, 4vw, 32px) 64px; }
.portal-hero { margin-bottom: 22px; }
.portal-hero .eyebrow { display: block; margin-bottom: 6px; }
.portal-hero h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--text); }
.portal-hero p { margin: 0; color: var(--text-soft); }

.portal-grid { display: grid; gap: 18px; }
.panel-card {
  background: #fff;
  border: 1px solid #e6e9f5;
  border-radius: 16px;
  padding: clamp(18px, 2.6vw, 26px);
  box-shadow: 0 8px 24px rgba(22, 34, 63, .05);
}
.panel-card > h2 { margin: 0 0 4px; font-size: 1.25rem; color: var(--text); }
.panel-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.panel-card-head h2 { margin: 0; font-size: 1.25rem; color: var(--text); }
.panel-card .muted { color: var(--text-soft); margin: 4px 0 0; }

/* Grade de fatos do contrato */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.fact { display: grid; gap: 3px; padding: 12px 14px; background: #f7f9ff; border: 1px solid #eaeefb; border-radius: 11px; }
.fact-label { color: var(--text-soft); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.fact-value { color: var(--text); font-weight: 800; }

/* Pilulas semanticas (mesma paleta do painel) */
.pill { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: #eef2f8; border: 1px solid #e1e8f2; color: #44566f; font-size: .8rem; font-weight: 800; }
.pill-ok { background: #e3f6ee; border-color: #c4ead9; color: #15875f; }
.pill-warn { background: #fff1cc; border-color: #f3dea3; color: #9a6b00; }
.pill-bad { background: #fdecec; border-color: #f6cfcf; color: #c0392b; }
.pill-info { background: #e7eeff; border-color: #d2def9; color: #2a55c8; }
.pill-muted { background: #eef1f6; border-color: #e1e8f2; color: #64768f; }

/* Listas lapidadas (record-list) */
.record-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.record-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 14px; border: 1px solid #e6e9f5; border-radius: 11px; background: #fff; }
.record-main { flex: 1 1 150px; display: grid; gap: 2px; min-width: 0; }
.record-main > strong { color: var(--text); font-weight: 800; }
.record-sub { color: var(--text-soft); font-size: .82rem; font-weight: 600; }
.record-side { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.record-value { color: var(--text); font-weight: 800; }
.record-empty { color: var(--text-soft); margin: 12px 0 0; }

/* Bloco "Como pagar" */
.pay-box { margin-top: 12px; padding: 14px; background: #f7f9ff; border: 1px dashed #cdd8f2; border-radius: 12px; }
.pay-box-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.pay-box-title svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.9; }
.pay-box .muted { font-size: .86rem; }
.copy-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.copy-row input { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border: 1px solid #dbe3f0; border-radius: 10px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; color: var(--text); }
.copy-row .button { flex: 0 0 auto; min-height: 42px; padding: 10px 16px; }
.pay-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pay-actions .button { min-height: 42px; }
.button.whatsapp { background: #1fab5a; border-color: #1fab5a; color: #fff; }
.button.whatsapp:hover { background: #178c49; border-color: #178c49; }

/* Formulario de chamado */
.portal-form { display: grid; gap: 12px; margin-top: 14px; }
.portal-form label { display: grid; gap: 5px; font-weight: 700; color: var(--text); font-size: .92rem; }
.portal-form input, .portal-form textarea { padding: 11px 13px; border: 1px solid #8f98aa; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
.portal-form textarea { resize: vertical; }

@media (max-width: 560px) { .record-side { margin-left: 0; } }

/* Portal: pagina de link indisponivel */
.portal-unavailable { text-align: center; padding: clamp(28px, 5vw, 48px); }
.portal-unavailable-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fdecec; color: #c0392b; margin-bottom: 6px; }
.portal-unavailable-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portal-unavailable h1 { margin: 6px 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text); }
.portal-unavailable .muted { max-width: 460px; margin: 0 auto 6px; }
.portal-unavailable .pay-actions { justify-content: center; margin-top: 16px; }

/* Portal: tela de verificacao (segundo fator leve) */
.portal-verify { text-align: center; padding: clamp(24px, 4vw, 42px); }
.portal-verify-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #e7eeff; color: var(--ink); margin-bottom: 6px; }
.portal-verify-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portal-verify h1 { margin: 6px 0 8px; font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: var(--text); }
.portal-verify .muted { max-width: 460px; margin: 0 auto; }
.portal-verify-form { max-width: 360px; margin: 18px auto 0; text-align: left; }
.portal-verify-form input { font-size: 1.1rem; letter-spacing: .04em; }
.portal-verify-help { margin-top: 16px; font-size: .88rem; }

/* ===== Assistente virtual (widget de chat) ===== */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 1200; font-size: 15px; }
.chat-launcher {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(16, 34, 63, .28); transition: transform .15s ease, box-shadow .15s ease;
}
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16, 34, 63, .34); }
.chat-widget.is-open .chat-launcher { display: none; }

.chat-panel {
  position: absolute; right: 0; bottom: 0; width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 40px); background: #fff; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(16, 34, 63, .28); display: flex; flex-direction: column;
  overflow: hidden; border: 1px solid #e6ecf5;
}
.chat-panel[hidden] { display: none; }
.chat-panel { transition: width .18s ease, height .18s ease; }
.chat-widget.is-expanded .chat-panel { width: 480px; height: 660px; }
.chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; background: linear-gradient(120deg, var(--ink), var(--brand)); color: #fff;
}
.chat-head > div { min-width: 0; }
.chat-head > div strong { display: block; font-size: 14px; line-height: 1.2; }
.chat-head > div span { display: block; font-size: 11.5px; line-height: 1.2; opacity: .85; }
.chat-head-actions { display: flex; flex-direction: row; align-items: center; flex: none; gap: 2px; }
.chat-expand, .chat-close { background: none; border: none; color: #fff; line-height: 1; cursor: pointer; opacity: .85; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 8px; }
.chat-close { font-size: 22px; }
.chat-expand svg { width: 17px; height: 17px; }
.chat-expand:hover, .chat-close:hover { opacity: 1; background: rgba(255, 255, 255, .15); }

/* Formatacao das respostas (markdown minimo) */
.chat-msg-assistente strong { font-weight: 800; }
.chat-msg-rich { max-width: 94%; }
.chat-md-title {
  margin: 3px 0 5px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 900;
}
.chat-md-rule {
  margin: 8px 0;
  border: 0;
  border-top: 1px solid #e6ecf5;
}
.chat-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 7px 0;
  overflow-x: auto;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
}
.chat-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: .82rem;
  white-space: normal;
}
.chat-table th,
.chat-table td {
  padding: 7px 9px;
  border-bottom: 1px solid #e6ecf5;
  border-right: 1px solid #e6ecf5;
  color: var(--text);
  text-align: left;
  vertical-align: top;
}
.chat-table th:last-child,
.chat-table td:last-child {
  border-right: 0;
}
.chat-table tr:last-child td {
  border-bottom: 0;
}
.chat-table th {
  color: #203656;
  background: #f3f7ff;
  font-weight: 900;
  white-space: nowrap;
}
.chat-link { color: var(--ink); font-weight: 700; text-decoration: underline; word-break: break-word; }
.chat-msg-cliente .chat-link { color: #fff; }
.chat-link-imovel::before { content: "\1F3E0"; margin-right: 4px; }

/* Card de imovel dentro do chat */
.chat-card {
  display: flex; gap: 10px; align-items: stretch; margin: 8px 0 2px; padding: 8px;
  background: #fff; border: 1px solid #e2e9f3; border-radius: 12px; text-decoration: none;
  color: var(--text); box-shadow: 0 4px 14px rgba(16, 34, 63, .08); transition: box-shadow .15s ease, transform .15s ease;
}
.chat-card:hover { box-shadow: 0 8px 22px rgba(16, 34, 63, .16); transform: translateY(-1px); }
.chat-card-foto { flex: none; width: 84px; border-radius: 8px; background: #eef2f8 center/cover no-repeat; display: grid; place-items: center; font-size: 26px; }
.chat-card-foto-vazia { color: #9fb0c8; }
.chat-card-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 2px 0; }
.chat-card-info strong { font-size: 13.5px; line-height: 1.25; }
.chat-card-info small { font-size: 12px; color: var(--text-soft); }
.chat-card-preco { margin-top: auto; font-weight: 800; color: var(--ink); font-size: 15px; }
.chat-card-preco small { font-weight: 600; color: var(--text-soft); font-size: 11px; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f6f8fc; }
.chat-msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.chat-msg-assistente { align-self: flex-start; background: #fff; border: 1px solid #e6ecf5; border-bottom-left-radius: 4px; color: var(--text); }
.chat-msg-cliente { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { display: flex; gap: 4px; align-items: center; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9fb0c8; animation: chatBlink 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatBlink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e6ecf5; background: #fff; }
.chat-form input {
  flex: 1; border: 1px solid #d7e0ee; border-radius: 12px; padding: 10px 12px; font: inherit; color: var(--text);
}
.chat-form input:focus { outline: none; border-color: var(--brand); }
.chat-form button {
  border: none; background: var(--brand); color: #fff; width: 42px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center;
}
.chat-form button:hover { filter: brightness(1.05); }

@media (max-width: 520px) {
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-panel { width: calc(100vw - 28px); height: calc(100vh - 90px); }
}

.lgpd-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7a8c;
}
.lgpd-note a {
  color: inherit;
  text-decoration: underline;
}
