/* Styles généraux */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1f1f1f, #3f3f3f);
    color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    text-align: center;
    color: #ff6f61;
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    color: #ff6f61;
    text-align: center;
}

/* Barre de navigation */
nav {
    background-color: #2b2b2b;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: #ff6f61;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: #f4f4f4;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* Styles pour l'en-tête */
header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #ff6f61, #ff946b);
    color: #fff;
    border-bottom: 5px solid #3f3f3f;
}

.header-container h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
}

.header-container p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 25px;
    background-color: #2b2b2b;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1f1f1f;
}

/* Section fonctionnalités */
.features {
    padding: 40px 20px;
    background-color: #3f3f3f;
    text-align: center;
}

.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.feature {
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.feature h3 {
    color: #ff6f61;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1em;
    color: #f4f4f4;
}

/* Section appel à l'action */
.cta {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff6f61, #3f3f3f);
    color: #fff;
}

.cta h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Formulaire */
form {
    background-color: #2b2b2b;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
}

fieldset {
    border: none;
    margin-bottom: 20px;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff6f61;
    margin-bottom: 10px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #f4f4f4;
}

input[type="text"],
input[type="number"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #3b3b3b;
    color: #f4f4f4;
    font-size: 1em;
    outline: none;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #ff6f61;
    box-shadow: 0 0 5px #ff6f61;
}

textarea {
    resize: none;
}

/* Boutons radio et cases à cocher */
input[type="radio"] {
    margin-right: 10px;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #ff6f61;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #ff5a49;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 15px 20px;
    background-color: #2b2b2b;
    color: #f4f4f4;
    font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2em;
    }

    .btn-primary {
        font-size: 1em;
    }
}