:root {
  --dark-green: #00352a;
  --dark-green-2: #002620;
  --bright-green: #00d563;
  --bright-green-dark: #00a84e;
  --orange: #f5821f;
  --white: #ffffff;
  --off-white: #f7f8f6;
  --text-dark: #14231d;
  --text-muted: #5b6b64;
  --radius: 14px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.55;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; color: var(--text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bright-green-dark);
  margin-bottom: 10px;
}

.section-dark .eyebrow { color: var(--bright-green); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--bright-green);
  color: var(--dark-green-2);
}
.btn-primary:hover { background: var(--bright-green-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); line-height: 1.1; }
.logo-mark { width: 34px; height: 34px; }
.logo-small { display: block; font-size: 0.7rem; letter-spacing: 0.15em; color: var(--bright-green); }
.logo-big { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }
.main-nav {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  opacity: 0.85;
}
.main-nav a:hover { opacity: 1; }
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  background: var(--dark-green);
  color: var(--white);
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 20px 100px;
  max-width: 720px;
}
.hero .hero-sub { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,53,42,0.94) 0%, rgba(0,53,42,0.72) 45%, rgba(0,53,42,0.35) 100%);
}

/* Placeholder media blocks */
.placeholder-media {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--bright-green-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--white);
}
.placeholder-icon { width: 30%; height: 30%; opacity: 0.85; }

/* Real photo media blocks */
.location-media, .plan-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.location-media img, .plan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plan-media { min-height: 0; margin-bottom: 18px; aspect-ratio: 4 / 3; background: var(--off-white); }
.plan-media img { object-fit: contain; }

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bright-green-dark);
}
.map-link:hover { text-decoration: underline; }

/* Sections */
.section { padding: 70px 0; }
.section-dark { background: var(--dark-green); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.8); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.distance-list, .access-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.distance-list li, .access-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.distance-list li strong { color: var(--bright-green); margin-right: 8px; }
.address-line { color: rgba(255,255,255,0.9); font-weight: 600; }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0,53,42,0.08);
}
.card-icon { width: 34px; height: 34px; color: var(--bright-green-dark); margin-bottom: 14px; }
.fine-print { font-size: 0.8rem; opacity: 0.7; margin-top: 6px; }

/* Leisure grid */
.leisure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.leisure-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--white);
}
.leisure-item span { font-size: 1.4rem; }

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0,53,42,0.08);
}
.plans-grid-3 { grid-template-columns: repeat(3, 1fr); }
.plan-ref { font-size: 0.85rem; color: var(--text-muted); margin-top: -6px; }
.plan-card ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
.plan-card li { margin-bottom: 6px; }

/* Facts */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0 40px;
}
.fact {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.fact strong { display: block; font-size: 1.5rem; color: var(--bright-green); margin-bottom: 6px; }
.fact span { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.typology-table { border-top: 1px solid rgba(255,255,255,0.2); }
.typology-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.92);
}
.typology-row span:last-child { font-weight: 700; color: var(--bright-green); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.broker-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,53,42,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  margin-top: 20px;
}
.broker-card strong { font-size: 1.1rem; }
.broker-card span { color: var(--text-muted); margin-bottom: 10px; }

.contact-info-centered {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.contact-info-centered .broker-card {
  align-items: center;
  text-align: center;
  margin: 24px auto 0;
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,53,42,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.lead-form input, .lead-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d8ddda;
  resize: vertical;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: 2px solid var(--bright-green);
  outline-offset: 1px;
}
.lead-form button { margin-top: 6px; }

/* Footer */
.site-footer {
  background: var(--dark-green-2);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 30px;
  font-size: 0.85rem;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand { color: var(--white); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.footer-top p { color: rgba(255,255,255,0.75); margin: 2px 0; }
.footer-logo { width: 40px; height: 40px; margin-bottom: 8px; }
.site-footer hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 20px 0; }
.legal-text { font-size: 0.75rem; line-height: 1.6; color: rgba(255,255,255,0.55); }
.copyright { margin-top: 16px; color: rgba(255,255,255,0.6); }

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
}
.floating-whatsapp:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .plans-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .plans-grid-3 { grid-template-columns: 1fr; }
}

/* Modal WhatsApp */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 48px rgba(0,0,0,.25);
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
}
.modal-close:hover { color: var(--text-dark); }
.modal-eyebrow {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bright-green-dark);
  font-weight: 600;
  margin: 0 0 6px;
}
.modal-box h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin: 0 0 6px;
}
.modal-sub {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.modal-box label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.modal-box input {
  padding: 12px 14px;
  border: 1.5px solid #d0d8d4;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}
.modal-box input:focus { border-color: var(--bright-green-dark); }
.modal-box input.invalid { border-color: #e53935; }
.req { color: #e53935; }
.modal-submit { width: 100%; margin-top: 8px; }

.plans-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .plans-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .plans-grid-4 { grid-template-columns: 1fr; } }

/* Carrossel de lazer */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 48px;
}
.carousel-track {
  display: flex;
  transition: transform .4s ease;
}
.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.carousel-btn:hover { background: rgba(0,0,0,.7); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 2px;
  position: absolute;
  bottom: 8px;
  width: 100%;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: background .2s;
  padding: 0;
}
.carousel-dot.active { background: #fff; }

.plan-media.js-plan-lightbox { cursor: pointer; position: relative; }
.plan-media.js-plan-lightbox::after {
  content: "🔍";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,53,42,0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.plan-media.js-plan-lightbox:hover::after,
.plan-media.js-plan-lightbox:focus-visible::after { opacity: 1; }
.plan-media.js-plan-lightbox:focus-visible { outline: 2px solid var(--bright-green); outline-offset: 2px; }

/* Lightbox de plantas */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,20,15,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: min(900px, 90vw);
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto;
  background: var(--white);
}
.lightbox-figure figcaption {
  color: var(--white);
  margin-top: 14px;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 600px) {
  .lightbox-btn { width: 40px; height: 40px; font-size: 1.4rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 10px; right: 12px; }
}

.tour-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.tour-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-green);
    flex-direction: column;
    padding: 10px 20px 20px;
    gap: 4px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-toggle { display: flex; }
  .site-header .header-cta { display: none; }
  .hero-content { padding: 60px 20px 70px; }
  .section { padding: 50px 0; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
