/* ======================================================
   BASE
====================================================== */

body {
    font-family: "Libre Baskerville", serif;
    background: #f7f5f2;
    color: #1f1f1f;
    margin: 0;
}

.block_section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.block_title {
    font-size: 32px;
    margin-bottom: 30px;
}

.block_text {
    font-size: 18px;
    line-height: 1.7;
}

/* ======================================================
   GRILLES
====================================================== */

.block_grid_2,
.block_grid_3,
.block_grid_4 {
    display: grid;
    gap: 30px;
}

.block_grid_2 { grid-template-columns: repeat(2, 1fr); }
.block_grid_3 { grid-template-columns: repeat(3, 1fr); }
.block_grid_4 { grid-template-columns: repeat(4, 1fr); }

/* ======================================================
   CARTES
====================================================== */

.block_card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.block_card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background-color: black;
}
.block_card_content {
    padding: 20px;
}

.block_card_content h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

/* ======================================================
   IMAGE + TEXTE
====================================================== */

.block_image_text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.block_image_text img {
    width: 100%;
    border-radius: 10px;
}

/* ======================================================
   HERO IMAGE / VIDEO
====================================================== */

.block_hero_image,
.block_hero_video {
    position: relative;
    height: 70vh;
    border-radius: 14px;
    overflow: hidden;
}

.block_hero_image img,
.block_hero_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block_hero_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.block_hero_overlay h1 {
    font-size: 46px;
    margin-bottom: 15px;
}

/* ======================================================
   VIDEOS GRID
====================================================== */

.video-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.video-item {
    flex: 1;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 15px;
    text-align: center;
}

.video-info h4 {
    margin: 0 0 8px;
    font-size: 15px;
}

.video-info p {
    margin: 0;
    font-size: 13px;
    color: #555;
}


/* ======================================================
   VLOCK - 3 VIDEOS
====================================================== */

.vlock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.vlock-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
}

.vlock-video {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.vlock-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vlock-info {
    padding: 15px;
    text-align: center;
}

.vlock-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.vlock-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
}
	
	
.media-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.media-lightbox-content {
    position: relative;
    width: 90vw;
    max-width: 1000px;
    background: #000;
}

.media-lightbox-content iframe,
.media-lightbox-content video,
.media-lightbox-content img {
    width: 100%;
    height: 56.25vw;
    max-height: 80vh;
    border: none;
    display: block;
}

.media-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
