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

#hotte {
    position: relative;

    .bloc1 {
        position: relative;
        height: 120vh;
        background-image: url("/wp-content/uploads/2025/02/Header-HotteSurMesure.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: right;
        background-attachment: fixed;
        z-index: 1;
        @media screen and (max-width: 1000px) {
            height:100vh;
            background-image: url("/wp-content/uploads/2025/02/Header-HotteSurMesure-MOBILE.jpg");
        }
        .contenu {
            position: sticky;
            top: 0;
            padding-top: 70vh;
            color: white;
            @media screen and (max-width: 390px) {
                padding-top:50vh;
            }
            h2 {
                margin-top: 23px;
                letter-spacing: 0;
            }
        }
    }

    .bloc2 {
        position: relative;
        background-color: var(--bleu);
        margin-top: -20vh;
        padding: 50px 0;
        z-index: 2;
        @media screen and (max-width: 1000px) {
            margin-top:0;
            height:auto;
            display: flex;
            flex-wrap: wrap-reverse;
            justify-content: flex-end;
        }
        .container {
            position: relative;
            overflow: hidden;   
            @media screen and (max-width: 1000px) {
                margin-bottom:80px;
            }
            p {
                color: white;
                width: 60%;
                padding-top: 20%;
                @media screen and (max-width: 1000px) {
                    width:100%;
                    padding-top: 20px;
                }
            }

            
        }
        .img-bloc2-mobile{
            position: absolute;
            right:0;
            top: 2%;
            @media screen and (max-width: 1024px) {
                width:80%;
            }
             @media screen and (max-width: 1000px) {
                display: block;
                width:90%;
                position:relative;
             }
        }
    }


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

            .hrTop {
                margin-bottom: 8px;
            }

            hr {
                width: 100%;
                border: 1px solid var(--gris);
                margin: 48px 0;
                @media screen and (max-width: 1024px) {
                    margin:80px 0;
                }
            }

            h2 {
                margin: 28px 0 87px 0;
                color: var(--gris);
                @media screen and (max-width: 1024px) {
                    margin: 28px 0 50px 0;
                }
            }

            .hotteContainer {
                .hotte {
                    display: flex;
                    gap: 125px;
                    @media screen and (max-width: 1024px) {
                        gap:50px;
                    }
                    @media screen and (max-width: 1000px) {
                        flex-wrap:wrap;
                    }
                    .imgContainer {
                        width: 40%;
                        text-align: center;
                        @media screen and (max-width: 1000px) {
                            width:100%;
                        }
                        img {
                            width: 100%;
                            height: auto;
                        }
                        img.width{
                            width:80%;
                            @media screen and (max-width: 500px) {
                                width:100%;
                            }
                        }

                        .filtre {
                            width: 50%;
                            height: auto;
                        }
                    }

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

                        h3 {
                            margin-bottom: 28px;
                        }

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

                        a {
                            background-color: var(--bleu);
                            @media screen and (max-width: 500px) {
                                width:auto;
                              }
                            p {
                                color: white;
                            }
                        }
                    }
                }
                .filtreContainer {
                    margin-top: 74px;
                }
            }
        }
    }

    .bloc5 {
        margin-top: 95px;
        position: relative;
        height: 180vh;
        @media screen and (max-width: 1024px) {
            height:100vh;
          }
          @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: 1024px) {
                width:100%;
                height:100vh;
              }
              @media screen and (max-width: 1000px) {
                position:relative;
                height:auto;
              }  
        }

        .bloc6 {
            @media screen and (max-width: 1024px) {
                top:8%;
                position:absolute;
              }
              @media screen and (max-width: 1000px) {
                top:unset;
                position:relative;
              }
            .container {
                @media screen and (max-width: 1024px) {
                    margin-top:0;
                  }
                  @media screen and (max-width: 1000px) {
                    margin-left:0;
                    margin-right:0;
                    margin-top:-5px;
                    max-width:100%;
                    width:100%;
                  }
                .contenu {
                    width: 554.291px;
                    border-radius: 8px;
                    background-color: var(--bleu);
                    color: white;
                    padding: 70px 48px 105px 39px;
                    position: relative;
                    top: -300px;
                    @media screen and (max-width: 1024px) {
                        top:0;
                        width:55%;
                      }
                      @media screen and (max-width: 1000px) {
                        top:unset;
                        width:90%;
                        padding:70px 5%;
                        border-radius: unset;
                      }
                    .surtitre {
                        color: white;
                    }

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

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

                    p {
                        width: 90%;
                    }

                    a {
                        background-color: white;

                        p {
                            color: var(--bleu);
                            width: 100%;
                        }
                    }
                }
            }
        }
    }




}