.img-degrade {
    position: relative;
    display: block;
    width: 100%;
    max-height: 275px; /* Hauteur maximale du conteneur */
    overflow: hidden; /* Pour éviter tout débordement du pseudo-élément */
}

.phitech {
    display: block;
    width: 100%;
    object-fit: cover;
    max-height: 275px;
    object-position: center bottom;
}

  
.phitech2 {
    display: none;
}

.allInfoContact {
    display: flex;
    position: relative;
    margin-top: -7.5%;
    margin-bottom: 100px;
    flex-wrap: wrap;
    width: 95%;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-direction: row;
}

.formContact {
    z-index: 10;
    background-color: white;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2); /* Ombre noire légère */
    width: 600px;
}  

form {
    display: flex;
    flex-direction: column;
}
form > div {
    padding: 0px 50px 30px 50px;
}
form > div > h1 {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin: 25px 0px 20px 0px;
}
form > div > div {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 5px 0;
}
form > div > div > div {
    display: flex;
    flex-direction: column;
    margin: 5px;
    width: 100%;
}
form textarea {
    width: calc(100% - 20px);
    border: 1px solid black;
    height: 250px;
    resize: none;
    font-size: 1.2em;
    line-height: 1.5;
    padding: 10px;
}

.firstMove {
    margin-top: 10px;
}

/* Style pour tous les inputs */
input {
    width: 100%;
    padding: 10px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid black;
    box-sizing: border-box;
}
input::placeholder {
    color: #888;
    opacity: 1;
}
input:focus {
    outline: none;
}  

form > div > button {
    width: 100%;
    display: flex;
    font-size: 15px;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
    border-radius: 2px;
    border: 1px solid black;
    background-color: black;
    transition: background-color 0.5s, color 0.5s ease-in-out;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

form > div > button:hover {
    background-color: white;
    color: black;
}

.infoContactMap {
    width: auto;
    height: 100%;
    margin: 10% 10px 10px 10px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}

.infoTxtContact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: nowrap;
}

.lineInfo {
    display: flex;
    flex-direction: row;
    width: 475px;
    height: 225px;
}

.lineInfoDetail {
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lineInfoDetail > img {
    width: 50px;
    height: 50px;
    border: 2px solid #fdc216;
    border-radius: 50%;
    padding: 20px;
}

.lineInfoDetail > .spanTitle {
    font-size: 20px;
    font-weight: bold;
    color: #fdc216;
    padding: 8px;
    text-align: center;
}

.lineInfoDetail > span {
    font-size: 15px;
    width: 90%;
    height: 30px;
    color: #fdc216;
    text-align: center;
}

iframe {
    width: 475px;
    height: 450px;
}

.divContact {
    width: 80%;
}

.g-recaptcha {
    width: 70%;
    overflow: hidden;
}

.terms-conditions {
    display: flex;
    flex-direction: row;
    align-items: center; /* Assure que le texte et la case à cocher sont alignés */
}

.terms-conditions input[type="checkbox"] {
    margin-right: 10px;
    width: 20px; /* Largeur de la case à cocher */
    height: 20px; /* Hauteur de la case à cocher */
}

.terms-conditions label {
    color: grey;
    font-size: 15px;
    text-wrap: nowrap;
}

@media only screen and (max-width: 1099px) {}

@media (max-width: 999px) {
    .phitech {
        display: none;
    }
    .phitech2 {
        display: block;
        width: 100%;
        object-fit: cover;
        max-height: 250px;
        object-position: center bottom;
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
    }

    .allInfoContact {
        margin-bottom: 25px;
    }

    .formContact {
        width: 97.5%;
        position: relative;
        top: 0%;
        left: 0%;
        margin-top: 12.5%;
        box-shadow: none;/
    }
    
    form > div {
        padding: 0px 10px 10px 10px;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
        border: 1px solid grey;
    }

    form > div > h1 {
        font-size: 1.75em;
    }

    .infoTxtContact {
        align-items: center;
        width: 100%;
    }

    .lineInfo {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .lineInfoDetail {
        height: 230px;
    }

    iframe {
        width: 100%;
        height: 230px;
    }
    .g-recaptcha {
        width: 100%;
        overflow: hidden;
    }

    .terms-conditions label {
        text-wrap: wrap;
    }
}