header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #333;
    color: white;
    border-radius: 15px 5px;
    flex-wrap: wrap;
    /* IMPORTANT */
}

.icone {
    width: 50px;
}

.titre {
    font-size: 28px;
}

.annonce {
    font-size: 18px;
}

.menu {
    position: relative;
}

/* Bouton hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Menu desktop */
.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links .texte {
    color: white;
    font-size: 16px;
}

/* Boutons */
.button {
    color: white;
    text-decoration: none;
    padding: 6px 10px;
    background: #2196F3;
    border-radius: 20px 5px;
    transition: 0.15s;
    font-size: 14px;
}

.button:hover {
    background: #555;
}

.button:active {
    background: #666;
    transform: scale(0.97);
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 980px) {

    .menu-toggle {
        display: block;
        font-size: 45px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 90vw;
        /* 🔥 remplace 300px */
        max-width: 320px;
        background: #333;
        padding: 15px;
        border-radius: 15px;
        box-sizing: border-box;
    }

    .nav-links a {
        width: 100%;
        font-size: 18px;
        text-align: center;
    }

    .nav-links.show {
        display: flex;
    }

    .annonce {
        display: none;
    }

    .titre {
        font-size: 35px;
    }

    .icone {
        width: 50px;
    }
}

/* 🔥 Très petits écrans (iPhone SE etc.) */
@media (max-width: 400px) {

    .titre {
        font-size: 18px;
    }

    .menu-toggle {
        font-size: 28px;
    }

    .nav-links {
        width: 95vw;
        right: 5px;
    }
}