/* Home imobiliaria */

/* Barra de rolagem do navegador — trilho neutro, “thumb” na cor secundária */
html:has(body.imobiliaria-site) {
    scrollbar-color: var(--accent-secondary, #f97316) #e2e8f0;
    scrollbar-width: thin;
    color-scheme: light;
}

html:has(body.imobiliaria-site)::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

html:has(body.imobiliaria-site)::-webkit-scrollbar-track {
    background: #e2e8f0;
}

html:has(body.imobiliaria-site)::-webkit-scrollbar-thumb {
    background: var(--accent-secondary, #f97316);
    border-radius: 999px;
    border: 2px solid #e2e8f0;
}

html:has(body.imobiliaria-site)::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary-hover, #ea580c);
}

.imobiliaria-site {
    --imobiliaria-body-bg: #f8f9fb;
    --imobiliaria-content-max: 1320px;
    --imobiliaria-sticky-offset: calc(env(safe-area-inset-top, 0px) + 5.75rem);
    background: var(--imobiliaria-body-bg);
    color: #1a1d21;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    scroll-padding-top: var(--imobiliaria-sticky-offset);
    scrollbar-gutter: stable;
}

@media (min-width: 992px) {
    .imobiliaria-site {
        --imobiliaria-sticky-offset: calc(env(safe-area-inset-top, 0px) + 6.25rem);
    }
}

/* Poppins em todo o site (componentes Bootstrap usam fonte própria) */
body.imobiliaria-site .btn,
body.imobiliaria-site .nav-link,
body.imobiliaria-site .navbar,
body.imobiliaria-site input,
body.imobiliaria-site textarea,
body.imobiliaria-site select,
body.imobiliaria-site .form-control,
body.imobiliaria-site .form-select,
body.imobiliaria-site .form-label,
body.imobiliaria-site .dropdown-menu,
body.imobiliaria-site .alert {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Selects: evita flash escuro no primeiro toque (Chrome/Edge Windows) */
body.imobiliaria-site .form-select,
body.imobiliaria-site select.form-select {
    color-scheme: light;
    --bs-form-select-bg: #fff;
    --bs-form-select-color: #111827;
    --bs-body-bg: #fff;
    --bs-body-color: #111827;
    background-color: #fff;
    color: #111827;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    min-height: calc(1.5em + 0.75rem + 2px);
    line-height: 1.5;
    box-sizing: border-box;
    background-clip: padding-box;
    transition: none;
    outline: none;
    box-shadow: none;
    accent-color: var(--accent-secondary, #f97316);
    forced-color-adjust: none;
}
body.imobiliaria-site .form-select:focus,
body.imobiliaria-site .form-select:focus-visible,
body.imobiliaria-site .form-select:active {
    color-scheme: light;
    --bs-form-select-bg: #fff;
    --bs-form-select-color: #111827;
    --bs-body-bg: #fff;
    --bs-body-color: #111827;
    background-color: #fff;
    color: #111827;
    outline: none;
    box-shadow: none !important;
    border-color: #cbd5e1;
}
body.imobiliaria-site .form-select option,
body.imobiliaria-site .form-select optgroup {
    color: #111827;
    background-color: #fff;
    color-scheme: light;
}

/* Sem sombra em botões Bootstrap / CTAs (foco com contorno) */
body.imobiliaria-site .btn,
body.imobiliaria-site .btn:focus,
body.imobiliaria-site .btn:active {
    box-shadow: none !important;
}

body.imobiliaria-site .btn:focus-visible {
    box-shadow: none !important;
    outline: 2px solid var(--accent-secondary, #64748b);
    outline-offset: 2px;
}

body.imobiliaria-site .imovel-home-carousel-btn,
body.imobiliaria-site .imovel-home-carousel-btn:focus {
    box-shadow: none !important;
}

body.imobiliaria-site .imovel-home-carousel-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

/*
 * style.css define .site-wrap com max-width:1170px e margens laterais fixas —
 * isso cortava o banner e deslocava o layout. No modo provedor o wrap é 100%.
 */
.imobiliaria-site .site-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-height: 0;
    flex: 1 0 auto;
    box-shadow: none;
    background: transparent;
    position: relative;
    z-index: 0;
}

@media (min-width: 768px) {
    .imobiliaria-site .site-wrap {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Volta padding normal dos containers do rodapé (style.css usa max(50px,4vw)) */
    .imobiliaria-site .site-footer .footer-section-wrap,
    .imobiliaria-site .site-footer .footer-bottom .container {
        padding-left: var(--bs-gutter-x, 0.75rem) !important;
        padding-right: var(--bs-gutter-x, 0.75rem) !important;
    }
}

/* Conteúdo (header, blocos, rodapé): máx. 1320px centralizado. Não afeta container-fluid do banner. */
.imobiliaria-site .container,
.imobiliaria-site .container-sm,
.imobiliaria-site .container-md,
.imobiliaria-site .container-lg,
.imobiliaria-site .container-xl,
.imobiliaria-site .container-xxl {
    max-width: var(--imobiliaria-content-max);
}

/* Banner em container-fluid: garante 100% da largura útil, sem recuo */
.imobiliaria-site .imovel-home-banner-fluid {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.imobiliaria-site .site-wrap {
    background: transparent;
    min-height: 0;
    flex: 1 0 auto;
}

.imobiliaria-site .site-main {
    padding-top: 0;
}

.imovel-home-topbar-link {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
}

.imovel-home-topbar-link:hover {
    color: #fff;
}

/* Telefone na barra superior: texto branco, ícone cor secundária */
.imovel-home-topbar-phone {
    color: #000000 !important;
    font-size: 0.9375rem;
    font-weight: 500;
}

.imovel-home-topbar-phone-ico {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--accent-secondary, #64748b);
}

.imovel-home-topbar-phone:hover .imovel-home-topbar-phone-text,
.imovel-home-topbar-phone:focus .imovel-home-topbar-phone-text {
    color: var(--accent-secondary, #94a3b8);
}

.imovel-home-topbar-phone:hover .imovel-home-topbar-phone-ico,
.imovel-home-topbar-phone:focus .imovel-home-topbar-phone-ico {
    color: var(--accent-secondary, #94a3b8);
}

.imovel-home-topbar-phone-static {
    cursor: default;
    color: #000000 !important;
}

.imovel-home-topbar-phone-label {
    font-weight: 300;
    opacity: 0.72;
}

.imovel-home-topbar-actions {
    text-align: right;
}

@media (max-width: 767.98px) {
    .imovel-home-topbar-inner {
        flex-wrap: nowrap !important;
        row-gap: 0;
        padding-top: 0.15rem !important;
        padding-bottom: 0.25rem !important;
        align-items: center !important;
    }

    .imovel-home-topbar-phone,
    .imovel-home-topbar-phone-static {
        line-height: 1.25;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
        align-self: center;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .imovel-home-topbar-actions {
        margin-top: 0;
        margin-left: auto !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        white-space: nowrap;
        gap: 0.4rem !important;
    }

    .imovel-home-topbar-city-current {
        white-space: nowrap;
    }
}

/* Zoom + / − (cores primária / secundária do projeto) */
.imovel-home-topbar-zoom {
    margin-right: 0.25rem;
}

.imovel-home-zoom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 2px solid var(--accent, #c4242a);
    border-radius: 50%;
    background: transparent;
    color: var(--accent, #c4242a);
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.imovel-home-zoom-btn i {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.imovel-home-zoom-btn:hover:not(:disabled) {
    background: var(--accent, #c4242a);
    border-color: var(--accent, #c4242a);
    color: #fff;
}

.imovel-home-zoom-btn:focus-visible {
    outline: 2px solid var(--accent, #c4242a);
    outline-offset: 2px;
}

.imovel-home-zoom-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.imovel-home-topbar-city-btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #000000 !important;
    text-decoration: none !important;
    border: none;
    box-shadow: none;
    vertical-align: baseline;
}

/* Ícone um pouco maior que o texto — cor secundária */
.imovel-home-topbar-city-btn .imovel-home-topbar-city-ico {
    font-size: 1.15rem;
    line-height: 1;
    color: var(--accent, #c4242a);
}

.imovel-home-topbar-city-btn:hover,
.imovel-home-topbar-city-btn:focus,
.imovel-home-topbar-city-btn.show {
    color: var(--accent-secondary, #64748b) !important;
}

.imovel-home-topbar-city-btn:hover .imovel-home-topbar-city-ico,
.imovel-home-topbar-city-btn:focus .imovel-home-topbar-city-ico,
.imovel-home-topbar-city-btn.show .imovel-home-topbar-city-ico {
    color: var(--accent-secondary, #64748b);
}

/* Painel flutuante: cantos 22px, sombra, lista rolável */
.imovel-home-topbar-city-panel {
    --bs-dropdown-link-hover-bg: transparent;
    --bs-dropdown-link-active-bg: transparent;
    min-width: min(320px, calc(100vw - 2rem));
    max-width: 380px;
    max-height: min(70vh, 440px);
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 0.5rem !important;
    padding: 0.85rem 0.65rem 0.75rem !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    font-size: 0.9375rem;
    background: #fff;
    box-shadow:
        0 24px 48px -12px rgba(15, 23, 42, 0.18),
        0 12px 24px -8px rgba(15, 23, 42, 0.12);
    z-index: 1050;
}

.imovel-home-topbar-city-panel-title {
    display: block;
    padding: 0.35rem 0.65rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: #111;
}

/* Linha pontilhada só entre uma cidade e a seguinte (não abaixo do título) */
.imovel-home-topbar-city-panel li:has(> a.imovel-home-topbar-city-link)
    ~ li:has(> a.imovel-home-topbar-city-link) {
    border-top: 1px dotted #d4d4d8;
}

.imovel-home-topbar-city-link-ico {
    font-size: 1rem;
    line-height: 1;
    color: var(--accent-secondary, #94a3b8);
}

.imovel-home-topbar-city-panel .imovel-home-topbar-city-link:hover .imovel-home-topbar-city-link-ico,
.imovel-home-topbar-city-panel .imovel-home-topbar-city-link:focus .imovel-home-topbar-city-link-ico,
.imovel-home-topbar-city-panel .imovel-home-topbar-city-link.active .imovel-home-topbar-city-link-ico {
    color: var(--accent-secondary, #94a3b8);
}

.imovel-home-topbar-city-panel .dropdown-item.imovel-home-topbar-city-link {
    margin: 0 0.15rem 0.25rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #111;
    background: transparent !important;
    transition: color 0.15s ease;
}

.imovel-home-topbar-city-panel li:last-child .imovel-home-topbar-city-link {
    margin-bottom: 0;
}

.imovel-home-topbar-city-panel .imovel-home-topbar-city-link:hover,
.imovel-home-topbar-city-panel .imovel-home-topbar-city-link:focus {
    background: transparent !important;
}

.imovel-home-topbar-city-panel .imovel-home-topbar-city-link:hover .imovel-home-topbar-city-link-text,
.imovel-home-topbar-city-panel .imovel-home-topbar-city-link:focus .imovel-home-topbar-city-link-text {
    color: #000;
}

.imovel-home-topbar-city-panel .imovel-home-topbar-city-link.active .imovel-home-topbar-city-link-text {
    color: #111;
    font-weight: 500;
}

.imovel-home-topbar-city-panel .imovel-home-topbar-city-link.active:hover .imovel-home-topbar-city-link-text,
.imovel-home-topbar-city-panel .imovel-home-topbar-city-link.active:focus .imovel-home-topbar-city-link-text {
    color: #000;
}

.imovel-home-topbar-city-panel .imovel-home-topbar-city-link:active .imovel-home-topbar-city-link-text {
    color: #000;
}

.imovel-home-topbar-city-panel::-webkit-scrollbar {
    width: 8px;
}

.imovel-home-topbar-city-panel::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 99px;
}

.imovel-home-topbar-city-panel::-webkit-scrollbar-track {
    margin: 12px 0;
    border-radius: 99px;
}

.imovel-home-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1030;
    isolation: isolate;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.imovel-home-brand-nav {
    display: none;
}

.imovel-home-social-links {
    margin-right: .55rem;
    gap: .55rem !important;
}

.imovel-home-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    color: #0f172a;
    border: none;
    background: transparent;
    text-decoration: none;
    transition: color .18s ease, transform .12s ease;
}

.imovel-home-social-link:hover,
.imovel-home-social-link:focus-visible {
    color: var(--accent, #1e1b8f);
    transform: translateY(-1px);
}

/* Home Tema 1: header transparente sobre hero e branco no scroll */
body.tema1-home-page .imovel-home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.22s ease, box-shadow 0.22s ease;
}

body.tema1-home-page .imovel-home-header-top {
    display: none;
}

body.tema1-home-page .imovel-home-navbar {
    padding-top: .5rem;
    padding-bottom: .5rem;
    background: transparent;
}

body.tema1-home-page .imovel-home-brand-nav {
    display: inline-flex;
    margin-right: .8rem;
}

body.tema1-home-page .imovel-home-navbar .container {
    display: flex;
    align-items: center;
    gap: .4rem;
}

body.tema1-home-page .imovel-home-navbar .navbar-collapse {
    flex: 1 1 auto;
}

@media (min-width: 992px) {
    body.tema1-home-page .imovel-home-navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    body.tema1-home-page .imovel-home-navbar .imovel-home-nav-main {
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: .2rem;
        justify-content: center;
        flex: 1 1 auto;
    }

    body.tema1-home-page .imovel-home-nav-actions {
        display: flex;
        align-items: center;
        flex-wrap: nowrap !important;
        margin-left: 1rem !important;
        gap: .6rem;
    }
}

body.tema1-home-page .imovel-home-logo-img {
    filter: brightness(0) invert(1);
}

body.tema1-home-page .imovel-home-topbar-phone,
body.tema1-home-page .imovel-home-topbar-phone-static,
body.tema1-home-page .imovel-home-topbar-city-btn,
body.tema1-home-page .imovel-home-nav-main .nav-link,
body.tema1-home-page .imovel-home-link-assinar-plano {
    color: #ffffff !important;
}

body.tema1-home-page .imovel-home-topbar-phone-ico,
body.tema1-home-page .imovel-home-topbar-city-btn .imovel-home-topbar-city-ico {
    color: #ffffff;
}

body.tema1-home-page .imovel-home-header:not(.is-scrolled):not(.menu-open) .imovel-home-nav-main .nav-link:hover,
body.tema1-home-page .imovel-home-header:not(.is-scrolled):not(.menu-open) .imovel-home-nav-main .nav-link:focus-visible {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.tema1-home-page .imovel-home-social-link {
    color: #ffffff;
    border: none;
    background: transparent;
}

body.tema1-home-page .imovel-home-social-link:hover,
body.tema1-home-page .imovel-home-social-link:focus-visible {
    color: rgba(255, 255, 255, 0.78);
}

body.tema1-home-page .imovel-home-zoom-btn {
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

body.tema1-home-page .imovel-home-zoom-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

body.tema1-home-page .imovel-home-btn-assinante {
    background: rgba(255, 255, 255, 0.22);
    border: none;
    color: #ffffff;
}

body.tema1-home-page .imovel-home-fav-btn {
    border: none;
    background: transparent;
    color: #fff;
    border-radius: 0;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    font-size: 1rem;
}
body.tema1-home-page .imovel-home-fav-btn:hover,
body.tema1-home-page .imovel-home-fav-btn:focus-visible {
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
}

body.tema1-home-page .imovel-home-btn-assinante:hover,
body.tema1-home-page .imovel-home-btn-assinante:focus-visible {
    background: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

body.tema1-home-page .imovel-home-header.is-scrolled,
body.tema1-home-page .imovel-home-header.menu-open {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-header-top,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-header-top {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-navbar,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-navbar {
    background: #ffffff;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-logo-img,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-logo-img {
    filter: none;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-topbar-phone,
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-topbar-phone-static,
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-topbar-city-btn,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-topbar-phone,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-topbar-phone-static,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-topbar-city-btn {
    color: #0a0a0a !important;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-topbar-phone-ico,
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-topbar-city-btn .imovel-home-topbar-city-ico,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-topbar-phone-ico,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-topbar-city-btn .imovel-home-topbar-city-ico {
    color: #0a0a0a;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-social-link,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-social-link {
    color: #0a0a0a;
    border: none;
    background: transparent;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-social-link:hover,
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-social-link:focus-visible,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-social-link:hover,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-social-link:focus-visible {
    color: #000000;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-nav-main .nav-link,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-nav-main .nav-link {
    color: #0a0a0a !important;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-nav-main .nav-link:hover,
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-nav-main .nav-link:focus-visible,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-nav-main .nav-link:hover,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-nav-main .nav-link:focus-visible {
    color: #000000 !important;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-link-assinar-plano,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-link-assinar-plano {
    color: #0a0a0a !important;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-zoom-btn,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-zoom-btn {
    border-color: #0a0a0a;
    color: #0a0a0a;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-zoom-btn:hover:not(:disabled),
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-zoom-btn:hover:not(:disabled) {
    background: #0a0a0a;
    border-color: #0a0a0a;
    color: #ffffff;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-btn-assinante,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-btn-assinante {
    border-color: transparent;
    background: var(--accent, #1e1b8f);
    color: #ffffff;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-fav-btn,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-fav-btn {
    border: none;
    background: transparent;
    color: #0f172a;
}
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-fav-btn:hover,
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-fav-btn:focus-visible,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-fav-btn:hover,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-fav-btn:focus-visible {
    background: transparent;
    color: #000;
}

body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-btn-assinante:hover,
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-btn-assinante:focus-visible,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-btn-assinante:hover,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-btn-assinante:focus-visible {
    background: var(--accent-hover, #181681);
    color: #ffffff;
}

/* Hamburger visível no fundo branco (scroll ou menu mobile aberto) */
body.tema1-home-page .imovel-home-header.is-scrolled .imovel-home-navbar .navbar-toggler-icon,
body.tema1-home-page .imovel-home-header.menu-open .imovel-home-navbar .navbar-toggler-icon {
    filter: none;
}

/* Páginas internas (não-home): manter header no estilo "scrolled" (fundo branco). */
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-header {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-navbar .container {
    display: flex;
    align-items: center;
    gap: .4rem;
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-navbar .navbar-collapse {
    flex: 1 1 auto;
}
@media (min-width: 992px) {
    body.imobiliaria-site:not(.tema1-home-page) .imovel-home-navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    body.imobiliaria-site:not(.tema1-home-page) .imovel-home-navbar .imovel-home-nav-main {
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: .2rem;
        justify-content: center;
        flex: 1 1 auto;
    }
    body.imobiliaria-site:not(.tema1-home-page) .imovel-home-nav-actions {
        display: flex;
        align-items: center;
        flex-wrap: nowrap !important;
        margin-left: 1rem !important;
        gap: .6rem;
    }
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-header-top {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-navbar {
    background: #ffffff;
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-nav-main .nav-link,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-topbar-phone,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-topbar-phone-static,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-topbar-city-btn,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-fav-btn {
    color: #0a0a0a !important;
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-nav-main .nav-link:hover,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-nav-main .nav-link:focus-visible,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-fav-btn:hover,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-fav-btn:focus-visible {
    color: #000 !important;
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-zoom-btn {
    border-color: #0a0a0a;
    color: #0a0a0a;
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-zoom-btn:hover:not(:disabled) {
    background: #0a0a0a;
    border-color: #0a0a0a;
    color: #ffffff;
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-btn-assinante {
    border-color: transparent;
    background: var(--accent, #1e1b8f);
    color: #ffffff;
}
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-btn-assinante:hover,
body.imobiliaria-site:not(.tema1-home-page) .imovel-home-btn-assinante:focus-visible {
    background: var(--accent-hover, #181681);
    color: #ffffff;
}

.imovel-home-header-top {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.imovel-home-header-brand-wrap,
.imovel-home-header-phone-wrap,
.imovel-home-header-tools {
    flex: 1 1 0;
    min-width: 0;
}

.imovel-home-header-phone-wrap {
    text-align: center;
}

.imovel-home-header-tools {
    justify-content: flex-end;
}

.imovel-home-navbar {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    background: var(--accent, #c4242a);
    border-bottom: none;
}

.imovel-home-logo-img {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    /* Interpolação suave ao redimensionar (evita bordas serrilhadas em PNG/JPG) */
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    /* Camada própria reduz “tremor” visual com header sticky + subpixels */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.imovel-home-logo-fallback {
    font-size: 1.85rem;
    color: var(--accent, #0d6efd);
}

/* Menu fica na linha abaixo da logo */
.imovel-home-navbar .navbar-brand {
    margin-right: 0;
}

@media (min-width: 992px) {
    .imovel-home-navbar .imovel-home-nav-main {
        justify-content: flex-start;
        gap: 0.9rem;
    }
}

.imovel-home-nav-main .nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    padding: 0.42rem 0.62rem;
    border-radius: 0.375rem;
    transition: transform 0.22s ease, color 0.22s ease;
}

.imovel-home-nav-main .nav-link:hover {
    color: var(--accent, #1e1b8f) !important;
    background: transparent;
    transform: translateY(-2px);
}

.imovel-home-nav-main .nav-link:focus-visible {
    color: var(--accent, #1e1b8f) !important;
    background: transparent;
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

.imovel-home-btn-cta {
    font-weight: 600;
}

.imovel-home-link-assinar-plano {
    color: #ffffff;
    font-size: 0.97rem;
    font-weight: 400;
    padding: 0.35rem 0.25rem;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    margin-right: 1rem;
}

.imovel-home-link-assinar-plano:hover,
.imovel-home-link-assinar-plano:focus-visible {
    color: rgba(255, 255, 255, 0.88);
    transform: translateY(-1px);
    opacity: 0.95;
}

.imovel-home-link-assinar-plano:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

.imovel-home-link-assinar-plano i {
    font-size: 0.95rem;
}

/* Botão do header — cor secundária (admin), pill, texto menos pesado */
.imovel-home-btn-assinante {
    border-radius: 12px;
    font-weight: 500;
    padding: 0.58rem 1.05rem;
    min-height: 40px;
    line-height: 1.2;
    border: none;
    background: var(--accent-secondary, #64748b);
    color: #fff;
}

.imovel-home-btn-assinante:hover,
.imovel-home-btn-assinante:focus-visible {
    background: var(--accent-secondary-hover, #475569);
    color: #fff;
}

.imovel-home-btn-assinante:focus-visible {
    box-shadow: none !important;
}

.imovel-home-btn-assinante .bi-person-fill {
    font-size: 1.15rem;
}

/* Banner rotativo — desktop 1920×500; mobile altura proporcional (não 800px fixos) */
.imovel-home-hero-slider {
    margin-top: 0;
    position: relative;
    z-index: 0;
    scroll-margin-top: var(--imobiliaria-sticky-offset, calc(env(safe-area-inset-top, 0px) + 5.75rem));
}

/* Banner: largura total da viewport; imagens continuam cobrindo a área */
.imovel-home-carousel-main {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Transição slide padrão do Bootstrap (sem .carousel-fade) */
.imovel-home-carousel-main.carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.imovel-home-banner-frame {
    background: #0f172a;
    overflow: hidden;
}

.imovel-home-banner-desktop {
    display: block;
    width: 100%;
    height: 700px;
    max-height: 700px;
    object-fit: cover;
    object-position: center;
}

/*
 * Mobile: largura 100% + altura intrínseca (sem aspect-ratio nem cover).
 * O bloco antigo (aspect-ratio + max-height + cover) cortava topo e base da arte.
 */
.imovel-home-banner-mobile {
    display: block;
    width: 100%;
    height: auto;
}

/* Bootstrap .carousel-inner usa overflow:hidden — no mobile isso cortava banners altos */
@media (max-width: 767.98px) {
    .imovel-home-carousel-main .carousel-inner {
        overflow-x: hidden;
        overflow-y: visible;
    }
}

.imovel-home-carousel-indicators {
    margin-bottom: 0.75rem;
    z-index: 3;
}

/* Setas: finas, só no hover do banner (touch: sempre visíveis) */
.imovel-home-carousel-main .carousel-control-prev,
.imovel-home-carousel-main .carousel-control-next {
    z-index: 4;
    width: 64px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.imovel-home-carousel-main .carousel-control-prev {
    left: max(0.75rem, calc((100vw - var(--imobiliaria-content-max, 1320px)) / 2 + 0.75rem));
}

.imovel-home-carousel-main .carousel-control-next {
    right: max(0.75rem, calc((100vw - var(--imobiliaria-content-max, 1320px)) / 2 + 0.75rem));
}

.imovel-home-carousel-main:hover .carousel-control-prev,
.imovel-home-carousel-main:hover .carousel-control-next,
.imovel-home-carousel-main:focus-within .carousel-control-prev,
.imovel-home-carousel-main:focus-within .carousel-control-next {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) {
    .imovel-home-carousel-main .carousel-control-prev,
    .imovel-home-carousel-main .carousel-control-next {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Chevron (mesmo ícone de antes); scaleX deixa o traço visualmente mais fino */
.imovel-home-carousel-main .imovel-home-carousel-btn-icon {
    width: clamp(3rem, 5.4vw, 3.45rem);
    height: clamp(3rem, 5.4vw, 3.45rem);
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    line-height: 1;
    font-weight: 600;
    color: #000000;
    transform: none;
    -webkit-font-smoothing: antialiased;
    filter: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.imovel-home-carousel-main .carousel-control-prev:hover .imovel-home-carousel-btn-icon,
.imovel-home-carousel-main .carousel-control-next:hover .imovel-home-carousel-btn-icon,
.imovel-home-carousel-main .carousel-control-prev:focus .imovel-home-carousel-btn-icon,
.imovel-home-carousel-main .carousel-control-next:focus .imovel-home-carousel-btn-icon {
    color: var(--accent, #c4242a);
    filter: none;
}

.imovel-home-stat-num {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--accent, #0d6efd);
    line-height: 1.2;
}

.imovel-home-stat-label {
    font-size: 0.875rem;
    color: var(--accent-secondary, #64748b);
}

.imovel-home-offer-card {
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imovel-home-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.12) !important;
}

.imovel-home-offer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--accent, #0d6efd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.imovel-home-self {
    border-radius: 0.75rem;
    transition: background 0.15s ease, transform 0.15s ease;
}

.imovel-home-self:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.imovel-home-news-img {
    height: 180px;
    object-fit: cover;
}

.imovel-home-news-card .card-title a:hover {
    color: var(--accent, #0d6efd) !important;
}

.imovel-home-help {
    background: linear-gradient(120deg, #0f172a, #1e293b);
}

/* Por que escolher — três diferenciais (abaixo do banner) */
.imovel-home-features {
    background: #f4f5f7;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
    position: relative;
    z-index: 0;
}

.imovel-home-features::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(26px, 4vw, 42px);
    background: #ffffff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 14% 70%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .imovel-home-features {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

@media (min-width: 992px) {
    .imovel-home-features {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }
}

.imovel-home-features-head {
    max-width: 52rem;
    text-align: left;
}

.imovel-home-features-title {
    font-size: clamp(2rem, 4.8vw, 3.1rem);
    font-weight: 600;
    color: var(--imobiliaria-diferenciais-title, #000000);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.imovel-home-features-lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: #5f6777;
    line-height: 1.65;
}

.imovel-home-feature-card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 4rem 1.5rem 1.75rem;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
    position: relative;
    overflow: visible;
}

.imovel-home-feature-card:hover {
    box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
    border-color: rgba(15, 23, 42, 0.14);
}

.imovel-home-feature-icon {
    width: 4.9rem;
    height: 4.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto;
    flex-shrink: 0;
    background: var(--accent, #c4242a);
    color: #fff;
    position: absolute;
    top: -2.45rem;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: none;
}

.imovel-home-feature-card::before {
    content: "";
    position: absolute;
    top: 3.05rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.3rem;
    height: 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, #c4242a) 65%, #ffffff);
}

.imovel-home-feature-card-title {
    font-size: 1.55rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.imovel-home-feature-card-text {
    font-size: 1.36rem;
    font-weight: 400;
    color: #586173;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .imovel-home-features-head {
        text-align: left;
        max-width: 52rem;
    }

    .imovel-home-feature-card {
        padding-top: 3.85rem;
    }

    .imovel-home-feature-card-title {
        font-size: 1.32rem;
    }

    .imovel-home-feature-card-text {
        font-size: 1.12rem;
    }
}

.imovel-home-features .row.g-4 {
    margin-top: 1.5rem !important;
}

/* Autoatendimento — cores via variáveis (Admin → Autoatendimento), fundo sólido sem degradê */
.imovel-home-selfservice {
    position: relative;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
    overflow: hidden;
    background: var(--imobiliaria-auto-bg, #0f766e);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
    color: #fff;
}

.imovel-home-selfservice--with-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    pointer-events: none;
}

.imovel-home-selfservice > .container {
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .imovel-home-selfservice--parallax {
        background-attachment: fixed;
    }
}

@media (min-width: 768px) {
    .imovel-home-selfservice {
        padding-top: 4rem;
        padding-bottom: 4.25rem;
    }
}

@media (min-width: 992px) {
    .imovel-home-selfservice {
        padding-top: 4.5rem;
        padding-bottom: 4.75rem;
    }
}

.imovel-home-selfservice-head {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.imovel-home-selfservice-title {
    font-size: clamp(2rem, 4.8vw, 3.1rem);
    font-weight: 600;
    color: var(--imobiliaria-auto-title, #0b1f52);
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.imovel-home-selfservice-lead {
    font-size: clamp(1rem, 2.1vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

/* Novo layout: cards em linha (modelo autoatendimento) — mobile: 2 por linha */
.imovel-home-selfservice-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .imovel-home-selfservice-cards {
        gap: 0.95rem;
    }
}

@media (min-width: 1200px) {
    .imovel-home-selfservice-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.imovel-home-selfservice-card {
    display: flex;
    flex-direction: column;
    min-height: 148px;
    padding: 0.95rem 0.9rem 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: #fff;
    color: #0f172a !important;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.imovel-home-selfservice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.35);
    border-color: var(--accent, #c4242a);
    background: var(--accent, #c4242a);
    color: #fff !important;
}

.imovel-home-selfservice-card-ico {
    font-size: 0.98rem;
    line-height: 1;
    color: #475569;
    margin-bottom: 0.55rem;
}

.imovel-home-selfservice-card-title {
    margin: 0 0 0.28rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.35;
}

.imovel-home-selfservice-card-text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #64748b;
}

.imovel-home-selfservice-card-arrow {
    margin-top: auto;
    color: var(--accent, #c4242a);
    font-size: 1.02rem;
    line-height: 1;
}

.imovel-home-selfservice-card:hover .imovel-home-selfservice-card-ico,
.imovel-home-selfservice-card:hover .imovel-home-selfservice-card-title,
.imovel-home-selfservice-card:hover .imovel-home-selfservice-card-text,
.imovel-home-selfservice-card:hover .imovel-home-selfservice-card-arrow {
    color: #fff;
}

.imovel-home-selfservice-card:focus-visible {
    outline: 2px solid var(--accent, #c4242a);
    outline-offset: 2px;
}

.imovel-home-selfservice-spotlight {
    height: 100%;
    min-height: 17rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    border-radius: 1rem;
    background: var(--imobiliaria-auto-spotlight, #0d6660);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.imovel-home-selfservice-spotlight-icon {
    font-size: 2.65rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 1.15rem;
    opacity: 0.95;
}

.imovel-home-selfservice-spotlight-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.imovel-home-selfservice-spotlight-text {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    flex: 1;
}

.imovel-home-selfservice-spotlight-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.65rem;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    color: var(--imobiliaria-auto-btn-text, #0f172a) !important;
    background-color: var(--imobiliaria-auto-btn-bg, #fbbf24) !important;
    border: none;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition:
        transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
        box-shadow 0.35s cubic-bezier(0.33, 1, 0.68, 1),
        background-color 0.35s ease,
        filter 0.35s ease;
}

.imovel-home-selfservice-spotlight-btn:hover,
.imovel-home-selfservice-spotlight-btn:focus-visible {
    color: var(--imobiliaria-auto-btn-text, #0f172a) !important;
    background-color: var(--imobiliaria-auto-btn-bg, #fbbf24) !important;
    filter: brightness(1.06);
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.imovel-home-selfservice-spotlight-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.imovel-home-selfservice-spotlight-btn:focus:not(:focus-visible) {
    outline: none;
}

.imovel-home-selfservice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.7rem;
    height: 100%;
}

@media (min-width: 576px) {
    .imovel-home-selfservice-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }
}

.imovel-home-selfservice-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 7.25rem;
    padding: 0.85rem 0.5rem;
    border-radius: 0.75rem;
    background: var(--imobiliaria-auto-tile, #115e59);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff !important;
    transition:
        filter 0.2s ease,
        transform 0.2s ease;
    height: 100%;
}

.imovel-home-selfservice-tile:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    color: #fff !important;
}

.imovel-home-selfservice-tile:focus-visible {
    outline: 2px solid var(--imobiliaria-auto-btn-bg, #fbbf24);
    outline-offset: 2px;
}

.imovel-home-selfservice-tile-ico {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
    opacity: 0.95;
    line-height: 1;
}

.imovel-home-selfservice-tile-label {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .imovel-home-selfservice-tile {
        min-height: 7.75rem;
        padding: 1rem 0.55rem;
    }

    .imovel-home-selfservice-tile-label {
        font-size: 0.8125rem;
    }
}

/* CTA Atendente — imagem esquerda, conteudo direita (admin controla cores/textos/link/imagem) */
.imovel-home-atendente-cta {
    background: var(--imobiliaria-at-bg, #f8fafc);
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.imovel-home-atendente-media {
    width: 100%;
    max-width: 560px;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    margin-inline: auto;
}

.imovel-home-atendente-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 5 / 4;
    min-height: 0;
}

.imovel-home-atendente-media-placeholder {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

.imovel-home-atendente-content {
    max-width: 44rem;
}

.imovel-home-atendente-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.85rem, 4.5vw, 2.45rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--imobiliaria-at-title, #0f172a);
    font-weight: 600;
}

.imovel-home-atendente-text {
    color: var(--imobiliaria-at-text, #334155);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.imovel-home-atendente-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.15rem;
    min-width: 220px;
    border-radius: 100px;
    background: var(--imobiliaria-at-btn-bg, #f97316);
    color: var(--imobiliaria-at-btn-text, #ffffff) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.04rem;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
    box-shadow: none;
}

.imovel-home-atendente-btn:hover {
    color: var(--imobiliaria-at-btn-text, #ffffff) !important;
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Blog (home provedor) */
.imovel-home-blog {
    background: #ffffff;
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

#blog-noticia.imovel-home-blog {
    padding-bottom: 1.25rem;
}

#blog-noticia .imovel-home-blog-post {
    margin-bottom: 0;
}

#blog-noticia .imovel-home-blog-post-content > *:last-child {
    margin-bottom: 0 !important;
}

.imovel-home-blog-head {
    max-width: 42rem;
}

.imovel-home-blog-title {
    font-size: clamp(1.85rem, 4.5vw, 2.45rem);
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.imovel-home-blog-lead {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.6;
}

.imovel-home-blog-page .imovel-home-blog-head,
.imovel-home-content-page .imovel-home-blog-head {
    max-width: none;
    text-align: left;
}

.imovel-home-page-hero {
    width: 100%;
    background: var(--accent, #c4242a);
    margin: 0;
    padding: 1.75rem 0 1.75rem;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
}

.imovel-home-blog-page,
.imovel-home-content-page {
    padding-top: 0;
}

.imovel-home-content-page .imovel-home-blog-post {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.imovel-home-page-hero .imovel-home-blog-title {
    color: #fff;
    display: inline-block;
    font-size: clamp(1.55rem, 3.4vw, 2rem);
    padding: 0.35rem 0.45rem 0.4rem;
    background: transparent;
}

.imovel-home-page-hero .imovel-home-blog-lead {
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
}

.imovel-home-pagina-img {
    border-radius: 22px;
}

.imovel-home-contato-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.15rem 1.1rem;
    background: #fff;
}

.imovel-home-contato-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
}

.imovel-home-contato-list p {
    margin-bottom: 0.75rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.imovel-home-contato-list i {
    color: var(--accent, #c4242a);
    margin-top: 0.1rem;
}

.imovel-home-contato-list a {
    color: #0f172a;
    text-decoration: none;
}

.imovel-home-contato-list a:hover {
    color: var(--accent, #c4242a);
}

.imovel-home-content-page .imovel-home-contato-card .imovel-home-atendente-btn {
    background: var(--accent-secondary, #f97316);
    color: #fff !important;
}

.imovel-home-content-page .imovel-home-contato-card .imovel-home-atendente-btn:hover {
    background: var(--accent-secondary-hover, #ea580c);
    color: #fff !important;
}

.imovel-home-contato-form .form-control,
.imovel-home-contato-form .form-select {
    min-height: 3.15rem;
    border-radius: 0.7rem;
    font-size: 1rem;
    padding: 0.7rem 0.9rem;
}

.imovel-home-contato-form textarea.form-control {
    min-height: 10.5rem;
    resize: vertical;
}

.imovel-home-contato-form .form-label {
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.45rem;
}

.imovel-home-contato-form .imovel-home-phone-country {
    max-width: 180px;
    flex: 0 0 180px;
}

.imovel-home-contato-form .iti {
    width: 100%;
}

.imovel-home-contato-form .iti--separate-dial-code .iti__selected-flag {
    border-radius: 0.7rem 0 0 0.7rem;
}

.imovel-home-blog-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.95rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.imovel-home-blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.25);
}

.imovel-home-blog-thumb-wrap {
    display: block;
    background: #e2e8f0;
    overflow: hidden;
    position: relative;
}

.imovel-home-blog-thumb-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--accent, #c4242a) 28%, transparent);
    opacity: 0.32;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.imovel-home-blog-card:hover .imovel-home-blog-thumb-wrap::after {
    opacity: 0.42;
}

.imovel-home-blog-thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    min-height: 190px;
    transform: scale(1);
    transition: transform 0.45s ease;
}

.imovel-home-blog-card:hover .imovel-home-blog-thumb {
    transform: scale(1.08);
}

.imovel-home-blog-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}

.imovel-home-blog-body {
    padding: 1rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
}

.imovel-home-blog-cat-badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0.34rem 0.9rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    background: var(--cat-color, #f97316);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.35);
}

.imovel-home-blog-date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.imovel-home-blog-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.imovel-home-blog-card-title a {
    color: #0f172a;
    text-decoration: none;
}

.imovel-home-blog-card-title a:hover {
    color: var(--accent, #c4242a);
}

.imovel-home-blog-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.imovel-home-blog-readmore {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.imovel-home-blog-readmore:hover {
    color: var(--accent, #c4242a);
}

.imovel-home-blog-empty {
    color: #64748b;
}

.imovel-home-blog-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    background: var(--accent-secondary, #f97316);
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.imovel-home-blog-more-btn:hover {
    color: #fff !important;
    filter: brightness(1.05);
    transform: translateY(-2px);
}

/* FAQ (abaixo do Nosso Blog) */
.imovel-home-faq {
    background: var(--imobiliaria-faq-bg, #fff);
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.imovel-home-faq-head {
    max-width: 40rem;
    text-align: left;
}

.imovel-home-faq-kicker {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-secondary, #f97316);
}

.imovel-home-faq-title {
    /* Mesmo tamanho visual do título da seção Planos */
    font-size: clamp(2rem, 4.8vw, 3.1rem);
    font-weight: 600;
    color: var(--imobiliaria-faq-title, #0f172a);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.imovel-home-faq-lead {
    color: var(--imobiliaria-faq-text, #64748b);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
}

.imovel-home-faq-acc {
    max-width: none;
}

.imovel-home-faq-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.8rem !important;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.imovel-home-faq-question {
    background: color-mix(in srgb, var(--accent, #c4242a) 9%, #ffffff) !important;
    color: var(--imobiliaria-faq-q, #0f172a) !important;
    font-size: clamp(1.05rem, 2.1vw, 1.18rem);
    font-weight: 500;
    line-height: 1.45;
    padding: 1.3rem 1.3rem;
}

.imovel-home-faq-question:not(.collapsed) {
    color: var(--imobiliaria-faq-q, #0f172a) !important;
    background: #e5e7eb !important;
    box-shadow: none !important;
}

.imovel-home-faq-question::after {
    background-image: none !important;
    width: 0.78rem;
    height: 0.78rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.imovel-home-faq-question:not(.collapsed)::after {
    transform: rotate(-135deg);
}

.imovel-home-faq-answer {
    color: #334155;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    background: #fff;
}

.imovel-home-faq-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: #25d366;
    border: 1px solid #25d366;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 500;
}

.imovel-home-faq-whatsapp-btn i {
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
}

.imovel-home-faq-whatsapp-btn:hover {
    color: #ffffff;
    background: #20ba59;
    border-color: #20ba59;
}

/* Detalhe da notícia: hero com overlay primário */
.imovel-home-noticia-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-color: #0f172a;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}

.imovel-home-noticia-hero-overlay {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--accent, #c4242a) 55%, transparent);
}

.imovel-home-noticia-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.imovel-home-noticia-hero-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.imovel-home-noticia-hero-title {
    color: #fff;
    font-size: clamp(2rem, 4.8vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
    max-width: 16ch;
}

.imovel-home-blog-post-content {
    text-align: justify;
    font-size: 1.12rem;
    line-height: 1.8;
}

.imovel-home-blog-sidebar-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.95rem;
    padding: 1rem;
}

.imovel-home-blog-related-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.imovel-home-blog-related-item {
    margin: 0;
}

.imovel-home-blog-related-link {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    color: #0f172a;
    text-decoration: none;
}

.imovel-home-blog-related-link:hover {
    color: var(--accent, #c4242a);
}

.imovel-home-blog-related-thumb {
    width: 62px;
    height: 46px;
    border-radius: 0.45rem;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}

.imovel-home-blog-related-thumb--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1rem;
}

.imovel-home-blog-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.imovel-home-blog-share-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-right: 0.25rem;
}

.imovel-home-blog-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.16);
    color: #0f172a;
    text-decoration: none;
    background: #fff;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.imovel-home-blog-share-btn:hover {
    transform: translateY(-2px);
    color: var(--accent, #c4242a);
    border-color: color-mix(in srgb, var(--accent, #c4242a) 55%, transparent);
}

/* Planos — fundo sólido e textos (cores via Admin → Planos → Layout) */
.imovel-home-plans {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --plans-bg: #ffffff;
    background: var(--plans-bg);
    padding-top: 3.75rem;
    padding-bottom: 3.5rem;
    overflow: visible;
}

@media (min-width: 768px) {
    .imovel-home-plans {
        padding-top: 4.5rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 992px) {
    .imovel-home-plans {
        padding-top: 5.5rem;
        padding-bottom: 4.75rem;
    }
}

.imovel-home-plans-head {
    max-width: none;
    text-align: left;
}

.imovel-home-plans-head-row {
    width: 100%;
}

.imovel-home-plan-city-filter-wrap {
    min-width: min(100%, 290px);
}

.imovel-home-plan-city-filter {
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
    color: #334155;
    background-color: #fff;
}

.imovel-home-plan-city-filter:focus {
    border-color: color-mix(in srgb, var(--accent, #c4242a) 45%, #cbd5e1);
    box-shadow: none;
}

.imovel-home-plans-kicker {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--imobiliaria-planos-kicker, var(--accent-secondary, #f97316));
}

.imovel-home-plans-title {
    font-size: clamp(2rem, 4.8vw, 3.1rem);
    font-weight: 600;
    color: var(--imobiliaria-planos-titulo, #000000);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    white-space: nowrap;
}

.imovel-home-plans-lead {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--imobiliaria-planos-descricao, rgba(255, 255, 255, 0.82));
    line-height: 1.65;
}

.imovel-home-plans-inner {
    padding-top: 0.25rem;
}

.imovel-home-plans-tabs {
    position: relative;
    margin-top: -0.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.14);
    padding-bottom: 0.22rem;
    gap: 2rem !important;
    justify-content: flex-start !important;
}

.imovel-home-plan-tab-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: none;
    background: transparent;
    color: #6b7280;
    border-radius: 0;
    padding: 0.4rem 0.2rem 0.9rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.imovel-home-plan-tab-pill i {
    display: none;
}

.imovel-home-plan-tab-pill:hover,
.imovel-home-plan-tab-pill:focus-visible {
    color: #374151;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.imovel-home-plan-tab-pill.is-active {
    color: #1f2937;
    background: transparent;
    box-shadow: none;
}

.imovel-home-plan-tab-pill::after {
    content: none;
}

.imovel-home-plan-tab-pill.is-active::after {
    background: transparent;
}

.imovel-home-plan-tab-indicator {
    position: absolute;
    left: 0;
    bottom: -0.22rem;
    width: 0;
    height: 7px;
    border-radius: 22px 22px 0 0;
    background: var(--accent, #c4242a);
    transform: translateX(0);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.imovel-home-plan-item {
    display: none !important;
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    filter: blur(0.6px);
    transition: opacity 0.32s ease, transform 0.32s ease, filter 0.32s ease;
}

.imovel-home-plan-item.is-visible {
    display: flex !important;
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.imovel-home-plans-disclaimer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--imobiliaria-planos-descricao, rgba(255, 255, 255, 0.82));
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.imovel-home-plans-empty {
    color: #64748b;
}

/* Rodape provedor - layout institucional */
.imovel-home-footer {
    background: #f4f5f7 !important;
    color: #111827;
    border-top: none !important;
    box-shadow: none !important;
}

.imovel-home-footer-top {
    background: #f4f5f7 !important;
    padding-top: 3.6rem !important;
    padding-bottom: 3rem !important;
    box-shadow: none !important;
}

.imovel-home-footer-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.85rem;
}

.imovel-home-footer-menu li {
    margin-bottom: 0.42rem;
}

.imovel-home-footer-menu a {
    color: #374151;
    text-decoration: none;
    font-size: 0.97rem;
    font-weight: 400;
}

.imovel-home-footer-menu a:hover {
    color: var(--accent, #c4242a);
}

/* Rodapé imobiliária: quatro colunas com mesma largura (25% em lg) */
.imovel-home-footer-cols > [class*='col-'] {
    min-width: 0;
}

.imovel-home-footer-contact li {
    margin-bottom: 0.35rem;
}
.imovel-home-footer-contact-link {
    color: #374151;
    font-size: 0.97rem;
    font-weight: 400;
    word-break: normal;
    overflow-wrap: normal;
    min-width: 0;
}
.imovel-home-footer-contact-link > span {
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.imovel-home-footer-contact-link:hover {
    color: var(--accent, #c4242a);
}
.imovel-home-footer-contact-ico {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}
.imovel-home-footer-contact-ico--wa {
    color: #25d366;
}

.imovel-home-footer-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 104px;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.65rem;
    padding: 0.75rem 0.8rem;
    color: #1f2937;
}

.imovel-home-footer-card i {
    font-size: 1rem;
    color: var(--accent, #c4242a);
}

.imovel-home-footer-card span {
    font-size: 0.86rem;
    color: #111827;
    font-weight: 500;
}

.imovel-home-footer-card em {
    margin-top: auto;
    font-style: normal;
    color: var(--accent, #c4242a);
}

/* CRECI só na coluna Redes sociais — formato pílula */
.imovel-home-footer-creci-pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    max-width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #334155;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.imovel-home-footer-creci-pill-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent, #c4242a);
}

.imovel-home-footer-social a {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #c4242a);
    text-decoration: none;
    background: rgba(196, 36, 42, 0.08);
}

.imovel-home-footer-social a:hover {
    background: var(--accent, #c4242a);
    color: #fff;
}

.imovel-home-footer-bottom {
    background: var(--accent, #c4242a) !important;
}

.imovel-home-footer-access,
.imovel-home-footer-copy {
    color: #fff;
    font-weight: 500;
}
.footer-dev-logo-link {
    display: inline-flex;
    align-items: center;
    margin-left: 0.25rem;
    color: #fff;
    text-decoration: none;
}
.footer-dev-logo {
    height: 16px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.imovel-home-footer-access-btn {
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.imovel-home-footer-access-btn:hover {
    color: #fff;
    opacity: 0.9;
}

.imovel-home-footer-bottom .container,
.imovel-home-footer-bottom .d-flex {
    background: transparent !important;
}

.imovel-home-footer-logo-bottom {
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    /* invert(1) endurece bordas da PNG; blur leve + halo branco suaviza no fundo accent */
    filter: brightness(0) invert(1) drop-shadow(0 0 0.65px rgba(255, 255, 255, 0.55))
        drop-shadow(0 0 1.25px rgba(255, 255, 255, 0.22)) blur(0.35px);
}

/* Painel de acessibilidade */
.a11y-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.2);
    z-index: 5000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.a11y-overlay.is-open {
    opacity: 1;
}

.a11y-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: min(460px, calc(100vw - 1rem));
    margin-left: auto;
    margin-right: auto;
    max-height: min(72vh, 460px);
    height: auto;
    background: #ffffff;
    z-index: 5001;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    box-shadow: 0 -12px 32px -16px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.9rem 0.9rem 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.a11y-panel.is-open {
    transform: translateY(0);
}

.a11y-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.a11y-panel-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.a11y-panel-close {
    border: none;
    background: transparent;
    color: #111827;
}

.a11y-panel-body {
    padding: 0.9rem;
}

.a11y-panel-label {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: #475569;
}

.a11y-size-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.a11y-size-btn {
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 999px;
    padding: 0.5rem 0.78rem;
    background: #fff;
    color: #111827;
    font-weight: 600;
    font-size: 0.84rem;
}

.a11y-size-btn:hover {
    border-color: var(--accent, #c4242a);
    color: var(--accent, #c4242a);
}

@media (max-width: 767.98px) {
    .a11y-panel {
        width: min(420px, calc(100vw - 0.8rem));
        max-height: min(75vh, 520px);
        border-radius: 0.85rem 0.85rem 0 0;
    }
}

.imovel-home-plans-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
    justify-content: center !important;
}

.imovel-home-plans-grid .imovel-home-plan-card {
    transform: none;
    max-width: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.imovel-home-plans-grid .imovel-home-plan-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 24px 48px -12px rgba(15, 23, 42, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.45);
}

.imovel-home-plans-grid .imovel-home-plan-card--featured:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 56px -12px rgba(15, 23, 42, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.imovel-home-plan-card {
    --plan-card-pad-x: 1.5rem;
    --plan-card-radius: 1.15rem;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-radius: 1.15rem;
    padding: 1.65rem 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    text-align: left;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 40px -12px rgba(15, 23, 42, 0.18),
        0 4px 12px -4px rgba(0, 0, 0, 0.1);
}

.imovel-home-plan-card--featured {
    --plan-card-pad-x: 1.85rem;
    --plan-card-radius: 1.25rem;
    --featured-navy: #1a2f4a;
    background: #fff;
    border: 4px solid var(--accent-secondary, #ff8547);
    border-radius: 1.25rem;
    padding: 2.35rem 1.85rem 0;
    box-shadow: 0 20px 50px -14px rgba(15, 23, 42, 0.22);
}

.imovel-home-plan-card--featured .imovel-home-plan-name {
    font-weight: 600;
    color: var(--featured-navy, #1a2f4a);
}

.imovel-home-plan-card--featured .imovel-home-plan-price-val {
    font-size: clamp(1.85rem, 4.5vw, 2.35rem);
    font-weight: 600;
    color: var(--accent, #c4242a);
}

.imovel-home-plan-card--featured .imovel-home-plan-btn--primary {
    font-weight: 500;
    margin-bottom: 1.75rem;
    padding: 0.78rem 1.35rem;
    min-height: 3rem;
    font-size: 0.98rem;
    border-radius: 100px;
}

.imovel-home-plan-card--featured .imovel-home-plan-list {
    padding-top: 1.5rem;
    margin-top: 0.25rem;
}

.imovel-home-plan-card--featured .imovel-home-plan-list-item {
    color: #1e293b;
    margin-bottom: 0.6rem;
}

/* Badge só em plano destaque — pílula */
.imovel-home-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--accent-secondary, #ff8547);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    white-space: nowrap;
}

.imovel-home-plan-badge-fire {
    font-size: 1.2em;
    line-height: 1;
}

.imovel-home-plan-status {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 6;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.imovel-home-plan-status--sold {
    background: #334155;
    color: #f8fafc;
}

.imovel-home-plan-status--rented {
    background: #0f766e;
    color: #ecfdf5;
}

.imovel-home-plan-card--unavailable {
    opacity: 0.94;
}

.imovel-home-plan-btn--disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.72;
    background: #e2e8f0 !important;
    color: #475569 !important;
    border-color: transparent !important;
}

.imovel-home-plan-cover-wrap {
    margin: -1.65rem -1.5rem 1rem;
    border-radius: var(--plan-card-radius, 1.15rem) var(--plan-card-radius, 1.15rem) 0 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: 200px;
    background: #0f172a;
}

.imovel-home-plan-card--featured .imovel-home-plan-cover-wrap {
    margin: -2.35rem -1.85rem 1.15rem;
    border-radius: var(--plan-card-radius, 1.25rem) var(--plan-card-radius, 1.25rem) 0 0;
}

.imovel-home-plan-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imovel-home-plan-photos-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.imovel-home-galeria-slide-img {
    max-height: 75vh;
    object-fit: contain;
}

/* Linha laranja curta só sob o número (não na unidade MEGA/GB) */
.imovel-home-plan-card--featured .imovel-home-plan-mega-num {
    position: relative;
    display: inline-block;
    padding-bottom: 0.35rem;
    color: var(--featured-navy, #1a2f4a);
}

.imovel-home-plan-card--featured .imovel-home-plan-mega-num::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 68%;
    max-width: 3.4rem;
    height: 5px;
    border-radius: 3px;
    background: var(--accent-secondary, #f97316);
}

.imovel-home-plan-card--featured .imovel-home-plan-mega-unit {
    color: var(--featured-navy, #1a2f4a);
}

.imovel-home-plan-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent, #c4242a);
    margin-bottom: 0.65rem;
}

.imovel-home-plan-mega-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.imovel-home-plan-mega-num,
.imovel-home-plan-mega-unit {
    font-size: clamp(2.45rem, 6.5vw, 3.15rem);
    font-weight: 600;
    color: var(--accent-secondary, #f97316);
    letter-spacing: -0.03em;
}

.imovel-home-plan-mega-unit {
    margin-left: 0;
    text-transform: uppercase;
}

.imovel-home-plan-desc {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1rem;
    min-height: 3.1em;
}

.imovel-home-rich-text p {
    margin: 0 0 0.55em;
}

.imovel-home-rich-text p:last-child {
    margin-bottom: 0;
}

.imovel-home-rich-text ul,
.imovel-home-rich-text ol {
    margin: 0.35em 0 0.65em;
    padding-left: 1.35em;
}

.imovel-home-rich-text h2,
.imovel-home-rich-text h3,
.imovel-home-rich-text h4,
.imovel-home-rich-text h5 {
    font-size: 1.05em;
    font-weight: 600;
    color: #475569;
    margin: 0.65em 0 0.35em;
    line-height: 1.3;
}

.imovel-home-rich-text h2:first-child,
.imovel-home-rich-text h3:first-child {
    margin-top: 0;
}

.imovel-home-rich-text blockquote {
    margin: 0.5em 0;
    padding-left: 0.85em;
    border-left: 3px solid #cbd5e1;
    color: #64748b;
}

/* Botão — expande painel de cobertura dentro do cartão */
.imovel-home-plan-cobertura-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    padding: 0.45rem 0.8rem 0.45rem 0.65rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #334155;
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition:
        color 0.15s ease,
        background 0.15s ease;
}

.imovel-home-plan-cobertura-btn .bi-geo-alt {
    font-size: 1rem;
    opacity: 0.85;
}

.imovel-home-plan-cobertura-chevron {
    font-size: 0.8rem;
    opacity: 0.55;
    margin-left: 0.05rem;
    transition: transform 0.2s ease, opacity 0.15s ease;
}

.imovel-home-plan-cobertura-btn:not(.collapsed) .imovel-home-plan-cobertura-chevron {
    transform: rotate(90deg);
    opacity: 0.85;
}

.imovel-home-plan-cobertura-btn:hover {
    color: #0f172a;
    background: transparent;
}

.imovel-home-plan-cobertura-btn:hover .imovel-home-plan-cobertura-chevron {
    opacity: 0.85;
}

.imovel-home-plan-cobertura-btn:focus {
    outline: none;
}

.imovel-home-plan-cobertura-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent-secondary, #f97316) 65%, transparent);
    outline-offset: 2px;
}

.imovel-home-plan-card--featured .imovel-home-plan-cobertura-btn {
    background: transparent;
}

.imovel-home-plan-card--featured .imovel-home-plan-cobertura-btn:hover {
    background: transparent;
}

.imovel-home-plan-map-link {
    color: var(--accent, #c4242a);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.imovel-home-plan-map-link:hover {
    color: var(--accent-hover, #a01d22);
}

/* Painel de cobertura — expande dentro do cartão (Bootstrap collapse) */
.imovel-home-plan-cobertura-panel {
    width: 100%;
    margin: 0 0 0.85rem;
}

.imovel-home-plan-cobertura-panel-inner.imovel-home-cob-panel-body {
    padding: 0.95rem 0.85rem 1rem;
    margin-top: 0.35rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.imovel-home-plan-card--featured .imovel-home-plan-cobertura-panel-inner.imovel-home-cob-panel-body {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(255, 133, 71, 0.22);
}

.imovel-home-cob-panel-body {
    padding: 1.2rem 1.15rem 1.35rem;
    background: #ffffff;
}

.imovel-home-cob-panel-lead {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.45;
}

.imovel-home-cob-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.imovel-home-cob-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.8rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    line-height: 1.3;
}

.imovel-home-cob-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.75rem;
}

.imovel-home-cob-note-ico {
    font-size: 1.25rem;
    color: var(--accent-secondary, #f97316);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.imovel-home-cob-note-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
}

.imovel-home-plan-price {
    margin-bottom: 0;
}

.imovel-home-plan-price-val {
    font-size: clamp(1.75rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--accent, #c4242a);
    letter-spacing: -0.02em;
}

.imovel-home-plan-price-suf {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 0.15rem;
}

.imovel-home-plan-btn {
    order: 99;
    display: block;
    margin-top: auto;
    margin-bottom: 0;
    margin-left: calc(var(--plan-card-pad-x) * -1);
    margin-right: calc(var(--plan-card-pad-x) * -1);
    width: calc(100% + (var(--plan-card-pad-x) * 2)) !important;
    font-weight: 600;
    font-size: 1.12rem;
    padding: 1.05rem 1.3rem;
    min-height: 3.85rem;
    border-radius: 0 0 var(--plan-card-radius) var(--plan-card-radius);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
}

.imovel-home-plan-more-details-btn {
    order: 97;
    margin: 0 0 0.7rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--accent, #c4242a);
    font-size: 1.02rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.2;
}

.imovel-home-plan-more-details-btn:hover,
.imovel-home-plan-more-details-btn:focus-visible {
    color: color-mix(in srgb, var(--accent, #c4242a) 86%, #000);
}

/* Popup de detalhes dos planos */
.imovel-home-plans .modal {
    z-index: 4000 !important;
    pointer-events: auto;
}

body.modal-open {
    overflow-y: scroll !important;
    padding-right: 0 !important;
}

.modal-backdrop {
    z-index: 3990 !important;
}

.modal-backdrop.show {
    background: transparent !important;
    opacity: 0 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.imovel-home-plans .modal-dialog {
    max-width: min(680px, calc(100vw - 1.5rem));
}

.imovel-home-plans .modal-content {
    border: none;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.imovel-home-plans .modal-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    padding: 0.9rem 1.1rem;
}

.imovel-home-plans .modal-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #0f172a;
}

.imovel-home-plans .modal-header .btn-close {
    opacity: 0.7;
}

.imovel-home-plans .modal-header .btn-close:hover {
    opacity: 1;
}

.imovel-home-plans .modal-body {
    padding: 1rem 1.1rem 1.15rem;
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    max-height: none;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 767.98px) {
    .imovel-home-plans .modal-dialog {
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }

    .imovel-home-plans .modal-content {
        border-radius: 0.85rem;
    }

    .imovel-home-plans .modal-header {
        padding: 0.75rem 0.85rem;
    }

    .imovel-home-plans .modal-title {
        font-size: 0.98rem;
        line-height: 1.35;
        padding-right: 0.35rem;
    }

    .imovel-home-plans .modal-body {
        padding: 0.85rem 0.85rem 1rem;
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .imovel-home-plans .modal-header .btn-close {
        width: 1.75rem;
        height: 1.75rem;
        background-size: 0.85rem;
    }
}

.imovel-home-plan-btn--ghost {
    background: var(--accent, #c4242a) !important;
    color: #fff !important;
    border: none !important;
}

.imovel-home-plan-btn--ghost:hover {
    background: color-mix(in srgb, var(--accent, #c4242a) 88%, #000) !important;
    color: #fff !important;
    border: none !important;
}

.imovel-home-plan-btn--primary {
    background: var(--accent, #c4242a) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
}

.imovel-home-plan-btn--primary:hover {
    background: color-mix(in srgb, var(--accent, #c4242a) 88%, #000) !important;
    color: #fff !important;
}

.imovel-home-plan-list,
.imovel-home-plan-list.mb-0 {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    margin-bottom: 2.1rem !important;
}

.imovel-home-plan-list-item {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.imovel-home-plan-list-item:last-child {
    margin-bottom: 0;
}

.imovel-home-plan-check {
    color: #475569;
    font-size: 1.02rem;
    margin-top: 0.15rem;
}

.imovel-home-plan-check--svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.imovel-home-plan-check--svg .imovel-ico-destaque-svg svg {
    width: 1.05em;
    height: 1.05em;
    display: block;
}
.imovel-ico-destaque-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--accent, var(--admin-primary, #ea580c));
}

.imovel-home-plan-check-featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.12rem;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Bloco opcional: logo / título / texto TV por plano */
.imovel-home-plan-tv {
    order: 98;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
    margin-bottom: 1.15rem;
}

.imovel-home-plan-tv-logo-wrap {
    margin-bottom: 0.65rem;
}

.imovel-home-plan-tv-logo {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.imovel-home-plan-tv-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.imovel-home-plan-tv-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.45;
}

.imobiliaria-site .navbar-toggler-icon {
    filter: invert(1);
}

.imobiliaria-site .imovel-home-navbar .navbar-toggler {
    filter: none;
}

.imobiliaria-site .imovel-home-navbar .navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991px) {
    .imovel-home-nav-actions {
        margin-top: 1rem;
        gap: 0.75rem;
    }

    .imovel-home-link-assinar-plano {
        margin-right: 0;
    }

    .imovel-home-header-top {
        gap: 0.5rem !important;
    }

    .imovel-home-header-tools {
        flex: 0 0 auto;
    }

    .imovel-home-topbar-city-current {
        display: none;
    }

    .imovel-home-plan-city-filter-wrap {
        width: 100%;
    }

    .imovel-home-header-phone-wrap-mobile {
        text-align: left;
    }

    .imovel-home-header-phone-wrap-mobile .imovel-home-topbar-phone,
    .imovel-home-header-phone-wrap-mobile .imovel-home-topbar-phone-static,
    .imovel-home-header-phone-wrap-mobile .imovel-home-topbar-phone-text,
    .imovel-home-header-phone-wrap-mobile .imovel-home-topbar-phone-label {
        color: #ffffff !important;
    }

    .imovel-home-header-phone-wrap-mobile .imovel-home-topbar-phone-ico {
        color: #ffffff !important;
    }
}

/* ========== Mapa de imóveis (split view) ========== */
body.imobiliaria-mapa-page {
    overflow-x: hidden;
}

body.imobiliaria-mapa-page .site-wrap {
    max-width: none;
    padding: 0;
    margin: 0;
}

body.imobiliaria-mapa-page .site-main--imob-mapa {
    padding: 0;
    margin: 0;
    min-height: calc(100vh - 1px);
    display: flex;
    flex-direction: column;
}

.imob-mapa-shell {
    display: flex;
    flex: 1;
    min-height: calc(100vh - var(--imobiliaria-sticky-offset, 6rem));
    background: #eef2f6;
    overflow: hidden;
}

.imob-mapa-sidebar {
    width: min(560px, 48vw);
    flex-shrink: 0;
    background: #f3f4f6;
    border-right: 1px solid #d8dee7;
    box-shadow: 1px 0 0 rgba(15, 23, 42, 0.04);
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--imobiliaria-sticky-offset, 6rem));
}

.imob-mapa-sidebar-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    padding: 1.25rem 1.1rem 1.15rem;
    overflow: hidden;
}

.imob-mapa-sidebar-head {
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.imob-mapa-title {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.imob-mapa-lead {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.imob-mapa-toolbar {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
}
.imob-mapa-toolbar-main {
    display: flex;
    gap: 0.55rem;
    align-items: flex-end;
}
.imob-mapa-filter-col--grow {
    flex: 1;
    min-width: 0;
}
.imob-mapa-filter-col--auto {
    flex: 0 0 auto;
}
.imob-mapa-advanced-btn {
    min-height: 2.65rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    color: #334155;
    font-weight: 500;
    padding: 0.45rem 0.75rem;
}
.imob-mapa-toolbar-main .imob-mapa-select {
    min-height: 2.65rem;
}
.imob-mapa-advanced-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}
.imob-mapa-filters-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.55rem;
}
.imob-mapa-filter-col--full {
    grid-column: 1 / -1;
}

.imob-mapa-select {
    border-radius: 10px;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* ===========================
   Busca de imóveis
   =========================== */
.imob-busca-shell {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    padding: clamp(1rem, 1.2vw + 0.8rem, 1.5rem);
}
.imob-busca-head {
    margin-bottom: 1rem;
}
.imob-busca-title {
    margin: 0;
    font-size: clamp(1.25rem, 1.2vw + 1rem, 1.7rem);
    color: #0f172a;
}
.imob-busca-subtitle {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.92rem;
}
.imob-busca-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: end;
}
.imob-busca-select {
    min-height: 2.65rem;
    border-radius: 12px;
}
.imob-busca-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}
.imob-busca-btn {
    min-height: 2.55rem;
    border-radius: 10px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0 0 auto;
    min-width: 170px;
    padding: 0.55rem 1.15rem;
    transition: background-color 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}
.imob-busca-btn-primary {
    background: var(--admin-primary, #ff6a00);
    color: #fff;
    border-color: transparent;
}
.imob-busca-btn-primary:hover {
    background: var(--admin-primary, #ff6a00);
    color: #fff;
    border-color: transparent;
    filter: brightness(0.97);
}
.imob-busca-btn-map {
    background: #147c73;
    color: #fff;
    font-weight: 400;
    border-color: transparent;
}
.imob-busca-btn-map:hover {
    color: #fff;
    background: #127269;
    border-color: transparent;
}
.imob-busca-results-head {
    margin: 1rem 0 0.75rem;
    color: #334155;
}
.imob-busca-results {
    display: grid;
    gap: 0.7rem;
}
.imob-busca-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 14px;
    background: #fff;
    padding: 0.55rem;
}
.imob-busca-card-thumb {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
}
.imob-busca-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 84px;
    object-fit: cover;
}
.imob-busca-card-body {
    min-width: 0;
}
.imob-busca-card-title {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    color: #0f172a;
}
.imob-busca-card-meta {
    margin: 0 0 0.35rem;
    font-size: 0.84rem;
    color: #64748b;
}
.imob-busca-card-price {
    color: #0f172a;
}
.imob-busca-card-actions {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.55rem;
}
.imob-busca-card-btn {
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #334155;
    background: #fff;
    font-weight: 500;
}
.imob-busca-card-btn.is-map {
    background: color-mix(in srgb, var(--admin-primary, #ff6a00) 90%, #fff 10%);
    border-color: transparent;
    color: #fff;
}
.imob-busca-empty {
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 12px;
    padding: 0.85rem;
    text-align: center;
    color: #64748b;
}

.imob-mapa-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.45rem;
    padding-bottom: 1rem;
    margin-right: 0;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.imob-mapa-list::-webkit-scrollbar {
    width: 9px;
}

.imob-mapa-list::-webkit-scrollbar-track {
    background: #dde3ea;
    border-radius: 999px;
}

.imob-mapa-list::-webkit-scrollbar-thumb {
    background: #aab6c7;
    border-radius: 999px;
    border: 2px solid #dde3ea;
}

.imob-mapa-list::-webkit-scrollbar-thumb:hover {
    background: #7f8ea2;
}

.imob-mapa-map-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    background: #e2e8f0;
}

.imob-mapa-map {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.imob-mapa-divicon {
    background: transparent !important;
    border: none !important;
}

.imob-mapa-marker-favicon.imob-mapa-divicon {
    background: transparent !important;
    border: none !important;
}

.imob-mapa-favicon-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 3px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--imob-mapa-pin-ring, #c4242a);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.35);
    box-sizing: border-box;
}

.imob-mapa-favicon-pin img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 4px;
}

/* ===========================
   Tema 1 — Home pública
   =========================== */
.tema1-home {
    background: #f8fafc;
    padding-bottom: 3rem;
    overflow: visible;
}
.tema1-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #1e1b4b;
}
.tema1-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tema1-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%);
}
.tema1-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding-top: 12.5rem;
}
.tema1-hero-content h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, var(--tema1-hero-h1-max, 3.2rem));
    font-weight: 700;
    letter-spacing: -0.02em;
}
.tema1-hero-content p {
    margin: 0.8rem auto 0;
    max-width: 740px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 2.2vw, var(--tema1-hero-desc-size, 1.125rem));
}
.tema1-search-card {
    margin-top: -2.35rem;
    position: relative;
    z-index: 3;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    padding: 1.15rem 1rem 1rem;
    overflow: visible;
}
.tema1-search-card form {
    margin-top: 0.45rem;
    overflow: visible;
}
.tema1-search-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(170px, 220px);
    gap: 0.55rem;
    align-items: center;
    overflow: visible;
}
.tema1-search-col {
    min-width: 0;
    overflow: visible;
}
.tema1-search-col--bairro {
    position: relative;
    z-index: 6;
}

/* Dropdown customizado (sem <select> nativo visível — evita flash escuro no Windows/Chrome) */
.tema1-dd {
    position: relative;
    min-width: 0;
}
.tema1-dd.is-open {
    z-index: 50;
}
.tema1-dd-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.tema1-dd-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #111827;
    background: #fff;
    border: 1px solid #dbe1ea;
    border-radius: 14px;
    min-height: 54px;
    padding: 0.65rem 0.9rem;
    box-shadow: none;
    transition: none;
    -webkit-tap-highlight-color: transparent;
}
.tema1-dd-trigger:hover,
.tema1-dd-trigger:focus,
.tema1-dd-trigger:focus-visible,
.tema1-dd.is-open .tema1-dd-trigger {
    color: #111827;
    background: #fff;
    border-color: #dbe1ea;
    outline: none;
    box-shadow: none;
}
.tema1-dd-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tema1-dd-caret {
    flex-shrink: 0;
    font-size: 0.95rem;
    opacity: 0.55;
    transition: transform 0.18s ease;
}
.tema1-dd.is-open .tema1-dd-caret {
    transform: rotate(180deg);
}
.tema1-dd-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    color: #111827;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
    max-height: 280px;
    overflow-y: auto;
    padding: 0.35rem 0;
    color-scheme: light;
}
.tema1-dd-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tema1-dd-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.55rem 1rem;
    text-align: left;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.tema1-dd-item:hover,
.tema1-dd-item:focus-visible {
    background: #f1f5f9;
    outline: none;
}
.tema1-search-col--btn {
    min-width: 170px;
}
.tema1-search-title {
    position: static;
    font-weight: 500;
    color: #0f172a;
    margin: 0 0 0.55rem 0;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}
.tema1-search-title::before {
    content: none;
}
.tema1-search-title::after {
    content: none;
}
.tema1-search-title span {
    color: #64748b;
    font-weight: 500;
    font-size: .72rem;
}
.tema1-search-btn {
    border-radius: 14px;
    min-height: 54px;
    padding: 0 1.2rem;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .01em;
    background: var(--accent, #1e1b8f);
    border: 1px solid var(--accent, #1e1b8f);
    color: #fff;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.tema1-search-btn:hover {
    background: var(--accent-hover, #181681);
    border-color: var(--accent-hover, #181681);
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
    transform: translateY(-1px);
}
.tema1-featured {
    padding-top: 2.3rem;
}
/* Primeira seção de conteúdo após o hero/busca — alinhada ao mockup "Imóveis em destaque" */
.tema1-featured--first {
    padding-top: 3.2rem;
}
.tema1-destaque-transacao-badge--hero {
    background: var(--accent, #ea580c) !important;
    color: #fff !important;
    border-color: transparent !important;
    font-weight: 600;
}
.tema1-offers-section {
    position: relative;
    isolation: isolate;
    padding-top: 50px;
    padding-bottom: 50px;
}
.tema1-offers-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #fff;
    z-index: -1;
}
.tema1-offers-section + .tema1-offers-section {
    padding-top: 50px;
    margin-top: 14px;
}
.tema1-offers-section + .tema1-offers-section::before {
    background: #F8FAFC;
}
.tema1-offers-section .tema1-section-head {
    text-align: left;
}
.tema1-offers-section .tema1-section-head h2 {
    margin-bottom: 0;
}
.tema1-section-head--offers .tema1-section-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}
.tema1-offers-see-all-btn {
    border-radius: 10px;
    border: 1px solid var(--accent, #ea580c) !important;
    color: var(--accent, #ea580c) !important;
    background: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.95rem;
    line-height: 1.15;
}
.tema1-offers-see-all-btn:hover {
    background: color-mix(in srgb, var(--accent, #ea580c) 10%, #fff) !important;
    color: var(--accent, #ea580c) !important;
}
.imob-venda-title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: #0f172a;
}
.imob-venda-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    background: #eef2f7;
}
.imob-venda-pagination .page-link {
    color: var(--accent, #ea580c);
    border-color: #e2e8f0;
}
.imob-venda-pagination .page-item.active .page-link {
    background: var(--accent, #ea580c);
    border-color: var(--accent, #ea580c);
    color: #fff;
}
.imob-venda-pagination .page-item.disabled .page-link {
    color: #94a3b8;
}
/* Carrossel destaque Tema 1 — foto à esquerda, texto à direita */
.tema1-destaque-carousel {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    background: #fff;
}
.tema1-destaque-carousel .carousel-indicators {
    margin-bottom: 0;
    bottom: 0.9rem;
    left: 50%;
    right: auto;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    transform: translateX(-50%);
    z-index: 4;
}
.tema1-destaque-carousel .carousel-indicators {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}
.tema1-destaque-carousel .carousel-indicators [type='button'] {
    box-sizing: border-box !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: #cbd5e1 !important;
    opacity: 1;
}
.tema1-destaque-carousel .carousel-indicators .active {
    background-color: var(--accent, #ea580c) !important;
    opacity: 1;
}
@media (min-width: 768px) {
    .tema1-destaque-carousel .carousel-indicators {
        left: 75%;
        transform: translateX(-50%);
    }
}
.tema1-destaque-carousel .carousel-control-prev,
.tema1-destaque-carousel .carousel-control-next {
    width: 3rem;
    opacity: 0.9;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.tema1-destaque-carousel .carousel-control-prev-icon,
.tema1-destaque-carousel .carousel-control-next-icon {
    background-color: var(--accent, #1e1b8f);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    background-size: 1.25rem 1.25rem;
}
/* Desktop: wrapper não afeta o layout (setas absolutas como filhos do .carousel) */
.tema1-destaque-carousel-arrows {
    display: contents;
}
.tema1-destaque-slide {
    min-height: 320px;
    height: auto;
    background: #fff;
}
.tema1-destaque-media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}
.tema1-destaque-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    transition: transform 0.45s ease;
}
.tema1-destaque-slide:hover .tema1-destaque-img {
    transform: scale(1.08);
}
.tema1-destaque-img--empty {
    position: absolute;
    inset: 0;
    height: 100%;
    background: #eef2ff;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.tema1-destaque-body {
    padding: 1.35rem 1.5rem 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tema1-destaque-tipo-row {
    margin: 0 0 0.5rem;
}
.tema1-destaque-tipo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tema1-destaque-tipo {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.tema1-destaque-transacao-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    color: var(--accent, #ea580c);
    background: color-mix(in srgb, var(--accent, #ea580c) 11%, #fff);
    border: 1px solid var(--accent, #ea580c);
}
.tema1-destaque-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}
.tema1-destaque-loc {
    color: #64748b;
    margin-top: 0.35rem;
    font-size: 0.9rem;
}
.tema1-destaque-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.65rem;
    color: color-mix(in srgb, var(--accent, #ea580c) 42%, #64748b);
    font-size: 0.85rem;
}
.tema1-destaque-meta .tema1-destaque-meta-icon {
    color: color-mix(in srgb, var(--accent, #ea580c) 55%, #64748b);
}
.tema1-destaque-meta-icon svg {
    width: 1.12em;
    height: 1.12em;
    display: block;
}
.tema1-destaque-price {
    margin: 0.85rem 0 0;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--accent, #1e1b8f);
}
.tema1-destaque-btn {
    align-self: flex-start;
    border-radius: 12px;
    padding: 0.65rem 1.55rem;
    font-weight: 500;
    font-size: 0.95rem;
    background: var(--accent, #1e1b8f) !important;
    border: 1px solid var(--accent, #1e1b8f) !important;
    color: #fff !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.tema1-destaque-btn:hover {
    background: var(--accent-hover, #181681) !important;
    border-color: var(--accent-hover, #181681) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.tema1-catalogo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}
.imovel-public-ficha-price {
    font-size: 1.5rem;
    color: var(--accent, #1e1b8f);
}
.imovel-public-shell {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
}
.imovel-public-gallery-wrap {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0.9rem 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0.85rem;
    background: transparent;
    overflow: visible;
}
.imovel-public-gallery-track {
    --gallery-visible: 3;
    --gallery-gap: 0.75rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--gallery-gap) * (var(--gallery-visible) - 1))) / var(--gallery-visible));
    gap: var(--gallery-gap);
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    align-items: stretch;
}
.imovel-public-gallery-track::-webkit-scrollbar {
    display: none;
}
.imovel-public-gallery-item {
    margin: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 340px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    scroll-snap-align: start;
}
.imovel-public-gallery-open {
    position: relative;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}
.imovel-public-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.imovel-public-gallery-open-icon {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.62);
    color: #fff;
    font-size: 0.95rem;
    pointer-events: none;
}
.imovel-public-lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    z-index: 9999;
}
.imovel-public-lightbox[hidden] {
    display: none;
}
.imovel-public-lightbox img {
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}
.imovel-public-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    height: 2.8rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    z-index: 2;
}
.imovel-public-lightbox-prev {
    left: 1rem;
}
.imovel-public-lightbox-next {
    right: 1rem;
}
.imovel-public-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    min-width: 2.9rem;
    height: 2.4rem;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.imovel-public-lightbox-close span {
    line-height: 1;
}
.imovel-public-lightbox-nav:hover,
.imovel-public-lightbox-close:hover {
    background: rgba(15, 23, 42, 1);
}
@media (max-width: 767.98px) {
    .imovel-public-lightbox img {
        border-radius: 10px;
    }
    .imovel-public-lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
    }
    .imovel-public-lightbox-prev {
        left: 0.5rem;
    }
    .imovel-public-lightbox-next {
        right: 0.5rem;
    }
    .imovel-public-lightbox-close {
        top: 0.6rem;
        right: 0.6rem;
    }
    .imovel-public-lightbox-close span {
        display: none;
    }
}
body.imovel-public-lightbox-open {
    overflow: hidden;
}
.imovel-public-gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}
.imovel-public-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.3rem;
    height: 2.3rem;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.14);
    z-index: 3;
}
.imovel-public-gallery-prev {
    left: -0.9rem;
}
.imovel-public-gallery-next {
    right: -0.9rem;
}
.imovel-public-main-left {
    padding: 1.35rem 1.45rem 1.5rem;
}
.imovel-public-topline {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}
.imovel-public-tipo {
    color: #334155;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.imovel-public-title {
    margin: 0;
    color: #111827;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
}
.imovel-public-location {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0.45rem 0 0;
}
.imovel-public-stats {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 0.95rem;
    color: #475569;
    font-size: 0.9rem;
}
.imovel-public-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.imovel-public-stats span > i {
    font-size: 1.28em;
}
.imovel-public-stat-icon svg {
    width: 1.34em;
    height: 1.34em;
    display: block;
}
.imovel-public-detalhes {
    margin-top: 1rem;
}
.imovel-public-detalhes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.imovel-public-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 0.84rem;
}
.imovel-public-midias-frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #0f172a;
}
.imovel-public-midias-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}
.imovel-public-midias-item-title {
    margin: 0 0 0.45rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
}
.imovel-public-midias-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.imovel-public-similares {
    margin-inline: auto;
}
.imovel-public-similares-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}
.imovel-public-similares-carousel {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem 1rem 2.15rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
/* Indicadores: Bootstrap 5 usa traços horizontais — aqui forçamos círculos na base do carrossel */
.imovel-public-similares-indicators {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 0.55rem;
    transform: translateX(-50%);
    z-index: 4;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}
.imovel-public-similares-indicators [data-bs-target],
.imovel-public-similares-indicators [type='button'] {
    box-sizing: border-box !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: var(--accent, #ea580c) !important;
    opacity: 0.35;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.imovel-public-similares-indicators [data-bs-target].active,
.imovel-public-similares-indicators [type='button'].active {
    opacity: 1;
    transform: scale(1.08);
}
.imovel-public-sim-card {
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.imovel-public-sim-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
}
.imovel-public-sim-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.45s ease;
}
.imovel-public-sim-card:hover .imovel-public-sim-card-media img {
    transform: scale(1.08);
}
.imovel-public-sim-card-empty {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.5rem;
}
.imovel-public-sim-card-body {
    padding: 0.8rem 0.85rem 0.9rem;
}
.imovel-public-sim-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}
.imovel-public-sim-card .tema1-destaque-transacao-badge {
    position: absolute;
    top: 0.72rem;
    left: 0.72rem;
    z-index: 3;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.2));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(9px) saturate(140%);
    -webkit-backdrop-filter: blur(9px) saturate(140%);
}
.imovel-public-sim-card-tipo {
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.imovel-public-sim-card-title {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #0f172a;
}
.imovel-public-sim-card-loc {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
}
.imovel-public-sim-card-stats {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.7rem;
    color: #475569;
    font-size: 0.82rem;
}
.imovel-public-sim-card-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.imovel-public-sim-card-stats i {
    color: var(--accent, #ea580c);
}
.imovel-public-sim-card-icon svg {
    width: 1.02em;
    height: 1.02em;
    display: block;
}
.imovel-public-sim-card-price {
    margin: 0.5rem 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent, #ea580c);
}
.imovel-public-sim-card-btn {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--accent, #ea580c) !important;
    background: var(--accent, #ea580c) !important;
    color: #fff !important;
    font-weight: 500;
}
.imovel-public-sim-card-btn:hover {
    filter: brightness(0.96);
    color: #fff !important;
}
.imovel-public-similares-control {
    width: 2.6rem;
    height: 2.6rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 50%;
    color: #0f172a;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.imovel-public-similares-carousel .imovel-public-similares-control:hover,
.imovel-public-similares-carousel .imovel-public-similares-control:focus {
    opacity: 1;
    filter: none;
    background-color: var(--accent, #ea580c) !important;
    border-color: var(--accent, #ea580c) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.imovel-public-similares-carousel .imovel-public-similares-control:hover .bi,
.imovel-public-similares-carousel .imovel-public-similares-control:focus .bi {
    color: #fff !important;
}
.imovel-public-similares-control.carousel-control-prev {
    left: -1.25rem;
}
.imovel-public-similares-control.carousel-control-next {
    right: -1.25rem;
}
.imovel-public-aside {
    padding: 1.35rem;
    border-left: 1px solid #eef2f7;
    background: #f8fafc;
    min-height: 100%;
}
.imovel-public-price {
    margin: 0 0 0.85rem;
    border-radius: 12px;
    background: #e8f7ea;
    color: #166534;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    padding: 0.7rem 0.5rem;
    line-height: 1.1;
}
.imovel-public-aside-note {
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
    margin: 0.25rem 0;
}
.imovel-public-cta {
    border: 1px solid #16a34a !important;
    background: #16a34a !important;
    color: #fff !important;
    border-radius: 11px;
    min-height: 3.05rem;
    font-weight: 500;
    font-size: 1.02rem;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.imovel-public-share {
    border: 1px solid #64748b !important;
    background: #64748b !important;
    color: #fff !important;
    border-radius: 11px;
    min-height: 3.05rem;
    font-weight: 500;
    font-size: 1.02rem;
}
.imovel-public-map-btn {
    border: 1px solid var(--accent, #10b981) !important;
    background: var(--accent, #10b981) !important;
    color: #fff !important;
    border-radius: 11px;
    min-height: 3.05rem;
    font-weight: 500;
    font-size: 1.02rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    line-height: 1;
}
.imovel-public-map-btn:hover {
    filter: brightness(0.95);
    color: #fff !important;
}
.imovel-public-map-btn i {
    line-height: 1;
}
.imovel-public-share:hover,
.imovel-public-cta:hover {
    filter: none;
}
.imovel-public-cta:hover {
    background: #15803d !important;
    border-color: #15803d !important;
    transform: translateY(-1px);
}
.imovel-public-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(15, 23, 42, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.imovel-public-lead-modal[hidden] {
    display: none;
}
.imovel-public-lead-modal-dialog {
    position: relative;
    width: min(94vw, 470px);
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 55px rgba(2, 6, 23, 0.26);
    padding: 1.2rem 1.2rem 1rem;
}
.imovel-public-lead-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    color: #475569;
    background: #e2e8f0;
}
.imovel-public-lead-modal-head {
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.58rem;
}
.imovel-public-lead-modal-favicon {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #166534;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    padding: 0.22rem;
}
.imovel-public-lead-modal-favicon::after {
    content: '';
    position: absolute;
    top: -0.12rem;
    right: -0.12rem;
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    background: #22c55e;
    border: 1px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}
.imovel-public-lead-modal-favicon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 999px;
}
.imovel-public-lead-modal-title {
    margin: 0;
    display: block;
    color: #0f172a;
    font-size: 1.28rem;
    font-weight: 700;
}
.imovel-public-lead-modal-subtitle {
    margin: 0.3rem 0 0.85rem;
    color: #64748b;
    font-size: 0.9rem;
}
.imovel-public-lead-form .form-control {
    border-radius: 999px;
    min-height: 3rem;
    padding-inline: 1rem;
}
.imovel-public-lead-form .iti {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}
.imovel-public-lead-form .iti .form-control {
    width: 100%;
    margin-bottom: 0;
}
.imovel-public-lead-modal .iti__country-list {
    z-index: 2147483200;
}
.imovel-public-lead-feedback {
    min-height: 1.25rem;
    margin: 0.08rem 0 0.72rem;
    font-size: 0.84rem;
    color: #334155;
}
.imovel-public-lead-feedback.is-error {
    color: #b91c1c;
}
.imovel-public-lead-feedback.is-success {
    color: #166534;
}
.imovel-public-lead-submit {
    min-height: 3rem;
    border-radius: 999px;
    border: 1px solid #0f766e !important;
    background: #0f766e !important;
    color: #fff !important;
    font-weight: 500;
}
.imovel-public-lead-submit:disabled {
    opacity: 0.75;
}
.imovel-public-share-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483100;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.imovel-public-share-modal[hidden] {
    display: none;
}
.imovel-public-share-modal-dialog {
    position: relative;
    width: min(94vw, 460px);
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
    padding: 0.9rem 0.9rem 1rem;
}
.imovel-public-share-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    color: #475569;
    background: #e2e8f0;
}
.imovel-public-share-modal-title {
    margin: 0 0 0.72rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}
.imovel-public-share-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}
.imovel-public-share-opt {
    border-radius: 10px;
    text-decoration: none;
    min-height: 2.7rem;
    padding: 0.45rem 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 500;
    font-size: 0.97rem;
    color: #fff;
}
.imovel-public-share-opt.wa { background: #20a14a; }
.imovel-public-share-opt.fb { background: #2b77db; }
.imovel-public-share-opt.x { background: #1f2937; }
.imovel-public-share-opt.tg { background: #2398d3; }
.imovel-public-share-opt:hover {
    filter: brightness(0.95);
    color: #fff;
}
@media (max-width: 991.98px) {
    .imovel-public-gallery-track {
        --gallery-visible: 2;
    }
    .imovel-public-similares-carousel {
        padding: 0.75rem;
    }
    .imovel-public-sim-card-media {
        aspect-ratio: 16 / 10;
    }
}
@media (max-width: 767.98px) {
    /* Setas abaixo do card, centralizadas; bolinhas por último (fluxo vertical) */
    .tema1-destaque-carousel-arrows {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        padding: 0.65rem 0.5rem 0.25rem;
    }
    .tema1-destaque-carousel .carousel-control-prev,
    .tema1-destaque-carousel .carousel-control-next {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
    }
    .tema1-destaque-carousel .carousel-indicators {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        margin: 0;
        padding: 0.35rem 0 0.85rem;
        justify-content: center;
    }
    .tema1-destaque-media {
        height: 220px;
        min-height: 220px;
    }
    .tema1-destaque-img,
    .tema1-destaque-img--empty {
        height: 220px;
    }
    /* Galeria largura total da tela (fora do padding do .container) */
    .imovel-public-gallery-wrap {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0.65rem 0 0.75rem;
        box-sizing: border-box;
    }
    .imovel-public-gallery-track {
        --gallery-visible: 1;
        padding: 0;
    }
    .imovel-public-gallery-item {
        max-height: none;
        border-radius: 0;
    }
    .imovel-public-gallery-prev {
        left: 0.5rem;
    }
    .imovel-public-gallery-next {
        right: 0.5rem;
    }
    .imovel-public-title {
        font-size: 1.45rem;
    }
    .imovel-public-aside {
        border-left: 0;
        border-top: 1px solid #eef2f7;
    }
    .imovel-public-price {
        font-size: 1.65rem;
    }
}
.tema1-section-head {
    text-align: center;
    margin-bottom: 1.2rem;
}
.tema1-section-head h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .45rem;
    color: #0f172a;
}
.tema1-section-head p {
    margin: 0 auto;
    max-width: 760px;
    color: #64748b;
}
.tema1-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.tema1-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .08);
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
}
.tema1-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, .12);
}
.tema1-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.tema1-card-img--empty {
    background: #eef2ff;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.tema1-card-body {
    padding: 1rem 1rem 1.1rem;
}
.tema1-card-body h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}
.tema1-card-loc {
    color: #64748b;
    margin-top: .2rem;
    font-size: .88rem;
}
.tema1-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: .55rem;
    color: #475569;
    font-size: .82rem;
}
.tema1-card-price {
    margin-top: .7rem;
    font-weight: 800;
    color: var(--accent, #1e1b8f);
    font-size: 1.2rem;
}
.tema1-card-badge {
    display: inline-flex;
    margin-top: .7rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    background: #fee2e2;
    color: #b91c1c;
}
.tema1-fav-btn {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #64748b !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}
.tema1-fav-btn:hover,
.tema1-fav-btn:focus-visible {
    color: var(--accent, #1e1b8f) !important;
    border-color: color-mix(in srgb, var(--accent, #1e1b8f) 45%, #e2e8f0) !important;
    background: #fff !important;
}
.tema1-fav-btn.is-fav {
    color: var(--accent, #1e1b8f) !important;
    border-color: color-mix(in srgb, var(--accent, #1e1b8f) 45%, #e2e8f0) !important;
    background: color-mix(in srgb, var(--accent, #1e1b8f) 9%, #fff) !important;
}
.tema1-fav-btn--card {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}
.tema1-empty {
    margin-top: 1rem;
    text-align: center;
    color: #64748b;
    padding: 1.2rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
}

/* Banner promocional (home Tema 1 — só imagens desktop/mobile, largura do container) */
.tema1-promo-section {
    background: #ffffff;
    padding: 2rem 0 2.75rem;
}
.tema1-promo-banner-wrap {
    padding-bottom: 0;
    max-width: 100%;
}
.tema1-promo-carousel {
    overflow: visible;
    background: transparent;
    --tema1-promo-dot-primary: var(--admin-primary, #ff6a00);
}
.tema1-promo-carousel__stage {
    position: relative;
}
.tema1-promo-carousel .carousel-inner.tema1-promo-carousel__inner {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    background: #fff;
}
.tema1-promo-slide--images-only .tema1-promo-slide__frame {
    line-height: 0;
    margin: 0;
    position: relative;
}
.tema1-promo-slide__link {
    color: inherit;
    outline: none;
}
.tema1-promo-slide__link:focus-visible {
    outline: 3px solid var(--tema1-promo-dot-primary, var(--admin-primary, #ff6a00));
    outline-offset: 2px;
    border-radius: 2px;
}
.tema1-promo-slide--images-only picture {
    display: block;
}
.tema1-promo-slide__img--fluid {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}
.tema1-promo-indicators {
    margin: 0.85rem 0 0;
    padding: 0;
    position: static;
    left: auto;
    right: auto;
    transform: none;
    width: auto;
    gap: 0.5rem;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.tema1-promo-indicators [data-bs-target],
.tema1-promo-indicators [type='button'] {
    width: 0.55rem !important;
    height: 0.55rem !important;
    min-height: 0 !important;
    border-radius: 50% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    background-color: #000000 !important;
    opacity: 0.35;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}
.tema1-promo-indicators [data-bs-target]:hover,
.tema1-promo-indicators [type='button']:hover {
    background-color: var(--tema1-promo-dot-primary) !important;
    opacity: 1;
    transform: scale(1.12);
}
.tema1-promo-indicators [data-bs-target]:focus-visible,
.tema1-promo-indicators [type='button']:focus-visible {
    outline: 2px solid var(--tema1-promo-dot-primary);
    outline-offset: 3px;
    opacity: 1;
}
.tema1-promo-indicators [data-bs-target].active,
.tema1-promo-indicators [type='button'].active {
    background-color: var(--tema1-promo-dot-primary) !important;
    opacity: 1;
}
.tema1-promo-control {
    width: 2.35rem;
    height: 2.35rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.92;
}
.tema1-promo-control .carousel-control-prev-icon,
.tema1-promo-control .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.45);
    background-size: 55% 55%;
}

@media (max-width: 991.98px) {
    .tema1-search-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .tema1-search-col--btn {
        min-width: 0;
    }
    .tema1-grid {
        grid-template-columns: 1fr;
    }
    .tema1-hero {
        min-height: 420px;
    }
    .tema1-hero-content {
        padding-top: 9.75rem;
    }
}

.imob-mapa-card {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d9dee7;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    min-height: 124px;
}

.imob-mapa-card:hover {
    border-color: #c6ced9;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.imob-mapa-card:focus-visible {
    outline: 2px solid var(--accent, #c4242a);
    outline-offset: 2px;
}

.imob-mapa-card--active {
    border-color: var(--accent, #c4242a);
    box-shadow: 0 0 0 2px rgba(196, 36, 42, 0.2), 0 8px 28px rgba(15, 23, 42, 0.12);
}

.imob-mapa-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    pointer-events: none;
}
.imob-mapa-card-badges--inline {
    position: static;
    inset: auto;
    margin: 0 0 0.28rem;
    pointer-events: none;
}

.imob-mapa-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    backdrop-filter: blur(6px);
}

.imob-mapa-chip--hot {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.imob-mapa-chip--muted {
    background: rgba(100, 116, 139, 0.9);
}

.imob-mapa-card-media {
    aspect-ratio: auto;
    background: #e2e8f0;
    height: 100%;
    min-height: 124px;
}

.imob-mapa-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imob-mapa-card-media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.75rem;
}

.imob-mapa-card-body {
    padding: 0.62rem 0.78rem 0.66rem;
}

.imob-mapa-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.24rem 0;
    line-height: 1.24;
}

.imob-mapa-card-meta {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0 0 0.16rem 0;
}

.imob-mapa-card-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--admin-primary, var(--accent, #c4242a));
    margin: 0 0 0.26rem;
    line-height: 1.2;
}

.imob-mapa-card-addr {
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.4;
    margin-top: 0.12rem;
}

.imob-mapa-card-cities {
    font-size: 0.72rem;
    color: #475569;
    line-height: 1.35;
    margin-top: 0.08rem;
}

.imob-mapa-card-addr .bi {
    margin-right: 0.25rem;
    color: var(--accent-secondary, #f97316);
}

.imob-mapa-card-btn {
    margin-top: 0.65rem;
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    background: var(--accent, #c4242a);
    border: none;
    color: #fff;
}
.imob-mapa-card-actions {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.65rem;
}
.imob-mapa-card-actions .imob-mapa-card-btn {
    margin-top: 0;
}
.imob-mapa-card-btn--details {
    background: var(--accent, #c4242a);
    border: 1px solid var(--accent, #c4242a);
    color: #fff;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.imob-mapa-card-btn--details:hover {
    background: var(--accent-hover, #a01d22);
    border-color: var(--accent-hover, #a01d22);
    color: #fff;
    transform: translateY(-1px);
}

.imob-mapa-card-btn:hover {
    background: var(--accent-hover, #a01d22);
    color: #fff;
}

.imob-mapa-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.imob-mapa-popup-wrap .leaflet-popup-content {
    margin: 0;
    min-width: 220px;
}

.imob-mapa-popup img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.imob-mapa-popup {
    padding: 0.75rem 0.85rem 0.85rem;
}

.imob-mapa-popup strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.imob-mapa-popup-price {
    font-weight: 700;
    color: var(--accent, #c4242a);
    margin: 0.35rem 0;
}

.imob-mapa-popup-btn {
    border-radius: 12px;
    font-weight: 600;
    border: none;
}
.imob-mapa-popup-btn--details {
    background: var(--accent, #c4242a);
    color: #fff !important;
}
.imob-mapa-popup-btn--details:hover {
    background: var(--accent-hover, #a01d22);
    color: #fff !important;
}
.imob-mapa-popup-btn--interest {
    background: #1f2937;
    color: #fff !important;
}
.imob-mapa-popup-btn--interest:hover {
    background: #111827;
    color: #fff !important;
}

/* Leaflet define .leaflet-container a { color: #0078A8 } — força texto/ícone branco nos botões */
.leaflet-container .imob-mapa-popup-wrap a.btn,
.leaflet-container .imob-mapa-popup a.btn {
    color: #fff !important;
}
.leaflet-container .imob-mapa-popup-wrap a.btn .bi,
.leaflet-container .imob-mapa-popup a.btn .bi {
    color: #fff !important;
}
.leaflet-container .imob-mapa-popup-wrap a.btn:hover,
.leaflet-container .imob-mapa-popup a.btn:hover,
.leaflet-container .imob-mapa-popup-wrap a.btn:focus,
.leaflet-container .imob-mapa-popup a.btn:focus {
    color: #fff !important;
}

/* Lista lateral do mapa no admin: mesmo problema em <a class="btn"> */
.admin-mapa-page .imob-mapa-card a.btn-primary,
.admin-mapa-page .imob-mapa-card a.btn-primary:hover,
.admin-mapa-page .imob-mapa-card a.btn-primary:focus,
.admin-mapa-page .imob-mapa-card a.btn-primary .bi {
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .imob-mapa-shell {
        flex-direction: column;
        min-height: auto;
    }

    .imob-mapa-sidebar {
        width: 100%;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    }
    .imob-mapa-list {
        grid-template-columns: 1fr;
    }

    .imob-mapa-sidebar-inner {
        max-height: 58vh;
    }

    .imob-mapa-map-wrap {
        min-height: 55vh;
        flex: none;
    }
    .imob-mapa-filters-grid {
        grid-template-columns: 1fr;
    }
    .imob-mapa-toolbar-main {
        flex-wrap: wrap;
    }
    .imob-mapa-filter-col--auto {
        width: 100%;
    }
    .imob-mapa-advanced-btn {
        width: 100%;
    }
    .imob-busca-grid {
        grid-template-columns: 1fr;
    }
    .imob-busca-actions {
        flex-direction: column;
    }
    .imob-busca-btn {
        width: 100%;
    }
    .imob-busca-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
    .imob-mapa-list {
        display: flex;
        flex-direction: column;
    }
    .imob-mapa-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}
