/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
 * CONTENTS..............You’re reading it!
 * CARTES-LIENS ...........................
*/

/* ------------------------------------ *\
  ==CARTES-LIENS
\* ------------------------------------ */
.liens {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lien-carte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgb(17 17 17 / 30%);
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.lien-carte svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentcolor;
}

.lien-carte:hover,
.lien-carte:focus-visible {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.lien-carte:hover svg,
.lien-carte:focus-visible svg {
  /* stylelint-disable-next-line no-unknown-animations */
  animation: don-va-et-vient 1s ease infinite both;
}

@media (prefers-reduced-motion: reduce) {
  .lien-carte:hover svg {
    animation: none;
  }
}
