/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== BODY ====== */
body {
    font-family: 'PT Sans', sans-serif;
    background: linear-gradient(135deg, #a8e6cf, #0b3954);
    min-height: 100vh;
    margin: 0;
    padding-top: 100px; 

}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px); 
    padding-top: 80px;
}


.form-container {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

/* ====== TITRE ====== */
.form-container h2 {
    color: #0b3954;
    margin-bottom: 25px;
    font-size: 1.8em;
    letter-spacing: 1px;
}

/* ====== GROUPES D'INPUT ====== */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #0b3954;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #a8e6cf;
    border-radius: 8px;
    outline: none;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #0b3954;
    box-shadow: 0 0 5px rgba(11,57,84,0.3);
}

/* ====== BOUTON ====== */
button {
    width: 100%;
    background: #0b3954;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

button:hover {
    background: #082f49;
    transform: translateY(-2px);
}

/* ====== TEXTE BAS DE PAGE ====== */
p {
    margin-top: 20px;
    font-size: 0.95em;
    color: #0b3954;
}

p a {
    color: #0b3954;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

p a:hover {
    color: #65c3ba;
}

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0b3954; /* bleu marine doux */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

nav .logo {
    font-family: 'Anton', sans-serif;
    font-size: 1.8em;
    letter-spacing: 1px;
    color: #cde8e5; /* vert-bleu clair pour contraste */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #f8f9fa;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #a8e6cf; /* vert clair doux */
}