/* Footer DECOENLIGNE — variante A */
.deo-footer,
.deo-footer * {
  box-sizing: border-box;
}

.deo-footer {
  --deo-footer-bg: #121212;
  --deo-footer-bg-deep: #090909;
  --deo-footer-text: #fffaf0;
  --deo-footer-muted: #d2cabd;
  --deo-footer-gold: #d2aa4c;
  --deo-footer-border: rgba(210, 170, 76, .38);
  --deo-footer-width: 1440px;

  width: 100%;
  color: var(--deo-footer-text);
  background: var(--deo-footer-bg);
  font-family: Arial, Helvetica, sans-serif;
}

.deo-footer a {
  color: var(--deo-footer-text);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.deo-footer a:hover,
.deo-footer a:focus-visible {
  color: var(--deo-footer-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.deo-footer a:focus-visible {
  outline: 2px solid var(--deo-footer-gold);
  outline-offset: 4px;
}

.deo-footer__main {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(240px, 1fr) minmax(240px, .9fr);
  gap: clamp(38px, 5vw, 76px);
  width: min(calc(100% - 64px), var(--deo-footer-width));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 82px) 0;
}

.deo-footer__main > * + * {
  padding-left: clamp(30px, 3.4vw, 54px);
  border-left: 1px solid var(--deo-footer-border);
}

.deo-footer h2 {
  margin: 0 0 22px;
  color: var(--deo-footer-gold);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(20px, 1.4vw, 24px) !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  line-height: 1.2;
}

.deo-footer p {
  margin: 0 0 16px;
  padding-right: 0;
  padding-left: 0;
  color: var(--deo-footer-muted);
  font-size: 16px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.deo-footer__brand > h2 {
  display: block !important;
  width: 100% !important;
  font-family: Arial, Helvetica, sans-serif !important;
  margin-bottom: 30px;
  font-size: clamp(32px, 2.8vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: .07em !important;
  text-align: center !important;
}

.deo-footer__brand p {
  width: 100%;
  max-width: 580px;
  padding-right: 24px !important;
  padding-left: 24px !important;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.8;
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}

.deo-footer__brand strong {
  color: var(--deo-footer-text);
  font-weight: 700;
}

.deo-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deo-footer__links li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(210, 170, 76, .14);
}

.deo-footer__links li:first-child {
  padding-top: 0;
}

.deo-footer__links a {
  display: inline-block;
  font-size: 15px;
  line-height: 1.45;
}

.deo-footer__guide {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--deo-footer-gold) !important;
  font-weight: 700;
}

.deo-footer__guide span {
  font-size: 19px;
  transition: transform .2s ease;
}

.deo-footer__guide:hover span,
.deo-footer__guide:focus-visible span {
  transform: translateX(4px);
}

.deo-footer__consultant {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--deo-footer-border);
}

.deo-footer__consultant h2 {
  margin-bottom: 16px;
}

.deo-footer__consultant p {
  margin-bottom: 7px;
}

.deo-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(32px, calc((100% - var(--deo-footer-width)) / 2));
  border-top: 1px solid var(--deo-footer-border);
  background: var(--deo-footer-bg-deep);
}

.deo-footer__bottom p {
  margin: 0;
  color: #bdb5a8;
  font-size: 13px;
  line-height: 1.5;
}

.deo-footer__bottom a {
  color: var(--deo-footer-gold);
}

@media only screen and (max-width: 980px) {
  .deo-footer__brand > h2 {
    font-size: clamp(24px, 4.5vw, 34px) !important;
    letter-spacing: .045em !important;
  }

  .deo-footer__main {
    grid-template-columns: 1fr 1fr;
    width: min(calc(100% - 48px), var(--deo-footer-width));
  }

  .deo-footer__brand {
    grid-column: 1 / -1;
    padding-right: clamp(16px, 3vw, 32px);
    padding-left: clamp(16px, 3vw, 32px);
  }

  .deo-footer__brand p {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: justify !important;
    text-justify: inter-word;
  }

  .deo-footer__main > * + * {
    padding-left: 0;
    border-left: 0;
  }

  .deo-footer__section {
    padding-top: 34px !important;
    border-top: 1px solid var(--deo-footer-border) !important;
  }
}

@media only screen and (max-width: 640px) {
  .deo-footer__brand > h2 {
    max-width: 100%;
    font-size: clamp(18px, 6.2vw, 27px) !important;
    letter-spacing: .025em !important;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .deo-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    width: min(calc(100% - 36px), var(--deo-footer-width));
    padding: 42px 0;
  }

  .deo-footer__brand {
    grid-column: auto;
    min-width: 0;
    padding-right: clamp(14px, 4vw, 22px);
    padding-left: clamp(14px, 4vw, 22px);
  }

  .deo-footer__brand p {
    max-width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
  }

  .deo-footer__main > * + * {
    padding-top: 30px;
    border-top: 1px solid var(--deo-footer-border);
  }

  .deo-footer__bottom {
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deo-footer a,
  .deo-footer__guide span {
    transition: none;
  }
}
