@media screen and (max-width: 900px) {

    body{
        margin: 0 10px;
    }

    .button{
        font-size: .9rem;
    }

    .button-responsive{
        display: block;
            font-size: 1.1rem;

    }

.nav-center,
.nav-right {
  flex-direction: column;
  width: 100%;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex; /* toujours actif, ne pas cacher avec display: none */
  padding-top: 2rem;
}

.navbar.expanded .nav-center,
.navbar.expanded .nav-right {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


  .burger {
    display: flex;
  }

  .discord-link{
    display: flex;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
    overflow: hidden;
    max-height: 50px;
    width: 80%;
    margin: 0 auto;
    margin-top: 2rem;
  }

  .navbar.expanded {
    max-height: 400px;
    padding-bottom: 1rem;
  }

  .navbar .navbar-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(7.5px, 7.5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.discord-desktop {
    display: none;
  }
  .discord-mobile {
    display: inline-block;
    margin-left: 1rem;
  }

  .nav-center a {
    margin: 1rem 0;
  }

  .nav-right {
    justify-content: left;
  }


  .contact-button{
    margin-right: auto;
  }

    .hero{
        margin-top: -3rem;
    }

    .hero-title{
        font-size: 2.2rem;
    }

    
    .star{
        display: none;
    }

    .hero .button{
        display: none;
    }

    .hero-check-containers{
      flex-wrap: wrap;
        margin-bottom: 2rem;
    }

    .check-hero-container{
      font-size: 1rem;
    }



    .image-row .side-image{
        display: none;
    }

    .image-row .container-3d{
        max-width: 80%;
        margin-top: -4rem;
    }


.container-3d .hero-section-image-no-responsive {
  display: none;
}

    .hero-section-image-responsive{
      display: block;
            margin: 0 auto;
      margin-top: 6rem;
      max-width: 300px;
    }


    .logo-track {
  display: flex;
  animation: scroll 7s linear infinite;
  will-change: transform;
}


.video-inner {
  box-shadow:
    0 0 12px 6px #191919,
    0 0 10px 4px #191919;
}



.section1 .title{
    font-size: 2.2rem;
}

    .section1 .cards{
        flex-direction: column;
    }

.section1 .card{
       height: 35vh;
       flex: auto;
    }

    .section1 .card1 {
  background-image: url("../img/section1-frame1.png");
}

.section1 .card2 {
  background-image: url("../img/section1-frame2.png");
}

.section1 .card3 {
  background-image: url("../img/section1-frame3.png");
}


        .section2{
        margin: 0;
        padding: 4rem 1rem;
    }

    .section2 .card h3{
        font-size: 2.2rem;
    }

    .section2 .highlight-list li{
        font-size: 1.2rem;
    }

    .section2 .toggle-bar .logo{
        max-width: 120px;
    }


    .section2 .button{
      display: none;
    }

    .section3{
      padding: 6rem 1rem;
    }

    .section3-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .section3-left,
  .section3-right {
    flex: 1 1 100%;
    text-align: center;
  }

  .section3-right{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .avatars {
    justify-content: center;
  }

  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }

  .section3-left h2 {
    font-size: 2.2rem;
  }

  .avatars img {
    width: 32px;
    height: 32px;
  }


    .faq{
        padding: 2rem 1rem;
    }


    .mockup-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0) 30%);
  z-index: 2;
  pointer-events: none;
}

.cta-content .title-item{
    font-size: 1.2rem;
}

.cta-content h2{
    font-size: 2.2rem;
}

.cta-content .button{
    min-width: 280px;
}

.cta-form{
  margin-top: -1rem;
}



    .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-links {
    text-align: left;
    gap: 2rem;
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .linkedin-icon {
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer .linkedin-icon{
    margin-left: -10px;
  }


    
}


@media (min-width: 900px) {
  .discord-mobile {
    display: none;
  }
  .discord-desktop {
    display: inline-block;
  }
}