/* =========================================================
   PAGE PROFIL PERSONNAGE (personnage4.php)
========================================================= */

.character-profile {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
}

/* =========================================================
   HEADER
========================================================= */
.character-header {
    margin-bottom: 20px;
}

.character-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.character-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categorie-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* =========================================================
   DÉTAILS PERSONNAGE (image + infos)
========================================================= */
.character-details {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

@media (max-width: 992px) {
    .character-details {
        grid-template-columns: 1fr;
    }
}

/* --- Image container --- */
.character-image-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Infos section (info + liens) --- */
.character-info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.character-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.map-credit {
    font-size: 0.85rem;
    color: #64748b;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.map-credit a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.map-credit a:hover {
    text-decoration: underline;
}

/* --- Liens externes --- */
.external-links {
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.external-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.external-links-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.external-links-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
}

.external-links-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.external-links-icons img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* --- Infos personnage --- */
.character-info {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    min-height: 320px;
}

.character-info p {
    margin: 0 0 14px 0;
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
}

.character-info p:last-child {
    margin-bottom: 0;
}

.character-info strong {
    font-weight: 600;
    color: #0f172a;
    display: inline-block;
    min-width: 180px;
}

.character-info p {
    margin: 12px 0;
    line-height: 1.6;
    color: #334155;
    font-size: 1rem;
}

/* --- Genre Symbol --- */
.genre-symbol {
    font-size: 1.1rem;
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: #6366f1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

/* --- Children Section --- */
.character-children-section {
    margin-top: 8px;
}

.character-children-section > p {
    margin-bottom: 8px;
}

.children-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.children-list li {
    padding: 8px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 3px solid #6366f1;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.2s ease;
}

.children-list li:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateX(4px);
}

.child-year {
    color: #64748b;
    font-size: 0.9rem;
    margin-left: 6px;
    font-weight: 500;
}

/* --- Country Flag --- */
.country-flag-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    vertical-align: middle;
}

.country-flag-img {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
    border: 1px solid #e2e8f0;
}

.country-name {
    color: #334155;
    font-weight: 500;
}

.character-quote-box {
    margin-top: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
}

.character-quote-box blockquote {
    margin: 0;
    font-size: 1.05rem;
    font-style: italic;
    color: #0c4a6e;
    line-height: 1.6;
    max-width: 500px;
    max-height: 4.8rem;
    overflow: hidden;
}

/* =========================================================
   VIE PRIVÉE & FAMILLE
========================================================= */
.personnage-section {
    margin-bottom: 28px;
}

.personnage-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.famille-unions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.famille-union-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

.famille-union-card:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.famille-union-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.famille-union-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.famille-union-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    font-weight: 600;
}

.famille-union-conjoint {
    font-weight: 700;
    color: #111827;
    font-size: 1.1rem;
}

.badge-statut {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e5e7eb;
    color: #374151;
    white-space: nowrap;
}

.badge-statut[data-statut="Marié"],
.badge-statut[data-statut="En couple"],
.badge-statut[data-statut="Fiancé"] {
    background: #dcfce7;
    color: #166534;
}

.badge-statut[data-statut="Divorcé"],
.badge-statut[data-statut="Séparé"] {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-statut[data-statut="Veuf"] {
    background: #e0f2fe;
    color: #075985;
}

.famille-union-dates {
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #4b5563;
    font-size: 0.95rem;
}

.famille-union-dates strong {
    font-weight: 600;
    color: #1f2937;
}

.famille-union-children {
    margin-top: 12px;
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px;
}

.famille-union-children strong {
    display: block;
    margin-bottom: 6px;
    color: #1f2937;
    font-weight: 600;
}

.famille-union-children ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.famille-union-children li {
    margin: 4px 0;
    color: #374151;
}

/* =========================================================
   SECTIONS MÉTIERS (politique, sport, cinéma, musique)
========================================================= */
.character-politics,
.character-sport,
.character-cinema {
    margin-bottom: 28px;
    margin-top: 0;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.character-politics h2,
.character-sport h2,
.character-cinema h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.politics-logo,
.sport-logo,
.actor-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.cinema-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 3px solid #6366f1;
    background: transparent !important;
}

.cinema-icon {
    font-size: 1.9rem;
    display: inline-flex;
    align-items: center;
}

.politics-info,
.sport-info,
.cinema-info {
    color: #334155;
}

.politics-info p,
.sport-info p,
.cinema-info > p {
    margin: 0 0 12px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.politics-info strong,
.sport-info strong,
.cinema-info strong {
    font-weight: 600;
    color: #0f172a;
    display: inline-block;
    min-width: 200px;
}

.politics-info ul,
.sport-info ul {
    margin: 8px 0 0 0;
    padding-left: 24px;
}

.politics-info li,
.sport-info li {
    margin: 4px 0;
}

/* --- Sections films/séries --- */
.films-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}

.films-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.cinema-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.last-films-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    gap: 10px;
}

.last-films-list li {
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #6366f1;
    transition: all 0.2s ease;
}

.last-films-list li:hover {
    background: #f1f5f9;
    border-left-color: #8b5cf6;
    transform: translateX(4px);
}

.last-films-list a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.last-films-list a:hover {
    text-decoration: underline;
}

.cinema-block {
    margin-top: 20px;
}

.btn-etape {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transition: all 0.2s ease;
}

.btn-etape:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.film-icon {
    font-size: 1.2rem;
}

/* =========================================================
   CINEMA GRID & CARDS - CARRIÈRE CINÉMA/TÉLÉ/OSCARS
========================================================= */

.character-cinema {
    margin-bottom: 28px;
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.character-cinema h2 {
    margin: 0;
    padding: 28px 28px 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.actor-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* --- Cinema Grid Layout --- */
.cinema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    padding: 28px;
}

@media (max-width: 992px) {
    .cinema-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Cinema Cards --- */
.cinema-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cinema-card:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.cinema-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6366f1;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emoji {
    font-size: 1.5rem;
}

/* --- Oscar Awards Card --- */
.cinema-card-awards {
    grid-column: 1 / -1;
    border-left: 4px solid #6366f1;
}

/* --- Films Card --- */
.cinema-card-films {
    grid-column: 1 / -1;
    border-left: 4px solid #6366f1;
}

.oscar-awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oscar-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 12px 14px;
    background: white;
    border-left: 4px solid #6366f1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.oscar-item:hover {
    background: #eef2ff;
    border-left-color: #8b5cf6;
}

.oscar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oscar-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.oscar-pill.gagnant {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #3a2f00;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.oscar-pill.nomine {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid #6366f1;
}

.ico-oscar {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.oscar-category {
    font-weight: 500;
    color: #334155;
}

.oscar-right {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.oscar-year {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    font-weight: 600;
    color: #6366f1;
    font-size: 0.8rem;
}

.oscar-price {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.oscar-price.gagnant {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #3a2f00;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.oscar-price.nomine {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.oscar-film {
    color: #1e293b;
    font-weight: 500;
}

.oscar-film a {
    color: #6366f1;
    text-decoration: none;
}

.oscar-film a:hover {
    text-decoration: underline;
    color: #8b5cf6;
}

/* --- Films Timeline --- */
.cinema-films-timeline {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    background: white;
    border-left: 4px solid #6366f1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.timeline-item:hover {
    background: #eef2ff;
    border-left-color: #8b5cf6;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    flex-shrink: 0;
    margin-top: 5px;
}

/* --- Films Grid Posters --- */
.films-grid-posters {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.films-grid-posters--single {
    grid-template-columns: minmax(160px, 320px);
}

.films-grid-posters--single .film-poster-link {
    background: #f8fafc;
}

.films-grid-posters--single .film-poster-img {
    height: auto;
    max-height: 450px;
    object-fit: cover;
    aspect-ratio: 2 / 3;
}

@media (max-width: 768px) {
    .films-grid-posters {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .films-grid-posters--single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .films-grid-posters {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.film-poster-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.film-poster-card--oscar-winner {
    border: 2px solid #d4af37;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), 0 0 20px rgba(212, 175, 55, 0.2);
}

.film-poster-card--oscar-winner:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2), 0 0 30px rgba(212, 175, 55, 0.35);
}

.film-oscar-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.6);
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.film-poster-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    transform: translateY(-6px) scale(1.02);
}

.film-poster-link {
    display: block;
    width: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.film-poster-img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    background: #f8fafc;
    aspect-ratio: 2 / 3;
}

.film-poster-card:hover .film-poster-img {
    transform: scale(1.08);
}

.film-poster-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #6366f1;
    opacity: 0.7;
}

.film-poster-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.film-poster-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    min-height: 2.6em;
}

.film-poster-title a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.film-poster-title a:hover {
    color: #8b5cf6;
}

/* --- Series Grid Posters --- */
.series-grid-posters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.series-grid-posters--single {
    grid-template-columns: minmax(200px, 320px);
}

.series-grid-posters--single .film-poster-link {
    background: #f8fafc;
}

.series-grid-posters--single .series-poster-img {
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .series-grid-posters {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .series-grid-posters--single {
        grid-template-columns: minmax(150px, 1fr);
    }
}

.film-poster-year {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.film-oscar-cat {
    display: block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #3a2f00;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.25);
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 100%;
}

.film-nomination-cat {
    display: block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #c7d2e0 0%, #e2e8f0 50%, #c7d2e0 100%);
    color: #334155;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(71, 85, 105, 0.15);
    border: 1px solid #b0bac9;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 100%;
}

.film-poster-role {
    font-size: 0.82rem;
    color: #475569;
    border-top: 2px solid #e0e7ff;
    padding-top: 8px;
    margin-top: 6px;
}

.film-poster-role strong {
    color: #6366f1;
    font-weight: 600;
}

.timeline-content {
    flex: 1;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-year {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    font-weight: 600;
    color: #6366f1;
    font-size: 0.8rem;
}

.timeline-title {
    color: #1e293b;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.timeline-title:hover {
    color: #6366f1;
}

.cinema-card-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.btn-etape {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-etape:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white !important;
}

/* --- Séries TV --- */
.cinema-card-series {
    grid-column: auto;
}

.cinema-card-series .last-films-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.cinema-card-series .last-films-list li {
    padding: 12px 14px;
    background: white;
    border-left: 4px solid #0ea5e9;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.cinema-card-series .last-films-list li:last-child {
    margin-bottom: 0;
}

.cinema-card-series .last-films-list li:hover {
    background: #e0f2fe;
    border-left-color: #6366f1;
}

.cinema-card-series strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
}

.cinema-card-series a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
}

.cinema-card-series a:hover {
    color: #6366f1;
}

/* --- Cinema Info Section (pour musique) --- */
.cinema-info {
    padding: 24px;
}

.cinema-info p {
    margin: 0 0 14px 0;
    color: #334155;
}

.cinema-info p:last-child {
    margin-bottom: 0;
}

.films-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.films-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cinema-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #6366f1;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.last-films-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.last-films-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border-left: 4px solid #6366f1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.last-films-list li:hover {
    background: #eef2ff;
}

.last-films-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    flex-shrink: 0;
}

.last-films-list strong {
    color: #1e293b;
    font-weight: 600;
}

.last-films-list a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.last-films-list a:hover {
    color: #8b5cf6;
}

.cinema-block {
    margin-top: 14px;
}

/* --- Groupes musicaux --- */
.groupe-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.groupe-section h4 {
    font-size: 1.15rem;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.groupe-section h4 a {
    color: #6366f1;
    text-decoration: none;
}

.groupe-section h4 a:hover {
    text-decoration: underline;
}

.no-content {
    color: #64748b;
    font-style: italic;
    margin: 8px 0;
}

/* =========================================================
   PARCOURS PAR ÂGE
========================================================= */
.character-steps {
    margin-bottom: 28px;
}

.character-steps h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 3px solid #6366f1;
    position: relative;
}

.step-icon {
    font-size: 1.9rem;
    display: inline-flex;
    align-items: center;
}

.character-step-block {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.character-step-block:has(.step-image) {
    grid-template-columns: 300px 1fr;
}

.character-step-block:not(:has(.step-image)) {
    grid-template-columns: 1fr;
}

.character-step-block:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .character-step-block {
        grid-template-columns: 1fr;
    }
}

.step-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.character-step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6366f1;
    margin: 0 0 12px 0;
}

.character-step-content p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* =========================================================
   BOUTON RETOUR
========================================================= */
.character-back {
    margin: 24px 0 16px;
    text-align: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.25);
    transition: all 0.2s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(71, 85, 105, 0.35);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
    .character-title {
        flex-direction: column;
        text-align: center;
        padding: 14px;
    }

    .character-title h1 {
        font-size: 1.6rem;
    }

    .categorie-logo {
        width: 44px;
        height: 44px;
    }

    .character-info strong {
        min-width: auto;
        display: block;
        margin-bottom: 4px;
    }

    .famille-unions-list {
        grid-template-columns: 1fr;
    }

    .character-politics,
    .character-sport,
    .character-cinema {
        padding: 16px;
    }
}
