.grand-bloc {
    z-index: 0;
    position: relative;
    overflow: hidden;
}

.grand-bloc .row {
    position: relative;
    width: 90%;
    height: 100%;
    background: transparent;
    overflow: hidden;
}

.grand-bloc .row .grand-bloc-image {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 0 0 auto;
}

.grand-bloc .grand-bloc-video {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.3s all ease;
}

.grand-bloc .grand-bloc-video .imgcropCtn {
    transition: 0.3s all ease;
}

.grand-bloc .grand-bloc-video:hover {
    cursor: pointer;
}

.grand-bloc .grand-bloc-video .playbouton {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-image: url("https://dimgrey-ram-921172.hostingersite.com/wp-content/uploads/2025/09/btnplay.svg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%) translateY(-50%);
    transition: 0.3s all ease;
}

.grand-bloc .grand-bloc-video:hover .playbouton {
    transform: scale(0.95) translateX(-50%) translateY(-50%);
    transition: 0.3s all ease;
}

.grand-bloc .grand-bloc-video:hover .imgcropCtn {
    transform: scale(1.05);
    transition: 0.3s all ease;
}

.popUpBlack {
    z-index: 99999999;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.popupVideo-Container {
    padding: 32px;
    background-color: white;
    border-radius: 12px;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    cursor: pointer;
}
  
.video-modal-close::before,
.video-modal-close::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 2px;
    background: #000;
}
  
.video-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
  
.video-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.grand-bloc .grand-bloc-video .imgcropCtn {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grand-bloc .titreEntete {
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: unset;
    width: max-content;
    transform: translateX(-50%) translateY(-50%);
}

.grand-bloc-home .titreEntete {
    z-index: 5;
    position: absolute;
    top: unset;
    left: 50%;
    bottom: 32px;
    width: max-content;
    transform: translateX(-50%);
}

.grand-bloc-home .titreEnteteHome {
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: unset;
    width: 100%;
    transform: translateX(-50%) translateY(-50%);
}

.grand-bloc-home .titreEnteteHome p strong {
    font-family: "Relation";
    font-size: 7rem;
    text-transform: uppercase;
}

.grand-bloc-home .titreEnteteHome p {
    text-align: center;
    font-size: 7rem;
    font-family: "Relation Script";
    line-height: 1;
    margin: 0 0 8px;
}

.grand-bloc-home .titreEnteteHome p span {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    font-family: "Gotham";
    text-transform: uppercase;
    margin: 8px 0 0 0;
}

.grand-bloc .titreEntete h1 {
    text-align: center;
}

.filtreEntete {
    z-index: 3;
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
  linear-gradient(to bottom, rgba(42, 49, 28, 0.8) 0%, rgba(42, 49, 28, 0.1) 40%, rgba(42, 49, 28, 0) 50%),
  linear-gradient(to top, rgba(42, 49, 28, 0.8) 0%, rgba(42, 49, 28, 0.1) 40%, rgba(42, 49, 28, 0) 50%);
}

.grand-bloc-galerie {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiperGrandBloc {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiperGrandBloc .swiper-slide {
    width: 100%;
    height: 100%;
}

.swiperGrandBloc .swiper-slide .imgcropCtn {
    width: 100%;
    height: 100%;
}

.grand-bloc .grand-bloc__content h1, .grand-bloc .grand-bloc__content p  {
   margin: 0;
}

.grand-bloc .grand-bloc__content h1 {
    display: block;
    color: white;
    text-align: left;
    margin: 0 auto 32px auto;
}

.grand-bloc .grand-bloc__content .grand-bloc__desc {
    margin: 0 0 32px 0;
}

.grand-bloc .grand-bloc__content .grand-bloc__desc p {
    color: white;
    text-align: center;
    margin: 0 auto;
}

.grand-bloc .grand-bloc__content .grand-bloc__lienliste {
    display: flex;
    flex-direction: row;
    column-gap: 12px;
    row-gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .grand-bloc .grand-bloc__content--wrapper {
        max-width: 66%;
    }

    .grand-bloc .grand-bloc__content {
        bottom: 100px;
    }

    .popUpBlack {
        padding: 32px;
    }

    .popupVideo-Container {
        padding: 32px;
        background-color: white;
        border-radius: 12px;
    }
    
    /* carré 1/1 */
    .video-wrapper {
        width: 400px;            /* taille du carré (modifiable) */
        aspect-ratio: 1 / 1;     /* carré */
        overflow: hidden;        /* masque ce qui dépasse */
        border-radius: 12px;
    }
    
    .popupVideo {
        width: 100%;
        height: 100%;
        object-fit: cover;       /* remplissage complet + crop */
    }
    
}

@media (max-width: 768px) {

    .grand-bloc-home .titreEntete, .grand-bloc .titreEntete {
        width: 90%;
    }

    .grand-bloc .flottant .flottant1 {
        position: absolute;
        top: 15%;
        right: 8%;
        width: 100px;
    }

    .grand-bloc .flottant .flottant2 {
        position: absolute;
        bottom: 25%;
        right: -2%;
    }

    .grand-bloc .flottant .flottant4, .grand-bloc .flottant .flottant5 {
        display: none;
    }
}

@media (max-width: 600px) {
    .grand-bloc .grand-bloc__content--wrapper {
        max-width: 90%;
    }

    .grand-bloc .grand-bloc__content {
        bottom: 150px;
    }
}