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

#confort {
    position: relative;

    
  


     .bloc1 {
    position: relative;
    width: 100%;
    z-index: 2;

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

      @media screen and (max-width: 1024px) {
        margin-bottom: -5px;
      }
    }

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

      .contenu {
        position: sticky;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        padding-top: calc(70vh - 150px);
        padding-bottom: 20vh;

        @media screen and (max-width: 1024px) {
          padding-top: 52vh;
        }

        @media screen and (max-width: 600px) {
          padding-top: 48vh;
        }

        @media screen and (max-width: 420px) {
          padding-top: 44vh;
        }

       h1 {
          color: #fff;
          z-index: 2;
          font-weight: 200;
          margin-bottom: 10px;

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

        h2 {
          color: #fff;
          z-index: 2;
          font-weight: 200;
        }
      }
    }
  }

  .bloc2 {
    position: relative;
    background-color: var(--bleu);
    margin-top: -20vh;
    z-index: 2;
    width: 100%;

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

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

    @media screen and (max-width: 1024px) {
      margin-top: 0;
    }

    .container {
      padding: 80px 0;

      @media screen and (max-width: 500px) {
        padding: 60px 0;
      }

      .bloc2-separator {
        width: 100%;
        height: 0px;
        background-color: rgba(255, 255, 255, 0.65);
        margin: 24px 0 24px;
      }

      p.intro {
        color: white;
        max-width: 850px;
      }

      .intellinox-red-finit.top {
        width: 48%;

        @media screen and (max-width: 1024px) {
          width: 49%;
        }

        @media screen and (max-width: 1000px) {
          width: 100%;
        }

        .span {
          margin-bottom: 5px;
        }
      }

      .contenu {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .boutonBloc {
          width: 100%;
          text-align: center;
          display: flex;
          justify-content: center;

          a {
            background-color: white;
            border-radius: 4px;
            margin-top: 8px;

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

      .left,
      .right {
        width: 47%;

        @media screen and (max-width: 1024px) {
          width: 49%;
        }

        @media screen and (max-width: 1000px) {
          width: 100%;
        }

        p {
          padding: 15px 0 0 0;

          @media screen and (max-width: 1024px) {
            padding: 10px 0 0 0;
          }
        }
      }

      p.intellinox-red-finit {
        color: white;
        padding: 48px 0 0 0;

        @media screen and (max-width: 1024px) {
          padding: 0;
        }

        .span {
          font-size: 20px;
          font-style: normal;
          font-weight: 700;
          line-height: 28px;
          margin-bottom: 48px;

          @media screen and (max-width: 1024px) {
            font-size: 18px;
            line-height: 22px;
          }

          @media screen and (max-width: 500px) {
            font-size: 17px;
            line-height: 20px;
          }
        }
      }

      .text-wrapper-4 {
        display: block;
        color: #FFF;
        font-size: 20px;
        font-style: normal;
        font-weight: 200;
        line-height: 28px;
        letter-spacing: -0.4px;
        margin-bottom: 20px;

        @media screen and (max-width: 1024px) {
          font-size: 18px;
          line-height: 22px;
        }

        @media screen and (max-width: 500px) {
          font-size: 17px;
          line-height: 20px;
        }
      }
    }

    .span {
      display: block;
      margin-bottom: 20px;
    }
  }

    /*.bloc3 {
        position: relative;

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

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

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

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

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

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

                video {
                    width: 100vw;
                    height: auto;
                    pointer-events: none;

                }


            }

            #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: 8%;
                            transition: transform 0.3s ease-in-out;
                            z-index: 6;
                        }

                        @media screen and (max-width: 900px) {
                            left: 24%;
                            bottom: 15%;
                            width: clamp(24px, 7vw, 38px);
                            min-width: 24px;
                            height: auto;
                        }
                    }

                    #plus2Mobile {
                        display: none;

                        @media screen and (max-width: 1439px) {
                            display: block;
                            position: absolute;
                            left: 53.6%;
                            bottom: 6%;
                            transition: transform 0.5s ease-in-out;
                            z-index: 6;
                        }

                        @media screen and (max-width: 900px) {
                            left: 52%;
                            bottom: 15%;
                            width: clamp(24px, 7vw, 38px);
                            min-width: 24px;
                            height: auto;
                        }
                    }
                }
            }

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

                @media screen and (max-width: 600px) {
                    position: fixed;
                    inset: 0;
                    width: 100vw;
                    height: 100vh;
                    z-index: 90;
                    background: #000 !important;
                    background-color: #000 !important;
                    -webkit-overflow-scrolling: touch;
                }

                .container {
                    position: relative;
                    padding-top: 56px;
                    padding-bottom: 32px;

                    @media screen and (max-width: 600px) {
                        width: 90%;
                        max-width: 90%;
                        min-height: 100vh;
                        padding-top: 72px;
                        padding-bottom: 48px;
                        box-sizing: border-box;
                        background: #000 !important;
                        background-color: #000 !important;
                    }

                    .close {
                        position: absolute;
                        right: 0;
                        top: 10px;
                        width: 36px;
                        height: 36px;
                        cursor: pointer;
                        z-index: 20;
                        padding: 8px;
                        box-sizing: content-box;
                        background: rgba(0, 0, 0, 0.45);

                        @media screen and (max-width: 600px) {
                            position: fixed;
                            top: 14px;
                            right: 14px;
                            width: 32px;
                            height: 32px;
                            padding: 8px;
                            background: rgba(0, 0, 0, 0.72);
                        }
                    }


                    #schemaIrisMobile {
                        display: none;

                        @media screen and (max-width: 600px) {
                            margin-top: 0;
                            width: 100%;
                        }

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

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

                    #schemaFlecheMobile {
                        display: none;

                        @media screen and (max-width: 600px) {
                            margin-top: 0;
                            width: 100%;
                        }

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

                            p {
                                color: white;
                                width: auto;
                            }
                        }
                    }
                }
            }
        }
    }*/
	.bloc3 {
        position: relative;
        background-color: black;
		.schema {
                transition: opacity 0.3s ease-in-out;
			.contenu{
				display:flex;
				justify-content:space-between;
				align-items:center;
			}
				.left{
					width: 35%;
					 p {
						color: white;

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

					h2 {
						color: white;

						margin-bottom: 22px;
					}

					h3 {
						margin: 12px 0 28px 0;
					}
				}
			.right{
				width:65%;
				video{
					width:100%;
				}
			}
               
            }
        .schemaContainer {
            text-align: center;
            position: relative;
			margin-top:-80px;
            .schema {
                width: 80%;
                height: auto;
				margin:0 auto;
            }

            #plus1 {
                position: absolute;
                top: 51%;
                left: 28.1%;
                transform: translate(-50%, -50%);
                width: 1.5%;
                height: auto;
                min-width: 24px;
                z-index: 2;
            }

            #plus1.rotated {
                transform: translate(-50%, -50%) rotate(45deg);
            }

            #plus2 {
                position: absolute;
                top: 66%;
                left: 63%;
                transform: translate(-50%, -50%);
                width: 1.5%;
                height: auto;
                min-width: 24px;
                z-index: 2;
            }

             #plus2.rotated {
                transform: translate(-50%, -50%) rotate(45deg);
            }

            #plus3 {
                position: absolute;
                top: 51%;
                left: 22%;
                transform: translate(-50%, -50%);
                width: 1.5%;
                height: auto;
                min-width: 24px;
                z-index: 2;
            }

            @media screen and (max-width: 700px) {
                .schema {
                    width: 96%;
                }

                #plus1,
                #plus2,
                #plus3 {
                    width: 30px;
                    min-width: 30px;
                }

                #plus1 {
                    left: clamp(27%, calc(23.8% + 0.9vw), 30%);
                }

                #plus3 {
                    left: clamp(16%, calc(19.2% - 0.9vw), 19%);
                }
            }

             #plus3.rotated {
                transform: translate(-50%, -50%) rotate(45deg);
            }
			.indicatifPlus{
				width: 517px;
                min-height: 104px;
                background-color: #4698CB;
                position: absolute;
                right: 0;
                bottom: 15%;
                display: flex;
                align-items: center;
                padding-left: 38px;
				.groupe{
					display:flex;
					align-items:center;
					gap: 12px;
					h5{
						color: #FFF;
						font-size: 16px;
						font-style: normal;
						font-weight: 600;
						line-height: 20px;
						text-transform: uppercase;
						text-align:left;
					}
				}
				
			}
			@media screen and (max-width: 1600px) {
                .indicatifPlus {
                    width: 25%;
               }
        	}
			@media screen and (max-width: 900px) {
                .indicatifPlus {
                    width: 100%;
					max-width: 100%;
					box-sizing: border-box;
					min-height:auto;
					position:relative;
					bottom:unset;
					right:unset;
					padding:20px;
               }
        	}
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 30;
            left: 50%;
            top: 50%;
            width: min(1180px, 90vw);
            height: min(760px, 86vh);
            max-height: 86vh;
            background-color: var(--gris-blanc);
            border-radius: 16px;
            transform: translate(-50%, -50%);
            overflow: hidden;

                .modalContainer {
                    position: relative;
                    width: 100%;
                    height: 100%;
                    padding: 80px 60px 100px 60px;
                    box-sizing: border-box;
                }

                .close {
                    position: absolute;
                    right: 28px;
                    top: 28px;
                    cursor: pointer;
                    z-index: 40;
                    pointer-events: auto;
                }

                .close:hover,
                .close:focus {
                    color: black;
                    text-decoration: none;
                    cursor: pointer;
                }

                .iris-bleue {
                    position: absolute;
                    left: 8%;
                    top: 80px;
                    width: 22%;
                    height: calc(100% - 180px);
                    max-width: 260px;
                    object-fit: contain;
                }

                .volet-rect {
                    position: absolute;
                    left: 6%;
                    top: 40px;
                    width: 24%;
                    height: 220px;
                    max-width: 280px;
                    object-fit: contain;
                }

                .volet-oval {
                    position: absolute;
                    left: 6%;
                    top: 280px;
                    width: 22%;
                    height: 220px;
                    max-width: 250px;
                    object-fit: contain;
                }

                .control {
                    position: absolute;
                    left: 6%;
                    top: 80px;
                    width: 26%;
                    height: calc(100% - 180px);
                    max-width: 320px;
                    object-fit: contain;
                }


                .textContainer1 {
                        position: absolute;
                        top: 80px;
                        left: 34%;
                        width: 56%;
                        bottom: 40px;
                        overflow: visible;
                    h2 {
                        color: var(--bleu);
                        margin-bottom: 32px;
                    }

                    ul {
                        list-style-position: inside;
                    }

                    p,
                    li {
                        color: var(--gris);
                    }
                }
                .textContainer2 {
                        position: absolute;
                        top: 80px;
                        left: 34%;
                        width: 56%;
                        bottom: 100px;
                        overflow: auto;
                    h2 {
                        color: var(--bleu);
                        margin-bottom: 32px;
                    }
                }
                .textContainer3 {
                        position: absolute;
                        top: 80px;
                        left: 38%;
                        width: 50%;
                        bottom: 40px;
                        overflow: visible;
                    h2 {
                        color: var(--bleu);
                        margin-bottom: 32px;
                    }
                }

                @media screen and (max-width: 1200px) {
                    .modalContainer {
                        padding: 72px 40px 80px 40px;
                    }

                    .textContainer1,
                    .textContainer2,
                    .textContainer3 {
                        left: 40%;
                        width: 47%;
                        top: 72px;
                        bottom: 80px;
                    }

                    .iris-bleue,
                    .control {
                        top: 72px;
                        height: calc(100% - 152px);
                    }

                    .volet-rect {
                        top: 72px;
                        height: 190px;
                    }

                    .volet-oval {
                        top: 300px;
                        height: 190px;
                    }
                }

                @media screen and (max-width: 900px) {
                    left: 0;
                    top: 0;
                    width: 100vw;
                    height: 100vh;
                    max-height: 100vh;
                    border-radius: 0;
                    transform: none;

                    .modalContainer {
                        height: 100vh;
                        padding: 72px 16px 96px 16px;
                        overflow-y: auto;
                        -webkit-overflow-scrolling: touch;
                    }

                    .iris-bleue,
                    .control {
                        position: relative;
                        left: auto;
                        top: auto;
                        bottom: auto;
                        height: 180px;
                        width: 100%;
                        max-width: 100%;
                        margin: 0 auto 20px auto;
                    }

                    .volet-rect,
                    .volet-oval {
                        position: relative;
                        left: auto;
                        top: auto;
                        bottom: auto;
                        height: 130px;
                        width: 100%;
                        max-width: 100%;
                        margin: 0 auto 16px auto;
                    }

                    .textContainer1,
                    .textContainer2,
                    .textContainer3 {
                        position: relative;
                        width: 100%;
                        left: auto;
                        top: auto;
                        bottom: auto;
                        padding-bottom: 96px;
                    }

                    .textContainer1 h2,
                    .textContainer2 h2,
                    .textContainer3 h2 {
                        margin-bottom: 20px;
                    }

                    .textContainer1 p,
                    .textContainer1 li,
                    .textContainer2 p,
                    .textContainer3 p {
                        font-size: 15px;
                        line-height: 1.5;
                    }

                    .close {
                        right: 14px;
                        top: 14px;
                    }
                }

            }
        }

    .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%;
                        }
                    }
                }
            }
        }
    }

}
