/* =============================== */
/*  SECTION PERSONNAGE – LAYOUT    */
/* =============================== */

body.page-personnage {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(180deg, #f6fbff 0%, #ffffff 220px);
    color: var(--text-main);
}

.page-personnage main {
    flex: 1 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.page-personnage > footer {
    margin-top: auto;
}

.page-personnage .section-title {
    all: unset;
    display: block;
}

.page-personnage .section-title h2,
.page-personnage .section-title::after {
    display: none !important;
}

.page-personnage .container {
    max-width: 1100px;
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-md);
}

.personnage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.personnage-hero {
    max-width: 760px;
    margin: 0 0 2rem;
    padding-top: 0.35rem;
}

.personnage-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #22a6c5;
}

.personnage-hero h1 {
    margin: 0 0 1.35rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f4d63;
}

.personnage-intro {
    margin: 0;
    max-width: 65ch;
    color: #61738a;
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    line-height: 1.75;
}

/* Titre principal page Personnage */
.personnage-heading {
    max-width: 980px;
    margin: 0 auto 28px;
    padding: 18px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9 0%, #a855f7 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    text-align: center;
    position: relative;
    overflow: visible;
}

.personnage-heading::after {
    content: "👤";
    position: absolute;
    right: 18px;
    bottom: 12px;
    font-size: 2rem;
    opacity: .15;
}

.personnage-heading h1,
.personnage-heading h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .5px;
    text-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* Grille catégories */
.film-categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.film-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 1100px) {
    .personnage-container {
        padding: 18px;
    }
}

@media (max-width: 980px) {
    .personnage-heading {
        margin: 0 auto 20px;
    }
}

@media (max-width: 720px) {
    .personnage-heading h1,
    .personnage-heading h2 {
        font-size: 1.4rem;
    }
}
