/*Commun*/
.TitreSection {
    text-align: center;
    font-size: 50px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    margin-top: 80px;
    margin-bottom: 20px;
}

.barsep {
    border-bottom: 3px solid orange !important;
}

/*----------------------------------------------------------------------------- 
Partie 1
-----------------------------------------------------------------------------*/

.block1 {
    height: 100vh;
    background-color: rgb(255, 255, 255);
}

.top1 {
    display: flex;
    padding-top: 80px;
    justify-content: center;
}

.top1 img {
    width: 20%;
}

.mid1 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 40px;
}

.gauche1 {
    width: 45%;
    align-self: center;
}

.droite1 {
    width: 45%;
    align-self: center;
}

.mid1 img {
    width: 100%;
    border-radius: 10px;
}

.droite1 p {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin: 0px;
    font-weight: 200;
    color: black;
}

.bas1 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 60px;
}

.carte {
    width: 350px;
    height: 100px;
    background-color: white;
    border-radius: 10px;
}

.carte h2 {
    text-transform: uppercase;
    font-weight: 200;
    font-size: 20px;
    margin: 0px;
    text-align: center;
    margin-top: 2px;
    color: gray;
}

.carte p {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 25px;
    margin: 0px;
    font-weight: 200;
    text-transform: uppercase;
    text-align: center;
    margin-top: 23px;
}

.map {
    border-radius: 5px;

}

.block2 {
    height: 100vh;
    background-color: rgb(250, 250, 250);
}

.barsep2 {
    margin-left: 62px;
    margin-top: 20px;
    border-bottom: 3px solid orange;
    width: 30vh;
    transition: 1000ms;
}

.carte:hover .barsep2 {
    width: 23vh;
    margin-left: 90px;
}

/*----------------------------------------------------------------------------- 
Partie 2
-----------------------------------------------------------------------------*/

.block2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.gauche2 {
    background-color: white;
    width: 40%;
    height: 70%;
    border-radius: 20px;
}

.droite2 {
    display: flex;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    width: 45%;
}

.droite2 img {
    position: absolute;
    width: 50%;
    height: 70%;
    margin-left: 20px;
}

.gauche2 h2 {
    margin-top: 25px;
    text-align: center;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 1000;
    color: black;
    text-transform: uppercase;
}

.gauche2 h3 {
    margin-left: 10px;
    margin-bottom: 10px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: black;
}

.gauche2 p {
    margin-top: 5px;
    margin-left: 20px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: black;
}

/*----------------------------------------------------------------------------- 
Partie 3
-----------------------------------------------------------------------------*/

.block3 {
    height: 90vh;
    background-color: #f9f9f9;
    padding-top: 1px;
}

.missions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60%;
}

/* Styles pour les cartes de mission */
.cardm {
    position: relative;
    width: 300px;
    height: 150px;
    /* Hauteur initiale */
    background: #FFFFFF;
    /* Fond blanc */
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Ombre douce */
    transition: all 0.3s ease;
    overflow: hidden;
    /* Pour cacher le contenu qui déborde */
}

.card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgb(0, 0, 0);
    /* Couleur de texte sombre */
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    /* Typographie élégante */
    transition: transform 0.3s ease;
    /* Ajout de la transition pour le mouvement */
    text-transform: uppercase;
}

/* Styles pour la carte au survol */
.cardm:hover {
    height: 280px;
    /* Hauteur au survol */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    /* Ombre plus prononcée au survol */
}

.cardm:hover .main {
    transform: translateY(-80px);
    /* Déplace le titre vers le haut */
}

/* Styles pour la carte2 */
.card2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #F7F7F7;
    /* Fond gris clair */
    color: #333;
    /* Couleur de texte sombre */
    padding: 10px;
    border-top-left-radius: 20px;
    /* Coins arrondis en haut */
    border-top-right-radius: 20px;
    /* Coins arrondis en haut */
    opacity: 0;
    /* Caché par défaut */
    transition: opacity 0.3s ease;
}

.cardm:hover .card2 {
    opacity: 1;
    /* Affiche la description au survol */
}

/* Styles pour le texte dans la carte2 */
.lower {
    font-size: 0.9rem;
    /* Taille de police légèrement plus petite */
    line-height: 1.4;
    /* Espacement des lignes */
}

.outil {
    display: inline-block;
    /* Pour que les rectangles s'affichent côte à côte */
    color: #333;
    /* Couleur de texte sombre */
    padding: 5px 10px;
    /* Espacement intérieur */
    border-radius: 8px;
    /* Coins arrondis */
    border: 1px solid orange;
    margin: 5px;
    /* Espacement entre les outils */
    font-size: 0.9rem;
    /* Taille de police */
    transition: background-color 0.3s;
    /* Transition pour l'effet au survol */
}

/*----------------------------------------------------------------------------- 
Partie Equipe
-----------------------------------------------------------------------------*/

.blockEquipe {
    background-color: rgb(255, 255, 255);
    height: 100vh;
    padding-top: 1px;
}

.TouteEquipe {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 80%;
}

.EquipePatron {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.TechetCompta {
    display: flex;
    flex-direction: row;
    gap: 80px;
}

.EquipeTech {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* From Uiverse.io by gharsh11032000 */
.TouteEquipe .card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    border-radius: 24px;
    line-height: 1.6;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 22px;
    color: #ffffff;
    overflow: hidden;
    background: white;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.Cmoi {
    background: #ffb758 !important;
}

.content::before {
    position: absolute;
    content: "";
    top: -4%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%);
    background: #dfdfdf;
    z-index: -1;
    transform-origin: bottom;

    border-radius: inherit;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content::after {
    position: absolute;
    content: "";
    top: -8%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%);
    background: #efefef;
    z-index: -2;
    transform-origin: bottom;
    border-radius: inherit;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content img {
    width: 100%;
    height: 100%;
}

.card:hover {
    transform: translate(0px, -16px);
}

.card:hover .content::before {
    rotate: -8deg;
    top: 0;
    width: 100%;
    height: 100%;
}

.card:hover .content::after {
    rotate: 8deg;
    top: 0;
    width: 100%;
    height: 100%;
}

.equipeTech2,
.EquipePatron2,
.EquipeCompta2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equipeTech2 h2,
.EquipePatron2 h2,
.EquipeCompta2 h2 {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 1000;
    color: orange;
}

/* Media query pour téléphones */
@media (max-width: 480px) {
    .missions {
        flex-direction: column;
    }

    .gauche1 {
        display: none;
    }

    .block2 {
        flex-direction: column;
    }

    .droite2 img {
        width: 100%;
        height: 35%;
    }

    .gauche2 {
        width: 90%;
        height: 60%;
    }

    .droite1 {
        width: 90%;
    }

    .bas1 {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .mid1 {
        margin-top: 20px;
    }

    .top1 img {
        width: 40%;
    }

    .block1 {
        height: 110vh;
    }

    .TouteEquipe .card {
        width: 170px;
    }

    .TechetCompta {
        flex-direction: column;
        gap: 0px;
    }

    .TouteEquipe {
        margin-top: 25px;
    }

    .lower p {
        margin: 0;
    }
}


/* Media query pour tablettes */
@media (max-width: 768px) {}