/* Signature immobilière commune à toutes les pages. */
/* Navigation sur une seule ligne, au-dessus de la signature. */
footer .wrap,
footer .footer-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}
footer .wrap > nav,
footer .footer-brand-row > nav {
  display: flex;
  order: -1;
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
  justify-content: safe center;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 12px;
  font-size: 12px;
  text-align: center;
}
footer nav a {
  flex: none;
  white-space: nowrap;
  text-decoration: none;
  padding-block: 8px;
}
footer nav:focus-visible,
footer nav a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -2px;
}
footer nav a:hover { color: var(--gold-light); }
footer nav .nav-separator { flex: none; color: var(--gold-light); }

footer .footer-remax {
  display: block;
  width: auto;
  max-width: 100%;
  height: 24px;
  flex: 0 0 auto;
  margin-left: auto;
  opacity: 1;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--maxw, 1180px);
  margin-inline: auto;
}
body.confirmation-page {
  grid-template-rows: 1fr auto;
}
.confirmation-footer {
  box-sizing: border-box;
  width: 100%;
  padding: 28px clamp(20px, 5vw, 56px);
  background: var(--ink-2, #322f2d);
}

/* Logos fournis pour la signature du pied de page. */
footer .footer-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
footer .footer-caroline {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  text-decoration: none;
}
footer .footer-caroline img {
  display: block;
  height: 36px;
  width: auto;
  opacity: 1;
}
footer .footer-brand-caption {
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light, #f7f7f5);
  white-space: nowrap;
  opacity: .9;
}
footer .footer-brand-divider {
  width: 1px;
  height: 26px;
  background: #f7f7f526;
}
footer .footer-mission {
  display: block;
  width: auto;
  max-width: 100%;
  height: 36px;
  opacity: 1;
}

/* Une signature limitée aux trois logos existants. */
footer :is(.wrap, .footer-brand-row) {
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
}
footer .footer-brands { justify-content: center; gap: clamp(24px, 5vw, 64px); }
footer :is(.footer-caroline img, .footer-mission) { height: 72px; width: auto; max-width: 100%; object-fit: contain; }
footer .footer-remax { height: 28px; margin: 0; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 560px) {
  footer :is(.wrap, .footer-brand-row) { flex-direction: column; gap: 28px; }
  footer .footer-brands { gap: 24px; }
  footer :is(.footer-caroline img, .footer-mission) { height: 56px; }
  footer .footer-remax { height: 24px; }
}

/* Logos blancs sur un bandeau charbon. */
:root body footer {
  background: var(--ink);
  color: var(--text-light);
}
footer .footer-remax {
  background: transparent;
  padding: 0;
  max-width: 100%;
}
footer .footer-caroline {
  background: transparent;
  padding: 0;
  margin-top: 0;
  border-radius: 0;
}
