.badge-nmed-soft{
    background:#eef7f0;
    border:1px solid #cfe7d5;
    border-radius:999px;
    padding:.375rem .75rem;
    font-weight:600;
}
.li-check::before{
    content:"✓ ";
    font-weight:700;
    margin-right:.25rem;
}

.nmed-gallery{
    background:#F5F5F5;
}
.nmed-carousel{
    position:relative;
    border-radius:20px;
    overflow:hidden;
}
.nmed-slide{
    position:relative;
    margin:0;
}
.nmed-img{
    width:100%;
    height:520px;
    object-fit:cover;
    filter:saturate(1.05) contrast(1.02);
    transform:scale(1.01);
}
/* gradiente sutil pra legibilidade */
.nmed-slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}
.nmed-caption{
    position:absolute;
    left:24px;
    right:24px;
    bottom:22px;
    z-index:2;
    color:#FFFFFF;
}
.nmed-caption h3{
    margin:.25rem 0 .15rem;
    font-weight:800;
    letter-spacing:.2px;
}
.nmed-caption p{
    margin:0;
    opacity:.9
}
.nmed-chip{
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    background:rgba(0,107,78,.92);
    color:#fff;
    padding:.35rem .6rem;
    border-radius:999px;
    font-size:.85rem;
    border:1px solid rgba(255,255,255,.15);
}

/* setas */
.nmed-arrow{
    border:none;
    background:#FFFFFF;
    color:#006B4E;
    width:40px;
    height:40px;
    border-radius:12px;
    display:grid;
    place-items:center;
    box-shadow:0 6px 18px rgba(0,0,0,.12);
    transition:.2s transform, .2s box-shadow, .2s background;
}
.nmed-arrow:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(0,0,0,.16);
    background:#00B88C;
    color:#fff;
}
.nmed-arrow i{
    font-size:1.1rem;
}

/* posição mobile */
.nmed-arrow-mobile{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    opacity:.92;
}
.nmed-arrow-mobile.left{
    left:14px;
}
.nmed-arrow-mobile.right{
    right:14px;
}
@media (min-width:768px){
    .nmed-arrow-mobile{
        display:none;
    }
}

/* dots custom */
.nmed-dots{
    position:absolute;
    bottom:12px;
    left:0;
    right:0;
    display:flex;
    justify-content:center;
    gap:8px;
    z-index:3;
}
.nmed-dots button{
    width:8px;
    height:8px;
    border-radius:999px;
    border:none;
    background:#FFFFFF;
    opacity:.55;
    transition:width .25s, opacity .2s, background .2s;
}
.nmed-dots button.active{
    width:28px;
    opacity:1;
    background:#00B88C;
}
.nmed-dots button:hover{
    opacity:.9;
}

/* remove estilos padrão visuais do BS */
.carousel-indicators, .carousel-control-prev, .carousel-control-next{
    display:none !important;
}

/* apagar */
.hero-nmed2 {
    position: relative;
    background-image: url('../img/bg-hero.jpeg'); /* substitua pelo caminho da sua imagem */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.hero-nmed2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* escurece a imagem */
    z-index: 0;
}

.hero-nmed2 > .container {
    position: relative;
    z-index: 2; /* garante que o conteúdo fique acima da sobreposição */
}
