
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0a1333;
    color: #fff;
}
header {
    background: #0a1333;
    box-shadow: 0 2px 8px rgba(10,19,51,0.08);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5vw;
}
.logo {
    font-size: 2.1rem;
    font-weight: bold;
    color: #bfa046;
    letter-spacing: 2px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
}
nav ul li a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}
nav ul li a:hover {
    color: #bfa046;
}
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1rem 2.5rem 1rem;
    background: linear-gradient(180deg, #0a1333 80%, #bfa046 120%);
}
.hero-img {
    margin-bottom: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10,19,51,0.18);
    border: 3px solid #bfa046;
    background: #fff;
}

.hero-content {
    display: grid;
    grid-template-rows: auto auto auto auto;
    row-gap: 0.7rem;
}
.hero-content h1 {
    font-size: 2.7rem;
    color: #bfa046;
    margin: 0 0 0.5rem 0;
    justify-self: start;
    text-align: left;
}
.hero-content h2 {
    font-size: 1.5rem;
    color: #c0c0c0;
    margin: 0 0 1.2rem 0;
    justify-self: start;
    text-align: left;
}
.hero-content p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.2rem;
    justify-self: start;
    text-align: left;
}
.hero-content button {
    background: #bfa046;
    color: #0a1333;
    border: none;
    border-radius: 2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    justify-self: center;
}
.hero-content button:hover {
    background: #c0c0c0;
    color: #0a1333;
}
section {
    margin: 0 auto;
    padding: 2.5rem 1rem 2rem 1rem;
}
section h2 {
    color: #bfa046;
    margin-bottom: 1.2rem;
}
section p {
    color: #fff;
    font-size: 1.08rem;
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin: 2.2rem 0 1.5rem 0;
    padding: 0;
}
.features li {
    list-style: none;
    background: #0a1333;
    border: 2px solid #bfa046;
    border-radius: 1.2rem;
    padding: 1.1rem 1.7rem;
    color: #bfa046;
    font-weight: bold;
    font-size: 1.08rem;
    min-width: 180px;
    text-align: center;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.features li a {
    color: #bfa046;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}
.features li:hover, .features li:focus-within {
    background: #bfa046;
    color: #0a1333;
    border-color: #c0c0c0;
}
.features li:hover a, .features li:focus-within a {
    color: #0a1333;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
input, textarea {
    padding: 0.8rem 1rem;
    border-radius: 0.7rem;
    border: 1.5px solid #bfa046;
    font-size: 1rem;
    background: #fff;
    color: #0a1333;
}
textarea {
    min-height: 90px;
    resize: vertical;
}
button[type="submit"] {
    background: #bfa046;
    color: #0a1333;
    border: none;
    border-radius: 2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
button[type="submit"]:hover {
    background: #c0c0c0;
    color: #0a1333;
}
#formMessage {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #bfa046;
}
footer {
    background: #0a1333;
    color: #c0c0c0;
    text-align: center;
    padding: 1.2rem 0 0.7rem 0;
    font-size: 1rem;
    border-top: 2px solid #bfa046;
    margin-top: 2.5rem;
}
@media (max-width: 700px) {
    nav ul {
        gap: 1rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    section {
        padding: 1rem;
    }
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    /* --- Ajouts pour mobile friendly --- */
    html, body {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
    }
    .logo {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 0.5rem;
    }
    nav a {
        padding: 0.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .hero {
        min-height: 50vh;
        padding: 1rem 0.2rem;
    }
    .hero-img {
        width: 120px;
    }
    .hero-content h2 {
        font-size: 1.1rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    section {
        margin: 1.5rem 0.2rem;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .features li {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }
    form {
        padding: 0 0.2rem;
    }
    input, textarea {
        font-size: 0.95rem;
    }
    footer {
        font-size: 0.95rem;
        padding: 1rem 0 0.5rem 0;
    }
}