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

/* ========== BASE ========== */
body {
    font-family: 'PT Sans', sans-serif;
    background-color: #eef7f5; /* vert clair pastel */
    color: #1a1a1a;
}

/* ========== 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 */
}

nav .login-btn a {
    background: #a8e6cf; /* vert pastel */
    color: #0b3954;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

nav .login-btn a:hover {
    background: #92d5bd;
}

/* ========== HEADER ========== */
header {
    margin-top: 90px;
    text-align: center;
    padding: 40px 20px;
    background: #a8e6cf; /* vert clair frais */
    color: #0b3954;
}

/* ========== TEXTE ========== */
.text-contenair {
    padding: 40px;
    background: white;
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ========== ARTICLES ========== */
article {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

.article-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.article {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article:hover {
    transform: translateY(-5px);
}

.article h3 {
    color: #0b3954;
    margin-bottom: 10px;
}

/* ========== CONTACT ========== */
.contact-section {
    background: #0b3954;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.contact-section a {
    color: #a8e6cf;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* ========== FOOTER ========== */
footer {
    background: #082f49;
    color: white;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #a8e6cf;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .article-container {
        grid-template-columns: 1fr;
    }
}
