.footer {
  position: relative;
  background: var(--night);
  color: var(--muted-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 56px;
  padding: 40px 0 28px;
}

.footer-brand .brand-logo {
  width: 62px;
  height: 62px;
  margin-bottom: var(--s-4);
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: var(--fs-lg);
}

.footer-brand p {
  margin: 8px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 360px;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h4 {
  margin: 0 0 8px;
  color: var(--gold);
  font: 600 var(--fs-sm) var(--sans);
}

.footer-col a,
.footer-col .text-link {
  color: var(--muted-light);
  font-size: var(--fs-sm);
  text-decoration: none;
  justify-self: start;
  transition: color var(--t-quick) var(--ease-out);
}

.footer-col a:hover,
.footer-col .text-link:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 20px 0 26px;
  border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--muted-light);
}

.legal-dialog {
  width: min(560px, calc(100% - 32px));
  padding: var(--s-6);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-dark-lg);
}

.legal-dialog::backdrop {
  background: rgba(28, 22, 17, 0.55);
}

.legal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-2);
}

.legal-dialog h3 {
  font-size: var(--fs-xl);
}

.legal-dialog p {
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--fs-base);
}

.dialog-close {
  flex-shrink: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    color var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}

.dialog-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.back-to-top {
  position: fixed;
  bottom: 152px;
  right: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow-dark);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-base) var(--ease-out), visibility var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), background var(--t-quick) var(--ease-out);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--night);
  color: var(--gold);
  border-color: var(--night);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.fab {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: white;
  box-shadow: var(--shadow-dark);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}

.fab svg {
  width: 24px;
  height: 24px;
}

.fab-whatsapp {
  background: #25d366;
}

.fab-phone {
  background: var(--gold);
  color: var(--night);
}

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));

  background: rgba(28, 22, 17, 0.96);
  border-top: 1px solid rgba(201, 163, 95, 0.3);
}

.mcta-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  color: white;
}

.mcta-icon svg {
  width: 22px;
  height: 22px;
}

.mcta-wa {
  background: #25d366;
}

.mcta-tel {
  background: var(--gold);
  color: var(--night);
}

.mcta-rdv {
  flex: 1;
  min-height: 46px;
  padding: 0 16px;
}

html.intro-pending body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: #0b0907;
}
