
/* Réinitialisation de marges et padding pour les éléments de base */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}
/* RESET - Réinitialisation des marges et padding par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fullscreen Background */
html, body {
    height: 100%;
    width: 100%;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

/* Sélecteur de langue */
.language-selector {
    position: relative;
    margin-left: 20px; /* Un peu d'espace avant le bouton de langue */
}

/* Bouton de langue */
.language-button {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-left:-2em;
    margin-right:1em;
}

/* Animation au survol du bouton */
.language-button:hover {
    background-color: #0056b3; /* Changement de couleur au survol */
    transform: scale(1.05); /* Agrandissement du bouton au survol */
}
/* Le menu déroulant est caché par défaut */
.dropdown-content5 {
    display: flex; /* Cacher par défaut */
    position: absolute; /* Positionner par rapport à son parent */
    background-color: #f9f9f9;
    min-width: 160px; /* Largeur minimale pour le menu */
    z-index: 9999; /* S'assurer qu'il apparaît au-dessus des autres éléments */
    left: -20%; /* Le menu est aligné à gauche du bouton */
    margin-top: 5px; /* Légère marge au-dessus du menu */
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombre pour effet */
    opacity: 0; /* Initialement invisible */
    transform: scaleY(0); /* Réduit à 0 au départ */
    transform-origin: top; /* Le menu se déploie vers le bas */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Effet fluide */
}

/* Affichage du menu lorsque la classe 'show' est ajoutée */
.language-selector .show {
    display: block;
    opacity: 1; /* Rendre visible */
    transform: scaleY(1); /* Déployer le menu */
    width:50%;
}

/* Style des boutons dans le menu déroulant */
.dropdown-content5 button {
    background-color: white;
    color: black;
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    border: none;
    cursor: pointer;
    border-bottom: 1px solid #ddd; /* Lignes entre les options */
}

/* Effet de survol sur les boutons */
.dropdown-content5 button:hover {
    background-color: #ddd; /* Change de couleur au survol */
}

/* Style des drapeaux */
.flag-text {
    display: inline-flex;
    align-items: center;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 10px; /* Espacement entre le drapeau et le texte */
}

.language-text {
    margin-left: 10px; /* Espacement entre le drapeau et le texte */
}


/* Animation du texte au survol */
button:hover .language-text {
    transform: translateX(5px);
}

/* Langue sélectionnée (visuellement mise en valeur) */
.selected-language {
    font-weight: bold;
    color: #333;
}
/* Positionnement pour écrans larges */
@media all and (min-width: 600px) and (max-width: 1367px) and (orientation: landscape) {
    .language-button {
        position: absolute;
        font-size: 12px;
        margin-left: 26vw;  /* Positionnement horizontal */
        top: -68vh;          /* Ajustement vertical */
        width: 100px;  /* Fixer une largeur fixe */
        height: 50px;  /* Fixer une hauteur égale à la largeur pour garder un format carré */
        line-height: 15px; /* Centrer le texte verticalement */
        text-align: center; /* Centrer le texte horizontalement */
    }
    .dropdown-content5 {
        min-width: 160px;
        z-index: 1;
        left: 23.5vw;
        top: -60vh;/* Positionnement du menu */
        width: 100px;  /* Fixe la largeur du menu */
        height: auto;  /* Ajuste la hauteur automatiquement selon le contenu */
    }
}

/* Positionnement pour écrans moyens (portrait) */
@media all and (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    .language-button {
        position: absolute;
        font-size: 12px;
        margin-left: 21vw;  /* Positionnement horizontal */
        top: -61vh;          /* Ajustement vertical */
        width: 100px;  /* Fixer une largeur fixe */
        height: 50px;  /* Fixer une hauteur égale à la largeur pour garder un format carré */
        line-height: 15px; /* Centrer le texte verticalement */
        text-align: center; /* Centrer le texte horizontalement */
    }
    .dropdown-content5 {
        min-width: 160px;
        z-index: 1;
        left: 17.5vw;
        top: -56vh;/* Positionnement du menu */
        width: 100px;  /* Fixe la largeur du menu */
        height: auto;  /* Ajuste la hauteur automatiquement selon le contenu */
    }
}

/* Positionnement pour petits écrans */
@media all and (max-width: 600px) {
    .language-button {
        position: absolute;
        font-size: 12px;
        margin-left: -14vw;  /* Positionnement horizontal */
        top: -78vh !important; /* Ajustement vertical */
        width: 100px;  /* Fixer une largeur fixe */
        height: 50px;  /* Fixer une hauteur égale à la largeur pour garder un format carré */
        line-height: 15px; /* Centrer le texte verticalement */
        text-align: center; /* Centrer le texte horizontalement */
    }
  
    .dropdown-content5 {
        min-width: 160px;
        z-index: 1;
        left: -20.5vw;
        top: -68vh; /* Positionnement vertical du menu */
        width: 100px;  /* Fixe la largeur du menu */
        height: auto;  /* Ajuste la hauteur automatiquement selon le contenu */
    }
  }
/* Header*/
header {  
    position: relative;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    height: 500px;
    padding: 10px;
    border-radius: #ffffff;
    width:100.2%;
    display: block;
}

.header h1, .header p1, .header p2 {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    
}
 
/* Style du carrousel */
.background-carousel {
    position: absolute; /* Garde la position relative au header */
    top: 0;
    left: 0;
    width: 100%;
    height: 150%; /* Tu peux ajuster cette hauteur si nécessaire */
    z-index: -1; /* L'image est derrière le contenu */
    overflow: hidden; /* Masque les parties de l'image qui dépassent */
    pointer-events: none; /* Désactive les interactions */
    filter: brightness(30%); /* Réduit la luminosité */
    transform: translate3d(0, 0, 0); /* Améliore la performance pour les animations */
}

/* Style des images du carrousel */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Les images dans le carrousel */
.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Adapte l'image sans la déformer */
}

/* Activer l'image visible dans le carrousel */
.carousel-image.active {
    opacity: 1;
}


.header h1 {
    position: absolute;
    top: 5em; /* Réglage pour centrer verticalement */
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5em;
    font-family: 'roman' ;
    width: 40%;
}

.header p1, .header p2 {
    position: absolute;
    font-size: 1.8em;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-family: 'Work sans';
}

.header p1 {
    top: 14.5em; /* Ajustez la position verticale */
    left: 50%; /* Ajustez la position horizontale */
    width:40%;
}

.header p2{
    top: 85%; /* Ajustez la position verticale */
    left: 50%; /* Ajustez la position horizontale */
}

.slider-background {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto;
    left:-40%;
}

.logo-nav{
    width: 100%;
     
}
/* Navigation */
nav {
    background-color:transparent;
    color: #ffffff;
     height: -10px;
     font-family: "Montserrat";
}

.defilement{
    position: fixed;
    top: 0;  
    width: 102%;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
    height:10%;
    margin-right:80%;
    margin-left:-2%;
    height:80px;
     
}

.defilement img{
    right:130px;
}

/* Contenu du menu */
nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
/* Logo Kidigeek */
.logo-item {
    display: flex;
    align-items: center;
    margin-right: 20px; /* Espacement entre le logo et "A Propos" */
    
}

.logo-item .logo {
    height: 50px; /* Taille du logo */
    margin-right: 10px; /* Espacement entre l'image et le lien */
}

/* Menu principal */
.menu {
    list-style: none;
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

/* Liens du menu */
.menu li {
    position: relative;
    margin: 0 20px;
}

/* Liens du menu */
.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    padding: 10px;
    position: relative;
    transition: color 0.3s ease;
}

/* Animation de survol des liens */
.menu a:hover {
    color: #45a2ff;
}

/* Menu déroulant */
.dropdown-content,
.dropdown-content1 {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    z-index: 1;
    left: 0;
    top: 100%;
    margin-top: 5px;
    transition: opacity 0.3s ease;
}

.dropdown-content a,
.dropdown-content1 a {
    color: #333;
    padding: 10px;
    text-align: left;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Survol des éléments du menu déroulant */
.dropdown-content a:hover,
.dropdown-content1 a:hover {
    background-color: #f2f2f2;
}

/* Affichage du menu déroulant */
.dropdown:hover .dropdown-content,
.dropdown:hover .dropdown-content1 {
    display: block;
    opacity: 1;
}

/* Style du bouton "Plus Infos" */
.gradient-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.gradient-button a {
    background-color: #45a2ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.gradient-button a:hover {
    background-color: #3578e5;
}
 

.gradient-button:active {
    transform: translateY(1px);
}

.gradient-button a {
    color: inherit;
    text-decoration: none;
}

.border-button {
    background-color: transparent; /* Fond transparent */
    border: 2px solid #4CAF50; /* Bordure solide */
    color: #4CAF50; /* Couleur du texte */
    padding: 15px 32px; /* Espacement intérieur */
    text-align: center; /* Centrer le texte */
    text-decoration: none; /* Supprime les soulignements */
    font-size: 20px; /* Taille de la police */
    font-weight: bold; /* Gras */
    border-radius: 10px; /* Coins arrondis */
    cursor: pointer; /* Curseur de la souris */
    position: relative;
    z-index:1;
    top:105%;
    left:0vw;
  }
  
  .border-button:hover {
    background-color: #4CAF50; /* Changement de couleur de fond au survol */
    color: white; /* Changement de couleur du texte au survol */
  }


    .modal {
        display: none;
        position: fixed;
        z-index: 1000; /* Assurez-vous que le modal est au-dessus des autres éléments */
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 50%;
        max-width: 800px;
        height: auto;
        padding: 20px;
        box-sizing: border-box;
        position: relative;
    }
    
    .modal-content {
        position: relative; /* Assurez-vous que le contenu du modal est positionné correctement */
        
    }
    
    .modal-content video {
        width: 100%;
        height: auto;
        position: relative; /* Assurez-vous que la vidéo est positionnée correctement */
        z-index: 999; /* Assurez-vous que la vidéo est au-dessus des autres éléments */
    }
    
    .close {
        position: absolute;
        top: 10px;
        right: 10px;
        color: white;
        font-size: 24px;
        cursor: pointer;
        z-index: 1001; /* Assurez-vous que le bouton de fermeture est au-dessus de tout */
    }
    .burger-menu img{
         position: absolute;
        font-size:10%;
        cursor: pointer;
        z-index: 3;
        top:20em;
    }
    .burger-menu-button{
        position: absolute;
       display: none;
       cursor: pointer;
       z-index: 3;
       top:2em;
   }
   
/* Styles pour les appareils en mode paysage */
@media all and (min-width: 600px) and (max-width: 1367px) and (orientation: landscape) {
    header {
        height: 500px;
        
        max-width: 1365px;
        top: -2em;
    }

    .logo-nav {
        height: 781px;
    }

    .slider-background {
        position: relative;
        z-index: 1;
        margin: 0 auto;
        display: block;
        max-width: 100%;
        height: auto;
        left: -35%;
        top: 20%;
    }

    nav a:not(.slider-background)::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #fff;
        visibility: hidden;
        transform: scaleX(0);
        transition: all 0.3s ease-in-out;
    }

    nav a:not(.slider-background):hover::before {
        visibility: visible;
        transform: scaleX(1);
    }

    header h1 {
        font-size: 1.2em;
        margin-top: -0%;
        width: 80% !important;
        margin-left: -1.2%;
    }
    
    header p1 {
        font-size: 1.5em !important;
        margin-top: 3%;
        width: 60% !important;
        display: block;
    }

    header p {
        font-size: 0.7em;
    }

    .defilement {
        height: 8%;
        display: flex;
        position: fixed;
        top: 0%;
        left: -2%;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(100%);
        transform: translateX(-100%);
        transition: transform 2s ease, visibility 2s ease;
        z-index: 1000;
        visibility: hidden;
    }

    .defilement.visible {
        transform: translateX(0);
        visibility: visible;
    }

    .burger-menu-button {
        display: flex;
        cursor: pointer;
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 20em;
        font-size: 35px;
        width: 35px !important;
        visibility: visible;
    }

    .burger-menu-button img {
        display: flex;
        cursor: pointer;
        z-index: 1001;
        position: fixed;
        top: 4%;
        left: 90vw;
        font-size: 35px;
        width: 35px !important;
        visibility: visible;
    }

    .defilement.mobile-menu {
        margin-left: 0;
    }

    nav ul {
        position: absolute;
        margin-top: -10%;
        list-style: none;
        display: flex;
        margin-left: 1%;
        flex-direction: column;
        background-color: rgba(128, 128, 128, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px) !important; /* Ajoute cette ligne */
        width: 100%;
        height: 130vh;
        z-index: -57;
        justify-content: center;
        align-items: center;
    }

    nav ul li {
        display: inline-block;
        margin-left: -0px !important;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        margin: 15px 0;
    }

    nav a {
        padding: 8px;
        color: #ffffff;
        font-size: 20px !important;
    }

    .gradient-button {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px;
        width: 50%;
        left: 0em;
        top: 2%;
    }

    .gradient-button a {
        font-size: 35px;
        text-align: center;
    }

    .modal {
        width: 100%;
    }

    .header .border-button {
        top: 95%;
        transform: translateX(-2%);
    }

    .dropdown-content, .dropdown-content1, .dropdown-content a, .dropdown-content1 a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        display: none !important;
        padding: 5px 5px;
        align-items: center;
        text-align: center;
        margin-left: 0%;
    }

    .dropdown:hover .dropdown-content, .dropdown:hover .dropdown-content1 {
        display: none;
    }
}

/* Media queries pour les appareils mobiles */
@media all and (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    header {
        height: 500px;
        top: -2em;
    }

    .logo-nav {
        height: 780px;
    }

    .slider-background {
        position: relative;
        z-index: 1;
        margin: 0 auto;
        display: block;
        max-width: 100%;
        height: auto;
        left: -30%;
        top: 25%;
    }

    nav a:not(.slider-background)::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #fff;
        visibility: hidden;
        transform: scaleX(0);
        transition: all 0.3s ease-in-out;
    }

    nav a:not(.slider-background):hover::before {
        visibility: visible;
        transform: scaleX(1);
    }

    header h1 {
        font-size: 2.5em;
        margin-top: -3%;
        width: 50% !important;
        margin-left: 0.3%;
    }

    header p {
        font-size: 0.8em;
    }

    header p1 {
        font-size: 1.5em !important;
        margin-top: 5%;
        width: 80% !important;
    }

    header p2 {
        font-size: 0.8em;
        margin-top: 7%;
    }

    .defilement {
        height: 8%;
        display: flex;
        position: fixed;
        top: 0;
        left: -2%;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(100%);
        transform: translateX(-100%);
        transition: transform 2s ease, visibility 2s ease;
        z-index: 1000;
        visibility: hidden;
    }

    .defilement.visible {
        transform: translateX(0);
        visibility: visible;
    }

    .burger-menu-button {
        display: flex;
        cursor: pointer;
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 20em;
        font-size: 35px;
        width: 35px !important;
        visibility: visible;
    }

    .burger-menu-button img {
        display: flex;
        cursor: pointer;
        z-index: 1001;
        position: fixed;
        top: 4%;
        left: 90vw;
        font-size: 35px;
        width: 35px !important;
        visibility: visible;
    }

    .defilement.mobile-menu {
        margin-left: 0;
    }

    nav ul {
        position: absolute;
        margin-top: -30%;
        list-style: none;
        display: flex;
        margin-left: 1%;
        flex-direction: column;
        background-color: rgba(128, 128, 128, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px) !important; /* Ajoute cette ligne */
        width: 100%;
        height: 140vh;
        z-index: -57;
    }

    nav ul li {
        display: inline-block;
        margin-left: -35%;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        margin: 15px 0;
    }

    nav a {
        padding: 8px;
        color: #ffffff;
        font-size: 20px !important;
    }

    .gradient-button {
        position: relative;
        left: 0vw;
        top: 2vh;
        width: 30%;
        font-size: 15px;
    }

    .modal {
        width: 100%;
    }

    .header .border-button {
        position: absolute;
        top: 24em;
        left: 50%;
        transform: translateX(-50%);
        width: 81%;
    }

    .dropdown-content, .dropdown-content1, .dropdown-content a, .dropdown-content1 a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        display: none !important;
        padding: 5px 5px;
        align-items: center;
        text-align: center;
        margin-left: 0%;
    }
}

/* Pour les écrans de moins de 500px */
@media all and (max-width: 600px) {
    header {
        height: 500px;
        width: 100%;
        top: -2em;
    }

    .logo-nav {
        height: 780px;
        object-fit: cover;
    }

    .slider-background {
        position: relative;
        z-index: 1;
        margin: 0 auto;
        display: block;
        max-width: 100%;
        height: auto;
        left: -20%;
        top: 25%;
    }

    header h1 {
        font-size: 3.5em !important;
        margin-top: -15%;
        width: 80% !important;
    }

    header p {
        font-size: 0.8em;
    }

    header p1 {
        font-size: 1.4em !important;
        margin-top: 14%;
        width: 80% !important;
    }

    header p2 {
        font-size: 0.8em;
        margin-top: 9%;
        width: 70%;
    }

    .defilement {
        height: 8%;
        display: flex;
        position: fixed;
        top: 0;
        left: -2%;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(100%);
        transform: translateX(-100%);
        transition: transform 2s ease, visibility 2s ease;
        z-index: 1000;
        visibility: hidden;
    }

    .defilement.visible {
        transform: translateX(0);
        visibility: visible;
    }

    .burger-menu-button {
        display: flex;
        cursor: pointer;
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 5em;
        font-size: 35px;
        width: 35px !important;
        visibility: visible;
    }

    .burger-menu-button img {
        display: flex;
        cursor: pointer;
        z-index: 1001;
        position: fixed;
        top: 5%;
        left: 85.5vw;
        font-size: 35px;
        width: 35px !important;
        visibility: visible;
    }

    nav ul {
        position: absolute;
        margin-top: -32%;
        list-style: none;
        display: flex;
        margin-left: 2%;
        flex-direction: column;
        background-color: rgba(128, 128, 128, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px) !important; /* Ajoute cette ligne */
        width: 100%;
        height: 130vh;
        z-index: -57;
    }

    nav ul li {
        display: inline-block;
        margin-right: 0px;
        left: -0%;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        margin: 15px 0;
        top: 6%;
    }
  
    nav a {
        padding: 8px;
        color: #ffffff;
        font-size: 20px !important;
    }
  
    .gradient-button {
        position: relative;
        left: 0vw;
        top: 10vh;
        width: 30%;
        font-size: 15px;
    }

    .modal {
        width: 100%;
    }

    .header .border-button {
        position: absolute;
        top: 25.5em;
        left: 50%;
        transform: translateX(-50%);
        width: 81%;
    }

    .dropdown-content, .dropdown-content1, .dropdown-content a, .dropdown-content1 a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        display: none !important;
        padding: 5px 5px;
        align-items: center;
        text-align: center;
        margin-left: 0%;
    }
}


/*section1*/
/* =========== SECTION ENTREPRISE =========== */
#entreprise {
    background-color: #f5f5f5;
    padding: 50px 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-top:33vh;
}

/* TITRE PRINCIPAL */
#entreprise h1 {
    font-size: 4vw;
    font-weight: bold;
    color: #0044CC;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* SOUS-TITRE */
#entreprise .subtitle {
    font-size: 22px;
    font-style: italic;
    color: black;
    font-family: "Work Sans", sans-serif;
    margin-bottom: 30px;
}

/* BLOCS VISION */
#entreprise .vision-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    width: 85%;
    max-width: 1100px;
    margin: 30px auto;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease;
}

#entreprise .vision-content:hover {
    transform: translateY(-5px);
}

#entreprise .vision-content p {
    font-size: 20px;
    line-height: 1.8;
    color: black;
    font-family: 'Work Sans', sans-serif;
}

/* IMAGES */
#entreprise .images {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
}

#entreprise .images img {
    border-radius: 15px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    width: 250px;
    height: 180px;
    transition: transform 0.3s ease;
}

#entreprise .images img:hover {
    transform: scale(1.05);
}

/* =========== NOUVEAU DESIGN DES MISSIONS =========== */
#entreprise ol {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin-top: 40px;
    list-style: none;
}

#entreprise ol li {
    background: linear-gradient(135deg, #0044CC, #00A3E0);
    color: white;
    border-radius: 15px;
    padding: 30px;
    width: 30%;
    min-width: 280px;
    text-align: center;
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

#entreprise ol li::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

#entreprise ol li:hover::before {
    transform: scale(3);
    opacity: 0;
}

#entreprise ol li:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

#entreprise ol li h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

#entreprise ol li p {
    font-size: 18px;
    opacity: 0.9;
}

/* =========== MEDIA QUERIES =========== */

/* Tablettes */
@media screen and (min-width: 600px) and (max-width: 1024px) {
    .section1 {
        margin-top:17vh !important;
    }
    
    #entreprise .vision-content {
        width: 90%;
        padding: 40px;
    }

    #entreprise ol {
        flex-direction: column;
        align-items: center;
    }

    #entreprise ol li {
        width: 90%;
    }
}
 
/* Mobiles */
@media screen and (max-width: 600px) {
    #entreprise {
        margin-top:20vh;
    }
    
    #entreprise h1 {
        font-size: 6vw;
    }

    #entreprise .subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    #entreprise .vision-content {
        width: 95%;
        padding: 30px;
    }

    #entreprise .images img {
        width: 200px;
        height: 150px;
    }

    #entreprise ol li {
        width: 100%;
        padding: 25px;
    }

    #entreprise ol li h4 {
        font-size: 20px;
    }

    #entreprise ol li p {
        font-size: 16px;
    }
}

/*fin section1*/

/*section3*/

.section3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    margin: 5% auto;
}

/* Titre principal */
.w403 h1 {
    font-size: 3.2em;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'roman', serif;
    text-align: center;
    margin-bottom: 20px;
}

/* Sous-titre */
.w603 h3 {
    font-size: 1.8em;
    font-family: 'Work Sans', sans-serif;
    margin-bottom: 15px;
}

/* Texte d’introduction */
.w603 p {
    font-size: 1.2em;
    font-family: 'Work Sans', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.6;
}

/* Bloc flex des cours */
.flex2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

/* Style général des blocs */
.ligne, .coursF {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 2000px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
 
/* Images des cours */
.ligne img, .coursF img {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Titres des cours */
.ligne h2, .coursF h2 {
    font-size: 2em;
    font-family: 'roman', serif;
    margin-bottom: 10px;
    color: #0044CC;
}

/* Texte des cours */
.ligne p, .coursF p {
    font-size: 1em;
    font-family: 'Work Sans', sans-serif;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .w403 h1 {
        font-size: 2.5em;
    }

    .w603 h3 {
        font-size: 1.5em;
    }

    .w603 p {
        font-size: 1em;
    }

    .ligne, .coursF {
        width: 100%;
    }
}

 
 /* finsection3*/

 /* ================================
   Section 4 - Témoignages (Base)
   ================================ */
   .section4 {
    width: 100%;
    padding: 40px 20px;
    margin-top: 10px;
    background: url('img/enfants.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
  }
  
  .boxed {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .flex2 {
    display: flex;
    flex-direction: column; /* Met en colonne */
    align-items: center; /* Centre horizontalement */
    text-align: center;
}

  .w404 h1 {
    font-family: "Roman", serif;
    font-size: 3em;
    margin-bottom: 20px;
  }
  
  .testimonial-message p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    max-width: 800px;
    margin-top:-5%;
  }
  
  /* ================================
     Contenu en colonnes
     ================================ */
  .content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
  
  .content > .left,
  .content > .right {
    flex: 1;
    min-width: 300px;
  }
  
  /* ================================
     Slider Containers
     ================================ */
  .slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 10px;
  }
  
  /* Slider-1 : Vidéo */
  .slider-container.slider-1 {
    max-width: 675px;
    margin: 0 auto;
  }
  
  .slider-1 .slider video {
    width: 100%;
    display: block;
    border-radius: 10px;
  }
  
/* Slider-2 : Images (sans animation automatique) */
.slider-container.slider-2 {
    max-width: 375px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    top:7vh;
  }
  
 /* Conteneur de l'image du slider */
.slider-container.slider-2 .slider {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  /* Style du bloc de témoignage */
  .testimonial {
    display: none;
    text-align: center;
    background: white;
    color: black;
    padding: 4vw; /* Utilisation d'une unité relative pour un padding flexible */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 25vh;
    position: relative; /* pour positionner le texte au centre */
    overflow: hidden;
  }
  
  /* Lorsqu'un témoignage devient actif, il est affiché */
  .testimonial.active {
    display: block;
  }
  
/* Style du texte à l'intérieur du témoignage */
.testimonial.active p {
    font-size: 1vw; /* Utilisation de vw pour adapter la taille de police en fonction de la largeur de l'écran */
    position: absolute; /* Positionner le texte au centre */
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrer exactement */
    z-index: 2; /* S'assurer que le texte reste au-dessus de l'image */
    width: 80%;
    padding: 2vh; /* Ajouter un peu de padding vertical pour espacer le texte */
  }
   /* Style du texte à l'intérieur du témoignage */
   .testimonial.active p1 {
    font-size: 1vw; /* Utilisation de vw pour adapter la taille de police en fonction de la largeur de l'écran */
    position: absolute; /* Positionner le texte au centre */
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrer exactement */
    z-index: 2; /* S'assurer que le texte reste au-dessus de l'image */
    width: 80%;
    padding: 2vh; /* Ajouter un peu de padding vertical pour espacer le texte */
  }
  
  /* Deuxième paragraphe - S'il existe */
  .testimonial.active p2 {
    font-size: 1vw; /* Utilisation de vw pour adapter la taille de police en fonction de la largeur de l'écran */
    position: absolute; /* Positionner le texte au centre */
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrer exactement */
    z-index: 2; /* S'assurer que le texte reste au-dessus de l'image */
    width: 70%;
    padding: 2vh; /* Ajouter un peu de padding vertical pour espacer le texte */
  }
  
  /* Forcer chaque image à occuper exactement 100% de la largeur */
  .slider-container.slider-2 .slider img {
    flex: 0 0 100%;
    width: 100%;
    display: block;
  }
  
  
  /* Boutons de navigation pour le slider d’images */
  .slider-container.slider-2 .prev,
  .slider-container.slider-2 .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    color: #333;
    font-size: 1.5em;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;
  }
  
  .slider-container.slider-2 .prev {
    left: 10px;
  }
  
  .slider-container.slider-2 .next {
    right: 10px;
  }

  @media all and (min-width: 600px) and (max-width:  1367px) and (orientation: landscape) {
    /* Affichage en deux colonnes déjà géré par .content */
    .w404 h1 {
       font-size: 3em;
     }
     .testimonial-message p {
       font-size: 1.2em;
     }
     /* Slider-2 : Images (sans animation automatique) */
.slider-container.slider-2 {
   max-width: 375px;
   margin: 0 auto;
   position: relative;
   overflow: hidden;
   top:0vh;
 }
 .testimonial {
   height: 30vh; /* Augmenter encore la hauteur sur les petits écrans */
   padding: 10vw; /* Plus de padding pour les plus petits écrans */
 }

 .testimonial.active p {
   position:absolute;
   font-size: 1.5vw; /* Agrandir encore plus la taille de la police sur les très petits écrans */
   width: 80%; /* Réduire encore la largeur du texte */
 }

 .testimonial.active p1 {
   position:absolute;
   font-size: 1.5vw; /* Agrandir encore plus la taille de la police sur les très petits écrans */
   width: 80%; /* Réduire encore la largeur du texte */
 }
 .testimonial.active p2 {
   font-size: 1.5vw;
 }
 }
 @media all and (min-width: 600px) and (max-width: 1024px)and (orientation: portrait)  {
   .content {
       flex-direction: column;
       align-items: center;
     }
     .slider-container.slider-1,
     .slider-container.slider-2 {
       max-width: 80%;
       margin: 20px auto;
     }
     .w404 h1 {
       font-size: 2.8em;
     }
     .slider-container.slider-2 {
       max-width: 575px;
       margin: 0 auto;
       position: relative;
       overflow: hidden;
       top:0vh;
       width:200%;
       height:16vh;
       left:-46%;
     }
     .testimonial-message p {
       font-size: 1.1em;
     }
     .testimonial {
       height: 25vh; /* Augmenter la hauteur du témoignage sur les écrans plus petits */
       padding: 6vw; /* Augmenter un peu le padding pour les petits écrans */
     }
   
     .testimonial.active p {
       font-size: 2vw; /* Agrandir légèrement la police sur les écrans plus petits */
       width: 80%; /* Réduire la largeur du texte pour éviter qu'il ne touche les bords */
       top: 7em;
     }
     .testimonial.active p1 {
       font-size: 2vw; /* Agrandir légèrement la police sur les écrans plus petits */
       width: 80%; /* Réduire la largeur du texte pour éviter qu'il ne touche les bords */
       top: 7em;
     }
     
     .testimonial.active p2 {
       font-size: 2vw;
     }
}


@media all and (max-width: 600px) {
   .section4 {
       padding: 20px 10px;
       margin-top: 0px;
     }
     .w404 h1 {
       font-size: 2.5em;
     }
     .testimonial-message p {
       font-size: 1em;
       padding: 0 10px;
     }
     .slider-container.slider-1,
     .slider-container.slider-2 {
       max-width: 100%;
       margin: 20px auto;
     }
     .slider-container.slider-2 .prev,
     .slider-container.slider-2 .next {
       font-size: 1.2em;
       padding: 8px;
     }
     .slider-container.slider-2 {
       max-width: 375px;
       margin: 0 auto;
       position: relative;
       overflow: hidden;
       top:0vh;
       height: 20em;
     }
     .testimonial {
       height: 50vh; /* Augmenter encore la hauteur sur les petits écrans */
       padding: 8vw; /* Plus de padding pour les plus petits écrans */
     }
   
     .testimonial.active p {
       font-size: 5vw; /* Agrandir encore plus la taille de la police sur les très petits écrans */
       width: 90%; /* Réduire encore la largeur du texte */
       top: 10em;
     }

     .testimonial.active p1 {
       font-size: 5vw; /* Agrandir encore plus la taille de la police sur les très petits écrans */
       width: 90%; /* Réduire encore la largeur du texte */
       top: 9em;
     }
   
     .testimonial.active p2 {
       font-size: 5vw;
     }
   }
/*fin section4*/


/* ================================
   Footer - Barre en bas du site
   ================================ */
   .footer {
    background-color: #222;
    color: white;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.footer-logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

/* Infos de contact */
.footer-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-info p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-info .material-icons {
    font-size: 20px;
    vertical-align: middle;
    color: #00aced;
}

/* Réseaux sociaux */
.footer-social {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-social img {
    width: 24px;
    height: 24px;
}

/* Copyright */
.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.7;
}

/* =========== Media Queries =========== */
@media screen and (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-info, .footer-social {
        margin-bottom: 10px;
    }

    .footer-social {
        justify-content: center;
    }
}

 