
  /* Sur petits écrans, on force flex-direction en colonne et on gère les lignes */
  @media (max-width: 991.98px) { /* moins que lg */
    .topbar-row {
      flex-direction: column !important;
      align-items: center !important;
    }
    .topbar-left {
      display: flex !important;
      justify-content: center !important;
      gap: 1.5rem;
      width: 100%;
      margin-bottom: 0.5rem;
    }
    .topbar-right {
      display: flex !important;
      justify-content: center !important;
      width: 100%;
    }
  }



  .card-img-top {
    object-fit: cover;
    height: 250px;
}
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}



.card-img-top {
    object-fit: cover;
    height: 250px;
}


body {
  background-color: white;
  background-image:
    linear-gradient(90deg, #f0f0f0	 1px, transparent 1px),
    linear-gradient(180deg, #f0f0f0 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
  margin: 0; /* Évite marge blanche sur body */
  padding: 0;
}

.back-to-top i {
  display: inline-block;
  animation: wa-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
}

.back-to-top:hover i {
  animation-duration: 0.9s;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top i {
    animation: none;
  }
}

@keyframes wa-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
