/*
 * Identite eds.fr. Palette de marque conservee (#302947 encre/accent,
 * #ffffff papier). Le logo professionnel n'est pas redessine ni recolore :
 * il est place sur une plaque blanche compacte dans le pied violet.
 */
html body {
  --dn-id-ink: #302947;
  --dn-id-paper: #ffffff;
  --dn-id-accent: #302947;
  --dn-id-rule: color-mix(in srgb, #ffffff 22%, transparent);
  --dn-id-display: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --dn-id-body: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

html body .dn-id-foot--eds {
  background: var(--dn-id-ink);
  color: #ffffff;
  padding: 28px 0 18px;
  border-top: 3px solid #ffffff;
}

html body .dn-id-foot__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  justify-content: space-between;
}

html body .dn-id-foot__band--brand {
  align-items: center;
}

html body .dn-id-foot__band--house {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--dn-id-rule);
}

html body .dn-id-foot--eds .dn-id-brand {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 2px;
}

html body .dn-id-foot--eds .dn-id-brand img {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  min-width: 140px;
  max-width: min(240px, 60vw);
}

html body .dn-id-foot__sections,
html body .dn-id-foot__house,
html body .dn-id-foot__base nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

html body .dn-id-foot--eds a {
  color: #ffffff;
  text-decoration: none;
  font: 600 0.92rem/1.35 var(--dn-id-body);
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}

html body .dn-id-foot--eds a:hover,
html body .dn-id-foot--eds a:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
  outline: none;
}

html body .dn-id-foot--eds a:focus-visible,
html body .dn-id-foot--eds button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

html body .dn-id-foot__ads {
  margin: 0;
  max-width: 40rem;
  font: 400 0.92rem/1.45 var(--dn-id-body);
  color: color-mix(in srgb, #ffffff 84%, transparent);
}

html body .dn-id-foot__ads strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--dn-id-display);
  font-weight: 700;
  color: #ffffff;
}

html body .dn-id-foot__ads a {
  display: inline-block;
  margin-left: 6px;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body .dn-id-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--dn-id-rule);
  font: 400 0.82rem/1.45 var(--dn-id-body);
  color: color-mix(in srgb, #ffffff 82%, transparent);
}

html body .dn-id-foot__base p {
  margin: 0;
}

html body .dn-id-foot--eds button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: #ffffff;
  cursor: pointer;
  font: 600 0.82rem/1.45 var(--dn-id-body);
  border-bottom: 1px solid transparent;
}

html body .dn-id-foot--eds button:hover {
  border-bottom-color: #ffffff;
}

html body .dn-recaptcha-attribution {
  margin: 14px 0 0;
  font: 400 0.72rem/1.45 var(--dn-id-body);
  color: color-mix(in srgb, var(--dn-id-ink) 72%, transparent);
}

html body .dn-recaptcha-attribution a {
  color: inherit;
  text-decoration: underline;
}

/*
 * Pont de survol du mega-menu desktop : couvre le vide entre le declencheur et
 * le panneau sans le deplacer. Le header desktop est masque sous 941 px.
 */
html body .navigation .menu > li.item-mega-menu > .sub-menu.mega-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  pointer-events: auto;
}

@media (max-width: 720px) {
  html body .dn-id-foot--eds {
    padding: 22px 0 16px;
  }
  html body .dn-id-foot__band {
    justify-content: flex-start;
    gap: 14px 20px;
  }
  html body .dn-id-foot--eds .dn-id-brand img {
    min-width: 120px;
    max-width: 66vw;
  }
}
