:root {
  --body-copy-size: clamp(1.25rem, 2vw, 1.625rem);
}

#footer {
  padding-block-start: var(--section-break, 130px);
  padding-block-end: calc(clamp(4rem, 9vw, 8.75rem) + 1.5rem);
  padding-inline: 0;
}

@media (max-width: 991px) {
  #footer {
    padding-inline: 20px;
  }
}

#footer .h2 {
  font-size: 3rem;
  font-weight: 500;
  text-align: left;
}

#footer .div-block-18 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .scroll-fade-in {
    animation: scroll-fade-in 500ms linear both, scroll-slide-in 500ms both;
  }

  @keyframes scroll-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Match Webflow's inOutCubic movement with one cubic per half. */
  @keyframes scroll-slide-in {
    from {
      transform: translateY(50px);
      animation-timing-function: cubic-bezier(0.333333, 0, 0.666667, 0);
    }

    50% {
      transform: translateY(25px);
      animation-timing-function: cubic-bezier(0.333333, 1, 0.666667, 1);
    }

    to {
      transform: none;
    }
  }
}

#footer .div-block-18 .paragraphe-home {
  margin-bottom: 0;
  font-size: var(--body-copy-size);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#footer .div-block-18 strong {
  font-weight: 500;
}

#footer .div-block-18 span {
  display: inline-block;
  max-width: 100%;
}

#footer .div-block-18 span::before {
  content: "·";
  margin-inline: 0.25em;
  color: #666;
}

@media (max-width: 479px) {
  #footer {
    padding-block-start: var(--section-break, 60px);
  }

  #footer .h2 {
    font-size: 1.75rem;
  }

  #footer .div-block-18 {
    gap: 1.75rem;
  }

  #footer .div-block-18 span {
    display: block;
  }

  #footer .div-block-18 span::before {
    content: none;
  }
}
