/* ============================
   HOME – Section Impact 20xx
   ============================ */
.fff-impact-2024 {
  background:#f4f7fc;
  padding:3rem 0 3.5rem;
}

/* CARTE – module Number Counter */
.fff-impact-2024 .et_pb_number_counter.fff-stat-card{
  background:#ffffff;
  border-radius:4px;
  padding:2.2rem 1.8rem 2.1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  border:1px solid #e5e7eb;
  text-align:center;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
  
  /* même hauteur pour toutes les cartes */
  min-height: 210px;                /* ajuste si besoin */
  display:flex;
  flex-direction:column;
  justify-content:center;           /* centre chiffre + texte */
}

/* Nombre */
.fff-impact-2024 .fff-stat-card .percent{
  font-size:3rem;
  line-height:1.1;
  font-weight:700;
  color:#4267b2;
  margin-bottom:0.55rem;
}

/* Label */
.fff-impact-2024 .fff-stat-card h3{
  font-size:0.9rem;
  text-transform:none;
  letter-spacing:0.02em;
  font-weight:600;
  color:#111827;
  margin:0;
}

/* HOVER – lift + couleur du nombre */
.fff-impact-2024 .fff-stat-card:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 8px rgba(15,23,42,0.16);
  border-color:#4267b2;
}

.fff-impact-2024 .fff-stat-card:hover .percent{
  color:#2b4b86;
}

/* Mobile : on serre un peu */
@media (max-width:768px){
  .fff-impact-2024 .et_pb_number_counter.fff-stat-card{
    margin-bottom:1.2rem;
    padding:1.8rem 1.4rem 1.9rem;
    min-height:180px;
  }
  .fff-impact-2024 .fff-stat-card .percent{
    font-size:2.4rem;
  }
}

/* ============================
   HOME – Featured video card
   ============================ */

.fff-home-video {
  padding: 3rem 0 2rem;
}

.fff-home-video .fff-video-card {
  display: block;
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 16px rgba(15,23,42,0.06);
  overflow: hidden;
  text-decoration: none;
  color: #111827;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

/* Hover global sur la carte */
.fff-home-video .fff-video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(66,103,178,0.45);
  box-shadow: 0 16px 30px rgba(15,23,42,0.12);
}

/* Thumbnail vidéo */
.fff-home-video .fff-video-thumb {
  position: relative;
  overflow: hidden;
}

.fff-home-video .fff-video-thumb img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Zoom léger sur l’image au hover */
.fff-home-video .fff-video-card:hover .fff-video-thumb img {
  transform: scale(1.03);
  filter: brightness(0.96);
}

/* Bouton play au centre */
.fff-home-video .fff-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  pointer-events: none;
}

/* Corps de la carte */
.fff-home-video .fff-video-body {
  padding: 1.4rem 1.5rem 1.35rem;
}

/* Titre */
.fff-home-video .fff-video-title {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 700;
}

/* Texte */
.fff-home-video .fff-video-text {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5563;
  text-align: justify;
}

/* Petit "call to action" en bas */
.fff-home-video .fff-video-cta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4267b2;
  border-bottom: 1px solid rgba(66,103,178,0.4);
}

/* Assombrit légèrement au hover */
.fff-home-video .fff-video-card:hover .fff-video-cta {
  color: #314c8a;
  border-color: rgba(49,76,138,0.9);
}

/* Mobile: on serre un peu les paddings */
@media (max-width: 768px) {
  .fff-home-video .fff-video-body {
    padding: 1.1rem 1.1rem 1.2rem;
  }
}