:root {
  --navy: #121735;
  --navy-2: #0c294b;
  --gold: #d6ad63;
  --gold-light: #f1d89d;
  --cream: #f7f4ed;
  --ink: #172131;
  --muted: #657080;
  --white: #fff;
  --line: rgba(7, 26, 51, .12);
  --shadow: 0 22px 60px rgba(7, 26, 51, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--cream); }
button, input, select { font: inherit; }
a { color: inherit; }

.topbar {
  height: 86px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center;
  justify-content: space-between; background: var(--navy); color: var(--white);
}
.brand { display: inline-flex; align-items: center; gap: 12px; margin-left: calc(clamp(24px, 8vw, 125px) - clamp(20px, 5vw, 76px) - 18px); text-decoration: none; }
.site-logo { width: 250px; height: auto; display: block; transform: translateY(6px); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: "Playfair Display", serif; font-size: 24px; }
.brand strong, .brand small { display: block; letter-spacing: .25em; }
.brand strong { font: 600 20px/1 "Playfair Display", serif; color: var(--gold-light); }
.brand small { margin-top: 5px; font-size: 8px; color: var(--white); }
.official { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: .05em; color: rgba(255,255,255,.82); }
.caixa-symbol { width: 32px; height: 27px; object-fit: contain; flex: 0 0 auto; }

.hero { min-height: calc(100svh - 86px); position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("assets/dracena-centro-noite.jpeg") center 22%/cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,31,.93) 0%, rgba(4,16,31,.73) 44%, rgba(4,16,31,.18) 78%, rgba(4,16,31,.05) 100%); }
.hero-content { position: relative; z-index: 1; width: min(720px, 90%); margin-left: clamp(24px, 8vw, 125px); padding: 70px 0; color: var(--white); }
.eyebrow { margin: 0 0 20px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; }
.eyebrow.dark { color: #9a6d27; }
h1, h2, h3 { font-family: "Playfair Display", serif; }
h1 { margin: 0; max-width: 650px; font-size: clamp(46px, 6.3vw, 86px); line-height: .99; letter-spacing: -.035em; }
.hero-copy { max-width: 610px; margin: 28px 0 34px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: rgba(255,255,255,.88); }
.button { border: 0; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--gold); color: var(--navy); }
.primary:hover { background: var(--gold-light); }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; color: rgba(255,255,255,.78); font-size: 14px; }
.hero-points span::before { content: "•"; margin-right: 9px; color: var(--gold); }

.section { padding: 100px clamp(20px, 6vw, 92px); }
.section-heading { max-width: 1280px; margin: 0 auto 48px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; }
.section-heading h2, .lead-copy h2 { margin: 0; color: var(--navy); font-size: clamp(38px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.025em; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.developments { max-width: 1280px; margin: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.development { background: var(--white); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 46% 54%; min-height: 340px; }
.development img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.development img.portrait-promo { object-fit: contain; object-position: center; background: var(--navy); }
.gramado-card, .paineiras-card, .jardins-card { grid-column: 1 / -1; width: 100%; grid-template-columns: 58% 42%; }
.paineiras-gallery { min-width: 0; min-height: 340px; display: grid; grid-template-rows: 1fr 96px; overflow: hidden; background: #111827; }
.development .paineiras-gallery > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #111827; }
.paineiras-amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding-top: 3px; background: #111827; }
.development .paineiras-amenities img { width: 100%; height: 93px; min-height: 0; object-fit: cover; }
.card-body { padding: 34px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.location { margin: 0 0 10px; color: #9a6d27; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.development h3 { margin: 0; color: var(--navy); font-size: 30px; line-height: 1.12; }
.facts { display: grid; gap: 10px; margin: 25px 0 28px; color: var(--muted); line-height: 1.45; }
.facts span { padding-left: 18px; position: relative; }
.facts span::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.facts strong { color: var(--navy); }
.secondary { margin-top: auto; min-height: 46px; border: 1px solid var(--navy); background: transparent; color: var(--navy); }
.secondary:hover { background: var(--navy); color: var(--white); }

.lead-section { padding: 100px clamp(20px, 8vw, 130px) 34px; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 9vw, 140px); align-items: center; background: var(--navy); color: var(--white); }
.lead-copy h2 { color: var(--white); }
.lead-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.7; }
.trust-note { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); display: flex; gap: 15px; align-items: center; color: rgba(255,255,255,.7); line-height: 1.5; }
.trust-note strong { color: var(--white); }
.shield { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(214,173,99,.16); color: var(--gold-light); font-weight: 700; }
.lead-form { background: var(--white); color: var(--ink); padding: clamp(28px, 4vw, 48px); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.lead-form label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--navy); }
.lead-form input, .lead-form select { width: 100%; height: 54px; margin: 0 0 20px; padding: 0 15px; border: 1px solid #cfd5dc; border-radius: 3px; background: #fff; color: var(--ink); outline: none; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,173,99,.18); }
.submit { width: 100%; margin-top: 6px; }
.form-footnote { margin: 13px 0 0; text-align: center; font-size: 12px; color: var(--muted); }

.closing-banner { padding: 22px 20px 38px; background: var(--navy); color: var(--white); text-align: center; }
.closing-banner img { display: block; width: min(560px, 76vw); height: auto; margin: 0 auto; }
.closing-banner p { max-width: 650px; margin: 4px auto 0; font-size: clamp(19px, 2vw, 26px); font-weight: 300; line-height: 1.4; }

.whatsapp { position: fixed; z-index: 10; right: 20px; bottom: 20px; background: #1fbf69; color: white; padding: 14px 19px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 12px 34px rgba(0,0,0,.24); }

@media (max-width: 1050px) {
  .development { grid-template-columns: 1fr; }
  .development img { height: 290px; min-height: 0; }
  .development.gramado-card { grid-template-columns: 1fr; }
  .development.gramado-card img { height: auto; min-height: 0; }
  .development.paineiras-card { grid-template-columns: 1fr; }
  .development.jardins-card { grid-template-columns: 1fr; }
  .paineiras-gallery { min-height: 0; grid-template-rows: auto 110px; }
  .development .paineiras-gallery > img { height: auto; min-height: 0; }
  .development .paineiras-amenities img { height: 107px; min-height: 0; }
  .lead-section { grid-template-columns: 1fr 1.15fr; gap: 50px; }
}
@media (max-width: 760px) {
  .topbar { height: 76px; padding: 0 14px; }
  .brand { margin-left: 0; }
  .site-logo { width: clamp(160px, 48vw, 195px); transform: translateY(5px); }
  .official { display: inline-flex; max-width: clamp(130px, 37vw, 150px); gap: 7px; font-size: 11px; line-height: 1.2; letter-spacing: .025em; }
  .caixa-symbol { width: 24px; height: 20px; }
  .hero { min-height: 760px; align-items: end; }
  .hero-image { background-position: center center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,16,31,.98) 0%, rgba(4,16,31,.74) 57%, rgba(4,16,31,.12) 100%); }
  .hero-content { width: auto; margin: 0; padding: 80px 22px 52px; }
  h1 { font-size: 49px; }
  .hero-copy { font-size: 18px; margin: 22px 0 28px; }
  .hero-points { display: grid; gap: 10px; margin-top: 28px; }
  .section { padding: 72px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading h2, .lead-copy h2 { font-size: 40px; }
  .section-heading > p { font-size: 16px; }
  .developments { grid-template-columns: 1fr; gap: 20px; }
  .gramado-card, .paineiras-card, .jardins-card { grid-column: auto; width: 100%; }
  .development { grid-template-columns: 42% 58%; min-height: 275px; }
  .development img { height: 100%; min-height: 275px; }
  .card-body { padding: 25px 20px; }
  .development h3 { font-size: 24px; }
  .facts { margin: 18px 0 22px; font-size: 14px; }
  .button { min-height: 50px; }
  .secondary { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .lead-section { padding: 72px 18px 26px; grid-template-columns: 1fr; gap: 38px; }
  .lead-form { padding: 27px 20px; }
  .closing-banner { padding: 22px 18px 70px; }
  .closing-banner img { width: min(460px, 78vw); margin-top: 0; }
  .closing-banner p { max-width: 480px; margin-top: 2px; font-size: 18px; }
  .paineiras-gallery { grid-template-rows: auto auto; }
  .paineiras-amenities { grid-template-columns: repeat(2, 1fr); }
  .development .paineiras-amenities img { height: 115px; }
  .whatsapp { right: 14px; bottom: 14px; }
}
@media (max-width: 480px) {
  .development { grid-template-columns: 1fr; }
  .development img { height: 250px; min-height: 0; }
  .development img.portrait-promo { height: auto; min-height: 0; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
