@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap');

body {
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    margin: 0;
    padding: 0;
    background: #ffffff;
    overflow-x: hidden;
    /* Ajout pour supprimer l'écart blanc sur la droite */
    background: linear-gradient(170deg, rgba(19, 46, 67, 1) 48%, rgba(45, 116, 164, 1) 82%);
}

/*----------------------------------------------
1. PARTIE 1
----------------------------------------------*/

html {
    scroll-behavior: smooth;
}

.entreprise-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    margin-top: 90px;
    /* Ajoutez cette ligne pour abaisser la section */
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    /* Ajout d'un espace sous le contenu */
}

.texte {
    max-width: 40%;
}

.texte h1 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.texte h2 {
    font-size: 2rem;
    color: #fff;
}

@keyframes float {
    0% {
        transform: translateY(0);
        /* Position initiale */
    }

    50% {
        transform: translateY(-10px);
        /* Déplace l'image vers le haut de 10 pixels */
    }

    100% {
        transform: translateY(0);
        /* Retourne à la position initiale */
    }
}

.image img {
    max-width: 80%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

.center-con {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 180px;
    margin-top: 90px;
}

.round {
    position: relative;
    border: 3px solid #fff;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    cursor: pointer;
}

.round span {
    position: absolute;
    background: #fff;
    width: 20px;
    height: 3px;
    border-radius: 2px;
    transition: transform 0.3s ease;
    margin: -1px;
}

.round span:nth-child(1) {
    transform: rotate(45deg);
    left: 20%;
    top: 35%;
}

.round span:nth-child(2) {
    transform: rotate(-45deg);
    right: 20%;
    top: 35%;
}

.round span:nth-child(3) {
    transform: rotate(45deg);
    left: 20%;
    top: 65%;
}

.round span:nth-child(4) {
    transform: rotate(-45deg);
    right: 20%;
    top: 65%;
}

.round:hover span:nth-child(1),
.round:hover span:nth-child(2),
.round:hover span:nth-child(3),
.round:hover span:nth-child(4) {
    transform: rotate(0);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.animate-text span {
    display: inline-block;
    animation: bounce 3s ease-in-out infinite;
}



/*----------------------------------------------
2. PARTIE 2
----------------------------------------------*/


#section2 {
    background: linear-gradient(170deg, rgba(19, 46, 67, 1) 48%, rgba(45, 116, 164, 1) 82%);
}


.titlepresentation {
    line-height: 150%;
    font-weight: bold;
    font-size: xx-large;
    text-align: center;
    color: rgb(255, 255, 255);
}

.titlepresentation h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: 100;
    letter-spacing: 4px;
}

.titlepresentation hr {
    border: 1.5px solid rgb(255, 255, 255);
    background-color: black;
    width: 170px;
    box-shadow: 0 0 5px rgba(6, 198, 236, 0.4)
}

.hrpath {
    font-size: x-large;
    max-width: 69%;
    line-height: 180%;
    color: rgb(255, 255, 255);
}

#blockentier {
    display: flex;
    margin-top: 30px;
}

#blockleft {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 50px;
    margin-right: 50px;
}

/*----------------------------------------------
3. PARTIE 3
----------------------------------------------*/

.section3 {
    margin-top: 60px;
}

.certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.certif1 {
    width: 300px;
    height: 200px;
    border: 3px solid #ffffff;
    border-radius: 50px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px #041d3b;
    background-color: rgb(23, 59, 86);

}

.certif2 {
    width: 300px;
    height: 200px;
    border: 3px solid #ffffff;
    border-radius: 50px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px #041d3b;
    background-color: rgb(23, 59, 86);
}


.certif3 {
    width: 300px;
    height: 200px;
    border: 3px solid #ffffff;
    border-radius: 50px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px #041d3b;
    background-color: rgb(23, 59, 86);
}


#certif p {
    color: #ffffff;
    line-height: 150%;
    font-size: larger;
}

.certif1 img {
    margin-top: 20px;
}

.certif2 img {
    margin-top: 20px;
}

.certif3 img {
    margin-top: 20px;
}


/*----------------------------------------------
4. PARTIE 4
----------------------------------------------*/

#section4 {
    padding: 60px 0;
    margin-top: 50px;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.level {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.box {
    background-color: #3A7CA5;
    /* Bleu moyen par défaut */
    color: white;
    padding: 20px;
    margin: 10px;
    text-align: center;
    border-radius: 10px;
    min-width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box1 {
    background-color: #3A7CA5;
    /* Bleu moyen par défaut */
    color: white;
    padding: 20px;
    margin: 10px;
    text-align: center;
    border-radius: 10px;
    min-width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid #ffff02;

}

.box1 img {
    border-radius: 50%;
    width: 70px;
    height: 73px;
    margin: 10px 0;
    border: 2px solid #fff;
    object-fit: cover;

}

.box img {
    border-radius: 50%;
    width: 70px;
    height: 73px;
    margin: 10px 0;
    border: 2px solid #fff;
    object-fit: cover;

}

.box1:hover {
    transform: translateY(-5px);
}

.box:hover {
    transform: translateY(-5px);
}

.role {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.name {
    margin-top: 10px;
    font-size: 1.2em;
    color: #f0f0f0;
}

.level.dsi .box {
    background-color: #02283f;
    /* Bleu foncé pour le DSI */
}

.level .box {
    background-color: #06588b;
    /* Bleu moyen pour Chef de Projet et Chef du Support IT */
}

.support-it .box {
    background-color: #2c87c8;
    /* Bleu clair pour les membres du support IT */
}

.support-it .box1 {
    background-color: #2c87c8;
    /* Bleu clair pour les membres du support IT */
}

/*----------------------------------------------
5. PARTIE 5
----------------------------------------------*/

#section5 {
    margin-top: 50px;
}

#certif {
    margin-top: 50px;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* From Uiverse.io by joe-watson-sbf */
.flip-card {
    background-color: transparent;
    width: 190px;
    height: 254px;
    perspective: 1000px;
    font-family: sans-serif;
}

.title {
    font-size: 1.5em;
    font-weight: 900;
    text-align: center;
    margin: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 1rem;
}

.flip-card-front {
    background: linear-gradient(120deg, rgba(2, 86, 114, 0.921) 60%, rgb(6, 74, 119) 88%,
            rgb(13, 93, 158) 40%, rgba(5, 166, 252, 0.603) 48%);
    color: rgb(1, 200, 255);
}

.flip-card-back {
    background: linear-gradient(120deg, rgb(0, 208, 255) 30%, rgb(0, 81, 255) 88%,
            rgb(7, 136, 235) 40%, rgb(7, 150, 234) 78%);
    color: white;
    transform: rotateY(180deg);
}

/*----------------------------------------------
6. PARTIE 6
----------------------------------------------*/

#section6 {
    padding: 40px 20px;
    /* Augmenter le padding pour plus d'espace autour de la section */
}

.resources-container {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin: 0 auto;
    max-width: 1200px;
    gap: 20px;
    margin-top: 40px;
}

.resource-box,
.application-box {
    flex: 1;
    padding: 30px;
    /* Augmenter le padding pour plus d'espace à l'intérieur des boîtes */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    /* Ombre plus prononcée pour un effet de relief */
    background-color: #ffffff;
    /* Couleur de fond blanche pour une meilleure lisibilité */
    border-radius: 12px;
    /* Coins arrondis plus prononcés */
    border: 1px solid #dee2e6;
    /* Bordure légère pour mieux délimiter les boîtes */
}

.resource-box h3,
.application-box h3 {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    /* Taille de police ajustée pour plus d'équilibre */
    color: #343a40;
    margin-bottom: 15px;
}

.resource-box h3 i,
.application-box h3 i {
    margin-right: 12px;
    /* Plus d'espace entre l'icône et le texte */
    color: #007bff;
}

.resource-subsection,
.application-subsection {
    margin-top: 20px;
}

.resource-subsection h4,
.application-subsection h4 {
    font-size: 1.4rem;
    /* Taille de police ajustée pour les sous-titres */
    color: #495057;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.resource-subsection h4 i,
.application-subsection h4 i {
    margin-right: 10px;
    /* Plus d'espace entre l'icône et le titre */
    color: #17a2b8;
}

.resource-subsection ul,
.application-subsection ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.resource-subsection ul li,
.application-subsection ul li {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 10px;
    /* Augmenter l'espacement entre les éléments de la liste */
}

.resource-subsection ul li::before,
.application-subsection ul li::before {
    content: "\2022";
    color: #007bff;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/*----------------------------------------------
Responsive
----------------------------------------------*/

/* Ajout de styles pour les écrans de téléphone */
@media (max-width: 768px) {
    .entreprise-section {
        padding: 0 5%;
        /* Réduire le padding pour les petits écrans */
        margin-top: 50px;
        /* Ajuster la marge supérieure */
    }

    .content {
        flex-direction: column;
        /* Passer à une colonne pour les petits écrans */
        align-items: center;
        /* Centrer le contenu */
    }

    .texte {
        max-width: 100%;
        /* Permettre au texte de prendre toute la largeur */
        text-align: center;
        /* Centrer le texte */
    }

    .image img {
        max-width: 100%;
        /* S'assurer que l'image ne dépasse pas la largeur de l'écran */
        height: auto;
        /* Garder les proportions de l'image */
    }

    .certifications {
        flex-direction: column;
        /* Passer à une colonne pour les certificats */
        align-items: center;
        /* Centrer les certificats */
    }

    .certif1,
    .certif2,
    .certif3 {
        width: 90%;
        /* Réduire la largeur des certificats */
        margin: 10px 0;
        /* Ajouter un espacement vertical */
    }

    .resources-container {
        flex-direction: column;
        /* Passer à une colonne pour les ressources */
        align-items: center;
        /* Centrer les ressources */
    }

    .resource-box,
    .application-box {
        width: 90%;
        /* Réduire la largeur des boîtes de ressources */
        margin-bottom: 20px;
        /* Ajouter un espacement entre les boîtes */
    }

    .topology-box {
        width: 90%;
        /* Réduire la largeur de la boîte de topologie */
    }

    .animate-text {
        font-size: 2.2rem;
        /* Ajuster la taille de la police pour les petits écrans */
        line-height: 1.1;
        /* Ajuster l'interligne pour éviter le débordement */
        white-space: nowrap;
        /* Empêcher le texte de se scinder en plusieurs lignes */
    }

    #blockentier {
        margin-top: 20px;
        /* Réduire la marge supérieure */
        padding: 0 10px;
        /* Ajouter un padding pour éviter que le texte touche les bords */
    }

    .hrpath {
        font-size: 1.2rem;
        /* Réduire la taille de la police pour les petits écrans */
        line-height: 1.5;
        /* Ajuster l'interligne pour une meilleure lisibilité */
        margin: 0;
        /* Supprimer la marge pour éviter l'espacement excessif */
    }

    .support-it {
        display: grid;
        /* Utiliser une grille pour la disposition */
        grid-template-columns: repeat(2, 1fr);
        /* Deux colonnes de largeur égale */
        gap: 20px;
        /* Augmenter l'espacement entre les boîtes */
        width: 100%;
        /* S'assurer que la section prend toute la largeur */
    }

    .support-it .box,
    .support-it .box1 {
        width: auto;
        /* Laisser la largeur automatique pour s'adapter à la grille */
        margin: 0;
        /* Supprimer la marge pour éviter l'espacement excessif */
        padding: 15px;
        /* Réduire le padding pour compacter les boîtes */
    }
}

/* Styles pour le menu mobile */
.mobile-menu {
    display: none;
    /* Masqué par défaut */
    font-size: 30px;
    cursor: pointer;
    color: white;
    /* Couleur du texte en blanc */
    background-color: transparent;
    /* Fond transparent */
    border: none;
    /* Pas de bordure */
    padding: 10px;
    /* Ajoute un peu d'espace autour du texte */
    transition: color 0.3s;
    /* Transition douce pour le changement de couleur */
}

.mobile-menu:hover {
    color: #f0f0f0;
    /* Couleur légèrement plus claire au survol */
}

.mobile-menu-overlay {
    display: none;
    /* Masqué par défaut */
    position: fixed;
    /* Position fixe pour couvrir tout l'écran */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Fond semi-transparent */
    z-index: 1000;
    /* Au-dessus du contenu */
    justify-content: center;
    /* Centrer le contenu */
    align-items: center;
    /* Centrer le contenu */
    flex-direction: column;
    /* Disposition en colonne */
}

.mobile-menu-content {
    text-align: center;
    /* Centrer le texte */
    color: white;
    /* Couleur du texte en blanc */
}

.mobile-menu-content ul {
    list-style: none;
    /* Pas de puces */
    padding: 0;
    /* Pas de padding */
}

.mobile-menu-content li {
    margin: 20px 0;
    /* Espacement entre les éléments */
}

.mobile-menu-content a {
    color: white;
    /* Couleur du texte en blanc */
    text-decoration: none;
    /* Pas de soulignement */
    font-size: 20px;
    /* Taille de la police */
    transition: color 0.3s;
    /* Transition douce pour le changement de couleur */
}

.mobile-menu-content a:hover {
    color: #f0f0f0;
    /* Couleur légèrement plus claire au survol */
}

/* Afficher le menu mobile sur les petits écrans */
@media (max-width: 767px) {
    .nav-links {
        display: none;
        /* Masquer les liens de navigation par défaut */
    }

    .mobile-menu {
        display: block;
        /* Afficher le bouton de menu mobile */
    }
}

.no-scroll {
    overflow: hidden;
    /* Empêche le défilement */
}

/*----------------------------------------------
Mentions légles
----------------------------------------------*/

/* Styles pour les liens en bas de page */
.footer-links {
    margin-top: 30px;
    bottom: 0;
    /* Colle au bas de la page */
    left: 0;
    /* Colle à gauche */
    background-color: rgba(6, 32, 47, 0.9);
    /* Fond semi-transparent */
    padding: 20px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
    border-top: 1px solid rgba(0, 111, 170, 0.4);
}

.copyright {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.mentions-link {
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mentions-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Ajout de styles responsives pour les liens du footer */
@media (max-width: 767px) {
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}