.site-footer {
  --footer-bg: #0f2740;
  --footer-panel: #123049;
  --footer-yellow: #ffc72c;
  --footer-sky: #5bc6f0;
  --footer-muted: rgba(255, 255, 255, 0.72);

  background: var(--footer-bg);
  color: #fff;
  padding: 3.5rem max(1.5rem, env(safe-area-inset-left, 0px)) 1.75rem
    max(1.5rem, env(safe-area-inset-right, 0px));
}

.site-footer__inner {
  margin: 0 auto;
  max-width: 72rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.site-footer__brand-name {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, "Audiowide", sans-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--footer-yellow);
}

.site-footer__blurb {
  margin: 0;
  color: var(--footer-muted);
  line-height: 1.6;
  max-width: 22rem;
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footer-sky);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--footer-yellow);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.site-footer__social-link svg,
.site-footer__social-link i {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 1.75;
}

.site-footer__social-link:hover {
  border-color: var(--footer-yellow);
  color: var(--footer-yellow);
  background: rgba(255, 199, 44, 0.08);
}

.site-footer__newsletter-text {
  margin: 0 0 0.9rem;
  color: var(--footer-muted);
  line-height: 1.5;
}

.site-footer__newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer__newsletter-form input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.site-footer__newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__newsletter-form button {
  border: 2px solid var(--footer-yellow);
  background: transparent;
  color: #fff;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
}

.site-footer__newsletter-form button:hover {
  background: var(--footer-yellow);
  color: var(--footer-bg);
}

.site-footer__newsletter-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__bottom {
  margin: 2.75rem auto 0;
  max-width: 72rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.site-footer__bottom > p {
  margin: 0;
}

.site-footer__bottom .abit-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-footer__bottom .abit-lang__item {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 0.15rem 0.25rem;
}

.site-footer__bottom a.abit-lang__item:hover,
.site-footer__bottom a.abit-lang__item:focus-visible {
  color: #fff;
}

.site-footer__bottom .abit-lang__item--active {
  color: #ffc72c;
}

.site-footer__bottom .abit-lang__sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  user-select: none;
}

/* Honeypot anti-spam (formulaires publics) */
.hp-field-wrap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
