/* Page d'accompagnement réseaux sociaux (v1.21.0.0) : les trois vidéos de la plateforme choisie,
   au format 4:5. Elles arrivent en glissant quand le sélecteur change (sous .rs-live seulement). */
.rs-r3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.2rem;
}

.rs-reel {
    display: block;
    color: var(--text-color);
    text-decoration: none;
}

.rs-live .rs-reel {
    animation: rs-entre 0.6s var(--ease) both;
}

.rs-live .rs-reel:nth-child(2) { animation-delay: 0.08s; }
.rs-live .rs-reel:nth-child(3) { animation-delay: 0.16s; }

@keyframes rs-entre {
    from { opacity: 0; transform: translateY(14px); }
}

.rs-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    background: #0B1210;
}

.rs-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.rs-reel:hover .rs-frame img {
    transform: scale(1.04);
}

.rs-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.65));
}

.rs-plat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.rs-vues {
    position: absolute;
    left: 0.9rem;
    bottom: 0.8rem;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1;
    color: #fff;
}

.rs-vues small {
    margin-left: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

.rs-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.rs-play::before {
    content: "";
    margin-left: 3px;
    border-left: 13px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.rs-reel:hover .rs-play,
.rs-reel:focus-visible .rs-play {
    opacity: 1;
}

.rs-cap {
    margin-top: 0.8rem;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
}

.rs-rang {
    margin-right: 0.4rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--glow);
}

@media (max-width: 820px) {
    .rs-r3 {
        grid-template-columns: repeat(3, 72%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .rs-reel {
        scroll-snap-align: start;
    }
}
