/* ======= Global ======= */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background: url('../IMAGES/fond.jpg') no-repeat center center fixed;
    background-size: cover;
    color: black;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 1.6;
}

h1, h2, h3 {
    color: black;
    text-align: center;
}

.accroche {
    font-style: italic;
    text-align: justify;
    font-size: 1.3rem;
}

p {
    font-size: 1.2rem;
    text-align: justify;
    margin-bottom: 1rem;
}

/* ======= Header ======= */
header {
    position: sticky;
    top: 0;
    margin-bottom: 2rem;    
    font-size: 1.5rem;
    font-weight: bold;
    background-color: rgb(193, 144, 76);
    padding: 0.5rem 1rem;
    box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#logo {
    height: 3rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

#logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav a.border {
    color: black;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 0.3rem;
    transition: background 0.3s, color 0.3s;
}

nav a.border:hover {
    background-color: #fff;
    color: rgb(193, 144, 76);
}

/* ======= Bloc central ======= */
.center-block {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem 2rem 2rem 2rem;
    margin: 2rem auto;
    border-radius: 0.6rem;
    max-width: 900px;
    box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.1);
}

/* ======= Résumé des pages ======= */
.page-summary {
    list-style-type: none;
    padding: 0;
    margin-top: 1.5rem;
}

.page-summary li {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: justify;
}

.page-summary a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.page-summary a:hover {
    color: rgb(193, 144, 76);
}

/* ======= Footer ======= */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: rgb(193, 144, 76);
    font-weight: bold;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* ======= Responsive ======= */
@media (max-width: 48rem) {
    header nav {
        flex-direction: column;
        align-items: center;
    }
    #logo {
        margin: 0 auto 1rem auto;
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
