/* Section CTA contact — remplace le formulaire (Figma « CTA / B · Split + cartes », node 720:62) */

.cta-contact {
  background-color: var(--new-brand--brand);
  color: var(--new-brand--cream);
  padding: 120px 48px 60px;
  position: relative;
  overflow: hidden;
}

.cta-contact .image.top-right {
  pointer-events: none;
}

.cta-contact__container {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
  width: 100%;
  max-width: 1272px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 184px;
  border-bottom: 1px solid #f5f3ef26;
  position: relative;
}

/* Titre : eyebrow → 20px → titre → 24px → sous-titre */
.cta-contact__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 772px;
  text-align: center;
}

.cta-contact__eyebrow {
  color: var(--new-brand--neutral-lighter);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: Urbanist, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.cta-contact__title {
  max-width: 718px;
  margin: 20px 0 0;
  color: var(--new-brand--cream);
  letter-spacing: -1.2px;
  font-family: Urbanist, sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.12;
  text-wrap: balance;
}

.cta-contact__lead {
  max-width: 596px;
  margin: 24px 0 0;
  color: var(--new-brand--cream);
  letter-spacing: .18px;
  font-family: Urbanist, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
}

/* Cartes */
.cta-contact__cards {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 938px;
}

.cta-contact__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 45px 40px;
  background-color: var(--new-brand--neutral-darker);
  color: var(--new-brand--cream);
  font-family: Urbanist, sans-serif;
  text-decoration: none;
  transition: background-color .2s;
}

.cta-contact__card:hover {
  background-color: #3c2a16;
}

.cta-contact__card:focus-visible {
  outline: 2px solid var(--new-brand--accent);
  outline-offset: 3px;
}

.cta-contact__card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-contact__icon {
  width: 24px;
  height: 24px;
  display: block;
}

.cta-contact__card-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cta-contact__card-title {
  letter-spacing: -.24px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.cta-contact__card-desc {
  color: #f5f3efbf;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.cta-contact__card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--new-brand--cream);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cta-contact__arrow {
  flex: none;
  color: var(--new-brand--accent);
  transition: transform .2s;
}

.cta-contact__card:hover .cta-contact__arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .cta-contact__card,
  .cta-contact__arrow {
    transition: none;
  }
}

@media screen and (max-width: 991px) {
  .cta-contact {
    padding: 96px 32px 48px;
  }

  .cta-contact__container {
    gap: 64px;
    padding-bottom: 120px;
  }

  .cta-contact__title {
    font-size: 40px;
  }
}

@media screen and (max-width: 767px) {
  .cta-contact__cards {
    flex-direction: column;
  }

  .cta-contact__lead br {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .cta-contact {
    padding: 72px 20px 40px;
  }

  .cta-contact__container {
    gap: 48px;
    padding-bottom: 72px;
  }

  .cta-contact__title {
    font-size: 34px;
  }

  .cta-contact__lead {
    font-size: 17px;
  }

  .cta-contact__card {
    padding: 32px 28px;
  }
}
