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

}

.logoTMPL {
  transition: transform 0.3s ease;
}

.logoTMPL:hover {
  transform: scale(1.1); /* Zoom léger à 110% */
}

p, a{
    font-weight: 200;
}

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

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{
    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: fixed;
        left: 0;
        top: 0;
        margin: auto;
        padding: 40px 70px;
        text-transform: uppercase;
        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;
  }

  nav.scrolled {
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease;
}
  
main{
    #nom{
        padding: 7% 10% 2% 10%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        ul{
            display: flex;
            gap: 20px;
            img{
                height: 30px;
                width: auto;
            }
        }
    }
    #moments-captures{
      padding: 0 10% 5% 10%;

    .carousel-container {
      overflow: hidden;
      white-space: nowrap;
    }
    
    .carousel-track {
      display: flex;
      flex-wrap: nowrap;
      will-change: transform;
    }
    
    .carousel-track img {
      flex-shrink: 0;
      width: auto;
      height: 300px; /* ajuste selon ton design */
      margin-right: 20px; /* espace entre les images */
      object-fit: cover;
    }
  }

    #nos-partenaires {
        padding: 20px 0;
        overflow: hidden;
      }

      h2{
        border-bottom: #86A5FF 1px solid;
        padding-bottom: 1px;
        width: fit-content;
        margin: 0 auto 5% auto;
        text-align: center;
    }
      
      .slider {
        background-color: white;
        height: 140px;
        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: 150px;
        object-fit: contain;
        filter: brightness(1) contrast(1.1);
        transition: transform 0.3s ease;
      }

      #apropos{
        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;
        }
        p{
            text-align: center;
        }    
    }
}

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

    footer .liens{
        margin-top: 30px;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        line-height: normal;
      }
  
    .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;
        margin-bottom: 40px;
    }

    #nom{
        flex-direction: column;
        text-align: center;
        line-height: normal;
        margin-bottom: 40px;
    }

    .carousel-images {
        height: 300px;
    }
    .carousel-images img {
        height: 300px;
    }
    
  }
