/* Slider de banners - Home */
.carousel-item {
    position: relative;
}
.carousel-item img {
    aspect-ratio: 16/9;
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    display: block;
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 100%);
    z-index: 1;
}
.carousel-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 3.5rem;
    color: #fff;
    text-align: left;
}
.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 16px #000a;
}
.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 8px #0008;
}
.carousel-caption .btn-primary {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.7rem 2.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #0070e0 0%, #ffd600 100%);
    border: none;
    box-shadow: 0 2px 12px #ffd60044;
    color: #222;
    margin-top: 1.2rem;
    transition: background 0.18s, color 0.18s;
}
.carousel-caption .btn-primary:hover {
    background: linear-gradient(90deg, #ffd600 0%, #0070e0 100%);
    color: #111;
}
@media (max-width: 767.98px) {
    .carousel-item img {
        height: 180px;
    }
    .carousel-caption {
        padding: 1.2rem 1.1rem;
        font-size: 1rem;
    }
    .carousel-caption h2 {
        font-size: 1.3rem;
    }
}
