.final-cta {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fbfaf7 0%, #f4f3fb 34%, #e6e7ff 68%, #cfd3ff 100%);
}

.final-cta-inner {
  width: 100%;
  max-width: 100%;
  padding: 86px 0 0;
  text-align: center;
}

.final-cta-inner[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 0.82s ease,
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-cta-inner[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.final-cta-inner[data-reveal] .final-cta-line-one,
.final-cta-inner[data-reveal] .final-cta-line-two,
.final-cta-inner[data-reveal] p,
.final-cta-inner[data-reveal] .final-cta-actions,
.final-cta-inner[data-reveal] .final-cta-mock {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-cta-inner[data-reveal].is-visible .final-cta-line-one {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.04s;
}

.final-cta-inner[data-reveal].is-visible .final-cta-line-two {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.1s;
}

.final-cta-inner[data-reveal].is-visible p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.16s;
}

.final-cta-inner[data-reveal].is-visible .final-cta-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.22s;
}

.final-cta-inner[data-reveal].is-visible .final-cta-mock {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.28s;
}

.final-cta h2 {
  margin: 0;
  font-family: "Source Serif Pro", "Times New Roman", serif;
  font-size: clamp(2.7rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.final-cta-line-one,
.final-cta-line-two {
  display: block;
  white-space: nowrap;
}

.final-cta-line-two {
  margin-top: 8px;
}

.final-cta-word-accent {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.94em;
  letter-spacing: inherit;
}

.final-cta p {
  max-width: none;
  margin: 24px auto 0;
  font-family: "Source Serif Pro", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.32;
  white-space: nowrap;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 28px;
}

.final-cta .button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #101827;
  color: #fff;
  text-decoration: none;
  font-family: "Radio Canada", sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  box-shadow: 0 10px 18px rgba(19, 28, 47, 0.14);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.32s ease,
    color 0.32s ease;
}

.final-cta .button-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 32%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.final-cta .button-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(19, 28, 47, 0.2);
}

.final-cta .button-dark:hover::before {
  transform: translateX(130%);
}

.final-cta .button-dark:active {
  transform: translateY(-1px);
}

.final-cta .button-dark:focus-visible {
  outline: none;
  box-shadow:
    0 18px 28px rgba(19, 28, 47, 0.2),
    0 0 0 3px rgba(122, 129, 255, 0.18);
}

.final-cta .button-dark-alt {
  background: #dfff55;
  color: #101827;
  box-shadow: 0 10px 18px rgba(122, 129, 255, 0.12);
}

.final-cta .button-dark-alt:hover {
  box-shadow: 0 18px 28px rgba(122, 129, 255, 0.18);
}

.final-cta-mock {
  width: 100%;
  margin: 108px auto 0;
  margin-bottom: -72px;
  padding: 0 200px;
  position: relative;
  z-index: 0;
}

.final-cta-window {
  width: 100%;
  max-height: 520px;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  border: 1px solid rgba(17, 23, 43, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.final-cta-window-top {
  height: 18px;
  background: #171f33;
}

.final-cta-shot {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 0;
  overflow: hidden;
  background: #101827;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .section-shell {
  box-sizing: border-box;
  width: min(calc(100% - 64px), 100%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) repeat(3, minmax(160px, 0.8fr));
  column-gap: clamp(88px, 8vw, 150px);
  row-gap: 56px;
  padding: 96px 0 88px;
}

.footer-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
}

.footer-brand p {
  max-width: 360px;
  margin: 36px 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Radio Canada", sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.72;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 30px;
}

.footer-column:not([open]) a {
  display: block;
}

.footer-column summary {
  margin: 0;
  color: #fff4e8;
  font-family: "Radio Canada", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  list-style: none;
}

.footer-column summary::-webkit-details-marker {
  display: none;
}

.footer-column a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: "Radio Canada", sans-serif;
  font-size: 0.98rem;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-column a {
  display: block;
  width: fit-content;
}

.footer-column a + a {
  margin-top: 24px;
}

.footer-column a:hover,
.footer-bottom a:hover,
.social-link:hover {
  color: #dfff55;
  opacity: 0.82;
}

.social-row {
  display: flex;
  gap: 18px;
  color: #fff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Radio Canada", sans-serif;
  font-size: 0.98rem;
}

@supports (content-visibility: auto) {
  .final-cta,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 760px;
  }
}

@media (max-width: 1120px) {
  .site-footer .section-shell {
    width: min(calc(100% - 48px), 100%);
    padding-left: 0;
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(120px, 0.7fr));
    column-gap: clamp(36px, 5vw, 72px);
  }

  .footer-brand p {
    max-width: 300px;
  }
}

@media (max-width: 940px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 72px;
    row-gap: 64px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 520px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-footer .section-shell {
    width: 100%;
    max-width: none;
    padding-left: 10px;
    padding-right: 10px;
  }

  .final-cta-inner {
    padding: 70px 10px 0;
  }

  .final-cta-inner[data-reveal] {
    transform: translate3d(0, 34px, 0);
  }

  .final-cta-inner[data-reveal] .final-cta-line-one,
  .final-cta-inner[data-reveal] .final-cta-line-two,
  .final-cta-inner[data-reveal] p,
  .final-cta-inner[data-reveal] .final-cta-actions,
  .final-cta-inner[data-reveal] .final-cta-mock {
    transform: translate3d(0, 18px, 0);
  }

  .final-cta-inner[data-reveal].is-visible .final-cta-mock {
    transition-delay: 0.18s;
  }

  .final-cta h2 {
    font-size: clamp(2.35rem, 10vw, 3.6rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
  }

  .final-cta-line-two {
    margin-top: 10px;
  }

  .final-cta p {
    max-width: 360px;
    font-size: 0.98rem;
    line-height: 1.34;
    white-space: normal;
  }

  .final-cta-actions {
    width: min(100%, 360px);
    margin: 0 auto;
    padding-top: 28px;
  }

  .final-cta-mock {
    margin-top: 64px;
    margin-bottom: -28px;
    padding: 0;
  }

  .final-cta-actions,
  .footer-bottom,
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 56px 0 28px;
  }

  .footer-brand {
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-logo {
    width: 46px;
    height: 46px;
  }

  .footer-brand p {
    max-width: 320px;
    margin: 28px 0 26px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .social-row {
    gap: 16px;
  }

  .footer-column {
    display: grid;
    gap: 0;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-column summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.78rem;
  }

  .footer-column summary::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.22s ease;
  }

  .footer-column[open] summary::after {
    transform: rotate(225deg);
  }

  .footer-column:not([open]) a {
    display: none;
  }

  .footer-column[open] {
    gap: 16px;
  }

  .footer-column[open] a {
    display: block;
  }

  .footer-column a + a {
    margin-top: 16px;
  }

  .footer-column a,
  .footer-bottom a {
    font-size: 1rem;
  }

  .footer-legal {
    gap: 14px;
  }

  .footer-bottom {
    gap: 18px;
    padding: 26px 0 30px;
    border-top: none;
  }

  .footer-bottom p {
    font-size: 0.92rem;
  }

  .final-cta .button-dark {
    width: 100%;
  }
}
