/* ============================================================
   MQ Patrimônio — Identidade visual
   Paleta: teal #0F766E + azul #0369A1 · Lexend + Source Sans 3
   ============================================================ */
:root {
  --primary: #0F766E;
  --primary-dark: #115E59;
  --primary-light: #14B8A6;
  --accent: #0369A1;
  --accent-dark: #075985;
  --bg: #F8FAFC;
  --ink: #0F172A;
  --ink-soft: #1E293B;
  --muted: #64748B;
  --surface: #FFFFFF;
  --tint: #F0FDFA;
  --tint-2: #E0F2FE;
  --border: #E2E8F0;
  --destructive: #DC2626;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12), 0 4px 12px rgba(15, 23, 42, .08);
  --font-heading: 'Lexend', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --ease: 150ms cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--primary);
}

p { margin: 0 0 1em; }

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .6em 1em;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

section { position: relative; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-white { background: var(--surface); }
.section-tint { background: var(--tint); }
.section-dark {
  background: linear-gradient(135deg, #0F172A 0%, #134E4A 100%);
  color: #E2E8F0;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h1 em, .section-dark h2 em, .section-dark h3 em { color: #5EEAD4; }
.section-faq { background: var(--tint-2); }

/* ============ Botões ============ */
.button {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  padding: .8em 1.4em;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  line-height: 1.2;
}
.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--primary);
  color: #fff;
}
.button-primary:hover { background: var(--primary-dark); color: #fff; }

.button-accent { background: var(--accent); color: #fff; }
.button-accent:hover { background: var(--accent-dark); color: #fff; }

.button-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.button-outline:hover { background: var(--tint); color: var(--primary-dark); }

.section-dark .button-outline { border-color: #5EEAD4; color: #5EEAD4; }
.section-dark .button-outline:hover { background: rgba(94, 234, 212, .12); }

.button-light { background: #fff; color: var(--primary-dark); }
.button-light:hover { background: var(--tint); color: var(--primary-dark); }

.text-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--ease);
  white-space: nowrap;
}
.text-link:hover { color: var(--primary); border-color: currentColor; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.brand em { font-style: normal; color: var(--primary); font-weight: 500; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-text { white-space: nowrap; }

.navigation {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.navigation a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.navigation a:hover { color: var(--primary); }
.navigation a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.navigation .button { margin-left: .25rem; }
.navigation .button:hover { color: #fff; }

.menu-toggle { display: none; }

.js-menu .menu-toggle { display: inline-block; }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(20, 184, 166, .18), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(3, 105, 161, .12), transparent 55%),
    var(--bg);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}
.hero .eyebrow { color: var(--primary-dark); }
.hero h1 { max-width: 17ch; }
.hero h1 em { color: var(--primary); }
.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 40ch;
  margin-bottom: .4em;
}
.hero-description { max-width: 52ch; color: var(--muted); }
.hero-note { margin-top: .8em; font-size: .9rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.hero-scroll { display: inline-block; margin-top: 2rem; color: var(--muted); text-decoration: none; font-weight: 600; }

/* ============ Eyebrow / Section heading ============ */
.eyebrow {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 .6em;
}
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-heading p { max-width: 40ch; color: var(--muted); margin: 0; }
.section-action { margin-top: 2.5rem; text-align: center; }

/* ============ Grids ============ */
.objective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.objective-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.objective-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-light);
  color: var(--ink-soft);
}
.objective-card h3 { margin-bottom: .2em; }
.objective-card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.objective-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: .4em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.service-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}
.service-grid article:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-grid h3 { margin-bottom: .4em; }
.service-grid p { color: var(--muted); font-size: .97rem; }
.service-grid .text-link { display: inline-block; margin-top: .4em; }
.section-tint .service-grid article { background: var(--surface); }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.benefit-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.benefit-grid h3 { color: var(--primary-dark); margin-bottom: .3em; }
.benefit-grid p { color: var(--muted); margin: 0; }

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.mini-card strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.02rem;
  margin-bottom: .25em;
}
.mini-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.card-stack { display: grid; gap: .85rem; }

/* ============ Process list ============ */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.process-list li { display: flex; gap: 1rem; align-items: flex-start; }
.process-list li > span {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  background: var(--tint);
  border-radius: 10px;
  padding: .35rem .6rem;
  font-size: .9rem;
}
.process-list h3 { margin-bottom: .2em; }
.process-list p { color: var(--muted); margin: 0; font-size: .95rem; }
.process-list-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.process-list-4 li { flex-direction: column; }
.process-list-4 li > span { align-self: flex-start; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 3rem; align-items: start; }
.portrait .portrait-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-md);
}
.portrait span { color: var(--muted); font-size: .9rem; }
.about-grid .lead { font-family: var(--font-heading); font-weight: 500; color: var(--ink); font-size: 1.15rem; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 3rem; align-items: start; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  padding: 1rem 1.25rem;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
}
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: .96rem;
}

/* ============ Contact / CTA final ============ */
.contact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0F172A 100%);
  color: #E2E8F0;
  text-align: center;
}
.contact-section h2 { color: #fff; }
.contact-section h2 em { color: #5EEAD4; }
.contact-section p { color: #CBD5E1; max-width: 52ch; margin-inline: auto; }
.contact-section .hero-note { color: #94A3B8; }

/* ============ Página genérica ============ */
.page-heading { padding: clamp(3rem, 7vw, 5rem) 0; }
.page-heading h1 { max-width: 22ch; }
.page-heading p { max-width: 58ch; color: #CBD5E1; }
.page-heading .eyebrow { color: #5EEAD4; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.split h2 { margin-bottom: .4em; }
.split p { color: var(--muted); }

.compare-grid { display: grid; gap: .85rem; }
.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.owner-grid h2 { margin-bottom: .4em; }
.owner-grid > div:first-child > p { color: var(--muted); }
.owner-grid .process-list { margin-top: 0; }

.compliance-note {
  margin-top: 1.6rem;
  font-size: .86rem;
  color: var(--muted);
  max-width: 80ch;
  border-left: 3px solid var(--primary-light);
  padding-left: 1rem;
}

.status-pill {
  display: inline-block;
  margin-top: .6rem;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--accent);
  background: var(--tint-2);
  padding: .3rem .7rem;
  border-radius: 999px;
}

.pending-note { color: #B45309 !important; font-style: italic; }

.prose-policy h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose-policy p { color: var(--muted); max-width: 70ch; }
.prose-policy strong { color: var(--ink); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.contact-cards .contact-number, .contact-cards a { font-family: var(--font-heading); font-weight: 600; }

/* ============ Qualificação ============ */
.qualify-page { padding: clamp(3rem, 7vw, 5rem) 0; }
.qualify-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.qualify-copy h1 { max-width: 16ch; }
.qualify-sub { color: #CBD5E1; max-width: 44ch; }
.qualify-proof { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.qualify-proof span {
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: #5EEAD4;
  background: rgba(94, 234, 212, .1);
  border: 1px solid rgba(94, 234, 212, .35);
  border-radius: 999px;
  padding: .35rem .8rem;
}
.qualify-note .small { color: var(--muted); max-width: 70ch; }

.quiz-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.quiz-head { margin-bottom: 1.6rem; }
.progress-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .5rem;
}
.progress-track { height: 6px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; transition: width 300ms ease; }

.step-title { font-size: 1.4rem; margin-bottom: .2em; }
.step-help { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }

.options { display: grid; gap: .7rem; }
.option {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.option:hover { border-color: var(--primary-light); }
.option.is-selected { border-color: var(--primary); background: var(--tint); box-shadow: var(--shadow-sm); }
.option input {
  margin-top: .25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.option-title { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--ink); }
.option-desc { display: block; color: var(--muted); font-size: .88rem; }

.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35em; }
.form-field input, .form-field select {
  width: 100%;
  padding: .8em .9em;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--ease);
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--primary); }
.field-grid { display: grid; grid-template-columns: 1fr auto; gap: .75rem; }
.field-grid .form-field-name { grid-column: 1 / -1; }
.field-grid .form-field-phone input { font-variant-numeric: tabular-nums; }

.consent-list { grid-column: 1 / -1; display: grid; gap: .7rem; margin-top: .5rem; }
.checkbox-line {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--muted);
  cursor: pointer;
}
.checkbox-line input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--primary); flex-shrink: 0; }
.checkbox-line strong { color: var(--ink); }

.error-box {
  display: none;
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-size: .92rem;
  font-weight: 600;
}
.error-box.is-visible { display: block; }

.quiz-foot { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.6rem; }
.btn-primary, .btn-secondary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  padding: .8em 1.4em;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--muted); color: var(--ink); }

.result-panel { display: none; }
.result-panel.is-visible { display: block; }
.result-panel h2 { font-size: 1.5rem; }
.result-panel p { color: var(--muted); max-width: 50ch; }
.result-actions { margin-top: 1.4rem; }
.btn-wa {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  background: #25D366;
  border-radius: 10px;
  padding: .85em 1.5em;
  text-decoration: none;
  transition: filter var(--ease);
}
.btn-wa:hover { filter: brightness(.94); color: #fff; }
.fine-print { font-size: .85rem; color: var(--muted); }
.hidden { display: none !important; }

/* ============ Catálogo ============ */
.catalog-section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.filters-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .85rem; }
.filter-grid label { font-family: var(--font-heading); font-size: .82rem; font-weight: 600; color: var(--ink); }
.filter-grid select { width: 100%; margin-top: .3em; padding: .6em .7em; font-family: var(--font-body); font-size: .95rem; border: 2px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--ink); }
.filter-grid select:focus { outline: none; border-color: var(--primary); }
.notice { background: var(--tint); border-radius: var(--radius); padding: 1rem; color: var(--primary-dark); }
.catalog-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; font-size: .9rem; color: var(--muted); }
.catalog-summary p { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--ink); }
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state h2 { margin-bottom: .3em; }
.empty-state p { color: var(--muted); margin-bottom: 1.2rem; }
.catalog-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-top: 2.5rem;
}
.catalog-contact h2 { margin-bottom: .2em; }
.catalog-contact p { color: var(--muted); margin: 0; }

/* ============ Property card ============ */
.property-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
  display: flex;
  flex-direction: column;
}
.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-image-link { position: relative; display: block; }
.card-image-link img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 999px;
}
.card-content { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-location { font-family: var(--font-heading); font-size: .82rem; color: var(--accent); margin-bottom: .4em; }
.card-content h3 { font-size: 1.08rem; margin-bottom: .35em; }
.card-content h3 a { color: var(--ink); text-decoration: none; }
.card-content h3 a:hover { color: var(--primary); }
.card-summary { color: var(--muted); font-size: .9rem; margin-bottom: .8em; }
.card-specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8em; }
.card-specs span {
  font-size: .78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--tint);
  border-radius: 999px;
  padding: .25rem .6rem;
}
.card-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--primary-dark); margin-bottom: .8em; }
.card-actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.card-interest {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .88rem;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  border-radius: 8px;
  padding: .5em .9em;
  transition: background var(--ease);
}
.card-interest:hover { background: var(--accent-dark); color: #fff; }

/* ============ Property page ============ */
.property-heading { padding-bottom: clamp(2rem, 4vw, 3rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; margin-bottom: 1.2rem; }
.breadcrumb a { color: #94A3B8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: #CBD5E1; }
.property-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.property-title .eyebrow { color: #5EEAD4; }
.heading-price { text-align: right; }
.heading-price span { display: block; font-size: .8rem; color: #94A3B8; }
.heading-price strong { font-family: var(--font-heading); font-size: 1.6rem; color: #fff; }
.detail-container { padding: 2rem 0 4rem; }
.gallery { margin-bottom: 1.5rem; }
.gallery-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.gallery-main-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; pointer-events: none; }
.gallery-controls button { pointer-events: auto; }
.gallery-arrow {
  background: rgba(15, 23, 42, .55);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--ease);
}
.gallery-arrow:hover { background: rgba(15, 23, 42, .8); }
.gallery-expand {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, .6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  padding: .5em .9em;
  font-family: var(--font-heading);
  font-size: .82rem;
  cursor: pointer;
}
.gallery-count {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: .85rem;
  background: rgba(15, 23, 42, .55);
  padding: .3rem .7rem;
  border-radius: 999px;
}
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery-thumbs a { border-radius: 10px; overflow: hidden; border: 2px solid transparent; transition: border-color var(--ease); }
.gallery-thumbs a[aria-current="true"] { border-color: var(--primary); }
.gallery-thumbs img { width: 106px; height: 78px; object-fit: cover; }
.gallery-hint { color: var(--muted); }
.lightbox { border: none; border-radius: var(--radius-lg); padding: 0; background: var(--ink); max-width: 92vw; }
.lightbox::backdrop { background: rgba(15, 23, 42, .85); }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem; }
.lightbox-count { color: #CBD5E1; font-family: var(--font-heading); }
.lightbox-stage { display: flex; align-items: center; gap: 1rem; padding: 0 1rem 1rem; }
.lightbox-stage img { max-height: 78vh; max-width: 100%; border-radius: 8px; }

.property-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin-bottom: 2rem; }
.property-stats div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.property-stats strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; color: var(--primary-dark); }
.property-stats span { font-size: .82rem; color: var(--muted); }

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.property-story .prose p { color: var(--muted); }
.features { padding-left: 1.2rem; color: var(--muted); }
.features li { margin-bottom: .4em; }
.property-aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); position: sticky; top: 88px; }
.property-aside dl { margin: 0 0 1.2rem; }
.property-aside dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.property-aside dt { font-size: .85rem; color: var(--muted); }
.property-aside dd { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: .92rem; color: var(--ink); text-align: right; }
.property-aside .button, .property-aside .text-link { margin-bottom: .6rem; display: inline-block; }
.property-aside .small { color: var(--muted); }
.related { margin-top: 3rem; }
.mobile-contact { display: none; }

/* ============ Footer ============ */
.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  margin-top: 0;
}
.site-footer .brand { color: #fff; }
.site-footer .brand-text em { color: #5EEAD4; }
.site-footer .brand-mark { background: rgba(94, 234, 212, .15); color: #5EEAD4; }
.site-footer .eyebrow { color: #94A3B8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #CBD5E1; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #5EEAD4; }
.site-footer p { color: #94A3B8; font-size: .95rem; }
.contact-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  margin: .3em 0;
}
.site-footer .small { font-size: .85rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(148, 163, 184, .2);
  padding-top: 1.25rem;
  font-size: .85rem;
  color: #94A3B8;
}
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { color: #94A3B8; }

/* ============ 404 ============ */
.not-found { text-align: center; padding: 6rem 0; }
.not-found p { color: var(--muted); max-width: 40ch; margin-inline: auto; }
.not-found .actions { justify-content: center; }

/* ============ Responsivo ============ */
@media (max-width: 1100px) {
  .js-menu .menu-toggle { display: inline-block; }
  .js-menu .navigation {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 88vw);
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding: 5.5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 250ms ease;
    z-index: 90;
  }
  .js-menu .navigation.is-open { transform: translateX(0); }
  .js-menu .navigation a { padding: .6rem 0; width: 100%; font-size: 1.05rem; }
  .js-menu .navigation .button { margin: .6rem 0 0; }
  body.modal-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .about-grid, .faq-grid, .split, .owner-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qualify-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .property-aside { position: static; }
  .property-title { flex-direction: column; align-items: flex-start; }
  .heading-price { text-align: left; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .field-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .quiz-foot { flex-direction: column-reverse; }
  .quiz-foot .btn-primary { width: 100%; }
  .mobile-contact {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: .75rem 1rem;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, .08);
    z-index: 50;
  }
  .mobile-contact .button { width: 100%; text-align: center; }
  body { padding-bottom: 0; }
  .property-page { padding-bottom: 72px; }
}

/* ============ Acessibilidade / Motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}