html {
  scroll-behavior: smooth;
}

.electric-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #252f52 0%, #3a4a7c 50%, #252f52 100%);
  background-size: 200% 200%;
  border: none;
  box-shadow:
    0 0 20px rgba(37, 47, 82, 0.5),
    0 0 40px rgba(37, 47, 82, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.3);
  animation:
    electric-pulse 2s ease-in-out infinite,
    electric-gradient 3s ease infinite;
  transition: all 0.3s ease;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.electric-button:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow:
    0 0 30px rgba(37, 47, 82, 0.8),
    0 0 60px rgba(37, 47, 82, 0.5),
    0 8px 25px rgba(0, 0, 0, 0.4);
  animation:
    electric-pulse 1s ease-in-out infinite,
    electric-gradient 2s ease infinite;
}

.electric-button .electric-glow {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: electric-glow-rotate 4s linear infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.electric-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: electric-shine 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.electric-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(45deg, #4a9eff, #252f52, #4a9eff);
  background-size: 200% 200%;
  animation: electric-border 3s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  z-index: 0;
}

@keyframes electric-pulse {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(37, 47, 82, 0.5),
      0 0 40px rgba(37, 47, 82, 0.3),
      0 5px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow:
      0 0 30px rgba(74, 158, 255, 0.8),
      0 0 60px rgba(74, 158, 255, 0.5),
      0 8px 20px rgba(0, 0, 0, 0.4);
  }
}

@keyframes electric-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes electric-glow-rotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes electric-shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50%, 100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes electric-border {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.cta-button-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  background-size: 200% 200%;
  border: 2px solid #4a9eff;
  box-shadow:
    0 0 25px rgba(74, 158, 255, 0.4),
    0 0 50px rgba(74, 158, 255, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.15);
  animation:
    cta-pulse 2.5s ease-in-out infinite,
    cta-gradient 4s ease infinite;
  transition: all 0.3s ease;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.cta-button-glow:hover {
  transform: scale(1.1) translateY(-3px);
  border-color: #252f52;
  box-shadow:
    0 0 40px rgba(74, 158, 255, 0.6),
    0 0 80px rgba(74, 158, 255, 0.4),
    0 12px 30px rgba(0, 0, 0, 0.2);
  animation:
    cta-pulse 1.2s ease-in-out infinite,
    cta-gradient 2.5s ease infinite;
}

.cta-button-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(74, 158, 255, 0.4) 50%,
    transparent 70%
  );
  animation: cta-shine 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cta-button-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(45deg,
    #4a9eff 0%,
    #252f52 25%,
    #4a9eff 50%,
    #252f52 75%,
    #4a9eff 100%
  );
  background-size: 300% 300%;
  animation: cta-border-glow 4s linear infinite;
  z-index: -1;
  opacity: 0.7;
  filter: blur(8px);
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 0 25px rgba(74, 158, 255, 0.4),
      0 0 50px rgba(74, 158, 255, 0.2),
      0 8px 20px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow:
      0 0 40px rgba(74, 158, 255, 0.7),
      0 0 80px rgba(74, 158, 255, 0.4),
      0 12px 25px rgba(0, 0, 0, 0.2);
  }
}

@keyframes cta-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes cta-shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(60deg);
  }
  50%, 100% {
    transform: translateX(100%) translateY(100%) rotate(60deg);
  }
}

@keyframes cta-border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}



      .floating-image {
    animation: floatImage 5s infinite alternate;
  }

  @keyframes floatImage {
   0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}

@keyframes shake {
   0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-5px);
  }
  100% {
    transform: translatey(0px);
  }
}

.buttonshake {
  animation: shake 2s infinite;
}

.border-width-4 {
  border-width: 80px !important;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.h-100vh {
  height: 100vh;
}
.z-index-1 {
  z-index: 1;
}
.z-index-2 {
  z-index: 4;
}
.opacity-05 {
  opacity: 0.5;
}
.delay-01s {
  animation-delay: 0.2s;
}
.delay-02s {
  animation-delay: 0.4s;
}
.delay-03s {
  animation-delay: 0.6s;
}
.delay-04s {
  animation-delay: 0.8s;
}
.delay-05s {
  animation-delay: 1s;
}

.sky-alert {
  position: relative;
  background: #252f52;
  color: white;
  border: 1px solid #252f52;
  backdrop-filter: blur(8px);
  text-align: center;
  border-radius: 12px;
  padding: 18px 24px;
  width: 100%; /* Prendre toute la largeur de la page */
  margin: 20px 0; /* Enlever les marges latérales */
  font-size: 16px;
  line-height: 1.6;
  animation: fadeSlideIn 0.8s ease-out;
  box-shadow: 0 0 12px #252f52;
  z-index: 99;
  box-sizing: border-box; /* Assure que padding et border sont inclus dans la largeur totale */
}

.sky-alert a {
  font-weight: 600;
  text-decoration: underline;
  color: #252f52;
}

.sky-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #FFFFFF, #FFFFFF);
  animation: progressBar 12s linear forwards;
  border-radius: 0 0 12px 12px;
}

@keyframes progressBar {
  from { width: 100%; }
  to { width: 0%; }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   MODE SOMBRE
   =================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --border-color: #dee2e6;
  --card-bg: #ffffff;
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #1a1f36;
}

:root[data-theme="dark"],
html[data-theme="dark"] {
  --bg-primary: #0e1325;
  --bg-secondary: #1a1f36;
  --text-primary: #e9ecef;
  --text-secondary: #adb5bd;
  --border-color: #495057;
  --card-bg: #1a1f36;
  --navbar-bg: rgba(26, 31, 54, 0.95);
  --footer-bg: #0a0d1a;
}

/* Appliquer les couleurs */
[data-theme="dark"] body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="dark"] .navbar {
  background-color: var(--navbar-bg) !important;
}

[data-theme="dark"] .navbar-light .navbar-nav .nav-link {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .dropdown-menu {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-item {
  color: var(--text-primary);
}

[data-theme="dark"] .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .card,
[data-theme="dark"] .boutique-card {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .bg-100,
[data-theme="dark"] .accordion-body {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary);
}

[data-theme="dark"] .bg-1000 {
  background-color: var(--footer-bg) !important;
}

[data-theme="dark"] .text-1000 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .accordion-button {
  background-color: var(--card-bg);
  color: var(--text-primary);
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

[data-theme="dark"] .sky-alert {
  background: rgba(37, 47, 82, 0.9);
  border-color: #252f52;
}

/* ===================================
   BADGES LOGO (FRANCE & ÉCOLOGIE)
   =================================== */

/* Groupe logo + badges */
.navbar-brand-group {
  gap: 6px;
  align-items: center;
  margin-right: 20px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  margin-left: 8px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 28px;
  height: 28px;
}

/* Badge écologie - même style que France */
.navbar-brand-group a[href="ecologie"] .logo-badge {
  margin-left: 4px;
}

/* S'assurer que les badges sont bien alignés verticalement */
.navbar-brand-group a {
  display: flex;
  align-items: center;
}

.logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-badge:hover .badge-icon {
  transform: scale(1.15) rotate(10deg);
  animation: badge-bounce 0.6s ease;
}

@keyframes badge-bounce {
  0%, 100% {
    transform: scale(1.15) rotate(10deg);
  }
  50% {
    transform: scale(1.25) rotate(-5deg);
  }
}

.badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Badge France */
.france-badge {
  background: linear-gradient(135deg, #002395 0%, #ffffff 50%, #ED2939 100%);
}

.france-badge .badge-text {
  color: #1a1f36;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px 6px;
  border-radius: 8px;
}

.france-badge:hover {
  box-shadow: 0 3px 10px rgba(0, 35, 149, 0.25);
}

/* Badge Écologique */
.eco-badge {
  background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
}

.eco-badge:hover {
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.25);
}

/* Mode sombre */
[data-theme="dark"] .logo-badge {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .logo-badge:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .france-badge .badge-text {
  background: rgba(255, 255, 255, 1);
}

/* Responsive mobile */
@media (max-width: 768px) {
  .navbar-brand-group {
    gap: 4px;
    margin-right: 14px;
  }

  .logo-badge {
    padding: 4px 10px;
    margin-left: 6px;
    min-height: 26px;
    height: 26px;
  }

  .navbar-brand-group a[href="ecologie"] .logo-badge {
    margin-left: 3px;
  }

  .badge-icon {
    width: 16px;
    height: 16px;
  }

  .badge-text {
    font-size: 10px;
  }
}

/* Bouton toggle mode sombre */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #252F52;
  font-size: 18px;
  display: flex;
  align-items: center;
}

[data-theme="dark"] #theme-toggle {
  color: #ffc107;
}

#theme-toggle:hover {
  background-color: rgba(37, 47, 82, 0.08);
  transform: scale(1.05);
}

[data-theme="dark"] #theme-toggle:hover {
  background-color: rgba(255, 193, 7, 0.08);
}

/* Responsive mobile */
@media (max-width: 768px) {
  #theme-toggle {
    padding: 5px 8px;
    font-size: 16px;
  }
}

#theme-icon-sun {
  display: none;
}

#theme-icon-moon {
  display: inline-block;
}

/* ===================================
   CARTES DE FONCTIONNALITÉS
   =================================== */

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(37, 47, 82, 0.08);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #252F52, #3a4a7c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(37, 47, 82, 0.15);
  border-color: rgba(37, 47, 82, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  margin-bottom: 25px;
  display: inline-block;
  position: relative;
}

.feature-icon {
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #252F52;
  margin-bottom: 15px;
  line-height: 1.4;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 0;
}

/* Mode sombre */
[data-theme="dark"] .feature-card {
  background: #1a1f36;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .feature-title {
  color: #fff;
}

[data-theme="dark"] .feature-description {
  color: #adb5bd;
}

[data-theme="dark"] .feature-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Responsive */
@media (max-width: 768px) {
  .feature-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }
}

/* ===================================
   ANIMATIONS AU SCROLL
   =================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation slide from left */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-left.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animation slide from right */
.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animation scale up */
.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-scale.animate-visible {
  opacity: 1;
  transform: scale(1);
}

/* Délais pour les animations en cascade */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ===================================
   COMPTEURS ANIMÉS
   =================================== */

.stats-section {
  padding: 60px 0;
  margin: 50px 0;
}

[data-theme="dark"] .stats-section {
  /* Pas de fond spécifique en mode sombre */
}

.counter-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.counter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(74, 158, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.counter-box:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(74, 158, 255, 0.4);
  background: rgba(74, 158, 255, 0.15);
  transform: translateY(-5px);
}

.counter-box:hover::before {
  opacity: 1;
}

.counter-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #252F52;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
}

.counter-box:hover .counter-icon {
  transform: scale(1.3) rotate(360deg);
  color: #4a9eff;
  filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.6));
}

[data-theme="dark"] .counter-icon {
  color: white;
}

[data-theme="dark"] .counter-box:hover .counter-icon {
  color: #4a9eff;
}

.counter-number {
  font-size: 3rem;
  font-weight: 900;
  display: block;
  margin: 10px 0;
  color: #252F52;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.counter-box:hover .counter-number {
  animation: counter-pulse 0.6s ease-in-out;
  color: #4a9eff;
  text-shadow:
    0 0 20px rgba(74, 158, 255, 0.6),
    0 0 40px rgba(74, 158, 255, 0.3);
}

[data-theme="dark"] .counter-number {
  color: white;
}

[data-theme="dark"] .counter-box:hover .counter-number {
  color: #4a9eff;
}

.counter-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-top: 10px;
  color: #252F52;
  transition: all 0.3s ease;
}

.counter-box:hover .counter-label {
  transform: translateY(-3px);
  opacity: 1;
  color: #4a9eff;
  font-weight: 600;
  letter-spacing: 2px;
}

[data-theme="dark"] .counter-label {
  color: white;
}

[data-theme="dark"] .counter-box:hover .counter-label {
  color: #4a9eff;
}

@keyframes counter-pulse {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.15);
  }
  50% {
    transform: scale(0.95);
  }
  75% {
    transform: scale(1.08);
  }
}

/* Images arrondies en mode sombre */
[data-theme="dark"] img {
  border-radius: 15px;
}

/* Textes bleus en blanc en mode sombre */
[data-theme="dark"] .text-primary,
[data-theme="dark"] h5.text-primary,
[data-theme="dark"] .text-danger,
[data-theme="dark"] h5.text-danger,
[data-theme="dark"] .text-success,
[data-theme="dark"] h5.text-success {
  color: white !important;
}

/* ===================================
   SECTION CTA (Call to Action)
   =================================== */

.cta-box {
  background: linear-gradient(135deg, #252F52 0%, #3a4a7c 100%);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(37, 47, 82, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

[data-theme="dark"] .cta-box {
  background: linear-gradient(135deg, #1a1f36 0%, #252F52 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.cta-button {
  background: white !important;
  color: #252F52 !important;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: #f8f9fa !important;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 35px 25px;
  }

  .cta-title {
    font-size: 1.4rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }
}

/* ===================================
   CARROUSEL PARTENAIRES
   =================================== */

.partners-carousel-wrapper {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.partners-carousel {
  display: flex;
  gap: 60px;
  animation: scroll-partners 30s linear infinite;
  width: fit-content;
}

.partners-carousel:hover {
  animation-play-state: paused;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 20px;
  transition: transform 0.3s ease;
}

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

.partner-item img {
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.partner-item:hover img {
  transform: scale(1.1);
}

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

/* Responsive */
@media (max-width: 768px) {
  .partners-carousel {
    gap: 40px;
  }

  .partner-item {
    min-width: 150px;
    padding: 15px;
  }

  .partner-item img {
    height: 100px !important;
  }
}

/* ===================================
   BOUTON RETOUR EN HAUT
   =================================== */

#scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #252F52 0%, #3a4a7c 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

#scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

#scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #3a4a7c 0%, #252F52 100%);
}

#scroll-to-top:active {
  transform: translateY(-2px);
}

[data-theme="dark"] #scroll-to-top {
  background: linear-gradient(135deg, #3a4a7c 0%, #4a5a8c 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] #scroll-to-top:hover {
  background: linear-gradient(135deg, #4a5a8c 0%, #3a4a7c 100%);
}

/* ===================================
   WIDGET DISCORD
   =================================== */

.discord-widget-section {
  padding: 60px 0;
}

.discord-widget-container {
  background: linear-gradient(135deg, #252F52 0%, #3a4a7c 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

[data-theme="dark"] .discord-widget-container {
  background: linear-gradient(135deg, #1a1f36 0%, #252F52 100%);
}

.discord-widget-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.discord-widget-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.discord-widget-iframe {
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  display: block;
  max-width: 100%;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .discord-widget-iframe {
    width: 100%;
    max-width: 350px;
    height: 400px;
  }

  .stats-section .col-md-3 {
    margin-bottom: 20px;
  }
}

/* ===================================
   CAROUSEL TÉMOIGNAGES
   =================================== */

.testimonial-carousel {
  position: relative;
  min-height: 300px;
}

.testimonial {
  padding: 30px;
  text-align: center;
  background: #252F52;
  border-radius: 15px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .testimonial {
  background: #1a1f36;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.testimonial-info {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.testimonial-info small {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 10px;
  opacity: 0.8;
  color: #adb5bd;
}

.testimonial .description {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  opacity: 0.9;
  color: #e9ecef;
}

[data-theme="dark"] .testimonial .description {
  color: #adb5bd;
}

/* Dots du carousel */
.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  list-style: none;
  padding: 0;
}

.slick-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #252F52;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  font-size: 0;
}

[data-theme="dark"] .slick-dots button {
  border-color: #fff;
}

.slick-dots button.active {
  background: #252F52;
}

[data-theme="dark"] .slick-dots button.active {
  background: #fff;
}

.slick-dots button:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonial {
    padding: 20px;
    margin: 15px auto;
  }

  .testimonial-info {
    font-size: 1.2rem;
  }

  .testimonial .description {
    font-size: 1rem;
  }
}

/* ===================================
   NAVBAR LIENS AMÉLIORÉS
   =================================== */

/* Espacement général de la navbar */
.navbar-nav {
  gap: 8px;
  align-items: center;
}

.navbar-nav .nav-item {
  margin: 0 2px;
}

.navbar-nav .nav-link {
  padding: 8px 14px !important;
  display: inline-flex;
  align-items: center;
}

/* Bouton CTA "Ajouter Sky" */
.nav-link-cta {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px !important;
  background: linear-gradient(135deg, #252F52 0%, #3a4a7c 100%);
  color: white !important;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(37, 47, 82, 0.2);
  white-space: nowrap;
  margin-left: 12px !important;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 47, 82, 0.3);
  background: linear-gradient(135deg, #3a4a7c 0%, #252F52 100%);
}

.nav-link-cta i {
  font-size: 14px;
}

[data-theme="dark"] .nav-link-cta {
  background: linear-gradient(135deg, #3a4a7c 0%, #4a5a8c 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-link-cta:hover {
  background: linear-gradient(135deg, #4a5a8c 0%, #3a4a7c 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Menu dropdown moderne */
.dropdown-menu-modern {
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 280px;
}

[data-theme="dark"] .dropdown-menu-modern {
  background-color: #1a1f36;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dropdown-item-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #1a1f36;
}

[data-theme="dark"] .dropdown-item-modern {
  color: #e9ecef;
}

.dropdown-item-modern:hover {
  background-color: rgba(37, 47, 82, 0.08);
  transform: translateX(4px);
}

[data-theme="dark"] .dropdown-item-modern:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
}

.dropdown-icon {
  font-size: 18px;
  color: #252F52;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

[data-theme="dark"] .dropdown-icon {
  color: #4a9eff;
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.dropdown-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1f36;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .dropdown-item-title {
  color: #e9ecef;
}

.dropdown-item-desc {
  font-size: 11px;
  color: #6c757d;
  font-weight: 400;
}

[data-theme="dark"] .dropdown-item-desc {
  color: #adb5bd;
}

.dropdown-divider {
  margin: 8px 0;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .navbar-nav {
    gap: 6px;
  }

  .navbar-nav .nav-item {
    margin: 4px 0;
  }

  .navbar-nav .nav-link {
    padding: 10px 14px !important;
  }

  .nav-link-cta {
    margin: 16px 0 12px 0;
    display: block;
    text-align: center;
  }

  .dropdown-menu-modern {
    min-width: 100%;
    max-height: 60vh;
    overflow-y: auto;
  }

  /* Style de la scrollbar pour le dropdown en mobile */
  .dropdown-menu-modern::-webkit-scrollbar {
    width: 6px;
  }

  .dropdown-menu-modern::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }

  .dropdown-menu-modern::-webkit-scrollbar-thumb {
    background: rgba(37, 47, 82, 0.3);
    border-radius: 10px;
  }

  .dropdown-menu-modern::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 47, 82, 0.5);
  }

  [data-theme="dark"] .dropdown-menu-modern::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
  }

  [data-theme="dark"] .dropdown-menu-modern::-webkit-scrollbar-thumb {
    background: rgba(74, 158, 255, 0.3);
  }

  [data-theme="dark"] .dropdown-menu-modern::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 158, 255, 0.5);
  }
}

/* ===================================
   CLOCHE DE NOTIFICATION NAVBAR
   =================================== */

/* Container de la cloche */
.notification-dropdown {
  display: flex;
  align-items: center;
}

.notification-dropdown .nav-link {
  position: relative;
  padding: 6px 10px !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.notification-dropdown .nav-link:hover {
  background-color: rgba(37, 47, 82, 0.08);
  border-radius: 8px;
}

[data-theme="dark"] .notification-dropdown .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.notification-dropdown .fa-bell {
  color: #252F52;
  transition: all 0.3s ease;
  font-size: 20px;
}

[data-theme="dark"] .notification-dropdown .fa-bell {
  color: #fff;
}

.notification-dropdown .nav-link:hover .fa-bell {
  transform: rotate(15deg) scale(1.05);
}

/* Badge de notification */
.notification-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.6);
  }
}

/* Menu dropdown de notification */
.notification-menu {
  width: 350px;
  max-width: 90vw;
  padding: 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-top: 8px;
}

[data-theme="dark"] .notification-menu {
  background-color: #1a1f36;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.notification-header {
  background: linear-gradient(135deg, #252F52 0%, #3a4a7c 100%);
  color: white;
  padding: 15px 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.notification-header h6 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: white;
}

.notification-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

[data-theme="dark"] .notification-item {
  background: #1a1f36;
}

.notification-item:hover {
  background: #f8f9fa;
}

[data-theme="dark"] .notification-item:hover {
  background: #252F52;
}

.notification-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #252F52 0%, #3a4a7c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 14px;
  font-weight: 700;
  color: #252F52;
  margin-bottom: 6px;
}

[data-theme="dark"] .notification-title {
  color: #fff;
}

.notification-text {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 10px;
  line-height: 1.5;
}

[data-theme="dark"] .notification-text {
  color: #adb5bd;
}

.notification-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #252F52;
  text-decoration: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .notification-link {
  color: #4a9eff;
}

.notification-link:hover {
  color: #3a4a7c;
  gap: 10px;
}

[data-theme="dark"] .notification-link:hover {
  color: #6bb3ff;
}

.notification-link i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.notification-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .notification-menu {
    width: 320px;
  }

  .notification-item {
    padding: 15px;
  }

  .notification-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .notification-dropdown .nav-link {
    padding: 5px 8px !important;
  }

  .notification-dropdown .fa-bell {
    font-size: 18px;
  }

  .notification-badge {
    top: -1px;
    right: -1px;
    font-size: 8px;
    min-width: 14px;
    height: 14px;
  }

  /* Espacement des boutons hero en mobile */
  .electric-button,
  .electric-button + a {
    display: inline-flex !important;
    width: auto !important;
    margin: 10px auto !important;
    text-align: center;
  }

  .electric-button {
    margin-bottom: 15px !important;
  }
}

/* ===================================
   FOOTER MODERNE
   =================================== */

.footer-column {
  padding: 0 15px;
}

.footer-title {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #4a9eff;
  transform: translateX(5px);
}

[data-theme="dark"] .footer-links a {
  color: #adb5bd;
}

[data-theme="dark"] .footer-links a:hover {
  color: #6bb3ff;
}

.footer-links a i {
  font-size: 12px;
  opacity: 0.7;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(74, 158, 255, 0.2);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

[data-theme="dark"] .footer-badge {
  background: rgba(74, 158, 255, 0.25);
  color: #6bb3ff;
}

.footer-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(37, 47, 82, 0.08);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: #252F52;
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 47, 82, 0.3);
}

[data-theme="dark"] .footer-social-link {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-social-link:hover {
  background: #4a9eff;
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.footer-social-link img {
  object-fit: contain;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
}

.footer-social-link:hover img {
  filter: brightness(1);
}

.footer-divider {
  border-color: rgba(125, 121, 135, 0.2);
  opacity: 1;
}

[data-theme="dark"] .footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding: 10px 0;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-column {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .footer-social {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-badges {
    justify-content: center;
  }
}

/* ===================================
   EFFET RIPPLE (MATERIAL DESIGN)
   =================================== */

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* S'assurer que les boutons peuvent contenir le ripple */
.btn, .nav-link-cta, button {
  position: relative;
  overflow: hidden;
}

/* ===================================
   BREADCRUMB (FIL D'ARIANE)
   =================================== */

.breadcrumb-nav {
  background: linear-gradient(135deg, rgba(37, 47, 82, 0.03) 0%, rgba(37, 47, 82, 0.08) 100%);
  padding: 15px 0;
  margin-top: 80px; /* Espace pour la navbar fixe */
  border-bottom: 1px solid rgba(37, 47, 82, 0.1);
}

[data-theme="dark"] .breadcrumb-nav {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.05) 0%, rgba(74, 158, 255, 0.1) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-item {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 10px;
  color: var(--text-secondary);
  opacity: 0.5;
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
}

.breadcrumb-item a:hover {
  color: #252F52;
  background: rgba(37, 47, 82, 0.08);
  transform: translateX(2px);
}

[data-theme="dark"] .breadcrumb-item a:hover {
  color: #4a9eff;
  background: rgba(74, 158, 255, 0.15);
}

.breadcrumb-item.active {
  color: #252F52;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(37, 47, 82, 0.1);
  border-radius: 8px;
}

[data-theme="dark"] .breadcrumb-item.active {
  color: #4a9eff;
  background: rgba(74, 158, 255, 0.2);
}

.breadcrumb-item i {
  font-size: 12px;
}

.breadcrumb-item.active i {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: 12px 0;
  }

  .breadcrumb-item {
    font-size: 13px;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 6px;
  }

  .breadcrumb-item a,
  .breadcrumb-item.active {
    padding: 4px 8px;
  }
}