/**
 * BEM footer block only — duplicated from css/design-standalone.css section 10.
 * Load on Bootstrap /fr pipelines that use main.min.css but NOT design-standalone.css
 * (standalone’s global `*` reset conflicts with Bootstrap; see design-fr-tokens.css).
 * Do not load when design-standalone.css is already linked — it already ships these rules.
 */

.footer {
  background: var(--surface-night);
  color: var(--text-slate);
  font-family: var(--sans);
  padding: clamp(56px, 8vw, 84px) 0 clamp(56px, 8vw, 84px);
  border-top: 1px solid var(--hairline-on-slate);
  -webkit-font-smoothing: antialiased;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer__brand-logo-link {
  display: block;
  line-height: 0;
}

.footer__brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.footer__brand-name {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-on-night-strong);
}

.footer__brand-text {
  margin: 0;
  max-width: 420px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-slate);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer__line {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-slate);
}

.footer__mail-wrap {
  margin-top: 6px;
}

.footer__mail {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-on-night-link);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__mail:hover {
  color: var(--text-on-night-hover);
}

.footer__heading {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: var(--fw-sans-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-slate);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text-on-night-link);
}

/* Same as design-standalone — beat `.me-petermann a` on Bootstrap /fr pages */
body.me-petermann .footer a.footer__mail {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-on-night-link);
  text-decoration: none;
  transition: color 0.2s;
}

body.me-petermann .footer a.footer__mail:hover,
body.me-petermann .footer a.footer__mail:focus {
  color: var(--text-on-night-hover);
}

.footer__bar {
  border-top: 1px solid var(--hairline-on-slate-strong);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.78);
}

.footer__copy {
  flex-shrink: 0;
}

.footer__legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__legal-meta a {
  color: rgba(148, 163, 184, 0.88);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal-meta a:hover {
  color: var(--text-on-night-link);
}

.footer__sep {
  opacity: 0.55;
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 28px;
  }
}
