/* /public/css/footer.css */

/* -------------------------------------------------------------------------
   Footer public commun
   ------------------------------------------------------------------------- */

.public-footer,
.rdv-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.9), rgba(31, 85, 145, 0.74)),
    url("../assets/header-architecture.jpg") center / cover no-repeat;
  box-shadow: 0 -12px 34px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.public-footer::before,
.rdv-footer::before {
  content: "";
  position: absolute;
  inset: -90px auto auto -110px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  pointer-events: none;
}

.public-footer::after,
.rdv-footer::after {
  content: "";
  position: absolute;
  inset: auto -110px -150px auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.public-footer__inner,
.rdv-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  font-size: 0.84rem;
  line-height: 1.42;
}

.public-footer__brand,
.public-footer__contact,
.rdv-footer__inner > div {
  min-width: 0;
}

.public-footer__inner {
  grid-template-columns: minmax(240px, 1fr) minmax(190px, auto) minmax(240px, 1fr);
}

.public-footer__certification {
  min-width: 0;
  text-align: center;
}

.public-footer__certification a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  white-space: nowrap;
}

.public-footer__contact,
.rdv-footer__inner > div:last-child {
  text-align: right;
}

.public-footer strong,
.rdv-footer strong {
  color: #ffffff;
  font-weight: 950;
}

.public-footer a,
.rdv-footer a {
  color: #ffffff;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.public-footer a:hover,
.rdv-footer a:hover,
.public-footer a:focus-visible,
.rdv-footer a:focus-visible {
  color: #dbeafe;
}

@media (max-width: 900px) {
  .public-footer__inner {
    grid-template-columns: 1fr;
    gap: 11px;
    text-align: center;
  }

  .public-footer__contact {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .public-footer__inner,
  .rdv-footer__inner {
    width: min(100% - 22px, 1220px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
    text-align: center;
  }

  .public-footer__contact,
  .rdv-footer__inner > div:last-child {
    text-align: center;
  }
}
