/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
}

/* --- Header --- */
header {
    background-color: #d5e3d7;
    padding: 20px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

nav ul li a.active {
    background-color: #f2f7f3;
    color: #000;
}

nav ul li a:hover {
    background-color: #b4cbb8;
}

/* --- Footer Global --- */
footer {
    background-color: #d5e3d7;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

footer p {
    font-size: 18px;
    color: #000;
}

/* --- Partie Sources --- */

.sources-section {
    padding: 40px;
    text-align: center;
}

.sources-section h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.source-item {
    display: flex;
    align-items: center;
    justify-content: center; /* Aligne le contenu à gauche */
    margin-bottom: 20px;
}

.source-item button {
    background-color: #6d6d6d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-right: 20px; /* Ajoute un espacement entre le bouton et le texte */
}

.source-item button:hover {
    background-color: #4f4f4f;
}

.source-item p {
    background-color: #ffffff; /* Fond blanc pour le texte */
    padding: 10px 20px;
    border-radius: 10px; /* Coins arrondis pour le texte */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Légère ombre */
    margin: 0;
    font-size: 16px;
    color: #333;
}

/* --- Partie Contact --- */

.contact-section {
    padding: 40px;
    text-align: center;
}

.contact-section h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.contact-form {
    background-color: #d5e3d7;
    padding: 40px;
    border-radius: 20px;
    display: inline-block;
    width: 300px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form button {
    background-color: #6d6d6d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #4f4f4f;
}
