body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
  }
  
  header {
    background: #1a1a1a;
    color: #fff;
    padding: 2rem 0; 
    position: fixed;
    width: 100%;
    z-index: 1000; 
    font-size: 18px;
    top: 0;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px; 
    width: 100%;
    padding: 0 20px;
    height: 60px;
}

header .logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

header .logo img {
    height: 50px;
}

header nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    position: relative;
    text-align: center;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out;
    white-space: nowrap;
}

header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

header nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    padding: 10px 0; 
    list-style: none;
    min-width: 200px; 
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 5px;
}

header nav ul li .dropdown-menu li {
    margin: 5px 0; 
    padding: 5px 10px; 
    text-align: left; 
    white-space: nowrap;
}

header nav ul li .dropdown-menu li a {
    display: block;
    padding: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
}

header nav ul li .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: underline;
}

header nav ul li:hover .dropdown-menu {
    display: block;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}


.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    z-index: 1000;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-nav.active {
    display: flex;
}

.dropdown-submenu {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    gap: 10px;
    transition: all 0.3s ease-in-out;
}

.dropdown-submenu li {
  margin: 6px 0; 
  padding: 4px 0;
}

.dropdown-submenu li a {
  padding: 4px 8px; 
  font-size: 14px; 
  display: block;
  text-align: left;
}

.dropdown-submenu.active {
    display: flex;
}

@media (min-width: 769px) {
  .hamburger {
      display: none;
  }

  .mobile-nav {
      display: flex;
      position: static;
      flex-direction: row;
      justify-content: center;
      gap: 20px;
  }

  .dropdown-submenu {
      display: none;
      position: absolute;
      background-color: #222;
      padding: 10px;
      border-radius: 4px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .dropdown:hover .dropdown-submenu {
      display: block;
  }

  header nav ul li .dropdown-menu {
      min-width: 220px;
  }

  .dropdown-submenu li {
      margin: 6px 0;
      padding: 4px 8px;
  }

  .dropdown-submenu li a {
      font-size: 14px;
  }
}

@media (max-width: 768px) {
  header {
      justify-content: space-between;
      padding: 0.5rem 1rem;
  }

  .hamburger {
      display: flex;
      position: absolute;
      left: 15px;
  }

  .logo {
      margin: 0 auto;
  }

  .hamburger span {
      background-color: #fff;
  }

  .dropdown-submenu {
      padding-left: 10px;
      gap: 6px; 
  }

  .dropdown-submenu li {
      margin: 4px 0;
      padding: 3px 6px;
  }

  .dropdown-submenu li a {
      font-size: 12px; 
      padding: 3px 6px;
  }
}
  
  /* Fin header */
  
  /* Bouton Retour en haut */
  #back-to-top {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    background-color: #303030; 
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  #back-to-top:hover {
    background-color: #000000; 
    transform: scale(1.1); 
  }
  
  /* Notification pop-up */
  .popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50; /* Vert pour succès */
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0; 
    visibility: hidden;
    transform: translateY(20px); 
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
  }
  
  /* Afficher le pop-up */
  .popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
  }


  





  body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    color: #333;
  }
  
  .products-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
  }
  
  /* Images des produits */
  .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
  }
  
  .product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Chiffres clés */
  .key-stats .stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .stat:hover {
    transform: translateY(-5px);
  }
  
  .stat .number {
    font-size: 2rem;
    color: #1a1a1a;
    font-weight: bold;
  }
  
  /* Collaboration avec Meta */
  .meta-collaboration {
    margin: 40px 0;
  }
  
  .meta-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .meta-image:hover {
    transform: scale(1.05);
  }
  
  /* Caractéristiques Techniques */
  .technical-specs .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    overflow-x: hidden; 
    box-sizing: border-box; 
  }
  
  
  .spec {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
  }
  
  .spec:hover {
    transform: translateY(-5px);
  }
  
  /* Bouton Acheter */
  .cta {
    margin-top: 40px;
  }
  
  .buy-button {
    padding: 15px 30px;
    font-size: 18px;
    background: #999;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
  }
  
  .note {
    margin-top: 10px;
    font-style: italic;
    color: #555;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .stats-grid {
      flex-direction: column;
    }
  
    .specs-grid {
      grid-template-columns: 1fr;
    }
  
    .meta-image {
      width: 100%;
    }
  }
  










/* Footer général */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 20px;
    font-size: 14px;
    line-height: 1.6;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
  }
  
  .footer-column {
    width: 30%; 
  }
  
  .footer-column p img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
  
  .footer-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 0px 0;
  }
  
  .social-links-grid a {
    display: flex;
    align-items: center;
    gap: 10px; 
    color: #ccc; 
    text-decoration: none; 
    transition: color 0.3s ease, transform 0.3s ease; 
  }
  
  .social-links-grid a:hover {
    color: #fff;
    transform: translateY(-3px); 
  }
  
  .social-links-grid img {
    width: 20px; 
    height: 20px;
    transition: transform 0.3s ease;
  }
  
  .social-links-grid img:hover {
    transform: scale(1.1);
  }
  
  .social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    gap: 10px; 
    align-items: center;
  }
  
  .footer-column p a,
  .recrutement-link {
  color: #ccc; 
  text-decoration: none; 
  }
  
  .footer-column p a:hover,
  .recrutement-link:hover {
  text-decoration: underline; 
  color: #fff; 
  }
  
  /* Section Newsletter */
  .newsletter-bar {
    background-color: #242424; 
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  .newsletter-bar-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .newsletter-bar h4 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .newsletter-bar p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .newsletter-bar-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
  }
  
  .newsletter-bar-input input {
    padding: 12px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;  
  }
  
  .newsletter-bar-button {
    padding: 12px 20px;
    background-color: #4d4d4d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }
  
  .newsletter-bar-button:hover {
    background-color: #b8b8b8;
  }
  
  .footer-bottom {
    background-color: #1a1a1a;
    color: #999;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #333;
  }
  
  .footer-bottom a {
    color: #ccc;
    text-decoration: none;
    margin: 0 5px;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  /* Media Queries */
  @media (min-width: 1024px) {
    header .container {
        flex-direction: row; 
        justify-content: space-between;
    }
  
    header .logo {
        margin-right: auto; 
    }
  
    header nav {
        margin-left: auto; 
    }
  
    header nav ul {
        flex-direction: row; 
        gap: 20px;
    }
  }
  
  @media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }
  
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
  
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
  
    .footer-column {
        width: 100%;
    }
  
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 480px) {
    header .logo img {
        height: 40px;
    }
  
    header nav ul li a {
        font-size: 14px;
    }
  
    .newsletter-bar h4 {
        font-size: 18px;
    }
  
    .newsletter-bar-button {
        font-size: 12px;
    }
  
    .footer-bottom {
        font-size: 9px;
    }
  }
  