/*
 * Footer canonique Love Room Spa.
 * Ce composant est charge sur toutes les pages et remplace visuellement les
 * anciens footers embarques dans certains contenus historiques.
 */
.site-footer:not(.lrs-unified-footer),
.lrs-site-footer {
  display: none !important;
}

.lrs-unified-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: clamp(42px, 5vw, 66px) clamp(22px, 5.4vw, 104px) 22px;
  border-top: 1px solid rgba(242, 238, 231, 0.16);
  color: #f2eee7;
  background: #050608;
  font-family: "Jost", sans-serif;
}

.lrs-unified-footer *,
.lrs-unified-footer *::before,
.lrs-unified-footer *::after {
  box-sizing: border-box;
}

.lrs-unified-footer a {
  color: inherit;
  text-decoration: none;
}

.lrs-unified-footer__main {
  width: 100%;
  max-width: 1510px;
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(180px, 0.72fr) minmax(230px, 0.9fr);
  gap: clamp(36px, 6vw, 108px);
  align-items: start;
  margin: 0 auto;
}

.lrs-unified-footer__brand {
  max-width: 360px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.lrs-unified-footer__brand-mark {
  width: 190px;
  height: 84px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.lrs-unified-footer__brand p {
  max-width: 52ch;
  margin: 14px 0 0;
  color: rgba(242, 238, 231, 0.56);
  font-size: 11px;
  line-height: 1.65;
}

.lrs-unified-footer__kicker {
  display: block;
  margin-bottom: 17px;
  color: rgba(242, 238, 231, 0.6);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lrs-unified-footer__links,
.lrs-unified-footer__contact {
  display: grid;
  align-content: start;
  gap: 11px;
  margin: 0;
}

.lrs-unified-footer__links a,
.lrs-unified-footer__contact a:not(.lrs-unified-footer__cta) {
  width: fit-content;
  color: rgba(242, 238, 231, 0.76);
  font-size: 12px;
  line-height: 1.55;
  transition: color 180ms ease;
}

.lrs-unified-footer__links a:hover,
.lrs-unified-footer__contact a:not(.lrs-unified-footer__cta):hover,
.lrs-unified-footer__legal a:hover,
.lrs-unified-footer__credit:hover {
  color: #fff;
}

.lrs-unified-footer__cta {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 11px 17px;
  border: 1px solid rgba(242, 238, 231, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.lrs-unified-footer__cta:hover {
  border-color: #f2eee7;
  color: #050608;
  background: #f2eee7;
}

.lrs-unified-footer__bottom {
  width: 100%;
  max-width: 1510px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 238, 231, 0.13);
  color: rgba(242, 238, 231, 0.56);
  font-size: 9px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.lrs-unified-footer__copyright {
  margin: 0;
}

.lrs-unified-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
}

.lrs-unified-footer__legal a {
  color: rgba(242, 238, 231, 0.55);
  transition: color 180ms ease;
}

.lrs-unified-footer__legal a + a::before {
  margin: 0 10px;
  color: rgba(242, 238, 231, 0.24);
  content: "|";
}

.lrs-unified-footer__credit {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
  color: rgba(242, 238, 231, 0.58) !important;
  white-space: nowrap;
  transition: color 180ms ease;
}

.lrs-unified-footer__credit svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

@media (max-width: 820px) {
  .lrs-unified-footer {
    padding: 42px 22px 20px;
  }

  .lrs-unified-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .lrs-unified-footer__brand {
    grid-column: 1 / -1;
  }

  .lrs-unified-footer__brand-mark {
    width: 168px;
    height: 74px;
  }

  .lrs-unified-footer__bottom {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 34px;
  }

  .lrs-unified-footer__legal {
    justify-content: flex-start;
  }

  .lrs-unified-footer__credit {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .lrs-unified-footer__main {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .lrs-unified-footer__brand {
    grid-column: auto;
  }

  .lrs-unified-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .lrs-unified-footer__links .lrs-unified-footer__kicker {
    grid-column: 1 / -1;
  }

  .lrs-unified-footer__legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }

  .lrs-unified-footer__legal a + a::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lrs-unified-footer a {
    transition: none;
  }
}
