.container-infos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: auto;
}

.container-infos hr {
    border: none;
    height: 2px;
    background-color: white;
    width: 150px;
    margin: 1em auto;
}

/* Panneau gauche (sombre) - Contient les coordonnées et infos pratiques */
.container-infos .left-panel {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 25px 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: white;

    background-image: url('../images/site/fond-avocat-divorce-grenoble.webp'); /* À adapter */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    position: relative;
    z-index: 1;
}

/* Overlay sombre pour améliorer la lisibilité sur l'image de fond */
.container-infos .left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(14, 26, 43, 0.75); /* Filtre semi-transparent */
    z-index: -1; /* Place l'overlay derrière le contenu */
}

html.no-webp .container-infos .left-panel {
    background-image: url('../images/site/fond-avocat-divorce-grenoble.jpg');
}

.container-infos .contact-info p {
    margin: 5px 0;
}

.container-infos .note-info {
    margin-top: 30px;
    padding: 15px;
    border: 2px solid white;
    /*background-color: rgba(57,0,14, 0.1);*/
    border-radius: 5px;
    font-size: 1em;
    text-align: left;
}


.container-infos .right-panel {
    -webkit-box-flex: 2;
        -ms-flex: 2;
            flex: 2;
    background-color: rgb(57,0,14);
    padding: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.container-infos .map-container {
    position: relative;
    width: 100%;
    height: 515px;
}

.container-infos .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.container-infos .map-info {
    width: 100%;
    margin-top: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
}

.container-infos .map-info-item {
    margin-left: 10%;
    margin-right: 10%;
    width: 30%;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 16px;
    color: white;
}

.container-infos .map-info-item-bas{
    margin-bottom: 0px;
}

.container-infos .map-info-item .icon {
    font-size: 2em;
    margin-right: 15px;
}

/* Media queries pour les petits écrans */
@media (max-width: 1100px) {

    .container-infos .map-info-item-bas{
        margin-bottom: 20px;
    }

    .container-infos {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .container-infos .left-panel, .container-infos .right-panel {
        -webkit-box-flex: 0;
            -ms-flex: none;
                flex: none;
        width: 100%;
        padding: 30px;
    }
}

@media (max-width: 800px) {
    .container-infos .map-container {
        position: relative;
        width: 100%;
        height: 350px;
    }

    .container-infos .map-info {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .container-infos .map-info-item{
        margin-left: 5%;
        margin-right: 0%;
        width: 100%;
    }
}