/*
 * Correctifs accessibilite (WCAG AA) + home PageSpeed - 2026-11-16.
 * Charge sur tout le site (footer/header communs). Sur la home, inline par mu-plugins/wfira-perf.php.
 * Couleurs : ratio de contraste >= 4.5:1, au plus proche de la charte.
 */

/* Texte reserve aux lecteurs d'ecran (ex. contexte des liens "Read more"). */
.wf-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Carte intervenant : toute la carte reste cliquable via le lien "Read more". */
.fira__page__home__speakers__item .btn-readmore::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.fira__page__home__speakers__item .speaker__infos .speaker__job {
  color: #007a30 !important; /* #008e39 -> 4.26:1, insuffisant */
}

/* Hero : les images portent desormais width/height (srcset) -> hauteur calculee par le ratio. */
.fira__page__home__hero__slider .swiper-slide img {
  height: auto;
}

/* Photos intervenants : recadrees au lieu d'etre deformees. */
.fira__page__home__speakers__item .speaker__picture img {
  object-fit: cover;
}

/* Footer : vert #008e39 -> #008736 (blanc 4.65:1) ; textes vert fonce -> blanc. */
footer .footer__up {
  background: #008736 !important;
}
footer .footer__up .footer__up__infos .footer__up__infos__adress,
footer .footer__up .footer__up__infos .footer__up__infos__contact,
footer .footer__up .footer__up__subscribe p:nth-of-type(1),
footer .footer__up .footer__up__subscribe .mc4wp-form-fields > p:first-child {
  color: #fff !important;
}
footer .footer__up .footer__up__infos .footer__up__infos__adress:hover,
footer .footer__up .footer__up__infos .footer__up__infos__contact:hover {
  color: #F8DC4C !important;
}

/* Header : bouton Contact (bleu #489bd3 -> #2b74a6, 5.06:1) et langue inactive. */
.header__down__cta__container .header__down__cta__contact {
  color: #2b74a6 !important;
  outline-color: #2b74a6 !important;
}
.header__down__cta__container .header__down__cta__contact:hover {
  color: #175425 !important;
  outline-color: #F8DC4C !important;
}
.menu-menu-traduction-container .translation__menu a:not(.current__language) {
  color: #7be0a0 !important; /* #26b15e sur #175425 -> 3.23:1 */
}

/* Puces des carrousels : espacement suffisant pour des cibles tactiles de 24px. */
.swiper-pagination-agenda .swiper-pagination-bullet,
.swiper-pagination-agenda-mobile .swiper-pagination-bullet,
.swiper-pagination-reviews .swiper-pagination-bullet,
.swiper-pagination .swiper-pagination-bullet {
  margin: 0 10px !important;
}
