:root {
  --bg: #E7DECC;         /* base areia/taupe, um tom acima do areia puro */
  --surface: #F6F1E7;    /* cartão off-white quente */
  --ink: #2B2621;        /* texto grafite quente */
  --accent: #A8794E;     /* bronze/dourado queimado */
  --dusk: #16181D;       /* escuro reservado pra seção do pôr do sol */
  --dusk-ink: #ECE6DA;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2 { font-family: var(--serif); font-weight: 500; margin: 0 0 0.4em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9em;
}
.eyebrow--light { color: #F0E4CE; }
.eyebrow--center { text-align: center; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 30ch; }
.section-title--light { color: var(--dusk-ink); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: #FBF7EF; }
.btn--primary:hover { background: #916740; }
.btn--block { width: 100%; text-align: center; }

/* Topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  font-family: var(--serif);
}
.topbar__name { color: #FBF7EF; font-size: 1.1rem; letter-spacing: 0.02em; }
.topbar__cta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: #16181D;
  background: rgba(251,247,239,0.9);
  padding: 0.55em 1.2em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,18,0.35) 0%, rgba(20,20,18,0.15) 40%, rgba(20,20,18,0.55) 100%);
}
.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #FBF7EF;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); color: #FBF7EF; }
.hero__sub { max-width: 46ch; margin: 0 auto 1.6em; font-size: 1.05rem; color: #F0E4CE; }

/* Galeria em sequência (marquee) */
.strip { overflow: hidden; background: var(--surface); padding: 0.5rem 0; }
.strip__track {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  animation: scroll-left 60s linear infinite;
}
.strip__track img { height: 260px; width: auto; border-radius: 4px; flex: none; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.strip:hover .strip__track { animation-play-state: paused; }

/* Blocos de texto (imóvel / localização / condomínio) */
.textblock { padding: clamp(3rem, 8vw, 5rem) 1.5rem; text-align: center; }
.textblock--surface { background: var(--surface); }
.textblock__body { max-width: 620px; margin: 2rem auto 0; text-align: left; }
.textblock__body p { margin: 0 0 1.1em; }
.textblock__body p:last-of-type { margin-bottom: 0; }
.textblock__body .feature__stats { justify-content: center; margin-top: 2rem; }

.feature__stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(43,38,33,0.15);
}
.feature__stats strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--accent); }
.feature__stats span { font-size: 0.8rem; letter-spacing: 0.04em; opacity: 0.75; }

/* Ambientes (marquee com legenda) */
.ambientes { padding: clamp(3rem, 8vw, 6rem) 0; text-align: center; overflow: hidden; }
.ambientes__track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  margin-top: 2.5rem;
  padding: 0 1.5rem;
  animation: scroll-left 50s linear infinite;
}
.ambientes__track figure { margin: 0; flex: none; width: 260px; text-align: left; }
.ambientes__track img { border-radius: 6px; height: 320px; object-fit: cover; width: 260px; }
.ambientes__track figcaption {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}
.ambientes:hover .ambientes__track { animation-play-state: paused; }

/* Áreas comuns (grid estático, foto + legenda) */
.condominio { background: var(--surface); padding: clamp(3rem, 8vw, 6rem) 1.5rem; text-align: center; }
.condominio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}
.condominio__grid figure { margin: 0; }
.condominio__grid img { border-radius: 6px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.condominio__grid figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

/* Pôr do sol */
.sunset { background: var(--dusk); color: var(--dusk-ink); padding: clamp(3rem, 8vw, 6rem) 1.5rem; text-align: center; }
.sunset__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}
.sunset__grid img { border-radius: 6px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Contato */
.contato { padding: clamp(3rem, 8vw, 6rem) 1.5rem; text-align: center; }
.contato__sub { max-width: 40ch; margin: 0 auto 2rem; opacity: 0.85; }
.form-contato {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.form-contato input[type="text"],
.form-contato input[type="email"],
.form-contato input[type="tel"] {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.9em 1.1em;
  border-radius: 8px;
  border: 1px solid rgba(43,38,33,0.25);
  background: var(--surface);
  color: var(--ink);
}
.form-contato input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Rodapé */
.rodape {
  background: var(--dusk);
  color: rgba(236,230,218,0.7);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.82rem;
}
.rodape p { margin: 0.3em 0; }

/* Mobile */
@media (max-width: 860px) {
  .condominio__grid { grid-template-columns: repeat(2, 1fr); }
  .sunset__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__track img { height: 190px; }
}
@media (max-width: 480px) {
  .topbar__name { font-size: 0.95rem; }
  .topbar__cta { font-size: 0.78rem; padding: 0.5em 1em; }
}
