:root {
  --gold: #F3A713;
  --green: #145745;
  --green-dark: #0e4334;
  --green-soft: #e8f3ef;
  --gold-soft: #fff2d3;
  --bg: #f8fbf9;
  --surface: #ffffff;
  --surface-2: #f3f8f5;
  --text: #18231f;
  --muted: #61726c;
  --line: #d8e5de;
  --shadow: 0 16px 40px rgba(20, 87, 69, 0.10);
  --radius: 24px;
  --max: 1220px;
  --transition: 0.28s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f8fbf9 0%, #f4f8f6 100%);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section { padding: 88px 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 87, 69, 0.12);
}

.plantas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--green), var(--gold));
  box-shadow: 0 10px 24px rgba(20, 87, 69, 0.22);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

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

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 12px 26px rgba(20, 87, 69, 0.20);
}

.btn-primary:hover { background: var(--green-dark); }

.btn-accent {
  background: var(--gold);
  color: #493406;
  box-shadow: 0 12px 26px rgba(243, 167, 19, 0.22);
}

.btn-accent:hover {
  background: #df980e;
  color: #382805;
}

.btn-outline {
  background: white;
  color: var(--green);
  border-color: rgba(20, 87, 69, 0.16);
}

.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #7a5509;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1, h2 { font-family: "Playfair Display", serif; }
h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; color: var(--muted); }
strong { color: var(--text); }
.muted { color: var(--muted); }

.hero { padding: 42px 0 30px; }

.hero-grid,
.intro-grid,
.contact-wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.card,
.highlight-card,
.floor-card,
.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.card,
.floor-card,
.contact-card {
  padding: 30px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,167,19,0.16) 0%, rgba(243,167,19,0) 70%);
}

.hero-copy .lead {
  font-size: 1.08rem;
  max-width: 58ch;
}

.hero-copy h1 span { color: var(--green); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  isolation: isolate;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 87, 69, 0.36), rgba(20, 87, 69, 0.05));
}

.hero-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hero-stat {
  padding: 8px 10px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child { border-right: 0; }

.hero-stat strong {
  display: block;
  color: var(--green);
  margin-bottom: 4px;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list,
.floor-list,
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.feature-item,
.floor-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.icon-dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.highlight-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.highlight-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.08rem;
  color: var(--green);
}

.price-value {
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 800;
}

.map-wrap {
  margin-top: 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 24px;
  background: #dfe7df;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 28, 22, 0.58), rgba(10, 28, 22, 0.05));
}

.gallery-item.large { grid-column: span 7; min-height: 460px; }
.gallery-item.medium { grid-column: span 5; }
.gallery-item.small { grid-column: span 4; min-height: 260px; }

.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 12px 14px;
  border-radius: 14px;
  color: white;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.floor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.floor-card .num {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
  font-size: 0.88rem;
}

.agent-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.agent-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--green), var(--gold));
}

.contact-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

.contact-form textarea { resize: vertical; }

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.floating-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.floating-phone { background: var(--green); }
.floating-wa { background: #25D366; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 18, 14, 0.94);
}

.lightbox.open { display: flex; }

.lightbox-content {
  position: relative;
  width: min(1200px, 100%);
  height: min(84vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.lightbox img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.lightbox-btn,
.lightbox-close {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border-radius: 50%;
}

.lightbox-close {
  z-index: 999;
  pointer-events: auto;
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.lightbox-btn {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 24px;
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card { grid-template-columns: repeat(2, 1fr); }

  .highlights,
  .floor-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-media { min-height: 460px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }

  .gallery-item.large,
  .gallery-item.medium,
  .gallery-item.small {
    grid-column: span 12;
    min-height: 280px;
  }

  .hero-copy,
  .card,
  .floor-card,
  .contact-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 20px; }
  .hero-copy { padding: 20px; }
  .hero-media { min-height: 340px; }

  .hero-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }

  .hero-stat {
    border-right: 0;
    padding: 10px;
    background: rgba(255,255,255,0.74);
    border-radius: 12px;
  }

  .highlights,
  .floor-grid { grid-template-columns: 1fr; }

  .gallery-head {
    flex-direction: column;
    align-items: start;
  }

  .btn { width: 100%; }
  .floating-cta { display: flex; }

  .lightbox { padding: 10px; }
  .lightbox-content { height: min(74vh, 700px); }
}

@media (max-width: 900px) {
  .plantas-grid {
    grid-template-columns: 1fr;
  }
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100%;
}

.lightbox-info {
  color: white;
  text-align: center;
}

.lightbox-info h3 {
  margin: 0;
  font-size: 1.4rem;
}

.lightbox-info p {
  margin: 4px 0 0;
  color: #ccc;
  font-size: 0.95rem;
}

.footer {
  text-align: center;
}

.footer .btn-row {
  justify-content: center;
}

.footer .container {
  margin-top: 16px;
}

.contact-wrap.full-width {
  grid-template-columns: 1fr;
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100%;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.lightbox img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.lightbox-info {
  color: white;
  text-align: center;
}

.lightbox-info h3 {
  margin: 0;
  font-size: 1.4rem;
}

.lightbox-info p {
  margin: 6px 0 0;
  color: #d7d7d7;
  font-size: 0.95rem;
}

.lightbox-close {
  z-index: 999;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: min(1200px, 100%);
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-height: 100%;
}

.lightbox img {
  width: 100%;
  max-height: 68vh;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.lightbox-info {
  color: white;
  text-align: center;
  padding: 0 12px 8px;
}

.lightbox-info h3 {
  margin: 0;
  font-size: 1.4rem;
}

.lightbox-info p {
  margin: 6px 0 0;
  color: #d7d7d7;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Botões */
.lightbox-btn,
.lightbox-close {
  position: absolute;
  z-index: 20;
  border: 0;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  pointer-events: auto;
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.lightbox-btn {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 24px;
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.lightbox-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}