/* footer.css — footer affiné */

.site-footer{
  margin-top: 72px;
  background: transparent;
}

.footer-copy{
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 16px 28px;
  border-top: 1px solid rgba(36,48,86,.18);

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;

  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: .96rem;
  line-height: 1.65;
  color: #0E1030;
}

.footer-copy::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(46,44,98,0) 0%,
    rgba(46,44,98,.45) 50%,
    rgba(46,44,98,0) 100%
  );
}

.footer-copy__text{
  color: #0E1030;
}

.footer-link{
  color: var(--violet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity .2s ease, color .2s ease;
}

.footer-link:hover{
  opacity: .82;
}

.footer-link:focus-visible{
  outline: 2px solid rgba(46,44,98,.35);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-sep{
  color: rgba(14,16,48,.5);
}

/* Signature discrète au survol */
.footer-credit{
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%) translateY(6px);

  opacity: 0;
  pointer-events: none;

  font-size: .78rem;
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(14,16,48,.58);

  transition:
    opacity .28s ease,
    transform .28s ease;
}

.footer-copy:hover .footer-credit,
.footer-copy:focus-within .footer-credit{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px){
  .footer-copy{
    padding: 16px 12px 24px;
    gap: 6px;
    font-size: .9rem;
  }

  .footer-copy::before{
    width: 110px;
  }

  .footer-credit{
    bottom: 5px;
    font-size: .72rem;
  }
}