/* 16.1.47 — Somente Portal de Imóveis da Rede: Google Maps e detalhes no padrão das referências. */
body.msi-portal-public .msi-portal-map-1646__body.msi-portal-map-1647__body{display:block!important;position:relative;flex:1;min-height:0;background:#e7edf3}
body.msi-portal-public .msi-portal-map-1647__body .msi-portal-map-1646__canvas{position:absolute;inset:0;width:100%;height:100%;min-height:0}
body.msi-portal-public .msi-portal-map-1647__notice{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:10;max-width:min(600px,calc(100% - 30px));background:#fff;border:1px solid #d7e3ef;border-radius:15px;padding:12px 18px;text-align:center;line-height:1.5;font-size:13px;color:#344a62;box-shadow:0 8px 18px rgba(20,30,40,.09);pointer-events:none}
body.msi-portal-public .msi-portal-map-1647__notice[hidden]{display:none!important}
body.msi-portal-public .msi-portal-map-1646__head{position:relative;z-index:2}
.msi-google-1647__price,.msi-google-1647__cluster{display:flex;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;white-space:nowrap;font:700 13px/1.1 Inter,Arial,sans-serif;border-radius:999px;box-shadow:0 2px 5px rgba(0,0,0,.14);user-select:none}
.msi-google-1647__price{min-height:29px;padding:6px 12px;background:#fff;color:#c55b00;border:1px solid #d5dce4}
.msi-google-1647__cluster{height:43px;min-width:43px;padding:7px;border:2px solid #1d6bdd;background:#fff;color:#164c9c;font-size:14px}
.msi-google-1647__price:hover,.msi-google-1647__cluster:hover{border-color:#176cc4;background:#f1f7fe}
.msi-google-1647__popover{display:grid;gap:7px;min-width:220px;max-width:310px;max-height:335px;overflow:auto;padding:2px}
.msi-google-1647__group-title{font:700 14px Inter,Arial,sans-serif;color:#15263d;margin-bottom:3px}
.msi-google-1647__group-extra{font-size:11px;color:#62758b}
.msi-google-1647__card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:center;background:#fff;color:#1d3046;text-decoration:none;border-radius:10px;padding:7px;min-width:0}
.msi-google-1647__card+.msi-google-1647__card{border-top:1px solid #e8edf3}
.msi-google-1647__card:hover{background:#f2f6fa}
.msi-google-1647__card img{width:88px;height:86px;object-fit:cover;border-radius:9px;background:#edf3f8}
.msi-google-1647__card-details{display:grid;gap:4px;min-width:0}
.msi-google-1647__card-details strong{font:700 16px/1.15 Inter,Arial,sans-serif;color:#11253f}
.msi-google-1647__card-details small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:500 12px/1.35 Inter,Arial,sans-serif;color:#263d56}
.msi-google-1647__card-details em{font:400 12px/1.3 Inter,Arial,sans-serif;color:#66758a;font-style:normal}
body.msi-portal-property-v2 .msi-portal-detail{background:#f4f7fb!important;padding:22px 0 52px}
body.msi-portal-property-v2 .msi-portal-detail .msi-portal-wrap{width:min(1254px,calc(100% - 32px))}
body.msi-portal-property-v2 .msi-portal-detail__gallery.msi-portal-detail-1647__hero{position:relative;display:block!important;height:clamp(370px,43vw,560px)!important;border-radius:20px!important;overflow:hidden;background:#d9e3ef;margin:12px 0 23px;box-shadow:none!important}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero>a.is-main{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;grid-area:auto!important;overflow:hidden}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero>a.is-main img{display:block;width:100%!important;height:100%!important;object-fit:cover;transition:none!important;transform:none!important}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero>a:not(.is-main){display:none!important}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero>a.is-main:hover img{transform:none!important}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero-gradient{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.30),transparent 28%,transparent 55%,rgba(0,0,0,.55));}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero-title{position:absolute;top:75px;left:28px;z-index:3;pointer-events:none;max-width:min(690px,calc(100% - 70px));color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.3)}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero-title h2{font-size:clamp(25px,3vw,39px);font-weight:700;line-height:1.13;letter-spacing:-.025em;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero-back{position:absolute;top:18px;left:18px;z-index:4;display:grid;place-items:center;width:48px;height:48px;border-radius:999px;background:#fff;color:#1b2b40;text-decoration:none;font-size:19px}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero .msi-portal-favorite-detail{position:absolute!important;top:18px!important;right:18px!important;z-index:4;left:auto!important;width:48px!important;height:48px!important;border-radius:999px!important;background:#fff!important;color:#1b2b40!important}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero .msi-portal-detail__photo-count{position:absolute!important;bottom:18px!important;left:50%!important;transform:translateX(-50%)!important;z-index:4;min-height:46px;padding:0 18px;background:#fff;color:#192b42;border:0;border-radius:999px!important;white-space:nowrap;box-shadow:none!important;font-weight:700}
body.msi-portal-property-v2 .msi-portal-detail-1647__hero-map{position:absolute;bottom:18px;left:calc(50% + 73px);z-index:4;min-height:46px;padding:0 18px;border:0;border-radius:999px;background:#fff;color:#192b42;font-weight:700;cursor:pointer}
body.msi-portal-property-v2 .msi-portal-detail__layout{display:grid!important;grid-template-columns:minmax(0,1fr) 365px!important;gap:25px!important;margin-top:0!important;align-items:start}
body.msi-portal-property-v2 .msi-portal-detail__layout>article{min-width:0}
body.msi-portal-property-v2 .msi-portal-detail__headline{background:transparent!important;border:0!important;padding:5px 0 15px!important;margin:0 0 3px!important;border-radius:0!important}
body.msi-portal-property-v2 .msi-portal-detail-v2__eyebrow{font-size:15px!important;color:#60728c!important;line-height:1.4}
body.msi-portal-property-v2 .msi-portal-detail__headline h1{font-size:clamp(26px,2.35vw,32px)!important;line-height:1.1!important;letter-spacing:-.035em;margin:7px 0 0!important;color:#142339!important}
body.msi-portal-property-v2 .msi-portal-detail__features{display:flex!important;flex-wrap:wrap;gap:10px!important;background:transparent!important;border:0!important;padding:0!important;margin:12px 0 20px!important}
body.msi-portal-property-v2 .msi-portal-detail__features>div{display:grid!important;gap:4px;flex:1 1 125px;min-width:110px;max-width:170px;padding:13px 14px!important;background:#edf2f8;border:0!important;border-radius:15px;box-shadow:none!important}
body.msi-portal-property-v2 .msi-portal-detail__features>div i{display:none!important}
body.msi-portal-property-v2 .msi-portal-detail__features>div span{display:flex;flex-direction:column;gap:5px;font-size:12px!important;color:#667992}
body.msi-portal-property-v2 .msi-portal-detail__features>div strong{font-size:24px!important;font-weight:700!important;line-height:1!important;color:#16283e!important}
body.msi-portal-property-v2 .msi-portal-detail__section,body.msi-portal-property-v2 .msi-public-info-section{display:block;margin:0 0 18px!important;padding:24px!important;border:1px solid #dce5ef!important;background:#fff;border-radius:21px!important;box-shadow:none!important;transform:none!important;transition:none!important}
body.msi-portal-property-v2 .msi-portal-detail__section:hover,body.msi-portal-property-v2 .msi-public-info-section:hover{box-shadow:none!important;transform:none!important}
body.msi-portal-property-v2 .msi-portal-detail__section h2,body.msi-portal-property-v2 .msi-public-info-section h2{font-size:25px!important;font-weight:700!important;margin:0 0 16px!important;line-height:1.2;color:#17263c}
body.msi-portal-property-v2 .msi-portal-detail__aside{align-self:start;position:sticky;top:92px;border:0!important;padding:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;transform:none!important}
body.msi-portal-property-v2 .msi-portal-detail__price{padding:22px!important;margin:0 0 17px!important;border:1px solid #dce5ef!important;border-radius:20px!important;background:#fff!important;box-shadow:none!important}
body.msi-portal-property-v2 .msi-portal-detail__price strong{font-size:35px!important;font-weight:700!important;line-height:1.15;letter-spacing:-.03em}
body.msi-portal-property-v2 .msi-portal-detail__company{padding:18px 18px 14px!important;border:1px solid #dce5ef!important;border-radius:20px 20px 0 0!important;background:#fff!important;box-shadow:none!important;margin:0!important}
body.msi-portal-property-v2 .msi-portal-lead{margin:0!important;padding:15px 18px 20px!important;border:1px solid #dce5ef!important;border-top:0!important;border-radius:0 0 20px 20px!important;background:#fff!important;box-shadow:none!important}
body.msi-portal-property-v2 .msi-portal-lead label,body.msi-portal-property-v2 .msi-portal-lead input,body.msi-portal-property-v2 .msi-portal-lead textarea{font-size:16px!important}
body.msi-portal-property-v2 .msi-portal-contact-1635__actions>*{min-height:46px!important;height:46px!important;border-radius:999px!important;box-shadow:none!important;transform:none!important}
body.msi-portal-property-v2 .msi-portal-detail-1647__location .msi-public-location-map{width:100%;height:320px;border-radius:18px;overflow:hidden}
body.msi-portal-property-v2 .msi-portal-detail-1647__location .msi-public-location-map iframe{width:100%;height:100%;border:0}
body.msi-portal-property-v2 .msi-portal-detail-1647__location-name{font-size:16px;font-weight:700;color:#16293f;margin-bottom:17px}
body.msi-portal-property-v2 .msi-portal-detail-1647__location-note{display:block;font-size:13px;margin-top:10px;color:#74859a}
body.msi-portal-property-v2 .msi-public-complete-details{display:grid;gap:0}
body.msi-portal-property-v2 .msi-portal-detail-description-1646{margin-bottom:18px!important}
body.msi-portal-property-v2 .msi-portal-detail-v2__description{font-size:16px!important;line-height:1.72!important}
@media(max-width:980px){
 body.msi-portal-property-v2 .msi-portal-detail__layout{grid-template-columns:1fr!important;gap:14px!important}
 body.msi-portal-property-v2 .msi-portal-detail__aside{position:static!important;width:100%}
}
@media(max-width:650px){
 body.msi-portal-property-v2 .msi-portal-detail{padding-top:10px!important}
 body.msi-portal-property-v2 .msi-portal-detail .msi-portal-wrap{width:calc(100% - 20px)}
 body.msi-portal-property-v2 .msi-portal-detail__gallery.msi-portal-detail-1647__hero{height:340px!important;border-radius:17px!important;margin-bottom:18px}
 body.msi-portal-property-v2 .msi-portal-detail-1647__hero-title{top:76px;left:18px;max-width:calc(100% - 34px)}
 body.msi-portal-property-v2 .msi-portal-detail-1647__hero-title h2{font-size:26px!important;line-height:1.12}
 body.msi-portal-property-v2 .msi-portal-detail-1647__hero-back{width:42px;height:42px;top:12px;left:12px}
 body.msi-portal-property-v2 .msi-portal-detail-1647__hero .msi-portal-favorite-detail{width:42px!important;height:42px!important;top:12px!important;right:12px!important}
 body.msi-portal-property-v2 .msi-portal-detail-1647__hero .msi-portal-detail__photo-count{bottom:12px!important;left:calc(50% - 36px)!important;min-height:40px;padding:0 13px}
 body.msi-portal-property-v2 .msi-portal-detail-1647__hero-map{bottom:12px;left:calc(50% + 41px);height:40px;min-height:40px;padding:0 11px}
 body.msi-portal-property-v2 .msi-portal-detail__features{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.msi-portal-property-v2 .msi-portal-detail__features>div{max-width:none;padding:11px!important}
 body.msi-portal-property-v2 .msi-portal-detail__headline{padding:0 2px 8px!important}
 body.msi-portal-property-v2 .msi-portal-detail__headline h1{font-size:26px!important}
 body.msi-portal-property-v2 .msi-portal-detail__section,body.msi-portal-property-v2 .msi-public-info-section{padding:17px!important;border-radius:17px!important;margin-bottom:14px!important}
 body.msi-portal-property-v2 .msi-portal-detail__section h2,body.msi-portal-property-v2 .msi-public-info-section h2{font-size:22px!important}
 body.msi-portal-property-v2 .msi-portal-detail__price{padding:18px!important}
 body.msi-portal-property-v2 .msi-portal-detail-1647__location .msi-public-location-map{height:260px}
 body.msi-portal-public .msi-portal-map-1646__head{padding:8px 10px;gap:10px}
 body.msi-portal-public .msi-portal-map-1646__head span{font-size:11px}
}

/* ===== 16.1.48 · Google Maps por cidade/bairro (Portal da Rede) ===== */
body.msi-portal-public .msi-portal-map-1646__head{flex-wrap:wrap;row-gap:5px}
body.msi-portal-public .msi-portal-map-1646__head [data-msi-map-summary]{line-height:1.35}
.msi-google-1648__approx-pin{border-style:dashed!important;background:#fff9ef!important;color:#9b550e!important}
.msi-google-1648__popover{min-width:245px;max-width:min(335px,calc(100vw - 60px));max-height:390px;overflow:hidden;gap:8px}
.msi-google-1648__cards{display:grid;gap:4px;max-height:286px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.msi-google-1648__approx-note{font:400 12px/1.4 Inter,Arial,sans-serif;color:#725326;background:#fff8e9;padding:8px 10px;border:1px solid #f1debd;border-radius:10px;display:block}
.msi-google-1648__approx-caption{display:inline-flex;font:600 11px/1.2 Inter,Arial,sans-serif;color:#89601f;background:#fff6e6;padding:3px 7px;border-radius:6px;justify-self:start}
.msi-google-1648__pagination{display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:1px solid #e6ecf2;padding:9px 0 2px}
.msi-google-1648__pagination button{font:700 12px Inter,Arial,sans-serif;border:1px solid #d6e1ef;background:#fff;border-radius:999px;color:#145eb2;min-height:35px;padding:4px 11px;cursor:pointer}
.msi-google-1648__pagination button:hover:not(:disabled){background:#f0f6fe}
.msi-google-1648__pagination button:disabled{color:#8897a7;opacity:.48;cursor:default}
.msi-google-1648__pagination small{font-size:12px;color:#65788d;white-space:nowrap}
.msi-google-1648__cards .msi-google-1647__card{border:1px solid #e7edf5}
.msi-google-1648__cards .msi-google-1647__card+.msi-google-1647__card{border-top:1px solid #e7edf5}
@media(max-width:650px){
 body.msi-portal-public .msi-portal-map-1646__head{align-content:center;min-height:68px}
 body.msi-portal-public .msi-portal-map-1646__head strong{font-size:15px}
 body.msi-portal-public .msi-portal-map-1646__head [data-msi-map-summary]{flex:1 1 155px;font-size:11px}
 .msi-google-1648__popover{min-width:205px;max-width:260px;max-height:315px}
 .msi-google-1648__cards{max-height:210px}
 .msi-google-1647__card{grid-template-columns:68px minmax(0,1fr);gap:8px}
 .msi-google-1647__card img{width:68px;height:70px}
 .msi-google-1647__card-details strong{font-size:14px}
 .msi-google-1648__pagination button{font-size:11px;padding:4px 8px}
}


/* 16.1.54 — um imóvel por vez no pop-up Google Maps. */
.msi-google-1654__popover{
  display:grid!important;
  gap:10px!important;
  width:min(300px,calc(100vw - 82px));
  min-width:0!important;
  max-width:100%!important;
  max-height:min(410px,calc(100dvh - 130px));
  overflow:hidden!important;
  padding:3px 2px 0;
}
.msi-google-1654__popover .msi-google-1647__group-title{
  margin:0;font:700 14px/1.35 Inter,Arial,sans-serif;color:#14243b;
}
.msi-google-1654__single{min-width:0;overflow:hidden}
.msi-google-1654__single .msi-google-1647__card{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;padding:0!important;
  border:0!important;border-radius:11px!important;
  overflow:hidden;background:#fff;
}
.msi-google-1654__single .msi-google-1647__card img{
  display:block;width:100%!important;height:148px!important;
  border-radius:10px!important;object-fit:cover;
}
.msi-google-1654__single .msi-google-1647__card-details{padding:0 2px 3px;gap:5px}
.msi-google-1654__single .msi-google-1647__card-details strong{font-size:17px;line-height:1.18}
.msi-google-1654__single .msi-google-1647__card-details small{font-size:13px}
.msi-google-1654__single .msi-google-1647__card-details em{font-size:12px}
.msi-google-1654__navigation{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding-top:10px;border-top:1px solid #e6edf4;
}
.msi-google-1654__arrow{
  border:1px solid #d3deea;background:#fff;color:#155fac;
  height:36px;width:46px;border-radius:999px;
  display:inline-flex;justify-content:center;align-items:center;
  font:700 27px/1 Inter,Arial,sans-serif;cursor:pointer;
}
.msi-google-1654__arrow:hover{background:#f0f6fd;border-color:#8eb6e3}
.msi-google-1654__counter{font:500 13px/1.3 Inter,Arial,sans-serif;color:#61728a}
@media(max-width:650px){
 .msi-google-1654__popover{width:min(260px,calc(100vw - 90px));max-height:calc(100dvh - 145px)}
 .msi-google-1654__single .msi-google-1647__card img{height:112px!important}
}

/* 16.1.54 — tipografia da página de detalhe, exclusiva da Rede. */
body.msi-portal-public.msi-portal-property-v2 .msi-portal-detail__headline{
  display:block!important;background:#fff!important;
  border:1px solid #dce5ef!important;border-radius:18px!important;
  padding:16px 20px!important;margin:0 0 12px!important;
  box-shadow:none!important;min-height:0!important;
}
body.msi-portal-public.msi-portal-property-v2 .msi-portal-detail-v2__eyebrow{
  font-size:15px!important;font-weight:400!important;line-height:1.25!important;
}
body.msi-portal-public.msi-portal-property-v2 .msi-portal-detail__headline h1{
  font-size:clamp(22px,2.05vw,27px)!important;
  line-height:1.13!important;margin:4px 0 0!important;
  letter-spacing:-.025em!important;
}
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form label,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form label>span,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form input,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form textarea{
  font-size:16px!important;font-weight:400!important;
}
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form label>span{
  line-height:1.35!important;
}
@media(max-width:650px){
  body.msi-portal-public.msi-portal-property-v2 .msi-portal-detail__headline{
    padding:13px 16px!important;margin-bottom:10px!important;
  }
  body.msi-portal-public.msi-portal-property-v2 .msi-portal-detail__headline h1{
    font-size:22px!important;line-height:1.14!important;
  }
}

/* 16.1.55 — somente no mapa da Rede: marcadores sempre individuais. */
.msi-google-1655__separated{
  --msi-marker-x:0px;--msi-marker-y:0px;
  transform:translate(var(--msi-marker-x),var(--msi-marker-y));
  pointer-events:auto;position:relative;cursor:pointer;
}
.msi-google-1655__separated .msi-google-1647__price{
  min-height:30px;box-shadow:0 2px 5px rgba(0,0,0,.13);
}
.msi-google-1655__separated:hover{z-index:1}
.msi-google-1655__popover{min-width:0!important}
@media(max-width:650px){
 .msi-google-1655__separated .msi-google-1647__price{font-size:11px;padding:6px 8px;min-height:29px}
}

/* 16.1.57 - Tipografia dos formularios, somente Portal de Imoveis da Rede.
   Rotulos/textos de apoio: 13px; digitacao e placeholders: 14px.
   Botões, mascara de telefone, layout e dados permanecem inalterados. */
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form label,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form label > span,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form > p,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form .msi-portal-contact-1646__summary span,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form .msi-portal-contact-1640__privacy {
    font-size:13px !important;
    font-weight:400 !important;
    line-height:1.45;
}
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form input:not([type="hidden"]):not([type="checkbox"]),
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form textarea,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form select,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form .msi-portal-contact-1646__summary strong {
    font-size:14px !important;
    font-weight:400 !important;
}
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form input::placeholder,
body.msi-portal-public.msi-portal-property-v2 #portal-interest-form textarea::placeholder {
    font-size:14px !important;
    font-weight:400 !important;
}
/* A mesma escala nos campos de Solicitar imovel, sem alterar os botoes do modal. */
body.msi-portal-public .msi-portal-request-field > span {
    font-size:13px !important;
    font-weight:400 !important;
}
body.msi-portal-public .msi-portal-request-field input,
body.msi-portal-public .msi-portal-request-field select,
body.msi-portal-public .msi-portal-request-field textarea {
    font-size:14px !important;
    font-weight:400 !important;
}
body.msi-portal-public .msi-portal-request-field input::placeholder,
body.msi-portal-public .msi-portal-request-field textarea::placeholder {
    font-size:14px !important;
    font-weight:400 !important;
}

/* 16.1.60 - Mapa mobile: quantidade -> precos -> ficha do imovel. */
@media(max-width:650px){
  .msi-google-1660__quantity{
    display:flex;align-items:center;justify-content:center;
    min-width:42px;min-height:42px;width:42px;height:42px;
    padding:0;border:2px solid #166de3;border-radius:50%;
    background:#fff;color:#17487e;font:700 14px/1 Inter,Arial,sans-serif;
    cursor:pointer;box-shadow:0 2px 5px rgba(18,35,58,.10);
    -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  }
  .msi-google-1660__quantity:focus-visible{outline:3px solid #86baff;outline-offset:2px}
  .msi-google-1655__separated .msi-google-1647__price{font-size:12px;min-height:32px}
}
