/* style.css */

    body {
        font-family: 'Helvetica Neue', Arial, sans-serif;
        line-height: 1.6;
        margin: 0;
        padding: 0;
        background-color: #f8f8f8;
        color: #333;
    }
    .container {
        width: 90%;
        max-width: 1200px;
        margin: auto;
        padding: 20px;
    }
    h1, h2, h3, h4 {
        color: #2c3e50;
        font-weight: 300;
    }
    h1 {
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 40px;
    }
    h5 {
        color: grey;
        font-weight: 300;
        font-size: 1.5em;
        text-align: center;
        margin-top: -15px;
        margin-bottom: 40px;
    }
    .bloc {
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        padding: 30px;
        margin-bottom: 40px;
    }
    .sous-blocs-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .sous-bloc {
        flex: 1;
        margin: 0 10px;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    .sous-bloc:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }
    .sous-bloc img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-bottom: 10px;
		margin: auto;
    }
    .map-container {
        position: relative;
        width: 100%; /* La largeur s'adapte au parent */
/*        padding-bottom: 66.67%;*/ /* Ratio 960 / 1440 * 100 = 66.67% */
        padding-bottom: 75%;*/ /* Ratio 375 / 500 * 100 = 75% */
        height: 0; /* Nécessaire pour créer un conteneur avec un ratio */
        overflow: hidden; /* Empêche tout dépassement */
    }
    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%; /* L'iframe occupe toute la largeur du conteneur */
        height: 100%; /* L'iframe occupe toute la hauteur du conteneur */
        border: none; /* Supprime les bordures */
    }
/*
    select, button {
        margin: 10px 0;
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #ddd;
    }
    button {
        background-color: #2c3e50;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    button:hover {
        background-color: #34495e;
    }
*/
    @media (max-width: 767px) {
        .sous-blocs-container {
            flex-wrap: wrap;
        }
        .sous-bloc {
            flex-basis: 100%;
            margin: 10px 0;
        }
    }

    .sous-blocs-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sous-bloc {
        margin: 0 10px 20px;
        min-width: 200px;
    }

    /* Pour le format large */
    @media (min-width: 1024px) {
        .sous-bloc {
            flex: 1;
        }
    }

    /* Format intermédiaire */
    @media (max-width: 1023px) and (min-width: 768px) {
        .sous-bloc {
            flex-basis: calc(33.3333% - 20px);
        }
    }

    /* Format mobile horizontal */
    @media (max-width: 767px) and (min-width: 480px) {
        .sous-bloc {
            flex-basis: calc(40% - 20px);
        }
    }

    /* Format mobile vertical */
    @media (max-width: 479px) {
        .sous-bloc {
            flex-basis: 100%;
            margin: 0 -10px 20px;
        }
    }

    .image-center {
        position: relative;
        width: 100%;
        max-width: 800px;
        max-height: 250px;
        margin: 0 auto 20px;
        overflow: hidden;
    }

    .image-center img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .overlay-reiki {
        position: absolute;
        top: 50%;
        left: 10%;
        transform: translateY(-50%);
        max-width: 30%;
        max-height: 80%;
        object-fit: contain;
    }

    #scrollToTopButton {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 99;
        border: none;
        outline: none;
        background-color: rgba(51, 51, 51, 0.8);
        color: white;
        cursor: pointer;
        width: 50px;
        height: 40px;
        border-radius: 10px;
        font-size: 0; /* Cache le texte original */
        font-weight: bold;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    #scrollToTopButton:hover {
        background-color: rgba(85, 85, 85, 0.85);
    }

    #scrollToTopButton::before {
        content: "↑";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scaleX(1.5); /* Ajout de scaleX pour élargir */
        font-size: 20px;
        line-height: 1;
    }

    /* Ajustez ces valeurs pour déplacer la flèche */
    #scrollToTopButton::before {
        top: 43%; /* Déplace la flèche vers le haut */
        left: 50%; /* Déplace la flèche vers la droite */
    }

.adresse-bloc-large {
    flex-basis: 100% !important;
    flex-direction: column !important; /* Affichage vertical par défaut */
/*    align-items: stretch !important;*/ /* Les éléments occupent toute la largeur */
}

.adresse-bloc-large input {
    width: 100% !important; /* Les champs occupent toute la largeur de leur conteneur */
    padding: 8px !important; /* Ajuster le padding pour une meilleure apparence */
    box-sizing: border-box !important; /* Inclure le padding dans la largeur totale */
}

.inputs-container {
    display: flex !important; /* Utiliser flexbox pour les champs de saisie */
    flex-wrap: nowrap !important; /* Empêcher le retour à la ligne par défaut */
    align-items: center !important; /* Alignement vertical */
    justify-content: space-between;
}

.input-wrapper {
    flex-basis: 32% !important; /* Chaque champ occupe 25% de l'espace */
    max-width: 32% !important;
/*    margin: 0px !important;*/ /* Espacement autour des champs */
    box-sizing: border-box !important; /* Inclure le padding dans la largeur totale */
}


/* Media query pour les écrans mobiles (largeur maximale de 479px) */
@media (max-width: 479px) {
    .inputs-container {
        flex-direction: column !important; /* Affichage vertical */
/*        align-items: stretch !important;*/ /* Les éléments occupent toute la largeur */
    }

    .input-wrapper {
        width: 100% !important; /* Les champs occupent toute la largeur */
        margin: 5px 0 !important; /* Espacement vertical */
		max-width: 100% !important;
    }
}

.title-entreprise-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin-bottom: 5px !important; /* Ajout d'une marge en bas */
}

.title-entreprise-container h3 {
    flex: 1 !important; /* Le titre occupe l'espace disponible */
/*    margin: 0 !important;*/ /* Suppression des marges par défaut */
}

.title-entreprise-container .input-wrapper {
    flex: 1 !important; /* Le champ occupe l'espace disponible */
    max-width: auto !important; /* Suppression de la largeur maximale */
/*    margin: 0 !important;*/ /* Suppression des marges par défaut */
}

/* Media query pour les écrans mobiles (largeur maximale de 768px) */
@media (max-width: 768px) {
    .title-entreprise-container {
        flex-direction: column !important; /* Affichage vertical */
        align-items: flex-start !important; /* Aligner les éléments à gauche */
    }

    .title-entreprise-container .input-wrapper {
        width: 100% !important; /* Le champ occupe toute la largeur */
        max-width: none !important; /* Suppression de la largeur maximale */
        margin-top: 5px !important; /* Ajout d'une marge en haut */
    }

    .inputs-container {
        flex-direction: column !important; /* Affichage vertical */
/*        align-items: stretch !important;*/
    }

    .input-wrapper {
        width: 100% !important;
        max-width: none !important; /* Suppression de la largeur maximale */
        margin: 5px 0 !important;
    }
}

option.heure-disponible {
    font-weight: normal;
}

option.heure-occupee {
    font-weight: normal;
    color: #999; /* Gris clair pour les heures occupées */
}

footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    position: static; /* Changé à 'static' */
//    margin-top: auto; /* Ajouté pour pousser le footer vers le bas */
}