/* ==== 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;
}

.policy-block {
    background: #ffffff;
    padding: 50px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: auto;
}
.policy-block h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #225782;
    margin-bottom: 30px;
}
.policy-block p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333;
    text-align: justify;
}

.policy-block ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

@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 */
    }
}
