@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;
}

*, *::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: 1360px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.logo img { height: 62px; width: auto; }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-actions .btn {
  white-space: nowrap;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 16px;
  box-sizing: border-box;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 0;
}
.cta-row .btn {
  white-space: nowrap;
  line-height: 1.2;
  min-height: 44px;
  box-sizing: border-box;
}
.nav {
  display: flex; gap: 16px; 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: var(--wine) !important;
  box-shadow: inset 0 0 0 1.5px var(--wine);
}
.btn-ghost: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: #1a1210; }
.hero-media {
  width: 100%;
  height: min(88vh, 860px);
  object-fit: cover;
  object-position: center 42%;
}
.hero-credit {
  position: absolute; left: 16px; bottom: 16px;
  color: rgba(255,255,255,.7); font-size: 0.72rem; letter-spacing: .04em;
}
.hero-tags {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: min(460px, 48%);
  pointer-events: none;
}
.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-investir {
  background: #f4e6c8;
  color: #6a4a16;
}

/* Stats */
.stats {
  background: var(--wine-deep);
  color: #f6f0e8;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}
.stat {
  text-align: center;
  padding: 4px 18px;
  display: grid;
  grid-template-rows: auto minmax(2.6em, auto) 1.35em;
  align-items: start;
  justify-items: center;
}
.stat + .stat { border-left: 1px solid rgba(255,255,255,.15); }
.stat-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(246, 240, 232, 0.75);
  line-height: 1.3;
  max-width: 14em;
}
.stat-note {
  display: block;
  margin-top: 0;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(246, 240, 232, 0.92);
  line-height: 1.35;
  white-space: nowrap;
}

/* Layout helpers */
.section { padding: 88px 24px; }
.section-cream { background: var(--cream); }
.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: 720px; margin-bottom: 48px; }
.quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: var(--wine);
  margin: 0 0 8px;
}
.quote-attr { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.prose p { margin: 0 0 16px; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.frame img { width: 100%; height: auto; }
.grid-2 .frame img {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 55%;
}

/* Typologies */
.tipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.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);
}
.card-media {
  background: #fff;
  padding: 16px 16px 0;
  overflow: hidden;
}
.card-media picture { display: block; width: 100%; }
.card-media img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center top;
  background: #fff;
  margin: 0 auto;
}
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}
.units-pill {
  display: inline-block;
  background: var(--cream-2);
  color: var(--wine-deep);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.card ul { margin: 6px 0 8px; padding-left: 1.1em; color: var(--muted); }
.card li { margin: 4px 0; }
.price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  color: var(--wine);
  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;
  color: var(--muted);
  margin-bottom: 2px;
}
.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

.section-head:has(.highlights) { max-width: 100%; }
.section-head-tight { margin-bottom: 28px; }
.highlights {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px 40px;
  align-items: start;
  margin-bottom: 16px;
}
.highlight-52 {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.highlight-52 .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--wine);
  line-height: 0.9;
  font-weight: 600;
}
.highlight-52 .txt { color: var(--muted); max-width: 22em; }
.highlight-52 .sub {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

/* Amenities */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenity {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
}
.amenity svg { width: 48px; height: 48px; color: var(--wine); margin: 0 auto 16px; display: block; }
.amenity h3 { margin-bottom: 6px; }
.amenity p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery figure {
  margin: 0;
}
.gallery a {
  display: block; overflow: hidden; border-radius: 12px; background: #ddd;
}
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center center;
  transition: transform .4s ease;
}
.gallery a[data-pos="fachada"] img { object-position: center 30%; }
.gallery a[data-pos="left"] img { object-position: left center; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption {
  margin: 8px 2px 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Location + form */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow);
  background: var(--cream-2);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 14px;
}
.form label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form label span { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--wine);
  outline-offset: 1px;
  border-color: var(--wine);
}
.form textarea { min-height: 90px; resize: vertical; }
.form-note { margin: 0; font-size: 0.82rem; color: var(--muted); }
.contact-phones {
  display: flex; flex-direction: column; gap: 4px;
  margin: 20px 0 8px; color: var(--ink); font-weight: 500;
}
.contact-phones a { color: inherit; text-decoration: none; font-weight: 700; }
.contact-phones a:hover { text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Footer */
.site-footer {
  background: var(--wine-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; }
.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);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(20, 12, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 96vw); max-height: 90vh; object-fit: contain; background: #fff; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer;
}


/* Nativa brand */
:root {
  --nativa-wine: #540e1c;
  --nativa-deep: #340812;
  --nativa-gold: #e8c26e;
  --nativa-gold-soft: #f4d696;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-por {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  color: var(--muted);
}
.brand-por .por-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
}
.brand-por img {
  height: 44px;
  width: auto;
  display: block;
}

/* Atendimento Nativa */
.nativa-band {
  background: var(--nativa-wine);
  color: var(--nativa-gold-soft);
  padding: 72px 24px;
}
.nativa-band-inner {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 48px;
  align-items: center;
}
.nativa-band-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
}
.nativa-band .eyebrow { color: var(--nativa-gold); }
.nativa-band h2 { color: #fff8ee; margin-bottom: 14px; }
.nativa-band p { color: var(--nativa-gold-soft); margin: 0 0 14px; max-width: 36em; }
.nativa-band p:last-child { margin-bottom: 0; }
.nativa-band a { color: var(--nativa-gold); font-weight: 600; text-decoration: none; }
.nativa-band a:hover { color: #fff8ee; text-decoration: underline; }
.nativa-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-logo {
  display: block;
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}


.vaga-aparte {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.vagas-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.vagas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vagas-plan {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 6px 24px rgba(44, 29, 26, 0.05);
}
.vagas-plan a { display: block; }
.vagas-plan img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: #fff;
  margin: 0 auto;
}
.vagas-plan figcaption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header-inner { padding: 8px 12px; gap: 10px; flex-wrap: wrap; }
  .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;
  }
  .nav.is-open { display: flex; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 8px 10px; }
  .stat { padding: 18px 12px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat:last-child { grid-column: auto; border-left: 0; }
  .grid-2, .split, .tipo-grid, .amenity-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle { margin-left: auto; order: 2; }
  .header-actions {
    order: 5;
    flex: 1 0 100%;
    width: 100%;
    margin: 0;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 0 8px;
  }
  .header-actions .btn { flex: 0 1 auto; margin: 0; padding: 9px 14px; font-size: 0.85rem; min-height: 40px; }
  .nav { order: 4; margin-left: 0; }

  .section { padding: 64px 18px; }
  .hero-media { height: min(78vh, 680px); object-position: center 38%; }
  .hero-tags { top: 14px; left: 14px; max-width: min(260px, 58%); }
  .logo img { height: 46px; }
  .highlights { grid-template-columns: 1fr; gap: 16px; }
  .highlight-52 { gap: 6px 14px; margin-bottom: 0; }
  .card-media img { max-height: none; }
  .brand-por img { height: 28px; }
  .brand-por { padding-left: 8px; gap: 6px; }
  .brand-por .por-label { font-size: 0.58rem; }
  .brand-lockup { gap: 8px; }
  .nativa-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .nativa-band-logo { max-width: 220px; }
}
@media (max-width: 600px) {
  .gallery, .vagas-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .stats-inner { padding: 6px 6px; }
  .stat { padding: 16px 8px; }
  .stat-value { font-size: 2rem; }
  .stat-label { letter-spacing: 0.05em; }
}


/* Hub cross-link */
.outros-lancamentos {
  background: var(--cream);
  padding: 72px 24px;
  border-top: 1px solid var(--line);
}
.outros-lancamentos-inner { max-width: 720px; }
.outros-lancamentos .lede { margin: 0 0 24px; }
.outros-lancamentos h2 { margin-bottom: 14px; }

@media (max-width: 900px) {
  .outros-lancamentos { padding: 56px 18px; }
}

/* 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;
}
