/* ===== BASE ===== */
.bodyequipe {
    min-height: 100vh;
    background: #747474;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

#btn-top {
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #0658ff, #0f2b3b) !important;
    color: white;
    font-size: 22px;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
    box-shadow: 0 0 15px rgb(0 0 0), -1px 1px 20px 0px rgb(0 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

#btn-top:hover {
    transform: translateY(-4px);
    background-color: #005f8e;
}

#btn-top.visible {
    opacity: 1;
    visibility: visible;
}
.equipe-container {
    margin-top: 120px;
    max-width: 1100px;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.equipe-title {
    font-size: 40px;
    margin-bottom: 10px;
    color: white;
}

.equipe-subtitle {
    color: #ffffff;
    margin-bottom: 60px;
}

.equipe-credits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.equipe-card {
    background: linear-gradient(145deg, #7dd4e787, #000e41);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: -1px 1px 30px rgb(0 0 0 / 20%), inset 0 1px 0 rgba(255, 0, 0, 0.05);
}

.equipe-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 40px rgb(0, 225, 250),
        0 0 20px rgb(0, 229, 255);
}

.equipe-name {
    font-size: 20px;
    color: white;
    margin-bottom: 5px;
}

.equipe-role {
    font-size: 14px;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.equipe-footer {
    margin-top: 60px;
    color: #5c6c80;
    font-size: 13px;
}

.equipe-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: -1px 0px 10px 2px #27386d, 0px 0px 15px rgb(0 0 0);
}

/* ===== SECTIONS RÔLES ===== */
.roles-section {
    margin-bottom: 70px;
}

.roles-section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.roles-section-desc {
    font-size: 14px;
    margin-bottom: 28px;
    opacity: 0.75;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.roles-divider {
    height: 2px;
    border-radius: 2px;
    margin: 0 auto 32px auto;
    width: 80px;
}

/* ===== DONATEUR ===== */
.section-donateur .roles-section-title {
    color: #f9c74f;
}

.section-donateur .roles-divider {
    background: linear-gradient(90deg, #f9c74f, #f3722c);
}

.section-donateur .equipe-card {
    background: linear-gradient(145deg, rgba(249, 199, 79, 0.18), #0a0d1e);
    box-shadow: -1px 1px 30px rgba(249, 199, 79, 0.12);
}

.section-donateur .equipe-card:hover {
    box-shadow: 0 15px 40px rgba(249, 199, 79, 0.5), 0 0 20px rgba(243, 114, 44, 0.4);
}

.section-donateur .role-badge {
    background: linear-gradient(135deg, #f9c74f, #f3722c);
}

/* ===== BOOSTER ===== */
.section-booster .roles-section-title {
    color: #f472b6;
}

.section-booster .roles-divider {
    background: linear-gradient(90deg, #f472b6, #a855f7);
}

.section-booster .equipe-card {
    background: linear-gradient(145deg, rgba(244, 114, 182, 0.18), #0a0d1e);
    box-shadow: -1px 1px 30px rgba(244, 114, 182, 0.12);
}

.section-booster .equipe-card:hover {
    box-shadow: 0 15px 40px rgba(244, 114, 182, 0.5), 0 0 20px rgba(168, 85, 247, 0.4);
}

.section-booster .role-badge {
    background: linear-gradient(135deg, #f472b6, #a855f7);
}

/* ===== SOUTIEN ===== */
.section-soutien .roles-section-title {
    color: #6ee7b7;
}

.section-soutien .roles-divider {
    background: linear-gradient(90deg, #6ee7b7, #3b82f6);
}

.section-soutien .equipe-card {
    background: linear-gradient(145deg, rgba(110, 231, 183, 0.18), #000e41);
    box-shadow: -1px 1px 30px rgba(110, 231, 183, 0.12);
}

.section-soutien .equipe-card:hover {
    box-shadow: 0 15px 40px rgba(110, 231, 183, 0.45), 0 0 20px rgba(59, 130, 246, 0.4);
}

.section-soutien .role-badge {
    background: linear-gradient(135deg, #6ee7b7, #3b82f6);
}

/* ===== PARTENAIRE ===== */
.section-partenaire .roles-section-title {
    color: #60a5fa;
}

.section-partenaire .roles-divider {
    background: linear-gradient(90deg, #60a5fa, #7dd4e7);
}

.section-partenaire .equipe-card {
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.18), #000e41);
    box-shadow: -1px 1px 30px rgba(96, 165, 250, 0.12);
}

.section-partenaire .equipe-card:hover {
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.5), 0 0 20px rgba(125, 212, 231, 0.4);
}

.section-partenaire .role-badge {
    background: linear-gradient(135deg, #60a5fa, #7dd4e7);
}

/* ===== BADGE ===== */
.role-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 10px;
}

/* ===== ICÔNE ===== */
.role-icon {
    font-size: 38px;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* ===== DESCRIPTION ===== */
.card-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    line-height: 1.5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== PERKS ===== */
.perks-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    text-align: left;
}

.perks-list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.perks-list li::before {
    content: "›";
    font-size: 18px;
    opacity: 0.7;
    flex-shrink: 0;
}


/* ===== MOBILE (≤ 768px) ===== */
@media (max-width: 768px) {
    .bodyequipe {
        background-attachment: scroll;
        padding: 70px 16px 60px;
        align-items: flex-start;
    }

    .equipe-container {
        margin-top: 80px;
    }

    .equipe-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .equipe-subtitle {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }

    .equipe-credits {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .equipe-card {
        padding: 24px 16px;
    }

    .roles-section-title {
        font-size: 20px;
    }
}