:root {
  --bg: #09050f;
  --bg-soft: #120a1d;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #fff7ff;
  --muted: #d8cadd;
  --muted-2: #a99bb1;
  --purple: #7c2cff;
  --purple-2: #b26cff;
  --gold: #f5c76b;
  --gold-2: #ffe4a1;
  --black: #050308;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(124, 44, 255, 0.35), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(245, 199, 107, 0.18), transparent 24%),
    linear-gradient(180deg, #09050f 0%, #0f0718 48%, #07040b 100%);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 3, 8, 0.74);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #14081e;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--purple-2));
  box-shadow: 0 14px 42px rgba(124, 44, 255, 0.25);
}
.brand-text strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-text small { display: block; color: var(--gold-2); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 12px 14px;
  color: var(--muted);
  border-radius: 999px;
  font-weight: 650;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-links .nav-cta { border: 1px solid rgba(245, 199, 107, 0.52); color: #fff; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 46px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 34px;
}
.hero-bg {
  position: absolute;
  inset: 56px -80px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 199, 107, 0.18), rgba(124, 44, 255, 0.16) 42%, transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}
.hero-content, .hero-card { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}
.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}
.hero-text {
  color: var(--muted);
  max-width: 670px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  margin: 22px 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  min-height: 50px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #120815;
  background: linear-gradient(135deg, var(--gold), #fff0bb 48%, var(--purple-2));
  box-shadow: 0 18px 50px rgba(245, 199, 107, 0.22);
}
.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}
.btn-dark { background: #110b18; color: #fff; border: 1px solid rgba(255,255,255,0.16); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-row span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}
.hero-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255,255,255,0.13), rgba(124,44,255,0.14), rgba(245,199,107,0.08));
  border: 1px solid rgba(245,199,107,0.22);
  box-shadow: var(--shadow);
}
.hero-card-top { display: flex; align-items: center; gap: 9px; color: var(--gold-2); font-weight: 750; }
.status-dot { width: 10px; height: 10px; border-radius: 99px; background: #3cff9a; box-shadow: 0 0 0 8px rgba(60,255,154,0.1); }
.hero-card h2 { font-size: 2rem; line-height: 1; letter-spacing: -0.04em; margin: 18px 0 12px; }
.hero-card p { color: var(--muted); line-height: 1.6; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.mini-stats div { padding: 16px; border-radius: 18px; background: rgba(0,0,0,0.22); border: 1px solid var(--line); }
.mini-stats strong { display: block; font-size: 1.65rem; color: var(--gold-2); }
.mini-stats small { color: var(--muted-2); }

.section, .quick-book, .features, .premium-band, .info-split {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.section { padding: 76px 0; }
.section-heading { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.section-heading.left { text-align: left; margin: 0; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.05em; }
.section-heading p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }

.quick-book {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(245,199,107,0.22);
  background: linear-gradient(140deg, rgba(255,255,255,0.1), rgba(124,44,255,0.13), rgba(0,0,0,0.2));
  box-shadow: var(--shadow);
}
.booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.booking-form label { display: grid; gap: 8px; }
.booking-form span { color: var(--gold-2); font-size: 0.92rem; font-weight: 800; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  padding: 14px 14px;
  outline: none;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  border-color: rgba(245,199,107,0.75);
  box-shadow: 0 0 0 4px rgba(245,199,107,0.12);
}
.booking-form option { background: #120a1d; color: #fff; }
.full-field { grid-column: 1 / -1; }

.features { padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.features article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}
.features span { font-size: 2rem; }
.features h3 { margin: 12px 0 6px; }
.features p { margin: 0; color: var(--muted); line-height: 1.55; }

.houses-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.house-card {
  overflow: hidden;
  border: 1px solid rgba(245,199,107,0.18);
  border-radius: 28px;
  background: rgba(255,255,255,0.07);
  box-shadow: var(--shadow);
}
.house-cover {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,44,255,0.35), rgba(245,199,107,0.13));
}
.house-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder, .empty-gallery {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgba(178,108,255,0.35), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(245,199,107,0.22), transparent 24%),
    linear-gradient(135deg, #170626, #08040d);
}
.cover-placeholder strong, .empty-gallery strong { display: block; color: var(--gold-2); font-size: 1.3rem; margin-bottom: 8px; }
.cover-placeholder small, .empty-gallery small { color: var(--muted); line-height: 1.5; }
.cover-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  border-radius: 999px;
  color: #150919;
  background: linear-gradient(135deg, var(--gold), #fff1b8);
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.house-body { padding: 26px; }
.house-body h3 { margin: 0; font-size: 1.55rem; letter-spacing: -0.03em; }
.house-body p { color: var(--muted); line-height: 1.65; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.badge { padding: 8px 10px; border-radius: 999px; color: var(--gold-2); background: rgba(245,199,107,0.1); border: 1px solid rgba(245,199,107,0.2); font-weight: 750; }
.amenities { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; padding: 0; margin: 16px 0 22px; }
.amenities li { color: var(--muted); background: rgba(0,0,0,0.18); border: 1px solid var(--line); padding: 10px 12px; border-radius: 14px; }
.house-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.dark-section { width: 100%; max-width: none; padding-left: max(16px, calc((100% - var(--max)) / 2)); padding-right: max(16px, calc((100% - var(--max)) / 2)); background: rgba(0,0,0,0.28); border-block: 1px solid var(--line); }
.gallery-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.gallery-controls button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  cursor: pointer;
  font-weight: 780;
}
.gallery-controls button.active { color: #130917; background: linear-gradient(135deg, var(--gold), #fff1b8); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative;
  height: 230px;
  border: 1px solid rgba(245,199,107,0.16);
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  text-align: left;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(5,3,8,0.78);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.empty-gallery { grid-column: 1 / -1; border: 1px dashed rgba(245,199,107,0.4); border-radius: 24px; min-height: 260px; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.video-card { overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,0.06); }
.video-frame, .video-placeholder { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-placeholder { display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); background: linear-gradient(135deg, rgba(124,44,255,0.22), rgba(245,199,107,0.1)); }
.video-placeholder strong { display:block; color: var(--gold-2); font-size: 1.2rem; margin-bottom: 8px; }
.video-content { padding: 22px; }
.video-content h3 { margin: 0 0 8px; }
.video-content p { color: var(--muted); line-height: 1.6; }

.premium-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), #fff0ba 45%, var(--purple-2));
  color: #120815;
  box-shadow: var(--shadow);
}
.premium-band .eyebrow, .premium-band p { color: #2b1832; }
.premium-band h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -0.05em; }
.premium-band p { line-height: 1.65; font-weight: 600; }

.info-split { display: grid; grid-template-columns: 1fr 0.8fr; gap: 24px; align-items: start; padding: 76px 0; }
.info-split h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; margin: 0 0 12px; letter-spacing: -0.05em; }
.info-split p { color: var(--muted); line-height: 1.7; }
.contact-list { display: grid; gap: 10px; margin-top: 20px; }
.contact-list a, .contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
}
.contact-list a { display: block; padding: 16px; font-weight: 800; }
.contact-list a:hover { border-color: rgba(245,199,107,0.5); }
.contact-card { padding: 24px; }
.contact-card h3 { margin-top: 0; color: var(--gold-2); }
.contact-card li { margin-bottom: 10px; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  border: 0;
  background: rgba(0,0,0,0.88);
  cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; max-width: min(1100px, 96vw); border-radius: 20px; box-shadow: var(--shadow); }
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: #25d366;
  color: #061208;
  font-size: 1.55rem;
  box-shadow: 0 18px 40px rgba(37,211,102,0.3);
}
.footer { border-top: 1px solid var(--line); padding: 24px max(16px, calc((100% - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.footer a { color: var(--gold-2); font-weight: 800; }

@media (max-width: 980px) {
  .hero, .quick-book, .info-split { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .houses-grid, .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .navbar { min-height: 70px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 5, 13, 0.96);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-links a { width: 100%; }
  .hero { padding-top: 58px; }
  .quick-book { padding: 22px; }
  .booking-form { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 260px; }
  .footer { flex-direction: column; }
}

/* Ajustes profissionais adicionais */
.location-hero {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245,199,107,0.18), rgba(124,44,255,0.16));
  border: 1px solid rgba(245,199,107,0.35);
  color: var(--gold-2);
  font-size: clamp(1.3rem, 4.5vw, 3rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 32px rgba(245,199,107,0.16);
}
.location-hero span { color: #fff; font-size: 0.62em; font-weight: 900; }
.gold-text { color: var(--gold-2); }
.professional-card { box-shadow: var(--shadow); border-color: rgba(245,199,107,0.22); }
.contact-highlights { display: grid; gap: 10px; margin: 18px 0 20px; }
.contact-highlights span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  font-weight: 700;
}
.video-media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #050308; }
.video-media .video-frame { position: absolute; inset: 0; height: 100%; object-fit: cover; background: #050308; }
.video-media .video-placeholder { display: none; position: absolute; inset: 0; aspect-ratio: auto; }
.video-media.missing .video-frame { display: none; }
.video-media.missing .video-placeholder { display: grid; }
.video-card { box-shadow: 0 20px 70px rgba(0,0,0,0.28); border-color: rgba(245,199,107,0.18); }
.floating-whatsapp {
  width: auto;
  min-width: 66px;
  height: 62px;
  padding: 0 18px;
  gap: 9px;
  border-radius: 999px;
  color: #061208;
  font-weight: 950;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255,255,255,0.18);
}
.floating-whatsapp svg { width: 29px; height: 29px; fill: currentColor; flex: 0 0 auto; }
.floating-whatsapp span { display: inline-block; }
.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(37,211,102,0.28);
  animation: whatsappPulse 1.9s ease-out infinite;
}
@keyframes whatsappPulse {
  0% { transform: scale(0.94); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (max-width: 720px) {
  .floating-whatsapp { min-width: 58px; width: 58px; height: 58px; padding: 0; border-radius: 22px; }
  .floating-whatsapp span { display: none; }
  .location-hero { font-size: clamp(1.2rem, 9vw, 2rem); }
}
