/* Style global */
body {
    font-family: Arial, Helvetica, sans-serif; /* police de base */
    background-color: #2f3136; /* fond sombre */
    color: #dcddde; /* couleur générale du texte */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Style du header avec logo en haut et boutons modernisés */
header {
    background-color: #202225;
    max-width: 600px;
    margin: 1rem auto;
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Logo positioned above the nav */
header .logo {
    width: 220px; /* ajuste selon ta photo */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* La bande de navigation avec boutons modernes */
header nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Les liens / boutons de navigation */
header nav a {
    background-color: #5865f2;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

header nav a:hover {
    background-color: #4752c4;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Container central */
.container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #36393f;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Titre principal */
h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

/* Sous-titres */
h2 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Listes */
ul {
    padding-left: 20px;
}

/* Boutons dans le formulaire ou autres */
button {
    background-color: #5865f2;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s, transform 0.2s;
}

button:hover {
    background-color: #4752c4;
    transform: scale(1.05);
}

/* Formulaires */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #72767d;
    border-radius: 8px;
    background-color: #2f3136;
    color: #dcddde;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s, background-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #5865f2;
    outline: none;
    background-color: #40444b;
}

/* Responsive mobile styles */
@media(max-width: 768px) {
    header {
        width: 90%;
        padding: 1rem;
        border-radius: 15px;
    }

    header .logo {
        width: 180px;
        margin-bottom: 1rem;
    }

    header nav {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        align-items: center;
    }

    header nav a {
        width: 80%;
        text-align: center;
        padding: 0.75rem;
        font-size: 1.1rem;
    }

    .container {
        margin: 1rem;
        padding: 1.5rem;
    }
}