/* ===========================
   STYLE GLOBAL - SGTIC
   =========================== */

/* --- NAVIGATION --- */
.nav-link {
  position: relative;
  color: #0B1E8A;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: #2563EB;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.7);
  transform: scale(1.08);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #0B1E8A, #60A5FA);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* --- CTA HEADER --- */
.btn-cta {
  background: linear-gradient(90deg, #0B1E8A, #2563EB);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(96,165,250,0.6);
}

/* --- CTA PRINCIPAL --- */
.btn-primary {
  background: #ffffff;
  color: #0B1E8A;
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(11, 30, 138, 0.15);
  transition: all 0.4s ease;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(96,165,250,0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-primary:hover::after {
  opacity: 1;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11,30,138,0.25), 0 0 30px rgba(96,165,250,0.5);
  background: #f9fafb;
}

/* --- CTA SECOND --- */
.btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 15px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.btn-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(96,165,250,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-outline:hover::after {
  opacity: 1;
}
.btn-outline:hover {
  background: #ffffff;
  color: #0B1E8A;
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(96,165,250,0.5);
}

/* --- SECTIONS --- */
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
}
.section-subtitle {
  font-size: 1rem;
  margin-top: 10px;
  color: #6b7280;
}

/* --- SERVICES --- */
.service-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  padding: 32px;
  border-radius: 18px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: #60A5FA;
  box-shadow: 0 10px 35px rgba(37,99,235,0.25), 0 0 25px rgba(96,165,250,0.35);
}
.service-card h3 {
  color: #0B1E8A;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  color: #4B5563;
  font-size: 0.95rem;
}

/* --- TRUST LOGOS --- */
.trust-logo {
  opacity: 0.8;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  border-radius: 8px;
  background: white;
  padding: 12px 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(11, 30, 138, 0.15);
}

/* --- ANIMATION FADE-UP --- */
[data-animate] {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* === HERO DIAPORAMA === */
.hero-slideshow {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11,30,138,0.3);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* === CARTOUCHE “+120 PROJETS RÉALISÉS” === */
.hero-slideshow + .absolute {
  z-index: 30;
}
.hero-count,
.hero-slideshow + .absolute {
  background: #ffffff;
  color: #0B1E8A;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(11,30,138,0.15);
  transition: all 0.3s ease;
}
.hero-slideshow + .absolute:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(11,30,138,0.25);
}

/* === FOOTER DYNAMIQUE === */
.footer-section {
  position: relative;
  background: linear-gradient(180deg, #0A1445 0%, #0B1E8A 100%);
  color: #fff;
  animation: fadeInFooter 1s ease forwards;
}
.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid rgba(96,165,250,0.4);
  display: inline-block;
  padding-bottom: 5px;
}
.footer-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}
.footer-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #60A5FA;
  transition: width 0.3s ease;
}
.footer-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}
.footer-link:hover::after {
  width: 100%;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.4s ease;
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}
.social-icon:hover {
  background: linear-gradient(90deg, #2563EB, #60A5FA);
  color: #fff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 20px rgba(96,165,250,0.6);
}

/* --- Animations --- */
@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}


.social-icon i {
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icon:hover i {
  transform: scale(1.2);
  color: #60A5FA;
}



/* === Bouton WhatsApp Flottant === */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
  background-color: #1ebe5d;
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}


.social-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.3);
      background: rgba(255,255,255,0.05);
      color: #ffffff;
      transition: all 0.4s ease;
    }
    .social-icon:hover {
      background: linear-gradient(90deg, #2563EB, #60A5FA);
      color: #fff;
      transform: translateY(-5px) scale(1.1);
      box-shadow: 0 0 15px rgba(96,165,250,0.6);
    }