/* =========================
   Reset et base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    height: 100%;
    font-size: 20px;
    color: #0B0B0B;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    font-weight: bold;
    transition: 0.15s color ease;
    color: #F1ECF1;
}
a:hover {
    color: #B9B9B9;
}

/* =========================
   Header
========================= */
header {
    background-color: #071A33;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    color: #ECEBEB;
}

/* =========================
   Navigation
========================= */
nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* =========================
   Sections et contenu
========================= */
section {
    padding: 20px 10px;
    margin-bottom: 20px;
    text-align: center;
}

h1 {
    text-align: center;
    font-family: "Lucida Grande", Verdana, sans-serif;
    font-size: 28px;
}

h2 {
    text-align: center;
    font-family: "Lucida Grande", Verdana, sans-serif;
    font-style: italic;
    font-size: 20px;
}

.contents {
    padding: 0 5%;
    width: 100%;
    min-height: 100%;
    background-color: #f4f4f4;
    text-align: center;
    color: #434343;
}

.contents > article {
    max-width: 90%;
    margin: 0 auto 20px auto;
}

/* =========================
   Prestations / Cards
========================= */
.prestations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.prestation {
    background-color: #fff;
    padding: 25px;
    margin: 10px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.prestation h3 {
    color: #333;
    margin-bottom: 10px;
}

/* =========================
   Galleries
========================= */
.gallery, .gab {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery img, .gab img {
    width: 100%;
    max-width: 250px;
    object-fit: cover;
    border-radius:
}		
.arrondie{
	-moz-border-radius: 10x;
	-webkit-border-radius: 10px;
}




/* =========================
   Reset et base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    height: 100%;
    font-size: 20px;
    color: #0B0B0B;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    font-weight: bold;
    transition: 0.15s color ease;
    color: #F1ECF1;
}
a:hover {
    color: #B9B9B9;
}

/* =========================
   Header
========================= */
header {
    background-color: #071A33;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    color: #ECEBEB;
}

/* =========================
   Navigation
========================= */
nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* =========================
   Sections et contenu
========================= */
section {
    padding: 20px 10px;
    margin-bottom: 20px;
    text-align: center;
}

h1 {
    text-align: center;
    font-family: "Lucida Grande", Verdana, sans-serif;
    font-size: 28px;
}

h2 {
    text-align: center;
    font-family: "Lucida Grande", Verdana, sans-serif;
    font-style: italic;
    font-size: 20px;
}

.contents {
    padding: 0 5%;
    width: 100%;
    min-height: 100%;
    background-color: #f4f4f4;
    text-align: center;
    color: #434343;
}

.contents > article {
    max-width: 90%;
    margin: 0 auto 20px auto;
}

/* =========================
   Prestations / Cards
========================= */
.prestations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.prestation {
    background-color: #fff;
    padding: 25px;
    margin: 10px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.prestation h3 {
    color: #333;
    margin-bottom: 10px;
}

/* =========================
   Galleries
========================= */
.gallery, .gab {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery img, .gab img {
    width: 100%;
    max-width: 250px;
    object-fit: cover;
    border-radius:
}		
.arrondie{
	-moz-border-radius: 10x;
	-webkit-border-radius: 10px;
}





/* ===== Lecteur vidéo en fenêtre modale ===== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
}

.video-modal.is-open {
    display: flex;
}

.video-modal__box {
    position: relative;
    width: min(100%, 1000px);
    background: #071A33;
    border: 1px solid #C9A85C;
    border-radius: 12px;
    padding: 48px 16px 16px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
}

.video-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
}

.video-modal__close:hover {
    color: #D9B66F;
}

.video-modal__frame {
    display: block;
    width: 100%;
    height: min(70vh, 562px);
    border: 0;
    border-radius: 6px;
    background: #000000;
}

body.video-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .video-modal {
        padding: 10px;
    }

    .video-modal__box {
        padding: 44px 8px 8px;
    }

    .video-modal__frame {
        height: 55vh;
    }
}



/* ===== Vignettes vidéo : style élégant ===== */

.filters.demo4 .container ul li {
    float: left;
    padding: 10px;
    border-radius: 12px;
}

.filters.demo4 .container ul li a.video-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    padding: 8px;
    overflow: hidden;
    background: #071A33;
    border: 1px solid #C9A85C;
    border-radius: 12px;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.filters.demo4 .container ul li a.video-thumbnail:hover {
    transform: translateY(-4px);
    border-color: #F2D58A;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.filters.demo4 .container ul li a.video-thumbnail > img:first-child {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0 auto 8px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.filters.demo4 .container ul li a.video-thumbnail:hover > img:first-child {
    transform: scale(1.02);
}

.filters.demo4 .container ul li a.video-thumbnail .png {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 4px 4px;
    color: #F2D58A;
    font-size: 14px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
}

.filters.demo4 .container ul li a.video-thumbnail .png img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.filters.demo4 .container ul li a.video-thumbnail .jpg img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: px;
    color: #EFE9E9;
    top: px;
    clear: none;
    float: left;
    overflow-x: hidden;
}
/* Affichage sur tablette */
@media (max-width: 900px) {
    .filters.demo4 .container ul li {
        width: 33.333%;
    }
}

/* Affichage sur téléphone */
@media (max-width: 600px) {
    .filters.demo4 .container ul li {
        width: 50%;
        padding: 5px;
    }

    .filters.demo4 .container ul li a.video-thumbnail {
        padding: 5px;
    }

    .filters.demo4 .container ul li a.video-thumbnail .png {
        font-size: 12px;
    }
}


/* Correction : vignettes vidéo plus petites */
.filters.demo4 .container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.filters.demo4 .container ul li {
    float: none;
    width: 25%;
    padding: 6px;
}

.filters.demo4 .container ul li a.video-thumbnail {
    width: 100%;
    padding: 5px;
}

.filters.demo4 .container ul li a.video-thumbnail > img:first-child {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

@media (max-width: 800px) {
    .filters.demo4 .container ul li {
        width: 33.333%;
    }
}

@media (max-width: 500px) {
    .filters.demo4 .container ul li {
        width: 50%;
    }
}





/* Réduction légère des vignettes, style conservé */
.filters.demo4 .container ul li {
    width: 20%;
    padding: 5px;
}

.filters.demo4 .container ul li a.video-thumbnail {
    width: 100%;
    max-width: 210px;
    height: auto;
    margin: 0 auto;
    padding: 6px;
}

/* Image légèrement plus petite */
.filters.demo4 .container ul li a.video-thumbnail > img:first-child {
    width: 90%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 5px;
}

/* Texte et icône conservés, avec un peu moins d'espace */
.filters.demo4 .container ul li a.video-thumbnail .png {
    padding: 5px 2px;
    font-size: 12px;
}

/* Tablette : 4 par ligne */
@media (max-width: 900px) {
    .filters.demo4 .container ul li {
        width: 25%;
    }
}

/* Téléphone : 2 par ligne */
@media (max-width: 600px) {
    .filters.demo4 .container ul li {
        width: 50%;
        padding: 4px;
    }
}




/* Réduire les espaces entre les vignettes */
.filters.demo4 .container ul {
    column-gap: 0;
    row-gap: 4px;
}

.filters.demo4 .container ul li {
    padding: 2px;
    margin: 0;
}

.filters.demo4 .container ul li a.video-thumbnail {
    margin: 0 auto;
    padding: 4px;
}

/* Réduire l'espace sous les images */
.filters.demo4 .container ul li a.video-thumbnail > img:first-child {
    margin-bottom: 1px;
}

/* Réduire l'espace autour du titre */
.filters.demo4 .container ul li a.video-thumbnail .png {
    padding: 3px 2px;
}




/* Rapprocher les lecteurs côte à côte */
.filters.demo4 .container {
    width: 100%;
    left: 0;
    margin: 0;
}

.filters.demo4 .container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1px 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.filters.demo4 .container ul li {
    float: none;
    flex: 0 0 20%;
    width: 20%;
    margin: 0;
    padding: 2px;
}

.filters.demo4 .container ul li a.video-thumbnail {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4px;
}

/* Tablette */
@media (max-width: 900px) {
    .filters.demo4 .container ul li {
        flex-basis: 25%;
        width: 25%;
    }
}

/* Téléphone */
@media (max-width: 600px) {
    .filters.demo4 .container ul li {
        flex-basis: 50%;
        width: 50%;
    }
}





/* Vignette réseaux sociaux : mêmes dimensions que les vidéos */
.filters.demo4 .container ul li.reseaux-social {
    float: none;
    margin: 0;
    align-items: stretch;
    -webkit-box-shadow: 0px 10px 20px 0px;
    box-shadow: 0px 10px 20px 0px;
}

.filters.demo4 .container ul li.reseaux-social .reseaux-carte {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 210px;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 8px 4px;
    box-sizing: border-box;
    background: #071A33;
    border: 1px solid #C9A85C;
    border-radius: 8px;
}

/* Icônes adaptées à la petite vignette */
.reseaux-carte .reseaux-titre {
    font-size: 10px;
    color: #F7F3F3;
}

.reseaux-carte .reseaux-sous-titre {
    font-size: 10px;
    color: #FBFBFB;
}

.reseaux-carte .reseaux-icones {
    gap: 20px;
}

.reseaux-carte .reseaux-icones a {
    width: 28px;
    height: 28px;
}

.reseaux-carte .reseaux-icones img {
    width: 26px;
    height: 26px;
}

.reseaux-carte .reseaux-mariages {
    font-size: 10px;
}

/* Tablette */
@media (max-width: 900px) {
    .filters.demo4 .container ul li.reseaux-social {
        width: 25%;
    }
}

/* Téléphone */
@media (max-width: 600px) {
    .filters.demo4 .container ul li.reseaux-social {
        width: 50%;
    }
}


/* CORRECTION : plusieurs vignettes par ligne */

.filters.demo4 .container ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    width: 100% !important;
}

.filters.demo4 .container ul li {
    display: block !important;
    float: none !important;
    flex: 0 0 20% !important;
    width: 20% !important;
    max-width: 20% !important;
    margin: 0 !important;
    padding: 3px !important;
    box-sizing: border-box !important;
}

.filters.demo4 .container ul li a.video-thumbnail {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .filters.demo4 .container ul li {
        flex-basis: 25% !important;
        width: 25% !important;
        max-width: 25% !important;
    }
}

@media (max-width: 600px) {
    .filters.demo4 .container ul li {
        flex-basis: 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }
}


/* CORRECTION : reseau*/
.filters.demo4 .container ul li a.reseau-thumbnail {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 8px !important;
    box-sizing: border-box;
}

.filters.demo4 .container ul li a.reseau-thumbnail .reseau-contenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    color: #F2D58A;
}

.filters.demo4 .container ul li a.reseau-thumbnail img.reseau-icone {
    display: block;
    width: 70px !important;
    height: 70px !important;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 0;
}

.filters.demo4 .container ul li a.reseau-thumbnail .reseau-texte,
.filters.demo4 .container ul li a.reseau-thumbnail .reseau-nom {
    display: block;
    width: 100%;
    color: #F2D58A;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.filters.demo4 .container ul li a.reseau-thumbnail:hover {
    border-color: #F2D58A;
}




.filters.demo4.filters-fixed {
    position: relative;
}

.filters.demo4.filters-fixed > .filter {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

