/* =========================================
   RÉSEAUX SOCIAUX — pied de page
   (liens gérés dans Réglages > Comprendre la Justice)
   ========================================= */
.clj-social {
  margin-top: 24px;
}
.clj-social-title {
  margin-top: 0;
  margin-bottom: 12px;
}
.clj-social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* colonne 1 du footer centrée */
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.clj-social-list li {
  margin: 0;
  padding: 0;
}
.clj-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;   /* zone cliquable confortable (WCAG 2.5.5) */
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.55);
  color: #B9C7D8; /* contraste > 9:1 sur le bleu marine */
  background: transparent;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.clj-social-link:hover {
  background: #C9A84C;
  border-color: #C9A84C;
  color: #0D1F3C;
}
.clj-social-link:focus-visible {
  outline: 2px solid #E8B830;
  outline-offset: 3px;
  background: #C9A84C;
  border-color: #C9A84C;
  color: #0D1F3C;
}
.clj-social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* Texte lu par les lecteurs d'écran, invisible à l'écran */
.clj-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .clj-social-link { transition: none; }
}

/* =========================================
   VARIANTE FOND CLAIR — bloc newsletter de l'accueil
   ========================================= */
.clj-social--light {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e0d9cc;
}
.clj-social--light .clj-social-title {
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0D1F3C;
  letter-spacing: .3px;
  margin: 0 0 12px;
}
.clj-social--light .clj-social-list {
  justify-content: flex-start;
}
.clj-social--light .clj-social-link {
  color: #0D1F3C;          /* contraste 16:1 sur le beige */
  border-color: #C9A84C;
  background: #fff;
}
.clj-social--light .clj-social-link:hover,
.clj-social--light .clj-social-link:focus-visible {
  background: #0D1F3C;
  border-color: #0D1F3C;
  color: #fff;
}
.clj-social--light .clj-social-link:focus-visible {
  outline: 2px solid #0D1F3C;
  outline-offset: 3px;
}
