/* =========================================
= COMPOSANT — BANDEAU RÉASSURANCE (.nl-subfooter--*) — footer/subfooter/
= 4 engagements. Desktop : grille 4 colonnes · sous 64rem : slider horizontal
= (scroll-snap, 2 cards) · sous 48rem : 1 card. Markup : subfooter.php. Pas de JS.
========================================= */
.nl-subfooter {
  padding: 0;
  background-color: var(--primary);
}

.nl-subfooter--card {
  padding: 2.5rem 2rem;
  width: 100%;
}

.nl-subfooter--list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nl-subfooter--item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
  padding: 0 1.25rem;
  border-right: 1px solid rgba(251, 249, 247, 0.15); /* --secondary-c à 15 % */
}
.nl-subfooter--item:last-child { border-right: 0; }

.nl-subfooter--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--secondary-c);
}

.nl-subfooter--title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  font-style: italic;
  color: var(--secondary-c);
}

.nl-subfooter--text {
  font-family: var(--SR);
  font-size: var(--text-xs);
  color: var(--secondary-c);
}

/* Slider horizontal scroll-snap : 2 cards visibles sous 64rem, 1 sous 48rem */
@media (max-width: 64rem) {
  .nl-subfooter--list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .nl-subfooter--list::-webkit-scrollbar { display: none; }

  .nl-subfooter--item {
    flex: 0 0 50%;
    scroll-snap-align: start;
  }
}

@media (max-width: 48rem) {
  .nl-subfooter { padding: 1.5rem 1rem; }
  .nl-subfooter--card { padding: 1.5rem 1.25rem; }

  .nl-subfooter--item { flex: 0 0 100%; }
}

