/* =========================================================
   Pied de page du site.
   Dépend de assets/css/base.css (reset, variables, typographie) —
   les couleurs ci-dessous référencent directement les tokens
   globaux plutôt qu'une palette locale dupliquée.
   ========================================================= */

:root {
  --footer-max: 1280px;
}

.site-footer {
  width: 100%;
  background: var(--color-ink);
  color: var(--color-bg);
  font-family: var(--font-body);
}

.site-footer__main {
  width: min(100%, var(--footer-max));
  margin: auto;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-col {
  min-width: 0;
  padding: 2%;
}

.footer-logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 0 15px;
  transition: opacity 0.25s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-brand p {
  margin: 0;
  color: var(--color-neutral);
  font-size: 13px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  padding: 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.footer-social img {
  width: 20px;
  height: 20px;
  display: block;
  /* Icônes blanches sur ce fond bleu foncé (2026-09-23, règle établie :
     icônes blanches sur fond bleu, bleues sur fond blanc) - les SVG de
     marque (Facebook/YouTube/LinkedIn) sont noirs par défaut. */
  filter: brightness(0) invert(1);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px) scale(1.05);
}

.footer-col h2 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-footer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer nav li {
  margin: 0;
  padding: 0;
}

.site-footer nav a {
  display: block;
  padding: 7px 5px;
  color: rgba(249, 250, 251, 0.86);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease, padding-left 0.2s ease;
}

.site-footer nav a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 4px;
  margin: 0 0 10px;
  color: var(--color-neutral);
  font-size: 13px;
  line-height: 1.45;
}

.footer-contact li > span:first-child {
  color: var(--color-accent);
}

.footer-contact a {
  padding: 0;
  color: var(--color-neutral);
  font-size: 13px;
  text-decoration: none;
  text-transform: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(100%, var(--footer-max));
  margin: auto;
  padding: 18px 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--color-neutral);
  font-size: 14px;
}

.footer-bottom nav {
  flex: 0 0 auto;
}

.footer-bottom nav a {
  display: inline-block;
  padding: 0 7px;
  color: rgba(249, 250, 251, 0.77);
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-bottom nav a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .footer-logo,
  .footer-social a,
  .site-footer nav a,
  .footer-contact a,
  .footer-bottom nav a {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    padding: 25px 15px;
  }
  .footer-col {
    padding: 12px 0;
  }
  .footer-bottom {
    padding: 10px 15px 5px;
  }
  .footer-bottom nav {
    width: 100%;
  }
  .footer-bottom nav a {
    padding-left: 0;
    padding-right: 14px;
  }
}
