/**
 * Page Cas d'usage Qualiopi (parcours apprenant en pleine page)
 * + Lightbox réutilisable pour agrandir les visuels d'étape.
 *
 * @package Loop_Formation
 */

.lxc-cas-usage {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.lxc-cas-usage__intro {
    padding: 72px 0 32px;
    text-align: center;
}

.lxc-cas-usage__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1d9e75;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(29, 158, 117, 0.08);
}

.lxc-cas-usage__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0c1222;
    margin: 0 auto 18px;
    max-width: 22ch;
}

.lxc-cas-usage__lead {
    max-width: 44rem;
    margin: 0 auto 28px;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #4a5568;
}

.lxc-cas-usage__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.lxc-cas-usage__outro {
    padding: 72px 0;
    background: linear-gradient(165deg, #0c1222, #1a2235);
    color: #fff;
    text-align: center;
}

.lxc-cas-usage__outro h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    margin: 0 0 12px;
    color: #fff;
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
}

.lxc-cas-usage__outro p {
    max-width: 36rem;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

/* ─── LIGHTBOX (réutilisable) ─── */
.lxc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(8, 11, 22, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    cursor: zoom-out;
}

.lxc-lightbox.is-open {
    display: flex;
    animation: lxcLightboxIn 0.22s ease-out;
}

@keyframes lxcLightboxIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lxc-lightbox__img {
    max-width: min(96vw, 1400px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
    cursor: default;
}

.lxc-lightbox__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lxc-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}
