
/* =========================================================
   PAGE VIDÉOS WEEKENDS
   DESIGN IDENTIQUE À ETAPE-VIDEOS.CSS
   ========================================================= */

.weekend-videos-page {
    min-height: 100vh;
    padding-top: 105px;
    color: #f4f0e8;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(92, 104, 87, .20),
            transparent 55%
        ),
        #151614;
    font-family: Inter, Arial, sans-serif;
}


/* =========================================================
   NAVBAR
   LOGO À GAUCHE / RETOUR À DROITE
   ========================================================= */

.weekend-videos-page #mainNav {
    display: flex !important;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    min-height: 70px;
    padding: 0 4%;

    box-sizing: border-box;

    background: rgba(15, 16, 14, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(14px);

    z-index: 1030;
}

/* Logo à l'extrême gauche */

.weekend-videos-page #mainNav .navbar-brand {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;
    margin: 0 auto 0 0 !important;
    padding: 0;

    color: #f4f0e8;
}

.weekend-videos-page #mainNav .navbar-brand img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 48px;
    object-fit: contain;
}

/* Lien retour à l'extrême droite */

.weekend-videos-page #mainNav .weekend-videos-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    padding: 8px 15px;

    min-height: 42px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;

    background: rgba(255, 255, 255, .09);
    color: #fffdf6;

    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color .18s ease,
        border-color .18s ease;
}

.weekend-videos-page #mainNav .weekend-videos-back:hover,
.weekend-videos-page #mainNav .weekend-videos-back:focus-visible {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .5);
}

.weekend-videos-page #mainNav .weekend-videos-back:focus-visible {
    outline: 2px solid #f4f0e8;
    outline-offset: 3px;
}


/* =========================================================
   LIEN VIDÉOS SUR LA PAGE PRINCIPALE WEEKEND
   ========================================================= */

.weekend-videos-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    padding: 8px 15px;

    min-height: 42px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;

    background: rgba(255, 255, 255, .09);
    color: #fffdf6;

    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color .18s ease,
        border-color .18s ease;
}

.weekend-videos-link:hover,
.weekend-videos-link:focus-visible {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .5);
}

.weekend-videos-link:focus-visible {
    outline: 2px solid #f4f0e8;
    outline-offset: 3px;
}

/* Compteur de vidéos */

.weekend-videos-link span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;
    padding: 0 5px;

    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fffdf6;
    font-size: 11px;
}


/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

.weekend-videos-container {
    width: min(1180px, 92%);
    margin: 45px auto 80px;
}


/* =========================================================
   EN-TÊTE
   ========================================================= */

.weekend-videos-header {
    margin: 45px auto 40px;
    text-align: center;
}

.weekend-videos-context {
    color: #b5aa91;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.weekend-videos-header h1 {
    margin: 12px 0;
    color: #f4f0e8;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 500;
}

.weekend-videos-header h2 {
    color: #c8c3b8;
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    font-weight: 400;
}

.weekend-videos-separator {
    width: 90px;
    height: 1px;
    margin: 22px auto;
    background: #a99a78;
}

.weekend-videos-header > p:last-child {
    color: #c8c3b8;
}


/* =========================================================
   GRILLE VIDÉOS
   ========================================================= */

.weekend-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.weekend-video-item {
    overflow: hidden;
    padding: 16px;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 8px;

    background: rgba(255, 255, 255, .035);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .20);

    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.weekend-video-item:hover {
    border-color: rgba(169, 154, 120, .55);
    background: rgba(255, 255, 255, .055);
}

.weekend-video-item h3 {
    margin: 0 0 14px;
    color: #e8e1d3;
    font-size: 1.05rem;
    font-weight: 500;
}

.weekend-video-item video {
    display: block;
    width: 100%;
    height: 420px;

    border-radius: 5px;
    background: #080908;

    object-fit: contain;
}


/* =========================================================
   AUCUNE VIDÉO
   ========================================================= */

.weekend-videos-empty {
    padding: 25px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;

    background: rgba(255, 255, 255, .035);
    color: #c8c3b8;

    text-align: center;
}


/* =========================================================
   PIED DE PAGE
   ========================================================= */

.weekend-videos-footer {
    margin-top: 40px;
    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .weekend-videos-container {
        width: 92%;
        margin-top: 35px;
    }

    .weekend-videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .weekend-video-item {
        padding: 12px;
    }

    .weekend-video-item video {
        height: 420px;
        max-height: 65vh;
    }
}


@media (max-width: 480px) {

    .weekend-videos-page #mainNav {
        padding: 0 3%;
    }

    .weekend-videos-page #mainNav .navbar-brand img {
        max-height: 40px;
    }

    .weekend-videos-page #mainNav .weekend-videos-back,
    .weekend-videos-link {
        min-height: 38px;
        padding: 7px 12px;
        font-size: 12px;
    }
}

/* Destination : second niveau de titre */
.weekend-videos-header .weekend-videos-destination {
    margin: 8px 0 18px;
    color: #c8b98f;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: .02em;
}