:root {
  --green: #003c31;
  --green-deep: #002d25;
  --green-soft: #e8f0ed;
  --gold: #c89a4b;
  --gold-light: #e6c177;
  --ink: #17251f;
  --muted: #66716d;
  --surface: #fffefb;
  --cream: #f8f6f1;
  --line: #dce5e0;
  --shadow: 0 18px 42px rgba(13, 56, 47, 0.11);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: var(--sans); line-height: 1.6; }
body.is-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.7vw, 3.8rem); }
h3 { margin-bottom: 8px; font-size: 1.38rem; }
.section { padding: 96px 24px; }
.section__inner { width: min(100%, 1440px); margin: 0 auto; }
.eyebrow { margin-bottom: 11px; color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--gold); border-radius: 4px; padding: 12px 20px; color: var(--green-deep); background: var(--gold-light); font-size: .8rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.button:hover, .button:focus-visible { border-color: var(--gold); color: var(--green-deep); background: var(--gold); box-shadow: 0 10px 22px rgba(200,154,75,.2); transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button--dark { border-color: var(--green); color: #fff; background: var(--green); }
.button--dark:hover { color: #fff; background: var(--green-deep); }
.button--outline { color: var(--green); background: transparent; }
.button--outline:hover { color: #fff; background: var(--green); }

.site-header { position: sticky; z-index: 20; top: 0; color: #fff; background: var(--green-deep); }
.site-header__inner { display: flex; width: min(100%, 1536px); min-height: 68px; align-items: center; gap: 20px; margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: #fff; }
.brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 1.42rem; transform: rotate(45deg); }
.brand__mark span { transform: rotate(-45deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .18em; line-height: 1; text-transform: uppercase; }
.brand small { margin-top: 4px; color: var(--gold-light); font-size: .5rem; font-weight: 800; letter-spacing: .4em; line-height: 1; text-align: center; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav a { position: relative; padding: 24px 0 21px; color: #f3f5ef; font-size: .71rem; font-weight: 700; }
.site-nav a::after { position: absolute; right: 0; bottom: 15px; left: 0; height: 2px; background: var(--gold); content: ""; opacity: 0; transform: scaleX(.45); transition: opacity 180ms ease, transform 180ms ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.header-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-light); font-size: .73rem; font-weight: 800; }
.header-phone svg { width: 15px; }
.button--header { min-height: 40px; padding: 9px 14px; font-size: .66rem; }
.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 27px; height: 3px; margin: 5px auto; border-radius: 3px; background: var(--gold-light); transition: opacity 180ms ease, transform 180ms ease; }

.hero { display: grid; min-height: 372px; align-items: center; padding: 34px 24px 70px; color: #fff; background: linear-gradient(90deg, rgba(0,45,37,.97) 0%, rgba(0,45,37,.88) 30%, rgba(0,45,37,.3) 65%, rgba(0,45,37,.05) 100%), url("../images/demo-imobiliaria-hero-desktop.webp") center / cover no-repeat; }
.hero__inner { width: min(100%, 1440px); margin: 0 auto; }
.hero h1 { max-width: 720px; margin-bottom: 11px; font-size: clamp(2.7rem, 3.8vw, 3.9rem); }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p:not(.eyebrow) { max-width: 500px; margin-bottom: 17px; color: #e7ede9; font-size: .92rem; }
.property-search { position: relative; z-index: 4; margin: -48px 24px 0; }
.property-search__form { display: grid; width: min(100%, 1040px); grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; margin: 0 auto; border-radius: 6px; padding: 11px 13px; background: #fff; box-shadow: var(--shadow); }
.property-search label, .form-grid label { display: grid; gap: 5px; }
.property-search span, .form-grid span { color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
input, select, textarea { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; color: var(--ink); background: #fff; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: 2px solid rgba(200,154,75,.2); }
.section-heading { max-width: 780px; margin-bottom: 30px; }
.section-heading--split { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 22px; }
.section-heading--split > p { max-width: 390px; margin-bottom: 4px; color: var(--muted); text-align: right; }
.properties { padding-top: 27px; padding-bottom: 56px; background: var(--cream); }
.properties .section-heading { margin-bottom: 12px; }
.properties .eyebrow { margin-bottom: 4px; }
.properties h2 { margin-bottom: 4px; font-size: clamp(1.9rem, 2.7vw, 2.75rem); }
.property-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 10px 24px rgba(18,56,47,.06); transition: box-shadow 180ms ease, transform 180ms ease; }
.property-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.property-card[hidden] { display: none; }
.property-card__image { position: relative; overflow: hidden; }
.property-card__image img { width: 100%; height: auto; aspect-ratio: 1.68; object-fit: cover; transition: transform 260ms ease; }
.property-card:hover img { transform: scale(1.045); }
.property-card__image strong { position: absolute; bottom: 0; left: 0; padding: 6px 10px; color: #fff; background: var(--green); font-family: var(--serif); font-size: .92rem; }
.favorite-button { position: absolute; display: grid; width: 34px; height: 34px; place-items: center; top: 8px; right: 8px; border: 0; border-radius: 50%; color: var(--green); background: rgba(255,255,255,.94); transition: color 180ms ease, background 180ms ease; }
.favorite-button svg { width: 19px; }
.favorite-button[aria-pressed="true"] { color: #fff; background: var(--gold); }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.property-card__body { padding: 12px 13px 13px; }
.property-card__body h3 { min-height: 40px; margin-bottom: 5px; font-size: 1rem; }
.property-card__body p { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; color: var(--muted); font-size: .74rem; }
.property-card__body p svg { width: 15px; color: var(--gold); }
.property-card__body span { display: block; margin-bottom: 8px; color: var(--ink); font-size: .72rem; }
.property-card__body b { color: var(--gold); }
.text-link { display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 0; color: var(--green); background: transparent; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.text-link svg { width: 15px; transition: transform 180ms ease; }
.text-link:hover svg { transform: translateX(4px); }
.empty-message { border: 1px solid var(--line); border-radius: 6px; padding: 20px; color: var(--muted); background: #fff; text-align: center; }
.benefits { padding: 24px; background: #fff; }
.benefits__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 6px; background: var(--line); }
.benefits__grid > div { display: flex; align-items: center; gap: 13px; padding: 20px; background: #fff; }
.benefits svg { width: 28px; color: var(--gold); }
.benefits span, .benefits strong, .benefits small { display: block; }
.benefits strong { font-family: var(--serif); font-size: 1.08rem; }
.benefits small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.launch { color: #fff; background: var(--green-deep); }
.launch__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.52fr); align-items: center; gap: 50px; }
.launch h2 { max-width: 820px; color: #fff; }
.launch__content > p:not(.eyebrow) { max-width: 720px; color: #d6e1de; }
.launch__panel { border-left: 1px solid rgba(230,193,119,.42); padding: 24px 0 24px 34px; }
.launch__panel p { margin-bottom: 8px; color: var(--gold-light); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.launch__panel strong { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.18; }
.launch__panel a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.launch__panel svg { width: 16px; }
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center; gap: 66px; }
.about__image { overflow: hidden; border-radius: 6px; box-shadow: var(--shadow); }
.about__image img { width: 100%; aspect-ratio: 1.06; object-fit: cover; }
.about p:not(.eyebrow) { color: var(--muted); }
.check-list { display: grid; gap: 9px; margin: 22px 0 26px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.check-list svg { width: 16px; color: var(--gold); }
.testimonials { background: var(--green-soft); }
.testimonials__grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); align-items: center; gap: 48px; }
blockquote { margin: 0; border-radius: 6px; padding: 34px; background: #fff; box-shadow: var(--shadow); }
blockquote p { color: var(--ink); font-family: var(--serif); font-size: 1.55rem; line-height: 1.38; }
blockquote footer { color: var(--green); font-weight: 800; }
blockquote span { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.contact { color: #fff; background: var(--green-deep); }
.contact h2 { color: #fff; }
.contact p { color: #d6e1de; }
.contact__grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 58px; }
.contact-form { border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 24px; background: rgba(255,255,255,.07); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-grid span { color: #e3ebe7; }
.form-grid__full { grid-column: 1/-1; }
.contact-form .button { margin-top: 16px; }
.form-message { min-height: 24px; margin: 11px 0 0; color: var(--gold-light); font-weight: 700; }
.form-message.is-success { color: #b8dfbd; }
.denner-cta { padding: 34px 24px; color: #fff; background: #072f36; }
.denner-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.denner-cta h2 { max-width: 900px; margin-bottom: 0; color: #fff; font-size: clamp(1.7rem,2.8vw,2.9rem); }
.site-footer { padding: 34px 24px; color: #fff; background: #031f1a; }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.site-footer p { margin: 0; color: #b9cbc6; font-size: .82rem; }
.site-footer__grid > a:last-child { color: var(--gold-light); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.property-modal { width: min(92vw,980px); max-width: none; border: 0; border-radius: 7px; padding: 0; box-shadow: 0 24px 78px rgba(0,0,0,.3); }
.property-modal::backdrop { background: rgba(0,28,23,.76); }
.property-modal__grid { display: grid; grid-template-columns: 1.04fr .96fr; }
.property-modal__grid > img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.property-modal__body { padding: 34px; }
.property-modal__body h2 { font-size: 2.3rem; }
.property-modal__body p { color: var(--muted); }
.property-modal__body p svg { width: 15px; color: var(--gold); vertical-align: middle; }
.property-modal__price { display: block; margin-bottom: 15px; color: var(--green); font-family: var(--serif); font-size: 1.65rem; }
.property-modal__close { position: absolute; display: grid; z-index: 2; width: 42px; height: 42px; place-items: center; top: 14px; right: 14px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,45,37,.85); }
.property-modal__close svg { width: 19px; }

@media (max-width:1180px) {
  .site-nav { gap: 15px; }
  .site-nav a, .header-phone { font-size: .65rem; }
  .property-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .property-card__body h3 { min-height: auto; }
}
@media (max-width:900px) {
  html { scroll-padding-top:74px; }
  .section { padding:74px 18px; }
  .site-header__inner { min-height:74px; padding:0 18px; }
  .menu-toggle { display:block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg);}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}
  .site-nav { position:fixed; display:none; overflow-y:auto; top:74px; right:0; bottom:0; left:0; flex-direction:column; align-items:stretch; gap:0; margin:0; padding:18px; background:var(--green-deep); }
  .site-nav.is-open { display:flex; }
  .site-nav a { border-bottom:1px solid rgba(255,255,255,.1); padding:18px 4px; font-size:.88rem; }
  .site-nav a::after { display:none; }
  .button--header, .header-phone { display:none; }
  .hero { min-height:680px; align-items:end; padding:54px 20px 112px; background:linear-gradient(180deg,rgba(0,45,37,.14) 0%,rgba(0,45,37,.55) 48%,rgba(0,45,37,.96) 100%),url("../images/demo-imobiliaria-hero-mobile.webp") center top/cover no-repeat; }
  .hero h1 { font-size:clamp(3rem,10vw,5rem); }
  .property-search__form { grid-template-columns:1fr; }
  .launch__grid, .about__grid, .testimonials__grid, .contact__grid { grid-template-columns:1fr; }
  .launch__panel { border-top:1px solid rgba(230,193,119,.42); border-left:0; padding:24px 0 0; }
  .benefits__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .denner-cta__inner, .site-footer__grid { display:grid; grid-template-columns:1fr; }
  .property-modal__grid { grid-template-columns:1fr; }
  .property-modal__grid > img { min-height:250px; max-height:340px; }
}
@media (max-width:560px) {
  .section { padding:62px 16px; }
  .site-header__inner { padding:0 14px; }
  .brand__mark { width:36px; height:36px; }
  .brand strong { font-size:1.25rem; }
  .hero { min-height:640px; padding:44px 18px 106px; }
  .hero h1 { font-size:clamp(2.7rem,13vw,4rem); }
  .property-search { margin:-76px 14px 0; }
  .property-search__form { gap:12px; padding:16px; }
  .section-heading--split { display:block; }
  .section-heading--split > p { text-align:left; }
  .property-grid, .benefits__grid, .form-grid { grid-template-columns:1fr; }
  .form-grid__full { grid-column:auto; }
  .about__image { order:-1; }
  .property-modal__body { padding:25px; }
  .property-modal__body h2 { font-size:1.95rem; }
  .denner-cta { padding:28px 16px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
