/* ============================================================
   CTA Card Image — Figma 124:152 / 125:165
   635×400, image bg + overlay 60% noir, 2 variantes radius
   ============================================================ */
.cta-card-image {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 66px 24px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

/* Overlay sombre 60% noir pour lisibilité du texte */
.cta-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Variantes radius asymétriques (Figma) */
.cta-card-image--rounded-right { border-radius: 0 16px 16px 0; }
.cta-card-image--rounded-left  { border-radius: 16px 0 0 16px; }

/* Titre Figma 125:162 : Vogue 400, 40/60, ls=0, color #FFFFFF */
.cta-card-image__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 60px;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  max-width: 572px;
}

/* Bouton intégré : on réutilise .btn .btn--gradient existant */
.cta-card-image__btn {
  flex-shrink: 0;
}

.cta-card-image__btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .cta-card-image {
    min-height: 320px;
    padding: 48px 24px;
    gap: 24px;
  }
  .cta-card-image__title {
    font-size: 28px;
    line-height: 36px;
  }
  .cta-card-image--rounded-right,
  .cta-card-image--rounded-left {
    border-radius: 0; /* en mobile les 2 cards passent en colonne, full-width */
  }
}
