
  /* 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%;
    }
  }


  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;
}




 .article-box {
    border: 2px solid #fcb900;
    border-radius: 20px;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: box-shadow 0.5s ease;
  }

  .article-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .article-box h2,
  .article-box h4 {
    font-weight: 700;
  }

  .article-box p,
  .article-box li {
    font-size: 1rem;
    line-height: 1.7;
  }

  .animated-box {
    animation: fadeInUp 1.2s ease forwards;
  }

  .animated-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
  }

  .animated-text:nth-of-type(2) { animation-delay: 0.5s; }
  .animated-text:nth-of-type(3) { animation-delay: 0.7s; }
  .animated-text:nth-of-type(4) { animation-delay: 0.9s; }
  .animated-text:nth-of-type(5) { animation-delay: 1.1s; }
  .animated-text:nth-of-type(6) { animation-delay: 1.3s; }

  .animated-btn {
    animation: zoomIn 1s ease 1.8s forwards, pulse 1.6s ease-in-out 3s infinite;
    opacity: 0;
    display: inline-block;
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }

  @keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.04); }
    100% { transform: scale(1); }
  }

.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); }
}
