/* ======================================================
   LINKTREE CAROUSEL + CTA STYLES
   Optimisé, lisible et dégradé uniforme
====================================================== */

/* ---------- Section Carousel ---------- */
.linktree-carousel-section {
    min-height: 300px;             /* hauteur minimale */
    padding: 4rem 0;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(
        135deg,
        #e4ecf7 0%,
        #f5f7fa 50%,
        #f9fafc 100%
    ); /* même dégradé que la CTA */
}

.carousel-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* ---------- Carousel Wrapper ---------- */
.linktree-carousel-wrapper {
    overflow-x: auto;
    padding: 2rem 0;
}

.linktree-carousel {
    display: flex;
    gap: 1rem;
    animation: scrollCarousel 40s linear infinite;
    min-height: 140px; /* hauteur des avatars */
    width: max-content;
}

.linktree-carousel:hover {
    animation-play-state: paused; /* pause au hover */
}

/* ---------- Avatar Cards ---------- */
.avatar-card {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f3f3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

.avatar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.avatar-card:hover img {
    transform: rotate(8deg) scale(1.05);
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.avatar-card:hover .avatar-overlay {
    opacity: 0.85;
}

/* ---------- Carousel Animation ---------- */
@keyframes scrollCarousel {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.linktree-carousel-section .cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.linktree-carousel-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.linktree-carousel-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}
/*
.linktree-carousel-section .cta-button {
    background-color: #5e72e4;
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linktree-carousel-section .cta-button:hover {
    background-color: #324cdd;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}*/