/* Pied de page partagé : surface de marque, hors du conteneur principal. */
.site-footer {
  --footer-secondary: #c4cdbd;
  display: block;
  margin-top: var(--space);
  padding: var(--space) 0 24px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: var(--section-inset);
}

.site-footer-grid > * { min-width: 0; }
.site-footer .logo { width: fit-content; min-height: 44px; color: var(--paper); }
.site-footer-name { margin: 14px 0 20px; font-size: 14px; color: var(--footer-secondary); }
.site-footer-positioning { max-width: 32ch; margin: 0; color: var(--footer-secondary); line-height: 1.7; }
.site-footer .site-footer-heading { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer-navigation a,
.site-footer-call,
.site-footer-blog {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  padding-block: 10px;
  color: var(--footer-secondary);
  text-decoration: none;
  line-height: 1.5;
  transition: color .18s ease;
}

.site-footer-navigation a:hover,
.site-footer-call:hover,
.site-footer-blog:hover { color: var(--lime); text-decoration: underline; }
.site-footer .site-footer-diagnostic { max-width: 100%; padding-inline: 20px; font-size: 15px; text-align: center; }
.site-footer-diagnostic span { min-width: 0; }
.site-footer-diagnostic svg,
.site-footer-call svg { width: 18px; height: 18px; flex: 0 0 18px; }
.site-footer-call { gap: 12px; margin-top: 8px; color: var(--paper); }
.site-footer-blog { margin-top: 20px; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; margin-top: var(--space); padding-top: 22px; border-top: 1px solid #495143; color: var(--footer-secondary); }
.site-footer-bottom p { margin: 0; font-size: 12px; line-height: 1.6; }
.site-footer ::selection { background: var(--lime); color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .site-footer a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
}

@media (max-width: 760px) {
  .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-footer-name { margin-bottom: 16px; }
  .site-footer-positioning { max-width: 34ch; }
  .site-footer .site-footer-diagnostic { width: 100%; padding: 14px 12px; gap: 8px; }
  .site-footer-call { gap: 8px; }
  .site-footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a { transition: none; }
}
.site-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer-legal a { color: inherit; font-size: 12px; line-height: 1.6; text-decoration: none; }
.site-footer-legal a:hover { color: var(--lime); text-decoration: underline; }
@media (max-width: 760px) {
  .site-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
}
