:root {
  --navy: #0b1626;
  --navy-2: #0f1e33;
  --off-white: #f3efe6;
  --muted: #a9b2c0;
  --line: rgba(243, 239, 230, 0.16);
  --accent: #c9a96a;
  --accent-2: #e2c890;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--off-white);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ---------- Fundo animado ---------- */

.video-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
  background: var(--navy);
}

.video-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 34, 0.72) 0%,
    rgba(8, 18, 34, 0.4) 45%,
    rgba(8, 18, 34, 0.55) 100%
  );
}

.video-poster,
.video-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-poster {
  object-fit: cover;
  opacity: 1;
  transition: opacity 500ms ease;
}

.video-canvas { opacity: 0; }

.video-background.is-ready .video-poster { opacity: 0; }
.video-background.is-ready .video-canvas { opacity: 1; }

.content-wrapper {
  position: relative;
  z-index: 10;
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem max(1.5rem, 4vw);
  transition: background 300ms ease, backdrop-filter 300ms ease, padding 300ms ease;
}

.site-header.is-scrolled {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: rgba(11, 22, 38, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-name {
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
}

.brand-sub {
  margin-top: 0.35rem;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 200ms ease, color 200ms ease;
}

.site-nav a:hover { opacity: 1; color: var(--accent-2); }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font: 600 0.82rem/1 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
}

.btn:hover { background: var(--accent-2); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(11, 22, 38, 0.25);
  color: var(--off-white);
  border-color: rgba(243, 239, 230, 0.6);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(243, 239, 230, 0.12); }

.btn-small { padding: 0.7rem 1.2rem; font-size: 0.7rem; }

.btn-full { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(8rem, 18vh, 11rem) 1.5rem 3rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-content {
  width: min(100%, 980px);
  animation: rise-in 1s ease both;
}

.eyebrow {
  margin: 0 0 2.1rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 1050px;
  margin: 0 auto 1.4rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 4.6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 2.2rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid rgba(243, 239, 230, 0.6);
  border-radius: 14px;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--off-white);
  animation: scroll-dot 1.8s ease infinite;
}

.scroll-spacer { height: 80vh; }

.hero h1,
.hero-subtitle,
.hero .eyebrow,
.discover h2,
.discover h3,
.discover .card p,
.discover .eyebrow,
.discover .card-number {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ---------- Destaques sobre a animação ---------- */

.discover {
  padding: 8rem max(1.5rem, 7vw) 9rem;
  border-top: 1px solid var(--line);
}

.scroll-end { height: 40vh; }

.section-heading { margin-bottom: 4rem; }

.section-heading .eyebrow { margin-bottom: 1.3rem; }

h2 {
  margin-bottom: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

h2 em { color: var(--accent-2); font-style: italic; }

.lead {
  max-width: 560px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 330px;
  padding: 2rem;
  position: relative;
  background: rgba(11, 22, 38, 0.66);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  transition: background 300ms ease, transform 300ms ease;
}

.card:hover {
  background: rgba(11, 22, 38, 0.78);
  transform: translateY(-6px);
}

.card-number {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

h3 {
  margin: 4.3rem 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.card h3 { max-width: 260px; }

.card p {
  max-width: 300px;
  margin-bottom: 0;
  color: var(--off-white);
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-arrow {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform 300ms ease;
}

.card:hover .card-arrow { transform: translate(4px, -4px); }

/* ---------- Seções sólidas ---------- */

.solid {
  position: relative;
  background: var(--navy);
  box-shadow: 0 -40px 80px rgba(11, 22, 38, 0.9);
}

.section { padding: 8rem max(1.5rem, 7vw); }

.section-alt { background: var(--navy-2); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

figure { margin: 0; }

.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-main { grid-row: span 2; }

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease;
}

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

.gallery figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 22, 38, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* Localização */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.3rem 1rem;
  background: var(--navy-2);
}

.stats strong {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-2);
}

.stats span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.distances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.distances li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.distances b { color: var(--accent); font-weight: 500; white-space: nowrap; }

.map img { width: 100%; border-radius: 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }

/* Plantas */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-2);
}

.plan-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3.4;
  padding: 1.5rem;
  border: 0;
  background: #f4f3f0;
  cursor: zoom-in;
}

.plan-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 400ms ease;
}

.plan-image:hover img { transform: scale(1.03); }

.plan-body { padding: 2rem; }

.plan-tag {
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan h3 { margin-top: 0; }

.plan-body > p:not(.plan-tag):not(.plan-price) { color: var(--muted); line-height: 1.65; }

.plan-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.plan-price {
  margin: 1.4rem 0 0;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--off-white);
}

.plan-price span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.invest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(201, 169, 106, 0.45);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(201, 169, 106, 0.14), rgba(201, 169, 106, 0.03));
}

.invest .eyebrow { margin-bottom: 0.6rem; }

.invest-text { max-width: 620px; margin: 0; line-height: 1.6; }

/* Lazer */

.split-reverse { grid-template-columns: 1.15fr 1fr; }

.lazer-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenities li {
  padding: 1rem 0 1rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  transform: rotate(45deg);
  background: var(--accent);
}

/* Contato */

.contact { background: radial-gradient(ellipse at 20% 0%, #17304f 0%, var(--navy) 60%); }

.contact .section-heading { margin-bottom: 0; }

.whats-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--accent-2);
  text-decoration: none;
}

.lead-form {
  display: grid;
  gap: 1.1rem;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(15, 30, 51, 0.8);
}

.lead-form label > span,
.lead-form legend {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(11, 22, 38, 0.7);
  color: var(--off-white);
  font: 400 1rem "DM Sans", sans-serif;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-form legend { width: 100%; padding: 0; }

.radio { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }

.radio input { accent-color: var(--accent); }

.form-error { margin: 0; color: #f0a48a; font-size: 0.85rem; }

/* Rodapé */

.site-footer {
  padding: 4rem max(1.5rem, 7vw) 6rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-footer { margin-bottom: 1.5rem; color: var(--off-white); }

.disclaimer {
  max-width: 760px;
  margin: 1.5rem auto 0;
  font-size: 0.72rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* WhatsApp flutuante */

.whats-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 250ms ease;
}

.whats-float:hover { transform: scale(1.07); }

.whats-float svg { width: 30px; height: 30px; }

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(6, 12, 22, 0.92);
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 88vh;
  border-radius: 4px;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: 0;
  background: none;
  color: var(--off-white);
  font-size: 2.5rem;
  cursor: pointer;
}

/* Animações */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .split,
  .split-reverse { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .invest { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .site-header { padding: 0.9rem 1.1rem; }
  .brand-name { font-size: 1.1rem; }
  .btn-small { padding: 0.6rem 0.9rem; font-size: 0.62rem; }
  .hero { padding-top: 7.5rem; }
  .desktop-break { display: none; }
  h1 { font-size: clamp(2rem, 9.5vw, 3rem); }
  .discover { padding-top: 5.5rem; padding-bottom: 6rem; }
  .section { padding: 5.5rem 1.25rem; }
  .section-heading { margin-bottom: 2.5rem; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 250px; }
  .card h3 { margin-top: 3rem; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-main { grid-row: auto; }
  .gallery img { aspect-ratio: 16 / 10; height: auto; }
  .distances { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .plan-body, .lead-form { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
