:root{--idx-nav-blue:#2a6496}
/* visual5 (IDX-Home): ajustes sobre o CSS original do template (reference/css/style.css, iconic.css, Update.css).
   Paleta do original: amarelo #F9CE22, marrom-escuro #433636, texto #666, bordas #DDD/#EEE, destaque verde #72C02C.
   Fontes do original: Roboto (corpo), Droid Sans (cards) e gobold (títulos em caixa alta). */
.idx-site {
    --idx-home-ink: #433636;
    --idx-home-deep: #433636;
    --idx-home-muted: #6b6161;
    --idx-home-accent: #f9ce22;
    --idx-home-accent-dark: #e2b606;
    --idx-home-sand: #f5f5f5;
    --idx-home-line: #dddddd;
    background: #fff;
    color: #666;
    font-family: Roboto, 'Droid Sans','Noto Sans', sans-serif;
}
.idx-site .container::before, .idx-site .container::after { content: none; }
.idx-site a { color: #433636; }
.idx-site a:hover { color: #b08e05; }
.idx-site h1, .idx-site h2, .idx-site h3 { color: #333; }
.idx-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.idx-site .btn-primary, .idx-site .btn-info, .idx-site-button { background: #f9ce22; border: 1px solid #f8c809; color: #333 !important; border-radius: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.idx-site .btn-primary:hover, .idx-site .btn-info:hover, .idx-site-button:hover { background: #e2b606; border-color: #bf9a05; color: #333 !important; }

/* ---------- Cabeçalho ---------- */
.idx-header { min-height: 0; }
.idx-header .header-content { position: static; height: auto; width: 100%; }
.idx-header .navigation-bar { margin: 0; padding: 14px 0; height: auto; float: none; background: transparent; }
.idx-header .navigation-bar > .container { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.idx-header .logo { float: none; margin: 0; max-width: 200px; padding: 4px 10px; }
.idx-header .LogoCreciDiv { display: flex; flex-direction: column; align-items: center; }
.idx-header .logo .creci { display: block; font-size: 12px; text-align: center; line-height: 1.2; }
.idx-site-brand { display: flex; align-items: center; justify-content: center; }
.idx-site-brand-logo { display: block; height: 54px; width: auto; max-width: 220px; object-fit: contain; }
.idx-site-brand-name { display: none; font-family: gobold, Roboto, sans-serif; text-transform: uppercase; font-size: 20px; color: #433636; }
.idx-site-brand.is-text .idx-site-brand-logo { display: none; }
.idx-site-brand.is-text .idx-site-brand-name { display: inline; }

.idx-header .Telefones { margin-left: auto; display: none; }
@media (min-width: 768px) { .idx-header .Telefones { display: block; } .idx-header .logo { max-width: 260px; } }
.idx-header .idx-phones { position: relative; display: inline-block; }
.idx-header .idx-phones .btn { border-radius: 0; text-align: left; font-size: 13px; }
.idx-header .idx-phones .btn div:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.idx-header .idx-phones .btn div:nth-child(2) { font-size: 16px; font-weight: 700; }
.idx-header .idx-phones .Telefones.Outros { font-size: 12px; margin: 0; }
.idx-header .idx-phones .dropdown-menu { border-radius: 0; border: 0; border-top: 3px solid #f9ce22; padding: 6px 0; min-width: 220px; right: 0; left: auto; }
.idx-header .idx-phones .dropdown-menu li { padding: 0; }
.idx-header .idx-phones .dropdown-menu a { display: block; padding: 7px 16px; color: #433636; }
.idx-header .idx-phones .dropdown-menu a:hover { background: #fdf1b8; }
.idx-header .idx-phones .dropdown-menu i { width: 18px; color: #b08e05; }

.idx-header .navigation { float: none; }
.navigation ul li a { color: #fff; }
.navigation ul ul li a { color: #fff; }
.navigation li.menu-item-has-children > ul { visibility: hidden; opacity: 0; }
.navigation li.menu-item-has-children:hover > ul, .navigation li.menu-item-has-children.is-open > ul { visibility: visible; opacity: 1; margin-top: 0; }
.navigation li.menu-item-has-children > a::after { content: "\f107"; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 6px; font-size: 12px; }
.navigation ul ul { padding: 0; width: 230px; }
.navigation ul ul li { display: block; padding: 0; background: transparent; text-transform: none; font-size: 14px; }
.navigation ul ul li a { display: block; padding: 10px 16px; }
.idx-header .navigation > ul { display: none; }
.idx-header .navigation-button { float: none; }
@media (min-width: 992px) {
    .idx-header .navigation > ul { display: flex; align-items: center; }
    .idx-header .Telefones { margin-left: auto; }
}
.navigation-button { border: 0; padding: 6px 9px; }
.navigation-button .iconic { color: #433636; }
.navigation-mobile { background: #433636; }
.navigation-mobile li a { display: block; padding: 11px 16px; color: #fff; }
.navigation-mobile li a:hover { color: #f9ce22; }
.navigation-mobile > div { padding: 10px; text-align: right; }
.navigation-mobile > div .iconic { color: #f9ce22; cursor: pointer; }

/* ---------- Conteúdo ---------- */
.content-section { padding-top: 0; min-height: 50vh; background: #fff; }
.idx-header + .content-section { background: #fff; }
.pad-top-mid { padding-top: 30px; }
.row-float { float: none; width: 100%; clear: both; }
.row-float::after, .grid-box-all::after { content: ''; display: table; clear: both; }
.idx-heading { margin: 8px 0 22px; }
.idx-heading h1, .idx-heading h2 { margin: 0; font-size: 26px; padding-bottom: 12px; border-bottom: 3px solid #f9ce22; display: inline-block; }
.idx-more { text-align: center; margin: 6px 0 40px; clear: both; }
.idx-empty { padding: 36px; text-align: center; background: #f5f5f5; border: 1px solid #ddd; color: #6b6161; clear: both; }
.idx-empty i { font-size: 34px; color: #b08e05; display: block; margin-bottom: 8px; }
.idx-textbox-link, .idx-textbox-link:hover { display: block; text-decoration: none; color: inherit; }
.text-box .heading-iconic { float: left; margin-right: 20px; font-size: 34px; color: #f9ce22; }
.text-box h2 { font-size: 20px; font-family: gobold, Roboto, sans-serif; text-transform: uppercase; }
.idx-textbox-link:hover .text-box { border-left-color: #f9ce22; box-shadow: 0 4px 14px rgba(67,54,54,.12); }
.centraliza { text-align: center !important; }

/* Faixa de pesquisa amarela */
.map-search-form { background: #f9ce22; position: relative; z-index: 2; }
.map-search-form .idx-search-title { margin: 0 0 14px; font-size: 20px; font-family: gobold, Roboto, sans-serif; text-transform: uppercase; color: #433636; }
.map-search-form .form-control { border-radius: 0; box-shadow: none; }
.map-search-form .form-control:focus { border-color: #433636; }
.map-search-form .form-group { margin-bottom: 14px; }
.idx-site .idx-search-submit { width: 100%; border-color: #433636 !important; }

/* ---------- Título de página ---------- */
.idx-pagehero { border-bottom: 1px solid #ddd; padding: 28px 0 14px; color: #433636; }
.idx-pagehero::after { content: none; }
.idx-pagehero .idx-heading { margin: 0 0 8px; }
.idx-pagehero h1 { font: 700 26px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; max-width: none; color: #333; margin: 0; }
.idx-breadcrumb { background: transparent; padding: 6px 0 0; margin: 0; }
.idx-breadcrumb > li + li::before { color: #b08e05; }

/* ---------- Cards (.grid-box) ---------- */
.grid-box-all { margin-left: 0; margin-right: 0; }
.grid-box { box-shadow: none; float: left; width: 100%; padding-left: 0; padding-right: 0; }
.grid-box .image { background: #f8f8f8; }
.grid-box .image-container { height: 234px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f8f8f8; }
.grid-box .image-container img { width: 100%; height: 100%; object-fit: cover; }
.grid-box:hover .image-container img { transform: scale(1.05); }
.grid-box .ribbon { z-index: 10; }
.grid-box .DestaqueTituloPequeno { color: #fff; font-size: 14px; font-weight: 500; text-transform: uppercase; clear: both; }
.grid-box .DestaqueTituloPequeno a { color: #fff; }
.grid-box .DestaqueTituloPequeno a:hover { color: #f9ce22; }
.grid-box .description { height: auto; padding: 14px 16px 18px; background: #fff; border: 1px solid #eee; border-top: 0; }
.grid-box .description .typeendereco { color: #666; font-size: 13px; font-weight: 400; text-align: center; min-height: 36px; }
.grid-box .meta-list { margin: 4px 0 10px; font-size: 13px; color: #6b6161; text-align: center; }
.grid-box .meta-list .meta { display: inline-block; margin: 0 8px; }
.grid-box .meta-list .meta i { margin-right: 3px; }
.grid-box .idx-card-tipo { color: #433636; font-size: 12px; font-weight: 700; text-transform: uppercase; text-align: center; }
.grid-box .idx-card-location { color: #666; font-size: 13px; text-align: center; }
.grid-box .price { color: #433636; font-size: 21px; font-weight: 700; font-family: gobold, Roboto, sans-serif; }
.grid-box .idx-fav, .idx-fav { position: absolute; right: 12px; bottom: 12px; z-index: 11; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #433636; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.grid-box .idx-fav.active, .idx-fav.active { background: #f9ce22; color: #433636; }
.idx-fav:focus-visible { outline: 2px solid #433636; outline-offset: 2px; }

.idx-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 26px 0 18px; flex-wrap: wrap; }
.idx-results-heading h2 { margin: 0; font-size: 18px; color: #433636; }
.idx-sort-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.idx-sort-form label { margin: 0; font-size: 13px; color: #6b6161; }
.idx-sort-form select { width: auto; border-radius: 0; height: 36px; }
.idx-pagination { text-align: center; clear: both; padding: 10px 0 40px; }
.idx-pagination .pagination > li > a { color: #433636; border-radius: 0; margin: 0 2px; border-color: #ddd; }
.idx-pagination .pagination > .active > a, .idx-pagination .pagination > li > a:hover { background: #f9ce22; border-color: #e2b606; color: #333; }

/* ---------- Rodapé ---------- */
.idx-footer { background: #433636; padding: 36px 0 0; color: #c9bfbf; background-image: none; }
.idx-footer .foot_title, .idx-footer h3, .idx-site-footer-title { color: #f9ce22; font: 700 18px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; margin: 0 0 16px; }
.idx-footer .idx-footer-title-2 { margin-top: 26px; }
.idx-footer .cont_info { list-style: none; margin: 0; padding: 0; }
.idx-footer .cont_info li { padding: 4px 0; color: #c9bfbf; }
.idx-footer .cont_info i { color: #f9ce22; width: 18px; }
.idx-footer a { color: #fff; }
.idx-footer a:hover { color: #f9ce22; }
.idx-footer-social { margin-top: 14px; display: flex; gap: 8px; }
.idx-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #6b6161; color: #fff; }
.idx-footer-social a:hover { background: #f9ce22; color: #433636; border-color: #f9ce22; }
.idx-footer-map { width: 100%; height: 230px; border: 3px solid #f9ce22; background: #5f4d4d; }
.idx-site-footer-list { list-style: none; margin: 0 0 8px; padding: 0; }
.idx-site-footer-list li { padding: 4px 0; }
.footer-dinamico { color: #c9bfbf; }
.idx-footer-bottom { margin-top: 40px; padding: 18px 0; border-top: 1px solid #5f4d4d; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #d6cccc; }
.idx-footer-bottom a { color: #f9ce22; }

.idx-whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.idx-whatsapp-float .wpp-float { margin: 0; font-size: 30px; }

.idx-footer-bottom { flex-direction: column; }
@media (min-width: 576px) { .grid-box-all { margin-left: -15px; margin-right: -15px; width: calc(100% + 30px); } .grid-box { width: 50%; padding-left: 15px; padding-right: 15px; } }
@media (min-width: 768px) { .idx-footer-bottom { flex-direction: row; } }
@media (min-width: 992px) { .grid-box { width: 33.3333%; } }

/* ===== Cabeçalho como no Site4 em produção: faixa branca com logo e telefones, barra azul com o menu ===== */
.idx-header { background: #fff; border-bottom: 0; }
.idx-topbar { background: #fff; }
.idx-topbar > .container { display: flex; align-items: center; gap: 22px; }
.idx-header .navigation-bar.idx-navbar { background: var(--idx-nav-blue); padding: 0; border: 0; height: auto; }
.idx-header .navigation-bar.idx-navbar > .container { display: flex; align-items: center; justify-content: flex-end; }
.idx-header .navigation { margin-left: 0; width: 100%; }
.idx-header .navigation > ul { justify-content: flex-end; }
.navigation > ul > li > a { display: block; padding: 14px 0; color: #fff; }
.navigation li:hover > a, .navigation li a.active { color: #f9ce22; }
.navigation ul ul { background: var(--idx-nav-blue); border-top: 3px solid #f9ce22; }
.navigation ul ul li { border-top: 1px solid rgba(255,255,255,.2); }
.idx-header .logo { border: 4px solid var(--idx-nav-blue); border-radius: 0; }
.idx-header .logo .creci { color: #6b6161; }
.idx-header .idx-phones .btn { background: #fff; border: 1px solid var(--idx-nav-blue); color: var(--idx-nav-blue); padding: 2px 12px; line-height: 1.15; }
.idx-header .idx-phones .btn div:first-child { color: var(--idx-nav-blue); }
.idx-header .idx-phones .Telefones.Outros { color: #666; }
.idx-header .idx-phones .dropdown-menu { border-top-color: var(--idx-nav-blue); }
.navigation-button { background: #f9ce22; margin: 6px 0; }
.idx-topbar > .container { justify-content: space-between; }
@media (min-width: 992px) { .idx-topbar > .container { justify-content: flex-start; } }

/* ===== Conteúdo em cinza claro (#EEE), como no original ===== */
.content-section, .idx-header + .content-section { background: #eee; }
.idx-pagehero { background: #fff; }
.grid-box .description, .grid-box .DestaqueTituloPequeno + .description { background: #fff; }

/* ===== Cards: faixa do título e ícones ===== */
.grid-box .image { float: left; width: 100%; }
.grid-box .DestaqueTituloPequeno { float: left; width: 100%; box-sizing: border-box; height: auto; line-height: 20px; padding: 11px 14px; text-align: center; background: #433636; }
.grid-box .description { float: left; width: 100%; box-sizing: border-box; }
.grid-box .meta-list .meta { background: #fff !important; border: 1px solid #eee; padding: 3px 9px; border-radius: 0; }
.grid-box .meta-list .meta i { color: #b08e05; }
.idx-footer .foot_title { border-bottom: 0; }

/* ===== Faixa de pesquisa como no Site4 em produção: campos cinza-claro e botão branco com texto azul ===== */
.map-search-form { padding: 20px 0 6px; }
.map-search-form .form-control { background: #f9f9f9; border: 1px solid #ddd; color: #666; height: 36px; font-size: 14px; }
.idx-site .idx-search-submit { background: #fff !important; border: 1px solid #ddd !important; color: #2a6496 !important; height: 36px; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.15); text-transform: uppercase; }
.idx-site .idx-search-submit:hover { background: #eef4fa !important; }

/* Cards sempre com a mesma altura, qualquer que seja o tamanho do texto */


/* ===== Hero com caixa azul translúcida, como no Site4 em produção ===== */
.idx-hero { position: relative; height: 320px; overflow: hidden; background: var(--idx-nav-blue); clear: both; }
.idx-hero-link { display: block; position: relative; height: 100%; color: #fff; }
.idx-hero-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.idx-hero-title { position: absolute; left: 12px; right: 12px; top: 40px; max-width: 560px; padding: 12px 14px; background: rgba(42,100,150,.82); color: #fff; font: 700 18px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; }
.idx-hero-info { position: absolute; left: 12px; bottom: 12px; padding: 16px 24px; background: rgba(42,100,150,.82); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.idx-hero-info strong { font: 700 30px/1.1 gobold, Roboto, sans-serif; color: #f9ce22; }
.idx-hero-tags b { display: inline-block; margin-right: 6px; padding: 2px 10px; background: #f9ce22; color: #433636; font-size: 12px; text-transform: uppercase; }
.idx-hero-facts i { color: #f9ce22; margin: 0 4px 0 12px; }
.idx-hero-facts i:first-child { margin-left: 0; }
.idx-hero--somente-desktop { display: none; }
@media (min-width: 769px) { .idx-hero--somente-desktop { display: block; } .idx-hero { height: 480px; } .idx-hero-title { left: 8%; right: auto; padding: 26px 30px; font-size: 26px; } .idx-hero-info { left: 8%; bottom: 40px; } }

/* ===== Logo sobreposto à barra azul, como no original ===== */
.idx-topbar { padding: 12px 0 0; }
.idx-header .logo { position: relative; z-index: 5; margin-bottom: 0; background: #fff; }
.idx-header .navigation-bar.idx-navbar { position: relative; z-index: 2; }

/* ===== Mobile ===== */
.idx-header .navigation-bar.idx-navbar > .container { min-height: 48px; }
.idx-header .navigation-button { display: block; background: transparent; margin: 0; padding: 8px 10px; }
.idx-header .navigation-button .iconic { font-size: 28px; color: #fff; line-height: 1; }
.grid-box .image-container { width: 100%; }
@media (min-width: 992px) { .idx-header .logo { margin-bottom: -34px; } .idx-header .navigation-bar.idx-navbar > .container { min-height: 46px; } .idx-header .navigation-button { display: none; } }

/* ===== Botões "Ver imóvel" dos cards de similares/próximos ===== */
.content-section { padding-bottom: 0; }

/* ===== Detalhe: títulos de seção no estilo do template ===== */
.idx-site .idx-detail-block h2 { font: 700 20px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; padding-bottom: 10px; border-bottom: 3px solid #f9ce22; display: inline-block; }

/* ===== Menu sem colidir com o logo sobreposto; pesquisa em uma linha ===== */
@media (min-width: 768px) {
    .map-search-form form .row { display: flex; flex-wrap: nowrap; gap: 12px; }
    .map-search-form form .row::before, .map-search-form form .row::after { display: none; }
    .map-search-form form .row > [class*="col-md"] { flex: 1 1 0; width: auto; float: none; padding: 0; min-width: 0; }
    .map-search-form form .row > .col-md-2.centraliza { flex: 0 0 150px; }
}

/* Menu em uma linha */
.navigation > ul > li { padding: 0 12px; white-space: nowrap; }
.navigation > ul > li > a { white-space: nowrap; font-size: 14px; }


/* ===== Detalhe do imóvel (Site4): duas colunas, slider com contador, título com ícone, meta-list e widgets ===== */
.idx-pagehero--slim { padding: 14px 0 8px; }
.idx-pagehero--slim .idx-breadcrumb { padding: 0; }
.idx-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 0 32px; align-items: start; }
.idx-detail-main { background: #fff; padding: 12px; border: 1px solid #ddd; min-width: 0; }
.idx-slider__main { position: relative; display: block; width: 100%; height: 240px; padding: 0; border: 0; background: #f5f5f5; cursor: zoom-in; overflow: hidden; }
.idx-slider__main img { width: 100%; height: 100%; object-fit: cover; }
.idx-slider__tag { position: absolute; left: 0; top: 18px; padding: 6px 16px; background: #f9ce22; color: #433636; font: 700 13px/1 gobold, Roboto, sans-serif; text-transform: uppercase; }
.idx-slider .photo-counter { position: absolute; right: 12px; bottom: 12px; padding: 5px 12px; background: rgba(67,54,54,.8); color: #fff; font-size: 13px; }
.idx-slider .badge-foto-ia { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; background: rgba(67,54,54,.8); color: #fff; font-size: 12px; }
.idx-slider__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.idx-slider__thumb { position: relative; height: 62px; padding: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px #ddd; background: #f5f5f5; cursor: zoom-in; overflow: hidden; }
.idx-slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
.idx-slider__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(67,54,54,.7); color: #fff; font-weight: 700; }
.idx-article-title { margin: 22px 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.idx-article-title h1.has-icon { flex: 1 1 100%; margin: 0; font: 700 20px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; color: #433636; }
.idx-article-title h1.has-icon .iconic { color: #f9ce22; margin-right: 6px; }
.idx-article-prices { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.idx-article-prices .idx-article-price { margin: 0; font: 700 24px/1.1 gobold, Roboto, sans-serif; color: #433636; }
.idx-article-prices .idx-article-price small { display: block; font: 700 11px/1.4 Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #666; }
.idx-article-prices .idx-article-price em { font-size: 14px; font-style: normal; color: #666; }
.idx-article-actions { margin-left: 0; display: flex; gap: 8px; }
.idx-article-actions .btn { border-radius: 0; font-size: 13px; }
.idx-article-actions .btn.active i { color: #b08e05; }
.idx-article-address { color: #666; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #eee; }
.idx-article-address i { color: #b08e05; margin-right: 6px; }
.idx-ref { margin-left: 14px; padding: 2px 10px; background: #f5f5f5; border: 1px solid #ddd; font-size: 12px; }
.idx-article-meta { background: #f9f9f9; border: 1px solid #eee; padding: 14px 6px; margin-bottom: 22px; }
.idx-article-meta .meta-list { display: flex; flex-wrap: wrap; }
.idx-article-meta .meta-list > div, .idx-detail-block .meta-list > div { width: 50%; padding: 5px 12px; font-size: 14px; color: #666; }
.idx-article-meta .meta-list i, .idx-detail-block .meta-list i { color: #b08e05; width: 18px; }
.idx-article-meta .meta-list span { color: #433636; font-weight: 700; }
.idx-detail-block { margin-bottom: 26px; }
.idx-detail-block .meta-list { display: flex; flex-wrap: wrap; margin-bottom: 8px; }
.idx-detail-block .meta-list h6 { width: 100%; margin: 10px 12px 4px; font-weight: 700; color: #433636; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.idx-detail-video { position: relative; aspect-ratio: 16 / 9; background: #433636; }
.idx-detail-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.idx-detail-map { height: 320px; background: #eee; border: 3px solid #fff; box-shadow: 0 0 0 1px #ddd; }
.idx-detail-aside .widget { background: #fff; border: 1px solid #ddd; padding: 0 0 18px; margin-bottom: 22px; }
.idx-detail-aside .widget-title { margin: 0 0 16px; padding: 12px 18px; background: #433636; color: #fff; font: 700 15px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; border-bottom: 3px solid #f9ce22; }
.idx-detail-aside .idx-detail-form, .idx-detail-aside .idx-detail-share__row { padding: 0 18px; }
.idx-detail-form .form-control { margin-bottom: 10px; border-radius: 0; }
.idx-detail-form .btn { width: 100%; border-radius: 0; }
.idx-detail-share__row { display: flex; gap: 8px; }
.idx-detail-share__row a, .idx-detail-share__row button { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; background: #433636; color: #fff; }
.idx-detail-share__row a:hover, .idx-detail-share__row button:hover { background: #f9ce22; color: #433636; }
.idx-detail-more h4, .idx-detail-more__title { font: 700 20px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; margin: 24px 0 14px; }
@media (min-width: 576px) { .idx-detail-main { padding: 20px; } .idx-slider__main { height: 340px; } .idx-slider__thumb { height: 78px; } .idx-article-title h1.has-icon { font-size: 24px; } .idx-article-prices .idx-article-price { font-size: 28px; } }
@media (min-width: 768px) { .idx-slider__main { height: 440px; } .idx-slider__thumbs { grid-template-columns: repeat(6, 1fr); } .idx-article-meta .meta-list > div, .idx-detail-block .meta-list > div { width: 33.333%; } .idx-article-actions { margin-left: auto; } .idx-detail-layout { gap: 30px; padding: 26px 0 40px; } }
@media (min-width: 992px) { .idx-detail-layout { grid-template-columns: minmax(0, 1fr) 340px; } }

.idx-site .idx-detail-main .idx-detail-cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .idx-site .idx-detail-main .idx-detail-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.idx-site .idx-detail-block h4, .idx-site .comments-area h4 { font: 700 18px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; color: #433636; padding-bottom: 8px; margin: 0 0 12px; border-bottom: 3px solid #f9ce22; }
.idx-site .idx-detail-block, .idx-site .comments-area { padding-top: 6px; }

/* ===== Contato (Site4) ===== */
.idx-contact-page { padding-top: 26px; padding-bottom: 40px; }
.idx-contact-visit { display: flex; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid #ddd; padding: 24px; margin: 0 0 24px; }
.idx-contact-visit > .col-md-6 { flex: 1 1 360px; max-width: none; }
.idx-contact-visit .idx-map { height: 280px; border: 3px solid #fff; box-shadow: 0 0 0 1px #ddd; }
.idx-contact-brand { display: grid; place-items: center; gap: 8px; height: 220px; background: #f5f5f5; color: #433636; font: 700 20px/1 gobold, Roboto, sans-serif; text-transform: uppercase; }
.idx-contact-brand i { font-size: 44px; color: #f9ce22; }
.idx-contact-visit .headlineM h2 { font: 700 24px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; color: #433636; border-bottom: 3px solid #f9ce22; display: inline-block; padding-bottom: 8px; }
.idx-contact-info { list-style: none; margin: 14px 0 0; padding: 0; }
.idx-contact-info li { padding: 6px 0; color: #666; }
.idx-contact-info i { color: #b08e05; width: 22px; }
.idx-contact-info a { color: var(--idx-nav-blue); }
.idx-contact-form-panel { background: #fff; border: 1px solid #ddd; padding: 24px; }
.idx-contact-heading { margin: 8px 0 24px; padding-bottom: 8px; border-bottom: 3px solid #f9ce22; display: inline-block; font: 700 22px/1.2 gobold, Roboto, sans-serif; text-transform: uppercase; color: #433636; }
.idx-contact-form-panel .form-control { border-radius: 0; }
.idx-contact-whatsapp { margin-left: 8px; border-radius: 0; }

@media (min-width: 992px) { .idx-header .navigation-bar.idx-navbar > .container { padding-left: 205px; } .navigation > ul > li { padding: 0 8px; font-size: 14px; } .navigation > ul > li > a { font-size: 14px; } }

/* ===== Ajustes mobile-first (auditoria 375 px) ===== */
.idx-site .idx-detail-block h4, .idx-site .comments-area h4 { display: table; max-width: 100%; }
.idx-article-title h1.has-icon { display: flex; align-items: center; gap: 10px; }
.idx-article-title h1.has-icon .iconic { margin: 0; flex: 0 0 auto; }
.idx-site .heading h2, .idx-site .idx-section-title { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
@media (min-width: 768px) { .idx-site .heading h2, .idx-site .idx-section-title { font-size: 28px; } }
@media (min-width: 769px) { .idx-footer { padding-top: 55px; } }

/* ===== Espaçamentos (auditoria mobile) ===== */
.idx-site .idx-form__title { margin: 30px 0 16px; }
.idx-site .idx-form__title:first-child { margin-top: 0; }
.idx-contact-visit .headlineM { margin-top: 18px; }
.idx-footer [class*="col-"] { margin-bottom: 22px; }
@media (min-width: 992px) { .idx-contact-visit .headlineM { margin-top: 0; } .idx-footer [class*="col-"] { margin-bottom: 0; } }

/* Endereço na barra do topo: mesmo desenho do botão de telefone (borda azul, cantos retos) */
.idx-topaddress { display: none; align-items: center; gap: 10px; margin-left: auto; max-width: 440px; color: #433636; }
.idx-topaddress > i { color: var(--idx-nav-blue); font-size: 22px; }
.idx-topaddress__label { color: var(--idx-nav-blue); font-size: 12px; line-height: 1.25; text-transform: uppercase; letter-spacing: .06em; }
.idx-topaddress__text { margin: 0; font-style: normal; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idx-topaddress ~ .Telefones { margin-left: 24px; }
@media (min-width: 992px) { .idx-topaddress { display: flex; } }

/* Botão de telefones compacto (2 linhas): cabe na faixa branca sem vazar para cima */
.idx-header .idx-phones .btn .Telefones.Outros { display: none; }
.idx-header .idx-phones .btn div:nth-child(2)::after { content: "\f107"; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 8px; font-size: 12px; color: var(--idx-nav-blue); }

/* iOS dá zoom ao focar campos com fonte menor que 16px */
@media (max-width:767px){.idx-site input,.idx-site select,.idx-site textarea{font-size:16px}}

.idx-mobile-contact{display:grid;gap:4px;padding:14px 20px;border-top:1px solid rgba(255,255,255,.15)}
.idx-mobile-contact a{color:#f5f5f5;font-size:15px;text-decoration:none}
.idx-mobile-contact i{width:20px;color:var(--idx-home-accent)}

/* Entre 992 e 1199px o menu (7 itens) é mais largo que o espaço ao lado do logo e passava por baixo dele */
@media (min-width: 992px) and (max-width: 1199px) {
    .idx-header .navigation li { padding-left: 2px; padding-right: 2px; }
    .idx-header .navigation li > a { font-size: 14px; letter-spacing: 0; }
}

/* ===== Revisão de contraste, paleta e formulários ===== */
button, input, select, textarea { font-family: inherit; }
/* Fitas Venda/Locação no azul do menu (branco sobre #3498DB dava 3,15:1). */
.ribbon span { background-color: #2a6496; }
.ribbon::before, .ribbon::after { border-color: #1d4568; }
/* Rótulos visíveis na faixa amarela: marrom do tema (#666 sobre #F9CE22 não passa AA). */
.map-search-form label, .map-search-form .help-block { color: #433636; }
/* Cards dentro do detalhe do imóvel: grade própria da seção, sem float de coluna. */
.idx-detail-cards .grid-box { float: none; width: auto; margin-bottom: 0; padding: 0; min-width: 0; }

/* ===== Card único (.grid-box): mesma marcação e mesmas alturas em Home, Imóveis, Favoritos, detalhe (próximos/similares) =====
   Linhas de uma mesma fileira têm a mesma altura (flex); o preço fica ancorado no rodapé do card. */
.grid-box-all { display: flex; flex-wrap: wrap; }
.grid-box-all::after { content: none; }
.grid-box, .idx-detail-cards .grid-box { display: flex; flex-direction: column; float: none; }
.grid-box .image { float: none; flex: 0 0 auto; }
.grid-box .DestaqueTituloPequeno { float: none; flex: 0 0 auto; }
.grid-box .DestaqueTituloPequeno a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: 40px; }
.grid-box .description { float: none; flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.grid-box .description .typeendereco { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; min-height: 0; }
.grid-box .description .alinhadiv:last-child { margin-top: auto; padding-top: 8px; text-align: center; }
.grid-box .description .alinhadiv:has(.typeendereco:empty) { display: none; }
.grid-box .meta-list { min-height: 34px; }
.idx-fav:focus-visible { outline: 3px solid #2a6496; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.idx-favorites .idx-wrap { max-width: 1170px; padding: 0 15px; }
.idx-toast__action { margin-left: 14px; padding: 0; border: 0; background: transparent; color: #f9ce22; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.idx-toast__action:focus-visible { outline: 2px solid #f9ce22; outline-offset: 3px; }
.grid-box[hidden] { display: none; }

/* Faixa 992-1199px: menu de 7 itens maior que o espaço ao lado do logo; alinha à esquerda (sobra vai para a direita) e compacta */
@media (min-width: 992px) and (max-width: 1199px) {
    .idx-header .navigation { min-width: 0; }
    .idx-header .navigation > ul { justify-content: flex-start; }
    .idx-header .navigation-bar.idx-navbar > .container { padding-left: 215px; }
    .navigation > ul > li > a { font-size: 13px; }
}

/* Alvos de toque mínimos (32px) */
.idx-toast__action { min-height: 32px; min-width: 44px; padding: 0 8px; }
.idx-toast { display: flex; align-items: center; flex-wrap: wrap; }
@media (max-width: 767px) {
    .idx-footer a, .idx-mobile-contact a, .navigation-mobile li a, .idx-topbar a { display: inline-flex; align-items: center; min-height: 32px; }
    .navigation-mobile li a { display: flex; }
    .idx-header .logo .creci { font-size: 12px; }
    button, .idx-btn, .btn { min-height: 32px; }
}
