* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', century gothic, Geneva, Verdana, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 100px;
}

body::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 300px;
  height: 300px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

body::after {
  content: '';
  position: absolute;
  top: 60%;
  left: 60%;
  width: 200px;
  height: 200px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
}

/* === Loader === */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

header {
  background-color: rgba(255, 255, 255, 0.3); /* tu peux garder ça si tu veux la transparence */
  color: #fff; /* texte blanc */
  padding: 30px 40px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
  height: 100px;
  letter-spacing: 0.1em;
}


header .logo img {
  height: 80px;
  transition: transform 0.5s ease, height 0.3s ease;
}

header .logo:hover img {
  animation: bounceZoom 0.6s ease;
}

@keyframes bounceZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1.05); }
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

header nav ul li {
  margin: 0 20px;
}

header nav ul li a {
  color: #333;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

header nav ul li a:hover {
  color: #3498db;
  transform: scale(1.05);
}

/* Informations de contact */
.contact-info {
  text-align: right;
  font-size: 15px;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-info a:hover {
  color: #3498db;
}

/* Section Diaporama */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%),
  url('images/pehd-1.jpg') no-repeat center center;
  background-size: cover;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);

}

.hero .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .slide.active {
  opacity: 1;
}

.hero .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .content {
  position: absolute;
  top: 85%;
  left: 20%;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero h1 {
  font-size: 50px;
}

.hero p {
  font-size: 24px;
}

/* === Responsive Diaporama === */
@media (max-width: 768px) {
  .hero {
    height: 55vh; /* réduit la hauteur sur mobile pour éviter un diaporama trop grand */
  }

  .hero .slide img {
    object-position: center top; /* centre le focus de l'image vers le haut, plus naturel sur mobile */
  }

  .hero .content {
    top: 65%;          /* remonte un peu le texte */
    left: 50%;         /* garde centré horizontalement */
    transform: translateX(-50%);
    padding: 0 15px;   /* padding horizontal pour éviter que le texte touche les bords */
    max-width: 90%;    /* limite la largeur du texte */
  }

  .hero h1 {
    font-size: 28px;   /* réduit la taille du titre */
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;   /* réduit la taille du paragraphe */
  }
}


//* === Sections === */
#about, #services, #contact {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

#services {
  display: flex;
  justify-content: space-around;
  background-color: #fafafa;
  flex-wrap: wrap;  /* Ajouté : permet aux items de passer à la ligne */
  gap: 20px;        /* Ajouté : espace entre les blocs */
  padding: 40px 20px; /* Ajouté : padding autour */
}

.service-item {
  /* width: 30%;  supprimé */
  flex: 1 1 280px;   /* Ajouté : largeur flexible minimum 280px */
  max-width: 350px;  /* Ajouté : limite largeur max */
  background: white;
  padding: 30px 20px; /* Modifié : padding réduit */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  will-change: transform;
  margin: 0 auto;    /* Ajouté : centrage sur mobile */
}

.service-item:hover {
  transform: translateY(-10px);
}

/* === Responsive === */
@media (max-width: 768px) {
  #services {
    flex-direction: column;
    padding: 20px 10px;
    gap: 25px; /* ajoute un bon espace vertical entre les blocs */
  }

  .service-item {
    width: 90%;          /* un peu plus petit que 100%, laisse de la marge sur les côtés */
    max-width: 350px;    /* limite la largeur max pour pas que ça devienne trop large */
    margin: 0 auto 25px; /* centrage horizontal + marge en bas */
    padding: 20px 15px;  /* padding confortable mais pas trop grand */
    font-size: 0.95rem;  /* texte un peu plus petit pour mieux rentrer */
  }
}


form {
  max-width: 600px;
  margin: auto;
  text-align: left;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom : 20px
}

form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

form button {
  background-color: #3498db;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

/* Liste défilante des logos fournisseurs */
.logos-container {
  overflow: hidden;
  width: 100%;
  background-color: #fafafa;
  padding: 10px 0;
  margin-top: 50px;
}

.logos-track {
  display: flex;
  width: 200%;
  animation: scrollLogos 20s linear infinite;
}

.logo-slide {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.logo-slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', century gothic, Geneva, Verdana, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 300px;
  height: 300px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

body::after {
  content: '';
  position: absolute;
  top: 60%;
  left: 60%;
  width: 200px;
  height: 200px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
}

/* === Loader === */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.3);
  color: #333;
  padding: 30px 40px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
  height: 100px;
}

header .logo img {
  height: 80px;
  transition: transform 0.5s ease, height 0.3s ease;
}

header .logo:hover img {
  animation: bounceZoom 0.6s ease;
}

@keyframes bounceZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1.05); }
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

header nav ul li {
  margin: 0 20px;
}

header nav ul li a {
  color: #333;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

header nav ul li a:hover {
  color: #3498db;
  transform: scale(1.05);
}

/* Informations de contact */
.contact-info {
  text-align: right;
  font-size: 15px;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-info a:hover {
  color: #3498db;
}

/* Section Diaporama */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%),
  url('images/pehd-1.jpg') no-repeat center center;
  background-size: cover;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);

}

.hero .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .slide.active {
  opacity: 1;
}

.hero .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .content {
  position: absolute;
  top: 85%;
  left: 20%;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero h1 {
  font-size: 50px;
}

.hero p {
  font-size: 24px;
}

/* === Responsive Diaporama === */
@media (max-width: 768px) {
  .hero {
    height: 55vh; /* réduit la hauteur sur mobile pour éviter un diaporama trop grand */
  }

  .hero .slide img {
    object-position: center top; /* centre le focus de l'image vers le haut, plus naturel sur mobile */
  }

  .hero .content {
    top: 50%;          /* remonte un peu le texte */
    left: 50%;         /* garde centré horizontalement */
    transform: translateX(-50%);
    padding: 0 15px;   /* padding horizontal pour éviter que le texte touche les bords */
    max-width: 90%;    /* limite la largeur du texte */
  }

  .hero h1 {
    font-size: 28px;   /* réduit la taille du titre */
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;   /* réduit la taille du paragraphe */
  }
}


//* === Sections === */
#about, #services, #contact {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

#services {
  display: flex;
  justify-content: space-around;
  background-color: #fafafa;
  flex-wrap: wrap;  /* Ajouté : permet aux items de passer à la ligne */
  gap: 20px;        /* Ajouté : espace entre les blocs */
  padding: 40px 20px; /* Ajouté : padding autour */
}

.service-item {
  /* width: 30%;  supprimé */
  flex: 1 1 280px;   /* Ajouté : largeur flexible minimum 280px */
  max-width: 350px;  /* Ajouté : limite largeur max */
  background: white;
  padding: 30px 20px; /* Modifié : padding réduit */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  will-change: transform;
  margin: 0 auto;    /* Ajouté : centrage sur mobile */
}

.service-item:hover {
  transform: translateY(-10px);
}

/* === Responsive === */
@media (max-width: 768px) {
  #services {
    flex-direction: column;
    padding: 20px 10px;
    gap: 25px; /* ajoute un bon espace vertical entre les blocs */
  }

  .service-item {
    width: 90%;          /* un peu plus petit que 100%, laisse de la marge sur les côtés */
    max-width: 350px;    /* limite la largeur max pour pas que ça devienne trop large */
    margin: 0 auto 25px; /* centrage horizontal + marge en bas */
    padding: 20px 15px;  /* padding confortable mais pas trop grand */
    font-size: 0.95rem;  /* texte un peu plus petit pour mieux rentrer */
  }
}


form {
  max-width: 600px;
  margin: auto;
  text-align: left;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom : 20px
}

form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

form button {
  background-color: #3498db;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

/* Liste défilante des logos fournisseurs */
.logos-container {
  overflow: hidden;
  width: 100%;
  background-color: #fafafa;
  padding: 10px 0;
  margin-top: 50px;
}

.logos-track {
  display: flex;
  width: 200%;
  animation: scrollLogos 20s linear infinite;
}

.logo-slide {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.logo-slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#map {
  width: 100%;
  height: 300px;
  margin-top: 30px;
}

/* === Bouton WhatsApp === */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
  width: 30px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* === Footer === */
footer {
  background-color: #2c2c2c;
  color: #f0f0f0;
  padding: 40px 20px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-section p {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 0.95em;
  color: #eee;
}

.footer-section p strong {
  color: #ffffff;
}

.footer-section a {
  color: #DAF7A6;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section .working-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8em;  /* Réduit la taille de la police */
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-section .working-hours li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}

.footer-section .working-hours .day {
  font-weight: bold;
}

.footer-section .working-hours .hours {
  font-style: italic;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #444;
}

/* === Responsive === */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-section {
    text-align: left;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}


/* === Section À propos === */
#about {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
  position: relative;
}

#about h2 {
  font-size: 42px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: -30px;
}

#about .intro {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #666;
  line-height: 1.8;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.about-item {
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  margin-top: 30px;
  will-change: transform, opacity;
}

.about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-item:nth-child(2) {
  animation-delay: 0.2s;
}

.about-item:nth-child(3) {
  animation-delay: 0.4s;
}

.about-item h3 {
  font-size: 26px;
  color: #3498db;
  margin-bottom: 12px;
}

.about-item p,
.about-item ul {
  text-align: left;
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.about-item ul {
  padding-left: 20px;
  list-style-type: disc;
}

.about-item ul li {
  margin-bottom: 8px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hexagon-network {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(to right, #f8fbff, #eaf3fa);
  overflow: hidden;
}

#hexCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
  user-select: none;
  color: #333;
  padding: 10px;
}

@media (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.9);
    position: fixed;
    top: 100px;
    right: 0;
    width: 200px;
    padding: 20px;
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    height: calc(100% - 100px);
    overflow-y: auto;
    z-index: 9999;
  }

  header nav ul.active {
    display: flex;
  }

.menu-toggle {
  display: flex; /* visible seulement en mobile via media query */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

}
@media (max-width: 768px) {
  /* Centrer les titres des sections "Nous contacter" et "Nos fournisseurs" */
  #contact h2,
  #services h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
   .contact-info {
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
  }

  .contact-info a {
    font-size: 13px;
    display: inline-block;
    margin: 0 5px;
  }
}
  /* Si leurs containers sont en flex, forcer l'alignement centré */
  #contact, #services {
    text-align: center !important;
  }

  /* Autres règles mobiles déjà présentes ou à ajouter */
  /* ... ici tes autres styles pour mobile ... */
}
#contact h2,
#services h2 {
  text-align: center;
  margin: 40px auto 30px auto; /* haut, droite, bas, gauche */
}
#contact,
#services {
  text-align: center;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .logo-slide img {
    max-height: 120px; /* agrandi la hauteur max sur mobile */
  }
}


@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#map {
  width: 100%;
  height: 300px;
  margin-top: 30px;
}

/* === Bouton WhatsApp === */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
  width: 30px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* === Footer === */
footer {
  background-color: #2c2c2c;
  color: #f0f0f0;
  padding: 40px 20px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-section p {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 0.95em;
  color: #eee;
}

.footer-section p strong {
  color: #ffffff;
}

.footer-section a {
  color: #DAF7A6;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section .working-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8em;  /* Réduit la taille de la police */
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-section .working-hours li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}

.footer-section .working-hours .day {
  font-weight: bold;
}

.footer-section .working-hours .hours {
  font-style: italic;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #444;
}

/* === Responsive === */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-section {
    text-align: left;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}


/* === Section À propos === */
#about {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
  position: relative;
}

#about h2 {
  font-size: 42px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: -30px;
}

#about .intro {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #666;
  line-height: 1.8;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.about-item {
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  margin-top: 30px;
  will-change: transform, opacity;
}

.about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-item:nth-child(2) {
  animation-delay: 0.2s;
}

.about-item:nth-child(3) {
  animation-delay: 0.4s;
}

.about-item h3 {
  font-size: 26px;
  color: #3498db;
  margin-bottom: 12px;
}

.about-item p,
.about-item ul {
  text-align: left;
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.about-item ul {
  padding-left: 20px;
  list-style-type: disc;
}

.about-item ul li {
  margin-bottom: 8px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hexagon-network {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(to right, #f8fbff, #eaf3fa);
  overflow: hidden;
}

#hexCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.menu-toggle {
  position: fixed;
  top: 15px;
  right: 25px;
  width: 25px; /* Réduit ici */
  height: 15px; /* Réduit ici */
  gap: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10000;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 2px;
  margin-bottom: 4px; /* Espace entre les lignes */
}

.menu-toggle span:last-child {
  margin-bottom: 0; /* Supprime l'espace après la dernière ligne */
}


@media (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.9);
    position: fixed;
    top: 100px;
    right: 0;
    width: 200px;
    padding: 20px;
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    height: calc(100% - 100px);
    overflow-y: auto;
    z-index: 9999;
  }

  header nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header nav ul li a {
    font-size: 14px; /* ou 15px selon ton besoin */
   margin: 10px 0;
  }
header nav ul li a {
  font-size: 14px; /* Texte plus petit */
  padding: 5px 10px; /* Réduit la zone cliquable */
}

}
@media (max-width: 768px) {
  /* Centrer les titres des sections "Nous contacter" et "Nos fournisseurs" */
  #contact h2,
  #services h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Si leurs containers sont en flex, forcer l'alignement centré */
  #contact, #services {
    text-align: center !important;
  }

  /* Autres règles mobiles déjà présentes ou à ajouter */
  /* ... ici tes autres styles pour mobile ... */
}
#contact h2,
#services h2 {
  text-align: center;
  margin: 40px auto 30px auto; /* haut, droite, bas, gauche */
}
#contact,
#services {
  text-align: center;
  margin-top: 60px;
}
@media (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
}
