*	{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
	scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #FFF ;
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 2.2;
    overflow-x: hidden;

}

h1, p, a{
    font-weight: 200;
}

h2{
    font-size: 34px;
    font-weight: 400;
}

h3{
    font-size: 26px;
    font-weight: 400;
}

a, li a{
    color: inherit;
    text-decoration: none;
}

ul{
    list-style: none;
}

header{
    background-image: url("../img/hero.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    nav{
        display: flex;
        justify-content: space-between;
        width: 100%;
        z-index: 999;
        position: absolute;
        left: 0;
        top: 0;
        margin: auto;
        padding: 40px 70px;
        img{
            width: 60px;
            height: auto;
        }
        ul{
            display: flex;
            gap:20px;
            li a:hover{
                text-decoration: underline;
            }
        }
        
    }
    #logo{
        margin-top: 10%;
        display: flex;
        justify-content: center;
        align-items: center ;
        flex-direction: column;
        text-align: center;
        img{
            width: 300px;
            height: auto;
            margin-bottom: 20px;
        }
    }
    #chiffres-cles {
        text-align: center;
        padding: 60px 0;
      }
      
      .chiffre-cle {
        display: inline-block;
        margin: 0 40px;
      }
      
      .chiffre-cle-nb {
        font-size: 30px;
      }
      
      .chiffre-cle-txt {
        font-size: 24px;
        text-transform: uppercase;
        margin-top: -20px;
      }
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
  }
  
  .menu-toggle span {
    height: 3px;
    background: white;
    border-radius: 2px;
    width: 100%;
    display: block;
  }

main{
    #apropos{
        padding: 10%;
        margin: auto;
        ul{
            display: flex;
            flex-direction: column;
        }
        .titre{
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 10px;
            a{
                background-color: white;
                color: black;
                padding: 3px 10px;
                border-radius: 30px;
            }
        }
        
    }
    #nos-marques{
        padding: 0% 10% 5% 10%;
        h2{
            border-bottom: #86A5FF 1px solid;
            padding-bottom: 1px;
            width: fit-content;
            margin: 0 auto 5% auto;
            text-align: center;
        }
        .container-marques{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 100px;
            .marque{
                line-height: normal;
                img{
                    width: 500px;
                    height: auto;
                    border-radius: 10px;
                }
                a{
                    color: #86A5FF;
                    font-style: italic;
                }
            }    
        }
    
    }
    #moments-captures{
        padding: 5% 10%;
        h2{
            border-bottom: #86A5FF 1px solid;
            padding-bottom: 1px;
            width: fit-content;
            margin: 0 auto 5% auto;
            text-align: center;
        }
        .carousel {
            z-index: 999;
            position: relative;
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            overflow: hidden;
            display: flex;
            align-items: center;
            margin-top: 2vh;
        }
        
        .carousel-images {
          display: flex;
          transition: transform 0.5s ease-in-out;
          width: calc(100% * 7);
          height: 450px;
      }
      
      .carousel-images img {
          width: 33.33%;
          flex-shrink: 0;
          object-fit: cover;
      }

        /* Flèches */
        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2em;
            color: #D5AE5F;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            cursor: pointer;
            z-index: 2;
            padding: 10px;
            border-radius: 50%;
        }
        
        .left-arrow {
            left: 10px;
        }
        
        .right-arrow {
            right: 10px;
        }      
        
    }
    #contact{
        padding: 5% 10%;
        h2{
            border-bottom: #86A5FF 1px solid;
            padding-bottom: 1px;
            width: fit-content;
            margin: 0 auto 5% auto;
            text-align: center;
        }
        p:not(form p){
            text-align: center;
        }
        form{
            background-color: #161616;
            margin-top: 5%;
            border-radius: 10px;
            padding: 40px;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 5% 10%;
            }
              
              .ligne {
                display: flex;
                flex-wrap: wrap;
                gap: 2rem;
                justify-content: space-between;
              }
              
              .champ {
                flex: 1;
                display: flex;
                flex-direction: column;
              }
              
              .champ label {
                margin-bottom: 0.5rem;
                font-weight: 300;
              }
              
              input, textarea {
                padding: 0.75rem;
                border-radius: 5px;
                border: none;
                font-size: 1rem;
                font-family: inherit;
                color: #000;
              }
              
              textarea {
                resize: none;
              }
              
              .conteneur-bouton {
                text-align: center;
              }
              
              button {
                padding: 0.75rem 2rem;
                font-size: 1rem;
                background-color: white;
                color: black;
                border: none;
                border-radius: 8px;
                cursor: pointer;
              }
    } 
    #nos-partenaires {
        background-color: white;
        padding: 20px 0;
        overflow: hidden;
      }
      
      .slider {
        height: 100px;
        width: 100%;
        overflow: hidden;
        position: relative;
      }
      
      .slide-track {
        display: flex;
        width: max-content;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
      }
      
      .slide {
        width: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .slide img {
        height: 80px;
        object-fit: contain;
        filter: brightness(1) contrast(1.1);
        transition: transform 0.3s ease;
      }
      
      
         
}

footer{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
    padding: 5% 0;
    row-gap: 10px;
    h4{
        font-size: 24px;
        font-weight: 400;
        border-bottom: 1px solid #86A5FF;
        padding-bottom: 1px;
        width: fit-content;
        text-align: center;
    }
    ul{
        display: flex;
        gap: 40px;
        li img{
            width: auto;
            height: 30px;   
        }
        li a:hover{
            text-decoration: underline;
        }
    }
    .reseaux{
            border-bottom: 1px solid #86A5FF;
            padding-bottom: 10px;
            width: fit-content;
            text-align: center;
    }
    .droits a{
        text-decoration: underline;
    }
}

@media screen and (max-width: 768px) {
    nav {
      padding: 20px;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    .menu {
      position: absolute;
      top: 80px;
      right: 0;
      background: rgba(0, 0, 0, 0.95);
      flex-direction: column;
      width: 100%;
      align-items: center;
      display: none;
      gap: 30px;
      padding: 30px 0;
    }
  
    .menu.active {
      display: flex;
    }
  
    .menu li a {
      color: white;
      font-size: 20px;
    }

    #logo img{
        margin-top: 300px;
    }

     h1{
        width: 80%;
    }
    

    .container-chiffres-cles{
        display: flex;
        flex-direction: column;
    }

    .container-marques .marque {
      text-align: center;
    }
    
    .container-marques .marque img {
      width: 80%;
      max-width: 300px;
      height: auto;
    }

    
  }