:root {
  --forest: #16342b;
  --forest-deep: #0d261f;
  --forest-soft: #355a4b;
  --gold: #d8ba7b;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --ink: #20322b;
  --muted: #6f7a74;
  --line: rgba(32, 50, 43, 0.16);
  --serif: "Gilda Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(22, 52, 43, 0.08);
  display: flex;
  height: 78px;
  justify-content: space-between;
  padding: 10px clamp(22px, 5vw, 82px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand img { height: 54px; width: auto; }
.button {
  align-items: center;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 54px;
  padding: 14px 26px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { background: transparent; color: var(--forest); transform: translateY(-2px); }
.button--small { min-height: 44px; padding: 10px 22px; }

.hero { background: var(--forest-deep); overflow: hidden; position: relative; }
.hero picture, .hero img { width: 100%; }
.hero__cta {
  background: rgba(244, 240, 231, 0.94);
  border-radius: 999px;
  bottom: 30px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 14px 22px;
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  text-decoration: none;
  text-transform: uppercase;
}

.quick-facts {
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(22px, 5vw, 82px);
}
.quick-facts article { border-right: 1px solid var(--line); padding: 30px 24px; }
.quick-facts article:first-child { padding-left: 0; }
.quick-facts article:last-child { border: 0; }
.quick-facts strong { display: block; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 400; }
.quick-facts span { color: var(--muted); display: block; font-size: 0.8rem; margin-top: 3px; }

.section { margin: 0 auto; max-width: 1320px; padding: clamp(80px, 9vw, 140px) clamp(22px, 5vw, 72px); }
.eyebrow { color: #8a6d36; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; margin-bottom: 22px; text-transform: uppercase; }
.eyebrow--light { color: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(3rem, 6vw, 6.7rem); max-width: 780px; }
h2 { font-size: clamp(2.5rem, 4.8vw, 5rem); }
h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1.2; margin: 10px 0 18px; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.35rem); margin: 10px 0 30px; }
.intro__grid { align-items: end; display: grid; gap: 60px; grid-template-columns: 1.25fr 0.75fr; }
.text-link { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: #9d7941; margin-left: 10px; }

.lots { align-items: center; display: grid; gap: clamp(50px, 8vw, 110px); grid-template-columns: 1.15fr 0.85fr; padding-top: 25px; }
.lots__image { border-radius: 4px 120px 4px 4px; min-height: 620px; overflow: hidden; }
.lots__image img { height: 100%; object-fit: cover; width: 100%; }
.lots__content p { color: var(--muted); font-size: 1.1rem; margin: 28px 0; }
.range { align-items: center; display: grid; gap: 14px; grid-template-columns: auto 1fr auto; margin: 34px 0 42px; }
.range span { font-family: var(--serif); font-size: 1.1rem; white-space: nowrap; }
.range__line { background: rgba(22, 52, 43, 0.15); height: 2px; position: relative; }
.range__line i { background: var(--gold); border-radius: 50%; height: 12px; left: 38%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 12px; }

.section-heading { align-items: end; display: grid; gap: 70px; grid-template-columns: 1fr 0.48fr; margin-bottom: 55px; }
.section-heading p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1.4fr 0.8fr; }
.gallery figure { background: var(--cream); margin: 0; overflow: hidden; position: relative; }
.gallery figure:not(.gallery__large) { min-height: 320px; }
.gallery__large { grid-row: span 2; min-height: 660px; }
.gallery img { height: 100%; object-fit: cover; transition: transform 800ms ease; width: 100%; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption {
  background: linear-gradient(transparent, rgba(8, 25, 20, 0.78));
  bottom: 0;
  color: white;
  font-family: var(--serif);
  font-size: 1.25rem;
  left: 0;
  padding: 70px 24px 22px;
  position: absolute;
  right: 0;
}

.amenities { background: var(--forest); color: white; }
.amenities__inner { max-width: 1440px; }
.amenities__intro { align-items: stretch; display: grid; gap: clamp(50px, 7vw, 110px); grid-template-columns: 1.05fr .95fr; }
.amenities__visual { display: flex; flex-direction: column; }
.amenities__visual img { aspect-ratio: 16 / 9; display: block; margin-top: 30px; object-fit: cover; width: 100%; }
.amenities__copy { align-content: space-between; display: grid; }
.amenities__intro p { color: rgba(255,255,255,.67); font-size: 1.05rem; margin: 36px 0 0; max-width: 560px; }
.amenities__grid { display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); margin-top: 70px; }
.amenities__grid article { border-left: 1px solid rgba(255,255,255,.16); padding: 0 30px; }
.amenities__grid article:first-child { border: 0; padding-left: 0; }
.amenities__number { color: var(--gold); font-size: 0.76rem; letter-spacing: .18em; }
.amenities ul { color: rgba(255,255,255,.7); list-style: none; margin: 0; padding: 0; }
.amenities li { border-top: 1px solid rgba(255,255,255,.11); padding: 10px 0; }

.project-numbers { padding-bottom: 100px; padding-top: 100px; }
.project-numbers__grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.project-numbers article { border-right: 1px solid var(--line); padding: 34px 24px 10px; }
.project-numbers article:first-child { padding-left: 0; }
.project-numbers article:last-child { border: 0; }
.project-numbers strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 400; }
.project-numbers span { color: var(--muted); font-size: .84rem; }

.security { background: var(--forest-deep); color: white; display: grid; grid-template-columns: 1.15fr .85fr; }
.security__content, .security__location { padding: clamp(70px, 8vw, 130px) clamp(30px, 7vw, 120px); }
.security__list { columns: 2; color: rgba(255,255,255,.72); list-style: none; margin: 50px 0 0; padding: 0; }
.security__list li { border-top: 1px solid rgba(255,255,255,.14); break-inside: avoid; margin-right: 28px; padding: 14px 0; }
.security__location { align-items: flex-start; background: linear-gradient(rgba(22,52,43,.76),rgba(22,52,43,.88)), url("assets/portaria.jpg") center/cover; display: flex; flex-direction: column; justify-content: flex-end; }
.security__location > span { color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.security__location strong { font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; line-height: 1.1; margin-top: 20px; }
.security__location p { color: rgba(255,255,255,.72); }

.interest { background: var(--cream); display: grid; gap: clamp(50px, 8vw, 110px); grid-template-columns: .75fr 1.25fr; padding: clamp(80px, 10vw, 150px) max(22px, calc((100vw - 1180px) / 2)); }
.interest__copy { position: sticky; top: 120px; align-self: start; }
.interest__copy p { color: var(--muted); font-size: 1.05rem; margin-top: 28px; }
.quiz { background: white; box-shadow: 0 30px 80px rgba(22,52,43,.08); padding: clamp(25px, 4.5vw, 58px); }
.quiz fieldset { border: 0; margin: 0 0 48px; padding: 0; }
.quiz legend { align-items: center; display: flex; font-family: var(--serif); font-size: 1.45rem; margin-bottom: 18px; }
.quiz legend span { align-items: center; background: var(--forest); border-radius: 50%; color: white; display: inline-flex; font-family: var(--sans); font-size: .75rem; height: 28px; justify-content: center; margin-right: 12px; width: 28px; }
.options { display: grid; gap: 10px; }
.options--grid { grid-template-columns: repeat(2, 1fr); }
.options label { cursor: pointer; }
.options input { opacity: 0; position: absolute; }
.options label span { border: 1px solid var(--line); display: block; font-size: .88rem; padding: 14px 16px; transition: all 160ms ease; }
.options input:checked + span { background: var(--forest); border-color: var(--forest); color: white; }
.options label:hover span { border-color: var(--forest-soft); }
.contact-fields { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.contact-fields__wide { grid-column: 1 / -1; }
.contact-fields label > span { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; }
.contact-fields small { color: var(--muted); font-weight: 400; text-transform: none; }
.contact-fields input { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); font: inherit; padding: 12px 2px; width: 100%; }
.contact-fields input:focus { border-color: var(--forest); outline: none; }
.button--submit { cursor: pointer; margin-top: 36px; width: 100%; }
.button--submit:hover { background: var(--forest-soft); color: white; }
.form-note { color: var(--muted); font-size: .76rem; margin: 12px 0 0; text-align: center; }

footer { background: #091c17; color: rgba(255,255,255,.65); padding: 58px 22px; text-align: center; }
footer img { margin: 0 auto 12px; max-width: 240px; }
footer p { margin: 4px 0; }
.legal { font-size: .72rem; margin: 30px auto 0; max-width: 800px; }
.mobile-cta { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .topbar { height: 68px; }
  .brand img { height: 44px; }
  .hero__cta { display: none; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-facts article:nth-child(2) { border-right: 0; }
  .quick-facts article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro__grid, .lots, .section-heading, .amenities__intro, .interest { grid-template-columns: 1fr; }
  .intro__grid { gap: 30px; }
  .lots__image { min-height: 440px; order: 2; }
  .lots__content { order: 1; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); row-gap: 55px; }
  .amenities__visual img { max-height: 520px; }
  .amenities__grid article:nth-child(3) { border: 0; padding-left: 0; }
  .project-numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .project-numbers article:nth-child(2) { border-right: 0; }
  .security { grid-template-columns: 1fr; }
  .security__location { min-height: 560px; }
  .interest__copy { position: static; }
}

@media (max-width: 700px) {
  body { padding-bottom: 68px; }
  .topbar .button { display: none; }
  .hero img { width: 100%; }
  .quick-facts article { padding: 22px 12px; }
  .quick-facts article:nth-child(odd) { padding-left: 0; }
  .quick-facts strong { font-size: 1.2rem; }
  .quick-facts span { font-size: .72rem; }
  .section { padding-left: 22px; padding-right: 22px; }
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.65rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__large { grid-row: auto; min-height: 480px; }
  .gallery figure:not(.gallery__large) { min-height: 280px; }
  .amenities__grid { grid-template-columns: 1fr; }
  .amenities__intro { gap: 44px; }
  .amenities__visual img { margin-top: 20px; }
  .amenities__grid article, .amenities__grid article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding: 32px 0 0; }
  .amenities__grid article:first-child { border-top: 0; padding-top: 0; }
  .project-numbers__grid { grid-template-columns: 1fr; }
  .project-numbers article, .project-numbers article:first-child { border-bottom: 1px solid var(--line); border-right: 0; padding: 25px 0; }
  .security__content, .security__location { padding-left: 22px; padding-right: 22px; }
  .security__list { columns: 1; }
  .options--grid, .contact-fields { grid-template-columns: 1fr; }
  .contact-fields__wide { grid-column: auto; }
  .quiz { padding: 28px 20px; }
  .mobile-cta {
    background: var(--gold);
    bottom: 0;
    color: var(--forest-deep);
    display: block;
    font-size: .78rem;
    font-weight: 800;
    left: 0;
    letter-spacing: .08em;
    padding: 20px;
    position: fixed;
    right: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 50;
  }
}

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