/* landing-premium-v2.css — Passo 1: navbar + Topo 1 (visual premium)
 * Carregar DEPOIS de landing-theme.css. Tokens neutros (--nx-*);
 * cores de marca só via --brand-primary / --brand-secondary (landing-brand.js).
 * !important só onde theme/overrides/base já usam !important (cascade).
 */

/* =============================================================================
 * Tokens
 * ============================================================================= */

:root {
    --nx-bg: #F3F5F4;
    --nx-surface: #FFFFFF;
    --nx-field: #F6F8F7;
    --nx-line: #DCE3E0;
    --nx-text: #0F1C1A;
    --nx-muted: #586965;
}

html[data-theme="dark"] {
    --nx-bg: #0A1110;
    --nx-surface: #121A19;
    --nx-field: #0D1514;
    --nx-line: #26332F;
    --nx-text: #E8F0EE;
    --nx-muted: #98ABA6;
}

/* =============================================================================
 * Navbar — #navbar-main / .nav-wrap
 * ============================================================================= */

html body .nav-wrap {
    min-height: 76px;
    background: color-mix(in srgb, var(--nx-bg) 84%, transparent) !important;
    background-color: color-mix(in srgb, var(--nx-bg) 84%, transparent) !important;
    border-bottom: 1px solid var(--nx-line) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

html body .nav-wrap.scrolled {
    box-shadow: none !important;
}

html body .nav-inner {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px !important;
    min-height: 76px;
    align-items: center;
}

html body .nav-links a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--nx-muted) !important;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

html body .nav-links a:hover {
    color: var(--nx-text) !important;
}

html body .nav-links a::after {
    background: var(--brand-secondary) !important;
}

html body .nav-wpp {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    align-items: center;
    justify-content: center;
    /* fundo continua de --wpp / config; texto legível */
    color: var(--brand-on-secondary, #fff);
}

html body .nav-wpp.nav-wpp--mobile {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

html body .nav-toggle {
    min-width: 44px;
    min-height: 44px;
}

html body #navMobileMenu.nav-mobile,
html body .nav-mobile {
    background: var(--nx-surface) !important;
    border-top: 1px solid var(--nx-line) !important;
}

html body #navMobileMenu .nav-mobile-inner a,
html body .nav-mobile-inner a {
    color: var(--nx-muted) !important;
    border-bottom-color: var(--nx-line);
    min-height: 44px;
}

html body #navMobileMenu .nav-mobile-inner a:hover,
html body .nav-mobile-inner a:hover {
    color: var(--nx-text) !important;
    background: var(--nx-field) !important;
}

/* =============================================================================
 * Topo 1 — #hero_wrapper / #topo1
 * ============================================================================= */

html body #hero_wrapper.imob-hero-wrap,
html body #hero_wrapper {
    background: var(--nx-bg) !important;
    padding: 0 !important;
    margin: 0;
    overflow-x: clip;
    max-width: 100%;
}

html body #hero_wrapper #topo1.imob-hero,
html body #topo1.imob-hero {
    background: transparent !important;
    padding: 0 !important;
    color: var(--nx-text);
    max-width: 100%;
}

html body #topo1 .c-xl,
html body #hero_wrapper #topo1 .c-xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 32px 80px;
    box-sizing: border-box;
    width: 100%;
}

html body #hero_wrapper .imob-hero-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 32px !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
}

html body #hero_wrapper .imob-hero-media,
html body #hero_wrapper .imob-hero-media.imob-topo1-banner {
    flex: 1.4 1 520px;
    min-width: 0;
    min-height: 640px;
    width: auto;
    max-width: none !important;
    margin-inline: 0 !important;
    aspect-ratio: auto;
    border-radius: 32px !important;
    overflow: hidden;
    position: relative;
    box-shadow: none !important;
}

html body #hero_wrapper .imob-hero-media::after {
    display: none !important;
}

html body #hero_wrapper .imob-hero-img,
html body #hero_wrapper .hero-img.imob-hero-img,
html body #hero_wrapper .imob-topo1-banner .imob-hero-img,
html body #hero_wrapper .imob-topo1-banner .hero-img.imob-hero-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 32px !important;
    box-shadow: none !important;
}

html body #hero_wrapper .imob-hero-aside {
    flex: 1 1 400px;
    min-width: 0;
}

html body #hero_wrapper .fcard.imob-hero-form,
html body #hero_wrapper .imob-hero-form {
    position: relative;
    z-index: 2;
    height: auto !important;
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    padding: 32px 28px 28px !important;
    margin: 0;
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.35) !important;
    overflow: visible;
    color: var(--nx-text);
}

html body #hero_wrapper .imob-hero-form::before,
html body #hero_wrapper .fcard.imob-hero-form::before {
    display: none !important;
    content: none !important;
}

html body #hero_wrapper .imob-hero-form__head,
html body #hero_wrapper .fcard-head.imob-hero-form__head {
    font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    padding: 0 0 20px !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    text-transform: none !important;
    border-bottom: none !important;
}

html body #hero_wrapper .imob-hero-form__body,
html body #hero_wrapper .fcard-body.imob-hero-form__body {
    padding: 0 !important;
}

html body #hero_wrapper .imob-hero-form__body .mb-3 {
    margin-bottom: 12px !important;
}

html body #hero_wrapper .imob-field-label,
html body #hero_wrapper .form-label.imob-field-label,
html body #hero_wrapper label.form-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    margin-bottom: 6px !important;
}

html body #hero_wrapper .imob-field-input,
html body #hero_wrapper .form-control.imob-field-input,
html body #hero_wrapper .form-select.imob-field-input,
html body #hero_wrapper .form-control,
html body #hero_wrapper .form-select {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background-color: var(--nx-field) !important;
    font-size: 16px !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
}

html body #hero_wrapper textarea.imob-field-input,
html body #hero_wrapper textarea.form-control {
    height: auto !important;
    min-height: 72px !important;
}

html body #hero_wrapper .imob-field-input:focus,
html body #hero_wrapper .form-control.imob-field-input:focus,
html body #hero_wrapper .form-select.imob-field-input:focus,
html body #hero_wrapper .form-control:focus,
html body #hero_wrapper .form-select:focus {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-secondary) 28%, transparent) !important;
    outline: none;
}

html body #hero_wrapper .imob-hero-submit,
html body #hero_wrapper .btn-brand.imob-hero-submit {
    width: 100%;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    /* background via dmx-style cor_secundaria — não forçar */
}

html body #hero_wrapper .imob-hero-submit:hover {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* LGPD no card (herda texto escuro do surface) */
html body #hero_wrapper .fcard.imob-hero-form .form-check-label {
    color: var(--nx-muted) !important;
}

html body #hero_wrapper .fcard.imob-hero-form .form-check-label a {
    color: var(--brand-secondary) !important;
}

/* Sobreposição do card na borda do banner (desktop largo) */
@media (min-width: 1000px) {
    html body #hero_wrapper .fcard.imob-hero-form,
    html body #hero_wrapper .imob-hero-form {
        margin-left: -64px;
    }

    html body #hero_wrapper .imob-hero-skeleton__form {
        margin-left: -64px;
    }
}

/* =============================================================================
 * Skeleton — mesmos raios / flex / alturas do Topo 1
 * ============================================================================= */

html body #hero_wrapper #sk_hero .c-xl,
html body #sk_hero .c-xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 32px 80px;
    box-sizing: border-box;
    width: 100%;
}

html body #hero_wrapper .imob-hero-skeleton,
html body #sk_hero .imob-hero-skeleton {
    display: flex !important;
    flex-wrap: wrap;
    gap: 32px !important;
    align-items: stretch;
    grid-template-columns: none !important;
    padding: 0 !important;
}

html body #hero_wrapper .imob-hero-skeleton__img,
html body #sk_hero .imob-hero-skeleton__img {
    flex: 1.4 1 520px;
    min-width: 0;
    min-height: 640px;
    position: relative;
    aspect-ratio: auto;
    border-radius: 32px !important;
    box-shadow: none !important;
}

html body #hero_wrapper .imob-hero-skeleton__form,
html body #sk_hero .imob-hero-skeleton__form {
    flex: 1 1 400px;
    min-width: 0;
    position: relative;
    z-index: 2;
    background: var(--nx-surface);
    border: 1px solid var(--nx-line);
    border-radius: 28px !important;
    padding: 32px 28px 28px;
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.35);
    gap: 12px;
}

/* =============================================================================
 * Acessibilidade
 * ============================================================================= */

html body .nav-wrap .nav-links a:focus-visible,
html body .nav-wrap .nav-wpp:focus-visible,
html body .nav-wrap .nav-toggle:focus-visible,
html body .nav-mobile-inner a:focus-visible,
html body #hero_wrapper .imob-hero-form a:focus-visible,
html body #hero_wrapper .imob-hero-submit:focus-visible,
html body #hero_wrapper .btn-brand.imob-hero-submit:focus-visible,
html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-prev:focus-visible,
html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-next:focus-visible,
html body :is(#topo2, #topo_slider) .dmx-slideshow-paging-container li:focus-visible,
html body #topo3 .imob-intro-cta:focus-visible,
html body #topo3 :is(.imob-intro-copy, .imob-intro-content) a:focus-visible,
html body #topo4 .imob-hero-video__btn:focus-visible,
html body #topo4 .imob-hero-video__title a:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html body .nav-wrap,
    html body .nav-wrap *,
    html body #hero_wrapper,
    html body #hero_wrapper * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition: none !important;
    }

    html body #footer.foot-vivareal,
    html body #footer.foot-vivareal * {
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * TOPO 2 — slider (#topo2)
 * ============================================================================= */

html body :is(#topo2, #topo_slider).imob-hero-slider-wrap,
html body section:is(#topo2, #topo_slider).imob-hero-slider-wrap {
    background: var(--nx-bg) !important;
    padding: 48px 32px 80px !important;
    margin: 0 !important;
    border-bottom: none !important;
    overflow: visible;
    line-height: normal;
    box-sizing: border-box;
    max-width: 100%;
}

html body :is(#topo2, #topo_slider) .imob-hero-slider-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    min-height: 640px;
    border-radius: 32px;
    overflow: hidden;
    line-height: 0;
    position: relative;
    box-sizing: border-box;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow {
    position: relative;
    width: 100% !important;
    height: 640px !important;
    min-height: 640px !important;
    max-height: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    aspect-ratio: unset !important;
    border-radius: 32px;
}

/* Camadas de mídia — DIVs de efeito usam background-image inline (não <img>) */
html body :is(#topo2, #topo_slider) .dmx-slideshow-slides-container,
html body :is(#topo2, #topo_slider) .dmx-slideshow-effects-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    overflow: hidden;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow-textbox-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
    z-index: 1;
}

/* Esteira — left/transition ficam com o JS (inline); não sobrescrever */
html body :is(#topo2, #topo_slider) .dmx-slideshow-slider {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
}

/* Slides: <img> com left inline (100*i)% — NÃO definir left/right/inset aqui */
html body :is(#topo2, #topo_slider) .dmx-slideshow-slider > img {
    top: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Nav: cobre o slider; container não captura pointer (arrastar); setas sim */
html body :is(#topo2, #topo_slider) .dmx-slideshow-nav-container {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

/*
 * Setas: especificidade > landing-base `#topo_slider .dmx-slideshow [class*="slide"]`
 * (a substring "slide" casa com .dmx-slideshow-prev/next). Sem isso, width/height 100%
 * + border-radius 999px + fundo --nx-surface viram elipse branca cobrindo o banner.
 */
html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-prev,
html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-next {
    position: absolute !important;
    inset: auto !important;
    top: 50% !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    margin-top: -22px;
    border-radius: 999px !important;
    background-color: var(--nx-surface) !important;
    background-image: none !important;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45);
    box-sizing: border-box !important;
    line-height: normal;
    pointer-events: auto;
    z-index: 5;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-prev {
    left: 10px !important;
    right: auto !important;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-next {
    right: 10px !important;
    left: auto !important;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-prev::before,
html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid var(--nx-text);
    border-right: 2.5px solid var(--nx-text);
    border-radius: 1px;
    box-sizing: border-box;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-prev:hover,
html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-next:hover {
    background-color: var(--brand-secondary) !important;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-prev:hover::before,
html body :is(#topo2, #topo_slider) .dmx-slideshow .dmx-slideshow-next:hover::before {
    border-top-color: var(--brand-on-secondary, #fff);
    border-right-color: var(--brand-on-secondary, #fff);
}

html body :is(#topo2, #topo_slider) .dmx-slideshow-paging-container {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 4;
    line-height: normal;
    pointer-events: none;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow-paging-container li {
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    pointer-events: auto;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow-paging-container li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

html body :is(#topo2, #topo_slider) .dmx-slideshow-paging-container li.current {
    background: transparent;
    box-shadow: none;
}

html body :is(#topo2, #topo_slider) .dmx-slideshow-paging-container li.current::before {
    background-color: var(--brand-secondary);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

/* =============================================================================
 * TOPO 3 — Sobre nós (#topo3)
 * ============================================================================= */

html body #topo3.imob-intro-section,
html body section#topo3.imob-intro-section,
html body #topo3 {
    background: var(--nx-bg) !important;
    padding: 48px 32px 80px !important;
    margin: 0 !important;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: clip;
}

html body #topo3.imob-intro-section > .c-xl,
html body #topo3 > .c-xl {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

html body #topo3 .imob-intro-grid,
html body #topo3 .bgrid.imob-intro-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 32px !important;
    align-items: center !important;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: none !important;
    direction: ltr;
}

html body #topo3 .imob-intro-media {
    flex: 0 1 560px;
    min-width: 0;
    min-height: 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: none !important;
}

html body #topo3 .imob-intro-img,
html body #topo3 .bimg.imob-intro-img {
    position: static;
    inset: auto;
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 360px;
    max-height: 640px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 32px !important;
    box-shadow: none !important;
}

html body #topo3 :is(.imob-intro-copy, .imob-intro-content) {
    flex: 1 1 400px;
    min-width: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background: var(--nx-surface);
    border: 1px solid var(--nx-line);
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    color: var(--nx-text);
}

@media (min-width: 1000px) {
    html body #topo3 :is(.imob-intro-copy, .imob-intro-content) {
        margin-right: -64px;
    }
}

html body #topo3 .eyebrow,
html body #topo3 :is(.imob-intro-copy, .imob-intro-content) .eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 12px !important;
}

html body #topo3 .eyebrow::before {
    display: none !important;
}

html body #topo3 .imob-intro-text,
html body #topo3 .imob-intro-text.bloco-content,
html body #topo3 .bloco-content {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
    color: var(--nx-text) !important;
    max-width: 62ch;
    margin-bottom: 24px !important;
    width: 100%;
}

/* Anula font-family/size inline do editor; preserva color, weight, style, background */
html body #topo3 .bloco-content :is(span, font, p, div, li, a, strong, b, em, i, u),
html body #topo3 .imob-intro-text :is(span, font, p, div, li, a, strong, b, em, i, u) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

html body #topo3 .imob-intro-text :is(h1, h2, h3, h4),
html body #topo3 .imob-intro-text.bloco-content :is(h1, h2, h3, h4),
html body #topo3 .bloco-content :is(h1, h2, h3, h4) {
    font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-transform: none !important;
    margin: 0 0 12px !important;
}


/* Subtítulo/âncora do editor: não parecer link azul */
html body #topo3 :is(.imob-intro-text, .bloco-content) > a,
html body #topo3 :is(.imob-intro-text, .bloco-content) > :is(p, div):first-child > a {
    color: var(--nx-text) !important;
    text-decoration: none !important;
    font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif !important;
    font-weight: 700 !important;
}

html body #topo3 .imob-intro-text p,
html body #topo3 .bloco-content p {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 0.85em !important;
}

html body #topo3 .imob-intro-cta,
html body #topo3 .btn-brand.imob-intro-cta {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    /* background via dmx-style cor_secundaria — não forçar */
}

html body #topo3 .imob-intro-cta:hover {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* =============================================================================
 * TOPO 4 — vídeo (#topo4)
 * Fundo ao redor: wrap (div:has(>#topo4)) com background --nx-bg + padding.
 * Sem markup novo. JS imobFixTopo4Video força padding:0 no dmx-if, não no wrap.
 * ============================================================================= */

html body [is="dmx-if"]:has(#topo4.imob-hero-video),
html body dmx-if:has(#topo4.imob-hero-video) {
    background: var(--nx-bg) !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

html body div:has(> #topo4.imob-hero-video) {
    background: var(--nx-bg) !important;
    padding: 48px 32px 80px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    display: grid !important;
    justify-items: center !important;
    min-height: 0 !important;
    overflow: visible !important;
    line-height: normal !important;
}

html body div:has(> #topo4.imob-hero-video) > div:first-child,
html body #topo4.imob-hero-video,
html body #topo4.bgvid.imob-hero-video {
    grid-area: 1 / 1;
    justify-self: center;
    align-self: stretch;
    width: 100% !important;
    max-width: 1280px !important;
    min-height: 640px !important;
    margin: 0 !important;
    border-radius: 32px !important;
    overflow: hidden !important;
    position: relative !important;
    inset: auto !important;
    box-sizing: border-box !important;
}

html body #topo4.imob-hero-video,
html body #topo4.bgvid.imob-hero-video {
    z-index: 1;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    background: transparent !important;
}

html body div:has(> #topo4.imob-hero-video) > div:first-child {
    z-index: 0;
    pointer-events: none;
}

html body div:has(> #topo4.imob-hero-video) > div:first-child video,
html body div:has(> #topo4.imob-hero-video) video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
}

html body #topo4 .bgvid-ov,
html body #topo4 .imob-hero-video__overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%) !important;
    pointer-events: none;
}

html body #topo4 .bgvid-ct,
html body #topo4 .imob-hero-video__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 48px !important;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

html body #topo4 .imob-hero-video__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 720px;
    margin: 0;
    text-align: left;
    width: 100%;
}

html body #topo4 .imob-hero-video__title,
html body #topo4 .sec-title.light.imob-hero-video__title {
    font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif !important;
    font-size: clamp(32px, 4vw, 56px) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    text-transform: none !important;
    margin: 0 0 24px !important;
    text-align: left !important;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Anula font/align inline do editor; preserva color, weight, style, background */
html body #topo4 .imob-hero-video__title :is(span, font, p, div, h1, h2, h3, h4, strong, b, em, i, u, a) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
    text-transform: none !important;
}

html body #topo4 .imob-hero-video__title :is(p, div, h1, h2, h3, h4) {
    margin: 0 !important;
}

html body #topo4 .imob-hero-video__btn,
html body #topo4 .btn-brand.imob-hero-video__btn {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    align-self: flex-start;
    /* background via dmx-style cor_secundaria — não forçar */
}

/* =============================================================================
 * Mobile — < 900px
 * ============================================================================= */

@media (max-width: 899.98px) {
    html body .nav-inner {
        padding: 0 20px !important;
    }

    html body #topo1 .c-xl,
    html body #hero_wrapper #topo1 .c-xl,
    html body #hero_wrapper #sk_hero .c-xl,
    html body #sk_hero .c-xl {
        padding: 32px 20px 56px;
    }

    html body #hero_wrapper .imob-hero-media,
    html body #hero_wrapper .imob-hero-media.imob-topo1-banner {
        flex: 1 1 100%;
        min-height: 320px;
        width: 100%;
        max-width: 100% !important;
    }

    html body #hero_wrapper .imob-hero-img,
    html body #hero_wrapper .hero-img.imob-hero-img,
    html body #hero_wrapper .imob-topo1-banner .imob-hero-img,
    html body #hero_wrapper .imob-topo1-banner .hero-img.imob-hero-img {
        position: static;
        inset: auto;
        min-height: 320px;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 32px !important;
        object-fit: cover !important;
    }

    html body #hero_wrapper .imob-hero-aside {
        flex: 1 1 100%;
    }

    html body #hero_wrapper .fcard.imob-hero-form,
    html body #hero_wrapper .imob-hero-form {
        margin-left: 0;
        position: relative;
    }

    html body #hero_wrapper .imob-hero-form__head,
    html body #hero_wrapper .fcard-head.imob-hero-form__head {
        font-size: 26px !important;
    }

    html body #hero_wrapper .imob-hero-skeleton__img,
    html body #sk_hero .imob-hero-skeleton__img {
        flex: 1 1 100%;
        min-height: 320px;
        display: block;
    }

    html body #hero_wrapper .imob-hero-skeleton__form,
    html body #sk_hero .imob-hero-skeleton__form {
        flex: 1 1 100%;
        margin-left: 0;
    }

    html body #hero_wrapper,
    html body #topo1,
    html body #sk_hero {
        overflow-x: clip;
        max-width: 100%;
    }

    /* Topo 2 mobile */
    html body :is(#topo2, #topo_slider).imob-hero-slider-wrap,
    html body section:is(#topo2, #topo_slider).imob-hero-slider-wrap {
        padding: 32px 20px 56px !important;
    }

    html body :is(#topo2, #topo_slider) .imob-hero-slider-inner,
    html body :is(#topo2, #topo_slider) .dmx-slideshow {
        min-height: 320px !important;
        height: 320px !important;
        border-radius: 32px;
    }

    /* Topo 3 mobile */
    html body #topo3.imob-intro-section,
    html body section#topo3.imob-intro-section,
    html body #topo3 {
        padding: 32px 20px 56px !important;
    }

    html body #topo3 .imob-intro-grid,
    html body #topo3 .bgrid.imob-intro-grid {
        gap: 24px !important;
    }

    html body #topo3 .imob-intro-media {
        flex: 1 1 100%;
        order: -1;
        min-height: 0;
        width: 100%;
    }

    html body #topo3 .imob-intro-img,
    html body #topo3 .bimg.imob-intro-img {
        position: static;
        inset: auto;
        width: 100% !important;
        height: auto !important;
        min-height: 320px;
        max-height: none !important;
        object-fit: cover !important;
    }

    html body #topo3 :is(.imob-intro-copy, .imob-intro-content) {
        flex: 1 1 100%;
        order: 0;
        margin-right: 0;
        padding: 32px 24px;
    }

    html body #topo3 .imob-intro-text :is(h1, h2, h3, h4),
    html body #topo3 .bloco-content :is(h1, h2, h3, h4) {
        font-size: 26px !important;
    }

    /* Topo 4 mobile */
    html body div:has(> #topo4.imob-hero-video) {
        padding: 32px 20px 56px !important;
    }

    html body div:has(> #topo4.imob-hero-video) > div:first-child,
    html body #topo4.imob-hero-video,
    html body #topo4.bgvid.imob-hero-video {
        width: 100% !important;
        max-width: 1280px !important;
        min-height: 420px !important;
        border-radius: 32px !important;
    }

    html body #topo4 .bgvid-ct,
    html body #topo4 .imob-hero-video__content {
        padding: 32px 24px !important;
    }

    html body #topo4 .imob-hero-video__title,
    html body #topo4 .sec-title.light.imob-hero-video__title {
        overflow-wrap: anywhere;
        max-width: 100%;
    }
}

/* =============================================================================
 * RODAPÉ — #footer.foot-vivareal (imob)
 * Fundo continua via dmx-style cor_primaria — NÃO forçar background.
 * Texto/contraste via --lt-on-p (landing-theme / landing-brand).
 * Hosp/LP (#footer.foot:not(.foot-vivareal)): bloco R13 abaixo.
 * ============================================================================= */

html body #footer.foot.foot-vivareal,
html body #footer.foot-vivareal {
    width: calc(100% - 64px);
    max-width: 1280px;
    margin: 48px auto 32px !important;
    border-radius: 32px;
    overflow: hidden;
    padding: 56px 0 0 !important;
    box-sizing: border-box;
    /* background: não forçar — dmx-style cor_primaria */
}

/* FABs (#loja_fab_carrinho esq. / .fwpp dir.) — folga inferior em viewports ≤1399 */
@media (max-width: 1399.98px) {
    html body #footer.foot.foot-vivareal,
    html body #footer.foot-vivareal {
        margin-bottom: 96px !important;
    }
}

html body #footer.foot-vivareal .c-xl.foot-grid,
html body #footer.foot-vivareal .foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 48px 40px !important;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    html body #footer.foot-vivareal .c-xl.foot-grid,
    html body #footer.foot-vivareal .foot-grid {
        grid-template-columns: 1.6fr 1fr 1fr;
        gap: 48px !important;
    }
}

@media (min-width: 600px) and (max-width: 899.98px) {
    html body #footer.foot-vivareal .c-xl.foot-grid,
    html body #footer.foot-vivareal .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px !important;
    }

    html body #footer.foot-vivareal .foot-col--brand {
        grid-column: 1 / -1;
    }
}

html body #footer.foot-vivareal .foot-col--brand .foot-logo,
html body #footer.foot-vivareal .foot-logo {
    display: block;
    max-height: 56px;
    width: auto !important;
    height: auto;
    object-fit: contain;
    margin: 0 0 20px !important;
    border-radius: 14px !important;
    overflow: hidden;
}

html body #footer.foot-vivareal .foot-col--brand .foot-addr,
html body #footer.foot-vivareal .foot-addr {
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: 360px;
    color: var(--lt-on-p) !important;
    opacity: 0.85;
    text-align: left;
    margin-bottom: 16px;
}

html body #footer.foot-vivareal .foot-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid color-mix(in srgb, var(--lt-on-p) 28%, transparent) !important;
    color: var(--lt-on-p) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.2s ease;
}

html body #footer.foot-vivareal .foot-contact-btn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #footer.foot-vivareal .foot-slabel {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--lt-on-p) !important;
    opacity: 0.7;
    margin-bottom: 16px !important;
}

html body #footer.foot-vivareal .foot-nav {
    display: flex;
    flex-direction: column;
    gap: 4px !important;
}

@media (min-width: 900px) {
    html body #footer.foot-vivareal .foot-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 0 !important;
    }
}

html body #footer.foot-vivareal .foot-nav a {
    font-size: 15px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--lt-on-p) !important;
    opacity: 0.88;
    text-decoration: none;
    transform: none !important;
    transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

html body #footer.foot-vivareal .foot-nav a:hover {
    opacity: 1;
    color: var(--lt-on-p) !important;
    text-decoration: underline;
    transform: none !important;
}

html body #footer.foot-vivareal .srow.foot-social,
html body #footer.foot-vivareal .foot-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

html body #footer.foot-vivareal .foot-social .sbtn,
html body #footer.foot-vivareal .sbtn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--lt-on-p) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.2s ease;
}

html body #footer.foot-vivareal .foot-social .sbtn:hover,
html body #footer.foot-vivareal .sbtn:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    color: var(--lt-on-p) !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #footer.foot-vivareal .foot-bottom {
    border-top: 1px solid color-mix(in srgb, var(--lt-on-p) 18%, transparent) !important;
    padding: 20px 48px !important;
    text-align: left !important;
}

html body #footer.foot-vivareal .foot-copy,
html body #footer.foot-vivareal .foot-bottom .foot-copy {
    font-size: 13px !important;
    color: var(--lt-on-p) !important;
    opacity: 0.7;
    margin: 0 !important;
    text-align: left !important;
}

html body #footer.foot-vivareal .foot-copy a {
    color: var(--lt-on-p) !important;
    text-decoration: none;
}

html body #footer.foot-vivareal .foot-copy a:hover {
    text-decoration: underline;
}

html body #footer.foot-vivareal :is(a, button):focus-visible {
    outline: 2px solid var(--lt-on-p);
    outline-offset: 3px;
}

@media (max-width: 899.98px) {
    html body #footer.foot.foot-vivareal,
    html body #footer.foot-vivareal {
        width: calc(100% - 40px);
        margin: 32px auto 96px !important;
        border-radius: 28px;
        padding: 40px 0 0 !important;
    }

    html body #footer.foot-vivareal .c-xl.foot-grid,
    html body #footer.foot-vivareal .foot-grid {
        padding: 0 24px 32px !important;
    }

    html body #footer.foot-vivareal .foot-bottom {
        padding: 20px 24px !important;
        text-align: left !important;
    }
}

/* =============================================================================
 * RODAPÉ — HOSP/LP #footer.foot:not(.foot-vivareal) (R13)
 * Markup: .foot-in > .foot-logo, .foot-addr, .foot-slabel, .srow, .foot-div, .foot-copy
 * (sem .foot-grid / .foot-nav / .foot-contact-btn / .foot-bottom).
 * Visual: mesmo card flutuante do foot-vivareal; fundo via dmx-style cor_primaria.
 * ============================================================================= */

html body #footer.foot:not(.foot-vivareal) {
    width: calc(100% - 64px);
    max-width: 1280px;
    margin: 48px auto 32px !important;
    border-radius: 32px;
    overflow: hidden;
    padding: 56px 0 0 !important;
    box-sizing: border-box;
    /* background: não forçar — dmx-style cor_primaria */
}

@media (max-width: 1399.98px) {
    html body #footer.foot:not(.foot-vivareal) {
        margin-bottom: 96px !important;
    }
}

html body #footer.foot:not(.foot-vivareal) .foot-in {
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 48px 0 !important;
    text-align: left !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
        "logo  label"
        "addr  social"
        "div   div"
        "copy  copy" !important;
    gap: 12px 48px !important;
    align-items: start !important;
    box-sizing: border-box;
}

html body #footer.foot:not(.foot-vivareal) .foot-logo {
    grid-area: logo !important;
    display: block !important;
    max-height: 56px;
    width: auto !important;
    height: auto;
    object-fit: contain;
    margin: 0 !important;
    border-radius: 14px !important;
    overflow: hidden;
    /* plaquinha branca — landing-base .foot-logo; token surface (não hex de marca) */
    background: var(--nx-surface) !important;
    padding: 10px 16px !important;
    box-sizing: content-box;
}

html body #footer.foot:not(.foot-vivareal) .foot-addr {
    grid-area: addr !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: 360px;
    color: var(--lt-on-p) !important;
    opacity: 0.85;
    text-align: left !important;
    margin: 0 0 16px !important;
}

html body #footer.foot:not(.foot-vivareal) .foot-slabel {
    grid-area: label !important;
    align-self: end;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--lt-on-p) !important;
    opacity: 0.7;
    margin: 0 0 10px !important;
    text-align: left !important;
}

html body #footer.foot:not(.foot-vivareal) .srow {
    grid-area: social !important;
    align-self: start;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    margin: 0 !important;
}

html body #footer.foot:not(.foot-vivareal) .sbtn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50% !important;
    background: color-mix(in srgb, var(--lt-on-p) 12%, transparent) !important;
    color: var(--lt-on-p) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.2s ease;
}

html body #footer.foot:not(.foot-vivareal) .sbtn:hover {
    background: color-mix(in srgb, var(--lt-on-p) 24%, transparent) !important;
    color: var(--lt-on-p) !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #footer.foot:not(.foot-vivareal) .foot-div {
    grid-area: div !important;
    height: 0 !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

html body #footer.foot:not(.foot-vivareal) .foot-copy {
    grid-area: copy !important;
    font-size: 13px !important;
    color: var(--lt-on-p) !important;
    opacity: 0.7;
    margin: 0 !important;
    text-align: left !important;
    border-top: 1px solid color-mix(in srgb, var(--lt-on-p) 18%, transparent) !important;
    padding: 20px 0 40px !important;
}

html body #footer.foot:not(.foot-vivareal) .foot-copy a {
    color: var(--lt-on-p) !important;
    text-decoration: none;
}

html body #footer.foot:not(.foot-vivareal) .foot-copy a:hover {
    text-decoration: underline;
}

html body #footer.foot:not(.foot-vivareal),
html body #footer.foot:not(.foot-vivareal) .foot-in,
html body #footer.foot:not(.foot-vivareal) .foot-in p,
html body #footer.foot:not(.foot-vivareal) .foot-in a {
    color: var(--lt-on-p) !important;
}

html body #footer.foot:not(.foot-vivareal) :is(a, button):focus-visible {
    outline: 2px solid var(--lt-on-p);
    outline-offset: 3px;
}

@media (max-width: 899.98px) {
    html body #footer.foot:not(.foot-vivareal) {
        width: calc(100% - 40px);
        margin: 32px auto 96px !important;
        border-radius: 28px;
        padding: 40px 0 0 !important;
    }

    html body #footer.foot:not(.foot-vivareal) .foot-in {
        padding: 0 24px 0 !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "logo"
            "addr"
            "label"
            "social"
            "div"
            "copy" !important;
        gap: 28px !important;
        text-align: left !important;
    }

    /* gap 28px − 12px ≈ 16px entre rótulo e ícones */
    html body #footer.foot:not(.foot-vivareal) .foot-slabel {
        align-self: start;
        margin: 0 0 -12px !important;
    }

    html body #footer.foot:not(.foot-vivareal) .foot-copy {
        padding: 20px 0 32px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #footer.foot:not(.foot-vivareal),
    html body #footer.foot:not(.foot-vivareal) * {
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * IMÓVEIS — filtros (:is(#produtos[data-imoveis="1"], #loja))
 * ============================================================================= */

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero {
    background: var(--nx-bg) !important;
    padding: 16px 32px 24px;
    margin-top: 0;
    border-bottom: none;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero > .c-xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero .imob-search-hero-head {
    text-align: left !important;
    margin-bottom: 0;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero .imob-search-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 0 8px !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero .imob-search-sub {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    max-width: none !important;
    margin: 0 0 28px !important;
    line-height: 1.45;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-panel {
    background: var(--nx-surface) !important;
    background-image: none !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    padding: 32px !important;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-panel:hover {
    transform: none !important;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 16px;
    align-items: end;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-grid .imob-search-item,
html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-grid .imob-search-item:nth-child(n) {
    grid-column: auto;
}

html body :is(#produtos[data-imoveis="1"], #loja) :is(.imob-page-search-actions, .imob-oferta-filter-actions) {
    display: flex;
    align-items: flex-end;
    align-self: end;
    grid-column: auto;
    padding-bottom: 0;
}

@media (min-width: 440px) {
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-label {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    margin-bottom: 8px;
    gap: 8px;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-label i {
    color: var(--nx-muted) !important;
    opacity: 0.8;
    width: 14px;
    font-size: 14px;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-input,
html body :is(#produtos[data-imoveis="1"], #loja) .form-select.imob-search-input,
html body :is(#produtos[data-imoveis="1"], #loja) .form-control.imob-search-input {
    height: 50px !important;
    min-height: 50px !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 14px !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-input::placeholder,
html body :is(#produtos[data-imoveis="1"], #loja) .form-control.imob-search-input::placeholder {
    color: var(--nx-muted);
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-input:hover,
html body :is(#produtos[data-imoveis="1"], #loja) .form-select.imob-search-input:hover,
html body :is(#produtos[data-imoveis="1"], #loja) .form-control.imob-search-input:hover {
    border-color: color-mix(in srgb, var(--nx-text) 30%, var(--nx-line)) !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-input:focus,
html body :is(#produtos[data-imoveis="1"], #loja) .form-select.imob-search-input:focus,
html body :is(#produtos[data-imoveis="1"], #loja) .form-control.imob-search-input:focus {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
    background: var(--nx-surface) !important;
    box-shadow: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) :is(.imob-page-search-actions, .imob-oferta-filter-actions) .imob-search-action.imob-search-action--ghost {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: transparent !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    align-self: end;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) :is(.imob-page-search-actions, .imob-oferta-filter-actions) .imob-search-action.imob-search-action--ghost:hover {
    background: var(--nx-field) !important;
    border-color: var(--nx-line) !important;
    color: var(--nx-text) !important;
    transform: none !important;
    box-shadow: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) :is(.imob-page-search-actions, .imob-oferta-filter-actions) .imob-search-action.imob-search-action--ghost:focus-visible {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--nx-line);
    margin-top: 24px;
    padding-top: 20px;
    max-width: 100%;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters > label.form-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px 0 12px;
    margin: 0 !important;
    border: 1px solid var(--nx-line);
    border-radius: 999px;
    background: var(--nx-surface);
    cursor: pointer;
    font-family: 'DM Sans', 'Public Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--nx-text);
    float: none;
    transition: border-color 0.2s ease, background 0.2s ease, font-weight 0.2s ease;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters > label.form-check .form-check-input {
    margin: 0 !important;
    float: none;
    accent-color: var(--brand-secondary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters > label.form-check .form-check-label {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters > label.form-check:has(input:checked) {
    border-color: var(--brand-secondary);
    background: color-mix(in srgb, var(--brand-secondary) 12%, var(--nx-surface));
    font-weight: 600;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters > label.form-check:has(input:focus-visible) {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-listings-body > p.text-muted {
    font-size: 16px;
    color: var(--nx-muted) !important;
    padding: 48px 0;
    text-align: center;
    margin: 0;
}

@media (max-width: 899.98px) {
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero {
        padding: 8px 20px 16px;
    }

    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero .imob-search-title {
        font-size: 30px !important;
    }

    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-panel {
        padding: 20px !important;
    }

    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-grid {
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero,
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-hero *,
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-panel,
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-search-panel *,
    html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters,
    html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-amen-filters * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * IMÓVEIS — cards (:is(#produtos[data-imoveis="1"], #loja))
 * ============================================================================= */

html body :is(#produtos[data-imoveis="1"], #loja).imob-listings-section,
html body :is(#produtos[data-imoveis="1"], #loja) {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imob-listings-body,
html body :is(#produtos[data-imoveis="1"], #loja) .c-xl.imob-listings-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 32px 80px !important;
    background: transparent;
}

@media (min-width: 900px) {
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-listings-body,
    html body :is(#produtos[data-imoveis="1"], #loja) .c-xl.imob-listings-body {
        max-width: 1344px;
        padding: 32px 32px 80px !important;
    }
}

html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos).imoveis-grid,
html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos).cgrid,
html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 24px !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100%;
    align-items: stretch;
}

@media (max-width: 699.98px) {
    html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos).imoveis-grid,
    html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos).cgrid,
    html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

html body :is(#produtos[data-imoveis="1"], #loja) article.icard.imovel-card,
html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos) .icard.imovel-card {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(15, 28, 26, 0.04) !important;
    display: flex;
    flex-direction: column;
    transform: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) article.icard.imovel-card:hover,
html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos) .icard.imovel-card:hover {
    box-shadow: 0 16px 40px rgba(15, 28, 26, 0.1) !important;
    border-color: color-mix(in srgb, var(--nx-text) 18%, var(--nx-line)) !important;
    transform: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-img.imovel-card__media,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-img,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    height: auto !important;
    overflow: hidden !important;
    background: var(--nx-field);
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-img > [is="dmx-repeat"],
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-img > div:not(.icard-sold) {
    position: absolute;
    inset: 0;
    z-index: 0;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-img a {
    position: absolute;
    inset: 0;
    display: block;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-img img:not(.icard-wm),
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-img > img:not(.icard-wm) {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0;
    transition: none !important;
    transform: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card:hover .icard-img img:not(.icard-wm),
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card:hover .icard-img > img:not(.icard-wm) {
    transform: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-wm {
    z-index: 2;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-sold {
    z-index: 2;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-badge {
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    z-index: 3;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-body.imovel-card__body,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__body {
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0 !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
    width: 100%;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__price,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__video-pill {
    height: 32px;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transform: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__video-pill:hover {
    transform: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__title,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-title {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: var(--nx-text) !important;
    margin: 0 0 6px !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__addr,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-addr {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    color: var(--nx-muted) !important;
    margin: 0 0 16px !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__addr i,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-addr i {
    color: var(--nx-muted) !important;
    opacity: 0.8;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__attrs,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    border-top: 1px solid var(--nx-line) !important;
    border-bottom: none !important;
    padding: 16px 0 0 !important;
    margin: 0 0 20px !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .iattr {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    color: var(--nx-text) !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .iattr i {
    color: var(--nx-muted) !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    border-top: none;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions .bcwpp,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions .bcview,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions .bcwpp,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions .bcview {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none !important;
    transform: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions .bcwpp:hover,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions .bcview:hover,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions .bcwpp:hover,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions .bcview:hover {
    transform: none !important;
    box-shadow: none !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions .bcview,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions .bcview {
    background: var(--nx-field) !important;
    border: 1px solid var(--nx-line) !important;
    color: var(--nx-text) !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions .bcview:hover,
html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions .bcview:hover {
    background: var(--nx-line) !important;
    color: var(--nx-text) !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .icard :is(button, a):focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
}

@media (max-width: 379.98px) {
    html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .imovel-card__actions,
    html body :is(#produtos[data-imoveis="1"], #loja) .icard.imovel-card .icard-actions {
        grid-template-columns: 1fr;
    }
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-pager-info {
    font-size: 15px;
    color: var(--nx-muted);
}

html body :is(#produtos[data-imoveis="1"], #loja) .imoveis-pager .imob-search-action.imob-search-action--ghost {
    height: 50px !important;
    min-height: 44px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: transparent !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 899.98px) {
    html body :is(#produtos[data-imoveis="1"], #loja) .imob-listings-body,
    html body :is(#produtos[data-imoveis="1"], #loja) .c-xl.imob-listings-body {
        padding: 24px 20px 56px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body :is(#produtos[data-imoveis="1"], #loja) article.icard.imovel-card,
    html body :is(#produtos[data-imoveis="1"], #loja) article.icard.imovel-card *,
    html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos) .icard.imovel-card,
    html body :is(#produtos[data-imoveis="1"], #loja) :is(#repeat_imoveis_produtos, #repeat_loja_produtos) .icard.imovel-card * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * LOJA / OFERTAS — seção, cabeçalho e filtros
 * Específicos da Loja (.loja-card__*, .js-loja-*, sacola) ficam só em #loja.
 * ============================================================================= */

html body :is(#loja, #ofertas, #ofertas1, #ofertas2),
html body #loja.imob-listings-section,
html body :is(#ofertas, #ofertas1, #ofertas2).imob-ofertas-section,
html body #ofertas2.imob-ofertas-section--alt {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: none !important;
}

html body #loja.imob-listings-section .imob-listings-body,
html body #loja.imob-listings-section .c-xl.imob-listings-body,
html body #loja .imob-listings-body {
    padding-top: 0 !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) > .c-xl {
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 32px 80px !important;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-section-head {
    text-align: left;
    margin: 0 0 24px;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-section-head .eyebrow {
    display: none !important;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-results-title,
html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-section-head .sec-title,
html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-section-head .sec-title.imob-results-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel {
    display: flex !important;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--nx-surface) !important;
    background-image: none !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    padding: 24px 32px !important;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
    max-width: none !important;
    margin: 0 0 32px !important;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-field {
    flex: 0 1 360px;
    min-width: 220px;
    margin: 0;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel .imob-search-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    text-align: left;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel .imob-search-label i {
    color: var(--nx-muted) !important;
    opacity: 0.8;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel .imob-search-input,
html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel select.form-select,
html body #loja .imob-oferta-filter-panel #select_loja_categoria.imob-search-input {
    height: 50px !important;
    min-height: 50px !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 14px !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
    width: 100%;
    max-width: none;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel .imob-search-input:focus,
html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel select.form-select:focus,
html body #loja .imob-oferta-filter-panel #select_loja_categoria.imob-search-input:focus {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
    background: var(--nx-surface) !important;
    box-shadow: none !important;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-actions {
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

/* Limpar — reforço ghost 50px (Ofertas não entra no :is Imóveis+#loja) */
html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-actions .imob-search-action.imob-search-action--ghost {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: transparent !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-actions .imob-search-action.imob-search-action--ghost:hover {
    background: var(--nx-field) !important;
    border-color: var(--nx-line) !important;
    color: var(--nx-text) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Produto sem foto — sacola FA (só Loja) */
html body #loja .icard.imovel-card .icard-img:not(:has(img[src]:not([src=""])))::after {
    content: "\f290";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 40px;
    color: var(--nx-muted);
    opacity: 0.45;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

html body #loja .loja-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
    width: 100%;
}

html body #loja .loja-card__video-pill {
    height: 32px;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transform: none !important;
}

html body #loja .loja-card__video-pill:hover {
    transform: none !important;
}

html body #loja #repeat_loja_produtos .icard.imovel-card p.cdesc,
html body #loja .icard.imovel-card p.cdesc {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: var(--nx-muted) !important;
    margin: 0 0 20px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html body #loja #repeat_loja_produtos .icard.imovel-card .imovel-card__actions .bcview.js-loja-add,
html body #loja #repeat_loja_produtos .icard.imovel-card .imovel-card__actions .bcview.js-loja-consultar,
html body #loja #repeat_loja_produtos .icard.imovel-card .icard-actions .bcview.js-loja-add,
html body #loja #repeat_loja_produtos .icard.imovel-card .icard-actions .bcview.js-loja-consultar {
    background: var(--brand-secondary) !important;
    color: var(--brand-on-secondary, #fff) !important;
    border: 1px solid transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

html body #loja #repeat_loja_produtos .icard.imovel-card .imovel-card__actions .bcview.js-loja-add:hover,
html body #loja #repeat_loja_produtos .icard.imovel-card .imovel-card__actions .bcview.js-loja-consultar:hover,
html body #loja #repeat_loja_produtos .icard.imovel-card .icard-actions .bcview.js-loja-add:hover,
html body #loja #repeat_loja_produtos .icard.imovel-card .icard-actions .bcview.js-loja-consultar:hover {
    filter: brightness(0.95);
    transform: none !important;
    box-shadow: none !important;
    background: var(--brand-secondary) !important;
    color: var(--brand-on-secondary, #fff) !important;
}

/* Detalhes: reforço cinza (vence loja_landing brand-lt) */
html body #loja #repeat_loja_produtos .icard.imovel-card .imovel-card__actions .bcview:not(.js-loja-add):not(.js-loja-consultar),
html body #loja #repeat_loja_produtos .icard.imovel-card .icard-actions .bcview:not(.js-loja-add):not(.js-loja-consultar) {
    background: var(--nx-field) !important;
    border: 1px solid var(--nx-line) !important;
    color: var(--nx-text) !important;
}

html body #loja #repeat_loja_produtos .icard.imovel-card .imovel-card__actions .bcview:not(.js-loja-add):not(.js-loja-consultar):hover,
html body #loja #repeat_loja_produtos .icard.imovel-card .icard-actions .bcview:not(.js-loja-add):not(.js-loja-consultar):hover {
    background: var(--nx-line) !important;
    color: var(--nx-text) !important;
}

@media (max-width: 899.98px) {
    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-results-title,
    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-section-head .sec-title,
    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-section-head .sec-title.imob-results-title {
        font-size: 30px !important;
    }

    html body :is(#ofertas, #ofertas1, #ofertas2) > .c-xl {
        padding: 0 20px 56px !important;
    }

    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-panel {
        padding: 20px !important;
        align-items: stretch !important;
        flex-direction: column;
    }

    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-field {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        text-align: left !important;
        margin: 0 !important;
    }

    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-field .imob-search-input,
    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-field select.form-select,
    html body #loja .imob-oferta-filter-field #select_loja_categoria {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-actions {
        align-self: stretch !important;
        width: 100% !important;
        margin-left: 0 !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* Loja: só Limpar — ocupa a linha inteira */
    html body #loja .imob-oferta-filter-actions {
        grid-template-columns: 1fr;
    }

    html body #loja .imob-oferta-filter-actions .imob-search-action.imob-search-action--ghost {
        width: 100% !important;
    }

    html body :is(#ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-actions .imob-search-action {
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body :is(#loja, #ofertas, #ofertas1, #ofertas2),
    html body :is(#loja, #ofertas, #ofertas1, #ofertas2) * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * OFERTAS — cards (#ofertas / #ofertas1 / #ofertas2)
 * ============================================================================= */

html body :is(#ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-actions .imob-search-action.imob-search-action--star {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: transparent !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .imob-oferta-filter-actions .imob-search-action.imob-search-action--star.active {
    border-color: var(--brand-secondary) !important;
    background: color-mix(in srgb, var(--brand-secondary) 12%, var(--nx-surface)) !important;
    color: var(--nx-text) !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .ofertas-grid,
html body :is(#ofertas, #ofertas1, #ofertas2) #repeat_ofertas.ofertas-grid,
html body :is(#ofertas, #ofertas1, #ofertas2) #repeat_ofertas_2.ofertas-grid,
html body :is(#ofertas, #ofertas1, #ofertas2) .cgrid-of.ofertas-grid,
html body :is(#repeat_ofertas, #repeat_ofertas_2).ofertas-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 24px !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100%;
    align-items: stretch;
}

@media (max-width: 699.98px) {
    html body :is(#ofertas, #ofertas1, #ofertas2) .ofertas-grid,
    html body :is(#ofertas, #ofertas1, #ofertas2) #repeat_ofertas.ofertas-grid,
    html body :is(#ofertas, #ofertas1, #ofertas2) #repeat_ofertas_2.ofertas-grid,
    html body :is(#ofertas, #ofertas1, #ofertas2) .cgrid-of.ofertas-grid,
    html body :is(#repeat_ofertas, #repeat_ofertas_2).ofertas-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

html body :is(#ofertas, #ofertas1, #ofertas2) article.citem.oferta-card,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(15, 28, 26, 0.04) !important;
    display: flex;
    flex-direction: column;
    transform: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) article.citem.oferta-card:hover,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card:hover {
    box-shadow: 0 16px 40px rgba(15, 28, 26, 0.1) !important;
    border-color: color-mix(in srgb, var(--nx-text) 18%, var(--nx-line)) !important;
    transform: none !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cimg.oferta-card__media,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cimg,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .cimg.oferta-card__media,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .cimg {
    position: relative;
    aspect-ratio: 4 / 3;
    height: auto !important;
    overflow: hidden !important;
    background: var(--nx-field);
    width: 100% !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cimg > a[dmx-lightbox],
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .cimg > a {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 0;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cimg img,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .cimg img:not(.icard-wm),
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .oferta-card__media img:not(.icard-wm) {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0;
    transition: none !important;
    transform: none !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card:hover .cimg img,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card:hover .cimg img {
    transform: none !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cimg:not(:has(img[src]:not([src=""])))::after {
    content: "\f02b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 40px;
    color: var(--nx-muted);
    opacity: 0.45;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cbadge,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__badge,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .cbadge,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .oferta-card__badge {
    position: absolute;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    bottom: auto !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    max-width: calc(100% - 120px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 3;
}

/* Like: topo-direita — zera left/bottom antigos (base L1468–1471) */
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__like {
    position: absolute;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto;
    max-width: none;
    height: 36px;
    min-width: 36px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(15, 28, 26, 0.55) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
    transform: none !important;
    box-shadow: none;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__like:hover {
    background: rgba(15, 28, 26, 0.7) !important;
    transform: none !important;
}

/* Curtido: preservar #ff6b6b (landing-base L1487–1489 + classList em ofertas_curtir.js) */
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__like.is-liked,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__like.is-liked i {
    color: #ff6b6b !important;
}

/* Estrela: canto inferior esquerdo — ícone dourado #fbbf24 (landing-base .cstar L1603) */
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cstar,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__star {
    position: absolute;
    left: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    right: auto !important;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: rgba(15, 28, 26, 0.55) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #fbbf24 !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cstar i,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__star i {
    color: #fbbf24 !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cbody.oferta-card__body,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cbody,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__body {
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0 !important;
    text-align: left !important;
    align-items: stretch !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cprice,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__price,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .cprice,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .oferta-card__price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    margin: 0 0 8px !important;
    text-align: left !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .ctitle,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__title,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .ctitle,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .oferta-card__title {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: var(--nx-text) !important;
    margin: 0 0 6px !important;
    text-align: left !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .cdesc,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__desc {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: var(--nx-muted) !important;
    margin: 0 0 20px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__action {
    margin-top: auto;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .bcwpp-full.oferta-card__btn,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__btn,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .bcwpp-full,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .oferta-card__btn {
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none !important;
    transform: none !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .bcwpp-full.oferta-card__btn:hover,
html body :is(#ofertas, #ofertas1, #ofertas2) .citem.oferta-card .oferta-card__btn:hover,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .bcwpp-full:hover,
html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card .oferta-card__btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

html body :is(#ofertas, #ofertas1, #ofertas2) .oferta-card :is(a, button):focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html body :is(#ofertas, #ofertas1, #ofertas2) article.citem.oferta-card,
    html body :is(#ofertas, #ofertas1, #ofertas2) article.citem.oferta-card *,
    html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card,
    html body :is(#repeat_ofertas, #repeat_ofertas_2) .citem.oferta-card * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * HOSP — ACOMODAÇÕES (#produtos sem data-imoveis; clássico + data-rhosp="1")
 * Não casa com #produtos[data-imoveis="1"] do imob.
 * ============================================================================= */

html body #produtos.imob-listings-section:not([data-imoveis="1"]) {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-hero,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-hero {
    background: var(--nx-bg) !important;
    padding: 16px 0 24px !important;
    margin: 0 !important;
    border-bottom: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-hero > .c-xl,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) > .c-xl.imob-listings-body {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    box-sizing: border-box;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) > .c-xl.imob-listings-body {
    padding-top: 8px !important;
    padding-bottom: 80px !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-hero-head {
    text-align: left !important;
    margin: 0 0 28px !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    text-transform: none !important;
    margin: 0 0 8px !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-sub {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    max-width: none !important;
    margin: 0 !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-panel,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-panel,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) #pesquisas_prod.imob-search-panel {
    background: var(--nx-surface) !important;
    background-image: none !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    padding: 24px 32px !important;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-panel:hover,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-panel:hover {
    transform: none !important;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-label {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    margin-bottom: 8px;
    gap: 8px;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-label i {
    color: var(--nx-muted) !important;
    opacity: 0.85;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-input,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .form-select.imob-search-input,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .form-control.imob-search-input {
    height: 50px !important;
    min-height: 50px !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 14px !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-input:focus,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .form-select.imob-search-input:focus,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .form-control.imob-search-input:focus {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
    background: var(--nx-surface) !important;
    box-shadow: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-actions .imob-search-action.imob-search-action--ghost,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-pager .imob-search-action.imob-search-action--ghost {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: transparent !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-actions .imob-search-action.imob-search-action--ghost:hover,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-pager .imob-search-action.imob-search-action--ghost:hover {
    background: var(--nx-field) !important;
    border-color: var(--nx-line) !important;
    color: var(--nx-text) !important;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-actions .imob-search-action.imob-search-action--star {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-actions .imob-search-action.imob-search-action--star.active {
    background: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    border-color: var(--brand-secondary) !important;
    color: var(--brand-secondary) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-amen-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    border-top: 1px solid var(--nx-line) !important;
    margin-top: 20px !important;
    padding-top: 18px !important;
    max-width: 100%;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-amen-filters > label.form-check {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px 0 10px;
    margin: 0 !important;
    border: 1px solid var(--nx-line);
    border-radius: 999px;
    background: var(--nx-field);
    color: var(--nx-text);
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-amen-filters .form-check-label {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-amen-filters .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0 !important;
    flex-shrink: 0;
    border-radius: 5px;
    border: 1px solid var(--nx-line);
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-amen-filters .form-check-input:checked {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-amen-filters .form-check-input:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-secondary) 22%, transparent);
    outline: none;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-acom-grid,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) #repeat_produtos.hosp-acom-grid,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) #repeat_rhosp_produtos.hosp-acom-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: stretch !important;
}

@media (min-width: 700px) {
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-acom-grid,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) #repeat_produtos.hosp-acom-grid,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) #repeat_rhosp_produtos.hosp-acom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1100px) {
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-acom-grid,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) #repeat_produtos.hosp-acom-grid,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) #repeat_rhosp_produtos.hosp-acom-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard:hover {
    transform: none !important;
    border-color: color-mix(in srgb, var(--nx-text) 18%, var(--nx-line)) !important;
    box-shadow:
        0 2px 4px rgba(15, 28, 26, 0.06),
        0 16px 40px rgba(15, 28, 26, 0.1) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-img {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 10 !important;
    background: var(--nx-field);
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard:hover .hcard-img img {
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-badge {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 2;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    background-color: var(--brand-secondary) !important;
    color: var(--brand-on-secondary, #fff) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 12px rgba(15, 28, 26, 0.16) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-city {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: rgba(15, 28, 26, 0.55) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-star {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 2;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fbbf24 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-body {
    padding: 20px 24px 24px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-title-row,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-title-row--video {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100%;
}

/* Spec ≥ theme L1047 (2 IDs + article.hcard) — vence font-weight 600 / body font */
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-title,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-title-row .hcard-title,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-title-row--video .hcard-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-desc {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .rhosp-amen-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
}

/* Spec ≥ theme L1075–1083 (lt-p-s / brand tint) */
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .rhosp-amen-chips .rhosp-chip,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .rhosp-chip {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: var(--nx-field) !important;
    border: 1px solid var(--nx-line) !important;
    color: var(--nx-text) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .rhosp-amen-chips .rhosp-chip i,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .rhosp-chip i {
    color: var(--nx-muted) !important;
}

/* Spec ≥ theme L1060 (26px / --lt-p azul da marca) */
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    color: var(--nx-text) !important;
    padding: 14px 0 0 !important;
    margin: 0 !important;
    border-top: 1px solid var(--nx-line) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-price .rhosp-price-unit,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .rhosp-price-unit {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--nx-muted) !important;
    opacity: 1 !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-actions {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    margin-top: auto !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-actions .bcwpp {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: none !important;
    background: var(--wpp) !important;
    color: #fff !important;
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-actions .bcwpp:hover {
    background: var(--wpp) !important;
    filter: brightness(0.96);
    transform: none !important;
    box-shadow: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-actions .bcview {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: transparent !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-actions .bcview:hover {
    background: var(--nx-field) !important;
    border-color: var(--nx-line) !important;
    color: var(--nx-text) !important;
    transform: none !important;
}

/* Legado hosp.css L581: var(--brand-primary); amarelo = cor_secundária do tenant via --brand-secondary */
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-body .hcard-video-pill,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-video-pill {
    background: var(--brand-secondary) !important;
    color: var(--brand-on-secondary, #fff) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-body .hcard-video-pill:hover,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-video-pill:hover {
    opacity: 0.92;
    transform: none !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-pager {
    margin-top: 28px !important;
    gap: 14px !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .rhosp-pager-info {
    font-family: 'DM Sans', 'Public Sans', sans-serif !important;
    font-size: 14px !important;
    color: var(--nx-muted) !important;
}

html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard :is(a, button):focus-visible,
html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-action:focus-visible {
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
}

/*
 * Grade filtros mobile/tablet — sobrescreve hosp.css L399–409
 * (nth-child 1 e 3 em 1/-1 + 2 cols → Tipo sozinho 50%, Check-out+Adultos, Crianças 50%).
 * Desktop ≥1100px: sem alteração (fica hosp.css).
 */
@media (max-width: 767.98px) {
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-hero > .c-xl,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) > .c-xl.imob-listings-body {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-title {
        font-size: 30px !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-sub {
        font-size: 14px !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .imob-search-panel,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-panel,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) #pesquisas_prod.imob-search-panel {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-grid.imob-search-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* Anula spans nth-child(1)/(3) do hosp.css */
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-grid .imob-search-item,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-grid .imob-search-item--wide,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-grid .imob-search-item:nth-child(n) {
        grid-column: auto !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-actions {
        grid-column: 1 / -1 !important;
        flex-direction: column;
        gap: 8px;
    }

    /* rhosp: Destino + Tipo 100%; pares Check-in/out e Adultos/Crianças 50/50 */
    html body #produtos.imob-listings-section:not([data-imoveis="1"])[data-rhosp="1"] .hosp-search-grid > .imob-search-item:nth-child(1),
    html body #produtos.imob-listings-section:not([data-imoveis="1"])[data-rhosp="1"] .hosp-search-grid > .imob-search-item:nth-child(2) {
        grid-column: 1 / -1 !important;
    }

    /* clássico (sem datas): cada campo de filtro ocupa a linha (evita Tipo/Nome pela metade) */
    html body #produtos.imob-listings-section:not([data-imoveis="1"]):not([data-rhosp="1"]) .hosp-search-grid > .imob-search-item {
        grid-column: 1 / -1 !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-body {
        padding: 18px 18px 20px !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hcard .hcard-actions {
        grid-template-columns: 1fr !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) :is(#repeat_rhosp_produtos, #repeat_produtos) article.hcard .hcard-price {
        font-size: 20px !important;
    }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-grid.imob-search-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-grid .imob-search-item,
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-grid .imob-search-item:nth-child(n) {
        grid-column: auto !important;
    }

    html body #produtos.imob-listings-section:not([data-imoveis="1"]) .hosp-search-actions {
        grid-column: 1 / -1 !important;
    }

    /* clássico: Nome (3º item) sozinho → linha cheia */
    html body #produtos.imob-listings-section:not([data-imoveis="1"]):not([data-rhosp="1"]) .hosp-search-grid > .imob-search-item:nth-child(3) {
        grid-column: 1 / -1 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #produtos.imob-listings-section:not([data-imoveis="1"]),
    html body #produtos.imob-listings-section:not([data-imoveis="1"]) * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * GALERIA — #galeria / #swiper_galeria / .gslide
 * ============================================================================= */

html body #galeria {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 0 80px !important;
    border-top: none !important;
}

html body #galeria > .c-xl {
    max-width: 1344px;
    margin: 0 auto 24px !important;
    padding: 0 32px;
}

html body #galeria .sec-hd {
    text-align: left !important;
    margin: 0 !important;
}

html body #galeria .sec-hd .eyebrow,
html body #galeria .sec-hd .eyebrow.mt-xxl-3 {
    display: none !important;
}

html body #galeria .sec-hd .sec-title,
html body #galeria .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body #galeria > div:not(.c-xl) {
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 32px !important;
    position: relative;
    box-sizing: border-box;
}

html body #galeria #swiper_galeria {
    overflow: hidden;
    border-radius: 28px;
}

html body #galeria #swiper_galeria .swiper-slide.gslide,
html body #galeria .swiper-slide.gslide {
    padding: 0 !important;
    height: auto;
}

html body #galeria .gslide a,
html body #galeria #swiper_galeria .gslide a {
    display: block;
    border-radius: 28px !important;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    height: auto !important;
    background: var(--nx-field);
}

html body #galeria .gslide img,
html body #galeria #swiper_galeria .gslide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 0 !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}

html body #galeria .gslide:hover img,
html body #galeria #swiper_galeria .gslide:hover img {
    transform: none !important;
}

/* navigation="true" no markup → Swiper gera .swiper-button-prev/next */
html body #galeria #swiper_galeria .swiper-button-prev,
html body #galeria #swiper_galeria .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid var(--nx-line);
    box-shadow: 0 4px 14px rgba(15, 28, 26, 0.15);
    top: 50%;
}

html body #galeria #swiper_galeria .swiper-button-prev {
    left: 12px;
}

html body #galeria #swiper_galeria .swiper-button-next {
    right: 12px;
}

html body #galeria #swiper_galeria .swiper-button-prev::after,
html body #galeria #swiper_galeria .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
    color: var(--nx-text) !important;
}

html body #galeria #swiper_galeria .swiper-button-prev:hover,
html body #galeria #swiper_galeria .swiper-button-next:hover {
    background: var(--brand-secondary) !important;
}

html body #galeria #swiper_galeria .swiper-button-prev:hover::after,
html body #galeria #swiper_galeria .swiper-button-next:hover::after {
    color: var(--brand-on-secondary, #fff) !important;
}

html body #galeria #swiper_galeria .swiper-button-disabled {
    opacity: 0.35;
}

html body #galeria #swiper_galeria .swiper-button-prev:focus-visible,
html body #galeria #swiper_galeria .swiper-button-next:focus-visible,
html body #galeria #swiper_galeria .gslide a:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
}

html body #galeria #swiper_galeria .swiper-pagination {
    position: relative;
    margin-top: 16px;
    bottom: auto;
}

html body #galeria #swiper_galeria .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--nx-line) !important;
    opacity: 1;
}

html body #galeria #swiper_galeria .swiper-pagination-bullet-active {
    background: var(--swiper-theme-color, var(--brand-secondary)) !important;
    width: 24px;
    border-radius: 999px;
    transition: width 0.2s ease;
}

@media (max-width: 899.98px) {
    html body #galeria {
        padding: 0 0 56px !important;
    }

    html body #galeria > .c-xl {
        padding: 0 20px;
    }

    html body #galeria .sec-hd .sec-title,
    html body #galeria .sec-title {
        font-size: 30px !important;
    }

    html body #galeria > div:not(.c-xl) {
        padding: 0 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #galeria #swiper_galeria .swiper-pagination-bullet-active {
        transition-duration: 0.01ms !important;
    }

    html body #galeria,
    html body #galeria * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * A) Fundo da página — páginas com #navbar-main (imob + hosp + lp)
 * ============================================================================= */

html body:has(#navbar-main) {
    background: var(--nx-bg) !important;
}

/* =============================================================================
 * BANNER SLIDER — #banner_slider (entre FAQ e Mapa na página)
 * Nota: no arquivo o bloco fica imediatamente antes do MAPA; o FAQ no CSS
 * está depois do MAPA (ordem histórica dos passos).
 * ============================================================================= */

html body #banner_slider {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    /* pb 48: #maps tem padding-top 0 → gap até o título ≥ 48px */
    padding: 32px 0 48px !important;
    border: none !important;
    cursor: pointer;
}

html body #banner_slider > .c-lg {
    max-width: 1344px !important;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

html body #banner_slider .banner-slider-card {
    width: 100%;
    border-radius: 28px !important;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
    aspect-ratio: 1000 / 400;
    max-height: 480px;
    border: 1px solid var(--nx-line);
    background: var(--nx-field);
}

html body #banner_slider .banner-slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    transition: none;
    transform: none;
}

html body #banner_slider .banner-slider-card img:hover {
    transform: none;
}

@media (max-width: 899.98px) {
    html body #banner_slider {
        padding: 24px 0 48px !important;
    }

    html body #banner_slider > .c-lg {
        padding: 0 20px;
    }

    html body #banner_slider .banner-slider-card {
        border-radius: 24px !important;
        aspect-ratio: 2 / 1;
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #banner_slider,
    html body #banner_slider .banner-slider-card,
    html body #banner_slider .banner-slider-card img {
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * MAPA — #maps / .mapw / #view1
 * ============================================================================= */

html body #maps {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 0 80px !important;
    border-top: none !important;
}

html body #maps > .c-lg {
    max-width: 1344px !important;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

html body #maps .sec-hd {
    text-align: left !important;
    margin: 0 0 24px !important;
}

html body #maps .sec-hd .eyebrow,
html body #maps .sec-hd .eyebrow.mt-xxl-3 {
    display: none !important;
}

html body #maps .sec-hd .sec-title,
html body #maps .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body #maps .mapw,
html body #maps #view1.mapw,
html body #maps #view1 {
    display: block !important;
    width: 100% !important;
    max-width: none;
    height: 440px;
    border-radius: 28px !important;
    overflow: hidden !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-field);
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
    transform: none !important;
    position: relative;
    justify-content: normal !important;
}

html body #maps .mapw iframe,
html body #maps .mapw > *,
html body #maps #view1 iframe,
html body #maps #view1 > * {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    border: 0 !important;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body #maps .mapw > div,
html body #maps .mapw p,
html body #maps #view1 > div,
html body #maps #view1 p {
    height: 100%;
    margin: 0;
}

@media (max-width: 899.98px) {
    html body #maps {
        padding: 0 0 56px !important;
    }

    html body #maps > .c-lg {
        padding: 0 20px;
    }

    html body #maps .sec-hd .sec-title,
    html body #maps .sec-title {
        font-size: 30px !important;
    }

    html body #maps .mapw,
    html body #maps #view1.mapw,
    html body #maps #view1 {
        height: 320px;
    }
}

/* =============================================================================
 * FAQ — #perguntas_frequentes / #accordionFAQ
 * ============================================================================= */

html body #perguntas_frequentes {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 56px 0 80px !important;
    border: none !important;
}

html body #perguntas_frequentes > .c-md {
    max-width: 1344px !important;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

html body #perguntas_frequentes .sec-hd {
    text-align: left !important;
    margin: 0 !important;
}

html body #perguntas_frequentes .sec-hd .eyebrow,
html body #perguntas_frequentes .sec-hd .eyebrow.mt-xxl-3 {
    display: none !important;
}

html body #perguntas_frequentes .sec-hd .sec-title,
html body #perguntas_frequentes .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
}

html body #perguntas_frequentes .accordion,
html body #perguntas_frequentes #accordionFAQ.accordion {
    max-width: none;
    width: 100%;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
}

html body #perguntas_frequentes .accordion-item {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: none !important;
    margin: 0 !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

html body #perguntas_frequentes .accordion-item:has(.accordion-button:not(.collapsed)),
html body #perguntas_frequentes .accordion-item.show {
    border-color: var(--brand-secondary) !important;
    box-shadow: none !important;
}

html body #perguntas_frequentes .accordion-header,
html body #perguntas_frequentes .accordion-collapse {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body #perguntas_frequentes .accordion-button {
    padding: 20px 24px !important;
    min-height: 64px;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: var(--nx-text) !important;
    text-transform: none !important;
    text-align: left !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 16px;
    border-radius: 0 !important;
}

html body #perguntas_frequentes .accordion-button:not(.collapsed) {
    background: transparent !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
}

html body #perguntas_frequentes .accordion-button::after {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    background-image: none !important;
    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    mask-size: 20px;
    -webkit-mask-size: 20px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    background-color: var(--nx-text) !important;
    opacity: 0.7;
}

html body #perguntas_frequentes .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}

html body #perguntas_frequentes .accordion-button.collapsed::after {
    transform: none !important;
}

html body #perguntas_frequentes .accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

html body #perguntas_frequentes .accordion-button:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: -2px;
}

html body #perguntas_frequentes .accordion-body {
    padding: 0 24px 24px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    border-top: none !important;
}

@media (min-width: 1000px) {
    html body #perguntas_frequentes > .c-md {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: 64px;
        gap: 0;
        align-items: start;
    }

    html body #perguntas_frequentes .sec-hd {
        position: sticky;
        top: 112px;
    }

    html body #perguntas_frequentes .accordion,
    html body #perguntas_frequentes #accordionFAQ.accordion {
        max-width: 760px;
    }
}

@media (max-width: 899.98px) {
    html body #perguntas_frequentes {
        padding: 40px 0 56px !important;
    }

    html body #perguntas_frequentes > .c-md {
        padding: 0 20px;
    }

    html body #perguntas_frequentes .sec-hd .sec-title,
    html body #perguntas_frequentes .sec-title {
        font-size: 30px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #perguntas_frequentes .accordion-item {
        transition-duration: 0.01ms !important;
    }

    html body #perguntas_frequentes .accordion-collapse,
    html body #perguntas_frequentes .collapsing,
    html body #perguntas_frequentes .accordion-button::after {
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * CTA — #CTA / .cta / .cta-title / .btn-white
 * NÃO altera background / background-image / ::before do degradê+círculos.
 * ============================================================================= */

html body #CTA {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 32px 0 24px !important;
    border: none !important;
}

html body #CTA > .c-lg {
    max-width: 1344px !important;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

html body #CTA .cta {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 32px !important;
    overflow: hidden;
    padding: 64px 48px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
    position: relative;
    box-shadow: none !important;
}

html body #CTA .cta-title {
    max-width: 880px;
    margin: 0 auto !important;
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: clamp(28px, 3.4vw, 44px) !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: #fff;
    text-align: center !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    position: relative;
}

html body #CTA .cta-title :is(span, font, p, div, h1, h2, h3, h4, strong, b, em, i, u, a) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: center !important;
    text-transform: none !important;
    letter-spacing: inherit !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

html body #CTA .cta-title :is(p, div, h1, h2, h3, h4) {
    margin: 0 !important;
}

/* Legibilidade: título todo branco; marca-texto do editor anulado */
html body #CTA .cta-title,
html body #CTA .cta-title :is(p, div, span, font, strong, b, em, i, u, a, h1, h2, h3, h4, mark) {
    color: #fff !important;
}

html body #CTA .cta-title :is(p, div, span, font, strong, b, em, i, u, a, mark, h1, h2, h3, h4) {
    background: transparent !important;
    background-color: transparent !important;
}

html body #CTA .btn-white {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 24px !important;
    border-radius: 16px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: none !important;
    transform: none !important;
}

html body #CTA .btn-white:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.97);
}

html body #CTA .btn-white:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 899.98px) {
    html body #CTA {
        padding: 24px 0 16px !important;
    }

    html body #CTA > .c-lg {
        padding: 0 20px;
    }

    html body #CTA .cta {
        border-radius: 28px !important;
        padding: 40px 24px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #CTA .cta,
    html body #CTA .btn-white,
    html body #CTA .btn-white:hover {
        transition-duration: 0.01ms !important;
        filter: none !important;
    }
}

/* =============================================================================
 * VÍDEO — #video / .ytwrap / .yt-fallback
 * ============================================================================= */

html body #video {
    background: var(--nx-bg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 32px 0 24px !important;
    border: none !important;
}

html body #video > .c-xl {
    max-width: 1344px !important;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

html body #video .sec-hd {
    text-align: left !important;
    margin: 0 0 24px !important;
    display: block;
}

html body #video .sec-hd .eyebrow,
html body #video .sec-hd .eyebrow.mt-xxl-3,
html body #video .eyebrow {
    display: none !important;
}

html body #video .sec-hd .sec-title,
html body #video .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
    text-transform: none !important;
    max-width: 880px;
}

html body #video .ytwrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    position: relative;
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06) !important;
    aspect-ratio: 16 / 9;
    background: var(--nx-field);
    border: 1px solid var(--nx-line);
}

/* Mantém fill do .ratio + wrapper dmx-if (landing-premium.css L856–869) */
html body #video .ytwrap > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

html body #video .ytwrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0 !important;
    display: block;
}

html body #video .yt-fallback {
    background: var(--nx-field) !important;
    color: var(--nx-muted) !important;
    border-radius: 0;
    gap: 12px;
}

html body #video .yt-fallback__icon {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px;
    min-height: 76px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

html body #video .yt-fallback__text {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--nx-muted) !important;
    margin: 0;
}

html body #video iframe:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

@media (max-width: 899.98px) {
    html body #video {
        padding: 24px 0 16px !important;
    }

    html body #video > .c-xl {
        padding: 0 20px;
    }

    html body #video .sec-hd .sec-title,
    html body #video .sec-title {
        font-size: 30px !important;
    }

    html body #video .ytwrap {
        border-radius: 24px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #video,
    html body #video .ytwrap,
    html body #video .yt-fallback {
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * SOBRE NÓS + BLOCO 3 — #sobre_nos / #bloco3
 * #sobre_nos: fundo só via dmx-style cor_primaria (NÃO declarar background).
 * ============================================================================= */

html body :is(#sobre_nos, #bloco3) {
    width: calc(100% - 64px) !important;
    max-width: 1280px !important;
    margin: 32px auto 0 !important;
    border-radius: 32px !important;
    overflow: hidden;
    box-sizing: border-box;
    padding: 64px 56px !important;
    box-shadow: none;
}

html body #bloco3 {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line);
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.04),
        0 12px 32px rgba(15, 28, 26, 0.06);
    padding: 48px 56px !important;
    margin-bottom: 48px !important;
}

html body :is(#sobre_nos, #bloco3) .container.wappler-block,
html body :is(#sobre_nos, #bloco3) .wappler-block,
html body :is(#sobre_nos, #bloco3) .container {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0 !important;
}

html body #bloco3 .container > div,
html body #bloco3 .wappler-block > div {
    width: 100%;
}

html body :is(#sobre_nos, #bloco3) .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 56px !important;
    align-items: center;
    --bs-gutter-x: 0;
    margin: 0 !important;
    justify-content: normal;
}

html body :is(#sobre_nos, #bloco3) .row > [class*="col"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html body :is(#sobre_nos, #bloco3) .row > [class*="col"].text-center {
    text-align: left !important;
}

html body :is(#sobre_nos, #bloco3) .row > [class*="col"]:has(> h4),
html body :is(#sobre_nos, #bloco3) .col.align-self-center:has(> h4),
html body :is(#sobre_nos, #bloco3) .row > [class*="col"].text-center > .col.align-self-center {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 24px;
    text-align: left !important;
    min-width: 0 !important;
}

html body :is(#sobre_nos, #bloco3) h4 {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
    margin: 0 !important;
}

html body :is(#sobre_nos, #bloco3) h4 :is(span, font, p, div, strong, b, em, i, u, li, h1, h2, h3, h5, h6) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
    text-transform: none !important;
}

html body :is(#sobre_nos, #bloco3) h4 :is(p, div, ul, ol) {
    margin: 0 0 12px !important;
}

html body :is(#sobre_nos, #bloco3) h4 :is(p, div, ul, ol):last-child {
    margin: 0 !important;
}

html body #bloco3 h4,
html body #bloco3 h4 :is(p, span, font, strong, b, em, i, u, li, div) {
    color: var(--nx-text) !important;
}

html body #bloco3 h4 a {
    text-decoration: underline;
}

html body :is(#sobre_nos, #bloco3) h4 :is(span, font, p, div, strong, b, em, i, u, li, mark, a, h1, h2, h3, h5, h6) {
    background: transparent !important;
    background-color: transparent !important;
}

html body :is(#sobre_nos, #bloco3) a.btn {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 28px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
}

html body :is(#sobre_nos, #bloco3) a.btn:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.97);
}

html body #sobre_nos a.btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

html body #bloco3 a.btn:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

html body :is(#sobre_nos, #bloco3) img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    max-height: 480px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 28px !important;
    box-shadow: none !important;
    margin: 0 !important;
    display: block;
}

@media (max-width: 899.98px) {
    html body :is(#sobre_nos, #bloco3) {
        width: calc(100% - 40px) !important;
        border-radius: 28px !important;
        padding: 40px 24px !important;
        margin-top: 24px !important;
    }

    html body #bloco3 {
        padding: 32px 24px !important;
        margin-bottom: 32px !important;
    }

    html body :is(#sobre_nos, #bloco3) .row {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    html body :is(#sobre_nos, #bloco3) h4 {
        font-size: 18px !important;
    }

    html body :is(#sobre_nos, #bloco3) img {
        border-radius: 24px !important;
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body :is(#sobre_nos, #bloco3),
    html body :is(#sobre_nos, #bloco3) a.btn,
    html body :is(#sobre_nos, #bloco3) a.btn:hover {
        transition-duration: 0.01ms !important;
        filter: none !important;
    }
}

/* =============================================================================
 * R14 — HOSP/LP: #sobre_nos (bloco azul), #bloco3, #video título
 * (a)(b) + botões: body:is(.nx-landing-hosp, .nx-landing-lp)
 * (c) rótulo "QUEM SOMOS": só body.nx-landing-hosp (L4: lp não tem rótulo)
 * L4: body.nx-landing-lp #bloco3 = tipografia corpo (como #sobre_nos, cor --nx-text)
 * ============================================================================= */

/* (a) Bloco azul — tipografia corpo + padding/raio iguais ao card #bloco3
 * G5: guia entra no mesmo conjunto (markup #sobre_nos idêntico). */
html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos {
    padding: 48px 56px !important;
    border-radius: 32px !important;
    /* background: dmx-style cor_primaria — não forçar */
}

html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos h4,
html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos h4 :is(span, font, p, div, strong, b, em, i, u, li, h1, h2, h3, h5, h6) {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--lt-on-p) !important;
}

html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos h4 :is(p, div, ul, ol) {
    margin: 0 0 12px !important;
}

html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos h4 :is(p, div, ul, ol):last-child {
    margin: 0 !important;
}

/* Botão "Fale conosco" — mesmo CTA 54px do card #bloco3 (já compartilhado);
 * reforço hosp: 54 / r16 / 15·700 */
html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos a.btn {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 28px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #bloco3 a.btn {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 28px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* (c) Rótulo "QUEM SOMOS" no card branco — 1º filho do h4 (CMS);
 * SÓ hosp: na lp o 1º filho é o próprio parágrafo (L4). */
html body.nx-landing-hosp #bloco3 h4 > :first-child,
html body.nx-landing-hosp #bloco3 h4 > :first-child :is(span, font, strong, b, em, i, u) {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
}

html body.nx-landing-hosp #bloco3 h4 > :first-child {
    margin: 0 0 12px !important;
}

/*
 * L4 — LP/Guia #bloco3: texto do card branco = corpo (espelha #sobre_nos tipografia,
 * cor --nx-text). Sem forçar font-weight em strong/b (negrito do CMS permanece).
 * Sem rótulo "QUEM SOMOS" em caixa alta (isso é só hosp).
 */
html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4,
html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4 :is(span, font, p, div, em, i, u, li) {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4 :is(strong, b) {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4 :is(p, div, ul, ol) {
    margin: 0 0 12px !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4 :is(p, div, ul, ol):last-child {
    margin: 0 !important;
}

/* (b) Título #video ("Saiba mais…") — Bricolage 40/700; mobile 28;
 * ritmo de seção como Ofertas (pad 48 cima / 80 baixo no c-xl) */
html body:is(.nx-landing-hosp, .nx-landing-lp) #video {
    padding: 48px 0 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html body:is(.nx-landing-hosp, .nx-landing-lp) #video > .c-xl {
    padding: 0 32px 80px !important;
}

html body:is(.nx-landing-hosp, .nx-landing-lp) #video .sec-hd .sec-title,
html body:is(.nx-landing-hosp, .nx-landing-lp) #video .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    text-transform: none !important;
    margin: 0 !important;
}

@media (max-width: 899.98px) {
    html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos {
        padding: 32px 24px !important;
        border-radius: 28px !important;
    }

    html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos h4,
    html body:is(.nx-landing-hosp, .nx-landing-lp, .nx-landing-guia) #sobre_nos h4 :is(span, font, p, div, strong, b, em, i, u, li, h1, h2, h3, h5, h6) {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    /* L4 — LP/Guia #bloco3 corpo mobile 15px (strong/b sem forçar weight) */
    html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4,
    html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4 :is(span, font, p, div, em, i, u, li) {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    html body:is(.nx-landing-lp, .nx-landing-guia) #bloco3 h4 :is(strong, b) {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    html body:is(.nx-landing-hosp, .nx-landing-lp) #video {
        padding: 32px 0 0 !important;
    }

    html body:is(.nx-landing-hosp, .nx-landing-lp) #video > .c-xl {
        padding: 0 20px 48px !important;
    }

    html body:is(.nx-landing-hosp, .nx-landing-lp) #video .sec-hd .sec-title,
    html body:is(.nx-landing-hosp, .nx-landing-lp) #video .sec-title {
        font-size: 28px !important;
    }
}

/* =============================================================================
 * L2 / L2b / L2c — hero LP + Guia (body:is(.nx-landing-lp, .nx-landing-guia))
 * Tipografia/campos = L2; container 1344 = L2b; grid 1200→full + form rhythm/iti = L2c.
 * G2: mesma cascade na guia; extras .guia-topo1-banner / .apu-* abaixo do bloco.
 * ============================================================================= */

/* Wrap: zera paddings de theme (40/24 vertical) e base .hero (≤576). */
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper.imob-hero-wrap,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper.hero,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #topo1.imob-hero,
html body:is(.nx-landing-lp, .nx-landing-guia) #topo1.imob-hero {
    padding: 0 !important;
    margin: 0 !important;
}

/*
 * Container = mesmo de #loja (.c-xl.imob-listings-body):
 *   desktop ≥900: max-width 1344 + pad lateral 32 → conteúdo útil 1280
 *   mobile: pad lateral 20
 * Antes (L2): hero max-width 1280 → ~64px mais estreito que #loja no desktop
 *   (~2000px viewport: hero centrado 1280 vs loja 1344).
 */
html body:is(.nx-landing-lp, .nx-landing-guia) #topo1 .c-xl,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #topo1 .c-xl,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #sk_hero .c-xl,
html body:is(.nx-landing-lp, .nx-landing-guia) #sk_hero .c-xl {
    max-width: 1344px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 32px 80px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/*
 * Grid: gap 24px; sem margem negativa (v2 global usava -64px ≥1000px → overlap).
 * L2c: anula landing-base .hero-grid { max-width:1200px; padding:0 24px; margin:0 auto }
 *       — era a causa de ~80px a menos vs #loja (1280 útil).
 */
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-grid,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .hero-grid.imob-hero-grid,
html body:is(.nx-landing-lp, .nx-landing-guia) #topo1 .hero-grid.imob-hero-grid,
html body:is(.nx-landing-lp, .nx-landing-guia) #topo1 .imob-hero-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-media,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-media.imob-topo1-banner,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-media.lp-topo1-banner,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-media.guia-topo1-banner {
    flex: 1.4 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important; /* anula lp.css / guia.css max-width:1000px */
    margin: 0 !important;
    margin-inline: 0 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-aside,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .anim.imob-hero-aside {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard.imob-hero-form,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-card.imob-hero-form,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #form.imob-hero-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    margin-left: 0 !important; /* anula v2 margin-left:-64px ≥1000px */
    box-sizing: border-box !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-skeleton__form {
    margin-left: 0 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__head,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard-head.imob-hero-form__head {
    font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    padding: 0 0 20px !important;
    margin: 0 !important;
    text-indent: 0 !important;
    white-space: normal !important;
    text-transform: none !important;
    background: transparent !important;
    border-bottom: none !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard-body.imob-hero-form__body {
    padding: 0 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .mb-3 {
    margin-bottom: 12px !important;
}

/*
 * L2c — ritmo vertical Nome/WhatsApp (.row.g-3):
 * landing-premium.css seta --bs-gutter-y:1.15rem (~18px) entre cols;
 * demais campos usam .mb-3 = 12px. Zera gutter-y e aplica 12px entre cols.
 */
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-3,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-3.mb-3,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-2,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-2.mb-3 {
    --bs-gutter-y: 0 !important;
    row-gap: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-3 > [class*='col-'],
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-2 > [class*='col-'] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 12px !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-3 > [class*='col-']:last-child,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body .row.g-2 > [class*='col-']:last-child {
    margin-bottom: 0 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-field-label,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-label.imob-field-label,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper label.form-label,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-label,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper label.apu-label {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
    margin-bottom: 6px !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-field-input,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control.imob-field-input,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-select.imob-field-input,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-select,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-input,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-select,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control.apu-input,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-select.apu-select {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background-color: var(--nx-field) !important;
    font-size: 16px !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper textarea.imob-field-input,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper textarea.form-control,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper textarea.apu-input {
    height: auto !important;
    min-height: 104px !important;
    padding: 12px 16px !important;
    resize: vertical;
    line-height: 1.5;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-field-input:focus,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control.imob-field-input:focus,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-select.imob-field-input:focus,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control:focus,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-select:focus,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-field-input:focus-visible,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control:focus-visible,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-select:focus-visible {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-secondary) 28%, transparent) !important;
    outline: none !important;
    background-color: var(--nx-field) !important;
}

/* intl-tel-input — preservar padding-left:52px; L2c: bandeira sem fundo cinza */
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti {
    width: 100% !important;
    display: block;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti--allow-dropdown input.form-control,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti--separate-dial-code input.form-control,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti--allow-dropdown input[type="tel"],
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti--allow-dropdown input[type="text"] {
    padding-left: 52px !important;
    padding-right: 6px !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti__flag-container,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti__selected-flag,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti--separate-dial-code .iti__selected-flag,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti--allow-dropdown .iti__selected-flag {
    background: transparent !important;
    background-color: transparent !important;
    border-right: 0 !important;
    box-shadow: none !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti__selected-flag:hover,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti__selected-flag:focus {
    background: var(--nx-line) !important;
    background-color: var(--nx-line) !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control.is-invalid,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-select.is-invalid,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti input.is-invalid,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .form-control.dmxValidator-invalid,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .iti input.dmxValidator-invalid {
    border-color: #B42318 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .invalid-feedback,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper label.error,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .dmxValidator-error {
    display: block;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    color: #B42318;
    margin-top: 6px;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard.imob-hero-form .form-check-label,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form .form-check-label {
    color: var(--nx-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard.imob-hero-form .form-check-label a,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form .form-check-label a {
    color: var(--nx-text) !important;
    text-decoration: underline !important;
    font-weight: 600;
}

/* Submit = .btn-wpp dos modais (var(--wpp); sem hover translate) */
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-submit,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .btn-brand.imob-hero-submit,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-btn-wpp.imob-hero-submit {
    width: 100%;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-submit:hover,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .btn-brand.imob-hero-submit:hover,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-btn-wpp.imob-hero-submit:hover {
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    color: #fff !important;
    transform: none !important;
    filter: brightness(0.97) !important;
    box-shadow: none !important;
}

html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-submit:focus-visible,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .btn-brand.imob-hero-submit:focus-visible,
html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-btn-wpp.imob-hero-submit:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

@media (max-width: 899.98px) {
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper.imob-hero-wrap,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper.hero,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper {
        padding: 0 !important;
    }

    /* Mesmos 20px laterais de #loja .imob-listings-body */
    html body:is(.nx-landing-lp, .nx-landing-guia) #topo1 .c-xl,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #topo1 .c-xl,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #sk_hero .c-xl,
    html body:is(.nx-landing-lp, .nx-landing-guia) #sk_hero .c-xl {
        max-width: none !important;
        padding: 32px 20px 56px !important;
    }

    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-grid,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .hero-grid.imob-hero-grid {
        flex-wrap: wrap !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-media,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-media.lp-topo1-banner,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-media.guia-topo1-banner,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-aside,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard.imob-hero-form,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-card.imob-hero-form,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #form.imob-hero-form {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-inline: 0 !important;
    }

    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__head,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard-head.imob-hero-form__head {
        font-size: 24px !important;
        padding: 0 0 16px !important;
    }

    /* Zera padding extra de landing-premium.css / base .fcard-* no card */
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form__body,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard-body.imob-hero-form__body {
        padding: 0 !important;
    }
}

/* Desktop largo: reforça zero na margem negativa do v2 global (≥1000) */
@media (min-width: 1000px) {
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .fcard.imob-hero-form,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .apu-card.imob-hero-form,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-form,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper #form.imob-hero-form,
    html body:is(.nx-landing-lp, .nx-landing-guia) #hero_wrapper .imob-hero-skeleton__form {
        margin-left: 0 !important;
    }
}

/* G2 — extras só guia (markup .apu-* / título CMS com subtítulo) */
html body.nx-landing-guia #hero_wrapper .apu-card.imob-hero-form,
html body.nx-landing-guia #hero_wrapper #form.apu-card.imob-hero-form {
    height: auto !important;
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    padding: 32px 28px 28px !important;
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.35) !important;
    overflow: visible !important;
    color: var(--nx-text) !important;
}

/*
 * Cabeçalho do card: <p.imob-hero-form__head dmx-html="texto_titulo_form">
 * Conteúdo vem do CMS (Summernote). Título = próprio head / 1º filho;
 * subtítulo = irmãos seguintes, nós após <br>, p/small/.subtitle.
 * Limitação: texto solto após <br> (sem tag) não pode ser estilizado só com CSS.
 */
html body.nx-landing-guia #hero_wrapper .imob-hero-form__head,
html body.nx-landing-guia #hero_wrapper .apu-card .imob-hero-form__head,
html body.nx-landing-guia #hero_wrapper #form.imob-hero-form .imob-hero-form__head {
    text-align: left !important;
    text-align-last: left !important;
    font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

html body.nx-landing-guia #hero_wrapper .imob-hero-form__head > :first-child {
    font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
}

html body.nx-landing-guia #hero_wrapper .imob-hero-form__head > :not(:first-child),
html body.nx-landing-guia #hero_wrapper .imob-hero-form__head > br ~ *,
html body.nx-landing-guia #hero_wrapper .imob-hero-form__head :is(p, small, .subtitle, .imob-hero-form__sub),
html body.nx-landing-guia #hero_wrapper .imob-hero-form__head > :first-child + :is(p, span, font, div, small) {
    display: block !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}

/*
 * G2b — textarea: .form-control.apu-input { height:50px } (2 classes)
 * vencia textarea.apu-input (1 classe). Seletor com 2 classes + elemento.
 */
html body.nx-landing-guia #hero_wrapper textarea.form-control.apu-input,
html body.nx-landing-guia #hero_wrapper textarea#inp_mensagem_guia_form.form-control.apu-input,
html body.nx-landing-guia #hero_wrapper #form textarea.form-control.apu-input,
html body.nx-landing-guia #hero_wrapper .imob-hero-form__body textarea.form-control.apu-input {
    height: auto !important;
    min-height: 104px !important;
    padding: 12px 16px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

html body.nx-landing-guia #hero_wrapper textarea.form-control.apu-input:focus,
html body.nx-landing-guia #hero_wrapper textarea.form-control.apu-input:focus-visible,
html body.nx-landing-guia #hero_wrapper textarea#inp_mensagem_guia_form.form-control.apu-input:focus,
html body.nx-landing-guia #hero_wrapper textarea#inp_mensagem_guia_form.form-control.apu-input:focus-visible,
html body.nx-landing-guia #hero_wrapper #form textarea.form-control.apu-input:focus,
html body.nx-landing-guia #hero_wrapper #form textarea.form-control.apu-input:focus-visible {
    height: auto !important;
    min-height: 104px !important;
    padding: 12px 16px !important;
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-secondary) 28%, transparent) !important;
    outline: none !important;
    background-color: var(--nx-field) !important;
}

/* Imagem guia-topo1-banner: vence guia.css 1000px + stretch como lp */
html body.nx-landing-guia #hero_wrapper .imob-hero-media.guia-topo1-banner,
html body.nx-landing-guia #hero_wrapper .guia-topo1-banner {
    position: relative !important;
    min-height: 640px !important;
    aspect-ratio: auto !important;
    border-radius: 32px !important;
    overflow: hidden !important;
    max-width: none !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #hero_wrapper .guia-topo1-banner .imob-hero-img,
html body.nx-landing-guia #hero_wrapper .guia-topo1-banner .hero-img.imob-hero-img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 32px !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #hero_wrapper .apu-label,
html body.nx-landing-guia #hero_wrapper label.apu-label {
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--nx-text) !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #hero_wrapper .imob-hero-media.guia-topo1-banner,
    html body.nx-landing-guia #hero_wrapper .guia-topo1-banner {
        min-height: 280px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.nx-landing-guia #hero_wrapper .apu-card.imob-hero-form,
    html body.nx-landing-guia #hero_wrapper #form.apu-card.imob-hero-form {
        padding: 24px 20px 20px !important;
        border-radius: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* =============================================================================
 * L3 — LP loja cards (.lp-prod-card) — body.nx-landing-lp
 * Vence lp.css + loja_landing.css (!important onde legado usa).
 * ============================================================================= */

html body.nx-landing-lp #loja #repeat_loja_produtos.cgrid.lp-prod-grid,
html body.nx-landing-lp #loja #repeat_loja_produtos.lp-prod-grid {
    align-items: stretch !important;
    gap: 24px !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card,
html body.nx-landing-lp #loja #repeat_loja_produtos article.lp-prod-card {
    height: 100% !important;
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card:hover,
html body.nx-landing-lp #loja #repeat_loja_produtos article.lp-prod-card:hover {
    transform: none !important;
    border-color: var(--nx-line) !important;
    box-shadow: 0 8px 24px rgba(15, 28, 26, 0.06) !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cimg,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__media {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 3 / 2 !important;
    background: var(--nx-field) !important;
    border-radius: 0 !important; /* cantos superiores via overflow do card */
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cimg img,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: none !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card:hover .cimg img,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card:hover .lp-prod-card__media img {
    transform: none !important;
}

/* Placeholder sem imagem: dmx-repeat vazio → sem <img>; :not(:has(img)) */
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__media:not(:has(img)),
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cimg:not(:has(img)) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--nx-field) !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__media:not(:has(img))::before,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cimg:not(:has(img))::before {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 40px;
    line-height: 1;
    color: var(--nx-line);
    display: block;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cbody,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 10px !important;
    background: var(--nx-surface) !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .loja-card__price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cprice,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .loja-card__video-pill {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(15, 28, 26, 0.78) !important;
    color: #fff !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .loja-card__video-pill:hover {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .ctitle,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__title {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cdesc,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__desc {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    width: 100% !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    justify-content: center !important;
    align-items: center !important;
    display: inline-flex !important;
    width: 100% !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap !important;
}

/* Comprar / Consultar */
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview.js-loja-add,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview.js-loja-consultar,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview.js-loja-add,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview.js-loja-consultar {
    background: var(--brand-primary) !important;
    color: var(--lt-on-p, #fff) !important;
    border: 1px solid transparent !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview.js-loja-add:hover,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview.js-loja-consultar:hover,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview.js-loja-add:hover,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview.js-loja-consultar:hover {
    background: var(--brand-primary) !important;
    color: var(--lt-on-p, #fff) !important;
    filter: brightness(0.95) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Detalhes */
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview:not(.js-loja-add):not(.js-loja-consultar),
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview:not(.js-loja-add):not(.js-loja-consultar) {
    background: var(--nx-surface) !important;
    color: var(--nx-text) !important;
    border: 1px solid var(--nx-line) !important;
}

html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview:not(.js-loja-add):not(.js-loja-consultar):hover,
html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview:not(.js-loja-add):not(.js-loja-consultar):hover {
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions,
    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__actions .bcview,
    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .cactions .bcview {
        width: 100% !important;
    }

    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .ctitle,
    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card .lp-prod-card__title {
        font-size: 17px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card,
    html body.nx-landing-lp #loja #repeat_loja_produtos .citem.lp-prod-card:hover {
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================================
 * MODAIS — LEAD (#whatsapp, #whatsapp_link, #modalsucesso,
 *   #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2,
 *   #modal_loja_checkout, #modal_rhosp_orcamento)
 * ============================================================================= */

html body .modal-backdrop {
    --bs-backdrop-bg: #0F1C1A;
    --bs-backdrop-opacity: 0.55;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-dialog {
    max-width: 440px !important;
    margin: 16px auto;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-content {
    background: var(--nx-surface);
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 28, 26, 0.18) !important;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-header {
    background: var(--nx-surface) !important;
    border: 0 !important;
    border-bottom: 0 !important;
    padding: 28px 24px 8px !important;
    position: relative !important;
    overflow: visible !important;
    justify-content: center;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) .modal-header img {
    height: 44px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .btn-close,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-header .btn-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    background-color: var(--nx-field);
    background-size: 12px;
    opacity: 1;
    box-shadow: none;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .btn-close:hover,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .btn-close:focus,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .btn-close:active,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-header .btn-close:hover,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-header .btn-close:focus,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-header .btn-close:active {
    background-color: var(--nx-line);
    opacity: 1;
    transform: none !important;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .btn-close:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
    box-shadow: none;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-body {
    padding: 8px 24px 28px !important;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-label {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--nx-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 6px;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-control,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-select {
    height: 50px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    border-radius: 14px !important;
    background: var(--nx-field) !important;
    border: 1px solid var(--nx-line) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-control::placeholder {
    color: var(--nx-muted);
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-control:focus,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-select:focus {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-secondary) 22%, transparent) !important;
    outline: none !important;
    background: var(--nx-field) !important;
}

/* intl-tel-input: .iti--allow-dropdown define padding-left:52px — preservar */
html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti {
    width: 100% !important;
    display: block;
}

html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti--allow-dropdown input.form-control,
html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti--separate-dial-code input.form-control,
html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti--allow-dropdown input[type="tel"],
html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti--allow-dropdown input[type="text"] {
    padding-left: 52px !important;
    padding-right: 6px !important;
}

html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti__flag-container,
html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti__selected-flag {
    border-radius: 14px 0 0 14px;
    background: transparent;
}

html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti__country-list {
    border-radius: 14px;
    border: 1px solid var(--nx-line);
    box-shadow: 0 12px 32px rgba(15, 28, 26, 0.12);
    z-index: 2000;
    overflow: hidden;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-control.is-invalid,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-select.is-invalid,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti input.is-invalid,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-control.dmxValidator-invalid,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .iti input.dmxValidator-invalid {
    border-color: #B42318 !important;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .invalid-feedback,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) label.error,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .dmxValidator-error {
    display: block;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    color: #B42318;
    margin-top: 6px;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check .invalid-feedback,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check label.error,
html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check .dmxValidator-error {
    flex: 0 0 100%;
    margin: 4px 0 0 30px;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check-input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    float: none;
    border-radius: 6px;
    border: 1px solid var(--nx-line);
    flex-shrink: 0;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check-input:checked {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check-input:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-secondary) 22%, transparent);
    outline: none;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check-label {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--nx-muted);
    flex: 1 1 0%;
    min-width: 0;
}

html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .form-check-label a {
    color: var(--nx-text);
    text-decoration: underline;
}

html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) .btn-wpp {
    width: 100%;
    height: 54px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: 0;
    box-shadow: none !important;
    transform: none !important;
}

html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) .btn-wpp:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.97);
}

html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) .btn-wpp:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

/* Extras — formulários estendidos */
html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) textarea.form-control {
    height: auto !important;
    min-height: 104px;
    padding: 12px 16px !important;
    resize: vertical;
    line-height: 1.5;
}

html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) .hcard-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--nx-text) !important;
    text-align: center;
    margin: 0 0 16px !important;
    text-transform: none;
}

html body #modal_imoveis_interesse #imoveis_int_msg:not([hidden]) {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    color: var(--nx-muted);
    text-align: center;
    margin: 0 0 16px !important;
}

html body #modalsucesso .modal-body {
    padding: 40px 28px 16px !important;
}

html body #modalsucesso .mok-icon {
    font-size: 56px;
    color: #16a34a;
    display: block;
    margin-bottom: 16px;
}

html body #modalsucesso .mok-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    margin: 0 0 8px !important;
}

html body #modalsucesso .mok-sub {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    color: var(--nx-muted);
    margin: 0;
}

html body #modalsucesso .modal-footer {
    border: 0 !important;
    border-top: 0 !important;
    padding: 8px 24px 28px;
    justify-content: center;
}

html body #modalsucesso .btn-mclose {
    height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    transform: none !important;
}

html body #modalsucesso .btn-mclose:hover {
    transform: none !important;
}

html body #modalsucesso .btn-mclose:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-dialog {
        max-width: calc(100% - 32px) !important;
    }

    html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-content {
        border-radius: 24px !important;
    }

    html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .btn-close,
    html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento) .modal-header .btn-close {
        top: 12px !important;
        right: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento).modal.fade,
    html body :is(#whatsapp, #whatsapp_link, #modalsucesso, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_loja_checkout, #modal_rhosp_orcamento).modal.fade .modal-dialog {
        transition-duration: 0.01ms !important;
    }

    html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) .btn-wpp,
    html body :is(#whatsapp, #whatsapp_link, #modal_tipo_produto, #modal_imoveis_interesse, #modal_oferta, #modal_oferta_2, #modal_rhosp_orcamento) .btn-wpp:hover,
    html body #modalsucesso .btn-mclose {
        transition-duration: 0.01ms !important;
        filter: none !important;
    }
}

/* =============================================================================
 * MODAL — ORÇAMENTO HOSP (#modal_rhosp_orcamento)
 * Sobrescreve largura/labels do LEAD; date/people rows; preview de valor.
 * ============================================================================= */

html body #modal_rhosp_orcamento .modal-dialog {
    max-width: 500px !important;
}

html body #modal_rhosp_orcamento .form-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--nx-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

html body #modal_rhosp_orcamento .form-control:focus,
html body #modal_rhosp_orcamento .form-select:focus {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
    box-shadow: none !important;
}

html body #modal_rhosp_orcamento .date-row,
html body #modal_rhosp_orcamento .people-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

@media (max-width: 479.98px) {
    html body #modal_rhosp_orcamento .date-row,
    html body #modal_rhosp_orcamento .people-row {
        grid-template-columns: 1fr !important;
    }
}

html body #modal_rhosp_orcamento #rhosp_orc_produto_nome,
html body #modal_rhosp_orcamento .hcard-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 0 8px !important;
}

/* Hint + valor estimado compartilham #rhosp_preview (JS textContent).
 * Card neutro; tipografia 14px muted cobre o hint. Valor em 22px exigiria
 * classe no JS (não alterado neste passo). */
html body #modal_rhosp_orcamento #rhosp_preview {
    background: var(--nx-field) !important;
    border: 1px solid var(--nx-line);
    border-radius: 16px !important;
    padding: 14px 16px !important;
    margin: 0 0 16px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: var(--nx-muted) !important;
    text-align: left;
}

html body #modal_rhosp_orcamento #rhosp_orc_msg:not([hidden]) {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    color: #B42318;
    margin: 0 0 12px !important;
}

html body #modal_rhosp_orcamento .btn-wpp {
    background: var(--wpp) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #modal_rhosp_orcamento .btn-wpp:hover {
    background: var(--wpp) !important;
    filter: brightness(0.97);
    transform: none !important;
    box-shadow: none !important;
}

/* =============================================================================
 * MODAIS — IMÓVEL (#modal_imoveis_detalhe, #modal_imoveis_video)
 * + shared header/dialog com #modal_rhosp_detalhe onde classes coincidem.
 * NÃO tocar em #imoveis_download_card / #rhosp_download_card (html2canvas).
 * ============================================================================= */

/* --- A) Detalhe: diálogo / cartão / header --- */

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-dialog {
    max-width: 880px !important;
    margin: 16px auto;
}

html body #modal_imoveis_detalhe .modal-content.imoveis-detalhe {
    background: var(--nx-surface);
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 28, 26, 0.18) !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header {
    background: var(--nx-surface) !important;
    border: 0 !important;
    border-bottom: 0 !important;
    padding: 28px 72px 8px 32px !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start;
    gap: 16px;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions {
    position: static !important;
    padding: 0 !important;
    top: auto !important;
    right: auto !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header .btn-close,
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions .btn-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    background-color: var(--nx-field);
    background-size: 12px;
    opacity: 1;
    box-shadow: none;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header .btn-close:hover,
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header .btn-close:focus,
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header .btn-close:active,
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions .btn-close:hover,
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions .btn-close:focus,
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions .btn-close:active {
    background-color: var(--nx-line);
    opacity: 1;
    transform: none !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header .btn-close:focus-visible,
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions .btn-close:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
    box-shadow: none;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-kicker {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--nx-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 0 0 4px !important;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-download-wrap {
    margin-top: 16px !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-download {
    height: 44px;
    padding: 0 18px !important;
    border-radius: 14px !important;
    background: var(--nx-surface) !important;
    color: var(--nx-text) !important;
    border: 1px solid var(--nx-line) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none !important;
    transform: none !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-download:hover {
    background: var(--nx-field) !important;
    transform: none !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-download:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-body {
    padding: 8px 32px 32px !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-body > .text-center {
    font-size: 15px;
    color: var(--nx-muted);
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-body > p.small.text-danger {
    font-size: 15px;
    color: #B42318 !important;
}

/* --- B) Detalhe: conteúdo (fora de #imoveis_download_card) --- */

html body #modal_imoveis_detalhe .imoveis-detalhe-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-gallery > * {
    display: contents;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: var(--nx-field);
}

html body #modal_imoveis_detalhe .imoveis-detalhe-gallery a:hover,
html body #modal_imoveis_detalhe .imoveis-detalhe-gallery img:hover {
    transform: none;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-hero {
    grid-column: 1 / -1;
    border-radius: 20px;
    overflow: hidden;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-hero img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

html body #modal_imoveis_detalhe .imoveis-amen-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px !important;
}

html body #modal_imoveis_detalhe .imoveis-chip {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--nx-field);
    border: 1px solid var(--nx-line);
    color: var(--nx-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 6px;
}

/* Preço: mesma cor dos cards — var(--nx-text) (v2 L1740) */
html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-body > div[data-produto-id] > p.icard-price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: var(--nx-text) !important;
    margin: 20px 0 4px !important;
}

html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-body > div[data-produto-id] > p.small.text-muted {
    font-size: 15px !important;
    color: var(--nx-muted) !important;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--nx-line);
}

html body #modal_imoveis_detalhe .imoveis-detalhe-block h6 {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: var(--nx-text) !important;
    margin: 0 0 10px !important;
    text-transform: none !important;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-text,
html body #modal_imoveis_detalhe .imoveis-detalhe-local {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--nx-muted);
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-local {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--nx-line);
}

html body #modal_imoveis_detalhe .imoveis-detalhe-cta .bcwpp.js-imoveis-detalhe-interesse {
    width: 100%;
    height: 54px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: 0;
    box-shadow: none !important;
    transform: none !important;
}

html body #modal_imoveis_detalhe .imoveis-detalhe-cta .bcwpp.js-imoveis-detalhe-interesse:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.97);
}

html body #modal_imoveis_detalhe .imoveis-detalhe-cta .bcwpp.js-imoveis-detalhe-interesse:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

/* --- C) Vídeo --- */

html body #modal_imoveis_video .modal-dialog {
    max-width: 960px !important;
    margin: 16px auto;
}

html body #modal_imoveis_video .modal-content.imoveis-video-content {
    background: #0F1C1A;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 28px !important;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45) !important;
    position: relative;
}

html body #modal_imoveis_video .imoveis-video-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.14);
    opacity: 1;
    z-index: 3;
    box-shadow: none;
}

html body #modal_imoveis_video .imoveis-video-close:hover,
html body #modal_imoveis_video .imoveis-video-close:focus,
html body #modal_imoveis_video .imoveis-video-close:active {
    background-color: rgba(255, 255, 255, 0.24);
    opacity: 1;
    transform: none !important;
}

html body #modal_imoveis_video .imoveis-video-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

html body #modal_imoveis_video .imoveis-video-body {
    position: relative;
    background: #000;
}

html body #modal_imoveis_video .imoveis-video-el {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
    outline: none;
}

html body #modal_imoveis_video .imoveis-video-el:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

html body #modal_imoveis_video .imoveis-video-status {
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    padding: 48px 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

html body #modal_imoveis_video .imoveis-video-status[hidden],
html body #modal_imoveis_video .imoveis-video-el[hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-dialog {
        max-width: calc(100% - 24px) !important;
    }

    html body #modal_imoveis_detalhe .modal-content.imoveis-detalhe {
        border-radius: 24px !important;
    }

    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header {
        padding: 24px 56px 8px 20px !important;
        display: flex !important;
    }

    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions {
        position: static !important;
    }

    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-header .btn-close,
    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-actions .btn-close {
        top: 12px !important;
        right: 12px !important;
    }

    html body #modal_imoveis_detalhe .imoveis-detalhe-title {
        font-size: 24px !important;
    }

    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-body {
        padding: 8px 20px 24px !important;
    }

    html body #modal_imoveis_detalhe .imoveis-detalhe-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    html body #modal_imoveis_detalhe .imoveis-detalhe-hero img {
        max-height: 260px;
    }

    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .modal-body > div[data-produto-id] > p.icard-price {
        font-size: 28px !important;
    }

    html body #modal_imoveis_video .modal-dialog {
        max-width: calc(100% - 24px) !important;
    }

    html body #modal_imoveis_video .modal-content.imoveis-video-content {
        border-radius: 24px !important;
    }

    html body #modal_imoveis_video .imoveis-video-close {
        top: 12px !important;
        right: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe).modal.fade,
    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe).modal.fade .modal-dialog,
    html body #modal_imoveis_video.modal.fade,
    html body #modal_imoveis_video.modal.fade .modal-dialog,
    html body :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe) .detalhe-modal-download,
    html body #modal_imoveis_detalhe .imoveis-detalhe-cta .bcwpp.js-imoveis-detalhe-interesse,
    html body #modal_imoveis_detalhe .imoveis-detalhe-cta .bcwpp.js-imoveis-detalhe-interesse:hover {
        transition-duration: 0.01ms !important;
        filter: none !important;
    }
}


/* =============================================================================
 * MODAIS — HOSP (detalhe/vídeo) (#modal_rhosp_detalhe, #modal_rhosp_video)
 * Classes rhosp-* espelham imoveis-* do bloco IMÓVEL. Shared header/dialog
 * já cobertos via :is(#modal_imoveis_detalhe, #modal_rhosp_detalhe).
 * NÃO tocar em #rhosp_download_card (html2canvas).
 * ============================================================================= */

/* --- Detalhe: content + tipografia/galeria/chips/preço/CTA (classes rhosp-*) --- */

html body #modal_rhosp_detalhe .modal-content.rhosp-detalhe {
    background: var(--nx-surface);
    border: 1px solid var(--nx-line) !important;
    border-radius: 28px !important;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 28, 26, 0.18) !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-kicker {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--nx-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 0 0 4px !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-gallery > * {
    display: contents;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: var(--nx-field);
}

html body #modal_rhosp_detalhe .rhosp-detalhe-gallery a:hover,
html body #modal_rhosp_detalhe .rhosp-detalhe-gallery img:hover {
    transform: none;
}

/* Hero: hosp.css L526–528 força aspect-ratio 16/10 no <a>; img com max-height
 * 440px + height:100% deixa faixa --nx-field abaixo. Zerar AR do <a>, AR na img. */
html body #modal_rhosp_detalhe .rhosp-detalhe-hero {
    grid-column: 1 / -1;
    border-radius: 20px;
    overflow: hidden;
    align-self: start;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    background: transparent;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

html body #modal_rhosp_detalhe .rhosp-amen-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px !important;
}

html body #modal_rhosp_detalhe .rhosp-chip {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--nx-field) !important;
    border: 1px solid var(--nx-line) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0 !important;
}

html body #modal_rhosp_detalhe .modal-body .hcard-price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;
    color: var(--nx-text) !important;
    margin: 20px 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
}

html body #modal_rhosp_detalhe .modal-body .hcard-price .rhosp-price-unit {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--nx-muted) !important;
    opacity: 1 !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--nx-line);
}

html body #modal_rhosp_detalhe .rhosp-detalhe-block h6 {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: var(--nx-text) !important;
    margin: 0 0 10px !important;
    text-transform: none !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-text,
html body #modal_rhosp_detalhe .rhosp-detalhe-local {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--nx-muted);
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-local {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--nx-line);
}

html body #modal_rhosp_detalhe .rhosp-detalhe-cta .bcwpp,
html body #modal_rhosp_detalhe .rhosp-detalhe-cta .bcwpp.js-rhosp-detalhe-orcamento {
    width: 100%;
    height: 54px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: 0;
    background: var(--wpp) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-cta .bcwpp:hover,
html body #modal_rhosp_detalhe .rhosp-detalhe-cta .bcwpp.js-rhosp-detalhe-orcamento:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.97);
    background: var(--wpp) !important;
}

html body #modal_rhosp_detalhe .rhosp-detalhe-cta .bcwpp:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

/* --- Vídeo hosp (story: portrait 9:16 / landscape 16:9 via .rhosp-video-*) --- */

html body #modal_rhosp_video .modal-dialog,
html body #modal_rhosp_video .modal-dialog.rhosp-video-dialog {
    width: fit-content;
    max-width: calc(100vw - 32px) !important;
    margin: 16px auto;
}

html body #modal_rhosp_video .modal-content.rhosp-video-content,
html body #modal_rhosp_video .rhosp-video-content {
    background: #0F1C1A !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 28px !important;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45) !important;
    position: relative;
}

html body #modal_rhosp_video .rhosp-video-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    border: 0 !important;
    background-color: rgba(255, 255, 255, 0.14) !important;
    opacity: 1;
    z-index: 3;
    box-shadow: none;
    filter: none;
}

html body #modal_rhosp_video .rhosp-video-close:hover,
html body #modal_rhosp_video .rhosp-video-close:focus,
html body #modal_rhosp_video .rhosp-video-close:active {
    background-color: rgba(255, 255, 255, 0.24) !important;
    opacity: 1;
    transform: none !important;
    filter: none;
}

html body #modal_rhosp_video .rhosp-video-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

html body #modal_rhosp_video .rhosp-video-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: #0F1C1A;
    padding: 0;
}

html body #modal_rhosp_video .rhosp-video-el {
    display: block;
    max-width: 100%;
    background: #0F1C1A;
    border-radius: 20px;
    object-fit: contain;
    outline: none;
}

html body #modal_rhosp_video.rhosp-video-portrait .rhosp-video-el {
    height: min(86vh, 860px);
    width: auto;
    aspect-ratio: 9 / 16;
}

html body #modal_rhosp_video.rhosp-video-landscape .rhosp-video-el {
    width: min(960px, calc(100vw - 32px));
    height: auto;
    max-height: 80vh;
    aspect-ratio: 16 / 9;
}

html body #modal_rhosp_video .rhosp-video-el:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

html body #modal_rhosp_video .rhosp-video-status {
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    padding: 48px 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

html body #modal_rhosp_video .rhosp-video-status[hidden],
html body #modal_rhosp_video .rhosp-video-el[hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    html body #modal_rhosp_detalhe .modal-dialog {
        max-width: 95vw !important;
    }

    html body #modal_rhosp_detalhe .modal-content.rhosp-detalhe {
        border-radius: 24px !important;
    }

    html body #modal_rhosp_detalhe .rhosp-detalhe-title {
        font-size: 24px !important;
    }

    html body #modal_rhosp_detalhe .rhosp-detalhe-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    html body #modal_rhosp_detalhe .rhosp-detalhe-hero img {
        max-height: 260px;
    }

    html body #modal_rhosp_detalhe .modal-body .hcard-price {
        font-size: 22px !important;
    }

    html body #modal_rhosp_video .modal-dialog,
    html body #modal_rhosp_video .modal-dialog.rhosp-video-dialog {
        max-width: calc(100vw - 24px) !important;
    }

    html body #modal_rhosp_video .modal-content.rhosp-video-content,
    html body #modal_rhosp_video .rhosp-video-content {
        border-radius: 24px !important;
    }

    html body #modal_rhosp_video.rhosp-video-portrait .rhosp-video-el {
        height: min(82vh, 760px);
    }

    html body #modal_rhosp_video.rhosp-video-landscape .rhosp-video-el {
        width: calc(100vw - 24px);
    }

    html body #modal_rhosp_video .rhosp-video-close {
        top: 12px !important;
        right: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #modal_rhosp_detalhe.modal.fade,
    html body #modal_rhosp_detalhe.modal.fade .modal-dialog,
    html body #modal_rhosp_video.modal.fade,
    html body #modal_rhosp_video.modal.fade .modal-dialog,
    html body #modal_rhosp_detalhe .rhosp-detalhe-cta .bcwpp,
    html body #modal_rhosp_detalhe .rhosp-detalhe-cta .bcwpp:hover {
        transition-duration: 0.01ms !important;
        filter: none !important;
    }
}


/* =============================================================================
 * MODAL — CHECKOUT LOJA (#modal_loja_checkout) + FAB #loja_fab_carrinho
 * Dialog/content/header/forms herdam do bloco LEAD via :is(…, #modal_loja_checkout).
 * ============================================================================= */

html body #modal_loja_checkout .modal-dialog {
    max-width: 520px !important;
}

html body #modal_loja_checkout .modal-header {
    justify-content: flex-start !important;
    padding: 28px 72px 8px 28px !important;
}

html body #modal_loja_checkout .modal-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
}

html body #modal_loja_checkout .modal-body {
    padding: 8px 28px 28px !important;
}

html body #modal_loja_checkout #loja_checkout_itens {
    display: grid;
    gap: 12px;
    margin-bottom: 16px !important;
}

html body #modal_loja_checkout .loja-checkout-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--nx-field);
    border: 1px solid var(--nx-line);
    border-radius: 18px;
    margin-bottom: 0;
}

html body #modal_loja_checkout .loja-checkout-item img,
html body #modal_loja_checkout .loja-checkout-ph {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 12px;
    object-fit: cover;
}

html body #modal_loja_checkout .loja-checkout-ph {
    background: var(--nx-line);
}

html body #modal_loja_checkout .loja-checkout-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

html body #modal_loja_checkout .loja-checkout-item-nome {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--nx-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body #modal_loja_checkout .loja-checkout-item-meta {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    color: var(--nx-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

html body #modal_loja_checkout .loja-qty {
    width: 68px !important;
    height: 36px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    text-align: center;
    background: var(--nx-surface) !important;
}

html body #modal_loja_checkout .loja-remove {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: #B42318;
    background: var(--nx-surface);
    border: 1px solid var(--nx-line);
    box-shadow: none !important;
    transform: none !important;
}

html body #modal_loja_checkout .loja-remove:hover {
    background: color-mix(in srgb, #B42318 10%, var(--nx-surface));
    transform: none !important;
    color: #B42318;
}

html body #modal_loja_checkout .loja-remove:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
}

html body #modal_loja_checkout #loja_checkout_itens > p {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    color: var(--nx-muted);
    padding: 16px 0;
    text-align: center;
    margin: 0;
}

html body #modal_loja_checkout #loja_checkout_form_wrap > p.fw-semibold {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 20px !important;
    padding: 16px 0 0;
    border-top: 1px solid var(--nx-line);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--nx-muted);
}

html body #modal_loja_checkout #loja_checkout_total {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--nx-text);
}

html body #modal_loja_checkout #loja_checkout_erro {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    color: #B42318 !important;
    margin: 0 0 12px;
}

html body #modal_loja_checkout #loja_checkout_submit,
html body #modal_loja_checkout #loja_checkout_abrir_pagamento {
    width: 100%;
    height: 54px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: 0;
    box-shadow: none !important;
    transform: none !important;
}

/* Mesma fonte de cor do Comprar (loja_landing.css L212–215: var(--wpp)) */
html body #modal_loja_checkout #loja_checkout_abrir_pagamento {
    background-color: var(--wpp) !important;
    border-color: var(--wpp) !important;
    color: #fff !important;
}

html body #modal_loja_checkout #loja_checkout_submit:hover,
html body #modal_loja_checkout #loja_checkout_abrir_pagamento:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.97);
}

html body #modal_loja_checkout #loja_checkout_submit:focus-visible,
html body #modal_loja_checkout #loja_checkout_abrir_pagamento:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

html body #modal_loja_checkout #loja_checkout_submit:disabled,
html body #modal_loja_checkout #loja_checkout_abrir_pagamento:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: none;
}

html body #modal_loja_checkout #loja_checkout_ok {
    padding: 24px 0 !important;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    color: var(--nx-text);
}

html body #modal_loja_checkout #loja_checkout_ok .text-muted.small {
    font-size: 14px;
    color: var(--nx-muted);
}

html body #modal_loja_checkout #loja_checkout_ok strong#loja_checkout_numero,
html body #modal_loja_checkout #loja_checkout_numero {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

html body #modal_loja_checkout #loja_checkout_abrir_pagamento {
    margin-bottom: 0;
}

/* FAB — só sombra/foco; position/size/z-index preservados (loja_landing.css) */
html body #loja_fab_carrinho.loja-fab {
    box-shadow:
        0 1px 2px rgba(15, 28, 26, 0.08),
        0 12px 32px rgba(15, 28, 26, 0.18) !important;
}

html body #loja_fab_carrinho.loja-fab:focus-visible {
    outline: 2px solid #fff;
    box-shadow:
        0 0 0 4px var(--brand-secondary),
        0 1px 2px rgba(15, 28, 26, 0.08),
        0 12px 32px rgba(15, 28, 26, 0.18) !important;
}

html body #loja_fab_carrinho .loja-fab-badge {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    html body #modal_loja_checkout .modal-header {
        padding: 24px 56px 8px 20px !important;
    }

    html body #modal_loja_checkout .modal-title {
        font-size: 22px !important;
    }

    html body #modal_loja_checkout .modal-body {
        padding: 8px 20px 24px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #modal_loja_checkout.modal.fade,
    html body #modal_loja_checkout.modal.fade .modal-dialog,
    html body #modal_loja_checkout #loja_checkout_submit,
    html body #modal_loja_checkout #loja_checkout_abrir_pagamento,
    html body #loja_fab_carrinho.loja-fab {
        transition-duration: 0.01ms !important;
        filter: none !important;
    }

    html body #loja_fab_carrinho.loja-fab.loja-fab--pulse,
    html body .loja-fab.loja-fab--pulse {
        animation: none !important;
    }
}

/* =============================================================================
 * G1 — GUIA: ativação shell (body.nx-landing-guia)
 * Fundo, tipografia base, navbar, containers 1344/32.
 * NÃO: hero fino (G2), cards/filtros (G3), modais (G4), footer/tiposeções (G5).
 * ============================================================================= */

/* Fundo — reforça :has(#navbar-main) contra Vuexy/layout-public */
html body.nx-landing-guia,
html body.nx-landing-guia.light-style,
html.light-style body.nx-landing-guia {
    background: var(--nx-bg) !important;
    background-color: var(--nx-bg) !important;
    color: var(--nx-text);
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif;
}

html body.nx-landing-guia .layout-wrapper,
html body.nx-landing-guia .layout-container,
html body.nx-landing-guia .layout-page,
html body.nx-landing-guia .content-wrapper,
html body.nx-landing-guia .container-xxl,
html body.nx-landing-guia #landingpage {
    background: transparent !important;
    background-color: transparent !important;
}

/* Títulos de seção — família display (sem tipografia fina de G5) */
html body.nx-landing-guia .sec-title,
html body.nx-landing-guia .imob-search-title,
html body.nx-landing-guia .imob-results-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif;
}

/*
 * Navbar — v2 global já cobre .nav-wrap; reforço sob .guia-navbar /
 * #navbar-main para vencer theme (#fff) e front-page Vuexy.
 */
html body.nx-landing-guia #navbar-main.nav-wrap,
html body.nx-landing-guia #navbar-main.guia-navbar,
html body.nx-landing-guia header.nav-wrap.guia-navbar {
    min-height: 76px !important;
    background: color-mix(in srgb, var(--nx-bg) 84%, transparent) !important;
    background-color: color-mix(in srgb, var(--nx-bg) 84%, transparent) !important;
    border-bottom: 1px solid var(--nx-line) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

html body.nx-landing-guia #navbar-main.nav-wrap.scrolled,
html body.nx-landing-guia header.nav-wrap.guia-navbar.scrolled {
    box-shadow: none !important;
}

html body.nx-landing-guia #navbar-main .nav-inner,
html body.nx-landing-guia #navbar-main #topo.nav-inner,
html body.nx-landing-guia .guia-navbar .nav-inner {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 32px !important;
    min-height: 76px !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

html body.nx-landing-guia #navbar-main .nav-links a,
html body.nx-landing-guia .guia-navbar .nav-links a {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--nx-muted) !important;
    min-height: 44px;
}

html body.nx-landing-guia #navbar-main .nav-links a:hover,
html body.nx-landing-guia .guia-navbar .nav-links a:hover {
    color: var(--nx-text) !important;
}

html body.nx-landing-guia #navbar-main .nav-links a::after,
html body.nx-landing-guia .guia-navbar .nav-links a::after {
    background: var(--brand-secondary) !important;
}

html body.nx-landing-guia #navbar-main .nav-wpp,
html body.nx-landing-guia .guia-navbar .nav-wpp {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

html body.nx-landing-guia #navbar-main #navMobileMenu.nav-mobile,
html body.nx-landing-guia #navMobileMenu.nav-mobile {
    background: var(--nx-surface) !important;
    border-top: 1px solid var(--nx-line) !important;
}

html body.nx-landing-guia #navMobileMenu .nav-mobile-inner a {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    color: var(--nx-muted) !important;
    border-bottom-color: var(--nx-line) !important;
}

html body.nx-landing-guia #navMobileMenu .nav-mobile-inner a:hover {
    color: var(--nx-text) !important;
    background: var(--nx-field) !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #navbar-main .nav-inner,
    html body.nx-landing-guia #navbar-main #topo.nav-inner,
    html body.nx-landing-guia .guia-navbar .nav-inner {
        padding: 0 20px !important;
    }
}

/*
 * Containers — conteúdo útil 1280 (max-width 1344 + pad 32).
 * Anula theme :has(#footer.apu-footer) { max-width:1160px !important }
 * e landing-base .c-xl { 1200 } nas seções do shell.
 * Hero: só .c-xl do #topo1/#sk_hero (grid 1200 / media 1000 → G2).
 */
html body.nx-landing-guia #produtos .guia-prod-search-hero > .c-xl,
html body.nx-landing-guia #produtos .imob-search-hero > .c-xl,
html body.nx-landing-guia #produtos > .c-xl.imob-listings-body,
html body.nx-landing-guia #produtos .c-xl.imob-listings-body,
html body.nx-landing-guia #guiacomercial > .c-xl,
html body.nx-landing-guia #guiacomercial_legado > .c-xl,
html body.nx-landing-guia #loja > .c-xl.imob-listings-body,
html body.nx-landing-guia #loja .c-xl.imob-listings-body,
html body.nx-landing-guia #ofertas > .c-xl,
html body.nx-landing-guia #hero_wrapper #topo1 .c-xl,
html body.nx-landing-guia #topo1 .c-xl,
html body.nx-landing-guia #hero_wrapper #sk_hero .c-xl,
html body.nx-landing-guia #sk_hero .c-xl {
    max-width: 1344px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Theme :has(#footer.apu-footer) — lista espelhada + .nx-landing-guia */
html body.nx-landing-guia:has(#footer.apu-footer) #bloco3 > .container,
html body.nx-landing-guia:has(#footer.apu-footer) #sobre_nos > .container,
html body.nx-landing-guia:has(#footer.apu-footer) #maps > .container,
html body.nx-landing-guia:has(#footer.apu-footer) #galeria > .container,
html body.nx-landing-guia:has(#footer.apu-footer) #galeria > .container-fluid,
html body.nx-landing-guia:has(#footer.apu-footer) #banner_slider > .c-lg,
html body.nx-landing-guia #bloco3 > .container,
html body.nx-landing-guia #sobre_nos > .container,
html body.nx-landing-guia #perguntas_frequentes > .container,
html body.nx-landing-guia #maps > .container,
html body.nx-landing-guia #galeria > .container,
html body.nx-landing-guia #galeria > .container-fluid,
html body.nx-landing-guia #banner_slider > .c-lg {
    max-width: 1344px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #produtos .guia-prod-search-hero > .c-xl,
    html body.nx-landing-guia #produtos .imob-search-hero > .c-xl,
    html body.nx-landing-guia #produtos > .c-xl.imob-listings-body,
    html body.nx-landing-guia #produtos .c-xl.imob-listings-body,
    html body.nx-landing-guia #guiacomercial > .c-xl,
    html body.nx-landing-guia #guiacomercial_legado > .c-xl,
    html body.nx-landing-guia #loja > .c-xl.imob-listings-body,
    html body.nx-landing-guia #loja .c-xl.imob-listings-body,
    html body.nx-landing-guia #ofertas > .c-xl,
    html body.nx-landing-guia #hero_wrapper #topo1 .c-xl,
    html body.nx-landing-guia #topo1 .c-xl,
    html body.nx-landing-guia #hero_wrapper #sk_hero .c-xl,
    html body.nx-landing-guia #sk_hero .c-xl,
    html body.nx-landing-guia:has(#footer.apu-footer) #bloco3 > .container,
    html body.nx-landing-guia:has(#footer.apu-footer) #sobre_nos > .container,
    html body.nx-landing-guia:has(#footer.apu-footer) #maps > .container,
    html body.nx-landing-guia:has(#footer.apu-footer) #galeria > .container,
    html body.nx-landing-guia:has(#footer.apu-footer) #galeria > .container-fluid,
    html body.nx-landing-guia:has(#footer.apu-footer) #banner_slider > .c-lg,
    html body.nx-landing-guia:has(#footer.apu-footer) #perguntas_frequentes > .container,
    html body.nx-landing-guia #bloco3 > .container,
    html body.nx-landing-guia #sobre_nos > .container,
    html body.nx-landing-guia #perguntas_frequentes > .container,
    html body.nx-landing-guia #maps > .container,
    html body.nx-landing-guia #galeria > .container,
    html body.nx-landing-guia #galeria > .container-fluid,
    html body.nx-landing-guia #banner_slider > .c-lg {
        max-width: none !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* =============================================================================
 * G3a — GUIA: Catálogo de Experiências (#guiacomercial + #guiacomercial_legado)
 * Escopo: body.nx-landing-guia. NÃO: #produtos/#loja (G3b), hero, modais, footer.
 * Vence landing-theme GUIA + guia.css (#ids + !important).
 * ============================================================================= */

/* --- Seção: pad 48/80, fundo neutro --- */
html body.nx-landing-guia #guiacomercial.imob-ofertas-section,
html body.nx-landing-guia #guiacomercial.imob-listings-section--guia,
html body.nx-landing-guia #guiacomercial_legado.imob-ofertas-section,
html body.nx-landing-guia #guiacomercial_legado.imob-listings-section--guia {
    padding: 48px 0 48px !important; /* G5: ~96px entre seções (antes 48/80) */
    background: transparent !important;
    background-color: transparent !important;
}

/* --- Cabeçalho: alinhado à esquerda --- */
html body.nx-landing-guia #guiacomercial .imob-section-head,
html body.nx-landing-guia #guiacomercial_legado .imob-section-head {
    text-align: left !important;
    margin: 0 0 24px !important;
}

html body.nx-landing-guia #guiacomercial .imob-section-head .eyebrow,
html body.nx-landing-guia #guiacomercial_legado .imob-section-head .eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    line-height: 1.3 !important;
}

html body.nx-landing-guia #guiacomercial .imob-section-head .eyebrow::before,
html body.nx-landing-guia #guiacomercial_legado .imob-section-head .eyebrow::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html body.nx-landing-guia #guiacomercial .imob-section-head .eyebrow i,
html body.nx-landing-guia #guiacomercial_legado .imob-section-head .eyebrow i {
    color: var(--nx-muted) !important;
    opacity: 0.9;
}

html body.nx-landing-guia #guiacomercial .imob-section-head .sec-title,
html body.nx-landing-guia #guiacomercial_legado .imob-section-head .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-guia #guiacomercial .imob-section-head .imob-search-sub,
html body.nx-landing-guia #guiacomercial_legado .imob-section-head .imob-search-sub {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    margin: 8px 0 0 !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #guiacomercial .imob-section-head .sec-title,
    html body.nx-landing-guia #guiacomercial_legado .imob-section-head .sec-title {
        font-size: 28px !important;
    }
}

/* --- Painel de filtros --- */
html body.nx-landing-guia #guiacomercial .imob-oferta-toolbar,
html body.nx-landing-guia #guiacomercial_legado .imob-oferta-toolbar {
    margin: 0 0 28px !important;
}

html body.nx-landing-guia #guiacomercial .imob-search-panel.guia-search-panel,
html body.nx-landing-guia #guiacomercial .guia-search-panel,
html body.nx-landing-guia #guiacomercial_legado .imob-search-panel.guia-search-panel,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia.guia-search-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    background: var(--nx-surface) !important;
    background-image: none !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    grid-template-columns: none !important;
}

html body.nx-landing-guia #guiacomercial .guia-search-grid,
html body.nx-landing-guia #guiacomercial_legado .guia-search-grid,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .guia-search-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
}

html body.nx-landing-guia #guiacomercial .guia-search-grid .imob-search-item,
html body.nx-landing-guia #guiacomercial .guia-search-grid .imob-search-item:nth-child(n),
html body.nx-landing-guia #guiacomercial_legado .guia-search-grid .imob-search-item,
html body.nx-landing-guia #guiacomercial_legado .guia-search-grid .imob-search-item:nth-child(n) {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    min-width: 0 !important;
    grid-column: auto !important;
    margin: 0 !important;
}

html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-label,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-label,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-label {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
    line-height: 1.3 !important;
}

html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-label i,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-label i {
    color: var(--nx-muted) !important;
    opacity: 0.85;
}

html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-input,
html body.nx-landing-guia #guiacomercial .guia-search-panel .form-select.imob-search-input,
html body.nx-landing-guia #guiacomercial .guia-search-panel .form-control.imob-search-input,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-input,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .form-select.imob-search-input,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-input {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
    width: 100% !important;
}

html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-input:focus,
html body.nx-landing-guia #guiacomercial .guia-search-panel .form-select.imob-search-input:focus,
html body.nx-landing-guia #guiacomercial .guia-search-panel .form-control.imob-search-input:focus,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-input:focus,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-input:focus {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
    background: var(--nx-surface) !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-footer,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-footer,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    justify-content: flex-start !important;
}

/* Limpar / Buscar — branco + contorno */
html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action,
html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action.imob-search-action--ghost,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-action,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-action.imob-search-action--ghost,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-action {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap;
}

html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action:hover,
html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action.imob-search-action--ghost:hover,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-action:hover,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-action:hover {
    border-color: var(--nx-line) !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Destaques — sem amarelo fixo; ativo com color-mix da marca */
html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action.imob-search-action--star,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-action.imob-search-action--star,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-action.imob-search-action--star {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action.imob-search-action--star:hover,
html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action.imob-search-action--star.active,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-action.imob-search-action--star:hover,
html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-action.imob-search-action--star.active,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-action.imob-search-action--star:hover,
html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-action.imob-search-action--star.active {
    border-color: var(--brand-secondary) !important;
    background: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    background-color: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #guiacomercial .guia-search-grid,
    html body.nx-landing-guia #guiacomercial_legado .guia-search-grid,
    html body.nx-landing-guia #guiacomercial_legado #collapse_guia .guia-search-grid {
        grid-template-columns: 1fr !important;
    }

    html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-footer,
    html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-footer {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body.nx-landing-guia #guiacomercial .guia-search-panel .imob-search-action,
    html body.nx-landing-guia #guiacomercial_legado .guia-search-panel .imob-search-action,
    html body.nx-landing-guia #guiacomercial_legado #collapse_guia .imob-search-action {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --- Grid --- */
html body.nx-landing-guia #guiacomercial #repeat_guiacom_produtos.guia-com-grid,
html body.nx-landing-guia #guiacomercial .guia-com-grid,
html body.nx-landing-guia #guiacomercial_legado #repeat_guia.guia-com-grid,
html body.nx-landing-guia #guiacomercial_legado .guia-com-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    margin: 0 !important;
    width: 100% !important;
}

html body.nx-landing-guia #guiacomercial .guia-com-grid > *,
html body.nx-landing-guia #guiacomercial_legado .guia-com-grid > *,
html body.nx-landing-guia #guiacomercial .guia-com-grid .citem.guia-card,
html body.nx-landing-guia #guiacomercial_legado .guia-com-grid .citem.guia-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    justify-self: stretch !important;
    height: 100% !important;
}

@media (max-width: 767.98px) {
    html body.nx-landing-guia #guiacomercial #repeat_guiacom_produtos.guia-com-grid,
    html body.nx-landing-guia #guiacomercial .guia-com-grid,
    html body.nx-landing-guia #guiacomercial_legado #repeat_guia.guia-com-grid,
    html body.nx-landing-guia #guiacomercial_legado .guia-com-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* --- Card .guia-card --- */
html body.nx-landing-guia #guiacomercial #repeat_guiacom_produtos .citem.guia-card,
html body.nx-landing-guia #guiacomercial .citem.guia-card,
html body.nx-landing-guia #guiacomercial_legado #repeat_guia .citem.guia-card,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

html body.nx-landing-guia #guiacomercial #repeat_guiacom_produtos .citem.guia-card:hover,
html body.nx-landing-guia #guiacomercial .citem.guia-card:hover,
html body.nx-landing-guia #guiacomercial_legado #repeat_guia .citem.guia-card:hover,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card:hover {
    transform: none !important;
    border-color: var(--nx-line) !important;
    box-shadow: 0 8px 24px rgba(15, 28, 26, 0.06) !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .cimg.guia-card__media,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__media,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cimg.guia-card__media,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__media {
    position: relative !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    overflow: hidden !important;
    background: var(--nx-field) !important;
    border-radius: 0 !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .cimg img,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__media img,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cimg img,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: none !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card:hover .cimg img,
html body.nx-landing-guia #guiacomercial .citem.guia-card:hover .guia-card__media img,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card:hover .cimg img,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card:hover .guia-card__media img {
    transform: none !important;
}

/* Placeholder sem <img> */
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__media:not(:has(img)),
html body.nx-landing-guia #guiacomercial .citem.guia-card .cimg:not(:has(img)),
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__media:not(:has(img)),
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cimg:not(:has(img)) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--nx-field) !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__media:not(:has(img))::before,
html body.nx-landing-guia #guiacomercial .citem.guia-card .cimg:not(:has(img))::before,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__media:not(:has(img))::before,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cimg:not(:has(img))::before {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 40px;
    line-height: 1;
    color: var(--nx-line);
    display: block;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .cbody.guia-card__body,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__body,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cbody.guia-card__body,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 10px !important;
    background: var(--nx-surface) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .ctitle.guia-card__title,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__title,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .ctitle.guia-card__title,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__title {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .cdesc.guia-card__desc,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__desc,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cdesc.guia-card__desc,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__desc,
html body.nx-landing-guia #guiacomercial #repeat_guiacom_produtos .guia-card__desc {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
    max-height: none !important;
}

/* Selos: forma/tipografia; NÃO forçar background (dmx-style cor_primaria) */
html body.nx-landing-guia #guiacomercial .citem.guia-card .cbadge.guia-card__badge,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__badge,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cbadge.guia-card__badge,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__badge {
    border-radius: 999px !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    /* background via dmx-style — preservado */
}

html body.nx-landing-guia #guiacomercial #repeat_guiacom_produtos .guia-card__detalhe,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__detalhe {
    border-radius: 999px !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    /* background rgba legado — não forçar cor de marca */
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .cstar.guia-card__star,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__star,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .cstar.guia-card__star,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__star {
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__action,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__action {
    margin-top: auto !important;
    padding-top: 4px !important;
    width: 100% !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .bcwpp-full.guia-card__btn,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__btn,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .bcwpp-full.guia-card__btn,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__btn {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    border-color: var(--wpp) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #guiacomercial .citem.guia-card .bcwpp-full.guia-card__btn:hover,
html body.nx-landing-guia #guiacomercial .citem.guia-card .guia-card__btn:hover,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .bcwpp-full.guia-card__btn:hover,
html body.nx-landing-guia #guiacomercial_legado .citem.guia-card .guia-card__btn:hover {
    background: var(--wpp-dk, #1ebc5a) !important;
    background-color: var(--wpp-dk, #1ebc5a) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* --- Pager (só #guiacomercial novo) --- */
html body.nx-landing-guia #guiacomercial .imoveis-pager {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

html body.nx-landing-guia #guiacomercial .imoveis-pager-info {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    color: var(--nx-muted) !important;
}

html body.nx-landing-guia #guiacomercial .imoveis-pager .imob-search-action,
html body.nx-landing-guia #guiacomercial .imoveis-pager .imob-search-action.imob-search-action--ghost {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #guiacomercial .imoveis-pager .imob-search-action.active,
html body.nx-landing-guia #guiacomercial .imoveis-pager .imob-search-action.imob-search-action--ghost.active {
    border-color: var(--brand-secondary) !important;
    background: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    color: var(--nx-text) !important;
}

@media (prefers-reduced-motion: reduce) {
    html body.nx-landing-guia #guiacomercial .citem.guia-card,
    html body.nx-landing-guia #guiacomercial .citem.guia-card:hover,
    html body.nx-landing-guia #guiacomercial_legado .citem.guia-card,
    html body.nx-landing-guia #guiacomercial_legado .citem.guia-card:hover {
        transition: none !important;
    }
}

/* =============================================================================
 * G3b — GUIA: #produtos + #loja (filtros + cards .apu-card / .gcard-*)
 * Escopo: body.nx-landing-guia. NÃO: hero, #guiacomercial, modais, footer, FAB.
 * Vence landing-theme GUIA + guia.css (.gcard-*, .guia-prod-search-*).
 * ============================================================================= */

/* --- Seções --- */
html body.nx-landing-guia #produtos.imob-listings-section,
html body.nx-landing-guia #loja.imob-listings-section {
    padding: 48px 0 48px !important; /* G5: ~96px entre seções */
    background: transparent !important;
    background-color: transparent !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-hero.imob-search-hero--compact,
html body.nx-landing-guia #produtos .guia-prod-search-hero {
    padding: 0 0 24px !important;
    margin-top: 0 !important;
    background: transparent !important;
}

html body.nx-landing-guia #produtos .imob-listings-body,
html body.nx-landing-guia #produtos .c-xl.imob-listings-body,
html body.nx-landing-guia #loja .imob-listings-body,
html body.nx-landing-guia #loja .c-xl.imob-listings-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --- Cabeçalhos (hero search + results + loja) --- */
html body.nx-landing-guia #produtos .imob-search-hero-head,
html body.nx-landing-guia #produtos .imob-results-head,
html body.nx-landing-guia #loja .imob-section-head {
    text-align: left !important;
    margin: 0 0 24px !important;
}

html body.nx-landing-guia #produtos .imob-results-head .eyebrow,
html body.nx-landing-guia #loja .imob-section-head .eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    line-height: 1.3 !important;
}

html body.nx-landing-guia #produtos .imob-results-head .eyebrow::before,
html body.nx-landing-guia #loja .imob-section-head .eyebrow::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html body.nx-landing-guia #produtos .imob-results-head .eyebrow i,
html body.nx-landing-guia #loja .imob-section-head .eyebrow i {
    color: var(--nx-muted) !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-hero .imob-search-title,
html body.nx-landing-guia #produtos .imob-search-hero .imob-search-title,
html body.nx-landing-guia #produtos .imob-results-title,
html body.nx-landing-guia #produtos .sec-title.imob-results-title,
html body.nx-landing-guia #loja .imob-section-head .sec-title,
html body.nx-landing-guia #loja .sec-title.imob-results-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-hero .imob-search-sub,
html body.nx-landing-guia #produtos .imob-search-hero .imob-search-sub {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    margin: 8px 0 0 !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #produtos .guia-prod-search-hero .imob-search-title,
    html body.nx-landing-guia #produtos .imob-search-hero .imob-search-title,
    html body.nx-landing-guia #produtos .imob-results-title,
    html body.nx-landing-guia #produtos .sec-title.imob-results-title,
    html body.nx-landing-guia #loja .imob-section-head .sec-title,
    html body.nx-landing-guia #loja .sec-title.imob-results-title {
        font-size: 28px !important;
    }
}

/* --- Painel filtros #produtos (.guia-prod-search-*) --- */
html body.nx-landing-guia #produtos .imob-search-panel.guia-prod-search-panel,
html body.nx-landing-guia #produtos .guia-prod-search-panel,
html body.nx-landing-guia #produtos #pesquisas_prod.imob-search-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    background: var(--nx-surface) !important;
    background-image: none !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-grid.imob-search-grid,
html body.nx-landing-guia #produtos .guia-prod-search-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto !important;
    gap: 16px !important;
    align-items: end !important;
    width: 100% !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-grid .imob-search-item,
html body.nx-landing-guia #produtos .guia-prod-search-grid .imob-search-item:nth-child(n),
html body.nx-landing-guia #produtos .guia-prod-search-grid .imob-search-item--wide {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    min-width: 0 !important;
    grid-column: auto !important;
    margin: 0 !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-panel .imob-search-label {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-panel .imob-search-label i {
    color: var(--nx-muted) !important;
    opacity: 0.85;
}

html body.nx-landing-guia #produtos .guia-prod-search-panel .imob-search-input,
html body.nx-landing-guia #produtos .guia-prod-search-panel .form-select.imob-search-input,
html body.nx-landing-guia #produtos .guia-prod-search-panel .form-control.imob-search-input,
html body.nx-landing-guia #produtos .guia-prod-search-grid .imob-search-input {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
    width: 100% !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-panel .imob-search-input:focus,
html body.nx-landing-guia #produtos .guia-prod-search-panel .form-select.imob-search-input:focus,
html body.nx-landing-guia #produtos .guia-prod-search-panel .form-control.imob-search-input:focus {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
    background: var(--nx-surface) !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action,
html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action.imob-search-action--ghost {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap;
}

html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action:hover,
html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action.imob-search-action--ghost:hover {
    border-color: var(--nx-line) !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action.imob-search-action--star {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action.imob-search-action--star:hover,
html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action.imob-search-action--star.active {
    border-color: var(--brand-secondary) !important;
    background: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    background-color: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #produtos .guia-prod-search-grid.imob-search-grid,
    html body.nx-landing-guia #produtos .guia-prod-search-grid {
        grid-template-columns: 1fr !important;
    }

    html body.nx-landing-guia #produtos .guia-prod-search-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        grid-column: 1 / -1 !important;
    }

    html body.nx-landing-guia #produtos .guia-prod-search-actions .imob-search-action {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --- Painel filtros #loja (.imob-oferta-filter-panel) --- */
html body.nx-landing-guia #loja .imob-oferta-toolbar {
    margin: 0 0 28px !important;
}

html body.nx-landing-guia #loja .imob-oferta-filter-panel {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    background: var(--nx-surface) !important;
    background-image: none !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #loja .imob-oferta-filter-panel .imob-search-label {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
}

html body.nx-landing-guia #loja .imob-oferta-filter-panel .imob-search-label i {
    color: var(--nx-muted) !important;
}

html body.nx-landing-guia #loja .imob-oferta-filter-panel .imob-search-input,
html body.nx-landing-guia #loja .imob-oferta-filter-panel .form-select.imob-search-input,
html body.nx-landing-guia #loja #select_loja_categoria.imob-search-input {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-size: 16px !important;
    padding: 0 16px !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #loja .imob-oferta-filter-actions .imob-search-action,
html body.nx-landing-guia #loja .imob-oferta-filter-actions .imob-search-action.imob-search-action--ghost {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #loja .imob-oferta-filter-panel {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body.nx-landing-guia #loja .imob-oferta-filter-actions .imob-search-action {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --- Grid #produtos / #loja --- */
html body.nx-landing-guia #produtos #repeat_produtos.guia-prod-grid,
html body.nx-landing-guia #loja #repeat_loja_produtos.guia-prod-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    margin: 0 !important;
    width: 100% !important;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

html body.nx-landing-guia #produtos #repeat_produtos.guia-prod-grid > [class*="col"],
html body.nx-landing-guia #loja #repeat_loja_produtos.guia-prod-grid > [class*="col"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
}

@media (max-width: 767.98px) {
    html body.nx-landing-guia #produtos #repeat_produtos.guia-prod-grid,
    html body.nx-landing-guia #loja #repeat_loja_produtos.guia-prod-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* --- Cards .apu-card --- */
html body.nx-landing-guia #produtos #repeat_produtos .apu-card,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    transform: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card:hover,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card:hover {
    transform: none !important;
    border-color: var(--nx-line) !important;
    box-shadow: 0 8px 24px rgba(15, 28, 26, 0.06) !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .hcard-img-wrap,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .hcard-img-wrap {
    position: relative !important;
    overflow: hidden !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    background: var(--nx-field) !important;
    border-radius: 0 !important;
}

html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .hcard-img-wrap a {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .hcard-img-wrap img,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .hcard-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: none !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card:hover .hcard-img-wrap img,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card:hover .hcard-img-wrap img {
    transform: none !important;
}

/* Placeholder: markup real é .hcard-img-wrap (não .cimg) */
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .hcard-img-wrap:not(:has(img)),
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .hcard-img-wrap:not(:has(img)),
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .cimg:not(:has(img)),
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .cimg:not(:has(img)) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--nx-field) !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .hcard-img-wrap:not(:has(img))::before,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .hcard-img-wrap:not(:has(img))::before,
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .cimg:not(:has(img))::before,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .cimg:not(:has(img))::before {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 40px;
    line-height: 1;
    color: var(--nx-line);
    display: block;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-body,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 10px !important;
    background: var(--nx-surface) !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-title,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-title {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-desc,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-desc {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
}

html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .loja-card__price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
}

html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
    text-align: left !important;
}

html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .loja-card__video-pill {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(15, 28, 26, 0.78) !important;
    color: #fff !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .loja-card__video-pill:hover {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Selos: forma/tipografia; NÃO forçar bg de .gcard-badge (dmx-style cor_primaria) */
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-badge,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-badge {
    border-radius: 999px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-badge-dest,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-badge-dest {
    border-radius: 999px !important;
    box-shadow: none !important;
    /* âmbar legado do destaque — forma só; bg #fbbf24 do guia.css permanece se desejado */
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .apu-amenity-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .apu-amenity {
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    /* border-color via dmx-style — não forçar */
}

/* --- Ações (flex: botão display:none não conta) ---
 * G3e: força flex-direction:row — vence loja_landing.css
 * (#repeat_loja_produtos .gcard-actions { flex-direction:column } @≤575.98)
 * e guia.css (.gcard-actions { flex-direction:column } @≤576).
 * Sem row, flex-basis 100% vira altura → botões altos/estreitos. */
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions,
html body.nx-landing-guia #ofertas .gcard-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding: 0 20px 20px !important;
    background: transparent !important;
    background-color: transparent !important;
    border-top: none !important;
    border-top-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-wpp,
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-pri,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .apu-btn-pri,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .bcview,
html body.nx-landing-guia #ofertas .gcard-actions .apu-btn-wpp,
html body.nx-landing-guia #ofertas .gcard-actions .apu-btn-pri,
html body.nx-landing-guia #ofertas .gcard-actions .bcview {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: auto !important;
    gap: 8px !important;
    flex: 1 1 calc(50% - 5px) !important;
    min-width: 0 !important;
    width: auto !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap !important;
}

/* #produtos: Fale conosco = WPP */
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-wpp {
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-wpp:hover {
    background: var(--wpp-dk, #1ebc5a) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* #produtos Ver (.apu-btn-pri): tamanho/tipografia; bg via dmx-style cor_primaria — não forçar */
html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-pri {
    color: var(--lt-on-p, #fff) !important;
    border: 1px solid transparent !important;
    /* background: dmx-style — preservado */
}

html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-pri:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.95);
}

/* #loja: Comprar / Consultar */
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .apu-btn-pri.js-loja-add,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .apu-btn-pri.js-loja-consultar {
    background: var(--brand-primary) !important;
    background-color: var(--brand-primary) !important;
    color: var(--lt-on-p, #fff) !important;
    border: 1px solid transparent !important;
}

html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .apu-btn-pri.js-loja-add:hover,
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .apu-btn-pri.js-loja-consultar:hover {
    background: var(--brand-primary) !important;
    color: var(--lt-on-p, #fff) !important;
    filter: brightness(0.95) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* #loja: Detalhes */
html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .bcview {
    background: var(--nx-surface) !important;
    background-color: var(--nx-surface) !important;
    color: var(--nx-text) !important;
    border: 1px solid var(--nx-line) !important;
}

html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .bcview:hover {
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-wpp,
    html body.nx-landing-guia #produtos #repeat_produtos .apu-card .gcard-actions .apu-btn-pri,
    html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .apu-btn-pri,
    html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card .gcard-actions .bcview,
    html body.nx-landing-guia #ofertas .gcard-actions .apu-btn-wpp,
    html body.nx-landing-guia #ofertas .gcard-actions .apu-btn-pri,
    html body.nx-landing-guia #ofertas .gcard-actions .bcview {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.nx-landing-guia #produtos #repeat_produtos .apu-card,
    html body.nx-landing-guia #produtos #repeat_produtos .apu-card:hover,
    html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card,
    html body.nx-landing-guia #loja #repeat_loja_produtos .apu-card:hover {
        transition: none !important;
    }
}

/* =============================================================================
 * G3c — GUIA: #ofertas (Promoções) + ajuste fino gcard-actions
 * Escopo: body.nx-landing-guia. NÃO: hero, #guiacomercial, modais, footer, FAB.
 * Vence theme OFERTAS + bloco v2 global :is(#ofertas) onde divergir (r24, 3/2…).
 * ============================================================================= */

/* --- #produtos: evitar título CMS duplicado (hero sub + results-head) ---
 * Hero: "Explore nossos produtos" + .imob-search-sub {{titulo_produtos}}
 * Results: eyebrow + h2 {{titulo_produtos}}  → esconde results-head.
 * NÃO VERIFICADO VISUALMENTE (seção ausente na empresa de teste). */
html body.nx-landing-guia #produtos .imob-results-head {
    display: none !important;
}

/* --- Seção #ofertas --- */
html body.nx-landing-guia #ofertas.imob-ofertas-section {
    padding: 48px 0 48px !important; /* G5: ~96px entre seções */
    background: transparent !important;
    background-color: transparent !important;
}

html body.nx-landing-guia #ofertas .imob-section-head {
    text-align: left !important;
    margin: 0 0 24px !important;
}

html body.nx-landing-guia #ofertas .imob-section-head .eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    line-height: 1.3 !important;
}

html body.nx-landing-guia #ofertas .imob-section-head .eyebrow::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html body.nx-landing-guia #ofertas .imob-section-head .eyebrow i {
    color: var(--nx-muted) !important;
}

html body.nx-landing-guia #ofertas .imob-section-head .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-guia #ofertas .imob-section-head .imob-search-sub,
html body.nx-landing-guia #ofertas .imob-section-head p {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    margin: 8px 0 0 !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #ofertas .imob-section-head .sec-title {
        font-size: 28px !important;
    }
}

/* --- Filtros #ofertas --- */
html body.nx-landing-guia #ofertas .imob-oferta-toolbar {
    margin: 0 0 28px !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-panel {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    background: var(--nx-surface) !important;
    background-image: none !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-panel .imob-search-label {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-panel .imob-search-label i {
    color: var(--nx-muted) !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-panel .imob-search-input,
html body.nx-landing-guia #ofertas .imob-oferta-filter-panel .form-select.imob-search-input,
html body.nx-landing-guia #ofertas #select_ofertas_categoria.imob-search-input {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    font-size: 16px !important;
    padding: 0 16px !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-panel .imob-search-input:focus,
html body.nx-landing-guia #ofertas #select_ofertas_categoria.imob-search-input:focus {
    border-color: var(--brand-secondary) !important;
    outline: 2px solid var(--brand-secondary) !important;
    outline-offset: 2px;
    background: var(--nx-surface) !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action,
html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action.imob-search-action--ghost {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action:hover,
html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action.imob-search-action--ghost:hover {
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    border-color: var(--nx-line) !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action.imob-search-action--star {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action.imob-search-action--star:hover,
html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action.imob-search-action--star.active {
    border-color: var(--brand-secondary) !important;
    background: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    background-color: color-mix(in srgb, var(--brand-secondary) 14%, var(--nx-surface)) !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #ofertas .imob-oferta-filter-panel {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body.nx-landing-guia #ofertas .imob-oferta-filter-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    html body.nx-landing-guia #ofertas .imob-oferta-filter-actions .imob-search-action {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --- Grid #ofertas --- */
html body.nx-landing-guia #ofertas #repeat_ofertas.ofertas-grid,
html body.nx-landing-guia #ofertas .cgrid-of.ofertas-grid,
html body.nx-landing-guia #ofertas .ofertas-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 767.98px) {
    html body.nx-landing-guia #ofertas #repeat_ofertas.ofertas-grid,
    html body.nx-landing-guia #ofertas .cgrid-of.ofertas-grid,
    html body.nx-landing-guia #ofertas .ofertas-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* --- Cards .oferta-card --- */
html body.nx-landing-guia #ofertas #repeat_ofertas .citem.oferta-card,
html body.nx-landing-guia #ofertas .citem.oferta-card {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
    height: 100% !important;
}

html body.nx-landing-guia #ofertas #repeat_ofertas .citem.oferta-card:hover,
html body.nx-landing-guia #ofertas .citem.oferta-card:hover {
    transform: none !important;
    border-color: var(--nx-line) !important;
    box-shadow: 0 8px 24px rgba(15, 28, 26, 0.06) !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cimg.oferta-card__media,
html body.nx-landing-guia #ofertas .citem.oferta-card .cimg,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__media {
    position: relative !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    overflow: hidden !important;
    background: var(--nx-field) !important;
    width: 100% !important;
    border-radius: 0 !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cimg > a,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__media > a {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cimg img,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: none !important;
    position: absolute !important;
    inset: 0 !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card:hover .cimg img,
html body.nx-landing-guia #ofertas .citem.oferta-card:hover .oferta-card__media img {
    transform: none !important;
}

/* Placeholder sem imagem */
html body.nx-landing-guia #ofertas .citem.oferta-card .cimg:not(:has(img)),
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__media:not(:has(img)) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--nx-field) !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cimg:not(:has(img))::before,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__media:not(:has(img))::before {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 40px;
    line-height: 1;
    color: var(--nx-line);
    display: block;
    position: relative;
    z-index: 1;
}

/* Badge: forma/tipo; bg via dmx-style cor_primaria — NÃO forçar */
html body.nx-landing-guia #ofertas .citem.oferta-card .cbadge.oferta-card__badge,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__badge,
html body.nx-landing-guia #ofertas .citem.oferta-card .cbadge {
    border-radius: 999px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    padding: 6px 12px !important;
    z-index: 3;
}

/* Like: pílula escura; comportamento JS intacto */
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__like {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    height: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: rgba(15, 28, 26, 0.78) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    color: #fff !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: 3;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__like:hover {
    background: rgba(15, 28, 26, 0.78) !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__like.is-liked,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__like.is-liked i {
    /* estado curtido: cor do JS/legado — não sobrescrever além do necessário */
    color: #ff6b6b !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cstar.oferta-card__star,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__star {
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    z-index: 3;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cbody.oferta-card__body,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__body,
html body.nx-landing-guia #ofertas .citem.oferta-card .cbody {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 10px !important;
    background: var(--nx-surface) !important;
    text-align: left !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cprice.oferta-card__price,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__price,
html body.nx-landing-guia #ofertas .citem.oferta-card .cprice {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: var(--nx-text) !important;
    margin: 0 !important;
    text-align: left !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .ctitle.oferta-card__title,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__title,
html body.nx-landing-guia #ofertas .citem.oferta-card .ctitle {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .cdesc.oferta-card__desc,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__desc,
html body.nx-landing-guia #ofertas .citem.oferta-card .cdesc {
    font-family: 'DM Sans', 'Public Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    text-align: left !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__action {
    margin-top: auto !important;
    width: 100% !important;
}

/* Contatar: --wpp (markup bcwpp-full + ícone WhatsApp) */
html body.nx-landing-guia #ofertas .citem.oferta-card .bcwpp-full.oferta-card__btn,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__btn,
html body.nx-landing-guia #ofertas .citem.oferta-card .bcwpp-full {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    border: 1px solid transparent !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #ofertas .citem.oferta-card .bcwpp-full.oferta-card__btn:hover,
html body.nx-landing-guia #ofertas .citem.oferta-card .oferta-card__btn:hover,
html body.nx-landing-guia #ofertas .citem.oferta-card .bcwpp-full:hover {
    background: var(--wpp-dk, #1ebc5a) !important;
    background-color: var(--wpp-dk, #1ebc5a) !important;
    color: #fff !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html body.nx-landing-guia #ofertas .citem.oferta-card,
    html body.nx-landing-guia #ofertas .citem.oferta-card:hover {
        transition: none !important;
    }
}

/* =============================================================================
 * G4 — GUIA: modais (body.nx-landing-guia)
 * Reusa sistema LEAD (casca/campos/iti/LGPD/fechar/backdrop).
 * Já cobertos globalmente (html body :is): #whatsapp, #whatsapp_link,
 *   #modalsucesso, #modal_oferta, #modal_loja_checkout — casca/campos.
 * Faltava: #modal_guiacom_*, #modal_guia, #modal_guia_temporada, #modalcontatos,
 *   #modalsucesso_proprietario; labels .apu-label; CTA .apu-btn-wpp;
 *   .apu-modal-subtitle (faixa amarela); .apu-contact-btn coloridos;
 *   #modal_guiacom_detalhe (imoveis-detalhe).
 * ============================================================================= */

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .modal-dialog {
    max-width: 440px !important;
    margin: 16px auto !important;
}

html body.nx-landing-guia #modal_guiacom_detalhe .modal-dialog {
    max-width: 880px !important;
}

html body.nx-landing-guia #modal_guia_temporada .modal-dialog {
    max-width: 500px !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .modal-content,
html body.nx-landing-guia #modal_guiacom_detalhe .modal-content.imoveis-detalhe {
    background: #fff !important;
    background-color: var(--nx-surface, #fff) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 64px rgba(15, 28, 26, 0.18) !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .modal-header {
    background: var(--nx-surface, #fff) !important;
    border: 0 !important;
    border-bottom: 0 !important;
    padding: 28px 24px 8px !important;
    position: relative !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada
) .modal-header img,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada
) .apu-modal-logo {
    height: 44px !important;
    max-width: 160px !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .btn-close,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .modal-header .btn-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 2;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background-color: var(--nx-field) !important;
    background-size: 12px !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .btn-close:hover,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .btn-close:focus {
    background-color: var(--nx-line) !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guiacom_contatos,
    #modal_guiacom_detalhe,
    #modal_guia_temporada,
    #modalcontatos,
    #modal_loja_checkout,
    #modal_loja_detalhe,
    #modal_loja_consulta,
    #modal_loja_video
) .modal-body {
    padding: 8px 24px 28px !important;
}

html body.nx-landing-guia :is(
    #modal_guiacom_contatos,
    #modalcontatos
) .modal-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    color: var(--nx-text) !important;
    text-align: center !important;
    padding-right: 44px !important; /* G4b: folga do btn-close absoluto */
    padding-left: 44px !important; /* G5: espelha à esquerda p/ centralizar */
}

html body.nx-landing-guia :is(
    #modal_guiacom_contatos,
    #modalcontatos
) .modal-header {
    padding-right: 44px !important;
}

/* Aviso "Preencha os dados…" — sem faixa amarela (guia.css .apu-modal-subtitle) */
html body.nx-landing-guia :is(#modal_guia, #modal_guiacom_lead, #modal_guia_temporada) .apu-modal-subtitle {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: 0 !important;
    padding: 0 24px 4px !important;
    text-align: left !important;
}

html body.nx-landing-guia :is(#modal_guia, #modal_guiacom_lead, #modal_guia_temporada) .apu-modal-subtitle p {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
    background: var(--nx-field) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Labels .apu-label (guia usa apu-label, não form-label) */
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .apu-label,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) label.apu-label {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--nx-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .form-control,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .form-select,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .apu-input,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .apu-select {
    height: 50px !important;
    min-height: 50px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    border-radius: 14px !important;
    background: var(--nx-field) !important;
    border: 1px solid var(--nx-line) !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .iti {
    width: 100% !important;
    display: block !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .iti--allow-dropdown input.form-control,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .iti--allow-dropdown input.apu-input,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .iti--allow-dropdown input[type="tel"],
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .iti--allow-dropdown input[type="text"] {
    padding-left: 52px !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .iti__flag-container,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .iti__selected-flag {
    border-radius: 14px 0 0 14px !important;
    background: transparent !important;
    background-color: transparent !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .form-check-label,
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .form-check-label.small {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada,
    #modal_loja_checkout,
    #modal_loja_consulta
) .form-check-label a {
    color: var(--nx-text) !important;
    text-decoration: underline !important;
}

/* CTA principal .apu-btn-wpp — 54px r16 --wpp (dmx-style.important em #whatsapp_link vence) */
html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada
) .apu-btn-wpp {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia :is(
    #whatsapp,
    #whatsapp_link,
    #modalsucesso,
    #modalsucesso_proprietario,
    #modal_oferta,
    #modal_guia,
    #modal_guiacom_lead,
    #modal_guia_temporada
) .apu-btn-wpp:hover {
    background: var(--wpp-dk, #1ebc5a) !important;
    background-color: var(--wpp-dk, #1ebc5a) !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

html body.nx-landing-guia #modalsucesso_proprietario .apu-btn-sec {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    border: 1px solid var(--nx-line) !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #modalsucesso .apu-success-icon i,
html body.nx-landing-guia #modalsucesso_proprietario .apu-success-icon i {
    color: #16a34a !important;
}

html body.nx-landing-guia #modalsucesso .modal-body h4,
html body.nx-landing-guia #modalsucesso_proprietario .modal-body h4 {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--nx-text) !important;
}

html body.nx-landing-guia #modalsucesso .modal-body h4 small,
html body.nx-landing-guia #modalsucesso_proprietario .modal-body h4 small {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--nx-muted) !important;
}

/* Fieldsets temporada */
html body.nx-landing-guia #modal_guia_temporada .apu-fieldset {
    border: 1px solid var(--nx-line) !important;
    border-radius: 14px !important;
    background: transparent !important;
}

html body.nx-landing-guia #modal_guia_temporada .apu-fieldset-legend {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--nx-muted) !important;
}

/* Contatos: lista neutra; só WhatsApp em --wpp (!important vence inline style) */
html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) #guiacom_contatos_list,
html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .px-3.mt-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .apu-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: var(--nx-text) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .apu-contact-btn i {
    color: inherit !important;
}

html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .apu-contact-btn:hover {
    background: var(--nx-field) !important;
    background-color: var(--nx-field) !important;
    background-image: none !important;
    color: var(--nx-text) !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .apu-contact-btn.bg-success,
html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .apu-contact-btn.bg-success.text-white {
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    background-image: none !important;
    border-color: transparent !important;
    color: #fff !important;
}

html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .apu-contact-btn.bg-success:hover {
    background: var(--wpp-dk, #1ebc5a) !important;
    background-color: var(--wpp-dk, #1ebc5a) !important;
    color: #fff !important;
}

/* #modal_guiacom_detalhe — espelha imoveis-detalhe */
html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-kicker {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--nx-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-title,
html body.nx-landing-guia #modal_guiacom_detalhe .modal-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--nx-text) !important;
}

html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-gallery a,
html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-gallery img {
    border-radius: 16px !important;
    overflow: hidden;
}

html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-block h6 {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--nx-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-text {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: var(--nx-muted) !important;
}

html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-cta .bcwpp,
html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-cta .bcwpp.js-guiacom-contato {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    background: var(--wpp) !important;
    background-color: var(--wpp) !important;
    color: #fff !important;
    border: 0 !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-cta .bcwpp:hover {
    background: var(--wpp-dk, #1ebc5a) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Checkout CTA (já no LEAD; reforça apu-btn-pri no guia) */
html body.nx-landing-guia #modal_loja_checkout .apu-btn-pri,
html body.nx-landing-guia #modal_loja_checkout #loja_checkout_submit {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--brand-primary) !important;
    color: var(--lt-on-p, #fff) !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #modal_loja_checkout .modal-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--nx-text) !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia :is(
        #whatsapp,
        #whatsapp_link,
        #modalsucesso,
        #modalsucesso_proprietario,
        #modal_oferta,
        #modal_guia,
        #modal_guiacom_lead,
        #modal_guiacom_contatos,
        #modal_guiacom_detalhe,
        #modal_guia_temporada,
        #modalcontatos,
        #modal_loja_checkout,
        #modal_loja_detalhe,
        #modal_loja_consulta,
        #modal_loja_video
    ) .modal-dialog {
        max-width: calc(100% - 32px) !important;
        margin: 16px auto !important;
    }

    html body.nx-landing-guia :is(
        #whatsapp,
        #whatsapp_link,
        #modalsucesso,
        #modalsucesso_proprietario,
        #modal_oferta,
        #modal_guia,
        #modal_guiacom_lead,
        #modal_guiacom_contatos,
        #modal_guiacom_detalhe,
        #modal_guia_temporada,
        #modalcontatos,
        #modal_loja_checkout,
        #modal_loja_detalhe,
        #modal_loja_consulta,
        #modal_loja_video
    ) .modal-content {
        border-radius: 24px !important;
        max-height: 90vh !important;
        overflow: hidden !important;
    }

    html body.nx-landing-guia :is(
        #whatsapp,
        #whatsapp_link,
        #modalsucesso,
        #modalsucesso_proprietario,
        #modal_oferta,
        #modal_guia,
        #modal_guiacom_lead,
        #modal_guiacom_contatos,
        #modal_guiacom_detalhe,
        #modal_guia_temporada,
        #modalcontatos,
        #modal_loja_checkout,
        #modal_loja_detalhe,
        #modal_loja_consulta,
        #modal_loja_video
    ) .modal-body {
        padding: 20px !important;
        max-height: calc(90vh - 80px) !important;
        overflow-y: auto !important;
    }

    html body.nx-landing-guia :is(
        #whatsapp,
        #whatsapp_link,
        #modalsucesso,
        #modalsucesso_proprietario,
        #modal_oferta,
        #modal_guia,
        #modal_guiacom_lead,
        #modal_guiacom_contatos,
        #modal_guiacom_detalhe,
        #modal_guia_temporada,
        #modalcontatos,
        #modal_loja_checkout
    ) .apu-btn-wpp,
    html body.nx-landing-guia :is(#modal_guiacom_contatos, #modalcontatos) .apu-contact-btn,
    html body.nx-landing-guia #modal_loja_checkout .apu-btn-pri,
    html body.nx-landing-guia #modal_guiacom_detalhe .imoveis-detalhe-cta .bcwpp {
        width: 100% !important;
    }
}

/* =============================================================================
 * G4b — GUIA: interior #modal_loja_detalhe + folga título canais
 * Reusa padrão imóveis/rhosp (detalhe-modal-download, galeria grid 4).
 * LP não tem bloco loja-detalhe no v2 — só casca G4.
 * NÃO tocar #loja_download_card / #loja_download_card_img / container (html2canvas).
 * ============================================================================= */

/* Dialog grande (G4 tinha forçado 440px em todos) */
html body.nx-landing-guia #modal_loja_detalhe .modal-dialog {
    max-width: 880px !important;
    margin: 16px auto !important;
}

html body.nx-landing-guia #modal_loja_detalhe .modal-content.loja-detalhe {
    background: var(--nx-surface, #fff) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 64px rgba(15, 28, 26, 0.18) !important;
}

html body.nx-landing-guia #modal_loja_detalhe .detalhe-modal-header {
    background: var(--nx-surface, #fff) !important;
    border: 0 !important;
    padding: 28px 72px 8px 32px !important;
    position: relative !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-kicker {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-muted) !important;
    margin: 0 0 4px !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-title,
html body.nx-landing-guia #modal_loja_detalhe .modal-title.loja-detalhe-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    margin: 0 !important;
}

html body.nx-landing-guia #modal_loja_detalhe .detalhe-modal-download-wrap {
    margin-top: 16px !important;
    display: flex !important;
}

html body.nx-landing-guia #modal_loja_detalhe .detalhe-modal-download,
html body.nx-landing-guia #modal_loja_detalhe #btn_baixar_imagem_loja.detalhe-modal-download {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    border: 1px solid var(--nx-line) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap !important;
}

html body.nx-landing-guia #modal_loja_detalhe .detalhe-modal-download:hover,
html body.nx-landing-guia #modal_loja_detalhe #btn_baixar_imagem_loja.detalhe-modal-download:hover {
    background: var(--nx-field) !important;
    background-color: var(--nx-field) !important;
    color: var(--nx-text) !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #modal_loja_detalhe .modal-body {
    padding: 8px 32px 32px !important;
}

/* Galeria — espelha imóveis; NÃO #loja_download_card */
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-gallery > * {
    display: contents !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-gallery a {
    display: block !important;
    overflow: hidden !important;
    background: var(--nx-field) !important;
    border: 2px solid transparent !important;
    box-sizing: border-box !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-hero {
    grid-column: 1 / -1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-hero img {
    width: 100% !important;
    height: 100% !important;
    max-height: 440px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 16px !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-thumb {
    border-radius: 12px !important;
    overflow: hidden !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-thumb img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px !important;
}

/* Sem classe .active no markup — :focus / :focus-visible = “ativa” */
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-thumb:focus,
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-thumb:focus-visible,
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-thumb:hover {
    border-color: var(--brand-secondary) !important;
    outline: none !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-price {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: var(--nx-text) !important;
    margin: 16px 0 4px !important;
    text-align: left !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-stock {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--nx-muted) !important;
    margin: 0 !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-block {
    margin-top: 20px !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-block h6 {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--nx-text) !important;
    margin: 0 0 8px !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-text {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: var(--nx-muted) !important;
    margin: 0 !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta {
    margin-top: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .bcview.js-loja-add,
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .js-loja-add {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--brand-primary) !important;
    background-color: var(--brand-primary) !important;
    color: var(--lt-on-p, #fff) !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .bcview.js-loja-add:hover,
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .js-loja-add:hover {
    background: var(--brand-primary) !important;
    color: var(--lt-on-p, #fff) !important;
    filter: brightness(0.95) !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .bcview.js-loja-consultar,
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .js-loja-consultar {
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--nx-text) !important;
    border: 1px solid var(--nx-line) !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .bcview.js-loja-consultar:hover,
html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .js-loja-consultar:hover {
    background: var(--nx-field) !important;
    color: var(--nx-text) !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #modal_loja_detalhe .modal-dialog {
        max-width: calc(100% - 32px) !important;
        margin: 16px auto !important;
    }

    html body.nx-landing-guia #modal_loja_detalhe .detalhe-modal-header {
        padding: 20px 56px 8px 20px !important;
    }

    html body.nx-landing-guia #modal_loja_detalhe .modal-body {
        padding: 20px !important;
    }

    html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .bcview.js-loja-add,
    html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .js-loja-add,
    html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .bcview.js-loja-consultar,
    html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-cta .js-loja-consultar,
    html body.nx-landing-guia #modal_loja_detalhe .detalhe-modal-download {
        width: 100% !important;
    }

    html body.nx-landing-guia #modal_loja_detalhe .loja-detalhe-title {
        font-size: 22px !important;
    }
}

/* =============================================================================
 * G5 — GUIA: #bloco3, #sobre_nos, FAQ, #maps, #galeria, #banner_slider, footer,
 * espaçamento entre seções + padding-left título canais.
 * Reusa L4 (#bloco3/#sobre_nos tipografia — seletores estendidos acima),
 * FAQ/maps/galeria/banner globais (v2) e card R13 do footer (adaptado a .apu-footer).
 * Escopo: body.nx-landing-guia. NÃO: hero, FABs, download cards, JS/dmx-*.
 * ============================================================================= */

/* --- 6) Ritmo ~96px entre seções (48/48); mobile ~64px (32/32) --- */
html body.nx-landing-guia :is(
    #perguntas_frequentes,
    #banner_slider,
    #maps,
    #galeria
) {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html body.nx-landing-guia :is(#bloco3, #sobre_nos) {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

html body.nx-landing-guia #bloco3 {
    /* card interno já tem pad; zera mt/mb utilitários Bootstrap */
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #guiacomercial.imob-ofertas-section,
    html body.nx-landing-guia #guiacomercial.imob-listings-section--guia,
    html body.nx-landing-guia #guiacomercial_legado.imob-ofertas-section,
    html body.nx-landing-guia #guiacomercial_legado.imob-listings-section--guia,
    html body.nx-landing-guia #produtos.imob-listings-section,
    html body.nx-landing-guia #loja.imob-listings-section,
    html body.nx-landing-guia #ofertas.imob-ofertas-section {
        padding: 32px 0 32px !important;
    }

    html body.nx-landing-guia :is(
        #perguntas_frequentes,
        #banner_slider,
        #maps,
        #galeria
    ) {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    html body.nx-landing-guia :is(#bloco3, #sobre_nos) {
        margin-top: 32px !important;
        margin-bottom: 32px !important;
    }
}

/* --- 2) Títulos de seção + remove .sec-divider (guia.css) --- */
html body.nx-landing-guia :is(
    #perguntas_frequentes,
    #maps,
    #galeria
) .sec-title {
    font-family: 'Bricolage Grotesque', 'Sora', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: var(--nx-text) !important;
    text-align: left !important;
    text-transform: none !important; /* G5b */
    margin: 0 0 24px !important;
}

html body.nx-landing-guia :is(
    #perguntas_frequentes,
    #maps,
    #galeria
) .text-center {
    text-align: left !important;
}

html body.nx-landing-guia .sec-divider,
html body.nx-landing-guia :is(#perguntas_frequentes, #maps, #galeria) .sec-divider {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia :is(
        #perguntas_frequentes,
        #maps,
        #galeria
    ) .sec-title {
        font-size: 28px !important;
    }
}

/* --- 3) FAQ — largura útil (vence col-lg-8 ~560–760); cards r16 --- */
html body.nx-landing-guia #perguntas_frequentes > .container {
    max-width: 1344px !important;
}

html body.nx-landing-guia #perguntas_frequentes .row.justify-content-center {
    margin: 0 !important;
    justify-content: flex-start !important;
}

html body.nx-landing-guia #perguntas_frequentes .row > [class*="col"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html body.nx-landing-guia #perguntas_frequentes .accordion.apu-accordion,
html body.nx-landing-guia #perguntas_frequentes #accordionFaq.apu-accordion,
html body.nx-landing-guia #perguntas_frequentes #accordionFaq {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
}

html body.nx-landing-guia #perguntas_frequentes .accordion-item {
    background: var(--nx-surface, #fff) !important;
    border: 1px solid var(--nx-line) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    margin: 0 !important;
}

html body.nx-landing-guia #perguntas_frequentes .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--nx-line) !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #perguntas_frequentes .accordion-button {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--nx-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 18px 20px !important;
}

html body.nx-landing-guia #perguntas_frequentes .accordion-button:not(.collapsed) {
    background: transparent !important;
    color: var(--nx-text) !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #perguntas_frequentes .accordion-button::after {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.55 !important;
    background-color: var(--nx-muted) !important;
}

html body.nx-landing-guia #perguntas_frequentes .accordion-body {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: var(--nx-muted) !important;
    padding: 0 20px 18px !important;
    text-align: left !important;
}

/* --- 4) #maps — r24, borda, sem sombra pesada --- */
html body.nx-landing-guia #maps > .container {
    max-width: 1344px !important;
}

html body.nx-landing-guia #maps #view1,
html body.nx-landing-guia #maps .d-flex.rounded-3.overflow-hidden,
html body.nx-landing-guia #maps .d-flex.justify-content-center {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 360px !important;
    height: 440px !important;
    border-radius: 24px !important;
    border: 1px solid var(--nx-line) !important;
    overflow: hidden !important;
    box-shadow: none !important;
    background: var(--nx-field) !important;
    justify-content: stretch !important;
}

html body.nx-landing-guia #maps #view1 iframe,
html body.nx-landing-guia #maps #view1 > *,
html body.nx-landing-guia #maps .d-flex.rounded-3.overflow-hidden iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #maps #view1,
    html body.nx-landing-guia #maps .d-flex.rounded-3.overflow-hidden {
        height: 320px !important;
        min-height: 280px !important;
    }
}

/* --- 4) #banner_slider — r24 + alinhamento container --- */
html body.nx-landing-guia #banner_slider > .c-lg {
    max-width: 1344px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
}

html body.nx-landing-guia #banner_slider .banner-slider-card {
    border-radius: 24px !important;
    border: 1px solid var(--nx-line) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

html body.nx-landing-guia #banner_slider .banner-slider-card img {
    border-radius: 0 !important;
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #banner_slider > .c-lg {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* --- 4) #galeria — imagens r24 + borda; grid (vence swiper no guia) --- */
html body.nx-landing-guia #galeria > .container,
html body.nx-landing-guia #galeria > .container-fluid {
    max-width: 1344px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    box-sizing: border-box !important;
}

html body.nx-landing-guia #galeria #swiper_galeria {
    overflow: visible !important;
    border-radius: 0 !important;
}

html body.nx-landing-guia #galeria #swiper_galeria .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
}

html body.nx-landing-guia #galeria #swiper_galeria .swiper-slide {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

html body.nx-landing-guia #galeria #swiper_galeria .swiper-slide .d-flex {
    display: block !important;
    justify-content: stretch !important;
}

html body.nx-landing-guia #galeria #swiper_galeria .swiper-slide a {
    display: block !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid var(--nx-line) !important;
    background: var(--nx-field) !important;
    aspect-ratio: 4 / 3 !important;
    box-shadow: none !important;
}

html body.nx-landing-guia #galeria #swiper_galeria .swiper-slide img,
html body.nx-landing-guia #galeria #swiper_galeria .swiper-slide img.rounded-3 {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
}

html body.nx-landing-guia #galeria #swiper_galeria .swiper-button-prev,
html body.nx-landing-guia #galeria #swiper_galeria .swiper-button-next,
html body.nx-landing-guia #galeria #swiper_galeria .swiper-pagination {
    display: none !important;
}

@media (max-width: 1199.98px) {
    html body.nx-landing-guia #galeria #swiper_galeria .swiper-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #galeria > .container,
    html body.nx-landing-guia #galeria > .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    html body.nx-landing-guia #galeria #swiper_galeria .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    html body.nx-landing-guia #galeria #swiper_galeria .swiper-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* --- 5) Footer #footer.apu-footer — card flutuante (espelha R13 / theme) --- */
html body.nx-landing-guia #footer.apu-footer {
    width: calc(100% - 64px) !important;
    max-width: 1280px !important;
    margin: 48px auto 32px !important;
    border-radius: 32px !important;
    overflow: hidden !important;
    padding: 48px 0 0 !important;
    box-sizing: border-box !important;
    /* background: dmx-style cor_primaria — NÃO forçar */
}

html body.nx-landing-guia #footer.apu-footer > .container {
    max-width: 1344px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body.nx-landing-guia #footer.apu-footer > .container > .text-center {
    text-align: left !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
        "label-addr   label-social"
        "addr         social"
        "div          div"
        "copy         copy" !important;
    gap: 8px 40px !important;
    align-items: start !important;
    color: var(--lt-on-p) !important;
}

html body.nx-landing-guia #footer.apu-footer > .container > .text-center > p:nth-child(1),
html body.nx-landing-guia #footer.apu-footer > .container > .text-center > p:nth-child(3) {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--lt-on-p) !important;
    opacity: 0.75 !important;
    margin: 0 0 8px !important;
    text-align: left !important;
}

html body.nx-landing-guia #footer.apu-footer > .container > .text-center > p:nth-child(1) {
    grid-area: label-addr !important;
}

html body.nx-landing-guia #footer.apu-footer > .container > .text-center > p:nth-child(3) {
    grid-area: label-social !important;
}

html body.nx-landing-guia #footer.apu-footer > .container > .text-center > p:nth-child(2) {
    grid-area: addr !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    color: var(--lt-on-p) !important;
    text-align: left !important;
    margin: 0 !important;
    opacity: 0.9 !important;
}

html body.nx-landing-guia #footer.apu-footer > .container > .text-center > div:nth-child(4),
html body.nx-landing-guia #footer.apu-footer > .container > .text-center > .d-flex {
    grid-area: social !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    margin: 0 !important;
}

html body.nx-landing-guia #footer.apu-footer .apu-footer-social-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    /* cores inline das redes — não sobrescrever */
}

html body.nx-landing-guia #footer.apu-footer .apu-footer-social-btn:hover {
    box-shadow: none !important;
    transform: none !important;
    filter: brightness(0.95);
}

html body.nx-landing-guia #footer.apu-footer .apu-footer-divider,
html body.nx-landing-guia #footer.apu-footer > .container > .text-center > hr.apu-footer-divider {
    grid-area: div !important;
    width: 100% !important;
    height: 0 !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    border-top: 1px solid color-mix(in srgb, var(--lt-on-p) 18%, transparent) !important;
    opacity: 1 !important;
    background: transparent !important;
}

html body.nx-landing-guia #footer.apu-footer .apu-footer-copy {
    grid-area: copy !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--lt-on-p) !important;
    opacity: 0.75 !important;
    text-align: left !important;
    padding: 20px 0 40px !important;
    margin: 0 !important;
}

html body.nx-landing-guia #footer.apu-footer .apu-footer-copy a {
    color: var(--lt-on-p) !important;
    text-decoration: none;
}

html body.nx-landing-guia #footer.apu-footer .apu-footer-copy a:hover {
    text-decoration: underline;
}

@media (max-width: 1399.98px) {
    html body.nx-landing-guia #footer.apu-footer {
        margin-bottom: 96px !important; /* folga FABs */
    }
}

@media (max-width: 899.98px) {
    html body.nx-landing-guia #footer.apu-footer {
        width: calc(100% - 40px) !important;
        margin: 32px auto 96px !important;
        border-radius: 28px !important;
        padding: 40px 0 0 !important;
    }

    html body.nx-landing-guia #footer.apu-footer > .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    html body.nx-landing-guia #footer.apu-footer > .container > .text-center {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "label-addr"
            "addr"
            "label-social"
            "social"
            "div"
            "copy" !important;
        gap: 8px !important;
    }

    /* G5b: respiro entre endereço e "Siga-nos" no mobile */
    html body.nx-landing-guia #footer.apu-footer > .container > .text-center > p:nth-child(3) {
        margin-top: 20px !important;
    }

    html body.nx-landing-guia #footer.apu-footer .apu-footer-copy {
        padding: 20px 0 32px !important;
        font-size: 14px !important;
    }
}
