.section-bg {
  background: #f9fafb;
}

.section-title h2 {
  color: #1a1a1a;
  font-size: 2rem;
  letter-spacing: 1px;
}
.emission-item {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.emission-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.emission-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.emission-item:hover .emission-logo {
  transform: rotate(10deg) scale(1.1);
}

/* Galerie */
.portfolio-item {
  position: relative;
  overflow: hidden;
}
.portfolio-item img {
  border-radius: 12px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}
.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}
.portfolio-item:hover .overlay {
  opacity: 1;
}
.overlay span {
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
}

.feature-card:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(0, 123, 255, 0.5);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 1.25rem;
    transition: transform 0.4s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card h5 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-card p {
    color: var(--white-70);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

  /* Logo */
  .logo-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .navbar-brand:hover .logo-img {
    transform: scale(1.05);
  }

  /* Texte défilant */
  .animated-text {
    overflow: hidden;
    white-space: nowrap;
    width: 300px;
    position: relative;
  }

  .defilement {
    display: inline-block;
    animation: scrollText 12s linear infinite;
  }

  @keyframes scrollText {
    0% {
      transform: translateX(100%);
    }

    100% {
      transform: translateX(-100%);
    }
  }

  /* Navbar */
  .navbar {
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
  }

  .navbar .nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    color: #007bff;
  }

  /* Soulignement animé sur hover */
  /* Supprime le soulignement et harmonise le style des liens */
.navbar a {
  text-decoration: none !important;
}

/* Pour garder une couleur cohérente au survol */
.navbar .nav-link:hover {
  color: var(--bs-primary) !important;
  text-decoration: none !important;
}

/* Pour éviter que le lien actif soit souligné */
.navbar .nav-link.active {
  text-decoration: none !important;
  font-weight: 600;
  color: var(--bs-primary) !important;
}


  /* Dropdown style */
  .dropdown-menu {
    border: none;
    border-radius: 10px;
    padding: 10px 0;
  }

  .dropdown-item {
    padding: 8px 20px;
    transition: background 0.3s ease;
  }

  .dropdown-item:hover {
    background-color: #f1f1f1;
  }

  /* Bouton principal */
  .btn-primary {
    background: linear-gradient(90deg, #007bff, #00aaff);
    border: none;
  }

  .btn-primary:hover {
    background: linear-gradient(90deg, #0066cc, #0088ff);
  }

  /* Responsive */
  @media (max-width: 991px) {
    .logo-img {
      width: 70px;
      height: 70px;
    }

    .animated-text {
      display: none;
    }

    .btn-primary {
      width: 100%;
      text-align: center;
      margin-top: 10px;
    }
  }
  .hero-section {
  height: 100vh;
  position: relative;
  color: white;
  text-align: center;
}



.slide-track img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  flex-shrink: 0;
}

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

.overlay {
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
/* ------------------ Footer général ------------------ */
.footer-social .social-link {
  font-size: 1.6rem; /* Taille des icônes (≈26px) */
  color: #ffffff; /* Couleur des icônes */
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Espacement automatique via gap dans le parent */
.footer-social {
  gap: 20px;
}

/* Effet au survol */
.footer-social .social-link:hover {
  transform: translateY(-4px);
  color: #ffffff;
}

.footer-modern {
   background: linear-gradient(90deg, #0083ff, #00bfff);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.footer-modern a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-modern a:hover {
  color: #0d6efd; /* couleur bleu Bootstrap */
  text-decoration: none;
}

/* ------------------ Titres ------------------ */
.footer-modern h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* ------------------ Liste de contacts ------------------ */
.footer-modern .contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

/* ------------------ Newsletter ------------------ */
.footer-modern .newsletter input.form-control {
  border-radius: 50px 0 0 50px;
  padding: 0.5rem 1rem;
  border: none;
}

.footer-modern .newsletter button {
  border-radius: 0 50px 50px 0;
  border: none;
  padding: 0 1rem;
  background-color: #0d6efd;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-modern .newsletter button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* ------------------ Mentions légales ------------------ */
.footer-legal {
  font-size: 0.85rem;
  color: #ffffff;
}

.footer-legal a {
  color: #ffffff;
}

.footer-legal a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* ------------------ Animation année ------------------ */
.current-year::after {
  content: attr(data-year);
}
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.carousel-inner {
  overflow: visible;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
}
  .hover-up {
    transition: all 0.4s ease;
  }
  .hover-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .hover-btn {
    transition: all 0.3s ease;
  }
  .hover-btn:hover {
    background-color: #0d6efd;
    transform: scale(1.05);
  }
      /* ======================================================
      3. Section Héros (Grandes Images Défilantes)
      ====================================================== */
    .hero-section-fullscreen {
        position: relative;
        height: 90vh; /* Hauteur de 90% de la fenêtre */
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    /* Style du carrousel pour qu'il agisse comme un fond */
    #heroCarousel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* Style de chaque image du carrousel */
    .carousel-item {
        height: 90vh;
        background-size: cover; /* L'image remplit l'espace sans se déformer */
        background-position: center;
        background-repeat: no-repeat;
    }

    /* Superposition sombre sur chaque image pour la lisibilité du texte */
    .carousel-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Ajustez l'opacité si besoin */
    }

    /* Style des contrôles (flèches) pour qu'ils soient plus visibles */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        padding: 1.5rem;
        background-size: 50%;
    }

    /* Contenu textuel par-dessus le carrousel */
    .hero-content {
        position: relative;
        z-index: 2; /* Assure que le texte est au-dessus du carrousel */
        color: white;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    }
/* === Section ZERO FAUTE : Features === */
.features-ticker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* plus larges */
  gap: 1.5rem; /* plus d'espace entre les cartes */
}

.feature-card {
  padding: 2rem 1.5rem; /* plus de hauteur et d'espace interne */
  font-size: 1.05rem;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-card strong {
  font-size: 1.1rem;
}

.feature-card small {
  font-size: 0.95rem;
}

.feature-card i,
.feature-card img {
  width: 50px !important; /* agrandit les icônes et images */
  height: 50px;
  margin-bottom: 10px;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #0d6efd;
}

.feature-card:hover i {
  transform: scale(1.25);
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .feature-card {
    padding: 1.5rem 1rem;
  }
}

/* === Image interactive === */
.interactive-image-wrapper {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  position: relative;
}

.interactive-image-wrapper:hover {
  transform: scale(1.03);
}

.interactive-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.interactive-image-wrapper:hover .interactive-image {
  transform: scale(1.1);
}

/* Effet de superposition */
.image-overlay {
  background: linear-gradient(45deg, rgba(13, 110, 253, 0.2), rgba(255, 255, 255, 0.2));
  opacity: 0;
  border-radius: 20px;
  transition: opacity 0.4s ease;
}

.interactive-image-wrapper:hover .image-overlay {
  opacity: 1;
}

/* === Feature Cards === */
.features-ticker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.feature-card {
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #0d6efd;
}

.feature-card i {
  transition: transform 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.2);
}



/* === Responsive === */
@media (max-width: 992px) {
  .interactive-image-wrapper {
    margin-bottom: 30px;
  }
}

/* SECTION HERO */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Fond fixe */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Bande défilante en haut */
.hero-slider {
  top: 0;
  left: 0;
  height: 230px; /* agrandit la hauteur du ruban */
  overflow: hidden;
  z-index: 3;
}

/* Largeur totale + vitesse du défilement */
.slide-track {
  display: flex;
  width: calc(350px * 12);
  animation: scroll 20s linear infinite; /* ajuste la vitesse */
}

/* IMAGES AGRANDIES */
.slide-track img {
  width: 450px;
  height: 330px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* effet au survol */
.slide-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Animation fluide */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Contenu texte et overlay */
.hero-content {
  z-index: 4;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
/* === Zero Faute Section === */
#zero-faute {
  background: linear-gradient(to bottom, #f8f9fa, #eef3f7);
  position: relative;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-image {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  border-radius: 1rem;
}

.product-image-wrapper:hover .product-image {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

/* Glow effect */
.glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.15), transparent 70%);
  animation: pulse 3s infinite ease-in-out;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Feature cards */
.feature-card {
  background: #fff;
  border-radius: 1rem;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

/* Bouton dégradé */
.btn-gradient {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.5);
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideAnimation 24s infinite;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 4s; }
.hero-bg-slide:nth-child(3) { animation-delay: 8s; }

@keyframes slideAnimation {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}



@keyframes slideAnimation {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

/* Contenu centré */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 100%;
}

/* Texte typed sans fond */
.hero-typed-text {
  font-size: 1.75rem;
  font-weight: 600;
  max-width: 900px;
  line-height: 1.6;
  margin-top: 1rem;
  color: #ffffff;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-typed-text {
    font-size: 1.2rem;
    max-width: 90%;
  }
  .hero-content h2 {
    font-size: 1.75rem;
  }
}
.count-box .purecounter,
.count-box .purecounter::before,
.count-box .purecounter::after {
  color: #000; /* chiffres, + et % en noir */
  font-weight: bold;
  font-size: 2rem; /* ajuste selon ton design */
}
.count-box i {
  color: #000; /* icônes en noir */
  font-size: 2rem; /* ajuste la taille si nécessaire */
}

.count-box .purecounter {
  color: #000;       /* chiffres + préfixe/suffixe en noir */
  font-weight: bold;
  font-size: 2rem;   /* ajuste selon ton design */
}

.count-box p {
  color: #000; /* texte descriptif en noir */
}
