.arbitres-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.arbitres-hero {
    text-align: center;
    padding: 40px 0 50px;
}
.arbitres-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #8CC63F;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 14px;
}
.arbitres-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    margin-bottom: 12px;
    color: #1a1a1a;
}
.arbitres-hero h1 em { font-style: normal; color: #8CC63F; }
.arbitres-hero p {
    font-size: 15px;
    color: rgba(0,0,0,0.45);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.arbitres-section { margin-bottom: 40px; }
.arbitres-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.arbitres-section-header i {
    font-size: 20px;
    color: #8CC63F;
}
.arbitres-section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    color: #1a1a1a;
}
.responsable-header i { color: #d97706; }
.accompagnateur-header i { color: #2563eb; }

.arbitres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.responsables-grid {
    grid-template-columns: repeat(2, 1fr);
}

.arbitre-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.arbitre-card:hover {
    border-color: rgba(140,198,63,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.responsable-card {
    background: linear-gradient(135deg, rgba(251,191,36,0.06), rgba(251,191,36,0.02));
    border-color: rgba(251,191,36,0.15);
    padding: 24px;
}
.responsable-card:hover { border-color: rgba(251,191,36,0.35); }

.accompagnateur-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.04), rgba(59,130,246,0.01));
    border-color: rgba(59,130,246,0.1);
}
.accompagnateur-card:hover { border-color: rgba(59,130,246,0.3); }

.arbitre-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(140,198,63,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.arbitre-avatar i { font-size: 20px; color: #8CC63F; }
.arbitre-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.responsable-avatar {
    width: 52px;
    height: 52px;
    background: rgba(251,191,36,0.1);
}
.responsable-avatar i { color: #d97706; font-size: 22px; }
.responsable-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.accompagnateur-avatar { background: rgba(59,130,246,0.08); }
.accompagnateur-avatar i { color: #2563eb; }

.arbitre-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
}
.arbitre-grade {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #5a8a28;
    background: rgba(140,198,63,0.1);
    padding: 2px 10px;
    border-radius: 12px;
}
.responsable-grade {
    color: #b45309;
    background: rgba(251,191,36,0.1);
}
.accompagnateur-grade {
    color: #1d4ed8;
    background: rgba(59,130,246,0.08);
}
.arbitre-role-label {
    display: block;
    font-size: 11px;
    color: #b45309;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arbitres-empty {
    text-align: center;
    padding: 60px 20px;
}
.arbitres-empty p {
    font-size: 15px;
    color: rgba(0,0,0,0.4);
}

.arbitres-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(0,0,0,0.4);
    text-decoration: none;
    margin-top: 20px;
    transition: color 0.3s;
}
.arbitres-back:hover { color: #8CC63F; }

@media (max-width: 768px) {
    .arbitres-grid { grid-template-columns: 1fr; }
    .responsables-grid { grid-template-columns: 1fr; }
}

.arbitres-hero { position: relative; }
.arbitres-hero-content { position: relative; z-index: 2; }

.arbitres-hero.has-photo {
    padding: 64px 28px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 44px;
}
.arbitres-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 0;
}
.arbitres-hero-veil { position: absolute; inset: 0; z-index: 1; }

.arbitres-text-light.has-photo h1 { color: #fff; }
.arbitres-text-light.has-photo p { color: rgba(255,255,255,0.8); }
.arbitres-text-light.has-photo .arbitres-hero-badge { color: #a5d861; }

@media (max-width: 768px) {
    .arbitres-hero.has-photo { padding: 44px 20px; border-radius: 12px; }
}

.planning-week {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #5a8a28;
    background: rgba(140,198,63,0.12);
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.planning-frame {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fafafa;
}
.planning-frame img { display: block; width: 100%; height: auto; }
.planning-zoom {
    position: absolute;
    right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(26,26,26,0.82);
    color: #fff;
    font-size: 12px; font-weight: 600;
    padding: 7px 12px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.planning-frame:hover .planning-zoom,
.planning-frame:focus-visible .planning-zoom { opacity: 1; }

@media (max-width: 768px) {
    .planning-week { margin: 4px 0 0; width: 100%; }
    .planning-zoom { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .planning-zoom { transition: none; } }
