/* Pied de page commun (rendu par footer.js) — version « éditoriale » */

.site-footer {
  position: relative;
  overflow: hidden;
  color: #d9cfe8;
  background:
    radial-gradient(circle at 92% 0%, rgb(216 166 60 / 16%), transparent 26rem),
    linear-gradient(120deg, #1d1036, #2f1b5b 70%, #3a2368);
  font-family: var(--font-text, "Inter", sans-serif);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold, #d8a63c), #f1ce80 30%, transparent 70%);
}

.site-footer-map {
  position: absolute;
  right: clamp(24px, 6vw, 110px);
  bottom: -6px;
  width: 520px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:focus-visible {
  outline: 2px solid #f1ce80;
  outline-offset: 4px;
  border-radius: 4px;
}

.site-footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.15fr;
  gap: 40px;
  padding: 42px 0 32px;
}

.site-footer-logo {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
}

.site-footer-logo img {
  display: block;
  width: 82px;
  height: 50px;
  object-fit: contain;
}

.site-footer-tagline {
  margin: 18px 0 0;
  color: #fff;
  font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.site-footer-tagline em {
  color: #f1ce80;
  font-style: normal;
}

.site-footer h2 {
  margin: 4px 0 14px;
  color: #f1ce80;
  font-family: var(--font-text, "Inter", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}

.site-footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  color: #ece4f6;
}

.site-footer-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: rgb(241 206 128 / 45%);
  transition: background 0.2s ease;
}

.site-footer-nav a:hover {
  color: #fff;
  transform: translateX(3px);
}

.site-footer-nav a:hover::before {
  background: var(--gold, #d8a63c);
}

.site-footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3edf8;
  overflow-wrap: anywhere;
}

.site-footer-contact a:hover {
  color: #f1ce80;
}

.site-footer-contact svg.ph {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  color: #f1ce80;
  background: rgb(255 255 255 / 8%);
  transition: background 0.2s ease;
  --ph-duo: #f1ce80;
  --ph-duo-opacity: 0.3;
}

.site-footer-contact a:hover svg.ph {
  background: rgb(241 206 128 / 18%);
}

.site-footer-contact small {
  display: block;
  color: #b9aacd;
  font-size: 0.74rem;
}

.site-footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding: 14px 0;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #b9aacd;
  font-size: 0.78rem;
}

.site-footer-bottom p {
  margin: 0;
}

.site-footer-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1ce80 !important;
}

.site-footer-report:hover {
  color: #fff !important;
}

.site-footer-region {
  margin-left: auto !important;
}

@media (max-width: 1050px) {
  .site-footer-main {
    grid-template-columns: 0.8fr 0.8fr 1.3fr;
    gap: 28px 32px;
  }

  .site-footer-identity {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .site-footer-tagline {
    margin: 0;
    font-size: 1.25rem;
  }

  .site-footer-map {
    width: 380px;
  }
}

@media (max-width: 560px) {
  .site-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    padding: 34px 0 26px;
  }

  .site-footer-identity {
    display: block;
  }

  .site-footer-identity,
  .site-footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer-tagline {
    margin-top: 16px;
  }

  .site-footer-tagline {
    font-size: 1.25rem;
  }

  .site-footer-nav a {
    min-height: 32px;
  }

  .site-footer-region {
    width: 100%;
    margin-left: 0 !important;
  }

  .site-footer-map {
    width: 300px;
    right: 8px;
  }
}
