:root {
  /* Neutros */
  --white: #ffffff;
  --off-white: #f6f6f6;
  --paper: #fbfaf6;
  --black: #000000;
  --graphite: #242424;
  --ink: #1b1b1b; /* fundo dos CTAs (extensão do imóvel) */
  --ink-deep: #111111;
  --muted: #6e6a61;

  /* Acento único da marca: champagne/ouro */
  --champagne: #d2c68f;
  --champagne-dark: #b0a77b;
  --champagne-text: #7a713f; /* dourado escuro p/ TEXTO sobre fundos claros (contraste AA) */
  --accent: var(--champagne-dark); /* ícones, markers, hairlines */

  /* Estado de erro (acento pontual) */
  --red: #d61c06;

  /* Linhas e molduras */
  --border: rgba(176, 167, 123, 0.38);
  --hairline: rgba(176, 167, 123, 0.55);

  /* Sombras */
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.14);
  --ring-gold: 0 0 0 1px var(--champagne), 0 14px 30px rgba(176, 167, 123, 0.28);

  /* Display (títulos e numerais) em Poppins — harmoniza com o wordmark Cidades */
  --display: "Poppins", "Sora", Arial, sans-serif;
  --serif: var(--display); /* alias retrocompatível */
  --sans: "Sora", Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
footer {
  scroll-margin-top: 124px;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

/* ---------- Textura global (grão finíssimo; sem blend para não custar GPU no scroll) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(210, 198, 143, 0.4);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--champagne-text);
  outline-offset: 3px;
}

/* ---------- Scroll reveal / movimento entre seções (só com JS) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Direções (composição "mecânica" — elementos entram de lados diferentes) */
.js [data-reveal][data-anim="left"] {
  transform: translateX(-52px);
}
.js [data-reveal][data-anim="right"] {
  transform: translateX(52px);
}
.js [data-reveal][data-anim="zoom"] {
  transform: scale(0.92);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto; /* libera a camada de GPU depois que o reveal termina */
}

/* Stagger interno de grades reveladas como bloco (números, distâncias) */
.js .quick-proof[data-reveal] .stat,
.js .distance-grid[data-reveal] > div {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js .quick-proof.is-visible .stat,
.js .distance-grid.is-visible > div {
  opacity: 1;
  transform: none;
}
.js .quick-proof.is-visible .stat:nth-child(1),
.js .distance-grid.is-visible > div:nth-child(1) { transition-delay: 60ms; }
.js .quick-proof.is-visible .stat:nth-child(2),
.js .distance-grid.is-visible > div:nth-child(2) { transition-delay: 140ms; }
.js .quick-proof.is-visible .stat:nth-child(3),
.js .distance-grid.is-visible > div:nth-child(3) { transition-delay: 220ms; }
.js .quick-proof.is-visible .stat:nth-child(4),
.js .distance-grid.is-visible > div:nth-child(4) { transition-delay: 300ms; }
.js .quick-proof.is-visible .stat:nth-child(5) { transition-delay: 380ms; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal],
  .js .quick-proof .stat,
  .js .distance-grid > div {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media,
  .whatsapp-float,
  .wa-dot {
    animation: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px 34px;
  background: rgba(18, 18, 18, 0.72);
  border-bottom: 1px solid rgba(210, 198, 143, 0.26);
  backdrop-filter: blur(18px);
  transition: min-height 240ms ease, background 240ms ease, box-shadow 240ms ease,
    border-color 240ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(14, 14, 14, 0.92);
  border-bottom-color: rgba(210, 198, 143, 0.4);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
}

/* Altura contida: deixa o header respeitar os 74px/64px e o shrink no scroll funcionar */
.brand img {
  width: auto;
  height: 50px;
  transition: height 240ms ease;
}

.site-header.is-scrolled .brand img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

/* Sublinhado fora do fluxo: não desloca os itens vizinhos no hover */
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--champagne-dark);
  transition: width 180ms ease;
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after {
  width: 22px;
}

.nav-cta,
.button {
  border-radius: 6px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-cta {
  padding: 10px 16px;
  background: linear-gradient(135deg, #e0d49b 0%, #c2ad6a 100%);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px rgba(176, 167, 123, 0.32);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: linear-gradient(135deg, #e8dca6 0%, #cdb877 100%);
  border-color: var(--white);
  transform: translateY(-1px);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-form:hover,
.button-form:focus-visible {
  background: var(--ink-deep);
  border-color: var(--champagne);
  box-shadow: var(--ring-gold);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: 1px solid rgba(210, 198, 143, 0.45);
  border-radius: 6px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 92svh;
  padding: 130px 7vw 96px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* O take de drone agora é o próprio vídeo — sem animação CSS por cima */
.hero-media {
  object-fit: cover;
  object-position: center;
}

/* Overlay limpo: só o degradê de legibilidade (sem padrão por cima do vídeo) */
.hero-overlay {
  background: linear-gradient(
      105deg,
      rgba(10, 12, 14, 0.72) 0%,
      rgba(10, 12, 14, 0.36) 46%,
      rgba(0, 0, 0, 0.1) 76%
    ),
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
}

/* Entrada do conteúdo do hero ("composição" ao carregar) */
.js .hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.js .hero-content > .eyebrow-chip { animation-delay: 120ms; }
.js .hero-content > .hero-brand { animation-delay: 240ms; }
.js .hero-content > h1 { animation-delay: 330ms; }
.js .hero-content > .hero-subtitle { animation-delay: 430ms; }
.js .hero-content > .hero-copy { animation-delay: 520ms; }
.js .hero-content > .hero-actions { animation-delay: 640ms; }
.js .hero-content > .hero-tags { animation-delay: 760ms; }

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-content > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Eyebrow do hero como selo: caixa preta, fonte branca */
.eyebrow-chip {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 15px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(210, 198, 143, 0.5);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Marca do hero: "Maranello" com corpo + "Residence" cursivo dourado.
   Não é o H1 — o H1 carrega os termos de busca (ver .hero-h1). */
.hero-brand {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

/* H1 real: termos que as pessoas buscam. Fica abaixo da marca, com peso
   menor que ela para não competir com o nome do empreendimento no hero. */
.hero-h1 {
  max-width: 700px;
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  overflow-wrap: break-word;
}

.h1-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 4.2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.h1-script {
  margin-top: -0.12em;
  font-family: "Great Vibes", "Pinyon Script", cursive;
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--champagne);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.has-marker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow.has-marker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.eyebrow.dark {
  color: var(--champagne-text);
}

.eyebrow.light {
  color: var(--champagne);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  margin-bottom: 22px;
  font-size: 4.05rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.02;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.32);
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 24px;
  font-size: 2.65rem;
  letter-spacing: -0.018em;
  color: var(--graphite);
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: 1.3rem;
  font-weight: 500;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button svg,
.nav-cta svg,
.inline-link svg,
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

/* Glifo oficial do WhatsApp (preenchido) — alinhado ao texto */
.ico-whatsapp {
  display: block;
  flex: none;
}

.button .ico-whatsapp {
  width: 19px;
  height: 19px;
  margin-top: 1px;
}

.button-primary,
.button-form {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(210, 198, 143, 0.72);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(210, 198, 143, 0.18);
  border-color: var(--champagne);
  transform: translateY(-1px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-tags li {
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(210, 198, 143, 0.62);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(2px);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 1;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid rgba(210, 198, 143, 0.7);
  border-radius: 14px;
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: var(--champagne);
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ---------- Quick proof ---------- */
.quick-proof {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--champagne);
  border-top: 1px solid var(--champagne);
  border-bottom: 1px solid var(--champagne);
}

.stat {
  min-height: 148px;
  padding: 30px 26px;
  background: var(--paper);
  transition: background 220ms ease;
}

.stat:hover {
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--black);
  font-family: var(--serif);
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  max-width: 190px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 7vw;
  border-top: 1px solid var(--border); /* fio condutor champagne entre seções */
}

.split-section,
.interior-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: 66px;
  align-items: center;
  background: var(--off-white);
}

.section-copy {
  max-width: 620px;
}

.section-copy p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-list span {
  padding-left: 16px;
  border-left: 2px solid var(--champagne);
  color: var(--graphite);
  font-size: 0.92rem;
}

.image-frame,
.wide-media,
.location-map {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-frame:hover img,
.wide-media:hover img {
  transform: scale(1.035);
}

/* Parallax das imagens editoriais (profundidade ao rolar; JS move no eixo Y).
   A base com leve zoom garante cobertura durante o deslocamento. */
.js img[data-parallax] {
  transform: scale(1.12);
  transition: none;
  will-change: transform;
}
.js .image-frame:hover img[data-parallax],
.js .wide-media:hover img[data-parallax] {
  transform: scale(1.12);
}

.features-section,
.apartment-section,
.faq-section {
  background: var(--paper);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-heading p {
  max-width: 720px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature {
  min-height: 214px;
  padding: 30px 28px;
  background: var(--white);
  transition: background 220ms ease, transform 220ms ease;
}

.feature:hover {
  background: var(--paper);
}

.feature svg,
.sustainability-items svg {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  color: var(--accent);
  stroke-width: 1.5;
}

.feature p,
.unit-content p,
.sustainability-items p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Rooftop / lazer ---------- */
.media-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
  background: var(--off-white);
}

.wide-media img,
.wide-media video {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.amenities li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--graphite);
  font-size: 0.9rem;
}

.amenities li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  background: var(--champagne);
  transform: rotate(45deg);
}

/* ---------- Apartments ---------- */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.unit-card {
  display: grid;
  grid-template-rows: 282px auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.unit-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
}

.unit-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--off-white);
}

.unit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-card:hover img {
  transform: scale(1.04);
}

.unit-content {
  padding: 28px;
}

.unit-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--champagne-text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.unit-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.unit-specs li {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.unit-specs strong {
  display: block;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
}

/* ---------- Interior band ---------- */
.interior-band {
  background: var(--off-white);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 4px;
  color: var(--graphite);
  border-bottom: 1px solid var(--champagne);
  font-weight: 700;
  transition: color 200ms ease, border-color 200ms ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--champagne-text);
  border-color: var(--champagne-dark);
}

.inline-link svg {
  transition: transform 200ms ease;
}

.inline-link:hover svg,
.inline-link:focus-visible svg {
  transform: translateX(4px);
}

/* ---------- Location ---------- */
.location-section {
  background: var(--white);
}

.location-map img {
  width: 100%;
  height: auto;
  display: block;
}

.location-map figcaption {
  padding: 12px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border);
  background: var(--paper);
}

.distance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: var(--champagne);
  border: 1px solid var(--champagne);
}

.distance-grid div {
  min-height: 138px;
  padding: 24px 22px;
  background: var(--paper);
}

.sustainability-items svg {
  color: var(--champagne);
}

.distance-grid svg {
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: var(--accent);
  stroke-width: 1.5;
}

.distance-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.distance-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Dark sections ---------- */
.sustainability-section,
.contact-section,
.site-footer {
  position: relative;
  background-color: var(--black);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='66'%3E%3Cg fill='none' stroke='%23d2c68f' stroke-width='1' stroke-opacity='0.42'%3E%3Cpath d='M33 9 L57 33 L33 57 L9 33 Z'/%3E%3Cpath d='M0 0 L9 9 M66 0 L57 9 M0 66 L9 57 M66 66 L57 57'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 66px 66px;
  color: var(--white);
}

.sustainability-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 66px;
  align-items: center;
  border-bottom: 1px solid rgba(210, 198, 143, 0.28);
}

.sustainability-section h2,
.contact-section h2 {
  color: var(--white);
}

.sustainability-section .section-copy p,
.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.sustainability-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(210, 198, 143, 0.42);
  border: 1px solid rgba(210, 198, 143, 0.42);
}

.sustainability-items article {
  min-height: 252px;
  padding: 34px 32px;
  background: #121212;
}

.sustainability-items h3 {
  color: var(--white);
}

.sustainability-items p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Contact ---------- */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: 72px;
  align-items: start;
}

.contact-copy {
  max-width: 620px;
}

.contact-assurances {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-assurances li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.contact-assurances svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--champagne);
  stroke-width: 2.4;
}

.contact-signature {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(210, 198, 143, 0.28);
}

.contact-signature span,
.footer-cidades span {
  display: block;
  margin-bottom: 12px;
  color: var(--champagne);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-signature img {
  width: 230px;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
}

/* ---------- Mapa do plantão de vendas (contato) ---------- */
.contact-map {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.contact-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 20px;
}

.contact-map-head h3 {
  margin-top: 8px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
}

.map-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--champagne);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease;
}

.map-route:hover,
.map-route:focus-visible {
  color: var(--white);
}

.map-route svg {
  flex: none;
}

.map-embed {
  position: relative;
  height: clamp(300px, 30vw, 420px);
  border: 1px solid var(--champagne);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lead-form {
  padding: 36px;
  background: var(--paper);
  color: var(--graphite);
  border: 1px solid var(--champagne);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid rgba(36, 36, 36, 0.18);
  border-radius: 6px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: var(--muted);
}

.field input:focus {
  border-color: var(--champagne-text);
  box-shadow: 0 0 0 3px rgba(176, 167, 123, 0.3);
}

.field input[aria-invalid="true"] {
  border-color: var(--red);
}

.field-error {
  min-height: 18px;
  color: var(--red);
  font-size: 0.76rem;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin: 8px 0 2px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}

.consent-error {
  display: block;
  margin-bottom: 18px;
}

.button-form {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.form-feedback {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--champagne-text);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 930px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 200ms ease;
}

.faq-list details[open] {
  border-color: var(--hairline);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 20px 24px;
  color: var(--graphite);
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--champagne-text);
  transition: transform 200ms ease;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details[open] summary {
  color: var(--black);
  border-bottom: 1px solid var(--border);
}

.faq-list p {
  padding: 18px 24px 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: end;
  padding: 58px 7vw 42px;
  border-top: 1px solid rgba(210, 198, 143, 0.28);
}

.footer-brand img {
  width: 184px;
  height: auto;
}

.footer-brand p {
  max-width: 360px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.footer-brand p .gold {
  color: var(--champagne);
  font-weight: 600;
}

.footer-cidades {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 14px;
  padding: 22px 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(210, 198, 143, 0.55);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.footer-cidades span {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.footer-cidades img {
  width: 230px;
  max-height: 76px;
  object-fit: contain;
  object-position: center;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(210, 198, 143, 0.22);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--champagne);
}

.footer-legal {
  flex: 1 1 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  line-height: 1.55;
  text-align: right;
}

/* ---------- WhatsApp float (dourado + branco, pulando) ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 20px 0 16px;
  color: var(--ink); /* texto escuro: contraste AA sobre o dourado */
  background: linear-gradient(135deg, #e0d49b 0%, #c2ad6a 52%, #a8945a 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(168, 148, 90, 0.4), 0 2px 0 rgba(255, 255, 255, 0.25) inset;
  font-size: 0.9rem;
  font-weight: 600;
  animation: waBounce 2.2s ease-in-out infinite;
  transition: box-shadow 200ms ease, filter 200ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  filter: brightness(1.05);
  box-shadow: 0 20px 42px rgba(168, 148, 90, 0.52), 0 0 0 4px rgba(210, 198, 143, 0.3);
}

/* Ícone do WhatsApp em disco branco translúcido */
.wa-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.whatsapp-float .wa-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
  stroke-width: 2;
}

/* Selo "disponível" — ponto verde com anel pulsando (só transform/opacity: sem repaint) */
.wa-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #fff;
}

.wa-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: waDotRing 1.8s ease-out infinite;
}

.wa-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.16;
  letter-spacing: 0.005em;
  text-align: left;
}

.wa-text span {
  white-space: nowrap;
}

.wa-text span:first-child {
  font-weight: 500;
}

.wa-text span:last-child {
  font-size: 0.74em;
  opacity: 0.92;
}

.wa-text strong {
  font-weight: 700;
}

@keyframes waBounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  72% {
    transform: translateY(-7px);
  }
  84% {
    transform: translateY(-3px);
  }
}

@keyframes waDotRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70%,
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
  .wa-dot::after {
    animation: none;
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .quick-proof,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-proof .stat:last-child {
    grid-column: span 2;
  }

  .split-section,
  .media-section,
  .interior-band,
  .sustainability-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .media-copy {
    max-width: 760px;
  }

  .distance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 10px 18px;
  }

  .brand img {
    height: 44px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    color: var(--graphite);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: space-between;
    padding: 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  .hero {
    min-height: 88svh;
    padding: 128px 24px 72px;
  }

  h1 {
    font-size: 3rem;
  }

  .h1-name {
    font-size: 2.9rem;
  }

  .h1-script {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2.32rem;
  }

  .hero-subtitle {
    font-size: 1.06rem;
  }

  .section {
    padding: 80px 24px;
  }

  .image-frame img,
  .wide-media img,
  .wide-media video {
    min-height: 0;
    height: 380px;
  }

  .location-map img {
    height: 260px;
    object-fit: cover;
    object-position: center;
  }

  .unit-grid,
  .sustainability-items {
    grid-template-columns: 1fr;
  }

  .unit-card {
    grid-template-rows: 240px auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-cidades {
    align-self: start;
  }

  .footer-legal {
    flex-basis: 100%;
    text-align: left;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 86svh;
  }

  h1 {
    font-size: 2.4rem;
  }

  .h1-name {
    font-size: 2.3rem;
  }

  .h1-script {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-tags,
  .amenities,
  .quick-proof,
  .feature-grid,
  .distance-grid {
    grid-template-columns: 1fr;
  }

  .hero-tags {
    display: grid;
  }

  .hero-scroll {
    display: none;
  }

  .quick-proof .stat:last-child {
    grid-column: auto;
  }

  .stat {
    min-height: 118px;
  }

  .feature {
    min-height: auto;
  }

  .lead-form {
    padding: 24px;
  }

  /* Reserva espaço para o botão flutuante não cobrir o texto legal */
  .site-footer {
    padding-bottom: 110px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    gap: 9px;
    padding: 0 16px 0 12px;
    font-size: 0.8rem;
  }

  .whatsapp-float .wa-icon {
    width: 32px;
    height: 32px;
  }

  .whatsapp-float .wa-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Zoom (plantas dos apartamentos) ---------- */
.zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--off-white);
  cursor: zoom-in;
}

.zoom-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-card:hover .zoom-trigger img {
  transform: scale(1.04);
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid rgba(210, 198, 143, 0.5);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.zoom-trigger:hover .zoom-hint,
.zoom-trigger:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .zoom-hint {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Lightbox (ampliação de imagem) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(8, 9, 10, 0.92);
  backdrop-filter: blur(6px);
  animation: lbFade 220ms ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 94vw;
  max-height: 92vh;
}

.lightbox-figure img {
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: 84vh;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(210, 198, 143, 0.4);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: var(--champagne);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(210, 198, 143, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms ease, transform 220ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(210, 198, 143, 0.22);
  transform: rotate(90deg);
}

/* ---------- Carrossel (conforto interno) ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .carousel-track {
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.carousel-arrow,
.carousel-expand {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(210, 198, 143, 0.5);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 180ms ease, border-color 180ms ease;
}

.carousel-arrow {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible,
.carousel-expand:hover,
.carousel-expand:focus-visible {
  background: rgba(18, 18, 18, 0.85);
  border-color: var(--champagne);
}

.carousel-arrow.prev {
  left: 14px;
}

.carousel-arrow.next {
  right: 14px;
}

.carousel-expand {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2px;
}

/* Alvo de toque de 28px; o ponto visível de 8px é desenhado no ::before */
.carousel-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: background 200ms ease, width 200ms ease, border-radius 200ms ease;
}

.carousel-dot[aria-current="true"]::before {
  width: 22px;
  border-radius: 5px;
  background: var(--champagne);
}

@media (max-width: 560px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  .zoom-hint {
    font-size: 0.7rem;
  }
}
