/* ================================================ */
/* CAROUSEL PROJETS CARITATIFS                     */
/* ================================================ */

.caritatif-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 40px;
    padding: 40px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.caritatif-carousel::-webkit-scrollbar {
    display: none;
}

.caritatif-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 500px;
    background: linear-gradient(135deg, rgba(255, 60, 0, 0.05), rgba(17, 17, 17, 0.95));
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(255, 60, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.9);
    opacity: 0.7;
    filter: blur(1px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.caritatif-card.active {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
    border-color: #ff3c00;
    box-shadow: 0 15px 50px rgba(255, 60, 0, 0.5);
    z-index: 10;
}

.caritatif-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 3px solid #ff3c00;
    transition: transform 0.3s;
}

.caritatif-card.active img {
    box-shadow: 0 5px 20px rgba(255, 60, 0, 0.4);
}

.caritatif-card:hover img {
    transform: scale(1.05);
}

.caritatif-info {
    padding: 25px;
}

.caritatif-card h3 {
    color: #ff3c00;
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-align: center;
}

.caritatif-meta {
    text-align: center;
    color: #ffaa00;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.caritatif-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: justify;
}

.caritatif-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-caritatif {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.btn-caritatif.spotify {
    background: #1DB954;
}

.btn-caritatif.spotify:hover {
    background: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.5);
}

.btn-caritatif.youtube {
    background: #FF0000;
}

.btn-caritatif.youtube:hover {
    background: #ff1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
}

/* ================================================ */
/* RESPONSIVE MOBILE                               */
/* ================================================ */

@media (max-width: 768px) {
    .caritatif-card {
        width: 350px;
    }
    
    .caritatif-card img {
        height: 250px;
    }
    
    .caritatif-info {
        padding: 20px;
    }
    
    .caritatif-card h3 {
        font-size: 1.3rem;
    }
    
    .caritatif-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .caritatif-card {
        width: 300px;
    }
    
    .caritatif-card img {
        height: 200px;
    }
    
    .caritatif-info {
        padding: 15px;
    }
    
    .caritatif-card h3 {
        font-size: 1.2rem;
    }
    
    .btn-caritatif {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
