/* ===== SECTION ===== */
.yt-section {
    position: relative;
    padding: 5rem 0;
    background: #ffffff; /* ✅ fond blanc */
}

/* ===== TITRES ===== */
.yt-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
}

.yt-section-sub {
    font-size: 0.95rem;
}

/* ===== CARD ===== */
.yt-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: all .25s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.yt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

/* ===== IMAGE PREVIEW ===== */


.yt-thumb-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fallback-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    background: linear-gradient(135deg, #111, #333);
}

.yt-card:hover .yt-thumb {
    transform: scale(1.05);
}

/* ===== OVERLAY ===== */
.yt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PLAY BUTTON ===== */
.yt-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.4);

    color: #fff;
    font-size: 1.8rem;

    box-shadow: 0 8px 25px rgba(0,0,0,.35);

    transition: all .25s ease;
    cursor: pointer;
    position: relative;
}

/* ===== BADGE ===== */
.yt-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: .75rem;
    padding: .25rem .5rem;
    border-radius: 6px;
    background: rgba(0,0,0,.7);
    color: #fff;
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* ===== BODY ===== */
.yt-card-body {
    padding: 1rem;
    text-align: center;
}

.yt-watch-label {
    font-size: .9rem;
    font-weight: 600;
    color: #444;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .yt-section {
        padding: 3rem 0;
    }

    .yt-section-title {
        font-size: 1.6rem;
    }
}




