/* ============================================================
   ScolerAI — foot.css
   The site footer, shared by the home deck (index.html) and the About
   page (about.html). Extracted from deck.css on 2026-09-22 so the two
   pages render one footer from one file.

   Deliberately thin: brand, one tour link, the social row, the language
   switcher and the legal links. No product / resources / legal columns —
   a footer of link farms competes with the page's one ask.

   It expects home.css before it (the :root tokens, `.lang-switcher`) and
   sits over the fixed photograph, which is what the frost is for.
   ============================================================ */

.foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--on-dark-edge);
  background: rgba(10, 10, 18, 0.62);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 40px 24px 28px;
}
.foot__in {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__mark { width: 28px; height: 28px; border-radius: 8px; }
.foot__word {
  font-family: Poppins, Inter, sans-serif;
  font-size: 16px;
  color: var(--on-dark);
  letter-spacing: -0.01em;
}
.foot__tour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  border: 1px solid var(--on-dark-edge);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}
.foot__tour:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.36); }
.foot__spacer { flex: 1 1 auto; }

.foot__social { display: flex; gap: 8px; }
.foot__social a {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--on-dark-muted);
  border: 1px solid var(--on-dark-edge);
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}
.foot__social a:hover {
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.36);
}
.foot__social a:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }

/* The language switcher lives here now, not in the chrome. It keeps its
   .lang-switcher classes verbatim — i18n.js binds to those, so moving
   the markup needed no JavaScript change. Only the dropdown flips to
   open UPWARD, because there is nothing below it. */
.foot .lang-switcher__dropdown { top: auto; bottom: calc(100% + 8px); }

.foot__legal {
  max-width: 1080px;
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.52);
}
/* Wraps: with four links, French ("Politique de Confidentialité",
   "Conditions d'Utilisation") does not fit one 390px row, and an unwrapped
   flex row breaks each label mid-phrase instead. */
.foot__legal-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__legal a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.foot__legal a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }


/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 900px) {
  .foot__in { gap: 18px; }
  .foot__spacer { display: none; }
  .foot__legal-links { margin-left: 0; }
}
