/* =========================
   FOOTER
========================= */

.ab-footer{
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
}

.ab-footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 20px 0;
  flex-wrap:wrap;
}

.ab-footer__meta{
  font-size:14px;
  color:var(--muted);
  letter-spacing:.02em;
  white-space: nowrap;
}

.ab-footer__links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.ab-footer__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;                 /* ✅ zone tappable */
  border-radius: 999px;
  border: 1px solid rgba(250,252,255,.16);
  background: rgba(250,252,255,.04);
  font-size: 14px;
  color: var(--muted);
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.ab-footer__link:hover{
  background: rgba(250,252,255,.07);
  border-color: rgba(250,252,255,.26);
  color: var(--fg);
}

/* =========================
   FOOTER — MOBILE
========================= */

@media (max-width: 560px){
  .ab-footer__inner{
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 26px;            /* ✅ plus d’air en bas */
    gap: 12px;
  }

  .ab-footer__meta{
    white-space: normal;              /* au cas où ça wrap */
  }

  .ab-footer__links{
    width: 100%;
    gap: 10px;
  }

  .ab-footer__link{
    padding: 12px 16px;               /* ✅ plus facile au doigt */
  }
}
.ab-footer{
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  margin-bottom: 0;
}
@media (max-width: 560px){
  .ab-footer__inner{
    padding-top: 18px;
    padding-bottom: 28px; /* ✅ vrai espace visuel */
    gap: 14px;
  }
}
.ab-footer__link{
  min-height: 40px;              /* ✅ empêche l’écrasement */
  padding: 10px 18px;            /* ✅ largeur réelle */
  line-height: 1.2;              /* ✅ iOS-safe */
  white-space: nowrap;
}
@media (max-width: 560px){
  .ab-footer__link{
    padding: 12px 20px;          /* ✅ doigt + typo respirent */
    font-size: 14px;
  }
}
.ab-footer__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.ab-footer__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 10px 18px;     /* ✅ largeur réelle */
  min-height: 30px;
  border-radius: 999px;

  border: 1px solid rgba(250,252,255,.18);
  background: rgba(250,252,255,.04);

  font-size: 14px;
  line-height: 1;         /* ✅ évite “typo qui touche” */
  color: var(--muted);
  text-decoration:none;

  -webkit-tap-highlight-color: transparent;
}
.ab-footer__pill:hover{ color: var(--fg); border-color: rgba(250,252,255,.28); }