/* Zone gauche */
.Spécial {
    position: absolute;
    color: rgba(255, 255, 255, 0.0001);
    z-index: -10;
}

.Accueil_Gauche {
    grid-area: gauche;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    text-align: center;
    font-family: 'Comfortaa', cursive;
    line-height: 1.2;
}

.hero-title .line {
    display: block;
    /* force le retour à la ligne */
    font-size: clamp(24px, 4vw, 64px);
    margin: 3vw 0;
}

.hero-title .de {
    font-size: clamp(18px, 2vw, 28px);
}


.Accueil_Gauche h2 {
    font-family: 'Laila', sans-serif;
    font-size: clamp(18px, 3vw, 35px);
    text-align: center;
}

/* Zone droite */
.Accueil_Droite {
    grid-area: droite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blason {
    width: clamp(150px, 30vw, 450px);
    height: auto;
}



@media (min-width: 799px) {
    .Part_Accueil {
        width: 100%;
        height: 70vh;
        top: 0;
        background-image: url(../Image/Fond/Fond-Accueil-1.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center right;
        display: grid;
        grid-template-areas:
            "nav nav"
            "gauche droite";
        grid-template-columns: 50% 50%;
        grid-template-rows: auto 1fr;
    }
}


@media (max-width: 800px) {
    .Part_Accueil {
        width: 100%;
        height: 100%;
        background-image: url(../Image/Fond/Fond-Accueil-1.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        display: grid;
        grid-template-areas:
            "nav"
            "droite"
            "gauche";
        align-items: center;
        padding-top: 60px;
        gap: 20px;
    }

    .Accueil_Gauche {
        margin-top: 20px;
    }
}

/* Lightbox */
.overlay {
    display: none;
    /* caché par défaut */
    position: fixed;
    inset: 0;
    /* top/right/bottom/left: 0 */
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    /* au-dessus de tout */
    padding: 24px;
}

.overlay.open {
    /* affichage quand ouvert */
    display: flex;
}

.overlay img {
    max-width: min(90vw, 900px);
    max-height: 70vh;
    border-radius: 8px;
    margin-bottom: 12px;
    font-family: 'Open Sans', sans-serif;
}

.caption>p {
    color: #fff;
    font-size: clamp(14px, 2.2vw, 18px);
    text-align: center;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
}

.close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

/* Optionnel: bloquer le scroll du body quand la lightbox est ouverte */
body.modal-open {
    overflow: hidden;
}