/* ==========================================================================
   MINHA CASA MINHA VIDA SÃO JOÃO DA BOA VISTA (minhacasaminhavidasaojoao.com.br)
   Design System Editorial High-Trust · Foco 100% Conversão Maurício Neris
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  --bg-cream: #F6F3EE;
  --bg-ivory: #FAF8F3;
  --bg-white: #FFFFFF;
  --bg-soft-green: #EAF2EE;
  --bg-soft-gold: #FDF6E7;
  --forest-900: #11231D;
  --forest-800: #152822;
  --forest-700: #1F4E3D;
  --forest-600: #296650;
  --coral-600: #D2553B;
  --coral-700: #B8432B;
  --gold-500: #E2A83B;
  --gold-600: #C38B22;
  --wa-green: #1FA855;
  --wa-green-dark: #168A43;
  --ink-900: #16231E;
  --ink-700: #394842;
  --ink-500: #5B6B64;
  --ink-400: #7B8B84;
  --border-subtle: rgba(22, 35, 30, 0.10);
  --border-strong: rgba(31, 78, 61, 0.22);
  --shadow-sm: 0 4px 14px rgba(17, 35, 29, 0.05);
  --shadow-md: 0 12px 32px rgba(17, 35, 29, 0.08);
  --shadow-lg: 0 22px 54px rgba(17, 35, 29, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.topbar {
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(226, 168, 59, 0.18);
  color: #F6CB72;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.topbar-contact a {
  color: #69E69A;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--forest-700) 0%, var(--forest-900) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(31, 78, 61, 0.24);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--forest-900);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.74rem;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: all 0.18s ease;
}

.nav-link:hover, .nav-link.active {
  background: var(--bg-soft-green);
  color: var(--forest-700);
}

.nav-link-highlight {
  background: rgba(210, 85, 59, 0.10);
  color: var(--coral-700);
  font-weight: 700;
}

.nav-link-highlight:hover {
  background: var(--coral-600);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.25;
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 168, 85, 0.26);
}

.btn-wa:hover {
  background: var(--wa-green-dark);
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(210, 85, 59, 0.28);
}

.btn-coral:hover {
  background: var(--coral-700);
  transform: translateY(-1px);
}

.btn-forest {
  background: var(--forest-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 78, 61, 0.22);
}

.btn-forest:hover {
  background: var(--forest-900);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--forest-700);
  border: 1.5px solid var(--forest-700);
}

.btn-outline:hover {
  background: var(--forest-700);
  color: #fff;
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.83rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1rem;
  border-radius: 14px;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-soft-green);
  border: 1px solid var(--border-strong);
  color: var(--forest-800);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION + INTERACTIVE SIMULATOR CARD
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 44px 0 56px;
  background:
    radial-gradient(circle at 12% 18%, rgba(31, 78, 61, 0.08) 0%, transparent 48%),
    radial-gradient(circle at 88% 12%, rgba(226, 168, 59, 0.12) 0%, transparent 44%),
    linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-cream) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft-green);
  border: 1px solid var(--border-strong);
  color: var(--forest-700);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  color: var(--forest-900);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--forest-700);
  text-decoration: underline;
  text-decoration-color: rgba(226, 168, 59, 0.65);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-700);
  margin-bottom: 24px;
  max-width: 610px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 12px;
  box-shadow: var(--shadow-sm);
}

.kpi-num {
  font-family: var(--font-mono);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--forest-700);
  line-height: 1.15;
}

.kpi-label {
  font-size: 0.74rem;
  color: var(--ink-500);
  font-weight: 600;
  margin-top: 4px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.consultant-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 2px solid var(--gold-500);
}

.consultant-meta h4 {
  font-size: 0.94rem;
  color: var(--ink-900);
  font-weight: 800;
}

.consultant-meta p {
  font-size: 0.8rem;
  color: var(--ink-500);
}

/* ==========================================================================
   SIMULATOR CARD (60-SECOND MCMV CALCULATOR)
   ========================================================================== */
.sim-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.sim-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-card-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--forest-900);
  line-height: 1.2;
}

.sim-badge-live {
  background: #E7F7EE;
  color: #137A3E;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.sim-field-group {
  margin-bottom: 14px;
}

.sim-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.sim-label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-700);
}

.sim-val-badge {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest-700);
  background: var(--bg-soft-green);
  padding: 2px 9px;
  border-radius: 6px;
}

.sim-range {
  width: 100%;
  accent-color: var(--forest-700);
  height: 7px;
  border-radius: 999px;
  background: #DCE5E0;
  cursor: pointer;
}

.sim-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.sim-input, .sim-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #C8D3CD;
  background: var(--bg-ivory);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink-900);
  font-weight: 600;
}

.sim-input:focus, .sim-select:focus {
  outline: 2px solid var(--forest-700);
  background: #fff;
}

.sim-result-box {
  background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest-700) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 16px 0;
}

.sim-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.sim-faixa-pill {
  background: var(--gold-500);
  color: var(--forest-900);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.sim-rate-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #A9E8C2;
  font-weight: 700;
}

.sim-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sim-metric {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
}

.sim-metric-lbl {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.76);
  display: block;
  margin-bottom: 2px;
}

.sim-metric-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.sim-metric-val.highlight {
  color: #F6CB72;
}

.sim-matching-bar {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
}

.sim-matching-link {
  color: #F6CB72;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.8rem;
}

/* ==========================================================================
   SECTION HEADINGS & LAYOUTS
   ========================================================================== */
.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--bg-ivory);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background: var(--forest-900);
  color: #fff;
}

.section-header {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest-700);
  background: var(--bg-soft-green);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  color: var(--forest-900);
  line-height: 1.18;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--ink-500);
}

/* ==========================================================================
   MIRRORED PROPERTY VITRINE (#mcmv-vitrine — ESPELHAMENTO LIONS SOMENTE MCMV)
   ========================================================================== */
.vitrine-shell {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.vitrine-faixa-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.faixa-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #D5DFDA;
  background: var(--bg-ivory);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.faixa-tab:hover {
  border-color: var(--forest-700);
  color: var(--forest-700);
}

.faixa-tab.active {
  background: var(--forest-700);
  border-color: var(--forest-700);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 78, 61, 0.25);
}

.faixa-tab-count {
  background: rgba(0, 0, 0, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
}

.faixa-tab.active .faixa-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.vitrine-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.vf-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vf-group label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-500);
}

.vf-group select, .vf-group input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #CBD6D0;
  background: var(--bg-ivory);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
}

.vitrine-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px 16px;
  background: var(--bg-soft-green);
  border-radius: 12px;
}

.vitrine-count-text {
  font-size: 0.9rem;
  color: var(--forest-900);
  font-weight: 700;
}

.vitrine-reset-btn {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--forest-700);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.imv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.imv-card {
  background: var(--bg-white);
  border: 1px solid #DCE5E0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.imv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--forest-600);
}

.imv-media {
  position: relative;
  height: 225px;
  background: var(--forest-900);
  overflow: hidden;
}

.imv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.imv-card:hover .imv-media img {
  transform: scale(1.03);
}

.imv-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
}

.imv-badge-faixa {
  background: rgba(17, 35, 29, 0.88);
  backdrop-filter: blur(6px);
  color: #F6CB72;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(246, 203, 114, 0.35);
}

.imv-badge-faixa.f12 {
  background: rgba(21, 115, 60, 0.92);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.imv-badge-tipo {
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest-900);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 8px;
}

.imv-ref-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.imv-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  z-index: 2;
}

.imv-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17, 35, 29, 0.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s;
}

.imv-nav-btn:hover {
  background: var(--forest-700);
}

.imv-nav-btn.prev { left: 8px; }
.imv-nav-btn.next { right: 8px; }

.imv-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.imv-bairro {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--forest-700);
  margin-bottom: 4px;
}

.imv-title {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  color: var(--ink-900);
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.imv-price-box {
  background: var(--bg-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.imv-price-main {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--forest-900);
}

.imv-parcela-hint {
  font-size: 0.76rem;
  color: var(--forest-700);
  font-weight: 700;
}

.imv-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.imv-spec-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: #F0F4F1;
  color: var(--ink-700);
  padding: 4px 9px;
  border-radius: 6px;
}

.imv-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.imv-btn-details {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft-green);
  color: var(--forest-800);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
}

.imv-btn-details:hover {
  background: var(--forest-700);
  color: #fff;
}

.imv-btn-wa {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--wa-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
}

.imv-btn-wa:hover {
  background: var(--wa-green-dark);
}

.vitrine-load-more-wrap {
  text-align: center;
  margin-top: 28px;
}

/* ==========================================================================
   PROPERTY DETAILS & MCMV SIMULATION MODAL (#mcmv-imv-modal-bg)
   ========================================================================== */
.imv-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 24, 19, 0.84);
  backdrop-filter: blur(5px);
  padding: 24px 14px;
  overflow-y: auto;
}

.imv-modal-dialog {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.imv-modal-gallery {
  position: relative;
  height: 430px;
  background: #0D1915;
}

.imv-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.imv-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 5;
}

.imv-modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 18px;
  background: #12221C;
  overflow-x: auto;
}

.imv-modal-ThumbsItem {
  width: 66px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.imv-modal-ThumbsItem.active {
  opacity: 1;
  border-color: var(--gold-500);
}

.imv-modal-content {
  padding: 26px 28px 32px;
}

.imv-modal-sim-box {
  background: var(--bg-soft-green);
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 18px 0;
}

.imv-modal-sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.imv-modal-sim-item {
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.imv-modal-sim-item span {
  display: block;
  font-size: 0.73rem;
  color: var(--ink-500);
}

.imv-modal-sim-item strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--forest-900);
}

/* ==========================================================================
   TABLES, CARDS, BAIRROS & FAQ
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.mcmv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.mcmv-table th {
  background: var(--forest-800);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mcmv-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--ink-700);
}

.mcmv-table tr:last-child td {
  border-bottom: none;
}

.mcmv-table tr:nth-child(even) {
  background: var(--bg-ivory);
}

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft-green);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 800;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--forest-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--ink-700);
  margin-bottom: 14px;
}

.bairros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 18px;
}

.bairro-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bairro-card h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--forest-700);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--ink-700);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* ==========================================================================
   FLOATING WHATSAPP CTA & FOOTER
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #fff;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(31, 168, 85, 0.42);
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-wa:hover {
  transform: translateY(-3px);
  background: var(--wa-green-dark);
}

.site-footer {
  background: var(--forest-800);
  color: rgba(255, 255, 255, 0.84);
  padding: 58px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #F6CB72;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.bdf-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.bdf-credit img {
  height: 24px;
  width: auto;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-ivory);
    padding: 16px;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 28px 0 40px;
  }
  .sim-metrics-grid {
    grid-template-columns: 1fr;
  }
  .sim-row-2col {
    grid-template-columns: 1fr;
  }
  .vitrine-shell {
    padding: 16px;
  }
  .imv-modal-gallery {
    height: 270px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-wa span.wa-text-desktop {
    display: none;
  }
}
