/* Accès au référent depuis les pages qui abordent le TDAH. */
a.referent-tdah-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 48px;
  margin: 16px 0 8px;
  padding: 6px 15px 6px 6px;
  border: 1px solid #f1bfca;
  border-radius: 999px;
  background: #fff0f3;
  color: #a51e35;
  font-family: "Onest", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  vertical-align: middle;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
a.referent-tdah-badge:hover {
  background: #ffe1e8;
  border-color: #dd8096;
  color: #8f142a;
  box-shadow: 0 4px 14px #a51e3510;
}
a.referent-tdah-badge.referent-tdah-badge--red {
  background: #ffe5e5;
  border-color: #a51e35;
  color: #a51e35;
}
a.referent-tdah-badge.referent-tdah-badge--red:hover {
  background: #ffd6d6;
  border-color: #8f142a;
  color: #8f142a;
}
a.referent-tdah-badge:focus-visible { outline: 3px solid #a51e35; outline-offset: 4px; }
/* Cadrage rapproché sur le visage dans la photo d’origine. */
.referent-tdah-badge__portrait {
  display: block;
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  background: #ffe1e8;
}
a.referent-tdah-badge .referent-tdah-badge__portrait img {
  display: block;
  position: absolute;
  width: 272.25%;
  max-width: none;
  height: auto;
  left: -32.5%;
  top: -70%;
  margin: 0;
  border-radius: 0;
}
.referent-tdah-badge__arrow { flex-shrink: 0; margin-left: 3px; font-size: 20px; line-height: 1; }
@media (max-width: 480px) {
  a.referent-tdah-badge { font-size: 13px; gap: 8px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  a.referent-tdah-badge { transition: none; }
}
