.cta {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    padding: 0 var(--space-xl);
    color: var(--color-text);
    overflow: hidden;
}

/* IMAGE BG */
.cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.9) 30%,
        rgba(0,0,0,0.5) 60%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

/* CONTENT */
.cta__content {
    position: relative;
    max-width: 500px;
    z-index: 2;
}

/* TITLE */
.cta__content h2 {
    font-size: var(--fs-xxl);
    font-family: var(--font-title);
    margin-bottom: var(--space-sm);
}

/* TEXT */
.cta__content p {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* BUTTON */
.cta__btn {
    display: inline-block;

    background: var(--color-primary);
    color: #000;

    padding: 10px 18px;
    font-size: var(--fs-xs);
    letter-spacing: 1.5px;

    text-decoration: none;
    transition: var(--transition-fast);
}

.cta__btn:hover {
    background: var(--color-primary-hover);
}
/* 🔥 PARALLAX */
.cta__bg img {
    width: 100%;
    height: 120%; /* 🔥 plus grand pour mouvement */
    object-fit: cover;

    position: absolute;
    top: -10%;
    left: 0;

    transform: translateZ(0);
    will-change: transform;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .cta {
        height: 260px;
        padding: 0 var(--space-md);
        justify-content: center;
        text-align: center;
    }

    .cta__content {
        max-width: 320px;
    }

}