/* NETTIBAC : pied de page (inspiré du site Discove), partagé par toutes les pages.
   Comme sur Discove, il est posé sur le fond de la page : le bloc contact au-dessus reste le seul bloc foncé. */
.site-foot { position: relative; overflow: hidden; background: transparent; color: var(--ink); padding: 64px 0 28px; }
.site-foot > .wrap { position: relative; }
.site-foot a { color: inherit; text-decoration: none; }

/* Colonnes de liens */
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.foot-brand img { height: 50px; width: auto; background: #fff; border-radius: 12px; padding: 5px 11px; box-shadow: inset 0 0 0 1px var(--line); }
.foot-brand p { margin-top: 16px; color: var(--muted); max-width: 30ch; font-size: 15.5px; }
.foot-cols h4 { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g); margin: 0 0 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-cols ul a { color: var(--muted); font-weight: 600; font-size: 15.5px; transition: color .3s; }
.foot-cols ul a:hover { color: var(--ink); }

/* Réseaux + contact */
.foot-top { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 21px; transition: background-color .3s, color .3s, box-shadow .3s; }
.socials a:hover { background: var(--g); color: #fff; box-shadow: none; }
.foot-contact { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; color: var(--muted); }
.foot-contact a:hover { color: var(--ink); }

/* Nom géant : les lettres montent à l'arrivée, puis réagissent au survol */
.giant { margin-top: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 15vw; letter-spacing: -0.045em; line-height: .9; display: flex; justify-content: center; white-space: nowrap; user-select: none; overflow: hidden; padding-bottom: 0.06em; }
.giant span { display: inline-block; color: var(--g-deep); transform: translateY(105%); transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), color .25s; transition-delay: calc(var(--i, 0) * 60ms); }
.giant span.b { color: var(--blue); }
.giant.in span { transform: none; }
.giant.in span:hover { transform: translateY(-4px) scaleX(0.9) rotate(-1deg); color: var(--g); transition-delay: 0s; }
.giant.in span.b:hover { color: var(--blue-2); }
.giant.in span:nth-child(2n):hover { transform: translateY(-4px) scaleX(0.9) rotate(1deg); }

/* Ligne légale */
.legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.legal nav { display: flex; gap: 20px; flex-wrap: wrap; }
.legal nav a { color: var(--muted); font-weight: 600; transition: color .3s; }
.legal nav a:hover, .legal nav a[aria-current="page"] { color: var(--ink); }
.made { display: inline-flex; align-items: center; gap: 8px; }
.made a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 700; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s; }
.made a:hover { background: var(--g-deep); color: #fff; box-shadow: none; }
.made a i { font-size: 14px; }

@media (max-width: 960px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .site-foot { padding: 52px 0 110px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .legal { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .giant span { transform: none; transition: color .25s; } }
