:root {
  --areia: #E8DFD0;
  --areia-clara: #F5F0E8;
  --off-white: #FAF8F4;
  --pedra: #C4B49A;
  --pedra-escura: #8A7660;
  --madeira: #7A5C3E;
  --ocean: #1B4F72;
  --ocean-medio: #2E7DAE;
  --ocean-claro: #A8D4E8;
  --dourado: #C9A84C;
  --dourado-claro: #E8D090;
  --texto-escuro: #1A1614;
  --texto-medio: #4A3F35;
  --texto-claro: #8A7A6A;
  --branco: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--texto-escuro);
  background: var(--off-white);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
#navbar.scrolled {
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  padding: 0.6rem 2.5rem;
  border-bottom: 1px solid rgba(196,180,154,0.3);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--branco);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.4s;
}
#navbar.scrolled .nav-logo { color: var(--ocean); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--dourado);
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--madeira); transform: translateY(-1px); }

/* ─── NAV BURGER + DROPDOWN ─── */
#navbar {
  flex-wrap: wrap;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transform-origin: center;
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
}

#navbar.scrolled .nav-burger span { background: var(--ocean); }

#navbar.burger-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#navbar.burger-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#navbar.burger-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#navbar.burger-open {
  background: rgba(10,20,40,0.95);
  backdrop-filter: blur(12px);
}
#navbar.burger-open.scrolled {
  background: rgba(250,248,244,0.97);
}

.nav-dropdown {
  display: none;
  width: 100%;
  list-style: none;
  padding: 0.5rem 0 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

#navbar.scrolled .nav-dropdown {
  border-top-color: rgba(196,180,154,0.2);
}

#navbar.burger-open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 2.5rem;
  text-align: right;
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

#navbar.scrolled .nav-dropdown a { color: var(--ocean); }

.nav-dropdown a:hover { background: rgba(255,255,255,0.06); }
#navbar.scrolled .nav-dropdown a:hover { background: rgba(196,180,154,0.15); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,30,50,0.25) 0%, rgba(10,30,50,0.05) 35%, rgba(10,30,50,0.65) 100%),
    url('https://cassiusalmeidaimoveis.com.br/bluebeach/img/new/DiegoNóbrega - Blue Beach Residence  (3).webp') center center / cover no-repeat;
  z-index: 0;
}

/* Camada de ondas SVG animada */
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  z-index: 1;
  opacity: 0.15;
}

/* Partículas de areia */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem 6rem;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6), 0 2px 20px rgba(0,0,0,0.4);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--branco);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 4px 30px rgba(0,0,0,0.5);
}
.hero-title em {
  font-style: italic;
  color: var(--dourado-claro);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 4px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8), 0 2px 20px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--dourado);
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--madeira);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  transition: background 0.3s, border-color 0.3s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-lr;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ─── SEÇÃO GENÉRICA ─── */
section { position: relative; }

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--texto-escuro);
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--ocean); }

.section-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--texto-medio);
  max-width: 560px;
}

/* ─── LIFESTYLE 365 ─── */
.lifestyle {
  padding: 8rem 2.5rem;
  background: var(--off-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .lifestyle { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .lifestyle-visual { height: 380px; }
  .lifestyle-card-float { height: 160px; }
}

.lifestyle-visual {
  position: relative;
  height: 520px;
}

.lifestyle-card {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
}

.lifestyle-card-main {
  width: 75%;
  height: 100%;
  right: 0;
  background: linear-gradient(160deg, #2E86AB 0%, #1B4F72 60%, #0D3349 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.lifestyle-card-float {
  width: 55%;
  height: 200px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--areia);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.card-stat {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ocean);
}
.card-stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--texto-claro);
  margin-top: 0.5rem;
}

.ocean-scene {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.ocean-icon {
  font-size: 4rem;
  opacity: 0.4;
  filter: brightness(2);
}

.ocean-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}

/* ─── LOCALIZAÇÃO ─── */
.localizacao {
  background: var(--ocean);
  color: var(--branco);
  padding: 8rem 2.5rem;
}

.localizacao-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .localizacao-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (min-width: 769px) {
  .localizacao { padding: 6rem 2.5rem; }
  .localizacao .section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
  .praias-grid { margin-top: 2rem; gap: 1.25rem; }
  .praia-item { padding: 1.2rem; }
}

.localizacao .section-title { color: var(--branco); }
.localizacao .section-body { color: rgba(255,255,255,0.7); }

.praias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.praia-item {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s, border-color 0.3s;
}
.praia-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,168,76,0.4);
}

.praia-nome {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dourado-claro);
  margin-bottom: 0.4rem;
}
.praia-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.mapa-placeholder {
  position: relative;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(46,134,171,0.3) 0%, rgba(27,79,114,0.5) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.mapa-coords {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}

.mapa-pin {
  width: 48px;
  height: 48px;
  background: var(--dourado);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}
.mapa-pin::after {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--branco);
  border-radius: 50%;
  transform: rotate(45deg);
}

.mapa-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
}

/* ─── CLUBE FRENTE MAR ─── */
.clube {
  padding: 8rem 2.5rem;
  background: var(--areia-clara);
}

.clube-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.clube-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}

@media (max-width: 768px) {
  .clube-header { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.amenity-card {
  padding: 2rem 1.5rem;
  background: var(--branco);
  border-radius: 4px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.amenity-card:hover {
  border-bottom-color: var(--dourado);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.amenity-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.amenity-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--texto-escuro);
  margin-bottom: 0.4rem;
}

.amenity-desc {
  font-size: 0.8rem;
  color: var(--texto-claro);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .clube { padding: 4rem 2.5rem; }
  .clube-header { margin-bottom: 2.5rem; }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .amenity-card { padding: 1rem 1.5rem; }
  .amenity-icon { margin-bottom: 0.5rem; }
}

/* ─── PISCINA VISTA MAR ─── */
.piscina {
  padding: 8rem 2.5rem;
  background: var(--ocean);
  overflow: hidden;
  position: relative;
}

.piscina::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 160px;
  background: var(--areia-clara);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.piscina-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.piscina .section-title { color: var(--branco); text-align: center; }
.piscina .section-label { text-align: center; }
.piscina .section-body {
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 3rem;
  text-align: center;
}

.piscina-visual {
  height: 360px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7EC8E3 0%, #2E86AB 40%, #1B4F72 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.agua-anim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: rgba(27,79,114,0.4);
  animation: aguaOnda 4s ease infinite;
  border-radius: 50% 50% 0 0;
}

.piscina-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ─── VIDA ATIVA ─── */
.vida-ativa {
  padding: 8rem 2.5rem;
  background: var(--off-white);
}

.vida-ativa-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.atividades-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.atividade {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  background: var(--areia-clara);
  border-radius: 4px;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}
.atividade:hover {
  background: var(--areia);
  transform: translateY(-3px);
}

.atividade-icon { font-size: 2rem; }
.atividade-nome {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-medio);
}

/* ─── APARTAMENTOS ─── */
.apartamentos {
  padding: 8rem 2.5rem;
  background: var(--areia-clara);
}

.apartamentos-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.torres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

@media (min-width: 769px) {
  .apartamentos { padding: 5rem 2.5rem; }
  .apartamentos .section-title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
  .torres-grid { margin-top: 2rem; }
  .torre-header { padding: 1.25rem 1.5rem 1rem; }
  .torre-body { padding: 1.1rem 1.5rem; }
  .torre-stat { padding: 0.55rem 0; }
}

.torre-card {
  background: var(--branco);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(196,180,154,0.3);
  transition: box-shadow 0.3s, transform 0.3s;
}
.torre-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.torre-header {
  padding: 2rem 1.5rem 1.5rem;
  background: var(--ocean);
}

.torre-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  margin-bottom: 0.4rem;
}

.torre-nome {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--branco);
}

.torre-body {
  padding: 1.5rem;
}

.torre-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(196,180,154,0.2);
  font-size: 0.85rem;
}
.torre-stat:last-child { border-bottom: none; }
.torre-stat-label { color: var(--texto-claro); }
.torre-stat-valor {
  font-weight: 500;
  color: var(--texto-escuro);
}

/* ─── PRONTO PRA MORAR ─── */
.pronto {
  padding: 8rem 2.5rem;
  background: var(--ocean);
  text-align: center;
}

.pronto-inner { max-width: 700px; margin: 0 auto; }

.pronto .section-label { color: rgba(255,255,255,0.7); }
.pronto .section-title { color: var(--branco); text-align: center; }
.pronto .section-title em { color: var(--dourado-claro); }
.pronto .section-body {
  color: rgba(255,255,255,0.8);
  max-width: 100%;
  text-align: center;
  margin: 0 auto 2.5rem;
}

/* ─── FAMÍLIA E SEGURANÇA ─── */
.familia {
  padding: 8rem 2.5rem;
  background: var(--off-white);
}

.familia-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .familia-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.seguranca-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.seg-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--areia-clara);
  border-radius: 4px;
  border-left: 3px solid var(--dourado);
}

.seg-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }

.seg-texto h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--texto-escuro);
  margin-bottom: 0.2rem;
}
.seg-texto p {
  font-size: 0.78rem;
  color: var(--texto-claro);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .familia { padding: 6rem 2.5rem; }
  .familia .section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
  .seguranca-list { gap: 0.75rem; margin-top: 1.5rem; }
  .seg-item { padding: 1rem 1.4rem; }
}

.familia-visual {
  background: linear-gradient(135deg, var(--areia) 0%, var(--pedra) 100%);
  border-radius: 4px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.familia-quote {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ocean);
  text-align: center;
  padding: 0 2rem;
  line-height: 1.4;
}

/* ─── ESCASSEZ ─── */
.escassez {
  padding: 5rem 2.5rem;
  background: var(--texto-escuro);
  text-align: center;
}

.escassez-inner { max-width: 700px; margin: 0 auto; }

.escassez-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  margin-bottom: 1.5rem;
}

.escassez-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--branco);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.escassez-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ─── CTA FINAL ─── */
.cta-final {
  padding: 9rem 2.5rem;
  background: var(--areia-clara);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: 'BLUE BEACH';
  position: absolute;
  font-family: var(--font-display);
  font-size: 18vw;
  font-weight: 600;
  color: rgba(196,180,154,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

.cta-final-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-final .section-title { text-align: center; }
.cta-final .section-body {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.form-container {
  position: relative;
  background: var(--branco);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid rgba(196,180,154,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--texto-escuro);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.8rem;
  color: var(--texto-claro);
  margin-bottom: 1.5rem;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
  .form-group { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .cta-final { padding: 6rem 2.5rem; }
  .cta-final .section-body { margin: 0 auto 2rem; }
  .form-container { padding: 2rem; margin-bottom: 1rem; }
  .form-sub { margin-bottom: 1rem; }
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(196,180,154,0.4);
  border-radius: 2px;
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--texto-escuro);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.form-input::placeholder { color: var(--texto-claro); }
.form-input:focus {
  border-color: var(--ocean-medio);
  background: var(--branco);
}

.form-input-full { grid-column: 1 / -1; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: 0.78rem;
  margin-top: 0.6rem;
  text-align: center;
  min-height: 1.1em;
}
.form-status.is-error { color: #c0392b; }
.form-status.is-loading { color: var(--texto-claro); }

/* Perguntas qualificadoras (reproduzem o formulário instantâneo da Meta) — grupo de rádio
   estilizado como "pill" clicável, input real escondido mas acessível (foco/teclado/leitor
   de tela continuam funcionando via o <label for>). Cada pergunta é seu próprio passo do
   wizard (ver .form-wizard abaixo), por isso o rótulo tem peso de "título de tela", não de
   legenda pequena. */
.form-question {
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.form-question-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--texto-escuro);
  margin-bottom: 1.1rem;
  padding: 0;
}
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-radio-group input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-radio-option {
  display: block;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(196,180,154,0.4);
  border-radius: 4px;
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--texto-escuro);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
}
.form-radio-group input[type="radio"]:checked + .form-radio-option {
  border-color: var(--ocean-medio);
  background: var(--ocean-medio);
  color: var(--branco);
}
.form-radio-group input[type="radio"]:focus-visible + .form-radio-option {
  outline: 2px solid var(--ocean-medio);
  outline-offset: 2px;
}

/* ─── WIZARD (uma pergunta por vez, efeito de slide) ───────────────────────────────────────
   .form-wizard é a janela (recorta com overflow:hidden, anima a própria altura pra caber o
   passo atual); cada .form-step ocupa 100% da largura, empilhado via position:absolute, e
   desliza por transform (não afeta layout/scroll da página, só o que está dentro da janela
   recortada). JS (createStepWizard, main.js) troca as classes is-active/is-prev/is-next e
   define a altura a cada passo. */
.wizard-progress {
  height: 3px;
  background: rgba(196,180,154,0.25);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.wizard-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--ocean-medio);
  transition: width 0.35s ease;
}
.form-wizard {
  position: relative;
  overflow: hidden;
  transition: height 0.35s ease;
}
.form-step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.form-step.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.form-step.is-prev { transform: translateX(-100%); }
.form-step.is-next { transform: translateX(100%); }

.form-step-confirm {
  text-align: center;
  padding-top: 0.25rem;
}
.form-step-confirm-text {
  font-size: 0.85rem;
  color: var(--texto-claro);
  margin-bottom: 1.1rem;
}
.wizard-back {
  display: block;
  background: none;
  border: none;
  color: var(--texto-claro);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.3rem 0;
  margin-bottom: 0.6rem;
}
.wizard-back:hover { color: var(--texto-escuro); }
.wizard-back[hidden] { display: none; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 1.1rem 2rem;
  background: #25D366;
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 0.75rem;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

.cta-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  background: #25D366;
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}
.cta-wa-direct:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
footer {
  padding: 3rem 2.5rem;
  background: var(--texto-escuro);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.footer-info {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.8;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(201,168,76,0.3);
  margin: 1.2rem auto;
}

/* ─── WHATSAPP FLUTUANTE ─── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s, bottom 0.4s ease, opacity 0.3s;
  animation: waPulse 3s ease infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(37,211,102,0.6);
  animation: none;
}
.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.wa-float.wpp-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
}


/* ─── DIVISOR ELEGANTE ─── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 2.5rem;
  background: var(--areia-clara);
}
.divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pedra), transparent);
}
.divider-symbol {
  color: var(--dourado);
  font-size: 1.2rem;
}

/* ─── ANIMAÇÕES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}
@keyframes aguaOnda {
  0%, 100% { transform: scaleX(1) translateY(0); }
  50%       { transform: scaleX(1.08) translateY(-8px); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 35px rgba(37,211,102,0.65); }
}

/* ─── PROJETISTAS ─── */
.projetistas {
  padding: 6rem 2.5rem;
  background: var(--texto-escuro);
}
.projetistas-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .projetistas-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.projetistas .section-title { color: var(--branco); }
.projetistas .section-label { color: var(--dourado); }
.projetistas .section-body { color: rgba(255,255,255,0.55); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr; }
}
.proj-card {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  transition: background 0.3s, border-color 0.3s;
}
.proj-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.3);
}
.proj-role {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 0.5rem;
}
.proj-nome {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--branco);
  margin-bottom: 0.4rem;
}
.proj-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

/* ─── REVEAL ON SCROLL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ─── SIDE NAV DOTS ─── */
.side-nav {
  position: fixed;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  pointer-events: none;
}
.side-nav__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,168,76,0.28);
  border: 1px solid rgba(201,168,76,0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  pointer-events: all;
}
.side-nav__dot::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
}
.side-nav__dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, color 0.25s;
}
.side-nav.on-light .side-nav__dot::after {
  color: var(--ocean);
  text-shadow: 0 1px 6px rgba(255,255,255,0.65);
}
.side-nav__dot:hover::after, .side-nav__dot.active::after { opacity: 1; }
.side-nav__dot:hover, .side-nav__dot.active {
  background: var(--dourado);
  border-color: var(--dourado);
  transform: scale(1.4);
}
@media (max-width: 480px) {
  .side-nav { right: 0.55rem; gap: 0.75rem; }
  .side-nav__dot { width: 7px; height: 7px; }
  .side-nav__dot::after { display: none; }
}

/* ─── POPUP DE CAPTURA (WhatsApp) ─── */
.wa-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(26,22,20,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.wa-popup-backdrop[hidden] { display: none; }
.wa-popup {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--branco);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.wa-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--texto-claro);
  cursor: pointer;
  padding: 0.3rem;
}
.wa-popup-close:hover { color: var(--texto-escuro); }
.wa-popup .form-group { grid-template-columns: 1fr; }

/* ─── MOBILE ─── */
@media (max-width: 640px) {
  #navbar { padding: 0.65rem 1.5rem; }
  #navbar.scrolled { padding: 0.5rem 1.5rem; }
  .hero-content { padding: 0 1.5rem 5rem; }
  .lifestyle, .localizacao-inner, .clube-header,
  .familia-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .torres-grid { grid-template-columns: 1fr; }
  .atividades-row { grid-template-columns: repeat(3, 1fr); }
  .praias-grid { grid-template-columns: 1fr; }
  .form-group { grid-template-columns: 1fr; }
}
