.page-personnage {
    background: #fff;
    color: #073b4c;
}

.personnages-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0 80px;
}

.personnages-header {
    position: relative;
    overflow: hidden;
    padding: 42px;
    margin-bottom: 30px;
    border: 1px solid #dcecf2;
    border-radius: 28px;
    background: linear-gradient(135deg, #f0fbff 0%, #fff 55%, #f5f0ff 100%);
    box-shadow: 0 18px 45px rgba(7, 59, 76, .08);
}

.music-artists-kicker {
    margin: 0 0 8px;
    color: #0797b5;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.personnages-header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
}

.music-artists-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.music-country-flag {
    width: 68px;
    height: 46px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.music-artists-intro {
    max-width: 650px;
    margin: 14px 0 22px;
    color: #607d8b;
}

.music-artists-back {
    display: inline-flex;
    padding: 11px 18px;
    border-radius: 999px;
    background: #08bddd;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.categorie-label {
    position: absolute;
    top: 36px;
    right: 36px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #fff;
    color: #087f98;
    box-shadow: 0 8px 25px rgba(7, 59, 76, .1);
}

.personnages-header .categorie-label,
.personnages-header .categorie-text {
    color: #087f98 !important;
}

.categorie-text { font-weight: 800; }

.recherche-bar { margin: 0 auto 18px; }

#filtre-personnages {
    box-sizing: border-box;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cfe4ec;
    border-radius: 16px;
    background: #fff;
    color: #073b4c;
    font: inherit;
    box-shadow: 0 10px 30px rgba(7, 59, 76, .06);
}

#filtre-personnages:focus {
    border-color: #08bddd;
    outline: 3px solid rgba(8, 189, 221, .15);
}

.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-bottom: 12px;
}

.alphabet-filter span {
    min-width: 34px;
    padding: 8px 9px;
    border: 1px solid #d7e8ee;
    border-radius: 10px;
    background: #fff;
    color: #557581;
    text-align: center;
    cursor: pointer;
}

.alphabet-filter span:hover,
.alphabet-filter span.active {
    border-color: #08bddd;
    background: #08bddd;
    color: #fff;
}

#result-count {
    margin-bottom: 20px;
    color: #6b8791;
    text-align: center;
    font-size: .95rem;
}

.portraits-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.link-portrait { text-decoration: none; }

.music-artist-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1.15;
    border: 1px solid #dce9ee;
    border-radius: 22px;
    background: #eef7fa;
    box-shadow: 0 14px 35px rgba(7, 59, 76, .1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.link-portrait:hover .music-artist-card {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(7, 59, 76, .16);
}

.music-artist-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.music-artist-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 54px 16px 16px;
    background: linear-gradient(to top, rgba(3, 32, 43, .96), rgba(3, 32, 43, .7), transparent);
    color: #fff;
}

.music-work-title {
    margin-bottom: 4px;
    color: #bceefa;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
}

.music-artist-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

.no-personnage-message {
    padding: 28px;
    border: 1px solid #dcecf2;
    border-radius: 18px;
    background: #f7fcfe;
    color: #607d8b;
    text-align: center;
}

@media (max-width: 700px) {
    .personnages-container { width: min(100% - 24px, 1180px); padding-top: 30px; }
    .personnages-header { padding: 30px 24px; }
    .categorie-label { position: static; display: inline-block; margin-top: 18px; }
    .music-artists-title-row { align-items: flex-start; gap: 12px; }
    .music-country-flag { width: 52px; height: 36px; }
    .portraits-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
