/* Colonne « Légal » injectée dans le footer principal */
footer .ft.ft-legal {
  grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
}

footer .fc-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

footer .fc-legal ul li a {
  color: var(--mu, #8a9bb5);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

footer .fc-legal ul li a:hover {
  color: var(--wh, #fff);
}

footer .fc-legal h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mu, #8a9bb5);
  margin-bottom: 0.9rem;
}

/* Footers minimalistes (sans grille .ft) */
.fb2 .footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0;
  flex: 1;
  min-width: 0;
}

.fb2 .footer-legal-inline a {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.71rem;
  text-decoration: none;
  padding: 0 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition: color 0.2s;
}

.fb2 .footer-legal-inline a:last-child {
  border-right: none;
}

.fb2 .footer-legal-inline a:hover {
  color: #5aaeff;
}

@media (max-width: 1024px) {
  footer .ft.ft-legal {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  footer .ft.ft-legal {
    grid-template-columns: 1fr;
  }

  .fb2 .footer-legal-inline {
    justify-content: flex-start;
    order: 3;
    width: 100%;
    padding-top: 0.35rem;
  }

  .fb2 .footer-legal-inline a {
    padding: 0.2rem 0.55rem 0.2rem 0;
    border-right: none;
  }
}
