/*-----Fichier firme.css-------*/

#fiche_detail {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    width: 0%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    right: 0;
    top: 0;
    color: transparent;
    padding: 5%;
    opacity: 0;
    transition: opacity 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out, color 1s ease-in-out;
    z-index: 1;
}
#fiche_detail.show {
    color: var(--white);
    opacity: 1;
    width: 55%;
    transition: opacity 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out, color 2s ease-in-out;
}
#fiche_detail span {
    background-color: var(--darkred);
}
#fiche_detail p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4rem;
    text-align: justify;
}

.section_1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section_1 .txt_description {
    width: 60%;
    margin-bottom: 50px;
    text-align: justify;
}

.section_1 h2 {
    font-size: 1.3vw;
    color: var(--mediumgrey);
}

.wrapper_notre_equipe,
.wrapper_Architecte {
    display: flex;
    width: 60%;
    gap: 50px;
}

.section_3 article,
.section_1 article {
    display: flex;
    flex-direction: column;
    width: 100%;
}

h1 {
    width: 60%;
    padding-top: 250px;
    margin-bottom: 20px;
}

.wrapper-firme .container_img {
    position: relative;
}

.cover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url(/images/+.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 1s ease;
    cursor: pointer;
}

.cover:hover {
    opacity: 1;
    transition: opacity 1s ease;
}

.cover.selected {
    opacity: 1;
    background-image: url(/images/x.png);
}

.text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section_2 .container_img {
    width: 50%;
}
.section_2 .text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 35%;
    text-align: justify;
}

.section_3 h2 {
    font-size: 1.3vw;
    width: 60%;
    margin-bottom: 50px;
}
.section_3 h3 {
    font-size: 1.3vw;
}
.section_3 .a_button {
    align-self: center;
    margin-top: 7%;
    border: 2px transparent;
    color: var(--vibrant);
}

.section_3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section_3 h2 {
    color: var(--black);
}

.wrapper_notre_equipe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

#url_linkedin img {
    width: 5%;
    min-width: 30px;
    background-color: var(--white);
    border-radius: 50%;
    padding: 1px;
}

#courriel {
    color: var(--white);
}
@media only screen and (max-width: 1440px) {
    #fiche_detail.show {
        overflow-y: scroll;
        display: block;
        margin-top: 60px;
        padding-bottom: 80px;
    }
    .section_2 .text {
        width: 60%;
    }
    .section_2 .container_img {
        width: 60%;
        margin-top: 30px;
    }
}
@media only screen and (max-width: 1050px) {
    .section_1 h2,
    .section_3 h3 {
        font-size: 3vw;
    }
    .section_2 {
        width: 100%;
        min-width: unset;
        overflow: hidden;
    }
    .section_2 article {
        flex-direction: column-reverse;
    }
    .wrapper_Architecte {
        flex-direction: column;
    }
    /* .wrapper-firme .section_1 h2 {
        font-size: 3vw;
    } */
    .wrapper_notre_equipe {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 900px) {
}
@media only screen and (max-width: 850px) {
    #fiche_detail.show {
        width: 85%;
    }
}
@media only screen and (max-width: 760px) {
    .wrapper-firme h1 {
        padding-top: 150px;
        font-size: 3.3vw;
    }
    .wrapper_notre_equipe {
        padding: 5%;
        grid-template-columns: repeat(1, 1fr);
    }

    .section_1 .container_img {
        width: 100%;
    }
}
@media only screen and (max-width: 500px) {
    .wrapper_Architecte,
    .wrapper_notre_equipe {
        width: 80%;
    }
    .wrapper-firme h1 {
        width: 80%;
        font-size: 2.3em;
    }

    .section_2 .text {
        width: 80%;
        margin-top: 25px;
    }

    .section_2 .container_img {
        width: 80%;
    }
    .section_2 article {
        padding: 0;
    }
    .wrapper-firme h3,
    .wrapper-firme h2 {
        font-size: 1.3em;
    }
    .section_1 .txt_description {
        width: 80%;
    }
    .section_3 h2 {
        width: 80%;
        padding: 0 5%;
        margin-top: 50px;
    }
}

@media only screen and (max-width: 450px) {
    #fiche_detail p {
        line-height: 1.2em;
    }
}
