:root {
  --navy: #06172d;
  --navy-2: #0a2445;
  --navy-3: #102f58;
  --gold: #d8a642;
  --gold-light: #f1cd77;
  --white: #f9fbff;
  --text: #243247;
  --muted: #68758a;
  --surface: #ffffff;
  --soft: #f2f5f9;
  --line: rgba(216, 166, 66, .28);
  --shadow: 0 24px 70px rgba(6, 23, 45, .14);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Montserrat", sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; background: rgba(6, 23, 45, .88); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); transition: .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 36px rgba(0,0,0,.16); background: rgba(6, 23, 45, .97); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 20px;  }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: "Cormorant Garamond", serif; font-size: 22px; letter-spacing: .08em; }
.brand-text small { margin-top: 6px; color: var(--gold-light); letter-spacing: .34em; font-size: 9px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600; }
.main-nav a:not(.nav-cta):hover { color: var(--gold-light); }
.nav-cta { padding: 12px 18px; border: 1px solid var(--gold); color: var(--gold-light); border-radius: 999px; }
.menu-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 0; padding: 9px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; }

.hero { min-height: 790px; padding: 150px 0 90px; position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: radial-gradient(circle at 76% 30%, rgba(37, 79, 124, .68), transparent 36%), linear-gradient(115deg, #041226 0%, #071b35 55%, #0b2c53 100%); }
.hero::before { content:""; position:absolute; inset:0; z-index:-2; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to right, #000, transparent 72%); }
.hero::after { content:""; position:absolute; width:520px; height:520px; border:1px solid rgba(216,166,66,.24); transform:rotate(45deg); right:-260px; bottom:-280px; }
.hero-overlay { position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg, rgba(6,23,45,.98) 0%, rgba(6,23,45,.76) 50%, rgba(6,23,45,.18) 100%); }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; align-items:center; gap:72px; }
.eyebrow { margin:0 0 14px; color: var(--gold); font-size: 12px; font-weight:700; letter-spacing:.22em; }
h1, h2, h3 { font-family:"Cormorant Garamond", serif; line-height:1.04; margin-top:0; }
h1 { max-width:760px; margin-bottom:22px; font-size: clamp(56px, 6vw, 88px); font-weight:600; }
h1 span { color: var(--gold-light); }
.hero-lead { max-width:690px; color:rgba(255,255,255,.76); font-size:18px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin:34px 0 30px; }
.btn { border:0; display:inline-flex; min-height:52px; align-items:center; justify-content:center; padding:0 24px; border-radius:999px; font-weight:700; font-size:13px; cursor:pointer; transition:.25s ease; }
.btn:hover { transform:translateY(-2px); }
.btn-primary { background:linear-gradient(135deg, var(--gold), var(--gold-light)); color:#14233a; box-shadow:0 12px 30px rgba(216,166,66,.24); }
.btn-secondary { border:1px solid rgba(255,255,255,.28); color:#fff; background:rgba(255,255,255,.05); }
.btn-light { background:#fff; color:var(--navy); }
.trust-row { display:flex; flex-wrap:wrap; gap:22px; color:rgba(255,255,255,.69); font-size:12px; }
.hero-art { position:relative; display:grid; place-items:center; }
.hero-art::before { content:""; position:absolute; width:83%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle, rgba(216,166,66,.23), transparent 67%); filter:blur(8px); }
.hero-art img { position:relative; width:min(560px, 100%); border-radius:28px; box-shadow:0 40px 90px rgba(0,0,0,.43); border:1px solid rgba(216,166,66,.38); }

.property-search { position:relative; z-index:5; margin-top:-55px; }
.search-panel { display:grid; grid-template-columns: .8fr 1fr 1.7fr auto; align-items:end; gap:18px; padding:25px; background:#fff; border-radius:20px; box-shadow:var(--shadow); }
.field { display:flex; flex-direction:column; gap:8px; }
.field label { color:var(--navy); font-size:12px; font-weight:700; }
.field input, .field select { width:100%; height:48px; padding:0 13px; border:1px solid #dde3ec; border-radius:10px; outline:none; color:var(--text); background:#fff; }
.field input:focus, .field select:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(216,166,66,.12); }
.search-button { border-radius:11px; }

.section { padding:105px 0; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:44px; }
.section-heading h2, .about-copy h2, .contact-info h2, .cta-card h2 { margin-bottom:0; color:var(--navy); font-size:clamp(42px, 4vw, 62px); font-weight:600; }
.section-heading.centered { text-align:center; justify-content:center; }
.filters { display:flex; gap:8px; flex-wrap:wrap; }
.filter { padding:10px 15px; border:1px solid #dfe5ed; background:#fff; color:var(--muted); border-radius:999px; cursor:pointer; font-size:12px; font-weight:700; }
.filter.active { color:var(--navy); border-color:var(--gold); background:#fff7e4; }
.property-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.property-card { overflow:hidden; background:#fff; border:1px solid #e8edf3; border-radius:var(--radius); box-shadow:0 18px 50px rgba(6,23,45,.08); transition:.3s ease; }
.property-card:hover { transform:translateY(-8px); box-shadow:0 28px 65px rgba(6,23,45,.15); }
.property-card.is-hidden { display:none; }
.property-image { position:relative; min-height:255px; padding:18px; background-position:center; background-size:cover; }
.image-apartment { background-image:linear-gradient(to top, rgba(6,23,45,.38), transparent 58%), url("assets/apartamento-destaque.jpg"); }
.image-house { background-image:linear-gradient(to top, rgba(6,23,45,.38), transparent 58%), url("assets/casa-destaque.jpg"); }
.image-investment { background-image:linear-gradient(to top, rgba(6,23,45,.38), transparent 58%), url("assets/investimento-destaque.jpg"); }
.badge, .price { position:absolute; padding:8px 11px; border-radius:999px; font-size:10px; font-weight:700; }
.badge { top:16px; left:16px; background:var(--gold); color:var(--navy); }
.price { right:16px; bottom:16px; background:rgba(6,23,45,.9); color:#fff; backdrop-filter:blur(8px); }
.property-content { padding:24px; }
.property-content .location { margin:0 0 5px; color:var(--gold); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.property-content h3 { margin-bottom:12px; color:var(--navy); font-size:30px; }
.property-content > p { color:var(--muted); font-size:13px; }
.features { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:15px; }
.features span { padding:6px 9px; border-radius:8px; background:var(--soft); color:#516077; font-size:10px; font-weight:700; }
.property-content a { display:inline-block; margin-top:6px; color:var(--navy); font-size:12px; font-weight:800; }

.services { background:var(--soft); }
.service-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.service-card { min-height:255px; padding:32px; background:#fff; border-radius:var(--radius); border-top:3px solid var(--gold); box-shadow:0 15px 40px rgba(6,23,45,.06); }
.service-card > span { color:var(--gold); font-family:"Cormorant Garamond", serif; font-size:42px; }
.service-card h3 { color:var(--navy); font-size:30px; margin:18px 0 10px; }
.service-card p { margin:0; color:var(--muted); font-size:14px; }

.about { background:#fff; }
.about-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:80px; align-items:center; }
.about-image { position:relative; max-width:460px; justify-self:center; }
.about-image::before { content:""; position:absolute; inset:-18px 18px 18px -18px; border:1px solid var(--gold); border-radius:28px; z-index:0; }
.about-image img { position:relative; z-index:1; border-radius:24px; box-shadow:var(--shadow); }
.about-copy > p:not(.eyebrow) { color:var(--muted); font-size:16px; max-width:650px; }
.metrics { display:grid; grid-template-columns:repeat(3, 1fr); gap:15px; margin:34px 0; }
.metrics div { padding:18px; border-left:2px solid var(--gold); background:var(--soft); }
.metrics strong { display:block; color:var(--navy); font-family:"Cormorant Garamond", serif; font-size:32px; }
.metrics span { color:var(--muted); font-size:11px; }

.cta-section { padding:0 0 105px; }
.cta-card { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:48px; border-radius:26px; color:#fff; background:linear-gradient(125deg, var(--navy), var(--navy-3)); position:relative; overflow:hidden; }
.cta-card::after { content:""; position:absolute; width:260px; height:260px; right:-110px; top:-120px; border:1px solid rgba(216,166,66,.4); transform:rotate(45deg); }
.cta-card h2 { color:#fff; max-width:760px; }
.cta-card p:not(.eyebrow) { color:rgba(255,255,255,.7); margin-bottom:0; }
.cta-card .btn { flex:0 0 auto; z-index:1; }

.contact { background:var(--soft); }
.contact-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:start; }
.contact-info > p { color:var(--muted); }
.contact-list { display:grid; gap:12px; margin:28px 0; }
.contact-list a, .contact-list div { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:16px 18px; background:#fff; border-radius:12px; border:1px solid #e6ebf1; }
.contact-list span { color:var(--muted); font-size:12px; }
.contact-list strong { color:var(--navy); font-size:13px; }
.legal-note { font-size:11px; }
.contact-form { display:grid; grid-template-columns:1fr 1fr; gap:17px; padding:30px; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); }
.contact-form label { display:flex; flex-direction:column; gap:7px; color:var(--navy); font-size:12px; font-weight:700; }
.contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4), .contact-form button, .contact-form small { grid-column:1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width:100%; padding:13px; border:1px solid #dde3ec; border-radius:10px; outline:none; resize:vertical; font-weight:400; }
.contact-form small { color:var(--muted); text-align:center; }

footer { padding:28px 0; background:#031022; color:rgba(255,255,255,.67); font-size:12px; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.footer-brand .brand-text strong { font-size:17px; }
.footer-brand .brand-mark { width:36px; height:36px; font-size:16px; }
footer a { color:var(--gold-light); }
.whatsapp-float { position:fixed; z-index:60; right:22px; bottom:22px; width:58px; height:58px; display:grid; place-items:center; border-radius:50%; background:#25d366; color:#fff; font-weight:900; box-shadow:0 15px 35px rgba(0,0,0,.25); transition:.25s ease; }
.whatsapp-float:hover { transform:scale(1.07); }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .main-nav { position:absolute; display:none; flex-direction:column; align-items:stretch; top:82px; left:20px; right:20px; padding:24px; background:rgba(6,23,45,.98); border:1px solid rgba(216,166,66,.25); border-radius:16px; box-shadow:0 20px 45px rgba(0,0,0,.25); }
  .main-nav.open { display:flex; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-art { max-width:540px; margin-inline:auto; }
  .search-panel { grid-template-columns:1fr 1fr; }
  .field-wide, .search-button { grid-column:1 / -1; }
  .property-grid, .service-grid { grid-template-columns:1fr 1fr; }
  .property-card:last-child, .service-card:last-child { grid-column:1 / -1; }
  .about-grid { grid-template-columns:1fr; }
  .about-image { max-width:420px; }
  .contact-grid { grid-template-columns:1fr; }
}

@media (max-width: 680px) {
  .container { width:min(100% - 28px, 1180px); }
  .nav-wrap { min-height:72px; }
  .main-nav { top:72px; }
  .brand-text strong { font-size:18px; }
  .hero { min-height:auto; padding:125px 0 90px; }
  .hero-grid { gap:44px; }
  h1 { font-size:50px; }
  .hero-lead { font-size:15px; }
  .hero-actions .btn { width:100%; }
  .trust-row { display:grid; gap:8px; }
  .property-search { margin-top:-36px; }
  .search-panel { grid-template-columns:1fr; padding:18px; }
  .field-wide, .search-button { grid-column:auto; }
  .section { padding:78px 0; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .section-heading h2, .about-copy h2, .contact-info h2, .cta-card h2 { font-size:42px; }
  .property-grid, .service-grid { grid-template-columns:1fr; }
  .property-card:last-child, .service-card:last-child { grid-column:auto; }
  .metrics { grid-template-columns:1fr; }
  .cta-section { padding-bottom:78px; }
  .cta-card { align-items:flex-start; flex-direction:column; padding:32px 24px; }
  .contact-form { grid-template-columns:1fr; padding:22px; }
  .contact-form label, .contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4), .contact-form button, .contact-form small { grid-column:auto; }
  .footer-grid { flex-direction:column; text-align:center; }
  .footer-brand { justify-content:center; }
}
