/* Défilement fluide lors du clic */
html {
  scroll-behavior: smooth;
}

/* La boîte conteneur */
.box-scroll-up {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: #111827;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

/* Effet au survol de la boîte */
.box-scroll-up:hover {
  background-color: #2563eb;
  transform: translateY(-5px);
}

/* La tige verticale de la flèche */
.arrow-up {
  position: relative;
  width: 3px;
  height: 18px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* La pointe de la flèche (chevron) */
.arrow-up::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: translateX(-50%) rotate(45deg);
}
