@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --wine: #6b2c28;
  --wine-deep: #451c1a;
  --terracotta: #9c4b3c;
  --cream: #f6f0e8;
  --cream-2: #efe6da;
  --paper: #fffcf8;
  --ink: #2c1d1a;
  --muted: #5c4c47;
  --gold: #b0894f;
  --line: #d9cbbe;
  --whatsapp: #128c4b;
  --shadow: 0 12px 40px rgba(44, 29, 26, 0.1);
  --radius: 16px;
  --header-h: 76px;
  --max: 1180px;
  --nativa-wine: #540e1c;
  --nativa-deep: #340812;
  --nativa-gold: #e8c26e;
  --nativa-gold-soft: #f4d696;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); }
button, input, select, textarea { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo img { height: 52px; width: auto; }
.header-cta { margin-left: auto; }
.nav {
  display: flex; gap: 22px; margin-left: auto; align-items: center;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav a:hover { color: var(--wine); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff !important; }
.btn-whatsapp:hover { background: #0e7a41; }
.btn-primary { background: var(--wine); color: #fff !important; }
.btn-primary:hover { background: var(--wine-deep); }
.btn-ghost {
  background: transparent; color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(255,248,238,.7);
}
.btn-ghost:hover { background: #fff; color: var(--nativa-wine) !important; }
.btn-ghost-ink {
  background: transparent; color: var(--wine) !important;
  box-shadow: inset 0 0 0 1.5px var(--wine);
}
.btn-ghost-ink:hover { background: var(--wine); color: #fff !important; }
.menu-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0;
}

/* Hero */
.hero {
  position: relative;
  background: var(--nativa-deep);
  color: #fff8ee;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(52, 8, 18, 0.92) 0%, rgba(52, 8, 18, 0.78) 36%, rgba(52, 8, 18, 0.28) 68%, rgba(52, 8, 18, 0.12) 100%),
    linear-gradient(180deg, rgba(52, 8, 18, 0.15) 0%, rgba(52, 8, 18, 0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 80px;
  width: 100%;
}
.hero-copy { max-width: 34rem; }
.hero .eyebrow { color: var(--nativa-gold); }
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 18px;
  color: #fff8ee;
}
.hero .lede {
  color: var(--nativa-gold-soft);
  font-size: 1.15rem;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Layout */
.section { padding: 88px 24px; }
.section-cream { background: var(--cream); }
.section-wine {
  background: var(--nativa-wine);
  color: var(--nativa-gold-soft);
}
.wrap { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin: 0 0 10px;
}
h1, h2, h3, .serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--wine-deep);
}
h3 { font-size: 1.55rem; margin: 0 0 10px; color: var(--wine-deep); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42em; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-wine h2 { color: #fff8ee; }
.section-wine .eyebrow { color: var(--nativa-gold); }
.section-wine .lede { color: var(--nativa-gold-soft); }

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.legend {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 8px;
  box-shadow: 0 6px 24px rgba(44, 29, 26, 0.05);
}
.legend h3 { font-size: 1.25rem; margin-bottom: 14px; }
.legend-item { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; }
.legend-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.legend-item strong { color: var(--ink); }

/* Badges */
.badge {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
}
.badge-novidade {
  background: linear-gradient(180deg, #f4d696 0%, #e8c26e 100%);
  color: var(--nativa-deep);
  box-shadow: 0 2px 8px rgba(52, 8, 18, 0.3);
}
.badge-lancamento {
  background: var(--nativa-gold);
  color: var(--nativa-deep);
}
.badge-oportunidade {
  background: var(--wine);
  color: #fff8ee;
}
.badge-investir {
  background: #f4e6c8;
  color: #6a4a16;
}
.badge-morar {
  background: var(--cream-2);
  color: var(--wine-deep);
  box-shadow: inset 0 0 0 1px var(--line);
}
.badge-entrega {
  background: var(--nativa-wine);
  color: var(--nativa-gold);
}

/* Filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.filter-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--wine); color: var(--wine); }
.filter-btn.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 560px));
  gap: 28px;
}
.dev-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(44, 29, 26, 0.05);
}
.dev-card-media {
  position: relative;
  display: block;
  background: #1a1210;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.dev-card-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 0.45s ease;
}
.dev-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(52, 8, 18, 0);
  transition: background 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.dev-card-media:hover img,
.dev-card-media:focus-visible img {
  transform: scale(1.05);
}
.dev-card-media:hover::after,
.dev-card-media:focus-visible::after {
  background: rgba(52, 8, 18, 0.18);
}
.dev-card-media:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}
.dev-card-badges {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-wrap: wrap; gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.dev-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dev-card-body h3 { margin: 2px 0 0; font-size: 1.85rem; }
.dev-card-title {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.dev-card-title:hover,
.dev-card-title:focus-visible {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.neighborhood { margin: 0; color: var(--muted); font-weight: 600; }
.card-summary { margin: 8px 0 0; color: var(--muted); }
.card-meta { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.price {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--wine-deep);
  line-height: 1.2;
}
.price small {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
}
.delivery-line { margin: 4px 0 0; color: var(--ink); font-weight: 600; }
.dev-card-actions { margin-top: 16px; }
.empty-filter {
  grid-column: 1 / -1;
  color: var(--muted);
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 6px 24px rgba(44, 29, 26, 0.05);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.95rem;
}
.compare th, .compare td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare tbody th {
  position: sticky; left: 0;
  background: var(--cream);
  color: var(--wine-deep);
  font-weight: 600;
  width: 13.5rem;
  min-width: 13rem;
  box-shadow: 4px 0 8px rgba(44, 29, 26, 0.04);
  z-index: 1;
}
.compare thead th {
  background: var(--nativa-wine);
  color: #fff8ee;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 16px 18px;
}
.compare thead th:first-child {
  position: sticky; left: 0; z-index: 2;
  background: var(--nativa-deep);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.compare tbody tr:nth-child(even) td { background: #fbf7f2; }
.compare tbody tr:nth-child(even) th { background: #efe6da; }
.compare td { min-width: 16rem; color: var(--ink); }
.table-note { margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }

/* Contact */
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.hours { margin-top: 12px; color: var(--muted); }
.contact-phones {
  display: flex; flex-direction: column; gap: 4px;
  margin: 20px 0 0; color: var(--ink); font-weight: 500;
}
.contact-phones a { color: inherit; text-decoration: none; font-weight: 700; }
.contact-phones a:hover { text-decoration: underline; }
.nativa-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 12px; }
.nativa-links a { font-weight: 600; text-decoration: none; }
.nativa-links a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--nativa-deep);
  color: #efe6da;
  padding: 56px 24px calc(32px + 88px + env(safe-area-inset-bottom, 0px));
  font-size: 0.95rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.25rem; }
.footer-logo {
  display: block;
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}
.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(239, 230, 218, 0.75);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; order: 2; margin-left: auto; }
  .header-inner { padding: 8px 12px; gap: 10px; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
    order: 4;
    margin-left: 0;
  }
  .nav.is-open { display: flex; }
  .header-cta { order: 3; margin-left: 8px; padding: 9px 14px; font-size: 0.85rem; }
  .logo img { height: 40px; }
  .section { padding: 64px 18px; }
  .hero-inner { padding: 64px 18px 56px; }
  .hero { min-height: min(86vh, 620px); }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(52, 8, 18, 0.72) 0%, rgba(52, 8, 18, 0.9) 48%, rgba(52, 8, 18, 0.96) 100%);
  }
  .intro-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dev-card-media img { height: 220px; }
  .compare { font-size: 0.9rem; }
}

/* Floating WhatsApp bubble (Nativa site style, bottom-left) */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  left: calc(28px + env(safe-area-inset-left, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(18, 28, 22, 0.28);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.06);
  background-color: #20bd5a;
  box-shadow: 0 6px 18px rgba(18, 28, 22, 0.34);
  color: #fff;
}
.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.whatsapp-float-icon {
  width: 32px;
  height: 32px;
  display: block;
}
