/* RESET — Nettoyage des marges et comportement des éléments */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    /* color: #222; */
    line-height: 1.6;
}

/*  Zone contenant le logo + hamburger */
header {
    background-color: #007bff;    /* Noir/gris foncé */
    color: white;
    padding: 15px 20px;
}

/* Container horizontal : logo à gauche, hamburger à droite */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
}

/* Menu mobile avec 3 traits */
.hamburger-menu {
    width: 30px;
    height: 15px;
    display: none;  /* Caché sur PC, visible seulement mobile */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    
}

/* Chaque trait */
.hamburger-menu span {
    height: 2px;
    background-color: white;
    border-radius: 4px;
    
}

/*  Barre de navigation sous le header */
nav {
    background-color: #007bff; /* Gris différent pour bien séparer */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #ff6600; /* Orange moderne */
}

/* Bloc réseaux sociaux centré dans le header */
.partie-reseau {
    display: flex;
    justify-content: center;   /* centre horizontalement */
    margin-top: 10px;
}

#reseau-social {
    list-style: none;
    display: flex;
    gap: 15px;                 /* espace entre les icônes */
    padding: 0;
}

#reseau-social li a img {
    width: 40px;               /* taille des icônes */
    height: 40px;
    border-radius: 50%;        /* rend circulaire */
    object-fit: cover;         /* ajuste l’image */
    /*border: 1px solid #111; /* bordure décorative */
    transition: transform 0.3s ease;
}

#reseau-social li a img:hover {
    transform: scale(1.1);     /* effet zoom au survol */
}

/* ====== MAIN ====== */
main {
    padding: 40px;
    margin: 0 auto;
    max-width: 1000px;
}

/* Section d’introduction */
.remplir {
    text-align: center;
    margin-bottom: 30px;
}

.remplir h4 {
    color: #007bff;
    font-size: 1.4rem;
    margin-top: 10px;
}

/* Card du formulaire */
.tableau {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tableau:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

/* Formulaire */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

input, select, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet dynamique au focus */
input:focus, select:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0,123,255,0.4);
    outline: none;
}

/* Boutons */
.button {
    background: goldenrod; /* Dégradé bleu */
    color: white; /* Couleur du texte */
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: green;
}

.button:hover {
    background: green; /* Dégradé plus foncé au survol */
    color: white;
    transform: translateY(-3px);
    box-shadow: green;
}

.Annuler {
    background: goldenrod; /* Dégradé bleu */
    color: white; /* Couleur du texte */
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: red;
}

.Annuler:hover {
    background: red; /* Dégradé plus foncé au survol */
    color: white;
    transform: translateY(-3px);
    box-shadow: red;
}

/* Boutons */
input[type="submit"], input[type="reset"] {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

/*  BOUTONS EXTERNES  */
/* Conteneur des boutons */
section div {
    display: flex;
    justify-content: center;   /* centre horizontalement */
    gap: 20px;                 /* espace entre les boutons */
    flex-wrap: wrap;           /* permet de passer en ligne verticale si écran trop petit */
}

/* Boutons */
.whatsapp, .Email {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;              /* largeur fixe sur PC */
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

/* Icônes */
.whatsapp img, .Email img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    border-radius: 50%;
}

/* Bouton WhatsApp */
.whatsapp {
    background-color: #25D366;
}
.whatsapp:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

/* Bouton Email */
.Email {
    background-color: #007bff;
}
.Email:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}



















/*   RESPONSIVE — VERSION MOBILE Le nav disparaît et le hamburger apparaît  */

@media (max-width: 768px) {

    /* On affiche le hamburger */
    .hamburger-menu {
        display: flex;
    }

    /* Le menu nav disparaît */
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #111;
        padding: 15px;
        gap: 15px;
        text-align: center;
    }

    /* Quand on clique sur le hamburger → class "show" */
    nav ul.show {
        display: flex;
    }

    /* Footer vertical sur mobile */
    footer {
        flex-direction: column;   /* aligne les sections verticalement */
        
        gap: 20px;                /* espace entre les blocs */
    }

    footer .lien {
        margin: 10px;
    }

    footer section {
        width: 100%;              /* chaque bloc prend toute la largeur */
        max-width: 300px;         /* limite la largeur pour rester lisible */
    }

    .partie-reseau {
    justify-content: center;   /* reste centré sur mobile */
    margin-top: 15px;
    }

    #reseau-social li a img {
        width: 35px;               /* icônes plus petites sur mobile */
        height: 35px;
    }

    
    main {
        padding: 20px;
    }

    .tableau {
        padding: 15px;
    }

    input, select, textarea {
        font-size: 0.9rem;
        padding: 8px;
    }

    .button, .Annuler {
        font-size: 0.9rem;
        padding: 10px;
    }

    .whatsapp, .Email {
        width: 50%;              /* pleine largeur sur mobile */
        justify-content: center;
        font-size: 1rem;
    }

    .whatsapp img, .Email img {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }



    
}













/*  FOOTER  */
footer {
    background-color: #111;
    color: #ccc;
    padding: 25px;
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    
}

footer h5, footer h6 {
    color: white;
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
}

footer a {
    color: #ccc;
    transition: 0.3s;
}

footer a:hover {
    color: #ff6600;
}