  html {
    scroll-behavior: smooth;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
  }

  body {
    background-color: #0e0e0e;
    color: white;
    overflow-x: hidden;
  }

  /* ============ NAVBAR ============ */


  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 87, 34, 0.2);
    padding: 15px 20px;
    box-sizing: border-box;
  }


  .desktop-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .desktop-navbar h1 {
    font-size: 1.8rem;
    color: #ff5722;
    margin: 0;
  }

  .navbar-section a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .navbar-section a:hover {
    background-color: #ff5722;
    color: white;
  }

  /* ===== Sélecteur de langue ===== */

  .lang-selector {
    position: relative;
    display: inline-block;
    font-size: 0.95rem;
  }

  .lang-btn {
    background: none;
    border: 1px solid rgba(255, 87, 34, 0.5);
    color: white;
    padding: 3px 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .lang-btn:hover {
    background-color: rgba(255, 87, 34, 0.2);
  }

  /* Menu déroulant */
  .lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background-color: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    list-style: none;
    margin: 0;
    padding: épx 0;
    min-width: 140px;
    z-index: 1000;
    animation: fadeIn 0.25s ease forwards;
  }

  .lang-menu li {
    margin: 0;
  }

  .lang-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    transition: all 0.2s ease;
  }

  .lang-menu a:hover {
    background-color: #ff5722;
  }

  /* Affichage au clic */
  .lang-selector.active .lang-menu {
    display: block;
  }


  /* Animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


  /* ============ MOBILE NAVBAR ============ */
  .mobile-navbar {
    display: none;
  }

  .mobile-navbar h4 {
    color: #ff5722;
    margin: 0;
    font-size: 1.5rem;
  }

  #menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(17, 17, 17, 0.98);
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    max-width: 250px;
    border-left: 2px solid #ff5722;
    z-index: 200;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    border-bottom: 1px solid #222;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .mobile-menu a:hover {
    background-color: #ff5722;
    padding-left: 30px;
  }

  .mobile-menu.active {
    display: flex;
    animation: slideIn 0.3s ease forwards;
  }

  .mobile-menu.deactive {
    animation: slideOut 0.3s ease forwards;
  }

  /* ===== Sélecteur dans le menu mobile ===== */
.mobile-lang {
  padding: 10px 15px;
  border-top: 1px solid rgba(255, 87, 34, 0.3);
  margin-top: 10px;
  text-align: center;
}

.mobile-lang hr {
  border: none;
  height: 1px;
  background-color: rgba(255, 87, 34, 0.3);
  margin-bottom: 10px;
}

/* Adapter le style du sélecteur dans le menu mobile */
.mobile-lang {
  padding: 10px 15px;
  border-top: 1px solid rgba(255, 87, 34, 0.3);
  margin-top: 10px;
  text-align: center;
}

.mobile-lang hr {
  border: none;
  height: 1px;
  background-color: rgba(255, 87, 34, 0.3);
  margin-bottom: 10px;
}

/* Adapter le style du sélecteur dans le menu mobile */
.mobile-lang .mobile-lang-selector {
  position: relative;
  display: inline-block;
}

.mobile-lang .mobile-lang-btn {
  width: 100%;
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.5);
  color: white;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-lang .mobile-lang-btn:hover {
  background-color: rgba(255, 87, 34, 0.2);
}

.mobile-lang .mobile-lang-menu {
  display: none;
  position: relative; /* 👈 pas absolu ici */
  background-color: rgba(17, 17, 17, 0.98);
  border: 1px solid rgba(255, 87, 34, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  list-style: none;
  margin: 10px 0 0;
  padding: 6px 0;
}

.mobile-lang .mobile-lang-btn li {
  margin: 0;
}

.mobile-lang .mobile-lang-btn a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 10px;
  transition: all 0.2s ease;
}

.mobile-lang .mobile-lang-menu a:hover {
  background-color: #ff5722;
}

/* Affichage */
.mobile-lang .mobile-lang-selector.active .mobile-lang-menu {
  display: block;
  animation: fadeIn 0.25s ease forwards;
}


  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }

    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
      opacity: 1;
    }

    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }



  /* ============ BOUTONS ============ */
  .app-btn {
    background-color: #ff5722;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    color: white;
  }

  .app-btn:hover {
    background-color: #ff784e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
    color: white;
  }

  /* ============ SECTIONS ============ */
  .container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  section h1,
  section h2 {
    color: #ff5722;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-align: center;
  }

  section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 20px;
  }

  /* ============ CARDS ============ */
  .cards {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 87, 34, 0.2);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }

  .cards:hover {
    transform: translateY(-10px);
    border-color: #ff5722;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
  }

  .cards h3 {
    color: #ff5722;
    margin-bottom: 15px;
    font-size: 1.5rem;
  }

  .cards p {
    color: #bbb;
    font-size: 1rem;
  }

  /* ============ HOME SECTION ============ */
  #home {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 50px;
  }

  #home h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  #home p {
    max-width: 700px;
    font-size: 1.2rem;
  }

  /* ============ FEATURES GRID ============ */
  #features .columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }

  /* ============ FOOTER ============ */
 footer {
  background: #000;
  color: #999;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 87, 34, 0.2);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


footer p {
  margin: 5px 0;
}

footer a {
  color: #ff5722;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

footer .social-media a {
  margin: 0 8px;
  font-size: 1.2rem;
  color: #999;
}

footer .social-media a:hover {
  color: #ff5722;
}

  /* ============ RESPONSIVE ============ */

  /* Tablettes (768px - 1024px) */
  @media screen and (max-width: 1024px) {
    .container {
      padding: 40px 20px;
    }

    section h1,
    section h2 {
      font-size: 2rem;
    }

    #home h2 {
      font-size: 2.5rem;
    }
  }

  /* Mobile (max 768px) */
  @media screen and (max-width: 768px) {
    .desktop-navbar {
      display: none;
    }

    .mobile-navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .container {
      padding: 30px 15px;
    }

    section h1,
    section h2 {
      font-size: 1.8rem;
    }

    #home {
      min-height: 70vh;
      padding: 20px 15px;
    }

    #home h2 {
      font-size: 2rem;
      line-height: 1.3;
    }

    #home p {
      font-size: 1rem;
    }

    .cards {
      padding: 20px;
    }

    .cards h3 {
      font-size: 1.3rem;
    }

    .btn-primary {
      padding: 10px 25px;
      font-size: 0.9rem;
    }

    #features .columns {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

  /* Petits mobiles (max 480px) */
  @media screen and (max-width: 480px) {
    header {
      padding: 10px 15px;
    }

    .mobile-navbar h4 {
      font-size: 1.3rem;
    }

    section h1,
    section h2 {
      font-size: 1.5rem;
    }

    #home h2 {
      font-size: 1.7rem;
    }

    #home p {
      font-size: 0.95rem;
    }

    .cards {
      padding: 15px;
    }

    .btn-primary {
      padding: 10px 20px;
      font-size: 0.85rem;
    }

    footer {
      padding: 30px 15px;
      font-size: 0.85rem;
    }
    footer .container {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
  }

  /* Très petits écrans (max 360px) */
  @media screen and (max-width: 360px) {
    .mobile-navbar h4 {
      font-size: 1.1rem;
    }

    section h1,
    section h2 {
      font-size: 1.3rem;
    }

    #home h2 {
      font-size: 1.5rem;
    }

    .mobile-menu {
      max-width: 100%;
    }
  }