/* =========================================================
   SALLE — BIBLIOTHÈQUE DU SCRIPTORIUM
   ========================================================= */
html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: url("/images/scene/bibliotheque-fond.png") center top no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow-anchor: none;
}

.scene-bibliotheque {
    min-height: 100vh;
    font-family: "IM Fell English", serif;
    color: #f2e6cf;
}

.bibliotheque-scene {
    position: relative;
    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    padding: 5vh 1rem;
}

/* Ombre / vignette */
.bibliotheque-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(0,0,0,0.15) 0%,
            rgba(0,0,0,0.45) 70%,
            rgba(0,0,0,0.75) 100%
        );
    z-index: 1;
    pointer-events: none;
}

/* Contenu */
.bibliotheque-contenu {
    position: relative;
    z-index: 2;

    max-width: 760px;
    width: 100%;
    padding: 1.6rem 2rem 3rem;

    background: rgba(20,12,8,0.55);
    border: 1px solid #6e4b2a;

    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    text-align: center;
}


.bibliotheque-contenu h1 {
    font-family: "Uncial Antiqua", serif;
    font-size: 1.9rem;
    margin-bottom: 0.8rem;
}

.bibliotheque-contenu .intro {
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.8;
}


/* Le style des catégories/documents/chapitres est dans documents.css (partagé) */

/* Actions */
.actions {
    margin-top: 2.5rem;
}

.btn-retour {
    display: inline-block;
    padding: 0.6rem 1.4rem;

    border: 1px solid #6e4b2a;
    background: linear-gradient(#1a120c, #0f0b08);

    color: #f2e6cf;
    letter-spacing: 1px;
    font-size: 0.75rem;

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

.btn-retour:hover {
    background: linear-gradient(#2b1f16, #1a120c);
    transform: translateY(-2px);
}
