/* ============================================================
   EUNO × MUNDAÏ — Pied de page (violet)
   Grille principale + newsletter + liens + réseaux.
   ============================================================ */
.euno-footer {
  background: var(--color-violet);
  color: #fff;
}
.euno-footer a { color: rgba(255, 247, 241, 0.9); text-decoration: none; font-size: 14px; }
.euno-footer a:hover { color: #fff; text-decoration: underline; }
.euno-footer .euno-footer-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.euno-footer .euno-footer-sep { border-bottom: 1px solid rgba(255, 247, 241, 0.22); }

/* Ligne principale : grille (comme le design) plutôt que les colonnes flex de
   WordPress, qui débordaient (40%+20%+40% + gap) et faisaient passer les liens
   à la ligne. La structure des blocs natifs reste inchangée. */
.euno-footer > .euno-footer-sep {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) auto minmax(240px, 1fr);
  gap: 24px;
  align-items: center;
}
.euno-footer > .euno-footer-sep > .wp-block-column {
  flex-basis: auto !important;
  width: auto !important;
  min-width: 0;
}
/* Les 3 catégories de liens : grille de 3 colonnes égales. */
.euno-footer .euno-footer-sep .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 24px;
}
@media (max-width: 1080px) {
  .euno-footer > .euno-footer-sep {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .euno-footer .euno-footer-sep .wp-block-columns {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

/* Newsletter — champ e-mail. */
.euno-footer input[type="email"] {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font: 14px var(--font-body);
  background: #fff;
  color: var(--color-text);
  caret-color: var(--color-fuchsia);
  outline: none;
}
.euno-footer input[type="email"]::placeholder {
  color: var(--color-text);
  opacity: 1;
}

/* Newsletter — bouton. Le formulaire réutilise .euno-form ; on redéclare le
   bouton avec assez de spécificité pour battre la règle générique
   .euno-form button[type="submit"] (fond fuchsia, pleine largeur), sinon le
   bouton s'étirait, écrasait le champ et affichait les couleurs inversées.
   Attendu (design) : fond blanc, texte fuchsia, largeur auto, aligné au champ. */
.euno-footer .euno-form button[type="submit"].euno-nl-btn {
  width: auto;
  margin-top: 0;
  background: #fff;
  color: var(--color-fuchsia);
  border: none;
  font: 600 14px var(--font-body);
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.euno-footer .euno-nl-btn:hover {
  color: var(--color-fuchsia-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Réseaux sociaux. */
.euno-footer .euno-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: transform .2s, background .2s;
}
.euno-footer .euno-social:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.24); }
