      /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
        }
 
  /* Header Styles */
  .header {
    position: relative;
    padding: 1rem 2rem;
    z-index: 10;
}

.background-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}


.nav-links a:hover {
    color: #ccc;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff; /* Change la couleur du texte en blanc */
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}


.logo-text {
    font-style: italic;
    color: #fff; /* Change la couleur du texte du logo en blanc */
    font-size: 0.875rem;
}

           .logo-container {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo {
            width: 120px;
            height: auto;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
            cursor: pointer;
        }
        /* Main Content Styles */


        .grid-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        
.grid-item h2 {
    font-size: 1.2rem; /* Réduit la taille de la police */
    font-weight: 400;
    margin: 0;
}

        /* Footer Styles */
        .footer {
            background-color: #f5f5f5;
            padding: 1.25rem;
            text-align: center;
            margin-top: auto;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .nav-links {
                gap: 1rem;
            }
            
            .grid-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .nav {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-links {
                flex-direction: column;
                width: 100%;
                text-align: center;
            }

            .grid-container {
                grid-template-columns: 1fr;
            }
        }
        .stats-text {
            font-weight: 700;
            font-size: 1.1rem;
            line-height: 1.5;
            color: #333;
        }
        
        .stats-text span {
            display: block;
            margin-bottom: 0.5rem;
        }
    .methode-section {
        position: relative;
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .background-image {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: url('img/Capture\ d\'écran\ 2025-02-19\ 153903.jpg');
   background-size: cover;
   background-position: left center;
   background-repeat: no-repeat;
       
    }

    .background-image2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/Capture\ d\'écran\ 2025-02-19\ 155030.jpg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;   
     }

     .grid-container {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(100px, 200px)); /* Colonnes plus larges */
        gap: 1.5rem; /* Espacement réduit */
        max-width: 800px; /* Largeur maximale réduite */
        margin: 0px;
        padding: 15px;
        flex: 1;
    }
    
    .grid-item {
        background-color: #506864;
        color: white;
        aspect-ratio: 2 / 1;
        text-align: center;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.3s ease, background-color 0.3s ease;
        border: none !important;
        box-shadow: none !important;
    }
    
    .grid-item h2 {
        font-size: 1.2rem;
        font-weight: 400;
        margin: 0;
        padding: 0;
        text-decoration: none !important;
        border-bottom: none !important;
    }
    
    .grid-item h2::before,
    .grid-item h2::after {
        display: none !important;
        content: none !important;
    }

    
    .container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0px;
        position: relative;
        z-index: 2;
    }
    
    .main-title {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-wrapper {
        margin-left: 45%;
        max-width: 600px;
    }
    
    .text-content > div {
        margin-bottom: 1.5rem;
    }
    
    h3 {
        color: #333;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-style: italic;
        color: #666;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
    
    
    p {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    ul {
        list-style: none;
        padding-left: 1rem;
    }
    
    ul li {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    ul li::before {
        margin-right: 0.5rem;
    }
    
    @media (max-width: 992px) {
        .background-image {
            width: 100%;
            opacity: 0.1;
        }
        
        .content-wrapper {
            margin-left: 0;
            max-width: 100%;
        }
    }
    .formation-section {
        position: relative;
        min-height: 100vh;
        padding: 4rem 0;
        z-index: 1;
    }
    
    .background-image3 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('img/Capture\ d\'écran\ 2025-02-22\ 004430.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    
    .container1 {
        max-width: 1400px;
        margin: 0;
        padding: 3rem;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    .main-title1 {
        text-align: left;
        margin: 0;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: white;
        max-width: 600px;
        transform: translateY(100px);
    }
    
    .content-wrapper1 {
        margin-left: 0;
        max-width: 500px;
        margin: 0;
    }
    
    .text-block1 {
        font-size: 1.1rem;
        line-height: 1.6;
        color: white;
        margin-bottom: 2rem;
        margin: 0;
    }
    
    .applications1 {
        margin: 2rem 0;
    }
    
    .applications1 a {
        color: white;
        text-decoration: underline;
    }
    
    .benefits {
        margin-top: 3rem;
    }
    .methode-section + .formation-section{
        margin-top: 0;  /* Supprime la marge supérieure de la deuxième section */
    }
    .stats-text1 {
        font-weight: 800; /* Texte plus gras */
        font-size: 1.2rem;
        text-align: center;
        color: white;
        margin-top: 2rem;
        margin: 10px 0;
    }
    .stats-text1 p {
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    
    @media (max-width: 768px) {
        .container1 {
            padding: 0 2rem;
        }
        
        .main-title1 {
            font-size: 2rem;
        }
        
        .content-wrapper1 {
            max-width: 100%;
        }
    }



    .formation-details-section {
        background-image: url(img/pixelcut-export.png);
        padding: 50px 20px;
        margin-top: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        color: #ffffff;
        position: relative;
    }
    
    .background-image4 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('img/pixelcut-export.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    
    .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 800px; /* Ajuste la largeur de la colonne */
        margin: auto;
        color: white;
        padding: 20px;
        border-radius: 10px;
    }
    
    .section-header h1 {
        text-align: left;
        width: 100%;
        color: #ffffff;
    }
    
    .date {
        text-align: left;
        width: 100%;
        font-size: 14px;
        color: gray;
    }
    
    /* Contenu */
    .content-wrapper {
        display: flex;
        text-align: left;
        margin-top: 10px;
    }
    
    .column1 {
        width: 70%;
        color: rgb(255, 255, 255);
        position: relative;
        left: -220px;
    }
    .column2 {
        width: 70%;
        color: rgb(255, 255, 255);
        position: relative;
        right: -20px;
    }
    .column h2 {
        color: #007bff;
    }
    
    .column ul {
        
        margin-left: 20px;
    }
    
    /* Section des fichiers PDF */
    .pdf-section {
        margin-top: 30px;
        text-align: center;
    }
    
    .pdf-list {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        text-align: left;
    }
    
    .pdf-column {
        width: 48%;
    }
    
    .pdf-column a {
        display: flex;
        align-items: center;
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 5px;
        text-decoration: none;
        color: rgb(255, 255, 255);
    }
    .container4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 800px; /* Ajuste la largeur de la colonne */
        margin: auto;
        color: white;
        padding: 20px;
        border-radius: 10px;
    }
    .container4 h1 {
        text-align: left;
        width: 100%;
    }
    .content4 {
        text-align: left;
        width: 100%;
    }
    .pdf-column a img {
        width: 24px;
        margin-right: 10px;
    }
    
    /* Section sur les supports pédagogiques */
    .additional-documents {
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
    }
    
    .evaluation-docs,
    .informational-docs {
        width: 48%;
        padding: 20px;
        border-radius: 8px;
    }
    
    .evaluation-docs h3,
    .informational-docs h3 {
        color: #007bff;
        margin-bottom: 10px;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .content-wrapper {
            flex-direction: column;
            text-align: center;
        }
    
        .column {
            width: 100%;
            margin-bottom: 20px;
        }
    
        .pdf-list {
            flex-direction: column;
        }
    
        .pdf-column {
            width: 100%;
        }
    
        .additional-documents {
            flex-direction: column;
        }
    
        .evaluation-docs,
        .informational-docs {
            width: 100%;
            margin-bottom: 20px;
        }
    }






    @media (max-width: 768px) {
        .header {
            position: fixed; /* Fixer le header en haut */
            top: 0; /* Positionner en haut */
            left: 0; /* Positionner à gauche */
        }
    
        .logo {
            width: 80px; /* Logo plus petit sur mobile */
        }
    
        .grid-container {
            grid-template-columns: 1fr; /* Une seule colonne */
            gap: 1rem;
            padding: 0 1rem;
            margin: 2rem auto;
            max-width: 90%; /* Largeur maximale en pourcentage */
        }
    
        .grid-item {
            aspect-ratio: 16/9; /* Ratio plus adapté pour mobile */
            min-height: 100px; /* Hauteur minimale */
            width: 100%; /* Largeur complète */
            margin-bottom: 1rem;
        }
    
        .grid-item h2 {
            font-size: 1rem;
            padding: 0.5rem;
        }
    
        h1 {
            font-size: 1.5rem; /* Titre plus petit sur mobile */
            margin: 1rem 0;
            padding: 0 1rem;
        }
    
        .nav-links {
            background-color: rgba(0, 0, 0, 0.9);
            padding: 1rem;
        }
    
        .nav-links a {
            font-size: 0.9rem;
            padding: 0.5rem 0;
        }
    }
    
    /* Pour les très petits écrans */
    @media (max-width: 375px) {
        .grid-container {
            padding: 0 0.5rem;
        }
    
        .grid-item h2 {
            font-size: 0.9rem;
        }
    
        h1 {
            font-size: 1.3rem;
        }
    }




    /* Header noir par défaut */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 10px;
    transition: color 0.3s ease;
}

/* Burger menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

/* Style pour le menu déroulant */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding: 5px 0;
}

.dropdown-content a {
    color: #333333 !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 0.875rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #506864 !important;
}

/* Pour l'affichage au survol sur desktop */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .dropdown:hover + .header {
        background-color: #ffffff;
    }
}


/* Classe pour afficher le dropdown */
.dropdown-content.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: flex; /* Activer l'affichage sur mobile */
        
    }
    
    /* Cacher les liens de navigation par défaut sur mobile */
    .nav-links {
        display: none;
    }
    
    /* Style des liens quand ils sont activés par le menu burger */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Ajustez selon la hauteur de votre header */
        left: 0;
        right: 0;
        padding: 15px;
        z-index: 99;
    }
    
    /* Optionnel: style pour les liens dans le menu mobile */
    .nav-links.active a {
        padding: 12px 15px;
        text-align: center;
        text-decoration: none;
    }
    
    .nav-links.active a:last-child {
        border-bottom: none;
    }
}
.company-info {
    margin-top: 10px;
    padding: 15px;
    border-radius: 5px;
}

.company-info p {
    margin: 10px 0;
    color: #000000;
    font-size: 12px;
    line-height: 1.5;
}
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: auto;
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 15% auto;
    padding-bottom: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.close-popup {
    position: absolute;
    right: 0;
    top: -40px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .video-popup-content {
        width: 95%;
        margin: 50px auto;
    }
    
    .close-popup {
        top: -35px;
        right: 5px;
    }
}

@media (max-width: 480px) {
    .video-popup-content {
        margin: 20% auto;
    }
}
.separator-with-lines {
    display: flex;
    align-items: center;
    font-size: 0; /* Supprime les espaces entre les éléments inline */

}
/* Ajoutez ce CSS à votre fichier de style */
@media (max-width: 768px) {
    #expandableFooter.collapsed {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }
    
    #expandableFooter {
        max-height: none; /* Pas de limite de hauteur quand expanded */
        transition: max-height 0.5s ease;
    }
    
    .scroll-button {
        position: fixed;
        bottom: 20px !important;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }
}
.separator-with-lines .line {
    flex-grow: 1;
    height: 4px;
    background-color: #ffffff; /* Couleur des lignes */
    width: 800px;
    
}
.separator-with-lines .double-line {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Espacement entre les deux lignes */
}
.legal-text1 {
padding: 30px;
background-color: #bdbdbd;
border-top: 1px solid #bdbdbd;
}
.legal-container2 {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 35px;
    font-size: 6px;
    color: #000000;
    }
.legal-container1 {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
gap: 35px;
font-size: 6px;
color: #000000;
}
.legal-container2 p {
    flex: 1;
    margin: 8px;
    top: -10%;
    font-size: 9px;
    }
    
.legal-container1 p {
flex: 1;
margin: 8px;
top: -10%;
font-size: 10px;
}

@media (max-width: 768px) {
.legal-container1 {
    flex-direction: column;
    text-align: center;
}
.legal-container2 {
    flex-direction: column;
    text-align: center;
}
.legal-container1 p {
    margin-bottom: 10px;
}
.legal-container2 p {
    margin-bottom: 10px;
}
}
 /* Style pour le bouton flottant */
 .scroll-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: transform 0.3s ease;
  }
  
  .arrow-icon {
    width: 90px;
    height: 50px;
    transition: transform 0.3s ease;
    display: block; /* Évite l'espace sous l'image dû à l'alignement inline */
    margin: 0; /* Supprime toute marge */
    padding: 0; /* Supprime tout padding */
    flex-shrink: 0; /* Empêche l'image de rétrécir */
  }
    .txt{
    font-family: "Times New Roman", Times, serif;
    font-style: italic; /* Italique */
    font-weight: normal; /* Pas en gras */
    font-size: 36px;
}
  /* Animation du bouton */
  .scroll-button.active .arrow-icon {
    transform: rotate(180deg);
  }
  /* Footer en état replié */
  .footer1.collapsed {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.5s ease, padding 0.5s ease;
  }

  /* Footer en état étendu */
  .footer1 {
    max-height: 1000px; /* Valeur suffisamment grande */
    transition: max-height 0.5s ease, padding 0.5s ease;
  }
  
  .footer1 {
    background-color: #bdbdbd;
    padding: 40px 0 20px;
    margin-top: 0px; /* Réduit de 50px à 0px pour supprimer l'espace blanc */
    position: relative; /* Ajout pour un meilleur contrôle du positionnement */
    z-index: 10;
}

#expandableFooter {
    margin-top: -20px; /* Valeur négative pour remonter le footer */
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 30px; /* Augmentation du padding interne si nécessaire */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.contact-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.addresses {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-top: 20px;
}

.post-logo {
    width: 60px;
    height: auto;
}

.doc-link, .web-link, .video-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
}

.doc-link img {
    width: 60px;
    height: auto;
}
.web-link img {
    width: 60px;
    height: auto;
}
.video-link img {
    width: 50px;
    height: auto;
}
.social-media {
    display: flex;
    gap: 20px;
}

.social-media img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-media img:hover {
    transform: scale(1.1);
}

.qualiopi-logo {
    position: relative; /* Changement de absolute à relative */
    margin: 30px auto;
    width: 80%;
    max-width: 200px; /* Limiter la largeur maximale */
    text-align: center;
    right: auto; /* Annuler les positionnements absolus */
    top: auto;
    transform: none;
}

.qualiopi-logo img {
    max-width: 100%; /* L'image prendra 100% de son conteneur */
    height: auto;
    display: block; /* Garantit que l'image est traitée comme un bloc */
    margin: 0 auto; /* Centre l'image */
}

.legal-text {
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 20px;
    font-size: 8px;
    color: #666;
    text-align: center;
    border-top: 1px solid #ddd;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .addresses {
        flex-direction: column;
    }

    .social-media {
        justify-content: center;
    }
    
    .qualiopi-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto; /* Centrer l'image */
        padding: 0;
        position: relative;
        top: -30px; /* Remonter l'image */
    }
    
    /* Ajustement de la taille de l'image */
    .qualiopi-logo img {
        max-width: 120px; /* Réduction de la taille */
        width: 40%;
        height: auto;
    }
}

    
    /* Ajout d'un padding inférieur supplémentaire au footer */
    .footer1 {
        padding-bottom: 40px;
    }