/* ===== HERO + LISTA ESCURA (CARD ÚNICO) ===== */
.home-hero-card{
    border-radius: 26px;
    overflow: hidden;                 /* une visualmente as duas partes */
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    /* sem background aqui para não ficar “branco” por baixo do painel escuro */
    background: transparent;
}

/* HERO */
.home-hero-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
@media (min-width: 576px){ .home-hero-img{ height: 260px; } }
@media (min-width: 992px){ .home-hero-img{ height: 360px; } }

.home-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}
.home-hero-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 20px;
}

/* PAINEL ESCURO (colado ao hero) */
.home-hero-card .home-news-panel{
    background: var(--brand-dark) !important; /* força fundo escuro */
    color: #fff;
    padding: 18px;
}

/* Itens dentro do painel escuro */
.home-hero-card .home-news-panel .home-dark-item{
    background: transparent;
    color: #fff;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
}
.home-hero-card .home-news-panel .home-dark-item + .home-dark-item{ margin-top: 8px; }
.home-hero-card .home-news-panel .home-dark-item:hover{ background: rgba(255,255,255,.06); }
.home-hero-card .home-news-panel .home-dark-thumb{
    width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
}
/* garante tipografia branca mesmo se vier utilitário do Bootstrap */
.home-hero-card .home-news-panel .home-dark-text,
.home-hero-card .home-news-panel .home-dark-text *{
    color: #fff !important;
}

/* ===== LATERAL / QUADROS RÁPIDOS ===== */
@media (min-width: 992px){ .right-col{ position: sticky; top: 88px; } }

.service-card{
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
    padding:16px;
    position:relative;
    min-height:110px;
}
.service-icon{ font-size:24px; color:var(--brand); }

/* ===== (opcional) sombras/raios iguais aos usados no público ===== */
.card-ui{
    border:0; border-radius:22px;
    overflow:hidden; background:#fff;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}
