/* Utilitaires complémentaires à Tailwind (léger sur-mesure) */



/* Texture légère pour le header */
/* Correction globale du layout mobile */
* {
    box-sizing: border-box;
}

 :root{
      --brand:#36007A; /* couleur principale */
      --brand-700:#2B0061;
      --brand-600:#30006E;
      --brand-500:#36007A;
      --brand-400:#5A21A9;
      --brand-300:#7A3ED1;
      --neon:#38f56f; /* couleur accent 1 */
      --cyan:#00E5FF; /* nouvelle couleur vive 1 */
      --magenta:#FF00E5; /* nouvelle couleur vive 2 */
    }

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Correction du container principal */
/* .container {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
} */

/* Correction de la navbar mobile */
nav {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
}

/* nav .container {
    width: 100% !important;
    max-width: none !important;
} */

/* Bouton menu mobile - correction */
#mobile-menu-button {
    position: relative !important;
    right: 0 !important;
    z-index: 10 !important;
}




.bg-texture {
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  background-repeat: repeat;
  background-size: auto;
}

.nav-link {
  color: #334155; /* text-slate-700 */
  transition: color 0.2s;
}
.section-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: #0f172a; /* text-slate-900 */
.card {
  padding: 1.5rem; /* p-6 */
  background-color: #fff; /* bg-white */
  border-radius: 1rem; /* rounded-2xl */
  border: 1px solid #e2e8f0; /* border-slate-200 */
.service-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(2,6,23,.08); transition: .25s; }
.icon-wrap {
  width: 2.5rem; /* w-10 */
.footer-title {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600; /* font-semibold */
  color: #e2e8f0; /* text-slate-200 */
}
.stat-card {
  background-color: rgba(255,255,255,0.1); /* bg-white/10 */
  backdrop-filter: blur(4px); /* backdrop-blur */
  border-radius: 0.75rem; /* rounded-xl */
  padding: 1rem; /* p-4 */
  border: 1px solid rgba(255,255,255,0.2); /* border-white/20 */
}
.stat-number {
.slider-btn {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  border-radius: 9999px; /* rounded-full */
  border: 1px solid #cbd5e1; /* border-slate-300 */
  background-color: #fff; /* bg-white */
  display: flex;
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  border-radius: 9999px; /* rounded-full */
  background-color: #d1fae5; /* bg-green-100 */
  color: #047857; /* text-green-700 */
}
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: background-color 0.2s;
}
.slider-btn:hover {
  background-color: #f8fafc; /* bg-slate-50 */
}
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
}
@media (min-width: 768px) {
  .stat-number {
	font-size: 2.25rem; /* md:text-4xl */
  }
}
.stat-label {
  font-size: 0.75rem; /* text-xs */
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wide */
  color: #e2e8f0; /* text-slate-200 */
}
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem; /* mb-4 */
}
.card-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: #0f172a; /* text-slate-900
}
.card-text {
  color: #475569; /* text-slate-600 */
  margin-top: 0.5rem; /* mt-2 */
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem; /* gap-1 */
  color: #2563eb; /* text-blue-700 */
  font-weight: 500; /* font-medium */
  margin-top: 0.75rem; /* mt-3 */
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.card-link:hover {
  text-decoration: underline;
}
  }
}
.label {
  display: block;
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: #334155; /* text-slate-700 */
  margin-bottom: 0.25rem; /* mb-1 */
}
.input {
  width: 100%;
  padding-left: 0.75rem; /* px-3 */
  padding-right: 0.75rem;
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem;
  border-radius: 0.75rem; /* rounded-xl */
  border: 1px solid #cbd5e1; /* border-slate-300 */
  background-color: #fff; /* bg-white */
  outline: none;
}
.input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2563eb; /* focus:ring-2 focus:ring-blue-500 */
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.25rem; /* px-5 */
  padding-right: 1.25rem;
  padding-top: 0.75rem; /* py-3 */
  padding-bottom: 0.75rem;
  border-radius: 0.75rem; /* rounded-xl */
  background: linear-gradient(90deg, var(--neon), var(--cyan)); 
  color:#0b0b12;
  box-shadow: 0 5px 15px rgba(56, 245, 111, 0.3);
  font-weight: 600; /* font-semibold */
  transition: background-color 0.2s;
}
.btn-primary:hover {
  background-color: #1d4ed8; /* bg-blue-700 */
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1; /* border-slate-300 */
  color: #334155; /* text-slate-700 */
  background-color: #fff; /* bg-white */
  transition: background-color 0.2s;
}
.btn-secondary:hover {
  background-color: #f8fafc; /* bg-slate-50 */
}

.section-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: #0f172a; /* text-slate-900 */
}
@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem; /* md:text-3xl */
  }
}

.label {
  display: block;
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: #334155; /* text-slate-700 */
  margin-bottom: 0.25rem; /* mb-1 */
}

.input {
  width: 100%;
  padding-left: 0.75rem; /* px-3 */
  padding-right: 0.75rem;
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem;
  border-radius: 0.75rem; /* rounded-xl */
  border: 1px solid #cbd5e1; /* border-slate-300 */
  background-color: #fff; /* bg-white */
  outline: none;
}
.input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2563eb; /* focus:ring-2 focus:ring-blue-500 */
}

.card {
  padding: 1.5rem; /* p-6 */
  background-color: #fff; /* bg-white */
  border-radius: 1rem; /* rounded-2xl */
  border: 1px solid #e2e8f0; /* border-slate-200 */
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm */
}

.card-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: #0f172a; /* text-slate-900 */
}

.card-text {
  color: #475569; /* text-slate-600 */
  margin-top: 0.5rem; /* mt-2 */
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem; /* gap-1 */
  color: #2563eb; /* text-blue-700 */
  font-weight: 500; /* font-medium */
  margin-top: 0.75rem; /* mt-3 */
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.card-link:hover {
  text-decoration: underline;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
  transition: .25s;
}

.icon-wrap {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  border-radius: 0.75rem; /* rounded-xl */
  background-color: rgba(37,99,235,0.1); /* bg-blue-600/10 */
  color: #2563eb; /* text-blue-700 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem; /* mb-4 */
}

.footer-title {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600; /* font-semibold */
  color: #e2e8f0; /* text-slate-200 */
}

.hero-image { filter: saturate(1.05) contrast(1.05); }

/* Statistiques (hero) */
.stat-card {
  background-color: rgba(255,255,255,0.1); /* bg-white/10 */
  backdrop-filter: blur(4px); /* backdrop-blur */
  border-radius: 0.75rem; /* rounded-xl */
  padding: 1rem; /* p-4 */
  border: 1px solid rgba(255,255,255,0.2); /* border-white/20 */
}

.stat-number {
  display: block;
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
}
@media (min-width: 768px) {
  .stat-number {
    font-size: 2.25rem; /* md:text-4xl */
  }
}

.stat-label {
  font-size: 0.75rem; /* text-xs */
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wide */
  color: #e2e8f0; /* text-slate-200 */
}

/* Slider */
.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
}
@media (min-width: 768px) {
  .slider {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}
.slide { min-width: 0; }
.slider-btn {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  border-radius: 9999px; /* rounded-full */
  border: 1px solid #cbd5e1; /* border-slate-300 */
  background-color: #fff; /* bg-white */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: background-color 0.2s;
}
.slider-btn:hover {
  background-color: #f8fafc; /* bg-slate-50 */
}

/* Animations d’apparition */
.animate-in { opacity: 0; transform: translateY(8px); animation: fadeUp .7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Check bullet */
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  border-radius: 9999px; /* rounded-full */
  background-color: #d1fae5; /* bg-green-100 */
  color: #047857; /* text-green-700 */
}


/* Modal - Version propre */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
}

.modal-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #0f172a;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    color: white;
}

/* Affichage du modal */
.modal-overlay.show {
    display: block;
}

/* Scrollbar (optionnel) */
::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; }



