/* Pied de page maison, servi sur tout le site par le mu-plugin moove-pied.
   Hors de .mv-page : les jetons y sont redeclares. Fond un cran plus
   profond que les bandes sombres du contenu pour asseoir la fin de page.
   Le bouton or y inaugure l'encre en lettre : 8,2 de contraste la ou le
   blanc herite de la production ne donne que 2,02. */

.mv-pied {
  --mv-or: #D9B24B;
  --mv-teal: #259C99;
  --mv-teal-vif: #58d3cf;
  --mv-rayon: 5px;
  --mv-titre: Lato, ui-sans-serif, system-ui, sans-serif;
  --mv-corps: Nunito, ui-sans-serif, system-ui, sans-serif;

  position: relative;
  background: #0d1219;
  color: #c2cad4;
  font-family: var(--mv-corps);
  overflow: hidden;
}
.mv-pied::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 64% at 8% 0%, rgba(37, 156, 153, 0.14) 0%, rgba(13, 18, 25, 0) 60%),
    radial-gradient(42% 54% at 94% 100%, rgba(217, 178, 75, 0.08) 0%, rgba(13, 18, 25, 0) 58%);
}

.mv-pied__enveloppe {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}
.mv-pied * { box-sizing: border-box; }
/* Reset a specificite NEUTRE (:where vaut zero) : un reset en
   .mv-pied p pese (0,1,1) et ecrase les marges des composants (0,1,0). */
.mv-pied :where(p, ul, li, address) { margin: 0; padding: 0; }
.mv-pied :where(ul) { list-style: none; }

/* ---- Le haut : la marque et la newsletter ---- */

.mv-pied__haut {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  column-gap: 88px;
  align-items: start;
  padding-block: 76px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mv-pied__nom {
  font-family: var(--mv-titre);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.mv-pied__base {
  margin-block-start: 18px;
  font-size: 16.5px;
  line-height: 27px;
  color: #a8b1bd;
  max-width: 34em;
}

.mv-pied__reseaux {
  display: flex;
  gap: 10px;
  margin-block-start: 30px;
}
.mv-pied__reseaux li { display: flex; }
.mv-pied__reseaux a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--mv-rayon);
  transition: border-color 260ms ease, background-color 260ms ease;
}
.mv-pied__picto {
  display: block;
  width: 18px;
  height: 18px;
  background: #c2cad4;
  -webkit-mask: var(--picto) center / contain no-repeat;
  mask: var(--picto) center / contain no-repeat;
  transition: background-color 260ms ease;
}
.mv-pied__reseaux a:hover { border-color: var(--mv-or); background: rgba(217, 178, 75, 0.08); }
.mv-pied__reseaux a:hover .mv-pied__picto { background: var(--mv-or); }
.mv-pied__reseaux a:focus-visible { outline: 2px solid var(--mv-teal); outline-offset: 2px; }

/* ---- La newsletter ---- */

.mv-pied .mv-pied__titre {
  font-family: var(--mv-corps);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mv-teal-vif);
  display: flex;
  align-items: center;
  gap: 14px;
}
.mv-pied .mv-pied__titre::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: none;
  background: linear-gradient(90deg, var(--mv-teal), var(--mv-or));
}

.mv-pied__newsletter .mv-pied__texte {
  margin-block-start: 24px;
  font-size: 16px;
  line-height: 26px;
  color: #c2cad4;
}

.mv-pied__message {
  margin-block-start: 14px;
  padding: 10px 14px;
  border-radius: var(--mv-rayon);
  font-size: 14.5px;
  line-height: 22px;
}
.mv-pied__message--ok { background: rgba(69, 199, 195, 0.12); border: 1px solid rgba(69, 199, 195, 0.4); color: #9fe8e5; }
.mv-pied__message--erreur { background: rgba(217, 106, 75, 0.12); border: 1px solid rgba(217, 106, 75, 0.45); color: #f0b7a6; }

.mv-pied__form { margin-block-start: 22px; }
.mv-pied__miel { position: absolute; left: -9999px; top: auto; }
.mv-pied__etiquette {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mv-pied__ligne { display: flex; gap: 10px; }
.mv-pied__champ {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--mv-rayon);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mv-corps);
  font-size: 15.5px;
  color: #ffffff;
  transition: border-color 260ms ease, background-color 260ms ease;
}
.mv-pied__champ::placeholder { color: #79828e; }
.mv-pied__champ:focus { outline: none; border-color: var(--mv-teal-vif); background: rgba(255, 255, 255, 0.09); }
.mv-pied__champ:focus-visible { outline: 2px solid var(--mv-teal); outline-offset: 2px; }

.mv-pied .mv-pied__soumettre {
  flex: none;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--mv-or);
  border-radius: var(--mv-rayon);
  background: var(--mv-or);
  font-family: var(--mv-corps);
  font-size: 16px;
  font-weight: 700;
  color: #10151c;
  cursor: pointer;
  transition: background-color 260ms ease, border-color 260ms ease, transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.mv-pied .mv-pied__soumettre:hover { background: #e3c060; border-color: #e3c060; transform: translateY(-2px); }
.mv-pied .mv-pied__soumettre:focus-visible { outline: 2px solid var(--mv-teal); outline-offset: 2px; }

.mv-pied__consentement {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  /* cible tactile du label : 6px de remplissage, ecart visuel 18px conserve */
  margin-block-start: 12px;
  padding-block: 6px;
  font-size: 13.5px;
  line-height: 21px;
  color: #8994a2;
  cursor: pointer;
}
.mv-pied__consentement input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--mv-teal);
  cursor: pointer;
}
.mv-pied__consentement a { color: #c2cad4; text-decoration: underline; text-underline-offset: 3px; }
.mv-pied__consentement a:hover { color: var(--mv-or); }

/* ---- Le milieu : quatre colonnes ---- */

.mv-pied__milieu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 40px;
  padding-block: 56px 64px;
}

/* La compensation tactile des liens (padding 10 / marge -10) est neutre
   pour le texte : l'ecart VISIBLE titre vers contenu vaut la marge, 24px
   partout, mesure au navigateur. */
.mv-pied__liens { margin-block-start: 24px; display: flex; flex-direction: column; gap: 14px; }
.mv-pied__liens a {
  display: inline-block;
  font-size: 15.5px;
  line-height: 24px;
  color: #c2cad4;
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--mv-or), var(--mv-or));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 260ms ease, background-size 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
  /* cible tactile etendue, remplissage compense */
  padding-block: 10px;
  margin-block: -10px;
}
.mv-pied__liens a:hover { color: #ffffff; background-size: 100% 1px; }
.mv-pied__liens a:focus-visible { outline: 2px solid var(--mv-teal); outline-offset: 2px; }

.mv-pied__contact { margin-block-start: 24px; }
.mv-pied__contact a {
  display: inline-block;
  font-family: var(--mv-titre);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: #ffffff;
  text-decoration: none;
  padding-block: 10px;
  margin-block: -10px;
  transition: color 260ms ease;
}
.mv-pied__contact a:hover { color: var(--mv-or); }

.mv-pied__adresse {
  margin-block-start: 22px;
  font-style: normal;
  font-size: 15.5px;
  line-height: 25px;
  color: #a8b1bd;
}

.mv-pied__lien-contact { margin-block-start: 24px; }
.mv-pied__lien-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mv-teal-vif);
  text-decoration: none;
  padding-block: 12px;
  margin-block: -12px;
  transition: color 260ms ease;
}
.mv-pied__lien-contact svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.mv-pied__lien-contact a:hover { color: var(--mv-or); }
.mv-pied__lien-contact a:hover svg { transform: translateX(4px); }

/* Le logo du financeur vit sur une plaque claire : il n'existe pas en
   version fond sombre. */
.mv-pied__plaque {
  margin-block-start: 24px;
  background: #ffffff;
  border-radius: var(--mv-rayon);
  padding: 12px 16px;
  max-width: 220px;
}
.mv-pied__plaque img { display: block; width: 100%; height: auto; }
.mv-pied__soutien {
  margin-block-start: 16px;
  font-size: 13.5px;
  line-height: 21px;
  color: #8994a2;
}

/* ---- La barre basse, sous le filet signature ---- */

.mv-pied__bas {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-block: 26px 30px;
  font-size: 14px;
  line-height: 22px;
  color: #8994a2;
}
.mv-pied__bas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mv-teal), var(--mv-or));
}

@media (prefers-reduced-motion: reduce) {
  .mv-pied__liens a, .mv-pied__picto, .mv-pied__reseaux a,
  .mv-pied .mv-pied__soumettre, .mv-pied__lien-contact svg { transition: none; }
  .mv-pied .mv-pied__soumettre:hover { transform: none; }
  .mv-pied__lien-contact a:hover svg { transform: none; }
}

@media (max-width: 1100px) {
  .mv-pied__haut { grid-template-columns: minmax(0, 1fr); row-gap: 44px; padding-block: 60px 48px; }
  .mv-pied__milieu { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 44px 52px; }
}
@media (max-width: 640px) {
  .mv-pied__haut { padding-block: 52px 40px; }
  .mv-pied__milieu { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 40px 44px; }
  .mv-pied__ligne { flex-direction: column; }
  .mv-pied .mv-pied__soumettre { width: 100%; }
  .mv-pied__bas { flex-direction: column; gap: 6px; }
}

/* La signature de l agence, au bas du pied. Le lien s eclaircit par rapport
   au texte qui l entoure pour se signaler comme lien : 10,1 sur le fond du
   pied, contre 5,7 pour le texte courant. */
.mv-pied .mv-pied__bas .mv-pied__signature {
  margin: 0;
}
.mv-pied .mv-pied__bas a.mv-pied__lien--signature {
  color: #c2cad4;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 240ms ease;
}
.mv-pied .mv-pied__bas a.mv-pied__lien--signature:hover,
.mv-pied .mv-pied__bas a.mv-pied__lien--signature:focus-visible {
  color: #ffffff;
}
