/* ===== Video Section — "Nos dernières vidéos" ===== */
.video-section {
    background: radial-gradient(circle at 14% 18%, #ba1d41 0%, #8f1733 30%, #12141e 64%, #08090f 100%);
    padding: 2.8rem 16px 3.2rem;
    margin-top: 3.2rem;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 40%);
    pointer-events: none;
}

.video-section__inner {
    max-width: 1228px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ---- Header ---- */
.video-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .9rem;
    gap: 14px;
}
.video-section__titre {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.video-section__voir-tout { display: none; } /* legacy – replaced by .voir-tout-btn--light */

/* Red/tricolor rule under heading */
.video-section__rule {
    display: none;
}

/* ---- Top row: big (2/3) + side (1/3) ---- */
.video-section__top {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

/* Card base */
.vcard {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #10141e;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 20px 36px rgba(0,0,0,.32);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.vcard > .bookmark-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 30px;
    height: 30px;
}

.vcard > .bookmark-btn svg {
    width: 14px;
    height: 14px;
}

.vcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 42px rgba(0,0,0,.42);
    border-color: rgba(255,255,255,.3);
}
.vcard__link {
    display: block;
    text-decoration: none;
    color: #fff;
    height: 100%;
}
.vcard__media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.vcard--big .vcard__media { aspect-ratio: 16/9; }
.vcard--side .vcard__media { aspect-ratio: 1 / 1.05; }

.vcard__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.vcard:hover .vcard__img { transform: scale(1.04); }

/* Play icon — circle with semi-transparent fill */
.vcard__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    z-index: 2;
    pointer-events: none;
    opacity: .9;
    transition: opacity .25s, transform .25s;
}
.vcard--side .vcard__play { width: 56px; height: 56px; }
.vcard:hover .vcard__play { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }

/* Overlay on image — gradient at bottom */
.vcard__overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.1rem 1.1rem 1rem;
    background: linear-gradient(transparent 8%, rgba(0,0,0,.9) 72%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
/* Red dot */
.vcard__dot {
    color: #e63946;
    font-size: .65rem;
    line-height: 1;
}
/* Category badges (overlay) */
.vcard__cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.vcard__cat {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .07em;
    line-height: 1.4;
}
.vcard__title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vcard--big .vcard__title {
    font-size: 1.95rem;
    line-height: 1.16;
}
/* Meta row: clock + time + bookmark */
.vcard__meta {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    margin-top: .2rem;
}
.vcard__clock {
    flex-shrink: 0;
    opacity: .6;
}
.vcard__bookmark {
    margin-left: auto;
    opacity: .55;
    display: flex;
    align-items: center;
    transition: opacity .2s;
}
.vcard:hover .vcard__bookmark { opacity: .85; }

/* Video preview on hover */
.vcard__video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity .4s;
}
.vcard__video-preview.is-playing { opacity: 1; }

/* ---- Bottom list: 3 horizontal items ---- */
.video-section__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.vcard-hz {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(4px);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.vcard-hz:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.08);
}

.vcard-hz > .bookmark-btn {
    position: absolute;
    bottom: 9px;
    right: 9px;
    z-index: 4;
    width: 28px;
    height: 28px;
}

.vcard-hz > .bookmark-btn svg {
    width: 13px;
    height: 13px;
}
.vcard-hz__link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: #fff;
    height: 100%;
    gap: .85rem;
    padding: .72rem;
}
.vcard-hz__media {
    position: relative;
    width: 158px;
    min-width: 158px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 8px;
}
.vcard-hz__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.vcard-hz:hover .vcard-hz__img { transform: scale(1.04); }

.vcard-hz__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    z-index: 2;
    pointer-events: none;
    opacity: .85;
    transition: opacity .25s;
}
.vcard-hz:hover .vcard-hz__play { opacity: 1; }

.vcard-hz__body {
    padding: .2rem 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    justify-content: center;
    flex: 1;
    min-width: 0;
}
.vcard-hz__footer {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}
.vcard-hz__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.vcard-hz__cat {
    display: inline-block;
    background: rgba(186,29,65,.8);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .86rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.4;
}
.vcard-hz__meta {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .9rem;
    color: rgba(255,255,255,.55);
}
.vcard-hz__clock {
    flex-shrink: 0;
    opacity: .6;
}
.vcard-hz__cat-dot {
    font-size: .65rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: rgba(255,255,255,.7);
}
.vcard-hz__dot {
    color: #e63946;
    font-size: .5rem;
}
.vcard-hz__title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.24rem;
    line-height: 1.34;
    margin: 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video preview for horizontal cards */
.vcard-hz__video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity .4s;
}
.vcard-hz__video-preview.is-playing { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .video-section__top {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .video-section__list {
        grid-template-columns: 1fr;
    }
    .vcard-hz__media { width: 130px; min-width: 130px; }

    /* Side card looks like big card on mobile */
    .vcard--side .vcard__media { aspect-ratio: 16/9; }
    .vcard--side .vcard__play { width: 72px; height: 72px; }
    .vcard--side .vcard__title { font-size: 1.35rem; line-height: 1.2; }
}

@media (max-width: 600px) {
    .video-section { padding: 1.7rem .75rem 2rem; }
    .video-section__titre { font-size: 1.28rem; }
    .vcard__title { font-size: 1.15rem; }
    .vcard--big .vcard__title { font-size: 1.3rem; }
    .vcard--side .vcard__title { font-size: 1.22rem; }
    .vcard-hz__media { width: 90px; min-width: 90px; }
}
