.grid-galerie {
    justify-items: center;
    align-items: center;
    gap: 50px;
    padding: var(--space-xl);
    border: 1px solid black;
    border-radius: var(--bd-rad-md);
    margin: var(--space-xl);
}

.hero::before {
    display:none;
}

.hero {
    background: var(--degrade-color);
    min-height: 0;
    height: 300px;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.hero h1,
.hero h2 {
    color: #A96F84;
}

.img.img-galerie.filtre-actif {
    width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    padding: var(--space-sm);
    border: 0.5px solid var(--fourth-color);
    border-radius: var(--bd-rad-md);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.img.img-galerie.filtre-inactif {
    display: none;
}

video {
    height: 700px;
    transform: scale(1);
    transform-origin: center;
    will-change: transform;

    transition:
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.6s ease;
}

video.inactive {
    transform: scale(0.714);
}   

.grid-3.grid-video {
    height: 800px;
    justify-items: center;
    align-items: center;
}

.img.icone {
    width: 80px;
    height: auto;
}

.btn.btn-cta {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-bouton {
    align-self: flex-start;
    padding: var(--space-lg) var(--space-xl);
    width: auto;
    align-items: center;
    gap: var(--space-lg);
    border: 1px solid var(--fifth-color);
    border-radius: var(--bd-rad-md);
}

.btn.btn-filtres-galerie {
    padding: var(--space-sm);
    width: auto;
    border: 1px solid var(--fourth-color);
    border-radius: var(--bd-rad-md);
    transition: 
        transform 0.3s ease, 
        box-shadow 0.3s ease;
}

.btn.btn-filtres-galerie.actif {
    background-color: rgba(184, 115, 51, 0.5);
    font-weight: var(--weight-smb);
    color: var(--fifth-color);
    transform: var(--tsfm-lg);
    box-shadow: 2px 2px 8px var(--fourth-color);
}

/* #region Responsive mobile */
    @media screen and (max-width: 850px) {
        .section {
            height: auto;
        }

        .section.type1 {
            padding-bottom: 0px;
        }

        .section.type2 {
            gap: var(--space-md);
        }

        video.inactive {
            display: none;
        }

        .grid-galerie {
            gap: var(--space-md);
        }

        .container-bouton {
            flex-direction: row;
            align-self: center;
        }

        .btn.btn-cta {
            margin-bottom: var(--space-xl);
        }

        #video-principale {
            border: 3px solid var(--fourth-color);
            margin-bottom: var(--space-xl);
        }

        .grid-3.grid-video {
            height: auto;
        }
    }
/* #endregion */

/* #region Responsive Tablet */
    @media screen and (min-width: 440px) and (max-width: 850px) {
        .grid-3.grid-video {
            display: flex;
            align-items: center;
            width: 90%;
        }

        #video-principale {
            width: 90%;
            height: auto;
        }

        .container-bouton {
            gap: var(--space-xl);
            width: auto;
        }

        .grid-3 {
            grid-template-columns: repeat(2, 0.5fr)
        }

        .grid-galerie {
            width: 95%;
            padding: var(--space-xl) 0px;
            row-gap: var(--space-xl);
        }
    }
/* #endregion */

/* #region Responsive Tablet Horizontal */
    @media screen and (min-width: 851px) and (max-width: 1200px) {
        .hero {
            min-height: auto;
        }

        video {
            border: 3px solid var(--fourth-color);
       
        }
    }
/* #endregion */

@media (hover: hover) and (pointer: fine) {
    .img.img-galerie.filtre-actif:hover {
    transform: var(--tsfm-lg);
    box-shadow: var(--sdw-lt);
    }

    video:hover {
    box-shadow: var(--sdw-lt);
    }

    .btn.btn-filtres-galerie:hover {
    transform: var(--tsfm-lt) translate(5px, 2px);
    box-shadow: 2px 2px 8px var(--fourth-color);
    }
}