:root {
  --verde: #186133;
  --verde-escuro: #0f3d20;
  --verde-claro: #1e7a3e;
  --verde-soft: rgba(24,97,51,0.08);
  --amarelo: #fcad0a;
  --amarelo-soft: rgba(252,173,10,0.12);
  --amarelo-dark: #d48f00;
  --bg: #ffffff;
  --bg-2: #f5f7f5;
  --bg-3: #eef1ee;
  --bg-dark-alt: #071209;
  --text-1: #111a13;
  --text-2: #3d5040;
  --text-3: #6b806e;
  --text-inv: #ffffff;
  --text-inv-muted: rgba(255,255,255,0.75);
  --border: #dde5de;
  --border-subtle: #eaf0ea;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 8px 32px rgba(24,97,51,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --header-bg-transparent: transparent;
  --header-bg-solid: rgba(255,255,255,0.97);
  --header-border: rgba(0,0,0,0.07);
  --logo-pos: none;
  --logo-neg: block;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 24px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --bg: #0c120d;
  --bg-2: #111811;
  --bg-3: #172019;
  --text-1: #ffffff;
  --text-2: #e8eee8;
  --text-3: #c4ccc5;
  --border: #1e2d1f;
  --border-subtle: #192319;
  --card-bg: #131f14;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --card-shadow-hover: 0 8px 32px rgba(24,97,51,0.25), 0 2px 8px rgba(0,0,0,0.3);
  --header-bg-solid: rgba(12,18,13,0.97);
  --header-border: rgba(255,255,255,0.06);
  --logo-pos: none;
  --logo-neg: block;
  --verde-soft: rgba(252,173,10,0.12);
}

[data-theme="dark"] .section-title em,
[data-theme="dark"] .hero__title em,
[data-theme="dark"] .stats-card__value,
[data-theme="dark"] .chip.is-active,
[data-theme="dark"] .chip:hover,
[data-theme="dark"] .unit-card__city,
[data-theme="dark"] .modal-capacity__value,
[data-theme="dark"] .modal__close:hover {
  color: var(--amarelo);
}

[data-theme="dark"] .btn--outline {
  color: var(--amarelo);
  border-color: var(--amarelo);
}

[data-theme="dark"] .btn--outline:hover {
  background: var(--amarelo);
  color: var(--bg-dark-alt);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; font-size: 16px; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .45s ease, color .35s ease;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-1);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.section-title--light { color: var(--text-inv); }
.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 740px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--verde); color: #fff; border-color: var(--verde); }
.btn--primary:hover { background: var(--verde-claro); border-color: var(--verde-claro); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(24,97,51,.3); }
.btn--secondary { background: var(--amarelo); color: var(--verde-escuro); border-color: var(--amarelo); }
.btn--secondary:hover { background: var(--amarelo-dark); border-color: var(--amarelo-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(252,173,10,.35); }
.btn--outline { background: transparent; color: var(--verde); border-color: var(--verde); }
.btn--outline:hover { background: var(--verde); color: #fff; transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: .74rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.4,0,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg-transparent);
  transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.header.is-scrolled {
  background: var(--header-bg-solid);
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--header-border);
}
.header.is-scrolled .header__top { border-bottom-color: var(--border-subtle); }
.header.is-scrolled .header__top a,
.header.is-scrolled .header__top-right a { color: var(--text-2); }
.header.is-scrolled .header__nav > a,
.header.is-scrolled .header__nav > .nav-dropdown > .nav-dropdown__trigger { color: var(--text-2); }
.header.is-scrolled .header__nav > a:hover,
.header.is-scrolled .header__nav > .nav-dropdown > .nav-dropdown__trigger:hover,
.header.is-scrolled .header__top-pill--outline:hover,
.header.is-scrolled .theme-toggle:hover {
  color: var(--verde);
}
.header.is-scrolled .logo-neg { display: none; }
.header.is-scrolled .logo-pos { display: block; }
[data-theme="dark"] .header.is-scrolled .logo-neg { display: block; }
[data-theme="dark"] .header.is-scrolled .logo-pos { display: none; }

.header__top {
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: border-color .4s ease;
}
.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 10px 0;
}
.header__logo img { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
.logo-pos { display: var(--logo-pos); }
.logo-neg { display: var(--logo-neg); }
.header__top-right { display: flex; align-items: center; gap: 6px; }
.header__top-pill {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all .3s ease;
}
.header__top-pill--outline { color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.25); }
.header__top-pill--outline:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.header.is-scrolled .header__top-pill--outline { color: var(--verde); border-color: var(--verde); }
.header.is-scrolled .header__top-pill--outline:hover { background: var(--verde); color: #fff; }
.header__top-pill--solid { background: var(--amarelo); color: var(--verde-escuro); border: 1.5px solid var(--amarelo); }
.header__top-pill--solid:hover { background: var(--amarelo-dark); transform: translateY(-1px); }

.header__social { display: flex; align-items: center; gap: 4px; margin: 0 8px; }
.header__social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: rgba(255,255,255,.75);
  transition: all .3s ease;
}
.header__social a:hover { color: #fff; background: rgba(255,255,255,.1); }
.header.is-scrolled .header__social a { color: var(--text-3); }
.header.is-scrolled .header__social a:hover { color: var(--verde); background: var(--verde-soft); }
.header__social svg { width: 16px; height: 16px; }

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  transition: all .3s ease;
  border: 1.5px solid rgba(255,255,255,.2);
}
.theme-toggle:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.header.is-scrolled .theme-toggle { color: var(--text-3); border-color: var(--border); }
.header.is-scrolled .theme-toggle:hover { border-color: var(--verde); background: var(--verde-soft); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.header__bottom { padding: 7px 0 0; }
.header__bottom-inner { display: flex; align-items: center; justify-content: center; height: 50px; gap: 4px; }
.header__nav { display: flex; align-items: center; gap: 2px; }
.header__nav > a,
.header__nav > .nav-dropdown > .nav-dropdown__trigger {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 5px;
  white-space: nowrap;
  color: rgba(255,255,255,.85);
  transition: all .3s ease;
}
.header__nav > a:hover,
.header__nav > .nav-dropdown > .nav-dropdown__trigger:hover { color: #fff; background: rgba(255,255,255,.1); box-shadow: 0 0 0 1.5px rgba(255,255,255,.45); }
.header__nav > a.is-current { background: rgba(255,255,255,.14); color: #fff; }
.header.is-scrolled .header__nav > a.is-current { background: var(--verde-soft); color: var(--verde); }
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dropdown__trigger svg { width: 12px; height: 12px; transition: transform .3s ease; }
.nav-dropdown:hover .nav-dropdown__trigger svg { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
  opacity: 0;
  visibility: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text-2);
  transition: all .25s ease;
}
.nav-dropdown__menu a:hover { background: var(--verde-soft); color: var(--verde); }

.header__hamburger {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  transition: all .3s ease;
}
.header.is-scrolled .header__hamburger { border-color: var(--border); color: var(--text-2); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.mobile-nav__brand img {
  height: 42px;
  width: auto;
  display: block;
}
.mobile-nav__close {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  color: var(--text-2);
}
.mobile-nav__links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.mobile-nav__links a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav__links a svg { width: 18px; height: 18px; color: var(--text-3); }
.mobile-nav__btns { display: flex; flex-direction: column; gap: 10px; }

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15,61,32,.95) 0%, rgba(15,61,32,.84) 36%, rgba(15,61,32,.46) 70%, rgba(15,61,32,.24) 100%),
    url("/site/assets/optimized/unidades-primavera-1200.webp") center/cover no-repeat;
}

@media (max-width: 768px) {
  .hero {
    background-image:
      linear-gradient(105deg, rgba(15,61,32,.95) 0%, rgba(15,61,32,.84) 36%, rgba(15,61,32,.46) 70%, rgba(15,61,32,.24) 100%),
      url("/site/assets/optimized/unidades-primavera-760.webp");
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(252,173,10,.18) 0%, transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, transparent 34%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 110px 0 120px;
}
.hero__grid {
  display: block;
  max-width: 820px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amarelo);
}
.hero__title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 800;
  max-width: 820px;
  margin-bottom: 20px;
}
.hero__title em { font-style: normal; color: var(--amarelo); }
.hero__summary {
  font-size: 1.03rem;
  max-width: 760px;
  color: rgba(255,255,255,.82);
}
.hero__panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.hero__panel-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.58);
  margin-bottom: 16px;
}
.hero__panel-list { display: grid; gap: 14px; }
.hero__panel-item {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero__panel-item:last-child { padding-bottom: 0; border-bottom: none; }
.hero__panel-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero__panel-value { font-size: .95rem; color: #fff; }

.controls {
  display: grid;
  gap: 18px;
  margin-bottom: 38px;
}
.controls__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 15px 18px 15px 48px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  border-radius: 16px;
  color: var(--text-1);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.search-box input:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(24,97,51,.1);
}
.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-3);
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--card-bg);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s ease;
}
.chip:hover,
.chip.is-active {
  background: var(--verde-soft);
  border-color: transparent;
  color: var(--verde);
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.unit-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.unit-card:hover {
  transform: translateY(-4px);
  border-color: var(--verde);
  box-shadow: var(--card-shadow-hover);
}
.unit-card__media {
  position: relative;
  height: 232px;
  overflow: hidden;
}
.unit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}
.unit-card:hover .unit-card__media img { transform: scale(1.06); }
.unit-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 18px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,18,9,.88) 100%);
  color: #fff;
}
.unit-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--amarelo);
  color: var(--verde-escuro);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
}
.unit-card__badge--matriz { background: #fff; }
.unit-card__city {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
}
.unit-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.unit-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 24px;
  flex: 1;
}
.unit-card__desc {
  color: var(--text-2);
  font-size: .88rem;
  min-height: 48px;
}
.unit-card__address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-2);
  font-size: .84rem;
  line-height: 1.6;
}
.unit-card__address svg {
  width: 16px;
  height: 16px;
  color: var(--verde);
  margin-top: 2px;
  flex-shrink: 0;
}
.unit-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.unit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  font-size: .72rem;
  color: var(--text-2);
  font-weight: 700;
}
.unit-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.empty-state {
  display: none;
  text-align: center;
  padding: 56px 24px;
  border: 1.5px dashed var(--border);
  border-radius: 22px;
  color: var(--text-2);
  background: color-mix(in srgb, var(--card-bg) 92%, var(--bg-2));
}

.footer { background: var(--verde-escuro); color: rgba(255,255,255,.75); }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { margin-bottom: 20px; }
.footer__logo img { height: 80px; width: auto; filter: brightness(0) invert(1); }
.footer__tagline { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 24px; max-width: 280px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all .3s ease;
}
.footer__social a:hover { background: var(--amarelo); border-color: var(--amarelo); color: var(--verde-escuro); }
.footer__social svg { width: 15px; height: 15px; }
.footer__col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color .3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__links a::before {
  content: "";
  width: 6px;
  height: 1px;
  background: var(--amarelo);
  border-radius: 1px;
  flex-shrink: 0;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { font-size: .78rem; color: rgba(255,255,255,.4); transition: color .3s ease; }
.footer__bottom-links a:hover { color: rgba(255,255,255,.8); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,18,9,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
  z-index: 3;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__content {
  display: grid;
  grid-template-columns: 360px 1fr;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.modal__media {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
}
.modal__media img {
  width: 100%;
  height: 100%;
  min-height: unset;
  object-fit: cover;
  object-position: center;
}
.modal__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--amarelo);
  color: var(--verde-escuro);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.modal__body {
  padding: 34px 34px 30px;
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal__eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amarelo-dark);
}
.modal__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 800;
}
.modal__desc {
  color: var(--text-2);
  font-size: .98rem;
}
.modal__stack {
  display: grid;
  gap: 14px;
}
.modal-info {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card-bg) 92%, var(--bg-2));
}
.modal-info__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.modal-info__value {
  color: var(--text-1);
  font-size: .95rem;
  line-height: 1.65;
}
.modal-info__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-capacity-grid {
  display: grid;
  gap: 12px;
}
.modal-capacity {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
}
.modal-capacity__title {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-3);
}
.modal-capacity__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--verde);
  text-align: right;
}
.modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
}

body.modal-open { overflow: hidden; }

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

@media (max-width: 1120px) {
  .hero__grid { grid-template-columns: 1fr; }
  .modal__content { grid-template-columns: 1fr; }
  .modal__media { height: 240px; }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header__top-pill { display: none; }
  .header__social { display: none; }
  .header__bottom { display: none; }
  .hero { min-height: auto; }
  .hero__inner { padding: 128px 24px 96px; }
  .hero__grid { max-width: 100%; }
  .hero__title,
  .hero__summary { max-width: 100%; }
  .units-grid { grid-template-columns: 1fr; }
  .controls__top { align-items: stretch; }
  .unit-card__actions { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .modal { padding: 14px; }
  .modal__body { padding: 26px 20px 22px; }
  .modal__actions { flex-direction: column; }
}