/* cards*/
.parallax-grid {
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 75%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 150px 0;
    align-items: start;
}


.card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card:hover .glow-wrapper {
    opacity: 1;
}

.destaques-carousel__item-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.destaques-carousel__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE TLM --- */
@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 60px 20px;
    }

    .card {
        transform: none !important;
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    .parallax-grid .grid-container {
        width: 100%!important;
    }
}