/* Style global */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background: #222;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permet au menu de passer en dessous si l'écran est petit */
}

nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

/* Section principale */
.hero {
    padding: 80px 20px;
    text-align: center;
    background: white;
}

/* Bouton */
button {
    padding: 12px 20px;
    background: #222;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background: #444;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
    margin-top: 40px;
}

/* 📱 Responsive : mobile */
@media (max-width: 600px) {
    header {
        text-align: center;
        flex-direction: column;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .hero {
        padding: 40px 10px;
    }

    button {
        width: 100%;
        max-width: 250px;
    }
}
/* Bulle sous le lien Contact */
header {
    position: relative; /* permet de positionner la bulle par rapport au header */
}

.popup {
    position: absolute;
    top: 70px; /* distance sous le menu */
    right: 20px; /* alignée à droite du menu */
    background: #222;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    display: none;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.formulaire {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 30px auto;
}

.formulaire input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.formulaire button {
    padding: 12px;
    background: #222;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.formulaire button:hover {
    background: #444;
}

.btn-compte {
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.btn-compte:hover {
    background: #005fcc;
}