:root {
  --bg: #0a0a0a;
  --gold: #f5b800;
  --gold-dim: #c49200;
  --text: #ffffff;
  --muted: #b8b0a0;
  --green: #2d6b3a;
  --green-wa: #25d366;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: #2a2a2a;
  --earth: #c4a574;
  --radius: 12px;
  --header-h: 72px;
  --max-w: 1200px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title--center,
.section-sub--center {
  text-align: center;
  margin-inline: auto;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 640px;
}

.gold {
  color: var(--gold);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.25s ease;
}

.header.scrolled {
  --header-h: 60px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 80px; /* Aumentado de 64px para 80px */
  width: auto;
  object-fit: contain;
  max-width: 320px;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-gold:hover {
  background: #ffd033;
  box-shadow: 0 8px 24px rgba(245, 184, 0, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-wa {
  background: var(--green-wa);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1.0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(45, 107, 58, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content--center {
  text-align: center;
}

.hero-content--center .hero-tagline,
.hero-content--center h1,
.hero-content--center .hero-sub {
  margin-inline: auto;
}

.hero-content--center .hero-cta {
  justify-content: center;
}

.hero-tagline {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
  max-width: 720px;
  margin-bottom: 1rem;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Trust bar */
.trust-bar {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: 3rem 0; /* Aumentado de 1.5rem para 3rem */
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Aumentado min-width de 160px para 200px */
  gap: 2rem; /* Aumentado de 1.5rem para 2rem */
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 2.25rem; /* Aumentado de 1.5rem para 2.25rem para mais impacto */
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.trust-item {
  min-height: 120px; /* Aumentado de 84px para 120px */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-item span {
  font-size: 1rem; /* Aumentado de 0.85rem para 1rem */
  color: var(--muted);
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .trust-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.pillar-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Infra */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.infra-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.infra-item::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Video */
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Search */
.search-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.search-smart {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.search-smart input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.search-smart input:focus {
  outline: none;
  border-color: var(--gold);
}

.filters-toggle {
  display: none;
  width: 100%;
  margin-bottom: 1rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  align-items: end;
}

.filter-group label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
}

.filter-group select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.search-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.result-count {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.result-count strong {
  color: var(--gold);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.lote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.5s ease both;
}

.lote-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card-carousel {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.lote-card--sold .card-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.58);
  z-index: 1;
}

.card-sold-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--gold);
  color: #000;
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

.carousel-btn.hidden {
  display: none;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-status {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.card-status--low {
  color: #0a0a0a;
  background: var(--gold);
  align-self: flex-start;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(245, 184, 0, 0.42);
  border-radius: 999px;
  color: #f7d36a;
  background: rgba(245, 184, 0, 0.08);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.card-loc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.card-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.price-box {
  background: var(--bg);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}

.price-box small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

.price-box strong {
  color: var(--gold);
  font-size: 1rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.card-body .btn {
  margin-top: auto;
  width: 100%;
}

.sold-more {
  margin-top: 1.5rem;
  text-align: center;
}

/* Destaques + vídeo */
.destaque-video-block {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.destaque-video-titulo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.destaque-video-sub {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.video-wrap--hero {
  aspect-ratio: 9 / 16;
  width: min(100%, 390px);
  margin-inline: auto;
  border: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.destaques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.destaques-grid .lote-card {
  border-color: var(--gold-dim);
}

.destaques-grid .lote-card:first-child {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(245, 184, 0, 0.25);
}

.card-badge-principal {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  box-shadow: 0 8px 22px rgba(245, 184, 0, 0.22);
}

/* Amortização */
.amort-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.amort-image img {
  border-radius: var(--radius);
  width: 100%;
}

.amort-bullets {
  list-style: none;
}

.amort-bullets li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.amort-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Depoimentos */
.depo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.depo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.depo-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.depo-card p {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.depo-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  margin-top: auto;
}

.depo-card cite span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}

/* FAQ */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.25rem;
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  display: block;
}

/* Contato */
.contato-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;              /* ocupa a largura total da seção */
  max-width: 1080px;
  margin-inline: auto;
  box-sizing: border-box;
}

.contato-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: flex-start;
}

.contato-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.contato-row:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  background: var(--surface-2);
}

.contato-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contato-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contato-row--wa .contato-icon-wrap {
  background: var(--green-wa);
  color: #fff;
}

.contato-row--ig .contato-icon-wrap {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.contato-row--email .contato-icon-wrap {
  background: var(--bg);
  color: var(--gold);
  border: 1px solid var(--border);
}

.contato-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.contato-row:hover .contato-value {
  color: var(--gold);
}

.map-widget {
  width: 100%;
  min-width: 0;             /* impede que o iframe vaze pra fora do 1fr */
}

.map-frame {
  height: 210px;        /* era 229px, reduzido ~19px para compensar a segunda linha do endereço */
  min-height: 210px;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.office-map {
  width: 100%;
  height: 100%;
}

.map-address {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: clamp(0.76rem, 1.05vw, 0.88rem);
  line-height: 1.35;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer .creci {
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s;
  animation: pulseWa 2.5s ease infinite;
}

.wa-float:hover {
  transform: scale(1.08);
}

@keyframes pulseWa {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.8);
  }
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  grid-column: 1 / -1;
}

.hidden {
  display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .header-cta-desktop {
    display: none;
  }

  .filters-toggle {
    display: block;
  }

  .filters-grid {
    display: none;
  }

  .filters-grid.open {
    display: grid;
  }

  .amort-section {
    grid-template-columns: 1fr;
  }

  .contato-content {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .map-frame {
    height: 300px;
    min-height: 300px;
  }

  .map-address {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .contato-row {
    padding: 0.9rem 1rem;
  }

  .contato-value {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .result-count {
    margin-left: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }

  .search-actions {
    justify-content: center !important;
  }
}

@media (min-width: 769px) {
  .header-cta-mobile {
    display: none;
  }
}
