﻿/* =========================
   RESET / BASE
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Exo", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.auth-modal-open {
  overflow: hidden;
}

body.service-modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-family: "Exo", sans-serif;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--text-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(15, 23, 36, 0.85);
  outline-offset: 2px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-spacing {
  padding: 7rem 0;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 120;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(19, 22, 27, 0.16);
  box-shadow: var(--shadow-soft);
  transform: translateY(-150%);
  transition: transform 200ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================
   VARIAVEIS
========================= */
:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-muted: #ece9e1;
  --text: #253022;
  --text-soft: #61705d;
  --line: rgba(19, 22, 27, 0.1);
  --brand: #3f4f2f;
  --brand-soft: #8e9c90;
  --accent: #b08a4f;
  --shadow-soft: 0 10px 30px rgba(15, 23, 36, 0.08);
  --shadow-card: 0 20px 50px rgba(15, 23, 36, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1200px, 92vw);
}

/* =========================
   HEADER
========================= */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  transition: background 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.header-content {
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.8rem;
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Exo", sans-serif;
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: none;
}

.brand-has-logo {
  font-size: 0;
  letter-spacing: 0;
  background: transparent !important;
}

.brand-logo-white {
  width: 178px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  mix-blend-mode: normal;
}

.logo img {
  background: transparent !important;
  mix-blend-mode: normal;
}

.navbar-logo {
  background: transparent !important;
}

.site-header .brand,
.site-header .main-nav a {
  color: #fff;
}

.main-nav {
  justify-self: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  position: relative;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: color 200ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 220ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-cta,
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

.header-cta {
  padding: 0.75rem 1.1rem;
  background: rgba(63, 79, 47, 0.5);
  color: #fff;
  border-color: rgba(63, 79, 47, 0.4);
  font-weight: 500;
}

.site-header.is-scrolled .header-cta {
  color: #fff;
  border-color: rgba(63, 79, 47, 0.48);
  background: rgba(63, 79, 47, 0.5);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(63, 79, 47, 0.24);
  background: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.33rem;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.menu-toggle span {
  width: 16px;
  height: 1.6px;
  border-radius: 999px;
  background: var(--brand);
}

.menu-toggle:hover {
  transform: translateY(-2px);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(7, 10, 16, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
}

.auth-modal.is-open {
  display: block;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 25, 0.58);
}

.auth-modal-dialog {
  position: relative;
  width: min(440px, calc(100% - 2rem));
  margin: 10vh auto 0;
  border-radius: 16px;
  border: 1px solid rgba(63, 79, 47, 0.24);
  background: #fff;
  box-shadow: 0 24px 48px rgba(13, 23, 42, 0.24);
  padding: 1.1rem 1.1rem 1rem;
}

.auth-modal-close {
  position: absolute;
  right: 0.55rem;
  top: 0.5rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eff3f9;
  color: #2d3f60;
  font-size: 1rem;
  cursor: pointer;
}

.auth-modal-dialog h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #1d2f4f;
}

.auth-modal-dialog p {
  margin-top: 0.24rem;
  font-size: 0.86rem;
  color: #66738b;
}

.auth-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.auth-mode-btn {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(63, 79, 47, 0.25);
  background: #fff;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-mode-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.auth-form {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.52rem;
}

.auth-form label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.72rem;
  color: #61708a;
}

.auth-form label[hidden] {
  display: none;
}

.auth-form input {
  min-height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(63, 79, 47, 0.24);
  background: #fff;
  padding: 0.45rem 0.62rem;
  font: inherit;
}

.auth-modal-btn {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 600;
}

.auth-modal-btn.is-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.auth-modal-btn.is-secondary {
  background: #fff;
  border-color: rgba(63, 79, 47, 0.34);
  color: var(--brand);
}

.auth-modal-dialog small {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  color: #75839a;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 135;
  display: none;
}

.service-modal.is-open {
  display: block;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 25, 0.58);
}

.service-modal-dialog {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  max-height: min(760px, calc(100dvh - 2rem));
  overflow-y: auto;
  margin: min(12vh, 5rem) auto 0;
  border: 1px solid rgba(63, 79, 47, 0.2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(13, 23, 42, 0.28);
  padding: 1.45rem;
  color: var(--text);
}

.service-modal-close {
  position: absolute;
  top: 0.78rem;
  right: 0.78rem;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(63, 79, 47, 0.16);
  border-radius: 999px;
  background: #f4f1ea;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.service-modal-eyebrow {
  margin-right: 2.6rem;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-modal-dialog h2 {
  margin-right: 2.6rem;
  color: #101621;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.service-modal-description {
  margin-top: 0.85rem;
  color: #4c5949;
  font-size: 0.98rem;
}

.service-modal-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.68rem;
}

.service-modal-list li {
  position: relative;
  padding-left: 1.3rem;
  color: #263323;
  font-size: 0.92rem;
}

.service-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}

.service-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 1.35rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(63, 79, 47, 0.24);
  border-radius: 999px;
  color: var(--brand);
  font-weight: 600;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(390px, 88vw);
  height: 100dvh;
  padding: 1.6rem;
  background: linear-gradient(168deg, #2f3b25, #3f4f2f);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(100%);
  transition: transform 320ms ease;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu .brand,
.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  transition: background 180ms ease, transform 180ms ease;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.mobile-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.mobile-cta {
  margin-top: auto;
  display: none;
  justify-content: center;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 500px;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 84px;
  padding-bottom: 0;
  color: #12284f;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 900ms ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(47, 59, 37, 0.52) 0%, rgba(47, 59, 37, 0.28) 38%, rgba(47, 59, 37, 0.18) 100%),
    linear-gradient(90deg, rgba(47, 59, 37, 0.66), rgba(63, 79, 47, 0.34) 58%, rgba(63, 79, 47, 0.12)),
    linear-gradient(0deg, rgba(47, 59, 37, 0.42), rgba(47, 59, 37, 0.06));
}

.hero-content {
  position: static;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -8px;
  margin-bottom: -8px;
  height: 382px;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroContentFade 900ms ease 180ms forwards;
  display: grid;
  align-content: start;
}

.hero h1 {
  text-align: left;
  font-size: 48px;
  border-radius: 102px;
  border-top-left-radius: 102px;
  border-top-right-radius: 102px;
  border-bottom-right-radius: 102px;
  height: 110px;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
  padding-left: 0;
  position: relative;
  z-index: 3;
  margin-top: 0;
  margin-bottom: 0.8rem;
  max-width: 18ch;
  text-wrap: balance;
  color: #fff;
  line-height: 1.04;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-description {
  font-size: clamp(0.92rem, 1.2vw, 1.04rem);
  max-width: 360px;
  height: 82px;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  top: 0;
  text-wrap: pretty;
}

.hero-metrics {
  width: 100%;
  margin-top: 2rem;
}

/* =========================
   BUSCA / CONTATO RAPIDO
========================= */
.hero-search-layout {
  margin-top: -121px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  max-width: 920px;
  transform: translateY(50%);
}

.btn {
  padding: 0.86rem 1.6rem;
  font-weight: 500;
}

.btn-dark {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 36, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(19, 22, 27, 0.18);
}

.btn-outline:hover {
  border-color: rgba(19, 22, 27, 0.34);
  box-shadow: 0 10px 24px rgba(15, 23, 36, 0.12);
}

.floating-search {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(19, 22, 27, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 36, 0.12);
  padding: 0.95rem;
}

#premiumSearchBox {
  padding-top: 16px;
  padding-bottom: 16px;
  height: 244px;
}

.search-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f6f8fb;
  border: 1px solid rgba(16, 22, 32, 0.08);
  border-radius: 999px;
  padding: 0.26rem;
}

.search-tab {
  border: 0;
  background: transparent;
  color: #5a616c;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.search-tab.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(63, 79, 47, 0.28);
}

.floating-search-form {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.95rem;
}

.floating-main-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.floating-main-field input {
  height: 50px;
  border-radius: 10px;
  font-size: 0.9rem;
  background: #fff;
}

.floating-main-field input.is-invalid {
  border-color: rgba(178, 34, 34, 0.45);
  box-shadow: 0 0 0 4px rgba(178, 34, 34, 0.12);
}

.search-feedback {
  min-height: 1rem;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  color: #b22222;
}

.floating-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.field-group {
  display: grid;
  gap: 0.55rem;
}

.floating-filters .field-group {
  gap: 0.45rem;
}

.field-group label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
}

.floating-filters .field-group label {
  color: #5a616c;
  font-size: 0.6rem;
}

input,
select {
  width: 100%;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--text);
  padding: 0.62rem 0.76rem;
  font-size: 0.78rem;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(15, 23, 36, 0.35);
  box-shadow: 0 0 0 4px rgba(15, 23, 36, 0.08);
  background: #fff;
}

.floating-filters .btn-dark {
  border-radius: 10px;
  border: 1px solid transparent;
  min-height: 44px;
  align-self: end;
}

.floating-filters .btn-dark:hover {
  box-shadow: 0 16px 34px rgba(15, 23, 36, 0.26);
}

.quick-contact,
.property-card,
.metric-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.quick-contact {
  position: relative;
  top: 0;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  color: #162e58;
  border-color: rgba(19, 22, 27, 0.08);
}

.quick-contact h3 {
  margin-bottom: 0.3rem;
}

.quick-contact p {
  color: #5e6774;
  font-size: 0.76rem;
}

.quick-actions {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 42px;
  padding: 0.48rem 0.58rem;
  border-radius: 10px;
  border: 1px solid rgba(19, 22, 27, 0.08);
  background: #fff;
  color: #2c3750;
  font-size: 0.78rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.quick-action:hover {
  transform: translateY(-1px);
  background: #f4f1ea;
  border-color: rgba(63, 79, 47, 0.26);
}

.icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(63, 79, 47, 0.3);
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* =========================
   METRICAS
========================= */
.metrics {
  padding-top: 0.8rem;
  padding-bottom: 1.2rem;
  margin-top: 0;
  position: relative;
  z-index: 4;
}

.metrics-strip {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.metric-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 22, 27, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 36, 0.08);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  text-align: center;
}

.metric-item + .metric-item {
  border-left: 0;
}

.metric-item h3 {
  font-family: "Exo", sans-serif;
  letter-spacing: -0.03em;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #101621;
}

.service-metric {
  min-height: 116px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 79, 47, 0.2);
  box-shadow: 0 12px 28px rgba(15, 23, 36, 0.12);
}

.service-metric h3 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  line-height: 1.24;
  letter-spacing: 0;
}

.metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63, 79, 47, 0.22);
  background: rgba(63, 79, 47, 0.08);
  color: var(--brand);
}

.metric-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-item p {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #616874;
}

/* =========================
   PARCEIROS
========================= */
.partners {
  padding-top: 0.3rem;
  padding-bottom: 1.4rem;
}

.partners h2,
.section-header h2 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  max-width: 900px;
}

.partners-band {
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0;
  display: grid;
  gap: 0;
  background: transparent;
}

.partners-label {
  font-family: "Exo", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.69rem;
  color: #727985;
  text-align: center;
  display: none;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.partners-logos span {
  min-height: 32px;
  border: 0;
  border-radius: 0;
  color: #3e4552;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* =========================
   IMOVEIS
========================= */
.featured {
  padding-top: 1.2rem;
  padding-bottom: 2.2rem;
  background: #f4f1ea;
}

.section-header {
  margin-bottom: 1.6rem;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.featured-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.featured-arrows {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(63, 79, 47, 0.24);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.carousel-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(63, 79, 47, 0.16);
}

.carousel-arrow:active {
  transform: translateY(0);
}

.carousel-arrow.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.carousel-arrow.is-disabled:hover {
  transform: none;
}

.featured-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 285px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 0.2rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.featured-carousel::-webkit-scrollbar {
  display: none;
}

.featured-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(21, 34, 32, 0.72);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(63, 79, 47, 0.12);
  text-align: center;
}

.property-card {
  position: relative;
  overflow: hidden;
  min-height: 345px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(63, 79, 47, 0.2);
}

.favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  z-index: 2;
  border: 1px solid rgba(244, 241, 234, 0.55);
  border-radius: 999px;
  background: rgba(63, 79, 47, 0.5);
  color: #f4f1ea;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.favorite-btn:hover {
  background: rgba(63, 79, 47, 0.72);
  transform: scale(1.08);
}

.favorite-btn.is-active {
  background: rgba(176, 138, 79, 0.92);
  border-color: rgba(244, 241, 234, 0.7);
  box-shadow: 0 8px 20px rgba(176, 138, 79, 0.38);
}

.favorite-btn.pulse {
  animation: favoritePulse 320ms ease;
}

.property-card.is-favorited-flash {
  box-shadow: 0 0 0 2px rgba(176, 138, 79, 0.35), 0 22px 50px rgba(63, 79, 47, 0.2);
}

.property-image {
  height: 185px;
  background-size: cover;
  background-position: center;
  background-color: #8e9c90;
  opacity: 0;
  transition: transform 320ms ease;
  will-change: transform, opacity;
}

.property-image.is-loaded {
  opacity: 1;
  transition: opacity 260ms ease, transform 320ms ease;
}

.property-card:hover .property-image {
  transform: scale(1.04);
}

.image-malibu {
  background-image: url("https://images.unsplash.com/photo-1613977257365-aaae5a9817ff?auto=format&fit=crop&w=1200&q=80");
}

.image-itaim {
  background-image: url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1200&q=80");
}

.image-fasano {
  background-image: url("https://images.unsplash.com/photo-1616594039964-3f7c50c3f7f5?auto=format&fit=crop&w=1200&q=80");
}

.image-trancoso {
  background-image: url("https://images.unsplash.com/photo-1605276374104-dee2a0ed3cd6?auto=format&fit=crop&w=1200&q=80");
}

.property-body {
  padding: 0.75rem 0.82rem;
  display: grid;
  gap: 0.22rem;
}

.navy-panel {
  background: linear-gradient(160deg, #3f4f2f, #2f3b25);
  color: #fff;
}

.property-body h3 {
  font-size: 1.04rem;
}

.property-location {
  color: rgba(244, 241, 234, 0.84);
  font-size: 0.64rem;
}

.property-body strong {
  font-size: 0.96rem;
}

.property-meta {
  margin-top: 0.28rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.property-meta span {
  border: 0;
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.86);
  font-size: 0.58rem;
  letter-spacing: 0;
  padding: 0.1rem 0;
}

@keyframes favoritePulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================
   BENEFICIOS
========================= */
.about-section {
  background: #fff;
  padding-top: 2.8rem;
  padding-bottom: 1.1rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.about-copy h2 {
  max-width: 780px;
  color: #101621;
  font-size: clamp(1.85rem, 3.4vw, 3.05rem);
  line-height: 1.06;
}

.about-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 0.8rem;
  color: #4c5949;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
}

.about-signature {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 0.75rem;
  border-left: 1px solid rgba(63, 79, 47, 0.16);
  padding-left: 1.35rem;
}

.about-signature span,
.about-pillars span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-signature strong {
  color: var(--brand);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.about-signature p {
  color: #5d6859;
  font-size: 0.92rem;
}

.about-pillars {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(19, 22, 27, 0.08);
  border-bottom: 1px solid rgba(19, 22, 27, 0.08);
}

.about-pillars article {
  min-height: 146px;
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 1rem;
  border-right: 1px solid rgba(19, 22, 27, 0.08);
}

.about-pillars article:last-child {
  border-right: 0;
}

.about-pillars p {
  color: #31402d;
  font-size: 0.96rem;
}

.about-values {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1fr;
  gap: 1.4rem;
  align-items: center;
}

.about-values h3 {
  max-width: 520px;
  color: #101621;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.about-values ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.about-values li {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(63, 79, 47, 0.12);
  border-radius: 8px;
  background: #f4f1ea;
  padding: 0.68rem 0.82rem;
  color: #2c3828;
  font-weight: 600;
}

.about-closing {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(19, 22, 27, 0.08);
  padding-top: 1.25rem;
}

.about-closing p {
  color: var(--brand);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
}

.benefits {
  background: #fff;
  padding-top: 1rem;
  padding-bottom: 1.2rem;
}

.about-body .benefits,
.about-body .benefits-band {
  display: none;
}

.benefits-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(19, 22, 27, 0.08);
  border-bottom: 1px solid rgba(19, 22, 27, 0.08);
}

.benefit-item {
  min-height: 104px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(19, 22, 27, 0.08);
  border-radius: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: start;
  text-align: left;
  gap: 0.62rem;
  padding: 0.78rem 0.75rem;
}

.benefit-item:last-child {
  border-right: 0;
}

.benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(63, 79, 47, 0.22);
  background: rgba(63, 79, 47, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.benefit-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item h3 {
  font-family: "Exo", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.32;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #2f3b25;
  color: rgba(255, 255, 255, 0.9);
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand {
  color: #fff;
}

.footer-grid h4 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.footer-grid > div {
  display: grid;
  gap: 0.45rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
}

/* Melhora render inicial sem mudar visual */
main > section:not(.hero),
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* =========================
   UTILITARIOS / ANIMACOES
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroCinematicMove {
  0% {
    transform: scale(1.06) translate3d(-0.6%, 0%, 0);
  }
  100% {
    transform: scale(1.11) translate3d(0.9%, -0.6%, 0);
  }
}

@keyframes heroContentFade {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .mobile-cta {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .featured-carousel {
    grid-auto-columns: minmax(280px, 330px);
  }

  .partners-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-filters {
    grid-template-columns: 1fr 1fr;
  }

  .floating-filters .btn-dark {
    grid-column: span 2;
  }

  .hero-search-layout {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    max-width: 100%;
  }

  .benefits-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-layout,
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-signature {
    border-left: 0;
    border-top: 1px solid rgba(63, 79, 47, 0.16);
    padding-top: 1.2rem;
    padding-left: 0;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-pillars article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(19, 22, 27, 0.08);
  }

  .about-pillars article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .section-spacing {
    padding: 4.4rem 0;
  }

  .header-content {
    height: 80px;
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    width: min(420px, 92vw);
    padding: 1.35rem 1.1rem 1.2rem;
    gap: 1.35rem;
  }

  .mobile-menu-header {
    padding-bottom: 0.3rem;
  }

  .mobile-nav-list {
    gap: 0.45rem;
  }

  .mobile-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.6rem;
  }

  .mobile-close {
    width: 42px;
    height: 42px;
  }

  .service-modal-dialog {
    width: min(100% - 1.2rem, 520px);
    max-height: calc(100dvh - 1.2rem);
    margin-top: 0.6rem;
    padding: 1.2rem;
    border-radius: 16px;
  }

  .service-modal-dialog h2 {
    font-size: 1.42rem;
  }

  .hero {
    height: auto;
    min-height: 440px;
    align-items: flex-end;
    padding-top: 7.4rem;
    padding-bottom: 1.4rem;
    overflow: hidden;
  }

  .hero::before {
    animation-duration: 24s;
  }

  .hero-content {
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    gap: 0.75rem;
  }

  .hero h1 {
    height: auto;
    margin-bottom: 0;
    max-width: 100%;
    font-size: clamp(1.62rem, 7.4vw, 2.1rem);
    line-height: 1.12;
    text-wrap: pretty;
  }

  .hero-description {
    height: auto;
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .hero-metrics {
    margin-top: 0.35rem;
    overflow: hidden;
  }

  .hero .metrics-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 72%);
    grid-template-columns: none;
    gap: 0.7rem;
    overflow-x: auto;
    padding: 0.15rem 0.15rem 0.55rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero .metrics-strip::-webkit-scrollbar {
    display: none;
  }

  .hero .service-metric {
    min-height: 104px;
    padding: 0.9rem 0.75rem;
    scroll-snap-align: start;
  }

  .hero .service-metric h3 {
    font-size: clamp(0.82rem, 3.8vw, 1rem);
    line-height: 1.22;
    letter-spacing: 0;
  }

  .floating-search {
    margin-top: 1.15rem;
    border-radius: 12px;
    padding: 0.76rem;
  }

  .hero-search-layout {
    margin-top: 0.95rem;
    gap: 0.65rem;
    max-width: 100%;
    transform: translateY(34%);
  }

  .search-tabs {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .search-tabs::-webkit-scrollbar {
    display: none;
  }

  .search-tab {
    white-space: nowrap;
    min-height: 34px;
    padding: 0.46rem 0.72rem;
  }

  .floating-main-field input {
    height: 46px;
    padding-inline: 0.9rem;
  }

  .floating-filters {
    grid-template-columns: 1fr;
    gap: 0.68rem;
  }

  .floating-filters select {
    min-height: 44px;
  }

  .floating-filters .btn-dark {
    grid-column: auto;
    min-height: 44px;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .about-section {
    padding-top: 2.35rem;
  }

  .about-values ul {
    grid-template-columns: 1fr;
  }

  .featured-actions .btn-outline {
    margin-left: auto;
  }

  .featured-carousel {
    grid-auto-columns: 84%;
    gap: 0.85rem;
    scroll-padding-inline: 0.4rem;
  }

  .property-card {
    min-height: 310px;
  }

  .property-image {
    height: 155px;
  }

  .property-body {
    padding: 0.72rem 0.78rem;
    gap: 0.24rem;
  }

  .property-body h3 {
    font-size: 0.94rem;
  }

  .property-meta {
    gap: 0.34rem;
  }

  .metrics-strip {
    grid-template-columns: 1fr 1fr;
  }

  .metrics {
    margin-top: 3.6rem;
  }

  .metric-item:nth-child(3),
  .metric-item:nth-child(4) {
    border-top: 1px solid rgba(19, 22, 27, 0.12);
  }

  .metric-item:nth-child(3) {
    border-left: 0;
  }

  .partners-logos {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-band {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer {
    padding-top: 3.8rem;
  }

  .footer-bottom {
    margin-top: 1.6rem;
  }

  .footer-grid h4 {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 520px) {
  .header-content {
    height: 74px;
    gap: 0.55rem;
  }

  .brand {
    font-size: 1.4rem;
    letter-spacing: 0.01em;
  }

  .brand-logo-white {
    width: 150px;
    max-height: 38px;
  }

  .hero {
    min-height: 410px;
    padding-top: 6.8rem;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero h1 {
    height: auto;
    margin-bottom: 0;
    font-size: clamp(1.42rem, 7.2vw, 1.82rem);
  }

  .hero-description {
    height: auto;
    font-size: 0.78rem;
    max-width: 40ch;
  }

  .floating-search {
    border-radius: 11px;
    padding: 0.68rem;
  }

  .hero-search-layout {
    transform: translateY(26%);
  }

  .search-tab {
    min-height: 32px;
    font-size: 0.72rem;
  }

  .floating-main-field input {
    height: 44px;
    font-size: 0.84rem;
  }

  .field-group label {
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }

  .featured-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .featured-actions .btn-outline {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .featured-carousel {
    grid-auto-columns: 92%;
    scroll-padding-inline: 0.3rem;
  }

  .property-card {
    min-height: 300px;
  }

  .property-image {
    height: 148px;
  }

  .property-meta span {
    font-size: 0.54rem;
    padding: 0.04rem 0;
  }

  .metrics-strip,
  .benefits-band,
  .partners-logos {
    grid-template-columns: 1fr;
  }

  .hero .metrics-strip {
    grid-auto-columns: minmax(205px, 78%);
    grid-template-columns: none;
  }

  .metrics {
    margin-top: 2.5rem;
  }

  .metric-item {
    padding: 1.35rem 0.9rem;
  }

  .metric-item h3 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .hero .service-metric h3 {
    font-size: clamp(0.82rem, 4vw, 0.98rem);
  }

  .partners-band {
    padding: 1rem 0;
  }

  .partners-logos span {
    min-height: 44px;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }

  .benefit-item {
    min-height: 64px;
    padding: 0.5rem 0.6rem;
  }

  .benefit-item h3 {
    font-size: 0.78rem;
  }

  .footer-grid {
    gap: 1.05rem;
  }

  .footer-bottom {
    padding-top: 1rem;
  }

  .metric-item + .metric-item {
    border-left: 0;
    border-top: 1px solid rgba(19, 22, 27, 0.12);
  }

  .metric-item:nth-child(3),
  .metric-item:nth-child(4) {
    border-top: 1px solid rgba(19, 22, 27, 0.12);
  }
}

@media (max-width: 390px) {
  .section-spacing {
    padding: 3.9rem 0;
  }

  .hero {
    min-height: 400px;
    padding-top: 6.4rem;
  }

  .hero h1 {
    font-size: clamp(1.32rem, 7.6vw, 1.64rem);
  }

  .hero-description {
    font-size: 0.74rem;
  }

  .featured-carousel {
    grid-auto-columns: 95%;
  }

  .property-card {
    min-height: 286px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::before,
  .hero-content,
  .fade-up {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }

  .featured-carousel {
    scroll-behavior: auto;
  }

  .property-image {
    will-change: auto;
    transition: none;
  }
}

