/* ================================
   VIDEO CARDS - GENERIQUE
   ================================ */

/* Police globale */
.generique-page {
    font-family: 'Poppins', sans-serif;
    color: #2b2b2b;
    max-width: 1150px;
    margin: 40px auto;
    padding: 30px 20px;
    background: #e8e1f6; /* violet doux */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Sections avec titre */
.generique-section {
    margin-bottom: 40px;
}

/* Generique Header - titre avec trait sous le texte */
.generique-header h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: #2f2a4a;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

/* Trait décoratif sous le titre (comme h2 des sections) */
.generique-header h2::after {
    content: "";
    display: block;
    width: 80px; /* longueur du trait */
    height: 4px; /* épaisseur du trait */
    background-color: #5a4fcf; /* violet */
    margin: 6px auto 0;
    border-radius: 2px;
}
/* Container de chaque vidéo */
.video-card {
    background: #ffffff; /* carte blanche */
    border-radius: 14px; /* coins arrondis */
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

/* Texte sous la vidéo */
.video-card p {
    font-size: 1em;
    color: #333333;
    line-height: 1.6;
    margin: 10px 0 0;
    text-align: center;
}

/* Vidéo responsive */
.video-card .responsive-iframe {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* Responsive - tablettes */
@media (max-width: 780px) {
    .generique-section h2 {
        font-size: 1.6em;
    }
}

/* Responsive - mobiles */
@media (max-width: 576px) {
    .generique-page {
        padding: 20px 15px;
    }

    .generique-section h2 {
        font-size: 1.4em;
    }
}
