/* Page rapport */

.header-background-container {
    position: relative;
}

.header-background-container img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit:cover;
}

.header-background-text {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0, 0.6); 
    color: white;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    padding: 20px;
    box-sizing: border-box;
}

.header-rapport {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .header-background-container img {
        height: 200px;
    }

    .header-background-text h2   {
        font-size: 1.2rem; 
    }
}

section {
    padding: 3em;
}

@media (max-width:768px) {
    section {
        padding: 2em;
    }
}

section h3 {
    display: flex;
    align-items: center;
    gap: 0.3em;
}


#presentation h2 {
    margin-bottom: 0.5em;
}

#presentation h3 {
    display: inline-flex;
    padding: 0.4em;
    border-radius: 1em;
    /* color: #226C8B; */
    background-color: #226C8B;
    color: white;
    margin-bottom: 0.3em;
}

#presentation ul {
    list-style-type: disc;
}

#presentation li {
    margin-left: 2em;
}

#presentation li::marker {
    color:#226C8B ;
}

.presentation-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3.5em;
}

@media (max-width:768px) {
    .presentation-container {
        flex-wrap: wrap;
    }
}

.presentation-element {
    width: 70%;
    /* background-color:#EEEFF4;
    box-shadow: 0px 10px 19px -3px #a09d9d;
    border-radius: 1em;
    padding: 0.5em; */
}

@media (max-width:768px) {
    .presentation-element {
        width: 100%;
    }
}


.presentation-info {
      border-left: 2px solid #226C8B;
      padding-left: 1em;
}



#missions_planification {
    /* height: 300px; */
    background-color: #98B0CF;
}

#missions_planification h3 {
    color: #226C8B;
}

.missions_planification-title {
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 600;
}

.missions_planification-bottom {
    display: inline-block;
    background-color: rgba(34, 108, 139, 0.5);
    padding: 0.5em;
    border-left: 3px solid #226C8B;
    
}


.missions-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.missions-list-element {
    display: flex;
    flex-direction: row;
    gap: 1em;
    /* align-items: center; */
}


.background-img {
    width: 130px;
    
    min-height: 130px;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: white;
    background-repeat: no-repeat;
}

 
.missions-list-img3 {
    background-size: contain; 
    background-position: center;
}

.missions-list-img1 {
    background-size: cover; 
    background-position: center;
}

.missions-list-img2 {
    background-size: cover; 
    background-position: 20% center;
}

.missions-list-img1 {
    background-image: url("../images/campus_batiment.jpg");

}

.missions-list-img2 {
    background-image: url("../images/bsm.jpg");
}

.missions-list-img3 {
    background-image: url("../images/Logo_drupal1.png");
    background-color: #DEF8FF;
}

.missions-list-info {
    padding-bottom: 0.5em;
    border-bottom: 2px solid #226C8B;
}

@media (max-width: 768px) {
    /* On passe l'élément en colonne */
    .missions-list-element {
        flex-direction: column;
        gap: 0.5em; 
    }

    .background-img {
        width: 100%; 
        height: 120px; 
    }

    .missions-list-img1 {
        height: 180px; /* Donne-lui plus de hauteur (teste entre 180px et 220px) */
        background-size: cover; 
        
        /* Astuce en plus : "center top" permet de prioriser l'affichage 
           du haut de l'image (le toit et le ciel) si ça coupe encore un peu */
        background-position: center 30%;
    }
}

#besoin_origine h3 {
    margin: 0;
    padding-bottom: 0.5em;
}

.besoin_origine-container {
    display: flex;
    gap: 1em;
    margin-top: 1em;
    margin-bottom: 2em;
}

@media (max-width:768px) {
    .besoin_origine-container {
        flex-direction: column;
    }
}

.besoin_origine-element {
    padding: 0.5em;
    background-color:white ;
    box-shadow: 0px 10px 19px -3px #a09d9d;
    border-radius: 1em;
    border:2px solid #E2E2E2;
    border-top: 3px solid #226C8B;
}

.besoin_origine-bottom {
    display: inline-flex;
    gap: 0.3em;
    border-radius: 3px;
    background-color: #226C8B;
    color: white;
    font-weight: bold;
    padding: 0.5em;
    border-left: 3px solid #226C8B;
}

#veille_recommandations {
    /* height: 300px; */
    background-color: #98B0CF;
}

.veille_recommandations-citation {
    display: block;
    border-left: 3px solid #226C8B;
    padding-left: 0.5em;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

.veille_recommandations-container {
    display: flex;
    justify-content: space-between;
    /* gap: 1em; */
}

.veille_recommandations-element {
    display: flex;
    flex-direction: column;
    width: 50%;
    
    align-items: center; 
}

.veille_recommandations-element img {
    width: 200px; 
    height: 80px; 

    object-fit: contain; 

    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

@media (max-width:768px) {
    .veille_recommandations-element img  {
        transform: scale(0.7);
    }

    .veille_recommandations-container {
        flex-direction: column;
        margin-top: 1em;
    }

    .veille_recommandations-element {
        width: 100%;
    }

    .veille_recommandations-element:first-child {
        border-right: none;
    }
}

.veille_recommandations-element:first-child {
    padding-right: 1em;
    border-right: 2px solid #226C8B;
}

@media (max-width:768px) {
    .veille_recommandations-element:first-child {
        border-right: none;
        border-bottom:  2px solid #226C8B;
        padding-right: 0;
        padding-bottom: 3em;

    }
}

.veille_recommandations-element:nth-child(2) {
    padding-left: 1em;
}

@media (max-width:768px) {
    .veille_recommandations-element:nth-child(2) {
        padding-left: 0;
        /* padding-top: 1em; */
    }
}


section h3 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
