/* Identidade visual preservada da referência. CSS nativo, sem framework. */
:root {
  --paper: #f5f2ec;
  --white: #fff;
  --ink: #2b2a26;
  --muted: #5c594f;
  --sand: #dcd0b8;
  --gold: #a3833e;
  --gold-text: #79602d;
  --warm: #d6c6a4;
  --line: #d2cabc;
  --display: 'DM Serif Display', Georgia, serif;
  --body: 'Manrope', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --chevron: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235c594f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 15px; line-height: 1.8; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
::selection { color: var(--ink); background: var(--sand); }
h1, h2, h3, blockquote { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 80px); }
h2 { font-size: clamp(35px, 4vw, 54px); }
h3 { font-size: 29px; }
h1 em, h2 em { font-weight: 400; color: var(--gold-text); }
p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }
.container { width: min(100%, 1352px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 7vw, 108px); }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2 em, .section-dark h1 em { color: var(--warm); }
.eyebrow { margin: 0 0 22px; color: var(--gold-text); font: 600 11px/1.6 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.section-dark .eyebrow, .site-footer .eyebrow { color: var(--warm); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-heading > p { color: var(--muted); margin: 0; max-width: 380px; }
.section-dark .section-heading > p { color: #d5d0c7; }
.section-action { margin-top: 42px; text-align: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 50px; border: 1px solid var(--ink); padding: 13px 23px; background: var(--ink); color: var(--white); font: 600 11px/1.6 var(--body); letter-spacing: .07em; text-transform: uppercase; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--gold-text); border-color: var(--gold-text); }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-light:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.button-outline { color: var(--paper); border-color: #ffffff70; background: transparent; }
.button-outline:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button span { font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--gold-text); font: 600 12px/1.65 var(--body); border-bottom: 1px solid var(--line); }
.text-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.small { font-size: 12px; color: var(--muted); }
.skip-link { position: fixed; top: 10px; left: 20px; padding: 12px 20px; background: var(--white); color: var(--ink); transform: translateY(-150%); z-index: 100; }
.skip-link:focus { transform: translateY(0); }

/* Navegação: uma hierarquia menor, centrada no atendimento imobiliário. */
.site-header { background: var(--ink); color: var(--paper); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.brand { font-family: var(--display); font-size: 26px; line-height: 1.2; white-space: nowrap; }
.brand em { font-weight: 400; }
.navigation { display: flex; align-items: center; gap: clamp(15px, 2vw, 28px); }
.navigation > a:not(.button) { padding-block: 14px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.navigation > a:hover, .navigation [aria-current] { color: var(--warm); }
.navigation > .button:hover { color: var(--ink); }
.menu-toggle { display: none; }
.home-page .site-header { position: absolute; inset: 0 0 auto; background: transparent; }
.home-page .header-inner { border-bottom: 1px solid #ffffff24; }

.hero { position: relative; display: flex; align-items: end; min-height: 800px; min-height: min(900px, max(740px, 100svh)); color: var(--paper); background: var(--ink); isolation: isolate; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 20%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #181714e8 0%, #181714b8 36%, #18171420 75%), linear-gradient(0deg, #18171470, transparent 55%); z-index: -1; }
.hero-content { padding-top: 170px; padding-bottom: 78px; }
.hero .eyebrow { color: var(--warm); }
.hero h1 { font-size: clamp(72px, 8vw, 116px); line-height: .94; letter-spacing: -.025em; }
.hero h1 em { color: var(--warm); }
.hero-tagline { font-size: 21px; line-height: 1.5; margin-top: 28px; margin-bottom: 14px; }
.hero-description { max-width: 430px; color: #e1dcd2; font-size: 14px; }
.hero .actions { margin-top: 28px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 38px; display: grid; gap: 13px; justify-items: center; text-transform: uppercase; letter-spacing: .18em; font-size: 9px; }
.hero-scroll span { font-size: 24px; }

/* Cards e informações dos imóveis estão no HTML, inclusive sem JavaScript. */
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.property-card { border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; min-width: 0; }
.card-image-link { display: block; position: relative; overflow: hidden; }
.card-image-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.card-image-link:hover img { transform: scale(1.035); }
.card-badge { position: absolute; top: 16px; left: 16px; background: var(--paper); color: var(--ink); padding: 5px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-location { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--gold-text); margin-bottom: 14px; }
.card-content h3 { font-size: 29px; margin-bottom: 14px; }
.card-content h3 a:hover { color: var(--gold-text); }
.card-summary { font-size: 13px; line-height: 1.8; color: var(--muted); }
.card-specs { display: flex; flex-wrap: wrap; gap: 7px 14px; padding: 15px 0; border-block: 1px solid var(--line); margin-top: auto; font-size: 11px; }
.card-price { font: 400 26px/1.3 var(--display); margin: 18px 0 10px; }
.card-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.card-actions .text-link { font-size: 11px; }
.card-interest { font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 5px; }

.intent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-block: 1px solid #ffffff30; }
.intent-grid article { padding: 34px; }
.intent-grid article:first-child { padding-left: 0; }
.intent-grid article:last-child { padding-right: 0; }
.intent-grid article + article { border-left: 1px solid #ffffff30; }
.intent-grid h3 { margin-bottom: 18px; }
.intent-grid p { color: #d5d0c7; font-size: 13px; }
.intent-grid .text-link { color: var(--warm); border-color: #ffffff40; }
.intent-grid .text-link:hover { color: var(--white); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.portrait span { display: block; padding: 12px 0; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.about-grid h2 { margin-bottom: 28px; }
.about-grid p:not(.eyebrow) { color: var(--muted); }
.about-grid .lead { font-size: 19px; color: var(--ink); }
.owner-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.owner-grid h2 { margin-bottom: 28px; }
.owner-grid p { max-width: 520px; color: var(--muted); }
.owner-grid .eyebrow { color: var(--gold-text); }
.owner-grid .button { margin-top: 10px; }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process-list li { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--gold-text); font-size: 11px; padding-top: 5px; }
.process-list h3 { font-size: 25px; margin-bottom: 12px; }
.process-list p { font-size: 13px; }
.testimonial { text-align: center; }
.testimonial blockquote { max-width: 850px; margin: 36px auto 24px; font-size: clamp(24px, 3vw, 35px); line-height: 1.5; font-style: italic; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service-grid article { padding: 30px; display: flex; flex-direction: column; scroll-margin-top: 30px; }
.service-grid article + article { border-left: 1px solid var(--line); }
.service-grid .eyebrow { font-size: 10px; }
.service-grid h3 { font-size: 28px; margin-bottom: 20px; }
.service-grid p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.service-grid .text-link { margin-top: auto; align-self: start; }
.emine-row { display: flex; gap: 32px; align-items: center; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 30px; }
.emine-row img { width: 140px; height: 140px; object-fit: contain; }
.emine-row .eyebrow { margin-bottom: 8px; }
.emine-row p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 8px; }
.emine-row .text-link { margin-left: auto; flex-shrink: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 36px 25px 0; font-family: var(--display); font-size: 23px; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 5px; top: 24px; color: var(--gold-text); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { font-size: 14px; color: var(--muted); padding: 0 30px 24px 0; }
.contact-section { background: var(--gold); color: var(--white); text-align: center; }
.contact-section .eyebrow { color: var(--white); }
.contact-section h2 em { color: var(--white); }
.contact-section p:not(.eyebrow) { margin-top: 24px; }
.contact-section .button { margin-top: 12px; }
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-grid .brand { display: inline-block; margin-bottom: 24px; font-size: 30px; }
.footer-grid p, .footer-grid li { font-size: 13px; color: #c5bfb4; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a:hover { color: var(--warm); }
.contact-number { font-size: 17px; }
.footer-grid .small { margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #ffffff30; padding-top: 24px; font-size: 10px; color: #c5bfb4; }

/* Catálogo */
.page-heading { padding: 60px 0 70px; }
.page-heading h1 { max-width: 900px; }
.page-heading p:not(.eyebrow) { margin-top: 24px; margin-bottom: 0; color: #d5d0c7; }
.catalog-section { padding: 0 0 90px; }
.filters { background: var(--white); border: 1px solid var(--line); padding: 28px; margin-top: 32px; }
.filters-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.filters-top .eyebrow { margin: 0; }
.filters-top .text-link { border: 0; }
.filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.filter-grid label { display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 600; }
.filter-grid select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 0; padding: 10px 40px 10px 12px; background-color: var(--paper); background-image: var(--chevron); background-repeat: no-repeat; background-position: right 12px center; background-size: 13px; color: var(--ink); font-size: 12px; text-overflow: ellipsis; appearance: none; -webkit-appearance: none; -moz-appearance: none; }
.catalog-summary { display: flex; justify-content: space-between; gap: 20px; padding: 36px 0 24px; color: var(--muted); font-size: 12px; }
.catalog-summary p { margin: 0; }
.catalog-summary > span { text-align: right; }
.empty-state { padding: 70px 20px; text-align: center; border-block: 1px solid var(--line); }
.empty-state h2 { font-size: 32px; }
.empty-state p { margin: 20px 0; }
.catalog-contact { margin-top: 70px; padding-top: 45px; border-top: 1px solid var(--line); display: flex; gap: 30px; justify-content: space-between; align-items: center; }
.catalog-contact h2 { font-size: 38px; }
.catalog-contact p { margin-top: 16px; color: var(--muted); }
.notice { margin-top: 25px; }

/* Página individual e galeria */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; color: #d5d0c7; font-size: 11px; margin-bottom: 30px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.property-heading { padding-top: 24px; padding-bottom: 45px; }
.property-title { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.property-title h1 { font-size: clamp(36px, 4.7vw, 62px); max-width: 760px; }
.property-title .eyebrow { margin-bottom: 18px; }
.heading-price { display: grid; gap: 10px; padding-bottom: 2px; }
.heading-price span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--warm); }
.heading-price strong { font: 400 32px/1.2 var(--display); white-space: nowrap; }
.gallery { margin-top: 36px; }
.gallery-stage { position: relative; background: #e7e0d5; touch-action: pan-y; }
.gallery-main-link { display: block; }
.gallery-main-link > img { width: 100%; height: clamp(320px, 48vw, 650px); object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid #ffffff60; background: #292720df; color: var(--white); font-size: 22px; }
.gallery-arrow:hover { background: var(--ink); }
.prev { left: 16px; }
.next { right: 16px; }
.gallery-expand { position: absolute; top: 16px; right: 16px; padding: 10px 15px; min-height: 44px; border: 1px solid #ffffff60; background: #292720df; color: var(--white); font-size: 12px; }
.gallery-count { position: absolute; bottom: 16px; right: 16px; padding: 6px 12px; color: var(--white); background: #292720df; font-size: 11px; pointer-events: none; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 8px 3px; margin-top: 8px; scrollbar-width: thin; scrollbar-color: var(--gold) var(--paper); }
.gallery-thumbs a { flex: 0 0 106px; opacity: .65; }
.gallery-thumbs img { width: 106px; height: 78px; object-fit: cover; }
.gallery-thumbs a[aria-current="true"] { outline: 2px solid var(--gold); outline-offset: 1px; opacity: 1; }
.gallery-thumbs a:hover { opacity: 1; }
.gallery-hint { margin-top: 8px; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; padding: 20px; background: #1c1b18; color: var(--paper); }
.lightbox::backdrop { background: #1c1b18; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 54px; font-size: 13px; }
.lightbox-stage { position: relative; height: calc(100% - 54px); display: grid; place-items: center; touch-action: pan-y; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.property-stats { margin: 34px 0 56px; border-block: 1px solid var(--line); display: flex; flex-wrap: wrap; }
.property-stats > div { flex: 1; min-width: 120px; padding: 24px; border-right: 1px solid var(--line); }
.property-stats > div:last-child { border-right: 0; }
.property-stats strong { display: block; font: 400 36px/1.1 var(--display); margin-bottom: 10px; }
.property-stats span { font-size: 11px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 70px; align-items: start; }
.property-story h2 { font-size: 38px; line-height: 1.2; margin-bottom: 26px; }
.prose { color: var(--muted); }
.prose p { white-space: pre-line; }
.property-story h3 { margin: 40px 0 20px; }
.features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.features li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); font-size: 14px; }
.features li::before { content: '·'; position: absolute; left: 0; color: var(--gold-text); }
.property-aside { position: sticky; top: 24px; background: var(--white); border: 1px solid var(--line); padding: 28px; }
.property-aside dl { margin: 0 0 25px; }
.property-aside dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.property-aside dt { color: var(--muted); }
.property-aside dd { text-align: right; margin: 0; font-weight: 600; }
.property-aside .button { width: 100%; }
.property-aside .text-link { margin: 10px 0 20px; }
.related { padding: 85px 0; }
.related .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mobile-contact { display: none; }
.not-found { min-height: 65vh; }
.not-found p:not(.eyebrow) { margin-top: 28px; }

/* Formulário de qualificação */
.qualify-page { padding-block: clamp(48px, 6vw, 90px); }
.qualify-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.qualify-copy h1 { font-size: clamp(42px, 4.6vw, 64px); line-height: 1.02; }
.qualify-sub { margin-top: 24px; max-width: 480px; color: #d5d0c7; }
.qualify-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid #ffffff30; border-bottom: 1px solid #ffffff30; margin-top: 30px; padding: 18px 0; }
.qualify-proof span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #c5bfb4; }
.qualify-note p { color: var(--muted); max-width: 720px; }
.quiz-card { background: var(--paper); border: 1px solid var(--sand); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35); color: var(--ink); }
.quiz-head { padding: 1.5rem 1.5rem 1.2rem; border-bottom: 1px solid var(--line); }
.progress-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); }
.progress-track { height: 4px; background: var(--line); }
.progress-bar { width: 0%; height: 100%; background: var(--gold); transition: width .25s ease; }
.quiz-body { min-height: 340px; padding: 2rem 1.5rem 1.5rem; }
.step-title { margin-bottom: .8rem; font-size: clamp(26px, 3vw, 34px); }
.step-help { margin-bottom: 1.4rem; color: var(--muted); font-size: 14px; }
.options { display: grid; gap: .8rem; }
.option { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; width: 100%; padding: 1rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-align: left; transition: border-color .2s, background .2s, transform .2s; cursor: pointer; }
.option:hover, .option.is-selected { border-color: var(--gold); background: #f7efdf; }
.option.is-selected { transform: translateX(4px); }
.option input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.option-title { display: block; font-weight: 600; color: var(--ink); }
.option-desc { display: block; margin-top: .25rem; font-size: 13px; color: var(--muted); }
.field-grid { display: grid; gap: 1rem; }
@media (min-width: 480px) {
  .field-grid:has(.form-field-country_code) { grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr); }
}
.form-field-name, .form-field-email, .consent-list { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: .35rem; font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink); }
.form-field input, .form-field select { width: 100%; min-width: 0; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 0; background-color: var(--white); color: var(--ink); font-size: 16px; text-overflow: ellipsis; }
.form-field select { padding-right: 44px; background-image: var(--chevron); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; appearance: none; -webkit-appearance: none; -moz-appearance: none; }
.form-field input:focus, .form-field select:focus { border-color: var(--gold); outline: none; }
.consent-list { display: grid; gap: .8rem; margin-top: .4rem; }
.checkbox-line { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: 13px; line-height: 1.55; color: var(--muted); }
.checkbox-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem 1.5rem; }
.btn-primary, .btn-secondary, .btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .9rem 1.35rem; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn-primary, .btn-wa { background: var(--gold); color: var(--white); border: 1px solid var(--gold); }
.btn-primary:hover, .btn-wa:hover { background: var(--gold-text); border-color: var(--gold-text); }
.btn-primary:disabled { cursor: not-allowed; opacity: .45; }
.btn-secondary { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-text); }
.error-box { display: none; margin-top: 1rem; padding: .85rem 1rem; border-left: 2px solid #a0433a; background: rgba(160, 67, 58, .1); color: var(--ink); font-size: 14px; }
.error-box.is-visible { display: block; }
.result-panel { display: none; min-height: 380px; padding: 2rem 1.5rem 1.5rem; }
.result-panel.is-visible { display: block; }
.result-panel h2 { margin-bottom: 1rem; font-size: clamp(34px, 4vw, 48px); color: var(--ink); }
.result-panel p { margin-bottom: 1rem; color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.fine-print { margin-top: 1rem; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .qualify-grid { grid-template-columns: 1fr; gap: 36px; }
  .qualify-copy h1 { font-size: clamp(38px, 6vw, 52px); }
}
@media (max-width: 640px) {
  .quiz-body, .result-panel { min-height: auto; padding: 1.4rem 1rem 1rem; }
  .quiz-head, .quiz-foot { padding-left: 1rem; padding-right: 1rem; }
  .quiz-foot, .result-actions { flex-direction: column-reverse; align-items: stretch; }
  .btn-primary, .btn-secondary, .btn-wa { width: 100%; }
  .qualify-proof { gap: 10px 16px; }
  .qualify-proof span { font-size: 9px; letter-spacing: .08em; }
}
@media (max-width: 480px) {
  .qualify-grid { gap: 28px; }
  .qualify-copy h1 { font-size: clamp(34px, 8.5vw, 46px); }
  .qualify-sub { margin-top: 18px; font-size: 14px; line-height: 1.7; }
  .qualify-proof { margin-top: 22px; padding: 15px 0; }
  .quiz-head { padding: 1.15rem 1rem 1rem; }
  .quiz-body, .result-panel { padding: 1.2rem 1rem 1rem; }
  .quiz-foot { padding: .9rem 1rem 1.2rem; }
  .step-title { font-size: clamp(23px, 7vw, 28px); }
  .step-help { font-size: 13px; line-height: 1.65; margin-bottom: 1.1rem; }
  .options { gap: .65rem; }
  .option { padding: .8rem; gap: .65rem; }
  .option-title { font-size: 14px; }
  .option-desc { font-size: 12px; line-height: 1.5; }
  .field-grid { gap: .85rem; }
  .form-field input, .form-field select { padding: .85rem .9rem; font-size: 16px; }
  .consent-list { gap: .7rem; }
  .checkbox-line { font-size: 12px; line-height: 1.5; }
  .progress-row { font-size: 10px; letter-spacing: 1.4px; }
  .error-box { font-size: 13px; padding: .75rem .85rem; }
  .btn-primary, .btn-secondary, .btn-wa { min-height: 46px; padding: .8rem 1rem; letter-spacing: 1px; }
  .result-panel h2 { font-size: clamp(30px, 8vw, 40px); }
  .fine-print { font-size: 11px; line-height: 1.6; }
  .option-title, .option-desc, .checkbox-line span, .step-help, .fine-print { overflow-wrap: break-word; }
}
@media (max-height: 560px) {
  .qualify-page { padding-block: 28px; }
  .qualify-grid { gap: 24px; align-items: start; }
  .qualify-copy { order: 2; }
  .quiz-card { order: 1; }
  .qualify-copy h1 { font-size: clamp(30px, 6vh, 42px); line-height: 1.05; }
  .qualify-sub { margin-top: 14px; font-size: 14px; }
  .qualify-proof { margin-top: 18px; padding: 12px 0; }
  .quiz-body, .result-panel { min-height: auto; padding: 1.3rem 1rem 1rem; }
  .quiz-head { padding: 1.1rem 1rem .9rem; }
  .quiz-foot { padding: .8rem 1rem 1.1rem; }
  .btn-primary, .btn-secondary, .btn-wa { min-height: 44px; padding: .7rem 1rem; }
}
@media (max-width: 1100px) and (max-height: 560px) {
  .qualify-copy { max-width: 680px; }
}

@media (min-width: 1700px) { .hero-image { object-position: 70% 28%; } }
@media (min-width: 1101px) and (max-width: 1300px) {
  .filter-grid { gap: 12px; }
  .filter-grid select { padding-right: 36px; background-position: right 10px center; }
}
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; min-height: 86px; padding-block: 20px; }
  .menu-toggle:not([hidden]) { display: inline-flex; margin-left: auto; min-height: 44px; padding: 9px 14px; }
  .navigation { width: 100%; flex-wrap: wrap; }
  .js-menu .navigation { display: none; }
  .js-menu .navigation.is-open { display: flex; position: absolute; inset: 86px 0 auto; padding: 25px var(--gutter) 35px; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 86px); overflow-y: auto; }
  .js-menu .navigation > a:not(.button) { font-size: 15px; padding: 18px 0; border-bottom: 1px solid #ffffff25; }
  .js-menu .navigation > .button { margin-top: 22px; }
  .property-grid { gap: 18px; }
  .card-content { padding: 20px; }
  .card-content h3 { font-size: 25px; }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { gap: 35px; }
  .property-title { grid-template-columns: 1fr; gap: 26px; }
  .heading-price strong { font-size: 28px; }
  .service-grid article { padding: 24px; }
}
@media (max-width: 800px) {
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 780px; }
  .hero-image { object-position: 58% 20%; }
  .hero::before { background: linear-gradient(90deg, #181714cf, #18171438), linear-gradient(0deg, #181714c9, transparent 80%); }
  .hero h1 { font-size: clamp(68px, 12vw, 95px); }
  .hero-content { padding-bottom: 65px; }
  .hero-scroll { display: none; }
  .intent-grid { grid-template-columns: 1fr; }
  .intent-grid article { padding: 28px 0; }
  .intent-grid article + article { border-left: 0; border-top: 1px solid #ffffff30; }
  .about-grid, .owner-grid, .faq-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 500px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { padding: 28px; }
  .service-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .emine-row { flex-wrap: wrap; gap: 24px; }
  .emine-row .text-link { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .catalog-contact { align-items: start; flex-direction: column; }
  .property-aside { position: static; }
  .property-stats > div { padding: 20px 14px; }
  .property-page { padding-bottom: 76px; }
  .mobile-contact { display: block; position: fixed; bottom: 0; inset-inline: 0; background: var(--paper); padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); z-index: 25; }
  .mobile-contact .button { width: 100%; }
}
@media (max-width: 520px) {
  .brand { font-size: 23px; }
  .header-inner { gap: 12px; }
  .hero { min-height: 790px; }
  .hero-image { object-position: 58% top; }
  .hero-content { padding-top: 265px; padding-bottom: 40px; }
  .hero h1 { font-size: 64px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .09em; }
  .hero .eyebrow::before { width: 15px; margin-right: 7px; }
  .hero-tagline { font-size: 18px; margin-top: 22px; }
  .hero-description { font-size: 13px; max-width: 320px; }
  .hero .actions { display: grid; justify-items: stretch; max-width: 350px; }
  .hero .button { min-height: 47px; font-size: 10px; }
  .property-grid, .related .property-grid { grid-template-columns: 1fr; }
  .card-content { padding: 24px; }
  .card-content h3 { font-size: 29px; }
  .filter-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .filter-grid > label:last-child { grid-column: 1 / -1; }
  .filters { padding: 18px; }
  .filters-top { gap: 12px; }
  .filters-top .eyebrow { font-size: 9px; }
  .filters-top .eyebrow::before { display: none; }
  .filters-top .text-link { font-size: 10px; white-space: nowrap; }
  .catalog-summary { font-size: 10px; }
  .page-heading { padding-block: 40px; }
  .page-heading h1 { font-size: 43px; }
  .property-title h1 { font-size: 37px; }
  .property-heading { padding-top: 12px; }
  .gallery-main-link > img { height: 400px; }
  .gallery-arrow { width: 42px; height: 42px; }
  .prev { left: 8px; }
  .next { right: 8px; }
  .gallery-expand { top: 8px; right: 8px; }
  .gallery-count { bottom: 8px; right: 8px; }
  .gallery-thumbs a { flex-basis: 80px; }
  .gallery-thumbs img { width: 80px; height: 64px; }
  .property-stats { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
  .property-stats > div { border: 0; }
  .property-stats strong { font-size: 30px; }
  .property-story h2 { font-size: 33px; }
  .property-aside { padding: 24px; }
  .lightbox { padding: 12px; }
  .emine-row { display: grid; grid-template-columns: 90px 1fr; gap: 18px; }
  .emine-row img { width: 90px; height: 90px; }
  .emine-row .eyebrow { font-size: 8px; }
  .emine-row .eyebrow::before { display: none; }
  .emine-row .text-link { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Aviso de demonstração --- */
.demo-banner { position: relative; z-index: 60; padding: 9px var(--gutter); background: var(--gold-text); color: #fff; font: 600 11px/1.5 var(--body); letter-spacing: .04em; text-align: center; }

/* --- Rodapé legal --- */
.footer-legal { border-top: 1px solid #ffffff30; padding-top: 20px; margin-bottom: 20px; }
.footer-legal p { color: #c5bfb4; font-size: 10px; margin-bottom: 6px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--warm); }

/* --- Página legal --- */
.prose-page { max-width: 780px; }
.prose-page h2 { font-size: clamp(26px, 3vw, 34px); margin: 38px 0 14px; }
.prose-page h2:first-of-type { margin-top: 0; }
.prose-page p, .prose-page li { color: var(--muted); }
.prose-page ul { margin: 0 0 1.3em; }
.prose-page .notice { padding: 14px 18px; background: var(--paper); border-left: 3px solid var(--gold); color: var(--gold-text); font-size: 13px; }

/* Com o aviso de demonstração no topo, o cabeçalho não pode sobrepor-se a ele. */
.has-demo.home-page .site-header { position: relative; background: var(--ink); }


/* --- Nova composição editorial da primeira dobra --- */
.hero-editorial { min-height: min(820px, max(690px, 88svh)); display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse at 77% 48%, #49402d 0%, #302d26 28%, #25241f 58%, #201f1b 100%); }
.hero-editorial::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #201f1b 0%, #201f1b 39%, #201f1b22 100%); }
.hero-ornament { position: absolute; z-index: -1; width: min(52vw, 690px); aspect-ratio: 1; border: 1px solid #a3833e66; border-radius: 50%; right: 7%; top: 50%; transform: translateY(-50%); }
.hero-ornament::before, .hero-ornament::after { content: ''; position: absolute; border: 1px solid #a3833e42; border-radius: 50%; inset: 9%; }
.hero-ornament::after { inset: 19%; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr); align-items: center; gap: clamp(38px, 7vw, 100px); padding-top: 58px; padding-bottom: 58px; }
.hero-content { position: relative; z-index: 1; padding: 0; max-width: 610px; }
.hero-editorial .eyebrow { color: var(--warm); }
.hero-editorial h1 { font-size: clamp(76px, 8.4vw, 122px); line-height: .88; letter-spacing: -.035em; }
.hero-editorial h1 em { color: var(--warm); }
.hero-tagline { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; margin-top: 30px; margin-bottom: 14px; }
.hero-description { max-width: 420px; color: #e1dcd2; font-size: 14px; line-height: 1.85; }
.hero-editorial .actions { margin-top: 30px; gap: 12px; }
.hero-editorial .button { min-height: 54px; padding-inline: 25px; }
.hero-signature { margin-top: 30px; color: #c6b99e; font: italic 13px/1.6 var(--display); letter-spacing: .02em; }
.hero-portrait { position: relative; width: 100%; max-width: 470px; justify-self: end; margin: 0; padding: 12px; border: 1px solid #a3833e8c; background: #a3833e12; }
.hero-portrait::before { content: ''; position: absolute; inset: 24px -18px -18px 24px; border: 1px solid #a3833e70; pointer-events: none; }
.hero-portrait img { position: relative; width: 100%; height: clamp(430px, 61vw, 620px); object-fit: cover; object-position: center 22%; filter: saturate(.88); }
.hero-portrait figcaption { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 2px; color: var(--warm); font-size: 9px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.hero-scroll { right: var(--gutter); bottom: 26px; color: #d6c6a4; }
.about-grid .portrait img { object-position: center 20%; }
@media (max-width: 800px) {
  .hero-editorial { min-height: auto; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 28px; padding-block: 52px; }
  .hero-editorial h1 { font-size: clamp(66px, 10vw, 88px); }
  .hero-portrait img { height: clamp(390px, 62vw, 520px); }
  .hero-signature { margin-top: 22px; }
}
@media (max-width: 620px) {
  .hero-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; padding-bottom: 58px; }
  .hero-content { order: 1; }
  .hero-portrait { order: 2; justify-self: start; width: min(100% - 16px, 420px); margin-right: 16px; }
  .hero-portrait img { height: min(112vw, 490px); object-position: center 18%; }
  .hero-editorial h1 { font-size: clamp(66px, 17vw, 82px); }
  .hero-tagline { margin-top: 22px; font-size: 19px; }
  .hero-editorial .actions { display: flex; flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero-editorial .button { width: 100%; }
  .hero-signature { margin-top: 22px; }
  .hero-ornament { width: 100vw; right: -40%; top: 70%; }
  .hero-scroll { display: none; }
}


/* --- Update 2: mais profundidade, movimento e hierarquia --- */
.trust-strip { background: #292720; color: var(--paper); border-top: 1px solid #a3833e55; border-bottom: 1px solid #a3833e55; }
.trust-strip-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-block: 22px; }
.trust-strip-inner > div { display: grid; gap: 4px; padding-inline: 22px; border-left: 1px solid #ffffff2b; }
.trust-strip-inner > div:first-child { border-left: 0; padding-left: 0; }
.trust-strip strong { color: var(--warm); font: 400 19px/1.25 var(--display); }
.trust-strip span { color: #d5d0c7; font-size: 10px; letter-spacing: .04em; }
.home-page .property-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 1000px; }
.catalog-section .property-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); }
.property-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.property-card:hover { transform: translateY(-6px); border-color: #b69a6266; box-shadow: 0 22px 55px #201f1b12; }
.card-image-link img { aspect-ratio: 16 / 10; transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .5s; }
.card-image-link:hover img { transform: scale(1.055); filter: saturate(1.04); }
.card-badge { background: #201f1bf0; color: var(--warm); border: 1px solid #b69a6266; }
.card-content h3 { font-size: clamp(25px,2.4vw,31px); }
.card-price { color: var(--gold-text); }
.hero-portrait { max-width: 405px; }
.hero-portrait img { height: clamp(380px, 48vw, 535px); object-position: center 18%; }
.hero-portrait::before { inset: 18px -14px -14px 18px; }
.hero-ornament { width: min(48vw, 620px); right: 8%; opacity: .72; }
.about-grid { grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); }
.portrait { max-width: 440px; }
.portrait img { aspect-ratio: 4 / 4.7; max-height: 570px; object-position: center 18%; }
.contact-actions { justify-content: center; margin-top: 26px; }
.contact-actions .button-outline { border-color: #ffffff9c; color: #fff; }
.contact-actions .button-outline:hover { color: var(--ink); }
.home-page .site-header.is-scrolled { position: fixed; inset: 0 0 auto; background: #201f1bf5; box-shadow: 0 8px 28px #00000020; backdrop-filter: blur(14px); }
.home-page .site-header.is-scrolled .header-inner { min-height: 76px; border-bottom-color: #ffffff18; }
.site-header.is-scrolled .brand { font-size: 24px; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
@media (max-width: 800px) {
  .trust-strip-inner { grid-template-columns: 1fr; gap: 0; padding-block: 8px; }
  .trust-strip-inner > div, .trust-strip-inner > div:first-child { padding: 15px 0; border-left: 0; border-bottom: 1px solid #ffffff24; }
  .trust-strip-inner > div:last-child { border-bottom: 0; }
  .home-page .property-grid { grid-template-columns: 1fr; max-width: 560px; }
  .about-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 32px; }
}
@media (max-width: 620px) {
  .hero-portrait { max-width: 390px; }
  .hero-portrait img { height: min(105vw, 440px); }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 390px; }
  .contact-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .property-card, .card-image-link img { transition: none !important; }
}

/* --- Update 2.1: proporções mais equilibradas e movimento visível --- */
.hero-portrait { max-width: 360px; padding: 9px; }
.hero-portrait img { height: clamp(350px, 39vw, 455px); object-fit: cover; object-position: center 16%; }
.hero-portrait::before { inset: 14px -12px -12px 14px; }
.about-grid { grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr); gap: clamp(34px, 6vw, 82px); }
.portrait { width: 100%; max-width: 350px; justify-self: center; position: relative; }
.portrait img { display: block; width: 100%; height: clamp(330px, 36vw, 440px); max-height: 440px; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 17%; }
.portrait::before { content: ''; position: absolute; inset: 14px -12px -12px 14px; border: 1px solid #a3833e70; pointer-events: none; }
.portrait span { position: relative; padding: 14px 0 0; }
.about-grid > div:last-child { max-width: 680px; }
.home-page .property-grid { gap: clamp(20px, 3vw, 34px); }
.home-page .property-card { box-shadow: 0 12px 35px #201f1b0a; }
.property-card:hover { transform: translateY(-8px); box-shadow: 0 24px 55px #201f1b16; }
.card-image-link img { aspect-ratio: 16 / 10; object-fit: cover; }
.card-content { padding: clamp(20px, 2.3vw, 28px); }
.card-summary { min-height: 4.8em; }
.card-actions { margin-top: 8px; }
.section-heading { margin-bottom: clamp(30px, 4vw, 52px); }
.intent-grid article { transition: background-color .35s ease, padding .35s ease; }
.intent-grid article:hover { background: #ffffff08; }
.process-list li { transition: padding-left .35s ease, background-color .35s ease; }
.process-list li:hover { padding-left: 12px; background: #a3833e08; }
.button { transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.hero-ornament { animation: ornament-drift 16s ease-in-out infinite alternate; }
@keyframes ornament-drift { from { transform: translateY(-50%) scale(.98); opacity: .55; } to { transform: translateY(-50%) scale(1.035); opacity: .9; } }
html.has-reveal [data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(2px); }
html.has-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
html.has-reveal .hero-content[data-reveal] { transition-duration: .9s; }
html.has-reveal .hero-portrait[data-reveal] { transition-duration: 1.1s; transition-delay: .12s; }
html.has-reveal .property-card[data-reveal] { transition-duration: .8s; }
@media (max-width: 800px) {
  .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
  .portrait { max-width: 310px; }
  .portrait img { height: clamp(300px, 54vw, 390px); }
  .hero-portrait { max-width: 340px; }
  .hero-portrait img { height: clamp(330px, 54vw, 430px); }
}
@media (max-width: 620px) {
  .hero-portrait { max-width: 100%; width: min(100%, 360px); }
  .hero-portrait img { height: min(105vw, 410px); }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 330px; justify-self: start; margin-inline: 0 14px; }
  .portrait img { height: min(112vw, 390px); }
  .trust-strip-inner { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ornament { animation: none !important; }
  .button, .property-card, .intent-grid article, .process-list li { transition: none !important; }
}
