/* =========================================
   LES CHRONIQUES DU POULPE
   Version Éclosion — style principal
   ========================================= */


/* ---------- Réinitialisation ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

    color: var(--ink);
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(176, 141, 87, 0.12),
            transparent 30rem
        ),
        linear-gradient(
            180deg,
            var(--parchment) 0%,
            #ebe3d5 100%
        );

    font-family: var(--text-font);
    font-size: 1rem;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ---------- Sélection du texte ---------- */

::selection {
    color: var(--parchment);
    background: var(--forest);
}


/* ==================================================
   HERO — PAGE D’ACCUEIL
   ================================================== */

.home-hero {
    position: relative;
    isolation: isolate;

    min-height: 100svh;

    display: grid;
    place-items: center;

    padding:
        clamp(5rem, 9vh, 8rem)
        clamp(1.5rem, 5vw, 5rem)
        clamp(7rem, 12vh, 10rem);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(48, 92, 70, 0.34),
            transparent 43%
        ),
        linear-gradient(
            145deg,
            #0b241a 0%,
            #123528 52%,
            #091e16 100%
        );

    color: #f4efe5;
    text-align: center;
}




/* ==================================================
   CARTE EN FILIGRANE
   ================================================== */

.home-hero__map {
    position: absolute;
    inset: -5%;

    z-index: -2;

    background:
        url("../img/cabinet-curiosites/carte-poulpe-ancienne.webp")
        center / cover
        no-repeat;

    opacity: 0.64;

    filter:
    grayscale(0.75)
    sepia(0.25)
    contrast(0.95)
    brightness(0.9);

    mix-blend-mode: soft-light;

    transform: scale(1.05);
}


/* Voile vert pour fondre la carte */

.home-hero::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            ellipse at center,
            rgba(4, 20, 14, 0.16) 0%,
            rgba(4, 20, 14, 0.38) 52%,
            rgba(4, 20, 14, 0.66) 100%
        );

    pointer-events: none;
}


/* Cercles décoratifs */

.home-hero__ornament {
    position: absolute;
    top: -13vw;
    right: -10vw;

    width: clamp(300px, 39vw, 760px);
    aspect-ratio: 1;

    border: 1px solid rgba(184, 139, 69, 0.24);
    border-radius: 50%;

    opacity: 0.8;
}

.home-hero__ornament::before,
.home-hero__ornament::after {
    content: "";

    position: absolute;

    border-radius: 50%;
}

.home-hero__ornament::before {
    inset: 7%;

    border: 1px solid rgba(244, 239, 229, 0.035);
}

.home-hero__ornament::after {
    inset: 14%;

    border: 1px solid rgba(244, 239, 229, 0.025);
}


/* ==================================================
   CONTENU
   ================================================== */

.home-hero__content {
    position: relative;
    z-index: 2;

    width: min(1100px, 100%);
}


/* Sur-titre */

.home-hero__eyebrow {
    margin: 0 0 clamp(2rem, 4vh, 3rem);

    color: #b88b45;

    font-size: clamp(1rem, 1.3vw, 1.28rem);
    font-weight: 600;
    letter-spacing: 0.34em;
    line-height: 1.5;
    text-transform: uppercase;
}


/* ==================================================
   TITRE
   ================================================== */

.home-hero__title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.065em;
}

.home-hero__title-main,
.home-hero__title-lower {
    display: block;
}

.home-hero__title-main {
    font-size: clamp(4.1rem, 8.5vw, 9rem);
}

.home-hero__title-lower {
    margin-top: clamp(0.35rem, 1.3vw, 1rem);
}


/* Le “du” n’est plus en italique */

.home-hero__title-du {
    display: block;

    margin-bottom: clamp(-0.2rem, -0.3vw, -0.05rem);

    color: #f4efe5;

    font-size: clamp(2.3rem, 4.4vw, 4.8rem);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}


/* Poulpe en or */

.home-hero__title-poulpe {
    display: block;

    color: #bd893c;

    font-size: clamp(5rem, 10.2vw, 10.8rem);
    line-height: 0.88;
}


/* ================================================
   INTRODUCTION ET DEVISE
   ================================================== */

.home-hero__intro {
    max-width: 870px;

    margin:
        clamp(2.4rem, 5vh, 4rem)
        auto
        0;

    color: rgba(244, 239, 229, 0.92);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.22rem, 1.75vw, 1.62rem);
    line-height: 1.65;
}

.home-hero__divider {
    display: block;

    width: 42px;
    height: 1px;

    margin:
        clamp(2rem, 4vh, 3rem)
        auto;

    background: #b88b45;
}

.home-hero__motto {
    margin: 0;

    color: rgba(244, 239, 229, 0.58);

    font-size: clamp(0.95rem, 1.15vw, 1.18rem);
    letter-spacing: 0.08em;
    line-height: 1.6;
}


/* ==================================================
   APPEL À L’ACTION
   ================================================== */

.home-hero__enter {
    position: absolute;
    left: 50%;
    bottom: clamp(2rem, 5vh, 4rem);
    z-index: 3;

    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.85rem;

    color: rgba(244, 239, 229, 0.92);

    font-size: clamp(0.9rem, 1.1vw, 1.12rem);
    font-weight: 600;
    letter-spacing: 0.24em;
    text-decoration: none;
    text-transform: uppercase;

    transform: translateX(-50%);

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.home-hero__enter span:last-child {
    color: #b88b45;

    font-size: 1.42rem;

    transition: transform 0.3s ease;
}

.home-hero__enter:hover,
.home-hero__enter:focus-visible {
    color: #f4efe5;

    transform:
        translateX(-50%)
        translateY(-4px);
}

.home-hero__enter:hover span:last-child,
.home-hero__enter:focus-visible span:last-child {
    transform: translateY(5px);
}

.home-hero__enter:focus-visible {
    outline: 1px solid #b88b45;
    outline-offset: 8px;
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 700px) {

    .home-hero {
        min-height: 100svh;

        padding:
            6rem
            1.25rem
            8rem;
    }

    .home-hero__map {
        inset: 0;

        background-position: 58% center;

        opacity: 0.48;

        transform: none;
    }

    .home-hero__eyebrow {
        max-width: 280px;

        margin-inline: auto;

        letter-spacing: 0.26em;
    }

    .home-hero__title {
        line-height: 0.92;
    }

    .home-hero__intro {
        max-width: 480px;
    }

    .home-hero__motto {
        max-width: 290px;

        margin-inline: auto;
    }

    .home-hero__ornament {
        top: -18vw;
        right: -38vw;

        width: 110vw;
    }

}


/* Réduction des animations */

@media (prefers-reduced-motion: reduce) {

    .home-hero__enter,
    .home-hero__enter span {
        transition: none;
    }

}


/* ---------- Section des quatre portes ---------- */

.portes {
    position: relative;

    padding: clamp(5rem, 10vw, 9rem) 1.5rem;

    background:
        linear-gradient(
            rgba(244, 239, 229, 0.92),
            rgba(244, 239, 229, 0.92)
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 4px,
            rgba(91, 74, 54, 0.03) 5px
        );
}

.section-heading {
    width: min(100%, 900px);
    margin: 0 auto 4rem;

    text-align: center;
}

.section-heading p {
    margin: 0 0 0.8rem;

    color: var(--bronze);

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;

    color: var(--forest);

    font-family: var(--title-font);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 400;
    line-height: 1.05;
}


/* ---------- Grille ---------- */

.portes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;

    width: min(100%, 1220px);
    margin: 0 auto;
}


/* ---------- Porte générique ---------- */

.porte {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 34rem;
    padding: 2rem;

    overflow: hidden;

    color: var(--parchment);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);

    box-shadow: var(--shadow-soft);

    isolation: isolate;

    transition:
        transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.65s ease,
        border-color 0.65s ease;
}


/* Fond décoratif commun */

.porte::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.04),
            rgba(0, 0, 0, 0.58)
        );

    transition: transform 0.8s ease;
}


/* Halo intérieur */

.porte::after {
    content: "";

    position: absolute;
    top: -10rem;
    right: -10rem;
    z-index: -1;

    width: 22rem;
    height: 22rem;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    box-shadow:
        0 0 0 4rem rgba(255, 255, 255, 0.025),
        0 0 0 8rem rgba(255, 255, 255, 0.015);

    transition:
        transform 0.8s ease,
        opacity 0.8s ease;
}

.porte:hover {
    border-color: rgba(244, 239, 229, 0.35);

    box-shadow:
        0 28px 70px rgba(20, 27, 23, 0.28);

    transform: translateY(-0.75rem);
}

.porte:hover::before {
    transform: scale(1.035);
}

.porte:hover::after {
    opacity: 0.75;

    transform: translate(-1rem, 1rem) scale(1.08);
}


/* ---------- Couleurs propres aux portes ---------- */

.porte--cinema {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(218, 168, 111, 0.22),
            transparent 22rem
        ),
        linear-gradient(
            145deg,
            #332018,
            var(--cinema)
        );
}

.porte--litterature {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(226, 195, 143, 0.18),
            transparent 22rem
        ),
        linear-gradient(
            145deg,
            #3f2d1d,
            var(--literature)
        );
}

.porte--cabinet {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(176, 141, 87, 0.24),
            transparent 22rem
        ),
        linear-gradient(
            145deg,
            #2a241d,
            var(--cabinet)
        );
}

.porte--carnets {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(150, 193, 164, 0.2),
            transparent 22rem
        ),
        linear-gradient(
            145deg,
            #20352b,
            var(--carnets)
        );
}


/* ---------- Numéro ---------- */

.porte__number {
    color: rgba(244, 239, 229, 0.48);

    font-family: var(--title-font);
    font-size: 4rem;
    letter-spacing: 0.14em;
}


/* ---------- Texte de chaque porte ---------- */

.porte__content {
    max-width: 30rem;
    margin-top: auto;
    padding-top: 6rem;
}

.porte__label {
    margin: 0 0 0.7rem;

    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.porte h3 {
    margin: 0;

    color: var(--parchment);

    font-family: var(--title-font);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 400;
    line-height: 1.02;
}

.porte__content > p:last-child {
    margin: 1.4rem 0 0;

    color: rgba(244, 239, 229, 0.72);

    font-size: 1rem;
    line-height: 1.65;
}


/* ---------- Action ---------- */

.porte__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    margin-top: 2.5rem;
    padding-top: 1.3rem;

    color: rgba(244, 239, 229, 0.76);

    border-top: 1px solid rgba(244, 239, 229, 0.18);

    font-size: 0.8rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        color 0.4s ease,
        border-color 0.4s ease;
}

.porte__action span {
    color: var(--gold);

    font-size: 1.25rem;

    transition: transform 0.4s ease;
}

.porte:hover .porte__action {
    color: var(--parchment);

    border-color: rgba(244, 239, 229, 0.4);
}

.porte:hover .porte__action span {
    transform: translateX(0.4rem);
}


/* ---------- Pied de page ---------- */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 2rem clamp(1.5rem, 5vw, 5rem);

    color: rgba(244, 239, 229, 0.63);
    background: #14211c;

    font-size: 0.82rem;
}

.footer p {
    margin: 0;
}

.footer__professional {
    flex-shrink: 0;

    color: rgba(244, 239, 229, 0.7);

    transition: color 0.35s ease;
}

.footer__professional span {
    color: var(--poulpe-vert);
}

.footer__professional:hover {
    color: var(--parchment);
}


/* ---------- Accessibilité clavier ---------- */

a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}


/* ---------- Écrans intermédiaires ---------- */

@media (max-width: 900px) {

    .portes__grid {
        grid-template-columns: 1fr;
    }

    .porte {
        min-height: 30rem;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ---------- Téléphones ---------- */

@media (max-width: 600px) {

    .hero {
        min-height: 100svh;
        padding: 4rem 1.25rem 7rem;
    }

    .hero h1 {
        font-size: clamp(3rem, 17vw, 5rem);
    }

    .hero__intro {
        font-size: 1.05rem;
    }

    .hero__manifesto {
        font-size: 0.82rem;
    }

    .portes {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .porte {
        min-height: 31rem;
        padding: 1.5rem;
    }

    .porte__content {
        padding-top: 4rem;
    }

    .porte h3 {
        font-size: 2.5rem;
    }

    .footer {
        padding: 2rem 1.25rem;

        text-align: left;
    }

}


/* ---------- Réduction des mouvements ---------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================
   CHRONIQUE CINÉMA
   ========================================= */


/* ---------- Page ---------- */

.cinema-page {
    color: #27231f;
    background: #eee7da;
}


/* ---------- Navigation discrète ---------- */

.chronicle-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    width: 100%;
    padding: 1.1rem clamp(1.25rem, 4vw, 4rem);

    color: rgba(244, 239, 229, 0.78);
    background: rgba(13, 21, 18, 0.72);

    border-bottom: 1px solid rgba(244, 239, 229, 0.1);

    backdrop-filter: blur(14px);
}

.chronicle-nav__brand {
    color: var(--parchment);

    font-family: var(--title-font);
    font-size: 1rem;
}

.chronicle-nav nav {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chronicle-nav nav a {
    transition: color 0.3s ease;
}

.chronicle-nav nav a:hover {
    color: var(--gold);
}


/* ---------- Hero cinéma ---------- */

.gold-accent{
    color:var(--gold);
}

.cinema-hero {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-height: 100vh;
    padding: 8rem 1.5rem 6rem;

    overflow: hidden;

    color: var(--parchment);
    background-position: center 9%;
    background-size: cover;
    background-repeat: no-repeat;

    isolation: isolate;
}

.cinema-hero1 {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-height: 100vh;
    padding: 8rem 1.5rem 6rem;

    overflow: hidden;

    color: var(--parchment);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    isolation: isolate;
}

.cinema-hero2 {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-height: 100vh;
    padding: 8rem 1.5rem 6rem;

    overflow: hidden;

    color: var(--parchment);
    background-position: center 42%;
    background-size: cover;
    background-repeat: no-repeat;

    isolation: isolate;
}

/* ---------- Images propres à chaque chronique ---------- */

.cinema-page--odyssee .cinema-hero1 {
    background-image: url("../img/cinema/odyssee-hero.webp");
}

.cinema-page--spider-noir .cinema-hero {
    background-image: url("../img/cinema/spider-noir-hero.webp");
}

.cinema-page--maitres-de-l-univers .cinema-hero2 {
    background-image: url("../img/cinema/maitres-de-l-univers-hero.webp");
}




.cinema-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(7, 12, 10, 0.28) 0%,
            rgba(7, 12, 10, 0.18) 35%,
            rgba(7, 12, 10, 0.58) 68%,
            rgba(7, 12, 10, 0.94) 100%
        );
}

.cinema-hero__content {
    width: min(100%, 1100px);

    text-align: center;
}

.cinema-hero__category {
    margin: 0 0 1.2rem;

    color: var(--gold);

    font-size: 1.3rem;
    font-weight: 600;

    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.cinema-hero, 
.cinema-hero1,
.cinema-hero2 h1 {
    margin: 0;

    color: var(--parchment);

    font-family: var(--title-font);
    font-size: clamp(4rem, 13vw, 10rem);
    font-weight: 400;
    line-height: 0.88;

    letter-spacing: -0.055em;
}



.cinema-hero__details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;

    margin: 2rem 0 0;

    color: rgba(244, 239, 229, 0.72);

    font-size: 0.85rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cinema-hero__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;

    margin-top: 4rem;

    color: rgba(244, 239, 229, 0.62);

    font-size: 1.6rem;
    font-weight: 600;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    transition:
        color 0.35s ease,
        transform 0.35s ease;
}

.cinema-hero__scroll span:last-child {
    color: var(--gold);

    font-size: 1.3rem;
}

.cinema-hero__scroll:hover {
    color: var(--parchment);

    transform: translateY(0.35rem);
}


/* ---------- Article ---------- */

.chronicle {
    padding:
        clamp(5rem, 10vw, 9rem)
        clamp(1.25rem, 4vw, 4rem);

    background:
        radial-gradient(
            circle at 20% 15%,
            rgba(176, 141, 87, 0.08),
            transparent 30rem
        ),
        #eee7da;
}

.chronicle__header {
    width: min(100%, 850px);
    margin: 0 auto clamp(5rem, 9vw, 8rem);

    text-align: center;
}

.chronicle__number {
    margin: 0 0 2rem;

    color: var(--bronze);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.chronicle__opening {
    margin: 0;
}

.chronicle__opening p {
    margin: 0;

    color: var(--forest);

    font-family: var(--title-font);
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-style: italic;
    line-height: 1.3;
}


/* ---------- Mise en page ---------- */

.chronicle__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 720px)
        minmax(240px, 310px);
    align-items: start;
    justify-content: center;
    gap: clamp(3rem, 8vw, 8rem);

    width: min(100%, 1180px);
    margin: 0 auto;
}


/* ---------- Corps du texte ---------- */

.chronicle__body {
    font-family: var(--title-font);
    font-size: clamp(1.08rem, 1.7vw, 1.28rem);
    line-height: 1.9;
}

.chronicle__body p {
    margin: 0 0 1.7rem;
}

.chronicle__body h2 {
    margin: 4.5rem 0 1.5rem;

    color: var(--forest);

    font-family: var(--title-font);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 400;
    line-height: 1.15;
}

.chronicle__first-paragraph::after {
    content: "";
    display: block;
    clear: both;
}


/* ---------- Lettrine ---------- */

.drop-cap {
    float: left;

    margin:
        0.05em
        0.14em
        -0.05em
        0;

    color: var(--gold);

    font-family: var(--title-font);
    font-size: 6.1rem;
    font-weight: 600;
    line-height: 0.78;

    text-shadow:
        1px 1px 0 rgba(91, 74, 54, 0.2);
}

.visually-hidden {
    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}


/* ---------- Citation intermédiaire ---------- */

.chronicle__quote {
    position: relative;

    margin: 4rem 0;
    padding: 2rem 0 2rem 2.2rem;

    color: var(--forest);

    border-left: 2px solid var(--gold);
}

.chronicle__quote p {
    margin: 0;

    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-style: italic;
    line-height: 1.45;
}


/* ---------- Carnet de projection ---------- */

.projection-notes {
    position: sticky;
    top: 7rem;

    padding: 2rem;

    background: rgba(244, 239, 229, 0.62);

    border: 1px solid rgba(91, 74, 54, 0.18);
    border-radius: 4px;

    box-shadow:
        0 20px 50px rgba(42, 36, 29, 0.08);
}

.projection-notes__eyebrow {
    margin: 0 0 0.5rem;

    color: var(--bronze);

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.projection-notes h2 {
    margin: 0 0 2rem;

    color: var(--forest);

    font-family: var(--title-font);
    font-size: 1.8rem;
    font-weight: 400;
}

.projection-notes dl {
    margin: 0;
}

.projection-notes dl div {
    padding: 1rem 0;

    border-top: 1px solid rgba(91, 74, 54, 0.15);
}

.projection-notes dt {
    margin-bottom: 0.25rem;

    color: var(--bronze);

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.projection-notes dd {
    margin: 0;

    color: #3a332c;

    font-family: var(--title-font);
    line-height: 1.45;
}


/* ---------- Trois notes finales ---------- */

.chronicle-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;

    width: min(100%, 1180px);
    margin:
        clamp(6rem, 12vw, 11rem)
        auto
        0;

    background: rgba(176, 141, 87, 0.25);

    border: 1px solid rgba(176, 141, 87, 0.25);
}

.chronicle-highlights__item {
    min-height: 20rem;
    padding: clamp(2rem, 4vw, 3.5rem);

    background: #e8dfd0;
}

.chronicle-highlights__number {
    margin: 0 0 3rem;

    color: var(--bronze);

    font-family: var(--title-font);
    font-size: 1.1rem;
}

.chronicle-highlights h2 {
    margin: 0 0 1rem;

    color: var(--forest);

    font-family: var(--title-font);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 400;
}

.chronicle-highlights__item > p:last-child {
    margin: 0;

    color: #5e544a;
    line-height: 1.7;
}


/* ---------- Fin de chronique ---------- */

.chronicle-ending {
    width: min(100%, 760px);
    margin: clamp(7rem, 13vw, 12rem) auto 0;

    text-align: center;
}

.chronicle-ending__octopus {
    font-size: 3rem;
    filter: brightness(0) saturate(100%)
            invert(72%) sepia(78%) saturate(641%)
            hue-rotate(42deg) brightness(96%) contrast(88%);
}

.chronicle-ending__signature {
    margin: 1rem 0 4rem;

    color: var(--forest);

    font-family: var(--title-font);
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-style: italic;
}

.chronicle-ending__time {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;

    margin-bottom: 4rem;

    background: rgba(176, 141, 87, 0.25);

    border: 1px solid rgba(176, 141, 87, 0.25);
}

.chronicle-ending__time p {
    margin: 0;
    padding: 1.5rem;

    background: #e8dfd0;

    font-family: var(--title-font);
}

.chronicle-ending__time span {
    display: block;

    margin-bottom: 0.35rem;

    color: var(--bronze);

    font-family: var(--text-font);
    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.chronicle-ending__back {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    color: var(--forest);

    font-size: 0.76rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        color 0.35s ease,
        transform 0.35s ease;
}

.chronicle-ending__back span {
    color: var(--gold);

    font-size: 1.2rem;
}

.chronicle-ending__back:hover {
    color: var(--bronze);

    transform: translateX(-0.35rem);
}


/* ---------- Tablettes ---------- */

@media (max-width: 900px) {

    .chronicle__layout {
        grid-template-columns: 1fr;
    }

    .projection-notes {
        position: relative;
        top: auto;

        width: min(100%, 620px);
    }

    .chronicle-highlights {
        grid-template-columns: 1fr;
    }

    .chronicle-highlights__item {
        min-height: auto;
    }

}


/* ---------- Téléphones ---------- */

@media (max-width: 600px) {

    .chronicle-nav {
        align-items: flex-start;

        padding: 0.9rem 1rem;
    }

    .chronicle-nav nav {
        display: none;
    }

    .cinema-hero {
        min-height: 100svh;
        padding-bottom: 4rem;
    }

    .cinema-hero h1 {
        font-size: clamp(4rem, 22vw, 6.5rem);
    }

    .cinema-hero__details {
        flex-wrap: wrap;

        font-size: 0.72rem;
    }

    .chronicle {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .chronicle__body {
        font-size: 1.06rem;
        line-height: 1.8;
    }

    .drop-cap {
        font-size: 5rem;
    }

    .projection-notes {
        padding: 1.5rem;
    }

    .chronicle-ending__time {
        grid-template-columns: 1fr;
    }

}

/* ==================================================
   EN-TÊTE COMMUN DU SITE
   ================================================== */

.site-header,
.correspondances-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem clamp(1.5rem, 4vw, 4.5rem);
}

.site-header__brand,
.correspondances-header__brand {
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__nav,
.correspondances-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
}

.site-header__nav a,
.correspondances-header__nav a {
    position: relative;
    color: inherit;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0.68;
    transition: opacity 0.25s ease;
}

.site-header__nav a:hover,
.site-header__nav a[aria-current="page"],
.correspondances-header__nav a:hover,
.correspondances-header__nav a[aria-current="page"] {
    opacity: 1;
}

/* ==================================================
   CARTOUCHES DE CHAPITRE
   ================================================== */

.chapter-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    width: 100%;
    margin: 0 0 1.5rem;

    color: #9a7a45;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.chapter-label::before,
.chapter-label::after {
    content: "";
    display: block;
    flex: 0 1 140px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.chapter-label--light {
    color: #d1b06d;
}

/* ==================================================
   PIED DE PAGE
   ================================================== */

.site-footer {
    padding:
        clamp(4rem, 7vw, 7rem)
        clamp(1.5rem, 6vw, 7rem)
        2rem;

    border-top: 1px solid rgba(244, 239, 229, 0.12);

    background: #080e0b;
    color: #f4efe5;
}

.site-footer__inner {
    width: min(1380px, 100%);
    margin-inline: auto;
}

.site-footer__identity {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.8fr);
    gap: clamp(2rem, 8vw, 8rem);

    padding-bottom: clamp(3rem, 6vw, 6rem);
}

.site-footer__brand {
    width: fit-content;

    color: inherit;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 5rem);
    letter-spacing: -0.045em;
    line-height: 1;
    text-decoration: none;
}

.site-footer__identity p {
    max-width: 520px;
    margin: 0;

    align-self: end;

    color: rgba(244, 239, 229, 0.58);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.75;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem clamp(1.5rem, 4vw, 4rem);

    padding: 1.8rem 0;

    border-top: 1px solid rgba(244, 239, 229, 0.12);
    border-bottom: 1px solid rgba(244, 239, 229, 0.12);
}

.site-footer__nav a,
.site-footer__bottom a {
    color: rgba(244, 239, 229, 0.68);

    font-size: 0.67rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.site-footer__nav a:hover,
.site-footer__bottom a:hover {
    color: #b88b45;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding-top: 2rem;
}

.site-footer__bottom p {
    margin: 0;

    color: rgba(244, 239, 229, 0.38);

    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 700px) {

    .site-footer__identity {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* ==================================================
   GUIDE — RETOUR EN HAUT
   ================================================== */

.back-to-top {
    position: fixed;
    right: clamp(1.25rem, 2.8vw, 2.8rem);
    bottom: clamp(1.5rem, 3vw, 3rem);
    z-index: 1000;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1rem;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;
    appearance: none;

    cursor: pointer;

    /* État initial : invisible */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(20px);

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.4s ease;
}


/* Apparition déclenchée par site.js */

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}


/* ==================================================
   TEXTE SUR TROIS LIGNES
   ================================================== */

.back-to-top__text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.12rem;

    padding-bottom: .45rem;

    color: #8c6432;
    text-align: right;
}

.back-to-top__text > span:not(.back-to-top__line) {
    display: block;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 0.95;
}


/* ==================================================
   FILET DORÉ
   ================================================== */

.back-to-top__line {
    position: relative;

    display: block;

    width: 92px;
    height: 1px;

    margin-top: 0.8rem;

    background:
        linear-gradient(
            90deg,
            rgba(181, 138, 70, 0.25),
            rgba(181, 138, 70, 0.85)
        );

    transform-origin: right center;

    transition:
        width 0.35s ease,
        opacity 0.35s ease;
}

.back-to-top__line::after {
    content: "";

    position: absolute;
    top: 50%;
    right: -2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #b58a46;

    transform: translateY(-50%);
}


/* ==================================================
   MÉDAILLON
   ================================================== */

.back-to-top__seal {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(181, 138, 70, 0.6);
    border-radius: 50%;

    background: #f7f3eb;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18),
        0 0 0 4px rgba(247, 243, 235, 0.75),
        0 0 0 5px rgba(181, 138, 70, 0.22);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}


/* ==================================================
   ROSE DES VENTS
   ================================================== */

.back-to-top__icon {
    display: block;

    width: 160px;
    height: 160px;

    max-width: none;

    object-fit: contain;
    transform:
        translate(-40px, -36px);


    pointer-events: none;
    user-select: none;

    transition:
        transform 0.5s ease,
        filter 0.4s ease;
}


/* ==================================================
   SURVOL
   ================================================== */

.back-to-top:hover .back-to-top__text,
.back-to-top:focus-visible .back-to-top__text {
    color: #795125;
}

.back-to-top:hover .back-to-top__line,
.back-to-top:focus-visible .back-to-top__line {
    width: 108px;
}

.back-to-top:hover .back-to-top__seal,
.back-to-top:focus-visible .back-to-top__seal {
    background: #faf6ee;

    box-shadow:
        0 18px 45px rgba(17, 31, 24, 0.25),
        0 0 22px rgba(181, 138, 70, 0.18),
        0 0 0 4px rgba(247, 243, 235, 0.82),
        0 0 0 5px rgba(181, 138, 70, 0.5);

    transform: translateY(-6px);
}

.back-to-top:hover .back-to-top__icon,
.back-to-top:focus-visible .back-to-top__icon {
    transform:
        rotate(7deg)
        scale(1.04)
        translate(-40px, -36px);

    filter:
        contrast(1.05)
        drop-shadow(0 4px 6px rgba(44, 31, 21, 0.18));
}


/* ==================================================
   ACCESSIBILITÉ CLAVIER
   ================================================== */

.back-to-top:focus-visible {
    outline: none;
}

.back-to-top:focus-visible .back-to-top__seal {
    outline: 2px solid #a87935;
    outline-offset: 7px;
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 700px) {

    .back-to-top {
        right: 0.9rem;
        bottom: 1rem;
    }

    .back-to-top__text {
        display: none;
    }

    .back-to-top__seal {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
    }

    .back-to-top__icon {
        width: 59px;
        height: 59px;
    }

}


/* ==================================================
   RÉDUCTION DES ANIMATIONS
   ================================================== */

@media (prefers-reduced-motion: reduce) {

    .back-to-top,
    .back-to-top__text,
    .back-to-top__line,
    .back-to-top__seal,
    .back-to-top__icon {
        transition: none;
    }

}

/* ==================================================
   LIENS VERS LA CARTOGRAPHIE DES LIENS
   ================================================== */

.correspondence {

    color: inherit;

    text-decoration: none;

    background-image:
        linear-gradient(
            rgba(167,121,63,.55),
            rgba(167,121,63,.55)
        );

    background-repeat: no-repeat;

    background-size: 100% 1px;

    background-position: 0 calc(100% - 2px);

    transition:
        color .35s ease,
        background-size .35s ease,
        background-position .35s ease;
}

.correspondence:hover{

    color:#294635;

    background-size:100% 2px;
}

.correspondence:focus-visible{

    outline:none;

    color:#294635;

    background-size:100% 2px;
}

/* ==================================================
   FILS VERS LA CARTOGRAPHIE DES LIENS
   ================================================== */

.correspondence {
    position: relative;
    display: inline-block;

    color: inherit;
    text-decoration: none;
}

.correspondence::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -0.16em;
    left: 0;

    height: 1px;

    background: #a7793f;

    transform: scaleX(0.32);
    transform-origin: left;

    opacity: 0.75;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        background-color 0.35s ease;
}

.correspondence:hover,
.correspondence:focus-visible {
    color: #294635;
}

.correspondence:hover::after,
.correspondence:focus-visible::after {
    background: #294635;

    transform: scaleX(1);
    opacity: 1;
}

.correspondence:focus-visible {
    outline: 1px solid rgba(167, 121, 63, 0.65);
    outline-offset: 4px;
}

/* Accueil : plein écran et lien entièrement visible */

.home-header {
    margin: 0;
    padding: 0;
}

@media (max-width: 700px) {
    .home-hero {
        min-height: 100svh;
        padding: 3rem 1.25rem 2rem;

        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
    }

    .home-hero__enter {
        position: static;
        transform: none;
        flex-shrink: 0;
        max-width: 100%;
        gap: 0.5rem;
    }

    .home-hero__enter:hover,
    .home-hero__enter:focus-visible {
        transform: none;
    }
}

@media (max-width: 700px) {
    .back-to-top__icon {
        transform: none;
    }

    .back-to-top:hover .back-to-top__icon,
    .back-to-top:focus-visible .back-to-top__icon {
        transform: rotate(7deg);
    }
}

.origin-biologique {
    color: #6ad225;
}

/* Présentation de l’auteur */

.author-cartouche {
    padding: clamp(3rem, 7vw, 6rem) 1.25rem;
    background: #eee5d5;
    color: #3f3129;
}

.author-cartouche__inner {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid #bca580;
    box-shadow:
        inset 0 0 0 6px #eee5d5,
        inset 0 0 0 7px #d4c3a7;
}

.author-cartouche__eyebrow {
    margin: 0 0 1rem;
    color: #795638;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.author-cartouche h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
}

.author-cartouche__lead {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.author-cartouche p {
    line-height: 1.75;
}

.author-cartouche__origin {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #bca580;
}

.author-cartouche__origin strong {
    color: #315343;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
}

.author-cartouche__origin p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.origin-biologique {
    color: #6ad225;
}

.author-cartouche__inner {
    background: #18382d;
    color: #f4efe5;
    border-color: #bca580;

    box-shadow:
        inset 0 0 0 6px #18382d,
        inset 0 0 0 7px rgba(188, 165, 128, 0.65),
        0 16px 36px rgba(35, 28, 19, 0.14);
}

.author-cartouche__eyebrow {
    color: #d4b47c;
}

.author-cartouche__origin {
    border-top-color: rgba(212, 180, 124, 0.5);
}

.author-cartouche__origin strong {
    color: #f4efe5;
}

.author-cartouche .origin-biologique {
    color: #6ad225;
}

.footer__name,
.footer__motto {
    display: block;
}

.footer__name {
    color: #f4efe5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.footer__motto {
    margin-top: 0.6rem;
}

@media (max-width: 700px) {
    .footer {
        align-items: center;
        gap: 1.5rem;
        padding: 2.5rem 1.5rem 6.5rem;
        text-align: center;
        border-top: 1px solid rgba(212, 180, 124, 0.35);
    }

    .footer__identity {
        max-width: 290px;
    }

    .footer__motto {
        color: #c7cec8;
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .footer__professional {
        padding-top: 1.25rem;
        border-top: 1px solid rgba(212, 180, 124, 0.3);
    }

    /* Rose des vents agrandie et centrée */

    .back-to-top__seal {
        position: relative;
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .back-to-top__icon {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120px;
        height: 80px;
        max-width: none;
        transform: translate(-50%, -50%);
    }

    .back-to-top:hover .back-to-top__icon,
    .back-to-top:focus-visible .back-to-top__icon {
        transform: translate(-50%, -50%) rotate(7deg);
    }
}

/* Espace réservé au retour en haut sur ordinateur */
@media (min-width: 701px) {
  .footer {
    padding-right: 260px;
  }
}

/* Navigation mobile des pages intérieures */

.nav-toggle {
  display: none;
}

@media (max-width: 700px) {
  .site-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
  }

  .site-header__brand {
    min-width: 0;
    max-width: 230px;
    font-size: 1rem;
    line-height: 1.3;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid #bca580;
    background: transparent;
    color: #f4efe5;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle:focus-visible {
    outline: 2px solid #d4b47c;
    outline-offset: 4px;
  }

  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #1c211c;
    border-bottom: 1px solid #bca580;
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__nav a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(188, 165, 128, 0.25);
    text-align: left;
    line-height: 1.5;
  }
}

/* Spider-Noir : un hero équilibré */
.cinema-page--spider-noir .cinema-hero {
    min-height: 100svh;
    font-size: 1rem;
    line-height: 1.6;
}

.cinema-page--spider-noir .cinema-hero__content {
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    align-items: center;

    min-height: calc(100svh - 14rem);
}

.cinema-page--spider-noir .cinema-hero h1 {
    margin: 0;

    font-family: var(--title-font);
    font-size: clamp(3rem, 13vw, 14rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

/* Adaptation à l’espace disponible sur téléphone */
@media (max-width: 600px) {
    .cinema-page--spider-noir .cinema-hero__content {
        min-height: calc(100svh - 12rem);
    }
}

/* L’Odyssée : un hero adapté aux petits écrans */
@media (max-width: 900px) {
    .cinema-page--odyssee .cinema-hero1 {
        min-height: 100svh;
        padding: 8rem 1.5rem 4rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    .cinema-page--odyssee .cinema-hero__content {
        display: grid;
        grid-template-rows: auto 1fr auto auto;
        align-items: center;
        width: 100%;
        min-width: 0;
        min-height: calc(100svh - 12rem);
    }

    .cinema-page--odyssee .cinema-hero1 h1 {
        margin: 0;
        max-width: 100%;
        font-size: clamp(2.5rem, 16vw, 6rem);
        font-weight: 400;
        line-height: 0.95;
        overflow-wrap: anywhere;
    }

    .cinema-page--odyssee .cinema-hero__scroll {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

a.chronique-link {
  color: #326344;
  text-decoration: underline;
  text-decoration-color: #326344;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a.chronique-link:hover,
a.chronique-link:focus-visible {
  color: #18382d;
  text-decoration-thickness: 2px;
}

a.out-link {
  color: #32633f;
  text-decoration: none;
  text-decoration-color: #32633f;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a.out-link:hover,
a.out-link:focus-visible {
  color: #1b402d;
  text-decoration-thickness: 2px;
}

.chronicle-spoiler-note {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #b89b62;
  background: rgba(184, 155, 98, 0.08);
  color: #32633f;
  font-size: 0.95rem;
  line-height: 1.6;
}

.chronicle-quotation figcaption {
  margin-top: 1.25rem;
  padding-left: 2.4rem;
  color: #b89b62;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .chronicle-quotation figcaption {
    padding-left: 1.25rem;
  }
}

/* ---------- Les correspondances du Poulpe ---------- */

.poulpe-newsletter {
  box-sizing: border-box;
  width: min(1080px, calc(100% - 48px));
  margin: clamp(64px, 9vw, 112px) auto;
  padding: clamp(28px, 5vw, 56px);

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);

  background: #202020;
  color: #f5f5f5;
  border-top: 3px solid #6ad225;
  border-radius: 8px;
}

.poulpe-newsletter__intro,
.poulpe-newsletter__form {
  min-width: 0;
}

.poulpe-newsletter__eyebrow {
  margin: 0 0 18px;
  color: #6ad225;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.poulpe-newsletter h2 {
  margin: 0 0 22px;
  color: #f5f5f5;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.poulpe-newsletter__intro > p:not(.poulpe-newsletter__eyebrow) {
  margin: 0;
  color: #f5f5f5;
  font-size: 1rem;
  line-height: 1.7;
}

.poulpe-newsletter__intro > .poulpe-newsletter__promise {
  margin-top: 18px;
  color: #c4c4c4;
  font-size: 0.85rem;
}

.poulpe-newsletter__form {
  padding: 24px;
  background: #f5f5f5;
  color: #202020;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .poulpe-newsletter {
    width: calc(100% - 32px);
    padding: 28px 22px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .poulpe-newsletter__form {
    padding: 20px 16px;
  }
}

.poulpe-newsletter .poulpe-newsletter__intro
  > p.poulpe-newsletter__promise {
  margin-top: 18px;
  color: #c4c4c4;
  font-size: 0.85rem;
}

/* ---------- Invitation aux correspondances ---------- */

.newsletter-invite[hidden] {
  display: none;
}

.newsletter-invite {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;

  width: min(360px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 30px 28px;

  background: #202020;
  color: #f5f5f5;
  border: 1px solid #505050;
  border-top: 3px solid #6ad225;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);

  animation: newsletter-arrival 250ms ease-out;
}

.newsletter-invite__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5f5f5;
  font-size: 1.7rem;
  cursor: pointer;
}

.newsletter-invite__eyebrow {
  margin: 0 24px 16px 0;
  color: #6ad225;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.newsletter-invite h2 {
  margin: 0 0 16px;
  color: #f5f5f5;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.15;
}

.newsletter-invite > p:not(.newsletter-invite__eyebrow) {
  margin: 0;
  color: #dedede;
  font-size: 0.95rem;
  line-height: 1.6;
}

.newsletter-invite__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 4px;
  background: #6ad225;
  color: #202020;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.newsletter-invite__link:hover {
  background: #82e044;
  color: #202020;
}

.newsletter-invite :focus-visible {
  outline: 2px solid #6ad225;
  outline-offset: 4px;
}

@keyframes newsletter-arrival {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .newsletter-invite {
    left: 16px;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    width: min(340px, calc(100% - 32px));
    max-height: calc(100dvh - 122px);
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-invite {
    animation: none;
  }
}

/* Spider-Noir — Carnet des épisodes */

.cinema-page--spider-noir .season-episodes {
    width: min(100%, 1180px);
    margin: clamp(4rem, 8vw, 7rem) auto;
}

.cinema-page--spider-noir .season-episodes__heading {
    margin-bottom: 2rem;
}

.cinema-page--spider-noir .season-episodes__heading > p {
    margin: 0 0 0.8rem;
    color: var(--bronze);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cinema-page--spider-noir .season-episodes__heading h2 {
    margin: 0;
    color: var(--forest);
    font-family: var(--title-font);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
}

.cinema-page--spider-noir .season-episodes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cinema-page--spider-noir .episode-card {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(176, 141, 87, 0.35);
    border-top: 3px solid var(--bronze);
    overflow-wrap: anywhere;
}

.cinema-page--spider-noir .episode-card__number {
    margin: 0 0 1.6rem;
    color: var(--bronze);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.cinema-page--spider-noir .episode-card h3 {
    margin: 0 0 1rem;
    color: var(--forest);
    font-family: var(--title-font);
    font-size: clamp(1.5rem, 2.3vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
}

.cinema-page--spider-noir .episode-card__synopsis {
    margin: 0;
    font-family: var(--text-font);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .cinema-page--spider-noir .season-episodes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .cinema-page--spider-noir .season-episodes__grid {
        grid-template-columns: 1fr;
    }
}

.chronicle-warning {
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--bronze);
    background: rgba(176, 141, 87, 0.08);
}

.chronicle-warning p {
    margin: 0;
    font-family: var(--text-font);
    font-size: 0.95rem;
    line-height: 1.65;
}

.chronicle-warning strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--forest);
}

.chronicle-ending__octopus {
    filter: none;
}

.chronicle-share {
    width: min(100%, 850px);
    margin: 4rem auto;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(176, 141, 87, 0.35);
    border-bottom: 1px solid rgba(176, 141, 87, 0.35);
    text-align: center;
}

.chronicle-share h2 {
    margin: 0 0 1rem;
    color: var(--forest);
    font-family: var(--title-font);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 400;
}

.chronicle-share__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.chronicle-share__actions button,
.chronicle-share__actions a {
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--forest);
    border-radius: 3px;
    color: var(--forest);
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.chronicle-share__actions [hidden] {
    display: none;
}

.chronicle-share__actions button:hover,
.chronicle-share__actions a:hover {
    color: var(--parchment);
    background: var(--forest);
}

.chronicle-share__actions button:focus-visible,
.chronicle-share__actions a:focus-visible {
    outline: 2px solid var(--bronze);
    outline-offset: 4px;
}

.chronicle-share__hint,
.chronicle-share__status {
    font-size: 0.9rem;
    line-height: 1.6;
}

.chronicle-share__status {
    min-height: 1.6em;
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    .chronicle-share__actions button,
    .chronicle-share__actions a {
        transition: none;
    }
}

/* Cadrage de l’affiche des Maîtres de l’Univers */
.cinema-page--maitres-de-l-univers .cinema-hero2 {
    background-position: center top;
}

/* =========================================
   CHOIX DU THÈME
   ========================================= */

html[data-theme="light"] {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --theme-background: #111c17;
    --theme-surface: #1b2b23;
    --theme-text: #eee7da;
    --theme-muted: #c4bcae;
    --theme-accent: #d4b47c;
}

.theme-toggle {
    position: fixed;
    top: calc(1rem + env(safe-area-inset-top, 0px));
    right: 1rem;
    z-index: 60;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;

    min-width: 44px;
    min-height: 44px;
    padding: 0.65rem 1rem;

    border: 1px solid #bca580;
    border-radius: 999px;

    background: #f4efe5;
    color: #18382d;

    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.theme-toggle[hidden] {
    display: none;
}

.theme-toggle [data-theme-icon] {
    font-size: 1.2rem;
    line-height: 1;
}

.theme-toggle:focus-visible {
    outline: 3px solid #d4b47c;
    outline-offset: 4px;
}

html[data-theme="dark"] .theme-toggle {
    background: #1b2b23;
    color: #eee7da;
}

html[data-theme="dark"] body {
    background: var(--theme-background);
    color: var(--theme-text);
}

/* Présentation de l’auteur sur l’accueil */
html[data-theme="dark"] .author-cartouche {
    background: var(--theme-background);
    color: var(--theme-text);
}

html[data-theme="dark"] .author-cartouche__inner {
    background: var(--theme-surface);
    color: var(--theme-text);
    border-color: var(--theme-accent);

    box-shadow:
        inset 0 0 0 6px var(--theme-surface),
        inset 0 0 0 7px rgba(212, 180, 124, 0.45);
}

/* Le formulaire externe garde une surface claire */
.poulpe-newsletter__form {
    color-scheme: light;
}

@media (max-width: 600px) {
    .theme-toggle {
        top: calc(0.75rem + env(safe-area-inset-top, 0px));
        right: 0.75rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Test temporaire */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 12px 20px;
    background: #18382d;
    color: #f4efe5;
    border: 2px solid #d4b47c;
    border-radius: 30px;
}
/* Sur smartphone, libérer l’en-tête et son menu. */
@media (max-width: 700px) {
    .theme-toggle {
        top: auto;
        right: auto;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        left: calc(1rem + env(safe-area-inset-left, 0px));
        width: 48px;
        height: 48px;
        padding: 0;
    }

    .theme-toggle [data-theme-label] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* Sur grand écran, placer le bouton sous les liens de navigation. */
@media (min-width: 701px) {
    .theme-toggle {
        top: calc(6.5rem + env(safe-area-inset-top, 0px));
    }
}

/* Liens vers les fiches : un survol visible sans soulignement. */
a.link-node {
    border-radius: 0.2rem;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

a.link-node:hover,
a.link-node:focus-visible {
    color: #18382d;
    background-color: #d9e8cd;
    box-shadow: 0 0 0 3px #d9e8cd;
    text-decoration: none;
}

a.link-node:focus-visible {
    outline: 2px solid #326344;
    outline-offset: 4px;
}

html[data-theme="dark"] a.link-node:hover,
html[data-theme="dark"] a.link-node:focus-visible {
    color: #b6ed91;
    background-color: #294333;
    box-shadow: 0 0 0 3px #294333;
}
