/* =====================================================================
   KAGNARD — footer.css
   Footer noir profond + colonnes SEO.
   ===================================================================== */

.site-footer {
  background:
    radial-gradient(circle at 88% 0%, rgba(242, 100, 25, 0.12), transparent 50%),
    linear-gradient(175deg, var(--encre) 0%, var(--encre-2) 100%);
  color: var(--texte-sur-encre-muted);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Grain très léger, cohérent avec .section--dark */
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  background-size: 180px 180px;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* Fine barre signature en haut du footer */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--gradient-signature);
  z-index: 1;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.site-footer__brand {
  max-width: 320px;
}
.site-footer__logo {
  display: block;
  height: 34px;
  width: auto;
  margin-bottom: 0.2rem;
}
.logo-fallback--light { color: var(--blanc); font-size: 1.7rem; }

.site-footer__baseline {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--blanc);
  margin: 1rem 0 0.75rem;
}
.site-footer__pitch {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.site-footer__title {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1.3rem;
}
/* Signature graphique (barre du logo) déclinée en clair sur fond sombre */
.site-footer__title::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-sur-encre);
}
.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-footer__col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.site-footer__col a:hover {
  color: var(--orange-clair);
  padding-left: 4px;
}

.site-footer__contact a,
.site-footer__zone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.site-footer__contact svg { color: var(--orange); flex-shrink: 0; }
.site-footer__cta { margin-top: 1.4rem; }

/* Bas de footer */
.site-footer__bottom {
  border-top: 1px solid var(--encre-border);
  padding-block: 1.5rem;
}
.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer__legal a:hover { color: var(--blanc); }

/* Responsive */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .site-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bottom-inner { justify-content: flex-start; }
}
