/* ===================== Global ===================== */
body {
  background-color: #1a1a1a !important;
  color: #f5f5f5 !important;
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ===================== Bannière ===================== */
.banner {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%) !important;
  color: #0d6efd !important;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.banner .container {
  max-width: 1000px !important;
  margin: 0 auto !important;
}

/* ===================== Navbar ===================== */
.navbar {
  background: linear-gradient(
    90deg,
    #000000 0%,
    #000000 35%,
    #0066cc 55%,
    #5a1fbf 78%,
    #d61a78 100%
  ) !important;
  border-radius: 0.5rem;
  padding: 0.3rem 0.8rem;
}

/* Taille uniforme pour TOUS les liens */
.navbar-nav .nav-link,
.navbar-brand-fix {
  font-size: 1rem !important;
  font-weight: 500 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  padding: 0.35rem 0.7rem;
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* Icônes */
.navbar-nav .nav-link i,
.navbar-brand-fix i {
  font-size: 1.15rem;
}

/* Hover */
.navbar-nav .nav-link:hover,
.navbar-brand-fix:hover {
  opacity: 0.85;
  color: #ffffff !important;
}

/* Effet néon */
.neon-icon i,
.navbar-brand-fix i {
  color: #ffffff;
  text-shadow:
    0 0 6px #5a1fbf,
    0 0 12px #5a1fbf,
    0 0 18px #d61a78,
    0 0 24px #d61a78;
  transition: 0.25s ease;
}

.neon-icon:hover i,
.navbar-brand-fix:hover i {
  text-shadow:
    0 0 8px #0066cc,
    0 0 16px #0066cc,
    0 0 24px #5a1fbf,
    0 0 32px #d61a78,
    0 0 48px #d61a78;
  transform: scale(1.08);
}

/* Dropdown */
.dropdown-menu {
  background: linear-gradient(
    90deg,
    #000000 0%,
    #000000 35%,
    #0066cc 55%,
    #5a1fbf 78%,
    #d61a78 100%
  ) !important;
  border-radius: 0.5rem;
  border: none;
}

.dropdown-item {
  color: #fff !important;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.dropdown-item:hover {
  background-color: rgba(255,255,255,0.12) !important;
  opacity: 0.9;
}

/* Hamburger */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}


/* ===================== Couleur principale (header de card, etc.) ===================== */
.main-color-bg {
  background: linear-gradient(
    135deg,
    #0d6efd 0%,
    #5a1fbf 50%,
    #d61a78 100%
  ) !important;

  color: #ffffff !important;
  padding: 0.35rem 0.7rem !important;
  border-radius: 6px 6px 0 0;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  text-transform: uppercase;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Hover cohérent */
.main-color-bg:hover {
  background: linear-gradient(
    135deg,
    #0b5ed7 0%,
    #4a1aa3 50%,
    #b81765 100%
  ) !important;

  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* Icône animée */
.animated-icon {
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); color: #fff; }
  50%  { transform: scale(1.1); color: #f0f0f0; }
  100% { transform: scale(1); color: #fff; }
}


/* ===================== Cards ===================== */
.color-card {
  background-color: #1e1e1e !important;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.6) !important;
  animation: fadeInUp 0.6s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f5f5f5 !important;
}

.color-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.75) !important;
}

/* En-tête des cards */
.card-header {
  height: 50px;
  background: linear-gradient(
    135deg,
    #0d6efd 0%,
    #5a1fbf 50%,
    #d61a78 100%
  ) !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* ===================== Champs de formulaire ===================== */
.form-login .form-control,
.form-login .form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #5a1fbf;
  background: #0f0f0f;
  color: #e6e6e6;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* Hover */
.form-login .form-control:hover,
.form-login .form-select:hover {
  border-color: #0d6efd;
  background: #141414;
}

/* Focus */
.form-login .form-control:focus,
.form-login .form-select:focus {
  border-color: #d61a78;
  background: #181818;
  color: #fff;
  box-shadow: 0 0 10px rgba(214,26,120,0.45);
}

/* ===================== Input group ===================== */
.form-login .input-group-text {
  background: #0f0f0f;
  border: 1px solid #5a1fbf;
  color: #e6e6e6;
  border-radius: 12px 0 0 12px;
  transition: all 0.3s ease;
}

.form-login .input-group .form-control {
  border-radius: 0 12px 12px 0;
}

/* ===================== Placeholder ===================== */
.form-login .form-control::placeholder {
  color: #bfbfbf;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  opacity: 0.75;
  transition: color 0.25s ease;
}

/* ===================== Checkbox moderne ===================== */
.form-login .form-check {
  display: flex;
  align-items: center;
  gap: 10px;

  padding-left: 0 !important;
  margin-left: 0 !important;

  margin-top: 4px;
}

.form-login .form-check-input {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background-color: #0f0f0f;
  border: 2px solid #5a1fbf;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  position: relative;

  margin: 0 !important;
}

/* Hover */
.form-login .form-check-input:hover {
  border-color: #0d6efd;
  box-shadow: 0 0 6px rgba(13,110,253,0.4);
}

/* Focus */
.form-login .form-check-input:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(90,31,191,0.5);
}

/* Case cochée */
.form-login .form-check-input:checked {
  background: linear-gradient(135deg, #0d6efd, #5a1fbf, #d61a78);
  border-color: #d61a78;
  box-shadow: 0 0 10px rgba(214,26,120,0.5);
}

/* Coche blanche moderne */
.form-login .form-check-input:checked::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Label */
.form-login .form-check-label {
  margin-top: 1px;
  font-size: 0.95rem;
  color: #e6e6e6;
}

/* ===================== Liens (sauf btn-ghost) ===================== */
.form-login a:not(.btn-ghost) {
  color: #66b2ff !important;
  text-decoration: none !important;
  position: relative;
  padding: 0 6px;
  transition: color 0.3s ease;
}

/* Barre animée */
.form-login a:not(.btn-ghost)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0d6efd, #5a1fbf, #d61a78);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  transition: width 0.3s ease;
}

/* Hover */
.form-login a:not(.btn-ghost):hover {
  color: #d61a78 !important;
}

.form-login a:not(.btn-ghost):hover::after {
  width: 100%;
}

/* ===================== Bouton Ghost ===================== */
.btn-ghost {
  width: auto;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;

  background: transparent;
  color: #d61a78;
  border: 2px solid #d61a78;

  transition: all 0.25s ease;
  white-space: nowrap;
}

/* Correction spéciale pour les <a> */
a.btn-ghost {
  color: #d61a78 !important;
  text-decoration: none !important;
}

/* Hover ghost */
.btn-ghost:hover {
  background: rgba(214, 26, 120, 0.15);
  color: #fff !important;
  border-color: #d61a78;
  box-shadow: 0 4px 12px rgba(214,26,120,0.45);
  transform: translateY(-1px);
}

/* Effet clic */
.btn-ghost:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(214,26,120,0.3);
}


/* ===================== Boutons ===================== */
.btn-site {
  display: inline-block;        /* permet d'utiliser <a> proprement */
  width: auto;                  /* bouton compact */
  padding: 8px 14px;            /* taille réduite */
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, #0d6efd, #5a1fbf, #d61a78);
  color: #fff;
  text-decoration: none !important; /* enlève le soulignement sur <a> */

  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
  white-space: nowrap;          /* évite les retours à la ligne */
}

/* Hover moderne */
.btn-site:hover {
  background: linear-gradient(135deg, #0b5ed7, #4a1aa3, #b81765);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(214,26,120,0.45);
  text-decoration: none;        /* évite tout soulignement */
}

/* Effet clic */
.btn-site:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 480px) {
  .d-flex.gap-2 {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===================== Bouton Outline Style TikTokPartners ===================== */
.btn-outline {
  display: inline-block;
  width: auto;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;

  background: transparent;
  color: #ff2ea6; /* rose néon comme ton exemple */
  text-decoration: none !important;

  border: 2px solid #ff2ea6; /* contour rose */
  transition: all 0.25s ease;
}

/* Hover néon */
.btn-outline:hover {
  background: rgba(255, 46, 166, 0.15); /* léger rose transparent */
  color: #fff;
  border-color: #ff2ea6;
  box-shadow: 0 0 12px rgba(255, 46, 166, 0.6);
  transform: translateY(-1px);
}

/* Effet clic */
.btn-outline:active {
  transform: scale(0.97);
  box-shadow: 0 0 6px rgba(255, 46, 166, 0.4);
}


/* ===================== Bouton Ghost ===================== */
.btn-ghost {
  width: auto;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;

  background: transparent;
  color: #d61a78; /* rose néon */
  border: 2px solid #d61a78;

  transition: all 0.25s ease;
  white-space: nowrap;
}

/* Hover ghost */
.btn-ghost:hover {
  background: rgba(214, 26, 120, 0.15); /* léger voile rose */
  color: #fff;
  border-color: #d61a78;
  box-shadow: 0 4px 12px rgba(214,26,120,0.45);
  transform: translateY(-1px);
}

/* Effet clic */
.btn-ghost:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(214,26,120,0.3);
}

/* ===================== Footer NEON ===================== */
.footer-neon {
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  color: #e6e6e6;
  border-radius: 14px;
  padding: 25px;
  border: 1px solid rgba(0, 150, 255, 0.25);
  box-shadow:
    inset 0 0 18px rgba(102,178,255,0.12),
    0 0 25px rgba(0,150,255,0.18),
    0 0 45px rgba(178,102,255,0.12);
  text-shadow: 0 0 6px rgba(0, 150, 255, 0.35);
  animation: neonPulse 6s infinite ease-in-out;

  /* Taille identique à la navbar */
  font-size: 1rem !important;
  font-weight: 500 !important;
}

.footer-neon p {
  font-size: 1rem !important;
  font-weight: 500 !important;
}

/* Liens */
.footer-links-neon a {
  color: #66b2ff;
  text-decoration: none;
  font-weight: 500 !important;
  font-size: 1rem !important;
  position: relative;
  padding: 0 6px;
  transition: 0.3s ease;
}

/* Effet néon sous les liens */
.footer-links-neon a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #66b2ff, #b266ff);
  box-shadow: 0 0 8px #66b2ff, 0 0 12px #b266ff;
  transition: width 0.3s ease;
}

/* Hover */
.footer-links-neon a:hover {
  color: #b266ff;
  text-shadow: 0 0 10px #b266ff;
}

.footer-links-neon a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-neon {
    font-size: 0.9rem !important;
    padding: 20px;
  }
  .footer-links-neon a {
    display: inline-block;
    margin: 4px 0;
  }
}

/* Animation pulsée */
@keyframes neonPulse {
  0%, 100% {
    box-shadow:
      inset 0 0 18px rgba(102,178,255,0.12),
      0 0 25px rgba(0,150,255,0.18),
      0 0 45px rgba(178,102,255,0.12);
  }
  50% {
    box-shadow:
      inset 0 0 22px rgba(178,102,255,0.18),
      0 0 35px rgba(102,178,255,0.25),
      0 0 55px rgba(178,102,255,0.18);
  }
}

/* Bloc statistique compact */
.stat-box {
  background: #0f0f0f;
  border: 2px solid #ff2ea6;
  border-radius: 10px;
  padding: 10px 12px;

  color: #fff;
  font-size: 14px;
  font-weight: 600;

  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: 0 0 8px rgba(255, 46, 166, 0.3);
}

/* Badge rond */
.stat-box span {
  background: #ff2ea6;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(255, 46, 166, 0.5);
}

/* Taille des images */
.service-img {
  width: 100%;
  height: 180px !important;
  object-fit: cover;
  border-radius: 10px;
}










