@import url(../style.css);

#confort {
    position: relative;

    .bloc1 {
        position: relative;
        height: 100%;
        ;
        z-index: 1;

        video {
            position: relative;
            right: 0;
            bottom: 0;
            width: 100%;
            height: auto;
            /* filter: brightness(40%); */
            margin-bottom: 20vh;
        }

        .container {
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;

            .contenu {
                position: sticky;
                top: 0;
                padding-top: 70vh;

                @media screen and (max-width: 1600px) {
                    padding-top: 45vh;
                }
                @media screen and (max-width: 1000px) {
                    padding-top: 45vh;
                }
                svg {
                    @media screen and (min-width: 1920px) {
                        width: fit-content;
                        height: 45px;
                    }
                }

                h1 {
                    color: white;
                    sup{
                        font-size: 25px;
                        margin-left: 4px;
                    }
                }

                h2 {
                    color: white;
                    margin-top: 23px;
                    letter-spacing: 0;
                }
            }
        }
    }

    .bloc2 {
        position: relative;
        background-color: var(--bleu);
        margin-top: -21vh;
        z-index: 2;
        padding: 120px 0 120px 0;

        @media screen and (max-width: 1280px) {
            margin-top: -25vh;
        }

        .container {
            p {
                color: white;
                width: 60%;
                margin: 20px 0;
                @media screen and (max-width: 1000px) {
                    width: 80%;
                }
                @media screen and (max-width: 500px) {
                    width: 100%;
                }
            }
        }
    }

    .bloc3 {
        position: relative;

        @media screen and (max-width: 1439px) {
            background-color: black;
        }

        @media screen and (max-width: 1000px) {
            padding-bottom: 90px;
        }

        @media screen and (max-width: 600px) {
            padding-bottom: 300px;
        }

        @media screen and (max-width: 400px) {
            padding-bottom: 350px;
        }
        #blocVideo {
            position: relative;
            display: flex;

            @media screen and (max-width: 1439px) {
                display: none;
            }

            .videoContainer {
                position: relative;
                right: 0;
                top: 0;
                width: 50%;
                overflow: hidden;
                transition: all 0.3s ease-in-out;

                video {
                    width: 100vw;
                    height: auto;
                }


            }

            #containerAir {
                transform: scaleX(-1);
            }
        }

        .left {
            transition: all 0.3s ease-in-out;
        }

        .right {
            z-index: 1;
        }



        .contenu {
            position: absolute;
            top: 90px;
            left: 5%;
            right: 5%;

            @media screen and (max-width: 1439px) {
                position: static;
                padding-top: 90px;
            }
        

            .top {
                position: relative;
                z-index: 5;

                hr {
                    width: 100%;
                    border: 1px solid var(--gris);
                    margin-bottom: 5px;
                }

            }


            .schema {
                margin-top: 50px;
                transition: opacity 0.3s ease-in-out;

                p {
                    color: white;
                    width: 35%;
                    @media screen and (max-width: 1024px) {
                        width: 60%;
                    }
                    @media screen and (max-width: 600px) {
                        width: 100%;
                    }
                }

                h2 {
                    color: white;
                    width: 35%;
                    margin-bottom: 22px;
                }

                h3 {
                    margin: 12px 0 28px 0;
                }
            }

            #schemaIris {
                display: none;
                position: relative;
                z-index: 4;

                a {
                    background-color: var(--bleu);

                    p {
                        color: white;
                        width: auto;
                    }
                }
            }

            #schemaFleche {
                display: none;
                position: relative;
                z-index: 4;

                a {
                    background-color: var(--bleu);

                    p {
                        color: white;
                        width: auto;
                    }
                }
            }

            .schemaContainer {
                position: absolute;
                top: 0;

                @media screen and (max-width: 1439px) {
                    position: static;
                }

                .schemaImage {
                    @media screen and (max-width: 1439px) {
                        text-align: center;
                     } 
                    .flecheUp {
                        position: relative;
                        left: 37%;
                        top: 145px;
                        scale: 0.8;
                        z-index: 2;
                        @media screen and (max-width: 1439px) {
                            display: none;
                         }

                    }

                    .flecheDown {
                        position: relative;
                        left: 28%;
                        top: 135px;
                        scale: 0.8;
                        z-index: 2;

                        @media screen and (max-width: 1439px) {
                            display: none;
                         }
                    }

                    .iris {
                        position: relative;
                        bottom: 140px;
                        left: 170px;

                        @media screen and (max-width: 1439px) {
                           display: none;
                        }
                    }

                    .imageMobile {
                        display: none;
                        @media screen and (max-width: 1439px) {
                            display: inline-block;
                            width: 80%;
                         } 
                    }

                    #plus1 {
                        position: absolute;
                        left: 110px;
                        bottom: 170px;
                        transition: transform 0.3s ease-in-out;

                        @media screen and (max-width: 1439px) {
                            display: none;
                        }
                    }

                    #plus2 {
                        position: absolute;
                        left: 54.6%;
                        bottom: 17%;
                        transition: transform 0.5s ease-in-out;
                        z-index: 4;

                        @media screen and (max-width: 1439px) {
                            display: none;
                        }
                    }

                    #plus1Mobile {
                        display: none;

                        @media screen and (max-width: 1439px) {
                            display: block;
                            position: absolute;
                            left: 22%;
                            bottom: 22%;
                            transition: transform 0.3s ease-in-out;
                            z-index: 2;
                        }
                        @media screen and (max-width: 1024px) {
                            width: 3%;
                            height: auto;
                        }
                        @media screen and (max-width: 1000px) {
                            bottom: 28%;
                        }
                        @media screen and (max-width: 600px) {
                            bottom: 44%;
                        }
                        @media screen and (max-width: 400px) {
                            bottom: 47%;
                        }
                    }

                    #plus2Mobile {
                        display: none;

                        @media screen and (max-width: 1439px) {
                            display: block;
                            position: absolute;
                            left: 53.6%;
                            bottom: 19.2%;
                            transition: transform 0.5s ease-in-out;
                            z-index: 2;
                        }
                        @media screen and (max-width: 1280px) {
                            left: 54.1%;
                        }
                        @media screen and (max-width: 1024px) {
                            width: 3%;
                            height: auto;
                        }
                        @media screen and (max-width: 1000px) {
                            left: 53.8%;
                            bottom: 25%;
                        }
                        @media screen and (max-width: 600px) {
                            bottom: 40%;
                        }
                        @media screen and (max-width: 400px) {
                            bottom: 45%;
                        }
                    }
                }
            }

            #modal {
                display: none;
                position: absolute;
                z-index: 1;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                overflow: auto;
                background-color: rgba(0, 0, 0, 0.7);

                .container {
                    padding-top: 100px;

                    .close {
                    transform: rotate(45deg);
                    position: absolute;
                    right: 10%;
                    top: 20%;
                    cursor: pointer;
                    }


                    #schemaIrisMobile {
                        display: none;

                        a {
                            background-color: var(--bleu);

                            p {
                                color: white;
                                width: auto;
                            }
                        }
                    }

                    #schemaFlecheMobile {
                        display: none;

                        a {
                            background-color: var(--bleu);

                            p {
                                color: white;
                                width: auto;
                            }
                        }
                    }
                }
            }
        }
    }

    .bloc4 {
        .container {
            margin-top: 91px;

            hr {
                width: 100%;
                border: 1px solid var(--gris);
                margin: 48px 0;
            }

            h2 {
                margin: 28px 0 87px 0;
                color: var(--gris);
            }

            .benefice {
                display: flex;
                gap: 125px;
                @media screen and (max-width: 1000px) {
                    flex-flow: column;
                }

                img {
                    border-radius: 8px;
                    @media screen and (max-width: 1000px) {
                        width: 70%;
                        height: auto;
                        align-self: center;
                    }
                    @media screen and (max-width: 600px) {
                        width: 90%;
                    }
                }


                .contenu {
                    h3 {
                        margin-bottom: 28px;
                    }

                    p {
                        color: var(--gris);
                        width: 75%;
                        @media screen and (max-width: 600px) {
                            width: 100%;
                        }
                    }
                }
            }
        }
    }

    .bloc5 {
        margin-top: 95px;
        position: relative;
        height: 180vh;
        @media screen and (max-width: 1000px) {
            height: auto;
         } 

        img {
            position: sticky;
            top: 0;
            width: 100%;
            height: 111vh;
            object-fit: cover;
            @media screen and (max-width: 1000px) {
                position: static;
                width: 100%;
                height: auto;
             } 
        }

        .bloc6 {
            @media screen and (max-width: 1000px) {
                width: 100%;
                background-color: var(--bleu);
             } 
            .container {
                .contenu {
                    width: 554.291px;
                    border-radius: 8px;
                    background-color: var(--bleu);
                    color: white;
                    padding: 70px 48px 105px 39px;
                    position: relative;
                    top: -150px;
                    @media screen and (max-width: 1000px) {
                        position: static;
                        border-radius: 0;
                        margin-top: -5px;
                        width: 100%;
                        padding: 70px 0 105px 0;
                     } 


                    .surtitre {
                        color: white;
                    }

                    hr {
                        width: 100%;
                        border: 1px solid white;
                        margin-bottom: 8px;
                    }

                    h2 {
                        margin: 28px 0 100px 0;
                        @media screen and (max-width: 600px) {
                            margin-bottom: 50px;
                         }
                    }

                    a {
                        background-color: white;
                        @media screen and (max-width: 600px) {
                            width: auto;
                        }

                        p {
                            color: var(--bleu);
                        }
                    }
                }
            }
        }
    }

    .bloc7 {
        background-color: var(--gris-blanc);

        .container {
            padding: 125.5px 0 131.91px 0;
            @media screen and (max-width: 1000px) {
                padding-top: 50px;
             }

            hr {
                width: 100%;
                border: 1px solid var(--gris);
                margin: 48px 0;
            }

            h2 {
                margin: 28px 0 87px 0;
                color: var(--gris);
            }

            .cloud {
                display: flex;
                gap: 125px;
                @media screen and (max-width: 1000px) {
                    flex-flow: column;
                }
                

                img {
                    border-radius: 8px;
                    @media screen and (max-width: 1000px) {
                        width: 70%;
                        height: auto;
                        align-self: center;
                    }
                    @media screen and (max-width: 600px) {
                        width: 90%;
                    }
                }


                .contenu {
                    h3 {
                        margin-bottom: 28px;
                    }

                    p {
                        color: var(--gris);
                        width: 75%;
                        @media screen and (max-width: 600px) {
                            width: 100%;
                        }
                    }

                    a {
                        background-color: var(--bleu);

                        p {
                            color: white;
                        }
                    }
                }
            }
        }
    }

    .bloc8 {
        background-color: var(--bleu);
        position: relative;
        z-index: 2;

        .container {
            padding: 80px 0;
            display: flex;
            flex-flow: column;
            align-items: center;

            h2,
            p {
                color: #fff;
            }

            h2 {
                margin-bottom: 24px;
            }

            p.intro {
                text-align: center;
                font-weight: 200;
                margin-bottom: 33px;
            }

            a {
                background-color: #fff;
                border-radius: 4px;

                p {
                    color: var(--bleu);
                }
            }

            .logos {
                display: flex;
                align-items: center;
                gap: 88px;
                margin-bottom: 55px;
                @media screen and (max-width: 1024px) {
                    gap: 68px;
                 } 
                 @media screen and (max-width: 1000px) {
                    gap: 40px;
                 } 
                 @media screen and (max-width: 800px) {
                    flex-wrap: wrap;
                    justify-content: center;
                 } 
                 @media screen and (max-width: 360px) {
                    gap: 30px;
                 } 
            }
        }
    }

    .bloc9 {
        margin-top: -2px;
        position: relative;
        height: 180vh;
        z-index: 2;
        @media screen and (max-width: 1024px) {
            height: auto;
         } 

        img {
            position: sticky;
            top: 0;
            width: 100%;
            height: 111vh;
            object-fit: cover;
            @media screen and (max-width: 1024px) {
                position: static;
                width: 100%;
                height: auto;
             } 
        }

        .bloc10 {
            @media screen and (max-width: 1024px) {
                width: 100%;
                background-color: var(--bleu);
             } 
            .container {
                .contenu {
                    width: 554.291px;
                    border-radius: 8px;
                    background-color: var(--bleu);
                    color: white;
                    padding: 70px 48px 105px 39px;
                    position: relative;
                    top: -150px;
                    @media screen and (max-width: 1024px) {
                        position: static;
                        border-radius: 0;
                        margin-top: -5px;
                        width: 100%;
                        padding: 70px 0 105px 0;
                     } 

                    .surtitre {
                        color: white;
                    }

                    hr {
                        width: 100%;
                        border: 1px solid white;
                        margin-bottom: 8px;
                    }

                    h2 {
                        margin: 28px 0 164px 0;
                        @media screen and (max-width: 600px) {
                            margin-bottom: 50px;
                        }
                    }

                    a {
                        background-color: white;

                        p {
                            color: var(--bleu);
                        }
                    }
                }
            }
        }
    }
}