/* =========================================
   HERO — STYLE CFO PREMIUM
========================================= */

/* =========================================
   SECTION ACTUALITÉS
========================================= */

.news-list {
  padding: 100px 0 120px;
  background: #f5f7fb;
}

.news-list h2 {
  text-align: center;
  color: #021B38;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 3rem;
}


/* =========================================
   NEWS GRID + CARDS (STYLE CFO)
========================================= */

.news-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2.8em;
}

.news-card {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  padding: 0;
  box-shadow:
    0 13px 35px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.04);
  transition: 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.10),
    0 6px 14px rgba(0, 0, 0, 0.06);
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #021B38;
  padding: 20px 25px 0;
}

.news-card small {
  display: block;
  padding: 0 25px;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #7e8ba0;
}

.news-card p {
  padding: 10px 25px 0;
  color: #4b5a6d;
  line-height: 1.6;
}

.news-card .btn {
  display: inline-block;
  margin: 22px 25px 28px;
  padding: 10px 24px;
  background: #0B5E92;
  color: #fff !important;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.25s ease;
}

.news-card .btn:hover {
  background: #053459;
}

.news-card h3:hover {
  color: #0B5E92;
  transition: .25s;
}




/* =========================================
   RESPONSIVE
========================================= */






/* -------------------------------------------------
   FADE-IN ANIMATION
-------------------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.9s ease-out forwards;
}


.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}