* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #0a0a0f;
    color: #c8c8d4;
    line-height: 1.8;
}

/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e2030;
}

.nav-brand {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #e8e8f0;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #9090a0;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #c8334a;
}

/* HERO */
#hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0a0a0f;
}

#hero-img {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto;
    padding-top: 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
}

/* SECTIONS */
section {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

h2 {
    font-size: 1.6rem;
    color: #c8334a;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 1px solid #1e2030;
    padding-bottom: 1rem;
}

/* SYNOPSIS */
.synopsis-text {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.synopsis-text strong {
    color: #c8334a;
}

/* THÈMES */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.theme-item {
    border: 1px solid #c8334a;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #c8c8d4;
}

/* AUTEUR */
#auteur {
    text-align: center;
}

.avatar-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto 2rem;
    border: 2px solid #c8334a;
    filter: grayscale(20%);
}

/* BOUTON */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid #c8334a;
    color: #c8334a;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #c8334a;
    color: #0a0a0f;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #1e2030;
    color: #3a3a5a;
    font-size: 0.85rem;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {

    #navbar {
        padding: 1rem 1.5rem;
    }

    .nav-brand {
        font-size: 0.8rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    #hero-img {
        width: 100%;
        max-width: 100%;
        padding-top: 60px;
    }

    .hero-content {
        padding: 1rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {

    .nav-links {
        gap: 0.6rem;
    }

    .nav-links a {
        font-size: 0.65rem;
    }

    .themes-grid {
        grid-template-columns: 1fr;
    }
}
/* BOUTON RETOUR EN HAUT */
#btn-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid #c8334a;
    color: #c8334a;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

#btn-top:hover {
    background: #c8334a;
    color: #0a0a0f;
}
