

/*-----------------------------------------------------------*/

.actu {
    margin: 0; height: 100vh; 
    overflow: hidden;
    font-family: Arial, sans-serif;
  }

.bleu-actu{
    color: rgba(22,23,168,1);
    border: none!important;
    margin:-20px;
}
.bleu-actu:hover{
    color: rgba(22,23,168,1)!important;
    border: none!important!important;
    background-color:rgba(22,23,168,1)!important;
    cursor: none;

}

  #container {
    display: flex;
    height: calc(100vh - 110px); /* ou ajuste selon la hauteur de ton header */
    border-top: solid 2px white;
  }
  #menu {
    width: 40%;
    background-color: rgba(22,23,168,1);
    color: white;
    overflow-y: auto;
   scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;

  }
  #menu button {
    display: block;
    width: 100%;
    padding: 3%;
    background: rgba(22,23,168,1);
    border-top: none;
    border-bottom: 1px solid white;
    border-right: 2px solid white;
    border-left:none!important;
    color: white;
    cursor: pointer;
    text-align: left;
    padding-left: 7%;
  }
  #menu button:hover{
    background: white;
    color:rgba(22,23,168,1)!important;
  }

/* Assurer que les textes héritent bien de la couleur du bouton au hover */
button:hover h2,
button:hover p,
button:hover b {
  color:rgba(22,23,168,1)!important;
}

#content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
  margin-left: 4%;
  max-width: 55%!important;
  min-height: 0; /* important dans un flex container */
  padding-bottom: 150px!important;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}



#content h5 {
  margin-top: auto!important;
  
}



.hr-actu {
  border: solid 1px white!important;
  margin: 0;
}

#menu button.active1:focus{
    background: white;
}

#menu button.active1:focus h2,
#menu button.active1:focus p{
    color:rgba(22,23,168,1)!important;
}

#menu button.active2:focus{
    background: white;
    color: blue;
}

#menu button.active2:focus h2,
#menu button.active2:focus p{
    color:rgba(22,23,168,1)!important;
}

#menu button.active3:focus{
    background: white;
    color:rgba(22,23,168,1)!important;
}

#menu button.active3:focus h2,
#menu button.active3:focus p{
    color:rgba(22,23,168,1)!important;
}

#menu button.active4:focus{
    background: white;
    color: blue;
}

#menu button.active4:focus h2,
#menu button.active4:focus p{
    color:rgba(22,23,168,1)!important;
}

#menu button.active5:focus{
    background: white;
    color: blue;
}

#menu button.active5:focus h2,
#menu button.active5:focus p{
    color:rgba(22,23,168,1)!important;
}

#menu button.active6:focus{
    background: white;
    color: blue;
}

#menu button.active6:focus h2,
#menu button.active6:focus p{
    color:rgba(22,23,168,1)!important;
}



@media (max-width: 768px) {
  #container{
    flex-direction: column;
    margin-top: 10%!important;

  }
  main #container #menu{
    overflow-x: hidden!important;
  }
  #menu {
    width: 100%;
    display: flex;
    flex-direction: column; /* <-- ici on aligne en colonne */
  }
  #menu a {
    flex: none;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid white;
  }
  #content {
    display: none;
  }

  #menu a {
    display: block;
    width: 100%;
    padding: 3%;
    background: rgba(22,23,168,1);
    border-top: none;
    border-bottom: 1px solid white;
    border-right: none solid white;
    border-left:none!important;
    color: white;
    cursor: pointer;
    text-align: left;
    padding-left: 7%;
  }
  #menu a:hover{
    background: white;
    color:rgba(22,23,168,1)!important;
  }

  /* Assurer que les textes héritent bien de la couleur du bouton au hover */
a:hover h2,
a:hover p,
a:hover b {
  color:rgba(22,23,168,1)!important;
}
}

.align-titre{
    display: flex!important; 
    align-items: center!important; 
    gap: 10px;
}

.etoile-blanche-{
    width: 12px;
}

.blanc-boite{
    background-color: white;
    padding: 1%;
    color:rgba(22,23,168,1)!important;
    width: 200px;
}


.align-div-actu {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.align-div-actu .MAJ {
  padding: 3%!important;
  text-align: center;
}

.fleche {
  font-size: 24px;
  color: white;
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
}

/* Responsive en dessous de 1300px */
@media (max-width: 1300px) {
  .align-div-actu {
    flex-direction: column;
    align-items: flex-start; /* ou center selon ce que tu préfères */
    max-width: 120px;

  }
  
  .align-div-actu > div {
    width: 100%;
    text-align: left;
  }
  
  /* Flèche verticale */
  .fleche {
    font-size: 28px;
    color: white;
    margin: -40px 0px -10px 95px;
    /* remplacer la flèche horizontale par une flèche verticale */
    transform: none;
  }
  
  /* Utiliser ::after pour changer le contenu flèche */
  .fleche::after {
    content: "↓";
    display: inline-block;
  }
  
  /* Cacher le contenu texte initial */
  .fleche {
    color: transparent;
    position: relative;
  }
  
  .fleche::after {
    color: white;
    position: absolute;
    left: 0;
    top: 0;
  }
}


.nav-actu {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 95%;
    }

.next-project-l-actu {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-family: "Satoshi-medium", sans-serif;
  font-size: 1.2vw;
  transition: all 0.3s ease;
  gap: 10px;
}

.next-project-l-actu svg {
  margin-left: 8px!important;
  transition: all 0.3s ease;
  stroke: white;
}

.next-project-l-actu:hover {
text-shadow: 0 0 10px #868CEF, 0 0 20px #868CEF, 0 0 35px #868CEF, 0 0 50px #868CEF; /* Effet de halo autour du texte */
text-decoration: none;
color: white!important;
  transform: translateX(2px);
}

.next-project-l-actu:hover svg {
  transform: translateX(2px);
}


.next-project-actu {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-family: "Satoshi-medium", sans-serif;
  transition: all 0.3s ease;
  gap: 10px;
}

.next-project-actu svg {
  margin-right: 8px; /* la flèche est maintenant à gauche du texte */
  transition: all 0.3s ease;
  stroke: white;
}

.next-project-actu:hover {
  text-shadow: 0 0 10px #868CEF, 0 0 20px #868CEF, 0 0 35px #868CEF, 0 0 50px #868CEF;
  text-decoration: none;
  color: white!important;
  transform: translateX(-2px); /* décalage vers la gauche au hover */
}

.next-project-actu:hover svg {
  transform: translateX(-2px); /* décalage de la flèche vers la gauche */
}


@media screen and (max-width:768px){
.cacher-s{
    display:none
}
.blanc-boite-s{
    background-color: white;
    color:rgba(22,23,168,1)!important;
    width: 100%;
    justify-content: center;
}
.bloc-actu p{
text-align: center;
}
}


@media screen and (min-width:768px){
.cacher-m{
    display:none
}
}

.nav-actu {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 97%;
      margin-right: auto;
      margin-left: auto;
      margin-top: 5%!important;
    }

    .next-project-l-actu-actu {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white!important;
  font-family: "Satoshi-medium", sans-serif;
  font-size: 4vw;
}
}

.next-project-l-actu-actu {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-family: "Satoshi-medium", sans-serif;
  font-size: 4vw;
  transition: all 0.3s ease;
}

.next-project-l-actu-actu svg {
  margin-left: 8px;
  transition: all 0.3s ease;
  stroke: white!important;
}


@media screen and (max-width: 768px) {
  .next-project-l-actu {
    font-size: 4vw!important;
  }
}

.next-project-l-actu-l-actu {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-family: "Satoshi-medium", sans-serif;
  font-size: 4vw;
  transition: all 0.3s ease;
}

.next-project-l-actu-l-actu svg {
  margin-right: 8px; /* la flèche est maintenant à gauche du texte */
  transition: all 0.3s ease;
  stroke: white;
}
