/* Pasivite 2.8.17.3 — Pied de page moderne
   Scope volontairement limité à .psv-footer pour ne toucher ni aux cartes,
   ni aux boutons métier, ni à l'administration. */

.site-footer.psv-footer {
  margin-top: 3rem;
  padding: 0;
  color: #f7fbff;
  background:
    radial-gradient(circle at 92% 0%, rgba(0, 196, 190, .20), transparent 30rem),
    linear-gradient(135deg, #25164f 0%, #32246f 55%, #153b64 100%);
  border-top: 1px solid rgba(178, 229, 229, .22);
  box-shadow: 0 -16px 40px rgba(23, 26, 68, .08);
}

.site-footer.psv-footer .psv-footer-inner {
  width: min(1380px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 2.3rem 0 1.15rem;
  display: block;
}

.psv-footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(190px, .85fr));
  gap: 1.25rem;
  align-items: start;
}

.psv-footer-brand,
.psv-footer-group {
  min-width: 0;
}

.psv-footer-brand {
  padding: .45rem 1rem .45rem 0;
}

.psv-footer-brandline {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .85rem;
}

.psv-footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18));
}

.psv-footer-brandline > div {
  display: grid;
  gap: .08rem;
}

.psv-footer-name {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.psv-footer-tagline {
  color: #aeeeed;
  font-size: .95rem;
  font-weight: 750;
}

.psv-footer-brand > p {
  max-width: 34rem;
  margin: 0;
  color: rgba(243, 248, 255, .82);
  font-size: .98rem;
  line-height: 1.55;
}

.psv-footer-group {
  display: grid;
  align-content: start;
  gap: .48rem;
  padding: 1rem;
  border: 1px solid rgba(205, 224, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(7px);
}

.psv-footer-group h2 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: .92rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.site-footer.psv-footer .psv-footer-group > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 42px;
  padding: .56rem .7rem;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #eefcff;
  background: rgba(255, 255, 255, .045);
  text-decoration: none !important;
  font-weight: 720;
  line-height: 1.25;
  transition: background-color .14s ease, border-color .14s ease, transform .14s ease;
}

.site-footer.psv-footer .psv-footer-group > a > span:last-child {
  color: #67dedb;
  font-size: 1.25rem;
  line-height: 1;
  flex: 0 0 auto;
}

.site-footer.psv-footer .psv-footer-group > a:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(103, 222, 219, .38);
  transform: translateX(2px);
}

.site-footer.psv-footer a:focus-visible {
  outline: 3px solid rgba(103, 222, 219, .62);
  outline-offset: 2px;
}

.psv-footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .2rem;
}

.site-footer.psv-footer .psv-footer-mini-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: .4rem .65rem;
  border: 1px solid rgba(205, 224, 255, .18);
  border-radius: 999px;
  color: rgba(244, 251, 255, .88);
  background: rgba(255, 255, 255, .035);
  text-decoration: none !important;
  font-size: .88rem;
  font-weight: 720;
}

.site-footer.psv-footer .psv-footer-mini-links a:hover {
  color: #fff;
  border-color: rgba(103, 222, 219, .42);
  background: rgba(103, 222, 219, .08);
}

.psv-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(205, 224, 255, .16);
}

.psv-footer-bottom p {
  margin: 0;
  color: rgba(240, 247, 255, .76);
  font-size: .9rem;
  line-height: 1.45;
}

.psv-footer-bottom p strong {
  color: #fff;
}

.psv-footer-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: .35rem .68rem;
  border: 1px solid rgba(103, 222, 219, .26);
  border-radius: 999px;
  color: #aeeeed;
  background: rgba(0, 0, 0, .10);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
}

@media (max-width: 1120px) {
  .psv-footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .psv-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .site-footer.psv-footer .psv-footer-inner {
    width: min(100% - 1.1rem, 1380px);
    padding-top: 1.45rem;
  }
  .psv-footer-top {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .psv-footer-brand {
    padding: .1rem .35rem .4rem;
  }
  .psv-footer-group {
    border-radius: 15px;
    padding: .85rem;
  }
  .site-footer.psv-footer .psv-footer-group > a {
    min-height: 46px;
  }
  .psv-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer.psv-footer .psv-footer-group > a {
    transition: none;
  }
}
