.cover-wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 50px); /* 50px pour le header */
    overflow: hidden;
}

.cover-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cover-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 1rem;
}

.text-wrapper {
    color: white;
    text-align: center;
    margin-bottom: 10vh; /* 10% de la hauteur d'affichage */
}

h1.preTitleMain{
    font-size: 1.6rem !important;
    line-height: 1.8rem !important;
}

h1.titleMain{
    font-size: 3rem !important;
    line-height: 3rem !important;
}

@media (min-width: 768px) {
    h1.preTitleMain{
        font-size: 1.8rem !important;
        line-height: 2.2rem !important;
    }

    h1.titleMain{
        font-size: 4.5rem !important;
        line-height: 4.5rem !important;
    }
}