/* =========================
   TEAM CAROUSEL – FINAL
   ========================= */

/* Wrapper global */
.team-carousel-wrapper {
    position: relative;
    padding-top: 60px; /* espace pour les flèches */
}

/* =========================
   FLÈCHES (TOP RIGHT)
   ========================= */
.team-arrows {
    position: absolute;
    top: -50px;
    right: 0;
    display: flex;
    gap: 16px;
    z-index: 5;
}

.team-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff !important;
    color: #9a8f7a !important;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

/* =========================
   TRACK / CAROUSEL
   ========================= */
.team-track {
    display: flex;
    gap: 32px;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* =========================
   CARD
   ========================= */
.team-card {
    width: 320px;
    flex-shrink: 0;
    color: white;
}

/* =========================
   IMAGE
   ========================= */
.team-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* =========================
   OVERLAY (TOUJOURS VISIBLE)
   ========================= */
.team-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   BOUTONS OVERLAY
   ========================= */
.btn-more {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-more span {
    font-size: 14px;
}

.btn-doctolib {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: white;
    text-decoration: none;
}

/* =========================
   TEXTE
   ========================= */
.team-info {
    margin-top: 18px;
    text-align: center;
}

.team-name {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.team-role {
    font-size: 15px;
    opacity: 0.75;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
    .team-card {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .team-card {
        width: 85%;
    }

    .team-arrows {
        display: none;
    }
}