/* Template "Minimalista Moderno" — clean, azul, cards leves.
   --mm-brand / --mm-accent vêm do painel (cor_primaria / cor_secundaria). */
:root {
  --mm-brand: #1366e8;
  --mm-accent: #5aa9ff;
  --mm-brand-dark: color-mix(in srgb, var(--mm-brand) 72%, #001033);
  --mm-brand-soft: color-mix(in srgb, var(--mm-brand) 9%, #ffffff);
  --mm-brand-soft-2: color-mix(in srgb, var(--mm-brand) 16%, #ffffff);
  --mm-hl: color-mix(in srgb, var(--mm-brand) 45%, #ffffff);
  --mm-bg: #ffffff;
  --mm-bg-alt: #f4f7fc;
  --mm-surface: #ffffff;
  --mm-surface-2: #f1f4f9;
  --mm-border: #e5ebf3;
  --mm-heading: #0d2550;
  --mm-text: #1d2b44;
  --mm-muted: #66758c;
  --mm-red: #ef4444;
  --mm-green: #22c55e;
  --mm-wpp: #25d366;
  --mm-shadow: 0 1px 2px rgba(16, 34, 74, .04), 0 6px 20px rgba(16, 34, 74, .06);
  --mm-shadow-lg: 0 18px 50px rgba(10, 30, 70, .16);
  --mm-footer: color-mix(in srgb, var(--mm-brand) 22%, #050f24);
  --mm-radius: 10px;
  --topbar-h: 80px;
  --bottomnav-h: 64px;
  --mm-font: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
:root[data-theme="dark"] {
  --mm-brand-soft: color-mix(in srgb, var(--mm-brand) 18%, #0f1726);
  --mm-brand-soft-2: color-mix(in srgb, var(--mm-brand) 28%, #0f1726);
  --mm-hl: color-mix(in srgb, var(--mm-brand) 55%, #ffffff);
  --mm-bg: #0b1220;
  --mm-bg-alt: #0f1828;
  --mm-surface: #131d2e;
  --mm-surface-2: #1a2639;
  --mm-border: #233149;
  --mm-heading: #f1f5fc;
  --mm-text: #dce4f0;
  --mm-muted: #93a2b8;
  --mm-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  --mm-footer: #070d18;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
html, body {
  margin: 0; max-width: 100%; overflow-x: hidden;
  background: var(--mm-bg); color: var(--mm-text);
  font-family: var(--mm-font); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.mm-no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; color: var(--mm-heading); letter-spacing: -.01em; }
[hidden] { display: none !important; }

.mm-container { max-width: 1316px; margin: 0 auto; padding: 0 20px; }
.mm-only-mobile, .mm-only-tablet { display: none !important; }

/* ---------- Botões ---------- */
.mm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 8px; padding: 11px 20px;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  background: var(--mm-surface-2); color: var(--mm-text);
  transition: filter .15s, background-color .15s, transform .15s;
}
.mm-btn:active { transform: translateY(1px); }
.mm-btn-primary { background: var(--mm-brand); color: #fff; }
.mm-btn-primary:hover { filter: brightness(1.08); }
.mm-btn-primary:disabled { opacity: .7; cursor: default; }
.mm-btn-outline { background: transparent; border-color: var(--mm-brand); color: var(--mm-brand); }
.mm-btn-outline:hover { background: var(--mm-brand-soft); }
.mm-btn-soft { background: var(--mm-brand-soft); color: var(--mm-brand); }
.mm-btn-soft:hover { background: var(--mm-brand-soft-2); }
.mm-btn-white { background: #fff; color: var(--mm-brand); }
.mm-btn-white:hover { filter: brightness(.96); }
.mm-btn-ghost { background: transparent; border-color: var(--mm-border); color: var(--mm-text); }
.mm-btn-ghost:hover { background: var(--mm-surface-2); }
.mm-btn-wpp { background: var(--mm-wpp); color: #fff; }
.mm-btn-wpp:hover { filter: brightness(1.05); }
.mm-btn-block { width: 100%; }
.mm-link-btn { background: none; border: none; padding: 6px 0; color: var(--mm-brand); font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mm-link-danger { color: var(--mm-muted); }
.mm-link-danger:hover { color: var(--mm-red); }
.mm-icon-btn {
  background: none; border: none; color: var(--mm-heading); cursor: pointer; padding: 8px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
}
.mm-icon-btn:hover { background: var(--mm-surface-2); }

/* ---------- Topbar ---------- */
.mm-topbar {
  position: sticky; top: 0; z-index: 60; background: var(--mm-surface);
  border-bottom: 1px solid var(--mm-border); transition: box-shadow .2s;
}
.mm-topbar.scrolled { box-shadow: 0 4px 18px rgba(16, 34, 74, .07); }
.mm-topbar-inner {
  max-width: 1316px; margin: 0 auto; padding: 0 20px; height: var(--topbar-h);
  display: flex; align-items: center; gap: 24px;
}
.mm-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.mm-logo-img { height: 56px; width: auto; max-width: 240px; object-fit: contain; }
.mm-logo-dark { display: none; }
:root[data-theme="dark"] .mm-logo-light { display: none; }
:root[data-theme="dark"] .mm-logo-dark { display: block; }
.mm-logo-mark { color: var(--mm-brand); display: flex; }
.mm-logo-mark svg { width: 62px; height: 42px; }
.mm-logo-text { display: flex; flex-direction: column; line-height: 1; color: var(--mm-brand); }
.mm-logo-text strong { font-size: 27px; font-weight: 800; letter-spacing: -.02em; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-logo-text small { font-size: 21px; font-weight: 500; margin-top: 2px; color: color-mix(in srgb, var(--mm-brand) 70%, var(--mm-heading)); }

.mm-nav { display: flex; align-items: stretch; gap: 8px; margin: 0 auto; height: 100%; }
.mm-nav a {
  display: flex; align-items: center; padding: 0 18px; font-size: 14.5px; font-weight: 500;
  color: var(--mm-heading); position: relative;
}
.mm-nav a:hover { color: var(--mm-brand); }
.mm-nav a.active { color: var(--mm-brand); }
.mm-nav a.active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 12px; height: 2px;
  background: var(--mm-brand); border-radius: 2px;
}
.mm-topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mm-theme-btn { color: var(--mm-muted); }
.mm-theme-icon-dark { display: none !important; }
:root[data-theme="dark"] .mm-theme-icon-light { display: none !important; }
:root[data-theme="dark"] .mm-theme-icon-dark { display: inline-flex !important; }
.mm-theme-icon-light, .mm-theme-icon-dark { display: inline-flex; align-items: center; gap: 8px; }
.mm-fav-link {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--mm-heading); padding: 8px 12px; position: relative;
}
.mm-fav-link:hover { color: var(--mm-brand); }
.mm-fav-count {
  font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--mm-brand); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.mm-btn-contato { padding: 12px 22px; }

.mm-nav-mobile { display: none; }

/* ---------- Hero (home) ---------- */
.mm-hero { position: relative; overflow: hidden; background: var(--mm-brand-dark); padding: 0 0 30px; }
.mm-hero-media { position: absolute; inset: 0; background-size: cover; background-position: 70% center; }
.mm-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      var(--mm-brand-dark) 0%,
      color-mix(in srgb, var(--mm-brand) 88%, transparent) 22%,
      color-mix(in srgb, var(--mm-brand) 55%, transparent) 40%,
      transparent 62%),
    linear-gradient(0deg, rgba(4, 18, 50, .35), transparent 40%);
}
.mm-hero-inner {
  position: relative; z-index: 1; max-width: 1316px; margin: 0 auto; padding: 66px 20px 34px; color: #fff;
}
.mm-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.mm-eyebrow-dark { color: var(--mm-brand); }
.mm-hero-title { color: #fff; font-size: 58px; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin-top: 18px; max-width: 640px; }
.mm-hero-hl { color: var(--mm-hl); }
.mm-hero-sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 490px; margin: 22px 0 0; }

.mm-search { position: relative; z-index: 2; max-width: 1276px; margin: 0 auto; width: calc(100% - 40px); }
.mm-search-fields {
  display: flex; align-items: center; background: var(--mm-surface); border-radius: 10px;
  padding: 10px 20px 10px 10px; box-shadow: var(--mm-shadow-lg);
}
.mm-sf { position: relative; flex: 1; height: 64px; min-width: 0; cursor: pointer; }
.mm-sf + .mm-sf::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--mm-border); }
.mm-sf-icon { position: absolute; left: 22px; top: 50%; transform: translateY(-62%); color: var(--mm-brand); pointer-events: none; display: flex; }
.mm-sf-body { display: block; height: 100%; }
.mm-sf-label { position: absolute; left: 57px; right: 30px; top: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; color: var(--mm-heading); pointer-events: none; }
.mm-sf select {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 26px 40px 0 57px;
  appearance: none; -webkit-appearance: none; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--mm-muted); cursor: pointer; text-overflow: ellipsis;
}
.mm-sf select:focus-visible { box-shadow: inset 0 0 0 2px var(--mm-brand-soft-2); border-radius: 8px; }
.mm-sf select option { color: var(--mm-text); background: var(--mm-surface); }
.mm-sf-chev { position: absolute; right: 22px; top: 50%; transform: translateY(-20%); color: var(--mm-muted); pointer-events: none; display: flex; }
.mm-search-submit { flex: none; width: 172px; height: 46px; margin-left: 20px; font-size: 15px; }

/* ---------- Seções ---------- */
.mm-main-home { display: flex; flex-direction: column; }
.mm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.mm-section-head h2 { font-size: 30px; font-weight: 700; }
.mm-section-head p { margin: 6px 0 0; color: var(--mm-muted); font-size: 15px; }
.mm-see-all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--mm-brand); white-space: nowrap; padding-bottom: 6px; }
.mm-see-all:hover { gap: 9px; }
.mm-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--mm-muted); font-size: 14px; }

/* Diferenciais */
.mm-features { order: 1; background: var(--mm-bg); padding: 26px 0 28px; }
.mm-features-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mm-feature { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mm-feature-icon {
  width: 66px; height: 66px; border-radius: 50%; flex: 0 0 66px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--mm-brand) 10%, #ffffff); color: var(--mm-brand);
}
:root[data-theme="dark"] .mm-feature-icon { background: var(--mm-brand-soft-2); color: var(--mm-hl); }
.mm-feature-icon svg { display: block; flex-shrink: 0; }
.mm-feature-text strong { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--mm-heading); }
.mm-feature-text p { margin: 5px 0 0; font-size: 13px; line-height: 1.45; color: var(--mm-muted); }

/* Destaques */
.mm-destaques-section { order: 2; background: var(--mm-bg-alt); padding: 36px 0 48px; }
.mm-todos-section { order: 3; padding: 56px 0 8px; }
.mm-cats-section { order: 4; padding: 56px 0 8px; }
.mm-mapa-section { order: 5; padding: 56px 0 8px; }
.mm-team-section { order: 6; padding: 56px 0 8px; }
.mm-about-section { order: 7; padding: 56px 0 8px; }
.mm-cta-section { order: 8; padding: 56px 0 0; }

/* Categorias */
.mm-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mm-cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 26px 16px; border: 1px solid var(--mm-border); border-radius: 12px; background: var(--mm-surface);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.mm-cat:hover { border-color: var(--mm-brand-soft-2); box-shadow: var(--mm-shadow); transform: translateY(-2px); }
.mm-cat-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--mm-brand-soft); color: var(--mm-brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.mm-cat strong { font-size: 15.5px; color: var(--mm-heading); font-weight: 700; }
.mm-cat span { font-size: 13px; color: var(--mm-muted); line-height: 1.4; }

/* Tabs */
.mm-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--mm-surface-2); }
.mm-tab {
  border: none; background: transparent; color: var(--mm-muted); padding: 8px 18px; border-radius: 7px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.mm-tab.active { background: var(--mm-surface); color: var(--mm-brand); box-shadow: 0 1px 3px rgba(16, 34, 74, .1); }
.mm-more-wrap { text-align: center; margin-top: 28px; }

/* ---------- Grid + card ---------- */
.mm-grid { display: grid; gap: 24px; }
.mm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mm-card {
  display: flex; flex-direction: column; background: var(--mm-surface); border: 1px solid var(--mm-border);
  border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 34, 74, .04);
  transition: box-shadow .2s, transform .2s;
}
.mm-card:hover { box-shadow: var(--mm-shadow); transform: translateY(-3px); }
.mm-card-media { position: relative; aspect-ratio: 21 / 10; background: var(--mm-surface-2); overflow: hidden; }
.mm-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mm-card:hover .mm-card-media img { transform: scale(1.04); }
.mm-card-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--mm-muted); opacity: .5; }
.mm-card-pill {
  position: absolute; left: 12px; bottom: 10px; background: var(--mm-brand); color: #fff;
  font-size: 12.5px; font-weight: 500; padding: 4px 13px; border-radius: 999px; line-height: 1.4;
}
.mm-card-fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); transition: transform .15s;
}
.mm-card-fav svg { width: 24px; height: 24px; }
.mm-card-fav:hover { transform: scale(1.12); }
.mm-card-fav.active { color: var(--mm-red); }
.mm-card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.mm-card-title { font-size: 14.5px; font-weight: 500; color: var(--mm-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-card-loc { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mm-muted); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mm-card-loc svg { flex-shrink: 0; }
.mm-card-price { font-size: 19px; font-weight: 700; color: var(--mm-brand); margin-top: 8px; letter-spacing: -.01em; }
:root[data-theme="dark"] .mm-card-price { color: var(--mm-hl); }
.mm-card-price span { font-size: 12px; font-weight: 500; color: var(--mm-muted); margin-left: 2px; }
.mm-card-feats { display: flex; flex-wrap: wrap; gap: 6px 11px; margin-top: auto; padding-top: 14px; }
.mm-card-feats span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--mm-muted); white-space: nowrap; }
.mm-card-feats svg { color: var(--mm-brand); flex-shrink: 0; }
:root[data-theme="dark"] .mm-card-feats svg { color: var(--mm-hl); }

/* ---------- Mapa ---------- */
.mm-map { height: 420px; border-radius: 12px; overflow: hidden; border: 1px solid var(--mm-border); background: var(--mm-surface-2); position: relative; z-index: 0; }
.mm-map .leaflet-container, .mm-ficha-map .leaflet-container { font-family: var(--mm-font); }
.mm-map-pin { background: none; border: none; }
.mm-map-pin span {
  display: block; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
}
.leaflet-popup-content { margin: 10px; }
.mm-map-pop { display: flex; gap: 10px; align-items: center; color: #1d2b44 !important; text-decoration: none; }
.mm-map-pop img { width: 72px; height: 54px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.mm-map-pop strong { display: block; font-size: 13px; line-height: 1.3; }
.mm-map-pop span { display: block; font-size: 13.5px; font-weight: 700; margin-top: 3px; }

/* ---------- Equipe ---------- */
.mm-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mm-team-card {
  background: var(--mm-surface); border: 1px solid var(--mm-border); border-radius: 12px;
  padding: 26px 20px 20px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.mm-team-avatar {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin-bottom: 14px;
  background: var(--mm-brand-soft); color: var(--mm-brand); font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--mm-brand-soft);
}
.mm-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mm-team-name { font-size: 16px; font-weight: 700; color: var(--mm-heading); }
.mm-team-creci { font-size: 12.5px; color: var(--mm-muted); margin-top: 2px; }
.mm-team-bio { font-size: 13px; color: var(--mm-muted); line-height: 1.55; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mm-team-card .mm-btn { margin-top: auto; }
.mm-team-card .mm-team-bio + .mm-btn, .mm-team-card .mm-team-creci + .mm-btn, .mm-team-card .mm-team-name + .mm-btn { margin-top: 16px; }

/* ---------- Sobre ---------- */
.mm-about {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.mm-about-text h2 { font-size: 30px; margin-top: 10px; }
.mm-about-text p { color: var(--mm-muted); font-size: 15.5px; line-height: 1.75; margin: 16px 0 0; }
.mm-about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mm-about-stats div { background: var(--mm-bg-alt); border-radius: 12px; padding: 22px; }
.mm-about-stats strong { display: block; font-size: 30px; font-weight: 800; color: var(--mm-brand); letter-spacing: -.02em; }
:root[data-theme="dark"] .mm-about-stats strong { color: var(--mm-hl); }
.mm-about-stats span { font-size: 13px; color: var(--mm-muted); }

/* ---------- CTA ---------- */
.mm-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px;
  border-radius: 16px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(110deg, var(--mm-brand-dark), var(--mm-brand) 70%);
}
.mm-cta::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.mm-cta h2 { color: #fff; font-size: 26px; }
.mm-cta p { margin: 6px 0 0; color: rgba(255, 255, 255, .85); }
.mm-cta .mm-btn { position: relative; z-index: 1; padding: 13px 26px; }

/* ---------- Busca ---------- */
.mm-page-hero { background: var(--mm-bg-alt); padding: 30px 0 34px; }
.mm-crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mm-muted); flex-wrap: wrap; }
.mm-crumbs a:hover { color: var(--mm-brand); }
.mm-crumbs span { color: var(--mm-heading); font-weight: 500; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-page-hero h1 { font-size: 34px; font-weight: 700; margin-top: 10px; }
.mm-page-hero-sub { margin: 6px 0 0; color: var(--mm-muted); }
.mm-main-busca { padding-bottom: 20px; }

.mm-filters {
  margin-top: -18px; position: relative; z-index: 3; background: var(--mm-surface); border-radius: 12px;
  box-shadow: var(--mm-shadow); border: 1px solid var(--mm-border); padding: 18px;
}
.mm-filters-top { display: flex; gap: 10px; }
.mm-filter-search {
  flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--mm-border); border-radius: 10px;
  padding: 0 14px; height: 48px; color: var(--mm-muted); background: var(--mm-bg);
}
.mm-filter-search:focus-within { border-color: var(--mm-brand); }
.mm-filter-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14.5px; color: var(--mm-text); min-width: 0; }
.mm-filters-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mm-more-filters .mm-filters-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mm-fselect { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mm-fselect > span { font-size: 12px; font-weight: 600; color: var(--mm-heading); }
.mm-select {
  width: 100%; height: 42px; border: 1px solid var(--mm-border); border-radius: 8px; padding: 0 32px 0 12px;
  font-size: 13.5px; color: var(--mm-text); background: var(--mm-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366758c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none; outline: none; cursor: pointer; text-overflow: ellipsis;
}
.mm-select:focus { border-color: var(--mm-brand); }
.mm-filter-group { margin-top: 16px; }
.mm-filter-group-label { font-size: 12px; font-weight: 600; color: var(--mm-heading); margin-bottom: 8px; }
.mm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-chip {
  border: 1px solid var(--mm-border); background: var(--mm-surface); color: var(--mm-text); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; cursor: pointer;
}
.mm-chip.active { background: var(--mm-brand); border-color: var(--mm-brand); color: #fff; }
.mm-filters-actions { display: flex; align-items: center; gap: 22px; margin-top: 12px; }
.mm-filter-badge {
  font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: var(--mm-brand); color: #fff;
  font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
}
.mm-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 16px; }
.mm-results-bar strong { font-size: 15px; color: var(--mm-heading); }
.mm-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mm-muted); }
.mm-sort select { border: 1px solid var(--mm-border); border-radius: 8px; height: 38px; padding: 0 10px; background: var(--mm-surface); color: var(--mm-text); font-size: 13px; outline: none; }
.mm-filters-backdrop { display: none; }

/* ---------- Ficha ---------- */
.mm-main-ficha { padding-top: 22px; }
.mm-ficha-loading { padding: 100px 0; display: flex; justify-content: center; }
.mm-spinner { width: 34px; height: 34px; border: 3px solid var(--mm-border); border-top-color: var(--mm-brand); border-radius: 50%; animation: mm-spin .7s linear infinite; }
@keyframes mm-spin { to { transform: rotate(360deg); } }
.mm-ficha-erro { text-align: center; padding: 90px 20px; }
.mm-ficha-erro-title { font-size: 22px; font-weight: 700; color: var(--mm-heading); }
.mm-ficha-erro p { color: var(--mm-muted); margin: 6px 0 22px; }
.mm-ficha { margin-top: 16px; }

.mm-gallery {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  gap: 8px; height: clamp(400px, 56vh, 540px); border-radius: 16px; overflow: hidden; isolation: isolate;
}
.mm-gallery-single { grid-template-columns: 1fr; }
.mm-gallery-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--mm-muted); background: var(--mm-surface-2); border-radius: 14px; height: 300px; }
.mm-gallery-main { position: relative; min-height: 0; overflow: hidden; cursor: zoom-in; background: var(--mm-surface-2); }
/* Foto absoluta: o tamanho natural de fotos grandes não pode esticar a grade (vazava sobre o título) */
.mm-gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-gallery-pill { left: 16px; bottom: auto; top: 16px; font-size: 13px; padding: 5px 14px; }
.mm-gallery-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; min-height: 0; }
.mm-gallery-side:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; }
.mm-gallery-side:has(> :nth-child(3):last-child) > :first-child { grid-row: span 2; }
.mm-gallery-side:has(> :only-child) { grid-template-columns: 1fr; }
.mm-gallery-side:has(> :only-child) { grid-template-rows: minmax(0, 1fr); }
.mm-gallery-thumb { position: relative; display: block; min-height: 0; border: none; padding: 0; overflow: hidden; cursor: zoom-in; background: var(--mm-surface-2); }
.mm-gallery-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mm-gallery-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(8, 20, 45, 0); transition: background .25s; }
.mm-gallery-thumb:hover::after { background: rgba(8, 20, 45, .12); }
.mm-gallery-thumb:hover img { transform: scale(1.05); }
.mm-gallery-more {
  position: absolute; right: 12px; bottom: 12px; z-index: 1; background: #fff; color: #0d2550; border-radius: 8px;
  padding: 8px 12px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.mm-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .92); color: #0d2550; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.mm-gallery-prev { left: 14px; } .mm-gallery-next { right: 14px; }
.mm-gallery-count {
  position: absolute; right: 14px; bottom: 14px; background: rgba(8, 20, 45, .7); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.mm-tour-btn {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  border: none; border-radius: 8px; background: rgba(8, 20, 45, .75); color: #fff; padding: 8px 12px;
  font-size: 13px; font-weight: 600; cursor: pointer;
}

.mm-ficha-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 48px; margin-top: 36px;
  grid-template-areas: "head aside" "body aside"; align-items: start;
}
.mm-ficha-head { grid-area: head; }
.mm-ficha-body { grid-area: body; }
.mm-ficha-aside { grid-area: aside; position: sticky; top: calc(var(--topbar-h) + 20px); z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.mm-ficha-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.mm-tag { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--mm-brand-soft); color: var(--mm-brand); }
.mm-tag-soft { background: var(--mm-surface-2); color: var(--mm-muted); }
.mm-ficha-title { font-size: 32px; font-weight: 700; line-height: 1.2; margin-top: 12px; }
.mm-ficha-loc { display: flex; align-items: center; gap: 6px; color: var(--mm-muted); margin-top: 8px; font-size: 15px; }
.mm-ficha-loc svg { color: var(--mm-brand); flex-shrink: 0; }
.mm-ficha-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.mm-stat { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--mm-border); border-radius: 12px; background: var(--mm-surface); }
.mm-stat-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--mm-brand-soft); color: var(--mm-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mm-stat strong { display: block; white-space: nowrap; font-size: 17px; color: var(--mm-heading); line-height: 1.15; }
.mm-stat span { font-size: 12px; color: var(--mm-muted); }

.mm-block { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--mm-border); }
.mm-block h2 { font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.mm-block-sub { margin: -8px 0 14px; color: var(--mm-muted); font-size: 14px; }
.mm-ficha-desc { white-space: pre-line; color: var(--mm-text); line-height: 1.8; font-size: 15px; overflow-wrap: break-word; }
.mm-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.mm-detail { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--mm-border); font-size: 14px; }
.mm-detail span { color: var(--mm-muted); }
.mm-detail strong { color: var(--mm-heading); font-weight: 600; text-align: right; }
.mm-amenities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
.mm-amenity { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mm-amenity span { width: 24px; height: 24px; border-radius: 50%; background: var(--mm-brand-soft); color: var(--mm-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mm-ficha-map { height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--mm-border); position: relative; z-index: 0; }

.mm-price-card { background: var(--mm-surface); border: 1px solid var(--mm-border); border-radius: 14px; padding: 20px 22px; box-shadow: var(--mm-shadow); }
.mm-price-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.mm-price-row + .mm-price-row { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--mm-border); }
.mm-price-row span { font-size: 12px; color: var(--mm-muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mm-price-row strong { font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--mm-brand); letter-spacing: -.02em; }
:root[data-theme="dark"] .mm-price-row strong { color: var(--mm-hl); }
.mm-price-row small { font-size: 13px; font-weight: 500; color: var(--mm-muted); }
.mm-price-extras { display: flex; gap: 10px; margin-top: 14px; }
.mm-price-extras div { flex: 1; background: var(--mm-bg-alt); border-radius: 8px; padding: 8px 12px; }
.mm-price-extras span { display: block; font-size: 11.5px; color: var(--mm-muted); }
.mm-price-extras b { font-size: 14px; color: var(--mm-heading); }

.mm-contact-card { background: var(--mm-surface); border: 1px solid var(--mm-border); border-radius: 14px; padding: 20px 22px; box-shadow: var(--mm-shadow); display: flex; flex-direction: column; gap: 10px; }
.mm-contact-agent { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--mm-border); margin-bottom: 4px; }
.mm-contact-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--mm-brand-soft); color: var(--mm-brand); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--mm-border); }
.mm-contact-avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mm-contact-name { font-weight: 700; color: var(--mm-heading); font-size: 15px; }
.mm-contact-sub, .mm-dm-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mm-muted); }
.mm-contact-sub i, .mm-dm-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mm-green); }
.mm-contact-title { font-size: 16px; font-weight: 700; color: var(--mm-heading); }
.mm-contact-card input, .mm-contact-card textarea, .mm-dm-starter input {
  width: 100%; border: 1px solid var(--mm-border); border-radius: 8px; padding: 11px 13px; font-size: 14px;
  background: var(--mm-bg); color: var(--mm-text); outline: none;
}
.mm-contact-card input:focus, .mm-contact-card textarea:focus, .mm-dm-starter input:focus { border-color: var(--mm-brand); }
.mm-contact-card textarea { min-height: 86px; resize: vertical; line-height: 1.5; }
.mm-contact-card .ddi-phone { width: 100%; }
.mm-contact-erro { display: none; color: var(--mm-red); font-size: 12.5px; }
.mm-contact-sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 6px; color: var(--mm-muted); font-size: 14px; }
.mm-contact-sent span { width: 50px; height: 50px; border-radius: 50%; background: color-mix(in srgb, var(--mm-green) 15%, transparent); color: var(--mm-green); display: flex; align-items: center; justify-content: center; }
.mm-contact-sent strong { color: var(--mm-heading); font-size: 16px; }
.mm-fav-btn.active { color: var(--mm-red); border-color: color-mix(in srgb, var(--mm-red) 40%, transparent); }
.mm-fav-btn span { color: var(--mm-text); }

.mm-ficha-sticky { display: none; }

/* Lightbox */
.mm-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 10, 22, .95); display: flex; align-items: center; justify-content: center; }
.mm-lightbox img { max-width: calc(100% - 140px); max-height: calc(100% - 100px); object-fit: contain; border-radius: 6px; }
.mm-lightbox-close { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .1); border: none; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mm-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .1); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mm-lightbox-nav:hover, .mm-lightbox-close:hover { background: rgba(255, 255, 255, .2); }
.mm-lightbox-prev { left: 20px; } .mm-lightbox-next { right: 20px; }
.mm-lightbox-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: 14px; }

/* ---------- Chat (DM) ---------- */
.mm-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 70; width: 58px; height: 58px; border-radius: 50%;
  border: none; background: var(--mm-wpp); color: #fff; cursor: pointer; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  display: flex; align-items: center; justify-content: center; transition: transform .15s;
}
.mm-fab:hover { transform: scale(1.06); }
.mm-dm-panel {
  display: none; position: fixed; right: 26px; bottom: 26px; z-index: 110; width: 360px; max-height: 540px;
  flex-direction: column; background: var(--mm-surface); border: 1px solid var(--mm-border); border-radius: 16px;
  box-shadow: var(--mm-shadow-lg); overflow: hidden;
}
.mm-dm-panel.open { display: flex; }
.mm-dm-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 16px; background: var(--mm-brand); color: #fff; }
.mm-dm-header .mm-icon-btn { color: #fff; }
.mm-dm-header .mm-icon-btn:hover { background: rgba(255, 255, 255, .12); }
.mm-dm-header-info { display: flex; align-items: center; gap: 10px; }
.mm-dm-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--mm-brand); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mm-dm-name { font-weight: 700; font-size: 14.5px; }
.mm-dm-header .mm-dm-status { color: rgba(255, 255, 255, .85); }
.mm-dm-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 130px; background: var(--mm-bg-alt); }
.mm-dm-bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.mm-dm-bubble.them { background: var(--mm-surface); color: var(--mm-text); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.mm-dm-bubble.me { background: var(--mm-brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.mm-dm-starter { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--mm-border); }
.mm-dm-starter-title { font-size: 13px; font-weight: 600; color: var(--mm-heading); }
.mm-dm-erro { display: none; color: var(--mm-red); font-size: 12.5px; }
.mm-dm-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--mm-border); }
.mm-dm-input-row input { flex: 1; min-width: 0; border: 1px solid var(--mm-border); border-radius: 999px; padding: 10px 16px; font-size: 14px; outline: none; background: var(--mm-bg); color: var(--mm-text); }
.mm-dm-input-row button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--mm-brand); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Favoritos ---------- */
.mm-overlay { display: none; position: fixed; inset: 0; z-index: 120; background: rgba(6, 15, 35, .55); align-items: center; justify-content: center; padding: 20px; }
.mm-overlay.open { display: flex; }
.mm-sheet { width: 100%; max-width: 460px; max-height: 76vh; background: var(--mm-surface); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--mm-shadow-lg); }
.mm-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--mm-border); }
.mm-sheet-head strong { font-size: 17px; color: var(--mm-heading); }
.mm-fav-list { overflow-y: auto; padding: 8px; }
.mm-fav-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.mm-fav-row:hover { background: var(--mm-surface-2); }
.mm-fav-thumb { width: 82px; height: 58px; border-radius: 8px; object-fit: cover; background: var(--mm-surface-2); flex-shrink: 0; display: block; }
.mm-fav-info { flex: 1; min-width: 0; }
.mm-fav-title { font-size: 14px; font-weight: 600; color: var(--mm-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-fav-price { font-size: 14px; font-weight: 700; color: var(--mm-brand); margin-top: 2px; }
.mm-fav-price span { font-size: 12px; font-weight: 500; color: var(--mm-muted); }
.mm-fav-remove { background: none; border: none; color: var(--mm-red); cursor: pointer; padding: 8px; }
.mm-fav-empty { text-align: center; padding: 40px 24px; color: var(--mm-muted); font-size: 14px; line-height: 1.6; }
.mm-fav-empty span { width: 60px; height: 60px; border-radius: 50%; background: var(--mm-brand-soft); color: var(--mm-brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }

/* ---------- Bottom nav (mobile) ---------- */
.mm-bottomnav { display: none; }

/* ---------- Footer ---------- */
.mm-footer { background: var(--mm-footer); color: rgba(255, 255, 255, .78); margin-top: 72px; padding: 56px 0 26px; }
.mm-footer-inner { max-width: 1316px; margin: 0 auto; padding: 0 20px; }
.mm-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mm-footer-brand p { margin: 16px 0 0; font-size: 14px; line-height: 1.6; max-width: 340px; }
.mm-logo-footer .mm-logo-img { height: 50px; }
.mm-logo-footer.mm-logo-invert .mm-logo-img { filter: brightness(0) invert(1); }
.mm-logo-footer .mm-logo-mark, .mm-logo-footer .mm-logo-text, .mm-logo-footer .mm-logo-text small { color: #fff; }
.mm-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.mm-footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color .15s; }
.mm-footer-social a:hover { background: var(--mm-brand); }
.mm-footer-col-title { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.mm-footer-col > a { display: block; font-size: 14px; padding: 5px 0; }
.mm-footer-col > a:hover { color: #fff; }
.mm-footer-line { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; margin-bottom: 10px; }
.mm-footer-line svg { flex-shrink: 0; margin-top: 3px; color: var(--mm-hl); }
.mm-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.mm-footer-dev { display: inline-flex; align-items: center; gap: 6px; }
.mm-footer-dev-logo { height: 14px; width: auto; opacity: .85; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .mm-nav a { padding: 0 11px; }
  .mm-nav a.active::after { left: 11px; right: 11px; }
  .mm-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-grid-4 > .mm-card:nth-child(4) { display: none; }
  .mm-todos-section .mm-grid-4 > .mm-card:nth-child(4) { display: flex; }
  .mm-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-filters-row, .mm-more-filters .mm-filters-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-ficha-grid { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 32px; }
  .mm-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .mm-nav, .mm-fav-link span, .mm-theme-btn { display: none; }
  .mm-only-tablet { display: inline-flex !important; }
  .mm-topbar-actions .mm-fav-link { display: none; }
  .mm-nav-mobile {
    display: flex; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height .25s ease;
    background: var(--mm-surface); padding: 0 20px;
  }
  .mm-topbar.menu-open .mm-nav-mobile { max-height: 520px; border-top: 1px solid var(--mm-border); padding-bottom: 12px; }
  .mm-nav-mobile a, .mm-nav-mobile-theme {
    display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-size: 15px; font-weight: 600;
    color: var(--mm-heading); border-bottom: 1px solid var(--mm-border); background: none; border-left: 0; border-right: 0; border-top: 0;
    width: 100%; cursor: pointer; text-align: left;
  }
  .mm-nav-mobile a svg { color: var(--mm-muted); }
  .mm-nav-mobile-theme { border-bottom: 0; color: var(--mm-muted); justify-content: flex-start; }
  .mm-topbar-actions .mm-icon-btn.mm-only-tablet { color: var(--mm-brand); }
  .mm-search-fields { flex-wrap: wrap; padding: 10px; gap: 4px 0; }
  .mm-sf { flex: 1 1 45%; }
  .mm-sf + .mm-sf::before { display: none; }
  .mm-search-submit { width: 100%; margin: 6px 0 0; }
  .mm-hero-title { font-size: 46px; }
  .mm-grid-4 > .mm-card:nth-child(4) { display: flex; }
  .mm-grid-4, .mm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
  .mm-ficha-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; }
  .mm-ficha-aside { position: static; margin-top: 24px; }
  .mm-about { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Mobile (layout das telas do celular) ---------- */
@media (max-width: 736px) {
  :root { --topbar-h: 66px; }
  body { font-size: 14px; }
  .mm-only-mobile { display: inline-flex !important; }
  p.mm-only-mobile { display: block !important; }
  .mm-hide-mobile { display: none !important; }
  .mm-container { padding: 0 16px; }
  .mm-topbar { border-bottom: 0; }
  .mm-topbar-inner { padding: 0 12px 0 16px; gap: 8px; }
  .mm-topbar-actions { gap: 2px; }
  .mm-btn-contato { display: none; }
  .mm-logo-img { height: 42px; max-width: 170px; }
  .mm-logo-mark svg { width: 46px; height: 31px; }
  .mm-logo-text strong { font-size: 18px; max-width: 190px; }
  .mm-logo-text small { font-size: 15px; }
  .mm-back-btn { margin-left: -8px; }
  .mm-fab { display: none; }

  /* Hero claro com a foto recortada à direita */
  .mm-hero { background: linear-gradient(180deg, var(--mm-brand-soft) 0%, var(--mm-bg) 100%); padding: 0 0 4px; }
  :root[data-theme="dark"] .mm-hero { background: linear-gradient(180deg, var(--mm-bg-alt), var(--mm-bg)); }
  .mm-hero-media {
    left: auto; right: 0; top: 0; bottom: auto; width: 52%; height: 250px;
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
    background-position: 62% center;
  }
  .mm-hero-shade {
    left: auto; right: 0; width: 52%; height: 250px; bottom: auto;
    background: linear-gradient(90deg, var(--mm-brand-soft) 0%, transparent 38%);
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  }
  :root[data-theme="dark"] .mm-hero-shade { background: linear-gradient(90deg, var(--mm-bg-alt) 0%, transparent 38%); }
  .mm-hero-inner { padding: 26px 16px 22px; color: var(--mm-text); min-height: 222px; }
  .mm-eyebrow { font-size: 10px; letter-spacing: .3em; color: var(--mm-brand); }
  .mm-hero-title { color: var(--mm-heading); font-size: 25px; line-height: 1.14; margin-top: 10px; max-width: 64%; }
  .mm-hero-hl, .mm-hero-hl-mob { color: var(--mm-brand); }
  :root[data-theme="dark"] .mm-hero-hl, :root[data-theme="dark"] .mm-hero-hl-mob { color: var(--mm-hl); }
  .mm-hero-sub { color: var(--mm-text); font-size: 13.5px; margin-top: 12px; max-width: 62%; line-height: 1.5; }

  .mm-search {
    width: calc(100% - 32px); background: var(--mm-surface); border-radius: 18px; padding: 8px 10px 10px;
    box-shadow: 0 10px 30px rgba(16, 34, 74, .1); margin-top: -2px;
  }
  .mm-search-text { display: flex !important; align-items: center; gap: 10px; padding: 4px 2px 10px 12px; color: var(--mm-heading); }
  .mm-search-text input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 14px; color: var(--mm-text); padding: 10px 0; }
  .mm-search-text input::placeholder { color: var(--mm-muted); }
  .mm-search-go { width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--mm-brand); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
  .mm-search-fields { flex-wrap: nowrap; border: 1px solid var(--mm-border); border-radius: 12px; padding: 4px 0; gap: 0; box-shadow: none; }
  .mm-sf { flex: 1 1 0; height: 58px; }
  .mm-sf:last-of-type { flex-grow: 1.3; }
  .mm-sf + .mm-sf::before { display: block; }
  .mm-sf-icon { left: 9px; transform: translateY(-50%); }
  .mm-sf-icon svg { width: 19px; height: 19px; }
  .mm-sf-label { left: 34px; right: 14px; top: 10px; font-size: 12px; }
  .mm-sf select { padding: 24px 18px 0 34px; font-size: 12.5px; }
  .mm-sf-chev { right: 6px; transform: translateY(-50%); }
  .mm-sf-chev svg { width: 14px; height: 14px; }

  /* Ordem das seções como no layout do celular */
  .mm-cats-section { order: 1; padding: 24px 0 4px; }
  .mm-destaques-section { order: 2; background: transparent; padding: 22px 0 8px; }
  .mm-todos-section, .mm-mapa-section, .mm-team-section, .mm-about-section { padding: 36px 0 4px; }
  .mm-todos-section { background: var(--mm-bg-alt); padding-bottom: 30px; margin-top: 22px; }
  .mm-cta-section { padding: 36px 0 0; }

  .mm-cats { gap: 6px; }
  .mm-cat { border: 0; padding: 4px 2px; background: transparent; gap: 2px; }
  .mm-cat:hover { box-shadow: none; transform: none; }
  .mm-cat-icon { width: 54px; height: 54px; margin-bottom: 8px; }
  .mm-cat-icon svg { width: 24px; height: 24px; }
  .mm-cat strong { font-size: 13px; }
  .mm-cat span { font-size: 11px; }

  .mm-section-head { margin-bottom: 14px; align-items: flex-end; }
  .mm-section-head h2 { font-size: 22px; }
  .mm-section-head p { font-size: 13px; margin-top: 2px; }
  .mm-see-all { font-size: 13.5px; padding-bottom: 20px; }
  .mm-todos-section .mm-section-head { flex-direction: column; align-items: flex-start; }

  .mm-grid { gap: 12px; }
  .mm-grid-4, .mm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-card { border-radius: 8px; }
  .mm-card:hover { transform: none; }
  .mm-card-pill { top: 8px; bottom: auto; left: 8px; font-size: 11px; padding: 3px 9px; }
  .mm-card-fav { top: 4px; right: 4px; }
  .mm-card-fav svg { width: 21px; height: 21px; }
  .mm-card-body { padding: 10px 10px 12px; }
  .mm-card-title { font-size: 12.5px; }
  .mm-card-loc { display: none; }
  .mm-card-price { font-size: 15.5px; margin-top: 5px; }
  .mm-card-price span { font-size: 10.5px; }
  .mm-card-feats { gap: 4px 9px; padding-top: 9px; }
  .mm-card-feats span { font-size: 10px; gap: 3px; }
  .mm-card-feats svg { width: 12px; height: 12px; }

  .mm-map { height: 320px; }
  .mm-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mm-team-card { padding: 18px 12px 14px; }
  .mm-team-avatar { width: 70px; height: 70px; font-size: 24px; }
  .mm-team-name { font-size: 14px; }
  .mm-team-bio { display: none; }
  .mm-about-text h2 { font-size: 23px; }
  .mm-about-stats strong { font-size: 24px; }
  .mm-about-stats div { padding: 16px; }
  .mm-cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .mm-cta h2 { font-size: 21px; }
  .mm-cta .mm-btn { width: 100%; }

  /* Bottom nav */
  .mm-bottomnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); background: var(--mm-surface); border-top: 1px solid var(--mm-border);
    box-shadow: 0 -4px 18px rgba(16, 34, 74, .05);
  }
  .mm-bottomnav a, .mm-bottomnav button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    background: none; border: none; color: var(--mm-muted); font-size: 11px; font-weight: 500; cursor: pointer; position: relative;
  }
  .mm-bottomnav a.active { color: var(--mm-brand); font-weight: 600; }
  .mm-bottomnav a.active::after { content: ""; position: absolute; bottom: 6px; width: 46px; height: 2.5px; border-radius: 2px; background: var(--mm-brand); }
  .mm-bottomnav .mm-fav-count { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 16px; height: 16px; font-size: 10px; }
  body { padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); }
  .mm-footer { margin-top: 48px; padding: 40px 0 24px; }
  .mm-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .mm-footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Busca */
  .mm-page-hero { padding: 18px 0 30px; }
  .mm-page-hero h1 { font-size: 25px; margin-top: 6px; }
  .mm-filters { padding: 10px; border-radius: 14px; }
  .mm-filter-search { height: 46px; }
  .mm-filters-top .mm-btn { height: 46px; padding: 0 14px; }
  .mm-filters-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; background: var(--mm-surface);
    border-radius: 20px 20px 0 0; padding: 22px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 86vh; overflow-y: auto;
    transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
  }
  .mm-filters-panel::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--mm-border); margin: -10px auto 14px; }
  .mm-filters-panel.open { transform: translateY(0); }
  .mm-filters-backdrop { display: block; position: fixed; inset: 0; z-index: 125; background: rgba(6, 15, 35, .5); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .mm-filters-backdrop.open { opacity: 1; pointer-events: auto; }
  .mm-filters-row, .mm-more-filters .mm-filters-row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .mm-more-filters { margin-top: 12px; }
  .mm-more-filters[hidden] { display: block !important; }
  #btn-mais-filtros { display: none; }
  .mm-filters-actions { justify-content: space-between; margin-top: 18px; }
  .mm-filters-actions .mm-btn { flex: 1; max-width: 220px; }
  .mm-results-bar { margin: 20px 0 12px; }
  .mm-results-bar strong { font-size: 13.5px; }
  .mm-sort { font-size: 0; gap: 0; }
  .mm-sort select { font-size: 12.5px; height: 36px; }

  /* Ficha */
  .mm-main-ficha { padding-top: 0; }
  .mm-main-ficha .mm-crumbs { display: none; }
  .mm-ficha { margin: 0 -16px; }
  .mm-gallery { display: block; height: auto; border-radius: 0; }
  .mm-gallery-main { border-radius: 0; aspect-ratio: 4 / 3; }
  .mm-gallery-side { display: none; }
  .mm-gallery-nav { width: 34px; height: 34px; }
  .mm-gallery-empty { border-radius: 0; height: 220px; }
  .mm-ficha-grid { padding: 0 16px; margin-top: 18px; }
  .mm-ficha-title { font-size: 23px; margin-top: 10px; }
  .mm-ficha-loc { font-size: 13.5px; }
  .mm-ficha-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .mm-stat { padding: 10px; gap: 10px; }
  .mm-stat-icon { width: 36px; height: 36px; }
  .mm-stat strong { font-size: 15px; }
  .mm-block { margin-top: 26px; padding-top: 24px; }
  .mm-block h2 { font-size: 18px; }
  .mm-ficha-desc { font-size: 14px; }
  .mm-detail-grid { grid-template-columns: 1fr; }
  .mm-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
  .mm-amenity { font-size: 13px; }
  .mm-ficha-map { height: 240px; }
  .mm-price-row strong { font-size: 24px; }
  .mm-ficha-sticky {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); z-index: 75;
    background: var(--mm-surface); border-top: 1px solid var(--mm-border); padding: 10px 16px;
    box-shadow: 0 -6px 20px rgba(16, 34, 74, .08);
  }
  .mm-ficha-sticky span { display: block; font-size: 11px; color: var(--mm-muted); }
  .mm-ficha-sticky strong { font-size: 18px; color: var(--mm-brand); font-weight: 800; }
  .mm-ficha-sticky strong span { display: inline; }
  .mm-ficha-sticky .mm-btn { padding: 12px 18px; }
  body.mm-has-sticky { padding-bottom: calc(var(--bottomnav-h) + 70px + env(safe-area-inset-bottom)); }

  .mm-lightbox img { max-width: 100%; max-height: calc(100% - 140px); border-radius: 0; }
  .mm-lightbox-nav { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
  .mm-lightbox-count { bottom: 28px; }

  /* Overlays viram bottom-sheet */
  .mm-dm-panel { left: 0; right: 0; bottom: 0; width: 100%; max-height: 82vh; border-radius: 18px 18px 0 0; }
  .mm-overlay { align-items: flex-end; padding: 0; }
  .mm-sheet { max-width: 100%; border-radius: 18px 18px 0 0; max-height: 80vh; padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 380px) {
  .mm-hero-title { font-size: 22px; }
  .mm-sf-label { font-size: 11px; }
  .mm-sf select { font-size: 11.5px; padding-left: 34px; }
  .mm-sf-label { left: 34px; }
  .mm-sf-icon { left: 8px; }
  .mm-card-feats span:nth-child(n+4) { display: none; }
}
@media (min-width: 1025px) {
  .mm-card-fav { opacity: .95; }
}

/* =========================================================
   Ajustes 2026-11 (pedido do cliente)
   ========================================================= */
/* Hero ocupa a tela inteira no desktop/tablet; diferenciais e destaques vêm ao rolar */
@media (min-width: 737px) {
  .mm-hero {
    display: flex; flex-direction: column; justify-content: center;
    min-height: max(560px, calc(100vh - var(--topbar-h)));
    min-height: max(560px, calc(100svh - var(--topbar-h)));
    padding: 40px 0 64px;
  }
  .mm-hero-inner { width: 100%; padding-top: 0; padding-bottom: 48px; }
  .mm-features { padding: 34px 0 32px; border-bottom: 1px solid var(--mm-border); }
}

/* Rótulo "A partir de" acima do valor */
.mm-apartir { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--mm-muted); margin-bottom: 1px; }
.mm-fav-price .mm-apartir { display: inline; margin-right: 4px; font-size: 10px; }

/* Seções "à venda" e "para alugar": a segunda emenda na primeira */
.mm-fin-section + .mm-fin-section { padding-top: 40px; }

/* Corretor responsável na ficha */
.mm-contact-agent-corretor .mm-contact-avatar { width: 56px; height: 56px; }
.mm-contact-agent-corretor .mm-contact-avatar img { object-fit: cover; background: var(--mm-brand-soft); }
.mm-contact-role { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mm-brand); }
:root[data-theme="dark"] .mm-contact-role { color: var(--mm-hl); }

/* CRECI em destaque no rodapé */
.mm-footer-creci { font-weight: 600; }
@media (max-width: 736px) {
  .mm-fin-section .mm-section-head { flex-direction: row; align-items: flex-end; }
  .mm-fin-section + .mm-fin-section { margin-top: 0; padding-top: 8px; }
}

/* ---------- Banners próprios (Configuração da Empresa → Banners) ---------- */
@media (max-width: 736px) {
  /* Celular: banner em faixa de largura total (ideal 1080×1350), texto branco por cima */
  .mm-hero.sb-on { background: var(--mm-bg); }
  .mm-hero.sb-on .mm-hero-media,
  .mm-hero.sb-on .mm-hero-shade { left: 0; right: 0; width: 100%; height: min(115vw, 540px); clip-path: none; }
  .mm-hero.sb-on .mm-hero-shade,
  :root[data-theme="dark"] .mm-hero.sb-on .mm-hero-shade { background: linear-gradient(0deg, rgba(6, 12, 24, .78) 0%, rgba(6, 12, 24, .25) 55%, rgba(6, 12, 24, 0) 100%); }
  .mm-hero.sb-on .mm-hero-inner { min-height: min(115vw, 540px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 46px; }
  .mm-hero.sb-on .mm-eyebrow { color: rgba(255, 255, 255, .9); }
  .mm-hero.sb-on .mm-hero-title { color: #fff; max-width: 100%; font-size: 28px; }
  .mm-hero.sb-on .mm-hero-hl, .mm-hero.sb-on .mm-hero-hl-mob { color: var(--mm-hl); }
  .mm-hero.sb-on .mm-hero-sub { color: rgba(255, 255, 255, .9); max-width: 100%; }
  .mm-hero.sb-on .mm-search { margin-top: -28px; }
  .mm-hero.sb-on .sb-dots { top: 18px; transform: none; }
}

[hidden].mm-sf, #mm-bairros-col[hidden] { display: none !important; }
