/* =========================================================
   WSI - PAGE VIDÉOS
   Palette principale :
   Or : #ad9551
   Texte : #323331
========================================================= */

.wsi-videos {
    padding-top: 88px;
    color: #323331;
    background: #ffffff;
}


/* =========================================================
   HERO — sans image
========================================================= */

.wsi-videos-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 7rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(173, 149, 81, 0.14), transparent 38%),
        linear-gradient(180deg, #faf9f6 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(50, 51, 49, 0.07);
}

.wsi-videos-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 3px;
    transform: translateX(-50%);
    background: #ad9551;
}

.wsi-videos-hero h1 {
    max-width: 900px;
    margin: 1rem auto 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 700;
    color: #323331;
}

.wsi-videos-hero h1 span {
    display: block;
    color: #ad9551;
}

.wsi-videos-hero-lead {
    max-width: 790px;
    margin: 0 auto;
    color: #6d706b;
    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================================
   VIDÉO PRINCIPALE
========================================================= */

.wsi-videos-featured {
    padding: 6rem 0;
    background: #ffffff;
}

.wsi-video-player-shell {
    padding: 0.55rem;
    border: 1px solid rgba(50, 51, 49, 0.08);
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(28, 29, 27, 0.11);
}

.wsi-video-player-shell .ratio {
    overflow: hidden;
    border-radius: 1rem;
    background: #111210;
}

.wsi-video-player-shell iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.wsi-video-player-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255,0.82);
    background:
        radial-gradient(circle at 50% 40%, rgba(173,149,81,0.18), transparent 34%),
        #171816;
}

.wsi-video-player-placeholder i {
    display: block;
    margin-bottom: 0.9rem;
    color: #ad9551;
    font-size: 3.8rem;
}

.wsi-video-details {
    padding-left: 0.6rem;
}

.wsi-video-badge,
.wsi-video-series {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wsi-video-badge {
    color: #323331;
    background: rgba(173,149,81,0.14);
}

.wsi-video-series {
    color: #666964;
    background: #f1f1ee;
}

.wsi-video-episode {
    margin-bottom: 0.8rem;
    color: #ad9551;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.wsi-video-details h2 {
    margin-bottom: 1.2rem;
    color: #323331;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 700;
}

.wsi-video-details p {
    line-height: 1.8;
}

.wsi-video-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}


/* =========================================================
   BIBLIOTHÈQUE
========================================================= */

.wsi-videos-library {
    padding: 6rem 0;
    background: #f7f7f4;
    border-top: 1px solid rgba(50, 51, 49, 0.05);
    border-bottom: 1px solid rgba(50, 51, 49, 0.05);
}

.wsi-videos-library h2 {
    color: #323331;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.wsi-video-search {
    width: min(100%, 360px);
}

.wsi-video-search .input-group {
    overflow: hidden;
    border: 1px solid rgba(50, 51, 49, 0.11);
    border-radius: 0.85rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(28, 29, 27, 0.05);
}

.wsi-video-search .input-group-text {
    border: 0;
    color: #ad9551;
    background: #ffffff;
}

.wsi-video-search .form-control {
    min-height: 48px;
    border: 0;
    box-shadow: none;
}

.wsi-video-card {
    position: relative;

    height: 100%;

    padding: 1.7rem;

    border:
        1px solid
        rgba(50, 51, 49, 0.08);

    border-radius: 1rem;

    background: #ffffff;

    box-shadow:
        0 12px 34px
        rgba(28, 29, 27, 0.06);

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        background-color .2s ease;
}


.wsi-video-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(173, 149, 81, 0.45);

    background:
        rgba(173, 149, 81, 0.035);

    box-shadow:
        0 18px 45px
        rgba(28, 29, 27, 0.10);

}


.wsi-video-card.is-active {

    border-color:
        rgba(173, 149, 81, 0.55);

    box-shadow:
        0 18px 45px
        rgba(173, 149, 81, 0.13);

}


.wsi-video-card:focus-visible {

    outline:
        3px solid
        rgba(173, 149, 81, 0.45);

    outline-offset:
        3px;

}

.wsi-video-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.wsi-video-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    color: #ffffff;
    background: #323331;
    font-size: 1.35rem;
}

.wsi-video-card-number {
    color: #ad9551;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.wsi-video-card h3 {
    margin-bottom: 0.75rem;
    color: #323331;
    font-size: 1.18rem;
    line-height: 1.35;
    font-weight: 700;
}

.wsi-video-card p {
    margin-bottom: 1.4rem;
    color: #747771;
    line-height: 1.7;
    font-size: 0.94rem;
}

.wsi-video-card button {
    padding: 0;
    border: 0;
    color: #323331;
    background: transparent;
    font-weight: 700;
}

.wsi-video-card button:hover,
.wsi-video-card button:focus {
    color: #ad9551;
}

.wsi-video-card button i {
    margin-left: 0.35rem;
    transition: transform .2s ease;
}

.wsi-video-card button:hover i {
    transform: translateX(3px);
}

.wsi-videos-empty {
    padding: 4rem 1rem;
    text-align: center;
}

.wsi-videos-empty > i {
    display: block;
    margin-bottom: 1rem;
    color: #ad9551;
    font-size: 2.4rem;
}

.wsi-videos-empty h3 {
    color: #323331;
    font-size: 1.3rem;
    font-weight: 700;
}


/* =========================================================
   CTA
========================================================= */

.wsi-videos-cta {
    padding: 6rem 0;
    background: #ffffff;
}

.wsi-videos-cta-inner {
    padding: 3.2rem;
    overflow: hidden;
    border-radius: 1.4rem;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 20%, rgba(173,149,81,0.22), transparent 28%),
        #323331;
    box-shadow: 0 22px 55px rgba(28,29,27,0.14);
}

.wsi-videos-cta-inner h2 {
    margin: 0.7rem 0 0.8rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.wsi-videos-cta-inner p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .wsi-videos {
        padding-top: 78px;
    }

    .wsi-videos-hero {
        padding: 6.5rem 0 5.5rem;
    }

    .wsi-videos-featured,
    .wsi-videos-library,
    .wsi-videos-cta {
        padding: 4.5rem 0;
    }

    .wsi-video-details {
        padding-left: 0;
    }

}

@media (max-width: 575.98px) {

    .wsi-videos-hero {
        padding: 5rem 0 4rem;
    }

    .wsi-videos-hero h1 {
        font-size: 2.55rem;
    }

    .wsi-video-player-shell {
        padding: 0.35rem;
        border-radius: 1rem;
    }

    .wsi-video-player-shell .ratio {
        border-radius: 0.78rem;
    }

    .wsi-videos-cta-inner {
        padding: 2rem 1.35rem;
    }

}
