/* =========================================================
   Reserva do Parque — landing de empreendimento
   Identidade Cullinan Imóveis (preto + dourado, serifada)
   HTML/CSS/JS puro — sem build. Pareado com ../assets/styles.css
   ========================================================= */

:root {
  --preto: #0b0b0c;
  --preto-2: #141416;
  --preto-3: #1d1d20;
  --dourado: #c7a049;
  --dourado-claro: #e6cf9c;
  --marfim: #f4f1ea;
  --marfim-2: #faf8f3;
  --branco: #ffffff;
  --cinza: #8c887f;
  --cinza-2: #6d6a63;
  --texto: #26241f;
  --texto-suave: #5b574e;
  --linha-ouro: rgba(199, 160, 73, 0.28);
  --linha-clara: rgba(20, 20, 22, 0.10);
  --sombra: 0 24px 60px -28px rgba(11, 11, 12, 0.35);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body {
  background: var(--marfim-2);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

/* ---------- utilitários ---------- */

.container { width: min(1180px, 92vw); margin-inline: auto; }

.section { padding: clamp(60px, 9vw, 116px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section--dark {
  background: radial-gradient(130% 120% at 50% 0%, var(--preto-2) 0%, var(--preto) 62%);
  color: var(--marfim);
}
.section--ink { background: var(--preto); color: var(--marfim); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dourado);
  font-weight: 400;
  margin-bottom: 18px;
}
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--dourado-claro); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: 0.005em;
  color: var(--preto);
  max-width: 22ch;
}
.section--dark .h2, .section--ink .h2 { color: var(--marfim); }

.lead {
  margin-top: 20px;
  font-size: 1.03rem;
  color: var(--texto-suave);
  max-width: 56ch;
}
.section--dark .lead, .section--ink .lead { color: #cfc9bd; }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { text-align: center; }
.section-head--center .h2, .section-head--center .lead { margin-inline: auto; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--dourado); color: var(--preto); }
.btn--gold:hover { background: var(--dourado-claro); }

.btn--ghost { border-color: var(--dourado); color: var(--dourado); background: transparent; }
.btn--ghost:hover { background: var(--dourado); color: var(--preto); }

.btn--block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px min(4vw, 40px);
  background: rgba(11, 11, 12, 0.0);
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(8px);
  padding-block: 10px;
  box-shadow: 0 1px 0 var(--linha-ouro);
}

.site-header__logo { display: flex; }
.site-header__logo img { height: 42px; width: auto; }
.site-header.is-stuck .site-header__logo img { height: 36px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--marfim);
  opacity: 0.82;
  transition: opacity .2s ease, color .2s ease;
}
.nav a:hover { opacity: 1; color: var(--dourado-claro); }

.nav__cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--linha-ouro);
  background: transparent;
  color: var(--marfim);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(120px, 17vh, 190px) 0 clamp(60px, 9vw, 110px);
  background: radial-gradient(120% 90% at 15% 10%, var(--preto-2) 0%, var(--preto) 60%);
  color: var(--marfim);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(199,160,73,0.14) 0%, rgba(199,160,73,0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__grid > * { min-width: 0; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--linha-ouro);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dourado-claro);
}
.hero__badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dourado);
  box-shadow: 0 0 0 4px rgba(199,160,73,0.2);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.9rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero__sub {
  margin-top: 14px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--dourado-claro);
  letter-spacing: 0.04em;
}

.hero__stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: min(520px, 100%);
}
.hero__stat {
  border: 1px solid var(--linha-ouro);
  padding: 14px 10px;
  text-align: center;
}
.hero__stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dourado);
}
.hero__stat span {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cinza);
  margin-top: 4px;
}

.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__figure {
  position: relative;
  border: 1px solid var(--linha-ouro);
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.hero__slider {
  position: relative;
  width: 100%;
  height: clamp(300px, 42vw, 460px);
  overflow: hidden;
  background: var(--preto-2);
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero__figure figcaption {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 3;
  background: rgba(11,11,12,0.78);
  color: var(--dourado-claro);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.hero__dots {
  position: absolute;
  right: 22px; bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 1px solid var(--dourado);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .25s ease;
}
.hero__dot.is-active { background: var(--dourado); }

/* ---------- empreendimento ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split > * { min-width: 0; }

.mini-stats {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.mini-stats div { min-width: 96px; }
.mini-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--preto);
}
.mini-stats span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinza);
}

.framed {
  border: 1px solid var(--linha-ouro);
  padding: 12px;
  background: var(--branco);
  box-shadow: var(--sombra);
}
.framed img { width: 100%; height: clamp(300px, 40vw, 440px); object-fit: cover; }

/* ---------- plantas ---------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.tab {
  flex: 1 1 auto;
  padding: 12px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--linha-clara);
  background: var(--branco);
  color: var(--texto-suave);
  cursor: pointer;
  transition: all .2s ease;
}
.tab:hover { border-color: var(--dourado); color: var(--preto); }
.tab.is-active { background: var(--preto); color: var(--marfim); border-color: var(--preto); }

.planta {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--branco);
  border: 1px solid var(--linha-clara);
  padding: clamp(20px, 3vw, 40px);
  box-shadow: var(--sombra);
}
.planta.is-active { display: grid; }
.planta__img { cursor: zoom-in; background: var(--marfim-2); border: 1px solid var(--linha-clara); }
.planta__img img { width: 100%; height: clamp(280px, 38vw, 420px); object-fit: contain; padding: 12px; }
.planta h3 { font-size: 1.7rem; color: var(--preto); }
.planta__tag { color: var(--dourado); font-size: 0.9rem; letter-spacing: 0.04em; margin: 6px 0 18px; }
.planta ul { list-style: none; display: grid; gap: 12px; }
.planta li { position: relative; padding-left: 26px; color: var(--texto-suave); font-size: 0.96rem; }
.planta li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--dourado);
  border-bottom: 2px solid var(--dourado);
  transform: rotate(-45deg);
}
.note {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--cinza);
  letter-spacing: 0.02em;
}

/* ---------- galeria de lazer ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--linha-clara);
  aspect-ratio: 4 / 3;
  background: var(--preto-2);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tile:hover img { transform: scale(1.05); }
.tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(11,11,12,0.9) 0%, rgba(11,11,12,0) 100%);
  color: var(--marfim);
}
.tile__cap b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.tile__cap span { font-size: 0.78rem; color: #cfc9bd; }

/* ---------- obras ---------- */

.obras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.obra { border: 1px solid var(--linha-ouro); background: rgba(255,255,255,0.02); }
.obra img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; cursor: zoom-in; }
.obra__body { padding: 18px 20px 22px; }
.obra__body b { font-family: var(--serif); font-size: 1.2rem; color: var(--marfim); }
.obra__body span { display: block; font-size: 0.85rem; color: #bdb8ac; margin-top: 4px; }

/* ---------- campanha / brindes ---------- */

.brindes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.brinde {
  background: var(--branco);
  border: 1px solid var(--linha-clara);
  display: flex;
  flex-direction: column;
}
.brinde__media {
  aspect-ratio: 1 / 1;
  min-height: 210px;
  background: var(--marfim-2);
  border-bottom: 1px solid var(--linha-clara);
  display: flex; align-items: center; justify-content: center;
}
.brinde__media img { width: 100%; height: 100%; object-fit: cover; }
.brinde__media--seal {
  background: radial-gradient(120% 120% at 50% 0%, var(--preto-2), var(--preto));
  color: var(--dourado);
}
.brinde__media--seal svg { width: 100%; height: 100%; padding: 14px; }
.brinde__media--seal .seal-top,
.brinde__media--seal .seal-bottom {
  fill: var(--dourado-claro);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.brinde__media--seal .seal-value {
  fill: var(--dourado);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}
.brinde__media--seal .seal-sub {
  fill: var(--dourado-claro);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 3px;
}
.brinde__body { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.brinde__body h4 { font-size: 1.2rem; color: var(--preto); margin-bottom: 8px; }
.brinde__body p { font-size: 0.88rem; color: var(--texto-suave); }
.brinde__tag {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dourado);
}
.campanha__cta { margin-top: 40px; text-align: center; }

/* ---------- diferenciais ---------- */

.difs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.dif {
  border: 1px solid var(--linha-ouro);
  padding: 24px 22px 26px;
  background: rgba(255,255,255,0.02);
}
.dif svg { width: 26px; height: 26px; color: var(--dourado); margin-bottom: 14px; }
.dif b { font-family: var(--serif); font-size: 1.18rem; color: var(--marfim); }
.dif span { display: block; font-size: 0.85rem; color: #bdb8ac; margin-top: 5px; }
.difs__more {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--cinza);
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
}

/* ---------- localização ---------- */

.local__map {
  border: 1px solid var(--linha-clara);
  box-shadow: var(--sombra);
  min-height: 340px;
  background: var(--marfim);
}
.local__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.local__list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.local__list li { position: relative; padding-left: 30px; color: var(--texto-suave); }
.local__list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  background: var(--dourado);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

/* ---------- formulário ---------- */

.form-wrap {
  background: var(--branco);
  border: 1px solid var(--linha-clara);
  box-shadow: var(--sombra);
  padding: clamp(26px, 4vw, 52px);
  max-width: 720px;
  margin-inline: auto;
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--texto);
  padding: 13px 14px;
  border: 1px solid var(--linha-clara);
  background: var(--marfim-2);
  border-radius: 0;
  transition: border-color .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--dourado); }
.field textarea { resize: vertical; min-height: 96px; }
.form-wrap .btn { margin-top: 26px; }
.form-consent {
  margin-top: 18px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--cinza);
}
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.is-visible { display: block; }
.form-success b { font-family: var(--serif); font-size: 1.6rem; color: var(--preto); display: block; margin-bottom: 8px; }
.form-success p { color: var(--texto-suave); }
.form-success__redirect { margin-top: 14px; font-size: 0.85rem; opacity: 0.75; }

/* ---------- faq ---------- */

.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--linha-clara);
  padding: 8px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 40px 16px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--preto);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--dourado);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  padding: 0 20px 20px 0;
  color: var(--texto-suave);
  font-size: 0.96rem;
}

/* ---------- footer ---------- */

.site-footer { background: var(--preto); color: #a7a299; padding: clamp(56px, 8vw, 92px) 0 40px; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__logo { height: 54px; width: auto; margin-bottom: 20px; }
.site-footer h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  margin-bottom: 16px;
  font-weight: 400;
}
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--dourado-claro); }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 0.9rem; }
.site-footer__legal {
  padding-top: 28px;
  font-size: 0.72rem;
  line-height: 1.75;
  color: #726d64;
  display: grid;
  gap: 12px;
}
.site-footer__legal strong { color: #a7a299; font-weight: 400; }

/* ---------- whatsapp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 55;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { transform: scale(1.06); background: #1ebe5d; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 9, 0.92);
  padding: 5vw;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid var(--linha-ouro);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--linha-ouro);
  color: var(--marfim);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- responsivo ---------- */

@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open { background: rgba(11,11,12,0.97); }
  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px min(4vw, 40px) 28px;
    border-top: 1px solid var(--linha-ouro);
  }
  .site-header.nav-open .nav a { padding: 10px 0; }
  .site-header.nav-open .nav__cta { margin-top: 10px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__figure { order: -1; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .planta, .planta.is-active { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obras { grid-template-columns: minmax(0, 1fr); }
  .brindes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .difs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 560px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .brindes { grid-template-columns: minmax(0, 1fr); }
  .difs { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .btn { padding-inline: 22px; letter-spacing: 0.14em; text-align: center; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .tab { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
