/* ==========================================================
   Simphonie — Footer Experience V2
========================================================== */

#footer {
  margin: 0;
  padding: 0;
  color: var(--sc-color-ink);
  background: var(--sc-color-cream);
}

#footer .sc-footer {
  --sc-footer-background: var(--sc-color-cream);
  --sc-footer-surface: var(--sc-color-nude-soft);
  --sc-footer-surface-strong: var(--sc-color-nude);
  --sc-footer-border: rgb(var(--sc-rgb-ink) / 0.1);
  --sc-footer-link: rgb(var(--sc-rgb-ink) / 0.64);
  --sc-footer-link-hover: var(--sc-color-rose-deep);

  overflow: hidden;
  color: var(--sc-color-ink);
  background: var(--sc-footer-background);
  border-top: 1px solid var(--sc-footer-border);
}

#footer .sc-footer,
#footer .sc-footer *,
#footer .sc-footer *::before,
#footer .sc-footer *::after {
  box-sizing: border-box;
}

#footer .sc-footer__container {
  width: var(--sc-container);
  margin-inline: auto;
}

/* Newsletter ------------------------------------------------ */

#footer .sc-footer__newsletter {
  color: var(--sc-color-ink);
  background: var(--sc-footer-surface);
  border-bottom: 1px solid var(--sc-footer-border);
}

#footer .sc-footer__newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 92px);
  align-items: center;
  padding-block: clamp(34px, 3.5vw, 58px);
}

#footer .sc-footer__newsletter-copy {
  max-width: 650px;
}

#footer .sc-footer__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--sc-color-rose-deep);
  font-size: var(--sc-font-size-xs);
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#footer .sc-footer__newsletter h2 {
  max-width: 720px;
  margin: 0;
  color: var(--sc-color-ink);
  font-size: clamp(31px, 3.1vw, 54px);
  font-weight: var(--sc-font-weight-regular);
  line-height: 1.06;
  letter-spacing: -0.028em;
}

#footer .sc-footer__newsletter-copy > p {
  max-width: 610px;
  margin: 14px 0 0;
  color: var(--sc-color-text-muted);
  font-size: clamp(14px, 0.9vw, 17px);
  line-height: 1.55;
}

#footer .sc-footer__newsletter-form,
#footer .sc-newsletter {
  min-width: 0;
}

#footer .sc-newsletter__form {
  margin: 0;
}

#footer .sc-newsletter__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  padding: 7px;
  background: rgb(var(--sc-rgb-surface) / 0.88);
  border: 1px solid rgb(var(--sc-rgb-ink) / 0.15);
  border-radius: var(--sc-radius-pill);
  box-shadow: 0 18px 56px rgb(var(--sc-rgb-ink) / 0.07);
  transition:
    border-color var(--sc-transition-fast),
    box-shadow var(--sc-transition-fast),
    background-color var(--sc-transition-fast);
}

#footer .sc-newsletter__field:focus-within {
  background: var(--sc-color-white);
  border-color: var(--sc-color-rose-deep);
  box-shadow:
    0 0 0 4px rgb(var(--sc-rgb-primary) / 0.13),
    0 20px 60px rgb(var(--sc-rgb-ink) / 0.09);
}

#footer .sc-newsletter__input {
  width: 100%;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 20px;
  color: var(--sc-color-ink);
  font: inherit;
  font-size: 15px;
  background: transparent;
  border: 0;
  border-radius: var(--sc-radius-pill);
  outline: 0;
  box-shadow: none;
}

#footer .sc-newsletter__input::placeholder {
  color: var(--sc-color-text-soft);
  opacity: 1;
}

#footer .sc-newsletter__submit {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  color: var(--sc-color-white);
  font: inherit;
  font-size: 11px;
  font-weight: var(--sc-font-weight-bold);
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  background: var(--sc-color-rose-deep);
  border: 1px solid var(--sc-color-rose-deep);
  border-radius: var(--sc-radius-pill);
  box-shadow: none;
  transition:
    color var(--sc-transition-fast),
    background-color var(--sc-transition-fast),
    border-color var(--sc-transition-fast),
    transform var(--sc-transition-fast);
}

#footer .sc-newsletter__submit:hover {
  color: var(--sc-color-white);
  background: var(--sc-color-ink);
  border-color: var(--sc-color-ink);
  transform: translateY(-1px);
}

#footer .sc-newsletter__submit:focus-visible {
  outline: 2px solid var(--sc-color-ink);
  outline-offset: 3px;
}

#footer .sc-newsletter__submit-arrow {
  font-size: 16px;
  font-weight: var(--sc-font-weight-regular);
  line-height: 1;
  transition: transform var(--sc-transition-fast);
}

#footer .sc-newsletter__submit:hover .sc-newsletter__submit-arrow {
  transform: translateX(3px);
}

#footer .sc-newsletter__notice {
  margin: 0 0 15px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid currentColor;
  border-radius: 12px;
}

#footer .sc-newsletter__notice--success {
  color: var(--sc-color-success-strong);
  background: rgb(var(--sc-rgb-success-soft) / 0.1);
}

#footer .sc-newsletter__notice--error {
  color: var(--sc-color-primary-deep);
  background: rgb(var(--sc-rgb-primary-alert) / 0.1);
}

#footer .sc-newsletter__conditions,
#footer .sc-newsletter__consent {
  margin-top: 14px;
  color: var(--sc-color-text-muted);
  font-size: 11px;
  line-height: 1.65;
}

#footer .sc-newsletter__conditions p,
#footer .sc-newsletter__consent p {
  margin: 0;
}

#footer .sc-newsletter__conditions a,
#footer .sc-newsletter__consent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#footer .sc-newsletter__consent label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
}

#footer .sc-newsletter__consent input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px;
}

/* Main footer ------------------------------------------------ */

#footer .sc-footer__main {
  color: var(--sc-color-ink);
  background: var(--sc-footer-background);
}

#footer .sc-footer__main-inner {
  padding-block: clamp(72px, 7vw, 126px);
}

#footer .sc-footer__brand {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

#footer .sc-footer__brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--sc-color-ink);
  text-decoration: none;
}

#footer .sc-footer__brand-kicker {
  margin-bottom: 14px;
  color: var(--sc-color-rose-deep);
  font-size: 10px;
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

#footer .sc-footer__brand-name {
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: var(--sc-font-weight-regular);
  line-height: 0.95;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#footer .sc-footer__brand-text {
  max-width: 600px;
  margin: 28px auto 0;
  color: var(--sc-color-text-muted);
  font-size: clamp(14px, 0.9vw, 17px);
  line-height: 1.8;
}

#footer .sc-footer__modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(42px, 5vw, 88px);
  min-width: 0;
  margin-top: clamp(58px, 6vw, 96px);
  padding-top: clamp(48px, 5vw, 76px);
  border-top: 1px solid var(--sc-footer-border);
}

#footer .sc-footer-linklists {
  display: contents;
}

#footer .sc-footer__modules > *,
#footer .sc-footer__modules > .col,
#footer .sc-footer__modules > [class*="col-"] {
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}

#footer .sc-footer__modules .block,
#footer .sc-footer__modules .links,
#footer .sc-footer__modules .wrapper,
#footer .sc-footer__modules .sc-footer-module {
  min-width: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#footer .sc-footer__modules .block-title,
#footer .sc-footer__modules .myaccount-title,
#footer .sc-footer__modules h3,
#footer .sc-footer__modules h4,
#footer .sc-footer__modules h5,
#footer .sc-footer__modules .title .h3,
#footer .sc-footer-module__title {
  display: block;
  margin: 0 0 24px;
  padding: 0;
  color: var(--sc-color-ink);
  font-size: clamp(16px, 1vw, 17px);
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
}

#footer .sc-footer__modules .block-title span,
#footer .sc-footer__modules .myaccount-title a,
#footer .sc-footer-module__title-link {
  color: inherit;
  text-decoration: none;
}

#footer .sc-footer__modules .title,
#footer .sc-footer__modules .navbar-toggler,
#footer .sc-footer__modules .collapse-icons {
  background: transparent;
}

#footer .sc-footer__modules .block-content,
#footer .sc-footer__modules .collapse,
#footer .sc-footer__modules .collapsing {
  display: block !important;
  width: auto;
  height: auto !important;
  max-height: none !important;
  color: inherit;
  visibility: visible !important;
  background: transparent;
}

#footer .sc-footer__modules ul,
#footer .sc-footer__modules ol,
#footer .sc-footer-module__list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .sc-footer__modules li,
#footer .sc-footer-module__item {
  margin: 0;
  padding: 0;
}

#footer .sc-footer__modules a,
#footer .sc-footer-module__link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--sc-footer-link);
  font-size: 13px;
  line-height: 1.62;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color var(--sc-transition-fast),
    transform var(--sc-transition-fast);
}

#footer .sc-footer__modules a:hover,
#footer .sc-footer-module__link:hover {
  color: var(--sc-footer-link-hover);
  transform: translateX(2px);
}

#footer .sc-footer__modules a:focus-visible,
#footer .sc-footer__brand-link:focus-visible,
#footer .sc-footer-module__link:focus-visible {
  outline: 2px solid var(--sc-color-rose-deep);
  outline-offset: 5px;
}

#footer .sc-footer__modules .contact-rich:empty,
#footer .sc-footer__modules .contact-rich:empty + hr {
  display: none;
}

#footer .sc-footer__modules hr {
  margin: 0 0 18px;
  border: 0;
  border-top: 1px solid var(--sc-footer-border);
}

#footer .sc-footer__modules .part,
#footer .sc-footer__modules .contact-rich,
#footer .sc-footer__modules address,
#footer .sc-footer__modules p,
#footer .sc-footer-contact__address,
#footer .sc-footer-contact__location,
#footer .sc-footer-contact__details {
  margin: 0;
  color: var(--sc-footer-link);
  font-size: 13px;
  font-style: normal;
  line-height: 1.82;
}

#footer .sc-footer-contact__company {
  margin-bottom: 8px !important;
  color: var(--sc-color-ink) !important;
  font-weight: var(--sc-font-weight-semibold);
}

#footer .sc-footer-contact__line {
  margin-top: 10px !important;
}

#footer .sc-footer-contact__details {
  margin-top: 14px;
}

#footer .sc-footer__modules .part a,
#footer .sc-footer__modules .contact-rich a,
#footer .sc-footer__modules address a,
#footer .sc-footer__modules p a,
#footer .sc-footer-contact__link {
  color: var(--sc-color-ink);
}

#footer .sc-footer-social__list,
#footer .sc-footer__modules .block-social-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer .sc-footer-social__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

#footer .sc-footer__modules .block-social-links a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: var(--sc-radius-none);
}

#footer .sc-footer__after {
  margin-top: clamp(48px, 5vw, 76px);
  padding-top: clamp(38px, 4vw, 56px);
  border-top: 1px solid var(--sc-footer-border);
}

/* Bottom bar ------------------------------------------------- */

#footer .sc-footer__payments {
  color: var(--sc-color-ink);
  background: var(--sc-footer-background);
  border-top: 1px solid var(--sc-footer-border);
}

#footer .sc-footer__payments-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding-block: 22px;
}

#footer .sc-footer__payments-copy {
  min-width: 0;
}

#footer .sc-footer__payments-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

#footer .sc-footer__payments-eyebrow {
  display: block;
  margin: 0 0 5px;
  color: var(--sc-color-primary);
  font-size: 10px;
  font-weight: var(--sc-font-weight-semibold);
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#footer .sc-footer__payments-title {
  display: block;
  margin: 0;
  color: var(--sc-color-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

#footer .sc-footer__payments-more {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  color: var(--sc-color-primary-deep, var(--sc-color-ink));
  font-size: 10px;
  font-weight: var(--sc-font-weight-semibold);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#footer .sc-footer__payments-more span {
  transition: transform var(--sc-transition-fast);
}

#footer .sc-footer__payments-link:hover .sc-footer__payments-more span {
  transform: translateX(3px);
}

#footer .sc-footer__payments-link:focus-visible {
  outline: 2px solid var(--sc-color-primary-deep, var(--sc-color-ink));
  outline-offset: 6px;
}

#footer .sc-footer__payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 680px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .sc-footer__payment-method {
  display: grid;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 40px;
  margin: 0;
  padding: 7px 8px;
  color: var(--sc-color-espresso, var(--sc-color-ink));
  font-size: 11px;
  font-weight: var(--sc-font-weight-semibold);
  line-height: 1.3;
  letter-spacing: 0.03em;
  background: var(--sc-color-white);
  border: 1px solid rgb(var(--sc-rgb-primary) / 0.22);
  border-radius: 9px;
  box-shadow: 0 8px 24px rgb(var(--sc-rgb-ink) / 0.035);
}

#footer .sc-footer__payment-method img {
  display: block;
  width: 32px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

#footer .sc-footer__bottom {
  color: var(--sc-color-ink);
  background: var(--sc-footer-surface);
  border-top: 1px solid var(--sc-footer-border);
}

#footer .sc-footer__bottom-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-block: 20px;
}

#footer .sc-footer__bottom p {
  margin: 0;
  color: var(--sc-color-text-muted);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#footer .sc-footer__cookie-settings {
  margin: 0;
  padding: 4px 0;
  color: var(--sc-color-text-muted);
  font: inherit;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  cursor: pointer;
}

#footer .sc-footer__cookie-settings:hover,
#footer .sc-footer__cookie-settings:focus-visible {
  color: var(--sc-color-ink);
}

#footer .sc-footer__cookie-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

#footer .sc-footer__bottom-note {
  text-align: right;
}

#footer .sc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Responsive ------------------------------------------------- */

@media (max-width: 980px) {
  #footer .sc-footer__newsletter-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #footer .sc-footer__newsletter-copy {
    max-width: 760px;
  }

  #footer .sc-footer__newsletter-form {
    max-width: 760px;
  }

  #footer .sc-footer__modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 42px;
  }
}

@media (max-width: 720px) {
  #footer .sc-footer__newsletter h2 {
    font-size: clamp(29px, 8.5vw, 43px);
  }

  #footer .sc-footer__brand-name {
    font-size: clamp(34px, 12vw, 54px);
    letter-spacing: 0.14em;
  }

  #footer .sc-footer__modules {
    margin-top: 52px;
    padding-top: 44px;
  }
}

@media (max-width: 560px) {
  #footer .sc-footer__newsletter-inner {
    padding-block: 34px;
  }

  #footer .sc-newsletter__field {
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 22px;
  }

  #footer .sc-newsletter__input,
  #footer .sc-newsletter__submit {
    width: 100%;
    border-radius: 16px;
  }

  #footer .sc-newsletter__input {
    height: 52px;
    text-align: center;
  }

  #footer .sc-newsletter__submit {
    min-height: 50px;
  }

  #footer .sc-footer__main-inner {
    padding-block: 62px;
  }

  #footer .sc-footer__brand-text {
    margin-top: 22px;
  }

  #footer .sc-footer__modules {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
    padding-top: 0;
    border-top: 1px solid var(--sc-footer-border);
  }

  #footer .sc-footer__modules > *,
  #footer .sc-footer__modules > .col,
  #footer .sc-footer__modules > [class*="col-"] {
    padding-block: 30px !important;
    border-bottom: 1px solid var(--sc-footer-border);
  }

  #footer .sc-footer__modules .block-title,
  #footer .sc-footer__modules .myaccount-title,
  #footer .sc-footer__modules h3,
  #footer .sc-footer__modules h4,
  #footer .sc-footer__modules h5,
  #footer .sc-footer__modules .title .h3,
  #footer .sc-footer-module__title {
    margin-bottom: 18px;
  }

  #footer .sc-footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
    min-height: 86px;
  }

  #footer .sc-footer__bottom-note {
    text-align: left;
  }

  #footer .sc-footer__payments-inner {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    padding-block: 28px;
    text-align: center;
  }

  #footer .sc-footer__payment-list {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #footer .sc-newsletter__field,
  #footer .sc-newsletter__submit,
  #footer .sc-newsletter__submit-arrow,
  #footer .sc-footer__modules a,
  #footer .sc-footer-module__link {
    transition: none;
  }

  #footer .sc-footer__payments-more span {
    transition: none;
  }

  #footer .sc-newsletter__submit:hover,
  #footer .sc-footer__modules a:hover,
  #footer .sc-footer-module__link:hover {
    transform: none;
  }

  #footer .sc-footer__payments-link:hover .sc-footer__payments-more span {
    transform: none;
  }
}

/* === Simphonie Footer — composition éditoriale V3 === */

/*
 * Desktop : identité de marque à gauche, navigation à droite.
 * Tablette : identité au-dessus, navigation en deux ou trois colonnes.
 * Mobile : une colonne lisible, sans dépendance au JavaScript Warehouse.
 */

/* Composition principale ------------------------------------ */

#footer .sc-footer__main-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 2.28fr);
  gap: clamp(52px, 6vw, 118px);
  align-items: start;
  padding-block: clamp(64px, 6vw, 104px);
}

#footer .sc-footer__brand {
  max-width: 390px;
  margin: 0;
  padding-right: clamp(30px, 4vw, 66px);
  text-align: left;
  border-right: 1px solid var(--sc-footer-border);
}

#footer .sc-footer__brand-link {
  align-items: flex-start;
}

#footer .sc-footer__brand-signature {
  order: -1;
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
}

#footer .sc-footer__brand-name {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
  letter-spacing: 0.14em;
}

#footer .sc-footer__brand-text {
  max-width: 340px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

/* Navigation ------------------------------------------------ */

#footer .sc-footer__modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 72px);
  align-items: start;
  margin: 0;
  padding: 0;
  border-top: 0;
}

#footer .sc-footer__modules .block-title,
#footer .sc-footer__modules h2,
#footer .sc-footer__modules h3,
#footer .sc-footer__modules h4,
#footer .sc-footer__modules h5,
#footer .sc-footer__modules .title .h3,
#footer .sc-footer-nav__title,
#footer .sc-footer-contact__title,
#footer .sc-footer-account__title,
#footer .sc-footer-social__title {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 14px;
  color: var(--sc-footer-text);
  font-size: clamp(16px, 1vw, 17px);
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#footer .sc-footer__modules .block-title::after,
#footer .sc-footer__modules h2::after,
#footer .sc-footer__modules h3::after,
#footer .sc-footer__modules h4::after,
#footer .sc-footer__modules h5::after,
#footer .sc-footer-nav__title::after,
#footer .sc-footer-contact__title::after,
#footer .sc-footer-account__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 1px;
  content: "";
  background: var(--sc-footer-accent);
  opacity: 0.72;
}

#footer .sc-footer__modules ul,
#footer .sc-footer__modules ol,
#footer .sc-footer-nav__list,
#footer .sc-footer-account__list {
  gap: 12px;
}

#footer .sc-footer__modules a,
#footer .sc-footer-nav__link,
#footer .sc-footer-account__link,
#footer .sc-footer-contact__link {
  position: relative;
  width: fit-content;
  padding-bottom: 2px;
  color: var(--sc-footer-muted);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none !important;
}

#footer .sc-footer__modules a::after,
#footer .sc-footer-nav__link::after,
#footer .sc-footer-account__link::after,
#footer .sc-footer-contact__link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--sc-footer-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--sc-transition-fast);
}

#footer .sc-footer__modules a:hover,
#footer .sc-footer-nav__link:hover,
#footer .sc-footer-account__link:hover,
#footer .sc-footer-contact__link:hover {
  color: var(--sc-footer-text);
  text-decoration: none !important;
  transform: translateX(2px);
}

#footer .sc-footer__modules a:hover::after,
#footer .sc-footer__modules a:focus-visible::after,
#footer .sc-footer-nav__link:hover::after,
#footer .sc-footer-nav__link:focus-visible::after,
#footer .sc-footer-account__link:hover::after,
#footer .sc-footer-account__link:focus-visible::after,
#footer .sc-footer-contact__link:hover::after,
#footer .sc-footer-contact__link:focus-visible::after {
  transform: scaleX(1);
}

/* Réseaux sociaux : une signature sous les colonnes -------- */

#footer .sc-footer__modules > .sc-footer-social,
#footer .sc-footer__modules > .ps-social-follow,
#footer .sc-footer__modules > .block-social-links {
  display: flex;
  grid-column: 1 / -1;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(18px, 2vw, 34px) !important;
  padding-top: clamp(28px, 3vw, 44px) !important;
  text-align: left;
  border-top: 1px solid var(--sc-footer-border);
}

#footer .sc-footer-social__title,
#footer .sc-footer__modules > .ps-social-follow h4,
#footer .sc-footer__modules > .block-social-links .block-title {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

#footer .sc-footer-social__title::after,
#footer .sc-footer__modules > .ps-social-follow h4::after,
#footer .sc-footer__modules > .block-social-links .block-title::after {
  display: none;
}

#footer .sc-footer-social__list,
#footer .sc-footer__modules .ps-social-follow ul,
#footer .sc-footer__modules .block-social-links ul {
  justify-content: flex-end;
  gap: 10px 12px;
}

#footer .sc-footer-social__link,
#footer .sc-footer__modules .ps-social-follow a,
#footer .sc-footer__modules .block-social-links a {
  min-height: 40px;
  padding: 0 16px;
  color: var(--sc-footer-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid var(--sc-footer-border);
  border-radius: var(--sc-radius-pill);
}

#footer .sc-footer-social__link::after,
#footer .sc-footer__modules .ps-social-follow a::after,
#footer .sc-footer__modules .block-social-links a::after {
  display: none;
}

#footer .sc-footer-social__link:hover,
#footer .sc-footer__modules .ps-social-follow a:hover,
#footer .sc-footer__modules .block-social-links a:hover {
  color: var(--sc-footer-text);
  background: var(--sc-color-rose);
  border-color: var(--sc-color-rose);
  transform: translateY(-1px);
}

/* Barre basse plus discrète --------------------------------- */

#footer .sc-footer__bottom {
  background: var(--sc-color-nude-soft);
}

#footer .sc-footer__bottom-inner {
  min-height: 70px;
}

/* Tablette -------------------------------------------------- */

@media (max-width: 980px) {
  #footer .sc-footer__main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 64px 58px;
  }

  #footer .sc-footer__brand {
    max-width: 680px;
    padding: 0 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--sc-footer-border);
  }

  #footer .sc-footer__modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
  }
}

@media (max-width: 760px) {
  #footer .sc-footer__modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 32px;
  }

  #footer .sc-footer__modules > .sc-footer-social,
  #footer .sc-footer__modules > .ps-social-follow,
  #footer .sc-footer__modules > .block-social-links {
    grid-column: 1 / -1;
  }
}

/* Mobile ---------------------------------------------------- */

@media (max-width: 560px) {
  #footer .sc-footer__main-inner {
    gap: 34px;
    padding-block: 54px 46px;
  }

  #footer .sc-footer__brand {
    max-width: none;
    padding-bottom: 32px;
    text-align: center;
  }

  #footer .sc-footer__brand-link {
    align-items: center;
  }

  #footer .sc-footer__brand-name {
    font-size: clamp(30px, 11vw, 44px);
    letter-spacing: 0.1em;
  }

  #footer .sc-footer__brand-text {
    margin-inline: auto;
  }

  #footer .sc-footer__modules {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  #footer .sc-footer__modules > *,
  #footer .sc-footer__modules > .col,
  #footer .sc-footer__modules > [class*="col-"] {
    padding-block: 26px !important;
    border-bottom: 1px solid var(--sc-footer-border);
  }

  #footer .sc-footer__modules > .sc-footer-social,
  #footer .sc-footer__modules > .ps-social-follow,
  #footer .sc-footer__modules > .block-social-links {
    display: block;
    margin-top: 0 !important;
    padding-top: 28px !important;
    text-align: left;
    border-top: 0;
  }

  #footer .sc-footer-social__title,
  #footer .sc-footer__modules > .ps-social-follow h4,
  #footer .sc-footer__modules > .block-social-links .block-title {
    margin-bottom: 18px;
  }

  #footer .sc-footer-social__list,
  #footer .sc-footer__modules .ps-social-follow ul,
  #footer .sc-footer__modules .block-social-links ul {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  #footer .sc-footer__modules a::after,
  #footer .sc-footer-nav__link::after,
  #footer .sc-footer-account__link::after,
  #footer .sc-footer-contact__link::after {
    transition: none;
  }
}

/* === Fin Simphonie Footer — composition éditoriale V3 === */

/* === Simphonie Footer — social popover compatible === */

/* Logo : plus compact et jamais rogné. */
#footer .sc-footer__main-inner,
#footer .sc-footer__main-grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 2.18fr);
  gap: clamp(44px, 5vw, 92px);
  overflow: visible;
}

#footer .sc-footer,
#footer .sc-footer__main,
#footer .sc-footer__container,
#footer .sc-footer__brand,
#footer .sc-footer__brand-link {
  overflow: visible;
}

#footer .sc-footer__brand {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding-right: clamp(28px, 3vw, 50px);
}

#footer .sc-footer__brand-name {
  display: block;
  max-width: 100%;
  color: var(--sc-footer-text, var(--sc-color-ink));
  font-size: clamp(29px, 2vw, 39px);
  line-height: 1.02;
  letter-spacing: clamp(0.075em, 0.34vw, 0.105em);
  white-space: nowrap;
  overflow: visible;
}

/* Popover placé sous la phrase de marque. */
#footer .sc-footer__social {
  position: relative;
  z-index: 25;
  width: min(100%, 320px);
  margin-top: 28px;
}

/* Évite une seconde occurrence tant que le module n'est pas décroché des hooks. */
#footer .sc-footer__modules > .sc-social-popover,
#footer .sc-footer__modules .ps-social-follow,
#footer .sc-footer__after > .sc-social-popover,
#footer .sc-footer__reassurance .sc-social-popover {
  display: none !important;
}

#footer .sc-social-popover {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}

#footer .sc-social-popover__trigger {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 9px 10px 9px 18px;
  color: var(--sc-footer-text, var(--sc-color-ink));
  cursor: pointer;
  list-style: none;
  background: rgb(var(--sc-rgb-surface) / 0.64);
  border: 1px solid var(--sc-footer-border, var(--sc-color-border));
  border-radius: 18px;
  box-shadow: 0 12px 34px rgb(var(--sc-rgb-ink) / 0.05);
  transition: background-color var(--sc-transition-fast), border-color var(--sc-transition-fast), box-shadow var(--sc-transition-fast), transform var(--sc-transition-fast);
}

#footer .sc-social-popover__trigger::-webkit-details-marker {
  display: none;
}

#footer .sc-social-popover__trigger::marker {
  content: "";
}

#footer .sc-social-popover__trigger:hover {
  background: var(--sc-color-white);
  border-color: var(--sc-color-rose);
  box-shadow: 0 17px 44px rgb(var(--sc-rgb-ink) / 0.08);
  transform: translateY(-1px);
}

#footer .sc-social-popover__trigger:focus-visible {
  outline: 2px solid var(--sc-footer-accent, var(--sc-color-rose-deep));
  outline-offset: 4px;
}

#footer .sc-social-popover[open] > .sc-social-popover__trigger {
  background: var(--sc-color-white);
  border-color: var(--sc-footer-accent, var(--sc-color-rose-deep));
}

#footer .sc-social-popover__trigger-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

#footer .sc-social-popover__eyebrow,
#footer .sc-social-popover__kicker {
  color: var(--sc-footer-accent, var(--sc-color-rose-deep));
  font-size: 8px;
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.25;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#footer .sc-social-popover__trigger-label {
  color: var(--sc-footer-text, var(--sc-color-ink));
  font-size: 11px;
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#footer .sc-social-popover__trigger-meta {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  flex: 0 0 auto;
}

#footer .sc-social-popover__count {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--sc-footer-text, var(--sc-color-ink));
  font-size: 10px;
  font-weight: var(--sc-font-weight-bold);
  letter-spacing: 0;
  background: var(--sc-color-nude-soft);
  border-radius: var(--sc-radius-round);
}

#footer .sc-social-popover__chevron {
  transition: transform var(--sc-transition-fast);
}

#footer .sc-social-popover[open] .sc-social-popover__chevron {
  transform: rotate(180deg);
}

#footer .sc-social-popover__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  width: min(332px, calc(100vw - 40px));
  padding: 16px;
  color: var(--sc-footer-text, var(--sc-color-ink));
  background: rgb(var(--sc-rgb-background) / 0.98);
  border: 1px solid var(--sc-footer-border, var(--sc-color-border));
  border-radius: 22px;
  box-shadow: 0 26px 74px rgb(var(--sc-rgb-ink) / 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#footer .sc-social-popover__intro {
  padding: 5px 5px 14px;
}

#footer .sc-social-popover__intro p {
  margin: 8px 0 0;
  color: var(--sc-footer-muted, var(--sc-color-text-muted));
  font-size: 12px;
  line-height: 1.65;
}

#footer .sc-social-popover__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .sc-social-popover__item {
  margin: 0;
  padding: 0;
}

#footer .sc-social-popover__link {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 8px 12px 8px 9px;
  color: var(--sc-footer-text, var(--sc-color-ink));
  text-decoration: none !important;
  background: var(--sc-color-white);
  border: 1px solid transparent;
  border-radius: 15px;
  transition: background-color var(--sc-transition-fast), border-color var(--sc-transition-fast), transform var(--sc-transition-fast);
}

#footer .sc-social-popover__link::after {
  display: none !important;
}

#footer .sc-social-popover__link:hover {
  color: var(--sc-footer-text, var(--sc-color-ink));
  background: var(--sc-color-nude-soft);
  border-color: var(--sc-color-rose);
  transform: translateX(2px);
}

#footer .sc-social-popover__network {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}

#footer .sc-social-popover__monogram {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--sc-footer-text, var(--sc-color-ink));
  font-size: 9px;
  font-weight: var(--sc-font-weight-bold);
  letter-spacing: 0.04em;
  background: var(--sc-color-nude);
  border-radius: var(--sc-radius-round);
}

#footer .sc-social-popover__network-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: var(--sc-font-weight-medium);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#footer .sc-social-popover__external {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  #footer .sc-footer__main-inner,
  #footer .sc-footer__main-grid {
    grid-template-columns: 1fr;
  }

  #footer .sc-footer__brand {
    max-width: 680px;
    padding-right: 0;
  }

  #footer .sc-footer__brand-name {
    font-size: clamp(30px, 6vw, 42px);
  }
}

@media (max-width: 560px) {
  #footer .sc-footer__brand-name {
    font-size: clamp(27px, 10vw, 36px);
    letter-spacing: 0.075em;
  }

  #footer .sc-footer__social {
    width: 100%;
    margin-top: 24px;
  }

  #footer .sc-social-popover__panel {
    position: static;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 18px 48px rgb(var(--sc-rgb-ink) / 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #footer .sc-social-popover__trigger,
  #footer .sc-social-popover__chevron,
  #footer .sc-social-popover__link {
    transition: none;
  }

  #footer .sc-social-popover__trigger:hover,
  #footer .sc-social-popover__link:hover {
    transform: none;
  }
}

/* === Fin Simphonie Footer — social popover compatible === */

/* Mobile alignment authority -------------------------------- */

@media (max-width: 767px) {
  #footer .sc-footer__newsletter-inner,
  #footer .sc-footer__main-inner,
  #footer .sc-footer__main-grid,
  #footer .sc-footer__bottom-inner {
    text-align: center;
  }

  #footer .sc-footer__newsletter-copy,
  #footer .sc-footer__newsletter-form,
  #footer .sc-footer__brand,
  #footer .sc-footer__brand-text,
  #footer .sc-footer__social {
    margin-right: auto;
    margin-left: auto;
  }

  #footer .sc-footer__newsletter-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  #footer .sc-footer__brand {
    max-width: none;
    padding-right: 0;
    text-align: center;
    border-right: 0;
  }

  #footer .sc-footer__brand-link {
    align-items: center;
  }

  #footer .sc-footer__modules {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  #footer .sc-footer__modules .block,
  #footer .sc-footer__modules .links,
  #footer .sc-footer__modules .wrapper,
  #footer .sc-footer__modules .sc-footer-module,
  #footer .sc-footer__modules .part,
  #footer .sc-footer__modules .contact-rich,
  #footer .sc-footer__modules address,
  #footer .sc-footer__modules p {
    text-align: center;
  }

  #footer .sc-footer__modules .block-title::after,
  #footer .sc-footer__modules h2::after,
  #footer .sc-footer__modules h3::after,
  #footer .sc-footer__modules h4::after,
  #footer .sc-footer__modules h5::after,
  #footer .sc-footer-nav__title::after,
  #footer .sc-footer-contact__title::after,
  #footer .sc-footer-account__title::after {
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
  }

  #footer .sc-footer__modules ul,
  #footer .sc-footer__modules ol,
  #footer .sc-footer-nav__list,
  #footer .sc-footer-account__list {
    justify-items: center;
  }

  #footer .sc-footer__modules a,
  #footer .sc-footer-module__link,
  #footer .sc-footer-contact__link {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  #footer .sc-footer__modules > .sc-footer-social,
  #footer .sc-footer__modules > .ps-social-follow,
  #footer .sc-footer__modules > .block-social-links {
    text-align: center;
  }

  #footer .sc-footer-social__list,
  #footer .sc-footer__modules .ps-social-follow ul,
  #footer .sc-footer__modules .block-social-links ul {
    align-items: center;
    justify-content: center;
  }

  #footer .sc-footer__bottom-inner {
    align-items: center;
    justify-content: center;
  }

  #footer .sc-footer__bottom p,
  #footer .sc-footer__bottom-note,
  #footer .sc-footer__cookie-settings {
    width: 100%;
    text-align: center;
  }

  #footer .sc-social-popover__trigger-copy,
  #footer .sc-social-popover__intro {
    text-align: center;
  }
}
