.intro {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
    max-width: 90%;
    gap: 20px;
    margin-bottom: 80px;
}

.intro-suite {
    max-width: 1060px;
}

.intro-img {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: auto;
    max-width: 90%;
    margin-bottom: 80px;
    gap: 20px;
}

.intro-img img {
    max-width: 400px;
}

.img-link {
    text-decoration: none; /* Supprime la décoration du lien */
}

.img-container {
    position: relative;
    overflow: hidden;
}

.img-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease, filter 0.3s ease; /* Transition fluide pour l'opacité */
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrage horizontal et vertical */
    color: #f5bf77;
    font-size: 1.5em;
    text-align: center;
    opacity: 0; /* Masqué par défaut */
    transition: opacity 0.3s ease; /* Transition fluide pour l'apparition du texte */
    pointer-events: none; /* Le texte ne capte pas les clics de la souris */
    filter: drop-shadow(0px 0px 7px rgba(34, 17, 1, 1));
}

.img-container:hover img {
    opacity: 0.7; /* Opacité réduite lors du survol */
    filter: brightness(0.7) saturate(0.5);
}

.img-container:hover .overlay-text {
    opacity: 1; /* Le texte devient visible lors du survol */
}

.texture-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 96%;
    margin: auto;
    margin-bottom: 40px;
}

.texture-full img {
    width: 280px;
}


@media screen and (max-width: 940px) {
    .intro-img {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 800px) {
    .texture-full {
        display: none;
    }
}