body {
margin: 0px;
background-color: white; 
padding: 0;
overflow-x: hidden;
}

/* --------------------------------Style pour la tête -----------------------------*/
#Fond_Blanc {
    position: fixed; /* Fixe la barre en haut de l'écran */
    top: 0; /* La place tout en haut */
    left: 0;
    width: 100%; /* Largeur totale de l'écran */
    background-color: white; /* Assure un fond blanc */
    display: flex; /* Active Flexbox */
    align-items: center; /* Aligne verticalement les éléments */
    justify-content: space-between; /* Sépare le titre et le lien */
    padding: 10px 20px; /* Ajuste l'espace intérieur */
    z-index: 1000; /* Place la barre au-dessus du reste du contenu */
    box-sizing: border-box; /* Assure que padding ne dépasse pas */
}

#Fond_Blanc h1, h2 {
    margin: 0; /* Supprime les marges */
    padding: 0;
    font-size: 20px; /* Ajuste la taille de la police */
    font-family: verdana;
}

#Fond_Blanc h1 a {
    text-decoration: none;
    color: black;
    font-weight: bold; /* Met "Follis Matice" en gras */
}

#Fond_Blanc h2 a {
    text-decoration: none;
    color: black;
    font-weight: normal; /* Garde un style plus léger pour "Infos & Contacts" */
}


/* --------------------------------Style pour les images -----------------------------*/

#image_mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Par défaut : 4 colonnes */
    gap: 2px 2px; /* Espacement entre les images */
    max-width: 100%; /* Largeur maximale du conteneur */
    margin-top: 50px
}


.responsive {
    width: 100%; /* L'image occupe toute la largeur de sa cellule */
    height: auto; /* Respecte les proportions */
    border-radius: 0px; /* Coins arrondis */    
    transition: transform 0.2s ease-in-out; /* Animation au survol */
    margin: 0px;
    display: block; /* Empêche l'image d'être traitée comme du texte */
}


/* ------------------------------------------------------------------CSS du texte survoler ------------------------------------------------ */

/* Conteneur des images */
.image-container {
    position: relative;
    display: inline-block;
}

/* Texte caché au départ */
.survole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Ajouter transition pour le mouvement */
    width: 100%;
    padding: 10px;
    font-family: Verdana;
}

/* Styles spécifiques pour h1 et h2 */
.survole h1 {
    font-size: 24px;
    margin: 5px 0;
}

.survole h2 {
    font-size: 10px;
    margin: 5px 0;
}
/* ------------------ Animation au survol ------------------------------*/

.image-container:hover img {
    filter: brightness(50%); /* Assombrit l'image */
}

.image-container:hover .survole {
    opacity: 1; /* Rend le texte visible */
    transform: translate(-50%, -60%); /* Déplace légèrement le texte vers le haut */
}



/* -------------------------------------------------------------Pour téléphone---------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------ */


/* Écran de taille moyenne : 2 colonnes */
@media (max-width: 1024px) {
    #image_mini {
        grid-template-columns: repeat(1, 1fr); /* 3 colonnes */
    }
    
    #Fond_Blanc h1, h2 {
        font-size: 2em;
    }

    /* Texte caché au départ */
.survole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Ajouter transition pour le mouvement */
    width: 100%;
    padding: 10px;
    font-family: Verdana;
}

/* Styles spécifiques pour h1 et h2 */
.survole h1 {
    font-size: 34px;
    margin: 5px 0;
}

.survole h2 {
    font-size: 20px;
    margin: 5px 0;
}

/* Écran de petite taille : 2 colonnes */
@media (max-width: 768px) {
    #image_mini {
        grid-template-columns: repeat(1, 1fr); /* 2 colonnes */
    }
