/* RESET RULES & HELPER CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --lightblue: #f6f9fc;
    --primary-color: #8B008B;;
  }
  
  main{
    font-family: "Poppins", Sans-serif;
  }
  
  a,
  a:hover {
    color: #7d3c98;
  }
  
  .txt{
  color: var(--primary-color) ;
  text-shadow: 0 1px 2px rgb(61, 59, 59); /* Améliore la lisibilité du texte */
  }
  a:hover {
    text-decoration: none;
  }
  
  .bg-lightblue {
    background: #f8ebf9;
  }
  
  .bg-red {
    background: var(--red);
  }
  
  .text-red {
    color: var(--red);
  }
  
  /* .container-fluid-max {
    max-width: 1440px;
  } */
  
  .card-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .cover {
    background: no-repeat center/cover;
  }
  
  .p-15 {
    padding: 15px;
  }
  
  /* SCROLL ANIMATIONS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .scroll .page-header {
    background: var(--red);
  }
  
  .scroll .hero {
    transform: scale(0.98);
  }
  
  /* HEADER
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .page-header {
    transition: background 0.5s ease-in-out;
  }
  
  .page-header .navbar {
    padding: 1rem 0;
  }
  
  .page-header .navbar-toggler {
    /* the variable is inherited from BS4 built-in variables */
    border-color: var(--white); 
  }
  
  /* BANNER SECTION
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .hero {
    background-attachment: fixed;
    transition: transform 0.5s ease-in-out;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
      rgba(0, 0, 0, 0.5) 100%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.5) 0
    );
  }
  
  .hero .container-fluid {
    z-index: 10;
  }
  
  /* POPULAR DESTINATIONS SECTION
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .popular-destinations figure {
    margin-bottom: 30px;
  }
  
  .popular-destinations figcaption {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
  }
  
  .popular-destinations img {
    filter: grayscale(100%) blur(3px);
    transition: transform 0.5s, filter 0.75s;
  }
  
  .popular-destinations a:hover img {
    transform: scale(1.25);
    filter: none;
  }
  
  /* MEDIA QUERIES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  /* MEDIUM SCREENS */
  @media screen and (max-width: 991px) {
    .page-header {
      background: var(--red);
    }
  }
  
  /* SMALL SCREENS */
  @media screen and (max-width: 767px) {
    .page-footer .footer-child {
      text-align: center;
    }
  }
  
  
 
  ol, ul {
    list-style: none;
  }
  .sommaire{
    /* vertical-align:middle; */
    width: 286px;
    display:inline-block;
   font-family: 'Source Sans Pro', sans-serif;
    transform:translate3d(0,0,0);
    
    position: sticky;
  } 
  
  .sommaire input{
    position:relative;
    /* left:-9999px; */
  }
  .sommaire #togglemenu:checked ~ ul {
    max-height:600px;
    padding-bottom:1em;
  }
  
  .sommaire ul{
    /* margin-top:2px; */
    text-align:left;
    max-height:0px;
    overflow:hidden;
    padding:0;
    transition:300ms ease all;
    margin: 0px;
    
  }
  .sommaire li{
    margin-bottom:1px;
    position:relative;
    z-index:10;
    transition:300ms ease all;
    /* top: -1px; */
    height: 55px;
  }
  .sommaire li a {
  display: block;
  position:relative;
  width:100%;
  padding: 1em;
  background: linear-gradient(135deg, #8B008B, #7d3c98);
  text-decoration:none;
  color:white;
  box-sizing:border-box;
  /* height: 55px; */
  transition:300ms ease all;
  }
  .sommaire li:hover a {
  width:99%;
  margin-left:1%;
  box-shadow: inset 300px 0 300px -300px rgba(255, 255, 255, 0.6);
  }
  .sommaire li:before {
  content: "";
  position: absolute;
  width: 50%;
  height: 30%;
  left: 1%;
  bottom: 16px;
  box-shadow: 10px 0 0px black;
  transition:300ms ease all;
  transform: rotate(0deg)  ;
  }
  
  .sommaire li:hover:before {
  box-shadow: 10px 0 30px black;
  transform: rotate(-4deg);
  bottom: 6px;
  }
  .sommaire li:hover + li{
    z-index:1;
  }
  
  

  #more-text,#more-text2,#more-text3 {
    display: none;
  }
  
  #toggle-btn,#toggle-btn2,#toggle-btn3{
  color: var(--primary-color);
  }
  
  p {
  text-align: justify;
  }
  
  table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  }
  Th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    }
    th {
    background-color: var(--primary-color);
    color: white;
    text-transform: uppercase;
    }
    tr:hover {
    background-color: #f8ebf9;
    }
    
  
  h2 {
      color: #222;
      font-size: 28px;
      margin-bottom: 10px;
      }
    
  p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    }
    
  .contenu{
    left: 20px
  }
            /* Conteneur principal */
            .boxx {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 30px;
            }
    
            /* Style des cartes */
            .card {
                background: white;
                width: 650px;
                padding: 20px;
                border-radius: 12px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
                transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
                text-align: left;
                position: relative;
                overflow: hidden;
            }
    
            .card:hover {
                transform: translateY(-8px);
                box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
            }
    
            /* Icônes */
            .emoji {
                font-size: 26px;
                margin-right: 10px;
            }
    
            /* Style des titres */
            .card h3 {
                color: #1e88e5;
                font-size: 20px;
                margin-bottom: 10px;
                display: flex;
                align-items: center;
            }
    
            /* Style des paragraphes */
            .card p {
                font-size: 14px;
                color: #555;
                margin-bottom: 8px;
                line-height: 1.6;
            }
    
            /* Style spécifique par catégorie */
            .card.frais-refacturables h3 { color: #28a745; } /* Vert */
            .card.frais-non-refacturables h3 { color: #ff9800; } /* Orange */
            .card.urssaf h3 { color: #d32f2f; } /* Rouge */
    
            /* Responsive */
            @media (max-width: 768px) {
                .box{
                    flex-direction: column;
                    align-items: center;
                }
                .card {
                    width: 90%;
                }
            }
    
    h6{
        font-weight: 1000;
      }
    
    .btn{
     color: white;
     background-color: var(--primary-color);
    }
    
    .btn:hover{
      background-color: #7d3c98;
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(109, 40, 217, 0.2);
    
    }
    
    
    
    .btn {
      padding: 1rem 2rem;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 30px;
      background-color: var(--primary-color);
      box-shadow: -5px 5px 15px gray;
      color: white;
      border: none;
      transition: var(--transition);
      cursor: pointer;/* Transition pour l'effet de survol */
    }
    
    .btn:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      background-color: #5a1478 ;
    }


    .entete{
        background: linear-gradient(135deg, #8B008B, #7d3c98);
        color: #fff;
        /* padding: 40px 20px; */
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        
    }

    .entete h1{ 
        font-size: 2.8rem;
        font-weight: 700;
    }
    .entete p {
  font-size: 1.2rem;
  margin-top: 10px;
  opacity: 0.9;
  color:white;
  text-align: center;
}

    .profiles {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* padding: 10px; */
        gap: 20px;
      }
      
      .profile-card {
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 25px;
        width: 30%;
        /* min-width: 300px; */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .profile-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      }
      
      .profile-icon {
        text-align: center;
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 15px;
      }
      
      .profile-card h2 {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-top: 0;
        text-align: center;
      }
      
      .profile-card p {
        font-size: 0.8rem;
        color: #555;
        line-height: 1.6;
      }
          
      .secteurs-eligibles {
        text-align: center;
        border-radius: 8px;
        font-family: 'Arial', sans-serif;
      }
      
      .secteurs-eligibles h2 {
        font-size: 28px;
        color: #333;
        margin-bottom: 30px;
        font-weight: bold;
      }
      
      .secteur-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
      }
      
      .secteur-card {
        position: relative;
        width: 200px;
        height: 200px;
        background-size: cover;
        background-position: center;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
      }
      
      .secteur-card:hover {
        transform: translateY(-5px);
      }
      
      .overlay {
        position: relative;
        width: 200px;
        height: 200px;
        text-align: center;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 5px;
         /* Flexbox for centering */
        display: flex;
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        flex-direction: column;
        backdrop-filter: blur(1px);
      }


      .overlay p{
        color: white;
        text-align: center;      
          }
      
      .secteur-card h3 {
        font-size: 18px;
        font-weight: bold;
      }
      
      .plus {
        margin-top: 30px;
        font-size: 16px;
        color: #555;
        font-style: italic;
      }


/* Section marketing
.marketing-section {
  background-color: #ffffff;
  padding: 40px;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
} */

.cardmkg-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  /* margin-top: 30px; */
}

.cardmkg {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.cardmkg h4 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: bold;
}

.cardmkg p {
  color: #555;
  font-size: 0.8rem;
}

.cardmkg:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.sap-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Effets de survol pour les listes */
.liste-formation li:hover {
  background-color: #e8f4fd;
  border-left-color:var(--primary-color);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  h2 {
      font-size: 1.8em;
  }

  h3 {
      font-size: 1.5em;
  }

  h4 {
      font-size: 1.2em;
  }

  .sap-modules {
      grid-template-columns: 1fr;
  }

  .module {
      padding: 15px;
  }
}

/* Styles pour les modules de formation (Data et SAP) */
.data-modules, .sap-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.module {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.module h4 {
  color:var(--primary-color);
  margin-bottom: 10px;
}

.module p {
  font-size: 1em;
  color: #555;
}

.dev-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Listes */
.liste-formation {
  list-style-type: none;
  margin-bottom: 20px;
}

.liste-formation li {
  background-color: #f9f9f9;
  margin: 10px 0;
  padding: 15px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1em;
  color: #333;
}

/* Effets de survol pour les listes */
.liste-formation li:hover {
  background-color:  #f8ebf9;
  border-left-color: var(--primary-color);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Style de base pour le bouton */
.toggle-btn {
  background-color: white; /* Couleur de fond */
  border: none; /* Supprime la bordure par défaut */
  border-radius: 50%; /* Rend le bouton rond */
  width: 50px; /* Largeur du bouton */
  height: 50px; /* Hauteur du bouton */
  cursor: pointer; /* Change le curseur en pointeur */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
  transition: all 0.3s ease; /* Animation fluide */
}

/* Style de l'icône à l'intérieur du bouton */
.toggle-btn .icon {
  font-size: 24px; /* Taille de l'icône */
  color: var(--primary-color);
  transition: transform 0.3s ease; /* Animation de rotation */
}



/* Animation de rotation lorsque le bouton est activé */
.toggle-btn.active .icon {
  transform: rotate(180deg); /* Fait pivoter l'icône de 180 degrés */
}


@media (max-width: 1200px) {
  .sommaire{
   display: none;
  }
     p,td,th{
         font-size: 0.7rem;
     }
     h2  {
         font-size: 1.2rem;
     }
     h3  {
         font-size: 1.15rem;
     }
     h4  {
         font-size: 1rem;
     }
     /* .vh-100 {
         height: 80vh !important;
     } */
     .h1 {
         font-size: 2rem;
         font-weight: 600;
         line-height: 1.2;
         letter-spacing: -0.5px;
     }

     .entete h1{ 
      font-size: 2rem;
      font-weight: 600;
  }
  .entete p {
    font-size: 0.7rem;
    }

    .profiles {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      /* padding: 10px; */
      gap: 20px;
      flex-direction: column;
    }

    .profile-card {
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 25px;
      width: 100%;
    }

    .profile-card h2 {
      font-size: 1rem;
    }
    
    .profile-card p {
      font-size: 0.7rem;
    }

    .ms-4 {
      margin-left: 0rem !important;
  }

 }



 @media (max-width: 1200px) {
  .sommaire{
   display: none;
  }
     p,td,th{
         font-size: 0.7rem;
     }
     h2  {
         font-size: 1.2rem;
     }
     h3  {
         font-size: 1.15rem;
     }
     h4  {
         font-size: 1rem;
     }
     /* .vh-100 {
         height: 80vh !important;
     } */
     .h1 {
         font-size: 2rem;
         font-weight: 600;
         line-height: 1.2;
         letter-spacing: -0.5px;
     }

     .entete h1{ 
      font-size: 2rem;
      font-weight: 600;
  }
  .entete p {
    font-size: 0.7rem;
    }

    .profiles {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      /* padding: 10px; */
      gap: 20px;
      flex-direction: column;
    }

    .profile-card {
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 25px;
      width: 100%;
    }

    .profile-card h2 {
      font-size: 1rem;
    }
    
    .profile-card p {
      font-size: 0.7rem;
    }

    .ms-4 {
      margin-left: 0rem !important;
  }

 }

 @media (max-width: 1210px){
  .sommaire{ display:none;}}

  .row>* {
    padding-right: 0px;
     padding-left: 0px;}