/* ==== SLIDER PRINCIPAL ==== */
.main-section {
    position: relative;
    color: #fff;
    height: 13vh;
    width: 100%;
    overflow: hidden;
}

.bandeau {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bandeau img {
    width: 100%;
    height: auto;
    object-fit: cover; 
    opacity: 0.5;
}

.filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c71aa;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 1;
    padding: 0;
}

.main-title {
    color: #2c71aa;
    font-size: 32px;
    text-align: center;
    text-transform: uppercase;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.3;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-title::after {
    content: "";
    display: block;
    width: 15%;
    height: 6px;
    background-color: #83D0FF; /* couleur du trait */
    margin: 10px auto 0;
    border-radius: 2px;
}

.material-icons {
    margin-right: 7px;
    color: #fff;
}

.mentions-content p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: justify;
}

.mentions-content {
    padding: 50px 20px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 30px auto;
    max-width: 900px;
}

.legal-block {
    background: #ffffff;
    padding: 50px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.legal-block h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #225782;
}

.pb-5, .py-5{
    padding-bottom: 0 !important;
}

@media (max-width: 920px) {
    .main-section {
        height: 16vh; /* écran très long */
    }

    .main-title {
        font-size: 26px;
    }
}

/* Tablette paysage */
@media (max-width: 1024px) {
    .main-section {
        height: 10vh;
    }
}

/* Tablette portrait */
@media (max-width: 768px) {
    .main-section {
        height: 15vh !important;
    }
}

@media screen and (max-width: 1280px) and (max-height: 945px) {
    .main-section {
        height: 20vh; /* Ajuste selon ton goût */
    }
}