/* Pied de page allégé (29/11/2026). Chargé par includes/footer.php, après css/style.css. */
.footer { position: relative; isolation: isolate; }
/* Zellige : le motif part du bas du pied de page et s'efface en montant. */
.footer::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('../assets/ornament-star-light.svg') 50% 100% / 80px 80px repeat;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.45) 35%, transparent 75%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.45) 35%, transparent 75%);
}
.footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.5fr) minmax(0, .7fr); padding-bottom: 2.25rem; }
.footer__col--comps ul { columns: 2; column-gap: 2rem; }
.footer__col--comps ul li { break-inside: avoid; margin-bottom: .55rem; }
.footer__col--comps ul li + li { margin-top: 0; }
.footer__bottom { padding-block: 1.25rem 1.75rem; color: rgba(255,255,255,.72); text-align: start; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer__legal a { color: rgba(255,255,255,.82); }

/* Partenaires (accueil) : icônes moyennes. */
.footer__partners { margin-top: 2rem; }
.footer__partners-title { margin: 0 0 .75rem; font-size: .8125rem; font-weight: 700; color: rgba(255,255,255,.66); }
.footer__partners-list { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-partner { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.footer-partner__logo { box-sizing: border-box; flex: none; width: 3.5rem; height: 3.5rem; overflow: hidden; border: 2px solid rgba(255,255,255,.22); border-radius: 50%; background: #fff; }
/* le logo fourni a une large marge blanche : agrandi dans le disque */
.footer-partner__logo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
.footer-partner:hover .footer-partner__logo { border-color: #9cc3ea; }
.footer-partner:focus-visible { outline: 3px solid #9cc3ea; outline-offset: 3px; }
.footer-partner__name { font-size: .9375rem; font-weight: 700; }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { gap: .65rem 1.1rem; }
}
