.cj-legacy-it {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding-block: clamp(32px, 5vw, 64px);
}

.cj-legacy-it__media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
}

.cj-legacy-it__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cj-legacy-it__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cj-legacy-it__suptitle {
    font-family: var(--cj-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cj-color-orange);
}

.cj-legacy-it__title {
    margin: 0;
    font-family: var(--cj-font-display);
    font-weight: 800;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    color: var(--cj-color-black);
}

.cj-legacy-it__content {
    font-family: var(--cj-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(11, 10, 9, 0.78);
}

.cj-legacy-it__content p {
    margin: 0 0 14px;
}

.cj-legacy-it__content p:last-child {
    margin-bottom: 0;
}

.cj-legacy-it__content a {
    color: var(--cj-color-orange);
    text-decoration: underline;
}

.cj-legacy-it__content strong,
.cj-legacy-it__content b {
    color: var(--cj-color-black);
}

/* Theme sombre */
.cj-legacy-it--dark .cj-legacy-it__title {
    color: var(--cj-color-light);
}

.cj-legacy-it--dark .cj-legacy-it__content {
    color: rgba(245, 242, 236, 0.78);
}

.cj-legacy-it--dark .cj-legacy-it__content strong,
.cj-legacy-it--dark .cj-legacy-it__content b {
    color: var(--cj-color-light);
}

/* Bouton rond (demande explicite : pas de style "biseaute" du bouton global) */
.cj-legacy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 6px;
    padding: 14px 30px;
    border-radius: 999px;
    background: var(--cj-color-orange);
    color: var(--cj-color-black);
    font-family: var(--cj-font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 180ms ease, filter 180ms ease;
}

.cj-legacy-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.cj-legacy-it--dark .cj-legacy-button {
    background: var(--cj-color-light);
    color: var(--cj-color-black);
}

@media (max-width: 860px) {
    .cj-legacy-it {
        grid-template-columns: 1fr;
    }

    .cj-legacy-it__media {
        aspect-ratio: 16 / 10;
    }
}
