/* =====================================================================
   JM RADIO — equipe.css : page Équipe
   ===================================================================== */

.eq-section { margin: 0 0 30px; }
.eq-section-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.eq-section-head h2 { margin: 0; font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: 0.2px; }
.eq-section-head .eq-count { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); padding: 3px 9px; border-radius: 999px; }
.eq-section-head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent); }

/* Cartes membres */
.eq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1040px; }
.eq-card { display: flex; flex-direction: column; border-radius: var(--jm-radius, 22px); overflow: hidden; background: var(--jm-panel, rgba(12,16,27,.78)); border: 1px solid var(--jm-border, rgba(255,255,255,.07)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.eq-card:hover { transform: translateY(-3px); border-color: rgba(251, 191, 36, 0.3); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.eq-card.is-live { border-color: rgba(239, 68, 68, 0.5); }

.eq-photo { position: relative; aspect-ratio: 3 / 2; background: #0F172A; overflow: hidden; cursor: pointer; }
.eq-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.eq-card:hover .eq-photo img { transform: scale(1.03); }
.eq-photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(8, 11, 19, 0.85)); pointer-events: none; }
.eq-tag { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.3px; color: #fff; background: rgba(8, 11, 19, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eq-tag i { color: var(--gold); }
.eq-tag.dir { color: #111; background: var(--gradient-gold); border-color: transparent; }
.eq-tag.dir i { color: #111; }
.eq-live { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: #fff; background: #DC2626; box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4); }
.eq-live[hidden] { display: none; }
.eq-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: eqBlink 1.2s ease-in-out infinite; }
@keyframes eqBlink { 50% { opacity: .3; } }

.eq-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.eq-name { margin: 0; font-size: 1.35rem; font-weight: 900; color: #fff; letter-spacing: 0.3px; line-height: 1.1; }
.eq-role { font-size: 0.86rem; font-weight: 700; color: var(--gold); margin-top: -4px; }
.eq-shows { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; font-size: 0.76rem; font-weight: 600; color: #CBD5E1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); }
.eq-chip i { color: #64748B; font-size: 0.7rem; }
.eq-next { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); min-height: 1.2em; }
.eq-next i { color: #64748B; }
.eq-next b { color: #E2E8F0; font-weight: 700; }
.eq-card.is-live .eq-next { color: #FCA5A5; }
.eq-card.is-live .eq-next i { color: #EF4444; }
.eq-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.eq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 11px; font-family: inherit; font-size: 0.82rem; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: #fff; transition: all .2s ease; }
.eq-btn i { color: var(--gold); }
.eq-btn:hover { border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.08); }
.eq-btn.primary { background: var(--gradient-gold); color: #111; border-color: transparent; }
.eq-btn.primary i { color: #111; }
.eq-btn.primary:hover { filter: brightness(1.06); }
.eq-icon { width: 38px; height: 38px; margin-left: auto; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #CBD5E1; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none; font-size: 1rem; transition: all .2s ease; }
.eq-icon:hover { color: #fff; border-color: rgba(236, 72, 153, 0.5); background: rgba(236, 72, 153, 0.12); }

/* Engagements */
.eq-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1040px; }
.eq-value { padding: 16px; border-radius: 18px; background: var(--jm-panel, rgba(12,16,27,.78)); border: 1px solid var(--jm-border, rgba(255,255,255,.07)); }
.eq-value i { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(251, 191, 36, 0.12); color: var(--gold); font-size: 1rem; margin-bottom: 10px; }
.eq-value h3 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 800; color: #fff; }
.eq-value p { margin: 0; font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* Recrutement */
.eq-join { display: flex; align-items: center; gap: 20px; max-width: 1040px; margin: 30px 0 10px; padding: 22px 24px; border-radius: var(--jm-radius, 22px); background: linear-gradient(120deg, rgba(231, 37, 53, 0.16), rgba(12, 16, 27, 0.85) 55%); border: 1px solid rgba(231, 37, 53, 0.3); }
.eq-join-ico { width: 54px; height: 54px; flex: none; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #E72535, #B91C1C); box-shadow: 0 10px 24px rgba(231, 37, 53, 0.35); }
.eq-join-txt { flex: 1; min-width: 0; }
.eq-join-txt h2 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 900; color: #fff; }
.eq-join-txt p { margin: 0; font-size: 0.86rem; color: #CBD5E1; }
.eq-join .eq-btn { height: 44px; padding: 0 20px; background: linear-gradient(135deg, #E72535, #B91C1C); border-color: transparent; color: #fff; white-space: nowrap; }
.eq-join .eq-btn i { color: #fff; }
.eq-join .eq-btn:hover { filter: brightness(1.1); }

/* Fiche membre (modale) */
.eq-modal { position: fixed; inset: 0; z-index: 10001; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 6, 14, 0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eq-modal.open { display: flex; animation: eqFade .2s ease; }
@keyframes eqFade { from { opacity: 0; } to { opacity: 1; } }
.eq-modal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; border-radius: 24px; background: #0D1220; border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: eqUp .25s ease; scrollbar-width: thin; }
@keyframes eqUp { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.eq-modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(8, 11, 19, 0.7); color: #fff; font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.eq-modal-close:hover { background: rgba(255, 255, 255, 0.15); }
.eq-modal-banner { position: relative; aspect-ratio: 3 / 2; background: #0F172A; }
.eq-modal-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eq-modal-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #0D1220); }
.eq-modal-id { position: relative; z-index: 2; margin-top: -54px; padding: 0 22px; }
.eq-modal-id .eq-tag { position: static; margin-bottom: 8px; }
.eq-modal-id h2 { margin: 0; font-size: 1.7rem; font-weight: 900; color: #fff; letter-spacing: 0.3px; }
.eq-modal-id .eq-role { margin-top: 2px; }
.eq-modal-body { padding: 16px 22px 8px; display: flex; flex-direction: column; gap: 16px; }
.eq-next-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(251, 191, 36, 0.07); border: 1px solid rgba(251, 191, 36, 0.25); }
.eq-next-box.live { background: rgba(220, 38, 38, 0.1); border-color: rgba(239, 68, 68, 0.45); }
.eq-next-box > i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(251, 191, 36, 0.15); color: var(--gold); }
.eq-next-box.live > i { background: #DC2626; color: #fff; }
.eq-next-box small { display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-secondary); }
.eq-next-box b { display: block; font-size: 0.98rem; color: #fff; }
.eq-next-box span { font-size: 0.8rem; color: var(--gold); font-weight: 700; }
.eq-next-box.live span { color: #FCA5A5; }
.eq-modal-h { font-size: 0.72rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #64748B; margin: 0 0 6px; }
.eq-bio { margin: 0; font-size: 0.92rem; color: #CBD5E1; line-height: 1.65; }
.eq-showlist { display: flex; flex-direction: column; gap: 8px; }
.eq-show { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); }
.eq-show img { width: 64px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; background: #0F172A; }
.eq-show b { display: block; font-size: 0.88rem; color: #fff; }
.eq-show span { font-size: 0.76rem; color: var(--text-secondary); }
.eq-empty-shows { font-size: 0.85rem; color: var(--text-secondary); }
.eq-modal-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px 20px; }
.eq-modal-foot .eq-btn.primary { flex: 1; height: 44px; }

/* Responsive */
@media (max-width: 1100px) { .eq-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .eq-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .eq-body { padding: 14px 14px 16px; }
    .eq-name { font-size: 1.2rem; }
    .eq-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .eq-value { padding: 13px; }
    .eq-join { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
    .eq-join .eq-btn { width: 100%; }
    .eq-modal { padding: 0; align-items: flex-end; }
    .eq-modal-card { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; }
}
