*	{
    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;

}

p, a{
    font-weight: 200;
}

h1{
    font-size: 42px;
    font-weight: 600;
}

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

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

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

ul{
    list-style: none;
}

header{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    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;
            }
        }
        
    }
}
.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{
    #top{
        padding: 10% 10% 2% 10%;
        display: flex;
        flex-direction: column;
        line-height: normal;
    }
    #services{
        padding: 5% 10%;
        line-height: normal;
        h2{
            border-bottom: #86A5FF 1px solid;
            padding-bottom: 1px;
            width: fit-content;
            margin: 0 auto 5% auto;
            text-align: center;
        }
        ul{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
            li{
                background-color: #161616;
                width: 320px;
                height: 430px;
                padding: 40px 30px 30px 30px;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                border-radius: 12px;
                box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
                    h3{
                        text-transform: uppercase;
                        font-weight: 500;
                    }
                }
                
                p{
                    margin-top: auto;
                    margin-bottom: auto;
                    text-align: justify;
                }
            }
        }
        #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;
    }

     h1{
        width: 80%;
        margin-top: 100px;

    }

    #top{
        text-align:center;
        justify-content: center;
        align-items: center;
        h1{
            margin-bottom: 20px;    
        }
    }

    .carousel-images {
        height: 300px;
    }
    .carousel-images img {
        height: 300px;
    }
    
  }
  .titre{
        .sousTitre {
            font-size: 16px;
        }
    }