/* ============================
   Fair Future - Call To Action
   Classe module: fff-cta-donate
   ============================ */

/* Carte principale du CTA */
.fff-cta-donate.et_pb_promo{
  background: linear-gradient(135deg,#f5fafd,#e4eef6);
  border: 1px solid #d9e3ea;
  border-radius: 8px;
  padding: 2rem 2rem 1.8rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
  box-sizing: border-box;
}

/* Titre du CTA */
.fff-cta-donate .et_pb_promo_description h2,
.fff-cta-donate .et_pb_promo_description h3{
  font-size: clamp(1.4rem,1.1rem + 0.7vw,1.7rem);
  font-weight: 800;
  color: #003366 !important;
  margin: 0 0 0.6rem;
  text-align: left !important;
  letter-spacing: 0.04em;
}

/* Texte du CTA */
.fff-cta-donate .et_pb_promo_description{
  max-width: 48rem;
  margin: 0;
}

.fff-cta-donate .et_pb_promo_description p{
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444444;
  text-align: justify;
}

/* Wrapper du bouton */
.fff-cta-donate .et_pb_button_wrapper{
  margin-top: 1.4rem;
  text-align: left;
}

/* Bouton principal - état normal */
.fff-cta-donate .et_pb_button{
  background: linear-gradient(135deg,#ae2012,#8c1b10) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.85rem 1.9rem !important;
  border-radius: 4px!important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

/* Supprimer la flèche animée par défaut de Divi */
.fff-cta-donate .et_pb_button:after{
  display: none !important;
}

/* Hover bouton */
.fff-cta-donate .et_pb_button:hover{
  background: linear-gradient(135deg,#8c1b10,#6b140e) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

/* Focus clavier bouton */
.fff-cta-donate .et_pb_button:focus-visible{
  outline: 2px solid #003366;
  outline-offset: 3px;
}

/* Version mobile - centrée, plus compacte */
@media (max-width: 767px){
  .fff-cta-donate.et_pb_promo{
    padding: 1.4rem 1.2rem 1.5rem;
  }

  .fff-cta-donate .et_pb_promo_description h2,
  .fff-cta-donate .et_pb_promo_description h3{
    text-align: center !important;
  }

  .fff-cta-donate .et_pb_promo_description p{
    text-align: left;
  }

  .fff-cta-donate .et_pb_button_wrapper{
    text-align: center;
  }

  .fff-cta-donate .et_pb_button{
    width: 100%;
    justify-content: center;
  }
}

/* Respect de la pref accessibilite "reduce motion" */
@media (prefers-reduced-motion: reduce){
  .fff-cta-donate.et_pb_promo,
  .fff-cta-donate.et_pb_promo *{
    transition: none !important;
  }
}
