/**
 * Page: Journée dans notre école
 *
 * Styles extracted from static journee.html.
 * Enqueued conditionally on the journee page only.
 *
 * @package ecole-du-bonheur
 */

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.video-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.video-card-badge {
    position: absolute;
    top: -10px;
    right: -6px;
    background: linear-gradient(135deg, var(--success), #34D399);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.35);
    transform: rotate(3deg);
    z-index: 2;
}

.video-card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.video-card-header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    color: var(--success);
}

.video-card-body {
    padding: 0 1.5rem 1.5rem;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---- Primaire section (purple) ---- */

.journee-section--prim {
    background: linear-gradient(180deg, #FAF5FF 0%, #fff 100%);
}

.section-title--prim {
    color: var(--color-primaire);
}

.section-title--prim i {
    margin-right: 0.5rem;
}

.section-subtitle--prim {
    color: var(--color-primaire-dark);
}

.video-card-badge--prim {
    background: linear-gradient(135deg, var(--color-primaire), #A78BFA);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.35);
}

.video-card-header--prim h3 {
    color: var(--color-primaire);
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .video-card-header {
        padding: 1.2rem 1.2rem 0.8rem;
    }

    .video-card-body {
        padding: 0 1.2rem 1.2rem;
    }

    .video-card-header h3 {
        font-size: 1.1rem;
    }
}
