/* ═══════════════════════════════════════════
   HERO BANNER
═══════════════════════════════════════════ */
.eq-hero {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #051a0c;
}
.eq-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    opacity: .18;
}
.eq-hero-title {
    position: relative;
    z-index: 2;
    text-align: center;
}
.eq-hero-title h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #F5C518;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.eq-hero-title p {
    color: rgba(255,255,255,.55);
    font-size: .85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 10px 0 0;
}

/* ═══════════════════════════════════════════
   BODY (white)
═══════════════════════════════════════════ */
.eq-body {
    background: #fff;
    padding-bottom: 80px;
}

/* ═══════════════════════════════════════════
   FILTER TABS
═══════════════════════════════════════════ */
.eq-tabs-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 36px 20px 20px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0;
}
.eq-tab {
    display: inline-block;
    padding: 9px 20px;
    border: 1.5px solid #1a1a1a;
    border-radius: 3px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    transition: background .18s, color .18s;
    cursor: pointer;
    background: #fff;
}
.eq-tab:hover,
.eq-tab.active {
    background: #0D5C2E;
    border-color: #0D5C2E;
    color: #fff;
    text-decoration: none;
}

/* ═══════════════════════════════════════════
   SECTION POSTE
═══════════════════════════════════════════ */
.eq-section {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}
.eq-section-title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #111;
    padding: 44px 0 24px;
    margin: 0;
}

/* ═══════════════════════════════════════════
   GRILLE CARTES
═══════════════════════════════════════════ */
.eq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}
@media (max-width: 900px) { .eq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .eq-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   CARTE JOUEUR
═══════════════════════════════════════════ */
.eq-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    background: #0a2415;
}
.eq-card:hover { text-decoration: none; }

/* Photo */
.eq-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.eq-card:hover .eq-photo { transform: scale(1.06); }

/* Numéro watermark */
.eq-num {
    position: absolute;
    bottom: 70px;
    right: 14px;
    font-size: 6.5rem;
    font-weight: 900;
    color: rgba(255,255,255,.10);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    transition: opacity .3s;
}
.eq-card:hover .eq-num { opacity: 0; }

/* Gradient overlay */
.eq-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 26, 12, .92) 0%,
        rgba(5, 26, 12, .60) 30%,
        transparent 65%
    );
    z-index: 2;
    transition: opacity .3s;
}
.eq-card:hover .eq-grad {
    background: linear-gradient(
        to top,
        rgba(5, 26, 12, .97) 0%,
        rgba(5, 26, 12, .75) 40%,
        rgba(5, 26, 12, .3) 75%,
        transparent 100%
    );
}

/* Info nom (état par défaut) */
.eq-info {
    position: absolute;
    bottom: 22px;
    left: 18px;
    right: 18px;
    z-index: 4;
    transition: transform .42s cubic-bezier(.25,.46,.45,.94), opacity .35s;
}
.eq-card:hover .eq-info {
    transform: translateY(-130px);
    opacity: 0;
}
.eq-info .eq-prenom {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    color: rgba(255,255,255,.80);
    letter-spacing: 1px;
    margin-bottom: 1px;
}
.eq-info .eq-nom {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.05;
}
.eq-info .eq-poste {
    display: block;
    font-size: .68rem;
    color: rgba(255,255,255,.65);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Séparateur horizontal (ligne dorée sous le nom au repos) */
.eq-info::before {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #F5C518;
    margin-bottom: 8px;
}

/* Stats panel (apparaît au survol) */
.eq-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 0 0 24px;
    display: flex;
    align-items: stretch;
    transform: translateY(100%);
    opacity: 0;
    transition: transform .42s cubic-bezier(.25,.46,.45,.94), opacity .32s;
}
.eq-card:hover .eq-stats {
    transform: translateY(0);
    opacity: 1;
}

/* Nom dans le stats panel (reste visible) */
.eq-stats-name {
    position: absolute;
    top: -74px;
    left: 18px;
    right: 18px;
    z-index: 4;
}
.eq-stats-name .eq-prenom {
    display: block;
    font-size: .72rem;
    color: rgba(255,255,255,.75);
    letter-spacing: 1px;
}
.eq-stats-name .eq-nom {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
}
.eq-stats-name .eq-poste {
    display: block;
    font-size: .65rem;
    color: rgba(245,197,24,.85);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}
.eq-stats-name::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(245,197,24,.35);
    margin-top: 10px;
}

/* Colonnes de stats */
.eq-stat-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 6px 0;
}
.eq-stat-sep {
    width: 1px;
    background: rgba(255,255,255,.18);
    margin: 12px 0 4px;
}
.eq-stat-lbl {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    text-align: center;
    margin-bottom: 4px;
}
.eq-stat-val {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.eq-stat-sub {
    font-size: .55rem;
    color: rgba(255,255,255,.45);
    letter-spacing: 1px;
    text-align: center;
    margin-top: 3px;
}
.eq-stat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F5C518;
    margin-top: 6px;
}

/* ═══════════════════════════════════════════
   INDEX DES ÉQUIPES (/equipes)
═══════════════════════════════════════════ */
.eqi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    padding-bottom: 40px;
}
.eqi-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.eqi-card:hover {
    border-color: #0D5C2E;
    box-shadow: 0 8px 24px rgba(13,92,46,.12);
    transform: translateY(-2px);
    text-decoration: none;
}
.eqi-card-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.eqi-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.eqi-card-logo i { color: #0D5C2E; font-size: 24px; }
.eqi-card-body { flex: 1; min-width: 0; }
.eqi-card-body h3 {
    margin: 0 0 3px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .5px;
    color: #111;
    text-transform: uppercase;
}
.eqi-card-body p {
    margin: 0;
    font-size: .82rem;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eqi-card-arrow { color: #ccc; transition: color .18s, transform .18s; flex-shrink: 0; }
.eqi-card:hover .eqi-card-arrow { color: #0D5C2E; transform: translateX(4px); }
