/*
 * NRB — Homepage fecho final
 * Estrutura preservada:
 * marcas | benefícios
 * stock 2x3 | viaturas 2x3
 * abate | avaliação Google
 * CTA
 */

body.nrb-premium-homepage-active {
    --nrb-shell: 1420px;
    --nrb-pad: 24px;
    --nrb-gap: 18px;
    --nrb-radius: 15px;
    --nrb-border: #e3e8ef;
    --nrb-ink: #0f172a;
    --nrb-muted: #64748b;
}

body.nrb-premium-homepage-active *,
body.nrb-premium-homepage-active *::before,
body.nrb-premium-homepage-active *::after {
    box-sizing: border-box;
}

/* ==========================================================
   MARCAS + BENEFÍCIOS — 30% MENOS ALTURA
   ========================================================== */

body.nrb-premium-homepage-active .nrb-home-intro {
    width: min(var(--nrb-shell), calc(100% - (var(--nrb-pad) * 2)));
    margin: 0 auto !important;
    padding: 8px 0 9px !important;
    display: grid !important;
    grid-template-columns: 28% 72% !important;
    align-items: center !important;
    gap: 22px !important;
}

body.nrb-premium-homepage-active .nrb-home-intro > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands {
    padding: 0 20px 0 0 !important;
    border-right: 1px solid #e2e8f0;
    overflow: hidden !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands .elementor-widget-container,
body.nrb-premium-homepage-active .nrb-home-intro__brands .mt,
body.nrb-premium-homepage-active .nrb-home-intro__brands .site-marquee {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands .site-marquee {
    overflow: hidden !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands .site-marquee-inner {
    min-height: 38px !important;
    height: 38px !important;
    align-items: center !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands .site-marquee-item {
    padding-inline: 10px !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands .client-logo img {
    display: block !important;
    width: auto !important;
    max-width: 84px !important;
    height: 30px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    filter: grayscale(1);
    opacity: .92;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits {
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits > .e-con-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits > .e-con-inner > .e-con {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 16px !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits > .e-con-inner > .e-con:first-child {
    padding-left: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits > .e-con-inner > .e-con + .e-con {
    border-left: 1px solid #e2e8f0;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits .elementor-widget-container {
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits .site-iconbox {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 48px !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits .site-iconbox-icon,
body.nrb-premium-homepage-active .nrb-home-intro__benefits .site-iconbox-icon img {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    object-fit: contain !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits .entry-title {
    margin: 0 0 2px !important;
    color: var(--nrb-ink) !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__benefits p {
    margin: 0 !important;
    color: var(--nrb-muted) !important;
    font-size: 11px !important;
    line-height: 1.36 !important;
}

/* ==========================================================
   SECÇÕES PRINCIPAIS
   ========================================================== */

body.nrb-premium-homepage-active .nrb-home-sections {
    width: 100% !important;
    margin: 0 !important;
    padding: 5px 0 22px !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__shell {
    width: min(var(--nrb-shell), calc(100% - (var(--nrb-pad) * 2))) !important;
    max-width: var(--nrb-shell) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--nrb-gap) !important;
    align-items: stretch !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__trust {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--nrb-gap) !important;
    align-items: stretch !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__stock,
body.nrb-premium-homepage-active .nrb-home-sections__vehicles,
body.nrb-premium-homepage-active .nrb-home-sections__abate,
body.nrb-premium-homepage-active .nrb-home-sections__reviews {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--nrb-border) !important;
    border-radius: var(--nrb-radius) !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .055) !important;
}

/* ==========================================================
   STOCK + VIATURAS — 6 ITENS, 2x3
   ========================================================== */

body.nrb-premium-homepage-active .nrb-home-sections .tps-home-parts-section,
body.nrb-premium-homepage-active .nrb-home-sections .tps-home-vehicles-section {
    width: 100% !important;
    max-width: none !important;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-card,
body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-card {
    display: grid !important;
    grid-template-columns: 168px minmax(0, 1fr) !important;
    width: 100% !important;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-banner,
body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-banner,
body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-banner > div,
body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-banner > div {
    width: 168px !important;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-banner > div,
body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-banner > div {
    padding: 22px 15px !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-banner h2,
body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-banner h2 {
    margin-bottom: 9px !important;
    font-size: 24px !important;
    line-height: 1.08 !important;
    letter-spacing: -.03em !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-banner p,
body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-banner p {
    font-size: 11px !important;
    line-height: 1.44 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-recent-parts,
body.nrb-premium-homepage-active .nrb-home-sections .tp-recent-vehicles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 250px) !important;
    width: 100% !important;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    gap: 0 !important;
    overflow: hidden !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-card,
body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    margin: 0 !important;
    border: 0 !important;
    border-right: 1px solid #edf1f5 !important;
    border-bottom: 1px solid #edf1f5 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-card:nth-child(3n),
body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-card:nth-child(3n) {
    border-right: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-card:nth-child(n+4),
body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-card:nth-child(n+4) {
    display: flex !important;
    border-bottom: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-img,
body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-img {
    flex: 0 0 132px !important;
    width: 100% !important;
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-body,
body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 9px 10px 10px !important;
    overflow: hidden !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-name,
body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-title {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-vehicle,
body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-year {
    font-size: 9.5px !important;
    line-height: 1.34 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rp-price {
    padding-top: 4px !important;
    font-size: 12px !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-img.nrb-image-missing {
    position: relative;
    background: linear-gradient(135deg, #eef2f7, #f8fafc) !important;
}

body.nrb-premium-homepage-active .nrb-home-sections .tp-rv-img.nrb-image-missing::after {
    content: "Imagem indisponível";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 12px;
    color: #8290a3;
    font-size: 9px;
    font-weight: 650;
    text-align: center;
}

/* ==========================================================
   ABATE + GOOGLE
   ========================================================== */

body.nrb-premium-homepage-active .nrb-home-sections__abate,
body.nrb-premium-homepage-active .nrb-home-sections__reviews {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__abate > *,
body.nrb-premium-homepage-active .nrb-home-sections__reviews > * {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__abate .elementor-widget,
body.nrb-premium-homepage-active .nrb-home-sections__abate .elementor-widget-container,
body.nrb-premium-homepage-active .nrb-home-sections__abate .site-banner,
body.nrb-premium-homepage-active .nrb-home-sections__abate .site-banner-media,
body.nrb-premium-homepage-active .nrb-home-sections__abate .site-banner-media img {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    margin: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__abate .site-banner-media img {
    object-fit: cover !important;
    object-position: center 43% !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__abate .site-banner-content {
    padding: 22px !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__abate .site-banner-inner {
    max-width: 74% !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__abate .entry-title {
    font-size: clamp(25px, 1.9vw, 33px) !important;
    line-height: 1.08 !important;
}

/* Avaliação reconstruída em 30% / 70%. */
body.nrb-premium-homepage-active .nrb-home-sections__reviews {
    padding: 16px !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__reviews .e-con-inner,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .e-con,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .elementor-widget,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .elementor-widget-container,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .elementor-shortcode,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .ti-widget,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .ti-widget-container {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-google-review-layout {
    display: grid !important;
    grid-template-columns: 33% minmax(0, 67%) !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 100% !important;
}

body.nrb-premium-homepage-active .nrb-google-review-layout__summary,
body.nrb-premium-homepage-active .nrb-google-review-layout__review {
    min-width: 0 !important;
    height: 252px !important;
    display: flex !important;
    align-items: center !important;
}

body.nrb-premium-homepage-active .nrb-google-review-layout__summary {
    justify-content: center !important;
    padding-right: 12px !important;
    border-right: 1px solid #e8edf3;
}

body.nrb-premium-homepage-active .nrb-google-review-layout__summary .ti-footer {
    width: 100% !important;
    max-width: 220px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-google-review-layout__review {
    justify-content: stretch !important;
}

body.nrb-premium-homepage-active .nrb-google-review-layout__review .ti-review-item {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 252px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

body.nrb-premium-homepage-active .nrb-google-review-layout__review .ti-inner {
    width: 100% !important;
    height: 252px !important;
    margin: 0 !important;
    padding: 18px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
}

body.nrb-premium-homepage-active .nrb-google-review-layout__review .ti-review-text-container {
    max-height: 112px !important;
    overflow: hidden !important;
    font-size: 11.5px !important;
    line-height: 1.42 !important;
}

body.nrb-premium-homepage-active .nrb-home-sections__reviews .ti-controls,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .ti-controls-line,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .ti-next,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .ti-prev,
body.nrb-premium-homepage-active .nrb-home-sections__reviews .elementor-widget-ignavo-client-carousel {
    display: none !important;
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 1180px) {
    body.nrb-premium-homepage-active {
        --nrb-shell: 980px;
        --nrb-pad: 20px;
    }

    body.nrb-premium-homepage-active .nrb-home-intro {
        grid-template-columns: 28% 72% !important;
    }

    body.nrb-premium-homepage-active .nrb-home-sections__shell {
        grid-template-columns: 1fr !important;
    }

    body.nrb-premium-homepage-active .nrb-home-sections__trust {
        grid-column: auto !important;
    }
}

@media (max-width: 820px) {
    body.nrb-premium-homepage-active .nrb-home-intro {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.nrb-premium-homepage-active .nrb-home-intro__brands {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
        padding: 0 0 8px !important;
    }

    body.nrb-premium-homepage-active .nrb-home-sections__trust {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    body.nrb-premium-homepage-active {
        --nrb-pad: 14px;
        --nrb-gap: 14px;
    }

    body.nrb-premium-homepage-active .nrb-home-intro__benefits > .e-con-inner {
        grid-template-columns: 1fr !important;
    }

    body.nrb-premium-homepage-active .nrb-home-intro__benefits > .e-con-inner > .e-con {
        padding: 10px 0 !important;
    }

    body.nrb-premium-homepage-active .nrb-home-intro__benefits > .e-con-inner > .e-con + .e-con {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

    body.nrb-premium-homepage-active .nrb-home-sections .tps-home-parts-section,
    body.nrb-premium-homepage-active .nrb-home-sections .tps-home-vehicles-section,
    body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-card,
    body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    body.nrb-premium-homepage-active .nrb-home-sections .tps-parts-card,
    body.nrb-premium-homepage-active .nrb-home-sections .tps-vehicles-card {
        grid-template-columns: 1fr !important;
    }

    body.nrb-premium-homepage-active .nrb-home-sections .tp-recent-parts,
    body.nrb-premium-homepage-active .nrb-home-sections .tp-recent-vehicles {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(3, 250px) !important;
        height: 750px !important;
        min-height: 750px !important;
        max-height: 750px !important;
    }

    body.nrb-premium-homepage-active .nrb-google-review-layout {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.nrb-premium-homepage-active .nrb-google-review-layout__summary,
    body.nrb-premium-homepage-active .nrb-google-review-layout__review {
        height: auto !important;
    }

    body.nrb-premium-homepage-active .nrb-google-review-layout__summary {
        padding: 0 0 10px !important;
        border-right: 0;
        border-bottom: 1px solid #e8edf3;
    }
}


/* CTAs integrados nos painéis escuros */
body.nrb-premium-homepage-active
.nrb-home-sections .tps-parts-banner a,
body.nrb-premium-homepage-active
.nrb-home-sections .tps-vehicles-banner a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: calc(100% - 4px) !important;
    min-height: 38px !important;
    margin: 0 2px 2px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255,255,255,.26) !important;
    border-radius: 999px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(37,99,235,.22) !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
body.nrb-premium-homepage-active
.nrb-home-sections .tps-parts-banner a:hover,
body.nrb-premium-homepage-active
.nrb-home-sections .tps-vehicles-banner a:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Legibilidade final do cartão Abate */
body.nrb-premium-homepage-active
.nrb-home-sections__abate .site-banner-subtitle,
body.nrb-premium-homepage-active
.nrb-home-sections__abate .site-banner-sub-title,
body.nrb-premium-homepage-active
.nrb-home-sections__abate .subtitle,
body.nrb-premium-homepage-active
.nrb-home-sections__abate [class*="sub-title"],
body.nrb-premium-homepage-active
.nrb-home-sections__abate [class*="subtitle"] {
    color: rgba(255,255,255,.96) !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.55) !important;
}
body.nrb-premium-homepage-active
.nrb-home-sections__abate .site-banner-content {
    transform: translateY(-4px);
}
body.nrb-premium-homepage-active
.nrb-home-sections__abate .entry-title {
    font-size: clamp(24px, 1.82vw, 31px) !important;
}

/* Placeholder final para viaturas sem imagem */
body.nrb-premium-homepage-active
.nrb-home-sections .tp-rv-img.nrb-image-missing {
    background: radial-gradient(circle at 50% 42%, rgba(37,99,235,.08), transparent 44%), linear-gradient(135deg, #eef3f8 0%, #f8fafc 100%) !important;
}
body.nrb-premium-homepage-active
.nrb-home-sections .tp-rv-img.nrb-image-missing::before {
    content: "NRB";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(15,23,42,.08);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .08em;
}
body.nrb-premium-homepage-active
.nrb-home-sections .tp-rv-img.nrb-image-missing::after {
    color: #708094 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
}


/* ==========================================================
   NRB — FECHO DEFINITIVO DE MICROAFINAÇÕES
   ========================================================== */

/* 1. Menos espaço entre o Hero e a faixa; mais largura para marcas. */
body.nrb-premium-homepage-active .nrb-home-intro {
    grid-template-columns: 32% 68% !important;
    margin-top: -28px !important;
    padding-top: 0 !important;
    padding-bottom: 6px !important;
    gap: 16px !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands {
    padding-right: 14px !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands .site-marquee-item {
    padding-inline: 12px !important;
}

body.nrb-premium-homepage-active .nrb-home-intro__brands .client-logo img {
    max-width: 88px !important;
    height: 31px !important;
    max-height: 31px !important;
    opacity: .94 !important;
}

/* Cada benefício fica centrado dentro da sua própria coluna. */
body.nrb-premium-homepage-active
.nrb-home-intro__benefits > .e-con-inner > .e-con {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-inline: 12px !important;
}

body.nrb-premium-homepage-active
.nrb-home-intro__benefits .site-iconbox {
    width: min(100%, 220px) !important;
    margin: 0 auto !important;
    grid-template-columns: 39px minmax(0, 1fr) !important;
    gap: 9px !important;
}

body.nrb-premium-homepage-active
.nrb-home-intro__benefits .entry-title {
    color: #020617 !important;
    font-size: 14px !important;
}

body.nrb-premium-homepage-active
.nrb-home-intro__benefits p {
    color: #475569 !important;
    font-size: 11px !important;
    line-height: 1.34 !important;
}

/* Aproxima a faixa aos cartões sem alterar a estrutura. */
body.nrb-premium-homepage-active .nrb-home-sections {
    padding-top: 0 !important;
}

/* 2. Painéis escuros ligeiramente mais estreitos. */
body.nrb-premium-homepage-active
.nrb-home-sections .tps-parts-card,
body.nrb-premium-homepage-active
.nrb-home-sections .tps-vehicles-card {
    grid-template-columns: 156px minmax(0, 1fr) !important;
}

body.nrb-premium-homepage-active
.nrb-home-sections .tps-parts-banner,
body.nrb-premium-homepage-active
.nrb-home-sections .tps-vehicles-banner,
body.nrb-premium-homepage-active
.nrb-home-sections .tps-parts-banner > div,
body.nrb-premium-homepage-active
.nrb-home-sections .tps-vehicles-banner > div {
    width: 156px !important;
}

/* 3. Texto das 12 células mais escuro e legível. */
body.nrb-premium-homepage-active
.nrb-home-sections .tp-rp-name,
body.nrb-premium-homepage-active
.nrb-home-sections .tp-rv-title {
    color: #020617 !important;
    font-weight: 750 !important;
}

body.nrb-premium-homepage-active
.nrb-home-sections .tp-rp-vehicle,
body.nrb-premium-homepage-active
.nrb-home-sections .tp-rv-year {
    color: #475569 !important;
    font-weight: 500 !important;
}

body.nrb-premium-homepage-active
.nrb-home-sections .tp-rp-price {
    color: #020617 !important;
    font-weight: 800 !important;
}

/* 4. Review: uma única avaliação, sem fuga lateral. */
body.nrb-premium-homepage-active
.nrb-google-review-layout {
    grid-template-columns: 31% minmax(0, 69%) !important;
    gap: 10px !important;
    overflow: hidden !important;
}

body.nrb-premium-homepage-active
.nrb-google-review-layout__summary {
    padding-right: 10px !important;
}

body.nrb-premium-homepage-active
.nrb-google-review-layout__review {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

body.nrb-premium-homepage-active
.nrb-google-review-layout__review .ti-review-item {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

body.nrb-premium-homepage-active
.nrb-google-review-layout__review .ti-review-item:not(:first-child) {
    display: none !important;
}

body.nrb-premium-homepage-active
.nrb-google-review-layout__review .ti-inner {
    width: 100% !important;
    max-width: 100% !important;
}

/* 5. CTA alinhado à mesma shell de Abate/Reviews, sem espaços exagerados. */
body.nrb-premium-homepage-active .nrb-home-cta {
    width: min(var(--nrb-shell), calc(100% - (var(--nrb-pad) * 2))) !important;
    max-width: var(--nrb-shell) !important;
    margin: 14px auto 12px !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active .nrb-home-cta > .e-con-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Newsletter mantém fundo total, mas conteúdo alinha com a mesma shell. */
body.nrb-premium-homepage-active .nrb-home-newsletter {
    margin-top: 0 !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

body.nrb-premium-homepage-active .nrb-home-newsletter > .e-con-inner {
    width: min(var(--nrb-shell), calc(100% - (var(--nrb-pad) * 2))) !important;
    max-width: var(--nrb-shell) !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1180px) {
    body.nrb-premium-homepage-active .nrb-home-intro {
        grid-template-columns: 32% 68% !important;
        margin-top: -18px !important;
    }
}

@media (max-width: 820px) {
    body.nrb-premium-homepage-active .nrb-home-intro {
        grid-template-columns: 1fr !important;
        margin-top: 0 !important;
    }

    body.nrb-premium-homepage-active .nrb-home-cta {
        margin-top: 12px !important;
        margin-bottom: 10px !important;
    }
}

/* ==========================================================
   NRB — FECHO HOMEPAGE: CTA + FOOTER COMPACTO
   Diagnóstico validado em 16/07/2026
   Apenas homepage PT premium
   ========================================================== */

/* ----------------------------------------------------------
   1. CTA "Precisa de ajuda?"
   O contentor exterior já tem a largura correta.
   Remove apenas as perdas internas do Elementor.
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active .nrb-home-cta {
    overflow: hidden !important;
}

body.nrb-premium-homepage-active
.nrb-home-cta > .e-con-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active
.nrb-home-cta > .e-con-inner > .e-con {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nrb-premium-homepage-active
.nrb-home-cta .elementor-widget,
body.nrb-premium-homepage-active
.nrb-home-cta .elementor-widget-container,
body.nrb-premium-homepage-active
.nrb-home-cta .site-text-banner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.nrb-premium-homepage-active
.nrb-home-cta .elementor-widget {
    padding: 0 !important;
}

/* ----------------------------------------------------------
   2. Remove o espaço exagerado antes do footer
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active .site-footer {
    margin-top: 24px !important;
}

/* ----------------------------------------------------------
   3. Newsletter mais compacta
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer .footer-newsletter .site-footer-inner {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

/* ----------------------------------------------------------
   4. Bloco principal do footer
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer .footer-widgets .site-footer-inner {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
    gap: 24px !important;
}

/* Coluna institucional esquerda. */
body.nrb-premium-homepage-active
.site-footer .site-footer-contact {
    padding-right: 30px !important;
}

/* Título e descrição institucional. */
body.nrb-premium-homepage-active
.site-footer .site-footer-contact .entry-title {
    margin-bottom: 12px !important;
}

body.nrb-premium-homepage-active
.site-footer .site-footer-contact .entry-description {
    line-height: 1.55 !important;
}

/* APA + Valorcar. */
body.nrb-premium-homepage-active
.site-footer .site-footer-contact .entry-description > .row {
    margin-top: 8px !important;
}

/* Livro de Reclamações. */
body.nrb-premium-homepage-active
.site-footer #livroReclamacoesRed {
    max-width: 88px !important;
}

body.nrb-premium-homepage-active
.site-footer .site-footer-contact
.entry-description > div[style*="margin-bottom:20px"] {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-top: 12px !important;
}

/* CIAB + texto CNIACC. */
body.nrb-premium-homepage-active
.site-footer .site-footer-contact
.entry-description > div[style*="padding-top:15px"] {
    margin-top: 10px !important;
    padding-top: 10px !important;
}

body.nrb-premium-homepage-active
.site-footer .site-footer-contact
.entry-description > div[style*="padding-top:15px"] p {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    line-height: 1.35 !important;
}

/* ----------------------------------------------------------
   5. Linha de logótipo, redes sociais e contactos
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer .footer-info .site-footer-inner {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    gap: 18px !important;
}

body.nrb-premium-homepage-active
.site-footer .footer-info .widget-title {
    margin-bottom: 8px !important;
}

body.nrb-premium-homepage-active
.site-footer .footer-info p {
    margin-bottom: 5px !important;
}

/* ----------------------------------------------------------
   6. Copyright, NIF e pagamentos
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer .footer-copyright .tps-legal-line {
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

body.nrb-premium-homepage-active
.site-footer .footer-copyright .site-footer-inner {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    gap: 18px !important;
}

/* ----------------------------------------------------------
   7. Tablet
   ---------------------------------------------------------- */

@media (max-width: 1180px) {
    body.nrb-premium-homepage-active .site-footer {
        margin-top: 20px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .footer-widgets .site-footer-inner {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .footer-info .site-footer-inner {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .footer-copyright .site-footer-inner {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* ----------------------------------------------------------
   8. Mobile
   Não força colunas horizontais; apenas reduz espaços.
   ---------------------------------------------------------- */

@media (max-width: 720px) {
    body.nrb-premium-homepage-active .site-footer {
        margin-top: 16px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .footer-newsletter .site-footer-inner {
        padding-top: 26px !important;
        padding-bottom: 26px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .footer-widgets .site-footer-inner {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
        gap: 28px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .site-footer-contact {
        padding-right: 0 !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .footer-info .site-footer-inner {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer .footer-copyright .site-footer-inner {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* ==========================================================
   NRB — FOOTER PREMIUM FINAL EM DOIS PISOS
   Complemento do homepage-layout-final.js
   ========================================================== */

/* ----------------------------------------------------------
   1. Remove completamente o antigo piso intermédio
   depois de o JavaScript mover os seus conteúdos.
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-info.nrb-footer-info-empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* ----------------------------------------------------------
   2. Estrutura principal do footer
   Empresa + menus + utilidades na mesma área.
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-widgets .site-footer-inner {
    display: grid !important;
    grid-template-columns:
        minmax(300px, 1.2fr)
        minmax(520px, 2.2fr) !important;
    column-gap: 42px !important;
    row-gap: 24px !important;
    align-items: start !important;
    padding-top: 34px !important;
    padding-bottom: 28px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-widgets .site-footer-contact {
    width: auto !important;
    min-width: 0 !important;
    padding-right: 0 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-widgets .site-footer-widgets {
    width: auto !important;
    min-width: 0 !important;
    flex: none !important;
}

/* ----------------------------------------------------------
   3. Linha integrada: logótipo + redes + contactos
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns:
        minmax(230px, 1fr)
        minmax(180px, .7fr)
        minmax(300px, 1.15fr);
    align-items: center;
    gap: 28px;
    width: 100%;
    margin-top: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(115, 157, 205, .18);
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility > .column {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logótipo oficial igual ao header. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-brand {
    justify-content: flex-start !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-brand .site-brand,
body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-brand .site-brand a {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-brand .site-brand img {
    display: block !important;
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Redes sociais. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-social {
    justify-content: center !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-social .site-info-social {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-social .site-info-social > span {
    font-size: 12px !important;
    opacity: .78;
}

/* Contactos alinhados na direita. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-contact {
    justify-content: flex-end !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-contact .site-apps {
    width: auto !important;
    margin: 0 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-contact .widget_contact {
    width: auto !important;
    max-width: 330px !important;
    height: auto !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-contact .widget-title {
    margin: 0 0 7px !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-contact .widget-body {
    margin: 0 0 2px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-contact p {
    margin-bottom: 3px !important;
    line-height: 1.35 !important;
}

/* Remove o botão vazio "test" existente no template. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-utility-contact .site-app-buttons {
    display: none !important;
}

/* ----------------------------------------------------------
   4. Coluna institucional mais compacta e equilibrada
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.site-footer-contact .entry-title {
    font-size: 23px !important;
    line-height: 1.32 !important;
    margin-bottom: 10px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.site-footer-contact .entry-description {
    font-size: 14px !important;
    line-height: 1.48 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.site-footer-contact
.entry-description > .row {
    margin-top: 8px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.site-footer-contact
.entry-description > div[style*="margin-bottom:20px"] {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding-top: 9px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.site-footer-contact
.entry-description > div[style*="padding-top:15px"] {
    margin-top: 8px !important;
    padding-top: 9px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.site-footer-contact
.entry-description > div[style*="padding-top:15px"] p {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
}

/* ----------------------------------------------------------
   5. Barra inferior única:
   NIF + copyright + pagamentos.
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-copyright .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-copyright .site-footer-inner {
    display: grid !important;
    grid-template-columns:
        auto
        minmax(320px, 1fr)
        auto !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-copyright .nrb-footer-vat {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap;
    text-align: left !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    opacity: .72 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.footer-copyright .site-copyright {
    margin: 0 !important;
    text-align: center;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

/* ----------------------------------------------------------
   6. Métodos de pagamento
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-payment-methods {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 9px 12px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-payment-methods .item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    height: 26px !important;
    margin: 0 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-footer-payment-methods img {
    display: block !important;
    width: auto !important;
    max-width: 82px !important;
    height: 22px !important;
    max-height: 22px !important;
    object-fit: contain !important;
}

/* MB Way e Payshop já existentes. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-payment-mbway img {
    max-width: 48px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-payment-payshop img {
    max-width: 82px !important;
}

/* PayPal. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-payment-paypal img {
    width: 76px !important;
    height: auto !important;
}

/* Transferência e cobrança usam ícone + texto. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-payment-transferencia img,
body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-payment-cobranca img {
    width: 21px !important;
    height: 21px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-premium-ready
.nrb-payment-label {
    display: inline-block;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1;
    color: rgba(255, 255, 255, .76);
}

/* ----------------------------------------------------------
   7. Tablet
   ---------------------------------------------------------- */

@media (max-width: 1180px) {
    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .footer-widgets .site-footer-inner {
        grid-template-columns:
            minmax(280px, .9fr)
            minmax(450px, 1.6fr) !important;
        column-gap: 30px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-utility {
        grid-template-columns:
            minmax(180px, .8fr)
            minmax(150px, .6fr)
            minmax(280px, 1.1fr);
        gap: 20px;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .footer-copyright .site-footer-inner {
        grid-template-columns: auto 1fr !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .footer-copyright .site-footer-inner > .column:last-child {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-payment-methods {
        justify-content: center !important;
    }
}

/* ----------------------------------------------------------
   8. Mobile
   ---------------------------------------------------------- */

@media (max-width: 720px) {
    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .footer-widgets .site-footer-inner {
        display: block !important;
        padding-top: 26px !important;
        padding-bottom: 22px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .footer-widgets .site-footer-widgets {
        margin-top: 28px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-utility {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-top: 24px;
        padding-top: 22px;
        text-align: center;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-utility-brand,
    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-utility-social,
    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-utility-contact {
        width: 100% !important;
        justify-content: center !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-utility-contact .widget_contact {
        max-width: 100% !important;
        text-align: center !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .footer-copyright .site-footer-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        text-align: center !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .footer-copyright .nrb-footer-vat {
        text-align: center !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-premium-ready
    .nrb-footer-payment-methods {
        justify-content: center !important;
    }
}

/* ==========================================================
   NRB — POLIMENTO FINAL DO FOOTER
   Contactos, pagamentos, alinhamentos e altura
   ========================================================== */

/* ----------------------------------------------------------
   1. Aproxima logótipo, redes e contactos
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-utility {
    grid-template-columns: 230px 170px 360px !important;
    justify-content: space-between !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
    padding-top: 18px !important;
    gap: 24px !important;
}

/* ----------------------------------------------------------
   2. Contactos perfeitamente alinhados
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-utility-contact {
    justify-content: flex-start !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-utility-contact .widget_contact {
    width: 100% !important;
    max-width: 360px !important;
    text-align: left !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-utility-contact .widget-title {
    margin: 0 0 11px !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-row {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.35;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-row > i {
    display: block;
    width: 18px;
    margin-top: 2px;
    text-align: center;
    color: #0878d1;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-value {
    min-width: 0;
    text-align: left;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-value a {
    display: inline;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-address {
    margin-top: 2px;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-address
.nrb-footer-contact-value {
    line-height: 1.3;
}

/* ----------------------------------------------------------
   3. Pagamentos limpos
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-payment-methods {
    gap: 10px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-payment-methods .item {
    min-height: 28px !important;
}

/* PayPal: apenas logótipo. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-payment-paypal {
    padding: 0 3px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-payment-paypal img {
    width: 72px !important;
    max-width: 72px !important;
    height: auto !important;
}

/* Transferência e cobrança: badges tipográficos profissionais. */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-payment-transferencia,
body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-payment-cobranca {
    height: auto !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-payment-text-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 5px;
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .86);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

/* ----------------------------------------------------------
   4. Barra inferior com maior legibilidade
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.footer-copyright .site-footer-inner {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.footer-copyright .nrb-footer-vat {
    font-size: 12px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.footer-copyright .site-copyright {
    font-size: 12px !important;
}

/* ----------------------------------------------------------
   5. Compactação final do bloco legal
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.site-footer-contact
.entry-description > div[style*="margin-bottom:20px"] {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    padding-top: 7px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.site-footer-contact
.entry-description > div[style*="padding-top:15px"] {
    margin-top: 6px !important;
    padding-top: 7px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.site-footer-contact
.entry-description > div[style*="padding-top:15px"] p {
    margin-top: 4px !important;
    line-height: 1.25 !important;
}

/* ----------------------------------------------------------
   6. Mobile
   ---------------------------------------------------------- */

@media (max-width: 720px) {
    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-utility {
        display: flex !important;
        max-width: none !important;
        margin: 0 !important;
        gap: 18px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-utility-contact .widget_contact {
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-utility-contact .widget-title,
    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-contact-value {
        text-align: left !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-payment-methods {
        gap: 8px !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-payment-text-badge {
        min-height: 26px;
        padding: 0 8px;
        font-size: 9px;
    }
}

/* ==========================================================
   NRB — FECHO REAL DO FOOTER
   Microafinações isoladas, sem alterar estrutura ou linhas
   ========================================================== */

/* ----------------------------------------------------------
   1. Aproximar visualmente logótipo e contactos das redes.
   Mantém intactas:
   - largura da utility;
   - grelha original;
   - linha horizontal;
   - posição central das redes.
   ---------------------------------------------------------- */

@media (min-width: 1181px) {

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-utility-brand {
        transform: translateX(48px) !important;
    }

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-utility-contact {
        transform: translateX(-48px) !important;
    }
}

/* ----------------------------------------------------------
   2. Contactos: mais respiro apenas na mudança de assunto.
   Telefones continuam juntos; morada ganha separação mínima.
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-row {
    line-height: 1.42 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-address {
    margin-top: 4px !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-contact-email {
    margin-top: 2px !important;
}

/* ----------------------------------------------------------
   3. Badges discretos, preservando texto completo.
   ---------------------------------------------------------- */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-payment-text-badge {
    border-color: rgba(255, 255, 255, .09) !important;
    background: rgba(255, 255, 255, .018) !important;
    color: rgba(255, 255, 255, .82) !important;
}

/* Tablet e mobile: nenhuma deslocação manual. */
@media (max-width: 1180px) {

    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-utility-brand,
    body.nrb-premium-homepage-active
    .site-footer.nrb-footer-final-polish
    .nrb-footer-utility-contact {
        transform: none !important;
    }
}

/* ==========================================================
   NRB — LINHA SUPERIOR IGUAL À LINHA INFERIOR
   Corrige apenas a extensão da linha.
   ========================================================== */

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-utility {
    position: relative !important;
    border-top: 0 !important;
}

body.nrb-premium-homepage-active
.site-footer.nrb-footer-final-polish
.nrb-footer-utility::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;

    /* Utility ≈ 1040 px; contentor geral ≈ 1280 px. */
    width: calc(100% + 240px) !important;
    max-width: calc(100vw - 134px) !important;

    height: 1px !important;
    transform: translateX(-50%) !important;
    background: rgba(115, 157, 205, .18) !important;
    pointer-events: none !important;
}