/* =====================================================
   footer.css — Pied de page commun à toutes les pages
   Pastilles crème inclinées, comme les capsules du hero.
   Chargé en dernier dans <head>.
   ===================================================== */

.mv-footer {
  /* !important : certaines pages recopiaient en JS la couleur de la dernière
     section (parfois transparente) sur le footer */
  background: #e07a3a !important;
  /* Texte sombre : le blanc sur cet orange (2,99:1) ne passe pas le contraste minimum (4,5:1) */
  color: #111;
  padding: 90px 6vw 28px;
}
.mvf-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Adresse en grand ── */
.mvf-mail {
  position: relative;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.6rem, 4.6vw, 3.4rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  color: #111; text-decoration: none;
  overflow-wrap: anywhere;
}
.mvf-mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: #111; transform: scaleX(0.25); transform-origin: left;
  transition: transform .4s ease;
}
.mvf-mail:hover::after,
.mvf-mail:focus-visible::after { transform: scaleX(1); }

/* ── Navigation en pastilles ── */
.mvf-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 12px;
  margin: 54px 0 34px;
}
.mvf-nav a {
  display: inline-flex; align-items: center;
  height: 46px; padding: 0 24px;
  border-radius: 999px;
  background: #fde8c8; color: #a84d22;
  font-family: "Inconsolata", monospace; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
  transform: rotate(var(--tilt, -1.5deg));
  transition: transform .3s cubic-bezier(0.34,1.56,0.64,1), box-shadow .3s ease, background .25s ease;
}
.mvf-nav a:nth-child(2) { --tilt: 1.5deg; }
.mvf-nav a:nth-child(3) { --tilt: -1deg; }
.mvf-nav a:nth-child(4) { --tilt: 2deg; }
.mvf-nav a:nth-child(5) { --tilt: -2deg; }
.mvf-nav a:hover,
.mvf-nav a:focus-visible {
  transform: rotate(0deg) translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
  background: #fff5e6;
}
/* Page en cours : pastille noire */
.mvf-nav a[aria-current="page"] { background: #111; color: #fde8c8; }

/* ── Réseaux ── */
.mvf-social {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px;
}
.mvf-social a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #111; text-decoration: none;
  font-size: 0.92rem; opacity: 1;
  transition: opacity .2s ease, transform .3s cubic-bezier(0.34,1.56,0.64,1);
}
.mvf-social a:hover { opacity: 1; transform: translateY(-2px); }
.mvf-social svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ── Bas de page : logo discret à côté du © ── */
.mvf-bottom {
  width: 100%;
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px;
  margin-top: 60px; padding-top: 20px;
  border-top: 1px solid rgba(17,17,17,0.25);
  font-size: 0.78rem; text-align: left;
}
.mvf-logo { display: inline-flex; flex-shrink: 0; }
.mvf-logo img { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; display: block; }
.mvf-copy { opacity: 1; }
.mvf-legal { margin-left: auto; display: flex; gap: 18px; }
.mvf-legal a { color: #111; text-decoration: none; position: relative; }
.mvf-legal a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: #111; transition: width .3s ease;
}
.mvf-legal a:hover::after { width: 100%; }

@media (max-width: 640px) {
  .mv-footer { padding-top: 70px; }
  .mvf-nav { margin: 40px 0 28px; }
  .mvf-nav a { height: 42px; padding: 0 18px; font-size: 0.95rem; }
  .mvf-bottom { flex-direction: column; text-align: center; }
  .mvf-legal { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mvf-nav a, .mvf-nav a:hover { transform: none; transition: none; }
}
