/* ==== FOOTER BLANC — SOBRE & FLUIDE ==== */
.footer {
  background: #fff;                    /* blanc net */
  color: #374151;                      /* gris ardoise lisible */
  border-top: 1px solid #e5e7eb;       /* fine séparation */
  padding: clamp(14px, 2vw, 22px) 0;
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.5;
}

.footer .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

/* zones gauche/droite */
.footer .footer-left,
.footer .footer-right {
  padding: 2px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer .footer-left { text-align: left; }
.footer .footer-right { text-align: right; opacity: .85; }

/* liens discrets, visibles au hover */
.footer a {
  color: #111827;                      /* gris quasi noir */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, opacity .18s ease, color .18s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: #0f172a;
  border-bottom-color: #9ca3af;        /* léger soulignement */
  outline: none;
}

/* RTL */
body.rtl .footer .footer-left { text-align: right; }
body.rtl .footer .footer-right { text-align: left; }

/* Responsive */
@media (max-width: 720px) {
  .footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer .footer-left,
  .footer .footer-right {
    white-space: normal;
    text-align: center;
  }
}

/* Optionnel: ombre ultra légère pour détacher du contenu */
.footer {
  box-shadow: 0 -1px 0 rgba(0,0,0,0.03), 0 -8px 20px rgba(0,0,0,0.03);
}

/* Optionnel: sticky si ton layout parent est en flex colonne */
.footer.is-sticky { margin-top: auto; }
