/*  index.html */
/*résosution problème d'affichege bouton en version tel j'ai chercher longtemps avant de trouvé uniquement cette solution sur un site*/

/* style des credit du carrouselle*/
.legendeINDEX{
  font-family: monospace;
  font-size: small;
  color: whitesmoke;
  padding-top: 10pt;
  text-align: center;
  
}
/*  style logo */
.logo{
    display: block;
    width: 60%;
    background-color: white;
    margin-left: 50%;
    border-radius: 10%;
  }
/*  position nouveau logo */
#newlogoblc{
 display: block;
 background-color: white;
 

 
}

/*test logo*/




  /* style carouselle  */
  .orbit{
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    width: 700px;
  }
  
/* style top barre  */
#main-menu{
  border: solid;
  background-color: #44566c;
  border-color: #2f435e;
  border-width: 5px;
}

/* style bouton  */
div ul li a{
  color: #ececec;
  background-color: #44566c;
  border-color: #ececec;
  border: solid;
  border-width: 1pt;
}


/* style bouton hover  */
div ul li a:hover{
  color: #2f435e;
  background-color: #ececec;
  transition: 1s all;
  
}
/* style des hr  */
#style-2 , #style-1,#style,#style2{
  border: solid;
  border-color: black;
  border-radius: 100%;
}

/* style hr numero 2  */

.petit{
  width: 250px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  margin-top: auto;
}
/* augmentation de la taille d'une img qui va pas*/
#retouchepettit{
  width: 350px;
}
/* style du message de bienvenue  */
#messacc{
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: #44566c;

}
/* style message presentation  */
#messpres{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 180%;
  color: #44566c;
}
/* position des reseau en bas de page  */
.res {
  display: flex;
  justify-content: space-between;
  border: solid;
  border-width: 5px;
}
/* taille linkedin  */
#linke{
  width: 30px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  margin-top: auto;
}
/* taille discord  */
#discord{
  width: 30px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  margin-top: auto;
  text-align: center;
}
/* taille watsapp  */
#watsapp{
  width: 30px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  margin-top: auto;
  text-align: center;
}
/* style bouton legal  */
.legal{
  color: white;
  margin-left: 5%;
  min-width: 10px;
}
/* hover du bouton legal  */
.legal:hover{
  background-color: white;
  color: black;
  transition: 1s all;
}
/* couleur du bas de page  */
#basindex{
  background-color: #44566c;
}
/* style du copyright  */
#copy{
  color: white;
  margin-right:5%;
}
/* positionement de la dernirer image de index.html*/
.lastimgindex{
  width: 60%;
  margin-left: 20%;
}
/* style du "qui suis-je"*/
#titlelast{
  color: #44566c;
  display: block;
  margin-bottom: 5%;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif ;
}
/* style du texte bas page index*/
#txtlast{
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}
















/* page de cv.html*/
/*style barre nav cv */
#hautcv{
  background-color: #44566c;
}
/* style texte competence*/
.textestyle{
  font-family: initial;
  color: #ececec;
  text-align: center;
}
/* style de qui a servie de test pour un tableau je n'ose pas y toucher */
div div ul li{
  background-color: #44566c;
  border: solid;
  border-style:double;
  border-width: 1px;
  border-color: #2f435e;
  border-collapse: collapse;
  font-weight: lighter;
  text-align: center;
}
/* style cordonnée*/
#cordo{
  color: #ececec;
  background-color: #44566c;
  text-align: center;
  font-family:'Times New Roman', Times, serif;
}
/*style email dans cordonnée */
#mailcv{
  background-color: #ececec;
  color: black;
}
/* style de qui a servie de test pour un tableau je n'ose pas y toucher */
div div ol li{
  background-color: #44566c;
  border: solid;
  border-style:double;
  border-width: 1px;
  border-color: #2f435e;
  border-collapse: collapse;
  font-weight: lighter;
  text-align: center;
  color: #2f435e;
}
/* style  Mon web inutile mais ça rajoute du style je trouve*/
.btn{
  color: #ececec;
  margin-top: auto;
  margin-bottom: auto;
}
.btn:hover{
  color: #2f435e;
  background-color: black;

  transition: 1s all;
}
/* photo sur CV*/
#photogib{
  width: 100px;
  display: block;
  margin-top: 3%;
  margin-left: auto;
  margin-right: auto;
}
/*mise en forme haut cv  */
#debcv{
  background: #ececec;
  border: solid;
  border-radius: 10px;
}
/* style des hr du cv*/
.barre{
  border-color:  black;
  border-width: 3px;
  border-radius: 100%;
}
/*style titre cv*/
#titlecv{
  font-family: serif;
  color: #44566c;
}
/*style sous titre cv*/
#subtitle{
  font-family:serif;
  color: #4b5e65;
}
/* style pour les tables*/
table{
  border-collapse: collapse;
}
/* style des th*/
th{
  border: solid;
  border-width: 4px;
  border-color: #4b5e65;
  background-color: #44566c;
  color: #ececec;
}
/*style des td (RRR pour contrer)*/
td{
  border-color: #4b5e65;
  border-width: 4px;
  border-style: solid;
  padding: 5pt;
}
/*mise en forme du picto fleche*/
.fleche{
  width: 15px;
  margin-left: 8px;
  margin-bottom: 5px;
}


/*style Mon parcour*/
#Tformation{
  color: #ececec;
  margin: auto;
  background-color: #44566c;
  text-align: center;
  border: solid;
  border-width: 10px;
  border-color: #44566c;
  margin-bottom: 1%;
}
/*changement couleur de RISC car lien */

#RISC{
  color: #2f435e;
}
/* couleur des listes ordo*/
.lna{
color: #4b5e65;
}
/* style des hr de cv cette fois si vue qu'ils son légérement differents*/
.barrecorp{
  border: solid;
  border-radius: 100%;
  padding: 0.3%;
  color: black;
  background-color: black;
}
/* changement de couleur*/
thead tr td {
  background-color: #44566c;
}
/* style de l'image de la rubrique experience*/
.imgcv{
  display: block;
  width: 50%;
  margin-left: 25%;
  border: solid;
  border-radius: 3%;
  border-style: dashed;
  margin-top: 5%;
}
/* style titre experience*/
#expe{
  color: #ececec;
  text-align: center;
  border: solid;
  border-color: #2f435e;
  border-width: 5px;
  background-color: #4b5e65;
}
/* je voulais un peu d'espace entre les listes et l'image (rubrique experience)*/
.espace1peu{
  margin: 5%;
}
/* design des ol vue que j'avais fait des conerie (jetai jeune)*/
.RRR{
  background-color: #ececec;
}
/*nom des stage desing */
.titrexpe{
  color: #4b5e65;
  text-decoration: underline;
  font-weight: bold;
}
/* style legendes experience*/
.legendexpe{
  
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* style de beaucoup de picto*/
.picto{
  width: 27px;
  margin-bottom: 1%;
}
/*style du txt de la rubrique langue*/
#txtlangue{
  color: white;
  text-align: center;
  border: solid;
  border-width: 2px;
  -webkit-text-stroke: 1px white;
  background-color: #4b5e65;
}
/* pagination de l'image du cv pour les langues*/
#imgcvl{
  margin-left: 20%;
  width: 60%;
  border: solid;
  border-width: 20px;
  border-color: #2f435e;
}
/* style police anglais txt*/
#Anglais{
  color: black;
  font-size: 18pt;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin-left: 5%;
  text-decoration: underline;
  text-emphasis: none;
  font-weight: bold;

}
/* style de mon lvl en langue*/
#niveaulan{
  color:#2f435e;
  font-weight: bold;
}

/*style de la 2eme image*/
#img2{
  width: 50%;
  display: block;
  margin-bottom: 30px;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  border: solid;
  border-style: ridge;
  border-color: #4b5e65;
  border-width: 5px;
}
/*style du titre de centre d'interet*/
#titlecen{
  text-align: center;
  margin-top: 5%;
  margin-bottom: 5%;
  font-size: 35px;
  background-color: #44566c;
  color: white;
  border: solid;
  border-width: 5px;
  border-color: #4b5e65;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
/*style du tableau des passion (c'est une liste deguiser)*/
.passion{
  background-color: white;
  border-color: #4b5e65;
  border-style: dashed;
  list-style-type: none;
}
/*style du txt des passion titre ex: cuisine*/
.txtpassion{
  margin-top: 10px;
  text-decoration: underline;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}
/*style du txt des passion pas titre ex: jaimr la cuisine car .....*/
.txtpassionstyle{
  font-family: Arial, Helvetica, sans-serif;
  color: black;
}
/*style title de atout*/
#titleatout{
  text-align: center;
  margin-top: 5%;
  background-color: #2f435e;
  color: white;
  border: solid;
  border-style: groove;
  border-color: #4b5e65;
  font-family: serif;
}
/*laisse une petite marge a la fin du cv */
#fincv{
  margin-bottom: 15%;
}
/*style du block sommaire car je lai fait a la fin */
#Sommaire{
  text-align: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background-color: #ececec;
  border: solid;
  border-style: dashed;
}



/*style liste a puce formation*/

.last{
  background-color: #ececec;
  color: #2f435e;
  border: none;
}

.monparcours{
  text-align: left;
}




/* page de contact */
/*style des grand picto*/
.pictogrand{
  margin-top: 10%;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* leger diff boutons*/
.btncont{
  background-color: #ececec;
  color: white;
  border: solid;
  border-width: 15px;
  border-color: #2f435e;
  margin: 25%;
  margin-top: 30%;
  margin-bottom: 25%;
  text-align: center;
  border-radius: 10%;
  
}
.btncont:hover{
  border: solid;
  border-width: 10px;
  border-color: #44566c;
  

}
/* style bouton de nav*/
.btnc2{
  color: black;

}
.btnc2:hover{
  color: #4b5e65;
}
/*style titre page*/
#titlecontact{
  text-align: center;
  font-family: serif;
  color: #44566c;
}
/*style sous titre page*/
.textecont{
  font-size: 20px;
  text-align: center;
  color: #2f435e;
}
/* bord du haut de page*/
#formecont{
  background-color: #ececec;
  border: solid;
  border-width: 8px;
}
/*style de la table de contact*/
#tablecont{
  display: block;
  justify-content: center;
  margin-top: 10%;
  margin-bottom: 8%;
  margin-left: auto;
  margin-right: auto;
  border: solid;
  border-style: dashed;
  width: 75%;
}
/* allignement de likedin vue que la page est differente*/
#linke2{
  display: block;
  width: 30px;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: auto;
  margin-left: 30%;
}
/*c'est pas beau je vais supp(style fleche)*/
.pictocont{
  width: 10%;
  margin-left: 40%;
  margin-right: 20%;
  margin-bottom: 20%;
}
/*pas beau non plus masi c'est le txt en dessus de la fleche*/
#resecont{
  font-size: 22px;
  margin-left: 40%;
  margin-bottom: 0%;
  color: #4b5e65;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/*style du mailto*/
#mailcontact{
  color: #ececec;
}
/* mise en page de l'image en bas de la page*/

.imgcontact{
  width: 30%;
  margin-left: 35%;
  margin-bottom: 10%;
  border: solid;
  border-color: #44566c;
}







/*page mention legale*/
/*style titre de la page */
#titlelegale{
  text-align: center;
  font-family: serif;
  color: #44566c;

}
/*style sous titre de la page */
.txtlegale{
  text-align: center;
  padding: 1%;
}
/*style bas de la page */
#baslegal{
  margin-bottom: 0%;
  margin-top: 40%;
}

/* mise en page du texte (alignement)*/
.formelegale{
  display: block;
  margin-top: 8%;
}
/* mise en forme de l'image */
.imglegale{
  width: 30%;
  margin-bottom: 0%;
  margin-left: 43%;
  margin-top: 0%;
}









/* page zoom sur  */
/*bouton page zoom*/
.btnz{
  background-color: #ececec;
  color: white;
  border: solid;
  border-width: 15px;
  border-color: #44566c ;
  margin: 25%;
  margin-top: 30%;
  margin-bottom: 25%;
  text-align: center;
  border-radius: 10%;
  
}
.btnz:hover{
  border: solid;
  border-width: 10px;
  border-color: #666606;
}
/*style titre page zoom*/
#titlez{
  color: white;
  font-family: serif;
}
/*style sous titre page zoom*/
#subtitlez{
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: white;
}
/*style haut page zoom*/
#hautz{
  background-color: #4b5e65;
  border: solid;
  border-width: 8px;
  border-color: #44566c;
  border-style: double;
}

/* legende des photos*/
.legende {
  font-family: monospace;
  font-size: small;
  color: gray;
  padding-top: 10pt;
  text-align: center;
  
}
/* style texte page zoom*/
#txtz{
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 5%;
  color: black;
  font-family: 'Times New Roman', Times, serif;
  border: solid;
  padding: 1%;
  border-style: dotted;
  border-color: #4b5e65;
}
/* mise en page image*/
.imgz{
  width: 70%;
  display: block;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid;
  border-style:dotted;
}
/*forme de la liste j'ai appris*/
#listez{
  margin-left: 10%;
  margin-right: 10%;
}
/*texte competence développer (style et mise ne page)*/
#jaiappris{
  margin-left: 10%;
  font-size: 20px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
/*class pour personaliser la liste a puce et contrer une autre règles css (erreur de jeunesse)*/
.RRRz{
  background-color: #ececec;
  text-align: left;
  margin: 2%;
  padding-left: 2%;
}







/*page sae105*/
/*style du font title*/
#blockduhaut{
  background-color: #ececec;
  border: solid;
  border-width: 5px;
  border-style: double;
}

/*style de la premiere image de la page*/
.imgsae1{
  width: 80%;
}
/*style de la 2eme image de la page*/
.imgsae2{
  width: 60%;
  display: block;
  margin-left: 20%;
  margin-right: auto;
}
/*style du big titre*/
.bigtitlesae{
  color: black;
  font-family:serif;
}
/*style du titre de la page*/
.titlesae1{
  color: #4b5e65;
  font-family:Georgia, 'Times New Roman', Times, serif;
  margin-top: 3%;
}
/*style du 2eme titre sae105?*/
.titlesae{
  color: #4b5e65;
  text-align: center;
  font-family:Georgia, 'Times New Roman', Times, serif;
  margin-top: 5%;
}
/*style du texte de la page*/
.txtsae{
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  border-style: dashed;
  border-width: 1px;
  padding: 2%;
}
/*style des btn de gauche */
.btnsae{
  color: black;
  background-color: #ececec;
  border: none;
}
/*mini picto toute au debut*/
.minipicto{
  width: 12px;
}
.minipicto2{
  width: 15px;
  margin-left: 1%;
}
.minipicto3{
  width: 30px;
  margin-left: 0.3%;
  margin-bottom: 1%;
}
.minipicto4{
  width: 30px;
}
.minipicto5{
  width: 40px;
}
/*style des images*/
.imgexsae{
  width: 60%;
  display: block;
  margin-left: 20%;
}
.imgexsae3{
  width: 90%;
}
#imgsae4{
  width: 50%;
  display: block;
  margin-left: 25%;
}

/*style menue de gauche titre*/
#menueg{
  text-align: center;
  color: black;
  font-family: serif;
}






body {
  font-family: 'Raleway', sans-serif;
}
#ribbon {
  position:absolute;
  background-color:red;
  color:white;
  top:40px;
  left:-30px;
  width:160px;
  transform:rotate(-45deg);
  text-align:center;
}
#container {
  position:relative;
  width:80%;
  margin:5% auto;
  background-color:black;
  box-shadow: -2px -2px 5px white,2px -2px 5px white;
}
#container > nav {
  width:100%;
  display:flex;
  max-height:60px;
}
#logo {
  line-height:60px;
  font-size:30px;
  padding: 0 50px;
  color: white;
  width:40%;
  letter-spacing:2px;
  text-shadow:2px 2px 5px;
}
#container > nav > ul {
  margin:0;
  padding:0;
  list-style-type:none;
  display:flex;
  position:absolute;
    right:50px;
/*   min-width:60%; */
}
#container > nav > ul > li {
  line-height:60px;
  margin: 0 0px;
  padding:0;
  text-align:center;
  display:inline-block;
  
/*   background-color:green; */
  min-width:120px;

} 
#container > nav > ul > li > a {
  position:relative;
/*   background-color:red; */
  margin: 0 20px;
    color:white;
}










body {
  margin: 0px;
  font-family: 'Segoe UI', sans-serif;
}

.nav {
  height: 50px;
  width: 100%;
  background-color: #4d4d4d;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-header {
  display: flex;
  align-items: center;
}

.nav-title {
  display: inline-block;
  font-size: 22px;
  color: #fff;
  padding: 10px 10px 10px 10px;
}

.logo {
  width: 50px;
  height: auto;
}

.nav-btn {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 20px;
  margin-right: 10%;  /* alignement  */
}

.nav-links a {
  display: inline-block;
  padding: 13px 10px;
  text-decoration: none;
  color: #efefef;
}

.nav-links a:hover {
  background-color: white;
  border-radius: 2px;
}

/* Menu mobile */
#nav-check {
  display: none;
}

@media (max-width: 1000px) {
  .nav-links {
    padding-top: 0.5%;
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .orbit {
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    width: 0px;
  }
}

@media (max-width: 600px) {
  .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
  }
  .nav-btn label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav-btn label:hover,
  #nav-check:checked ~ .nav-btn label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav-btn label span {
    display: block;
    width: 25px;
    height: 2px;
    background: #eee;
    margin: 6px 0;
  }
  .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0;
    flex-direction: column;
  }
  .nav-links a {
    display: block;
    width: 100%;
  }
  #nav-check:not(:checked) ~ .nav-links {
    height: 0;
  }
  #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
}

#mlk {
  height: auto;
  background-color: #2f435e;
  margin-bottom: 2%;
}

.comp {
  color: white;
  text-align: center;
}




#stgetxt{
  text-align: center;
}












/* page accsae  */

.titresae{
  text-align: center;
  padding-bottom: 10%;
}

#SAES{
  display: inline-flex;
  margin-bottom: 20%;
}



#texe2{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#thumbnail2{
  width: 230px;
}
#thumbnail3{
  width: 230px;
}






/* page sae101 */
.imgsae101{
  width: 50%;
  display: block;
  margin-left: 30%;
  margin-right: auto;
}
/* page cyber */
.imghydra{
  width: 90%;
  display: block;
  margin-left: 15%;
  margin-right: auto;
}

/* page sae102 */
.imagesae102{
  width: 90%;
  margin-left: 10%;
}
.pbmenue{
  margin-bottom: 5%;
  margin-top: 5%;
}




.fade-in-image {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.fade-in-image.loaded {
  opacity: 1;
}


/* =====================================================
   DARK MODE — activé via html.dark
   ===================================================== */

/* Bouton toggle dans la navbar */
#dark-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 4px;
  line-height: 1;
  color: #efefef;
  transition: background 0.2s;
  flex-shrink: 0;
}
#dark-toggle:hover {
  background-color: rgba(255,255,255,0.15);
}

/* ---- Variables couleurs ---- */
:root {
  --bg:        #f5f7fa;
  --text:      #222222;
  --nav-bg:    #2f435e;
  --footer-bg: #44566c;
  --card-bg:   #ffffff;
  --border:    #000000;
  --link:      #2f435e;
}
html.dark {
  --bg:        #1a1e2e;
  --text:      #dde3f0;
  --nav-bg:    #111827;
  --footer-bg: #0f172a;
  --card-bg:   #1e2538;
  --border:    #334155;
  --link:      #93c5fd;
}

/* ---- Application globale ---- */
html.dark body {
  background-color: var(--bg);
  color: var(--text);
}

html.dark .nav,
html.dark #mlk {
  background-color: var(--nav-bg) !important;
}

/* Textes principaux */
html.dark p,
html.dark h1, html.dark h2, html.dark h3,
html.dark h4, html.dark h5, html.dark h6,
html.dark li, html.dark span, html.dark abbr,
html.dark label, html.dark td {
  color: var(--text);
}

/* Liens */
html.dark a {
  color: var(--link);
}
html.dark .nav-links a {
  color: #efefef;
}
html.dark .nav-links a:hover {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
}

/* Footer */
html.dark footer,
html.dark #basindex {
  background-color: var(--footer-bg) !important;
}
html.dark .res {
  background-color: #0f172a;
  border-color: #334155;
}
html.dark .legal,
html.dark #copy,
html.dark .menu-text {
  color: #cbd5e1 !important;
}

/* Séparateurs */
html.dark #style-2, html.dark #style-1,
html.dark #style, html.dark #style2,
html.dark .barre, html.dark .barrecorp {
  border-color: #334155;
  background-color: #334155;
}

/* Blocs colorés existants */
html.dark #messacc { color: #93c5fd; }
html.dark #messpres { color: #93c5fd; }
html.dark #titlelast { color: #93c5fd; }
html.dark #txtlast { color: var(--text); }

/* CV haut */
html.dark #debcv {
  background-color: var(--card-bg);
  border-color: var(--border);
}
html.dark #titlecv, html.dark #subtitle { color: #93c5fd; }

/* Tableaux */
html.dark table { background-color: var(--card-bg); }
html.dark th {
  background-color: #1e3a5f;
  border-color: #334155;
  color: #e2e8f0;
}
html.dark td {
  background-color: var(--card-bg);
  border-color: #334155;
}
html.dark thead tr td { background-color: #1e3a5f; }
html.dark #Tformation {
  background-color: #1e3a5f;
  border-color: #334155;
  color: #e2e8f0;
}

/* Listes */
html.dark div div ul li,
html.dark div div ol li {
  background-color: #1e2538;
  border-color: #334155;
  color: var(--text);
}
html.dark .RRR {
  background-color: #1e2538;
  color: var(--text);
}
html.dark .RRRz {
  background-color: #1e2538;
  color: var(--text);
}
html.dark .passion {
  background-color: #1e2538;
  border-color: #334155;
}
html.dark .last {
  background-color: #1e2538;
  color: #93c5fd;
}

/* Rubriques CV colorées */
html.dark #cordo {
  background-color: #1e3a5f;
  color: #e2e8f0;
}
html.dark #expe {
  background-color: #1e3a5f;
  border-color: #334155;
  color: #e2e8f0;
}
html.dark #txtlangue {
  background-color: #1e3a5f;
  color: #e2e8f0;
}
html.dark #titlecen {
  background-color: #1e3a5f;
  border-color: #334155;
  color: #e2e8f0;
}
html.dark #titleatout {
  background-color: #111827;
  border-color: #334155;
  color: #e2e8f0;
}
html.dark #Sommaire {
  background-color: var(--card-bg);
  border-color: #334155;
  color: var(--text);
}

/* Blocs callout/haut */
html.dark #blockduhaut,
html.dark #formecont,
html.dark #debcv {
  background-color: var(--card-bg);
  border-color: #334155;
}
html.dark .bigtitlesae { color: var(--text); }
html.dark #hautz {
  background-color: #1e3a5f;
  border-color: #334155;
}
html.dark #titlez, html.dark #subtitlez { color: #e2e8f0; }
html.dark #txtz {
  background-color: var(--card-bg);
  border-color: #334155;
  color: var(--text);
}

/* Compétences (comp.css) */
html.dark .page-title-wrap { background-color: #1e3a5f; }
html.dark .section-block {
  background-color: var(--card-bg);
  border-color: #334155;
}
html.dark .skill-bar-bg { background-color: #334155; }
html.dark .tag {
  background-color: #1e3a5f;
  color: #93c5fd;
}
html.dark .certif-card {
  background-color: var(--card-bg);
  border-color: #334155;
}
html.dark .footer { background-color: var(--footer-bg); color: #cbd5e1; }
html.dark .social-btn {
  background-color: #1e3a5f;
  color: #93c5fd;
}

/* Contact */
html.dark #titlecontact { color: #93c5fd; }
html.dark .textecont { color: #93c5fd; }
html.dark #tablecont { border-color: #334155; }
html.dark #mailcontact { color: #93c5fd; }

/* Mentions légales */
html.dark #titlelegale { color: #93c5fd; }
html.dark .txtlegale { color: var(--text); }

/* Légendes */
html.dark .legende { color: #94a3b8; }
html.dark .legendeINDEX { color: #94a3b8; }

/* Boutons navigation latérale (mention légale) */
html.dark .btncont {
  background-color: #1e2538;
  border-color: #334155;
}
html.dark .btnc2 { color: #93c5fd; }

/* Menu principal mobile */
html.dark .nav-links {
  background-color: #111827;
}



/* cv css*/


 /* ============================================================
   CV MODERNE — à coller à la fin de custom.css
   ============================================================ */

/* ── Layout général ── */
.cv-wrapper {
  display: flex;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  background: #f4f2ee;
}
html.dark .cv-wrapper { background: #111827; }

/* ══════════════════════════════
   SIDEBAR STICKY
══════════════════════════════ */
.cv-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: #2f435e;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}
.cv-sidebar::-webkit-scrollbar { display: none; }
html.dark .cv-sidebar { background: #0f172a; }

.sidebar-profile {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 2rem;
}
.sidebar-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  margin-bottom: .75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.sidebar-name {
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 .25rem;
  font-weight: 500;
}
.sidebar-role {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .83rem;
  transition: all .2s;
  border-left: 2px solid transparent;
  /* on écrase les styles Foundation/custom */
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
}
.sidebar-nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 8px;
}
.sidebar-nav a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-left: 2px solid #7fb3f5;
  font-weight: 500;
}

.sidebar-dl {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.sidebar-dl a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(127,179,245,.18);
  color: #7fb3f5;
  border: 1px solid rgba(127,179,245,.35);
  border-radius: 8px;
  padding: .6rem 1rem;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  transition: all .2s;
}
.sidebar-dl a:hover {
  background: rgba(127,179,245,.32);
  color: #fff;
}

/* ══════════════════════════════
   CONTENU PRINCIPAL
══════════════════════════════ */
.cv-main {
  flex: 1;
  padding: 3rem 3.5rem;
  overflow: hidden;
}

/* Hero */
.cv-hero {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #2f435e;
}
html.dark .cv-hero { border-bottom-color: #334155; }

.cv-hero-text h1 {
  font-size: 2.8rem;
  color: #2f435e;
  margin: 0 0 .25rem;
  line-height: 1.1;
  font-family: serif;
}
html.dark .cv-hero-text h1 { color: #93c5fd; }

.cv-hero-text p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}
html.dark .cv-hero-text p { color: #94a3b8; }

.cv-hero-badge {
  margin-left: auto;
  background: #2f435e;
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  padding: .4rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
html.dark .cv-hero-badge { background: #1e3a5f; }

/* Sections */
.cv-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 1.5rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.section-label span {
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2f435e;
  background: #dbe8f8;
  padding: .25rem .75rem;
  border-radius: 4px;
}
html.dark .section-label span { color: #93c5fd; background: #1e3a5f; }
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
html.dark .section-label::after { background: #334155; }

/* ── Coordonnées ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .85rem;
}
.contact-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
html.dark .contact-card { background: #1e2538; border-color: #334155; }

.contact-icon {
  font-size: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #dbe8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html.dark .contact-icon { background: #1e3a5f; }

.contact-label {
  font-size: .7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .1rem;
}
.contact-value {
  font-size: .83rem;
  color: #1e293b;
  font-weight: 500;
}
html.dark .contact-value { color: #e2e8f0; }
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* ── Compétences ── */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.skill-pill {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .8rem;
  color: #334155;
  transition: all .2s;
}
.skill-pill:hover {
  background: #2f435e;
  color: #fff;
  border-color: #2f435e;
}
html.dark .skill-pill { background: #1e2538; border-color: #334155; color: #cbd5e1; }
html.dark .skill-pill:hover { background: #1e3a5f; border-color: #93c5fd; color: #93c5fd; }

/* ── Formation (timeline) ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #2f435e, transparent);
}
html.dark .timeline::before { background: linear-gradient(to bottom, #334155, transparent); }

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f435e;
  border: 2px solid #f4f2ee;
}
html.dark .timeline-item::before { background: #93c5fd; border-color: #111827; }

.timeline-period {
  font-size: .7rem;
  font-weight: 500;
  color: #7fb3f5;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .15rem;
}
.timeline-title {
  font-size: .95rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: .1rem;
}
html.dark .timeline-title { color: #e2e8f0; }
.timeline-sub { font-size: .8rem; color: #64748b; }
html.dark .timeline-sub { color: #94a3b8; }
.timeline-sub a { color: inherit; }
.timeline-badge {
  display: inline-block;
  margin-top: .35rem;
  font-size: .7rem;
  background: #dbe8f8;
  color: #2f435e;
  border-radius: 4px;
  padding: .15rem .6rem;
}
html.dark .timeline-badge { background: #1e3a5f; color: #93c5fd; }

/* ── Expériences ── */
.expe-list { display: flex; flex-direction: column; gap: 1rem; }
.expe-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid #2f435e;
  transition: transform .2s;
}
.expe-card:hover { transform: translateX(4px); }
html.dark .expe-card { background: #1e2538; border-color: #334155; border-left-color: #93c5fd; }

.expe-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .65rem;
}
.expe-title {
  font-size: .92rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
}
html.dark .expe-title { color: #e2e8f0; }
.expe-duration {
  font-size: .72rem;
  color: #fff;
  background: #2f435e;
  padding: .2rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
html.dark .expe-duration { background: #1e3a5f; color: #93c5fd; }
.expe-tasks {
  margin: 0;
  padding-left: 1rem;
  font-size: .82rem;
  color: 1e3a5f;
  line-height: 1.7;
}
html.dark .expe-tasks { color: #94a3b8; }

.back-expe-txt{
  background-color: white;

}


/* ── Langues ── */
.lang-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  max-width: 400px;
  margin-bottom: .75rem;
}
html.dark .lang-row { background: #1e2538; border-color: #334155; }
.lang-flag { font-size: 1.6rem; }
.lang-name { font-weight: 500; font-size: .92rem; color: #1e293b; }
html.dark .lang-name { color: #e2e8f0; }
.lang-level { font-size: .75rem; color: #64748b; }
html.dark .lang-level { color: #94a3b8; }
.lang-dots { margin-left: auto; display: flex; gap: 5px; }
.lang-dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
html.dark .lang-dot { background: #334155; }
.lang-dot.filled { background: #2f435e; }
html.dark .lang-dot.filled { background: #93c5fd; }

/* ── Intérêts ── */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .65rem;
}
.interest-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: .9rem;
  text-align: center;
  transition: all .2s;
}
.interest-card:hover { border-color: #2f435e; transform: translateY(-2px); }
html.dark .interest-card { background: #1e2538; border-color: #334155; }
html.dark .interest-card:hover { border-color: #93c5fd; }
.interest-icon { font-size: 1.4rem; margin-bottom: .35rem; }
.interest-label { font-size: .78rem; color: #475569; font-weight: 500; }
html.dark .interest-label { color: #94a3b8; }

/* ── Atouts ── */
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: .65rem;
}
.atout-card {
  background: #2f435e;
  border-radius: 10px;
  padding: .9rem 1.1rem;
  color: #fff;
  font-size: .83rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem;
}
html.dark .atout-card { background: #1e3a5f; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cv-wrapper { flex-direction: column; }
  .cv-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    gap: .5rem;
  }
  .sidebar-profile { display: none; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: .2rem; }
  .sidebar-nav a { padding: .35rem .65rem; font-size: .75rem; }
  .sidebar-dl { margin-top: 0; padding-top: 0; border-top: none; }
  .cv-main { padding: 1.25rem; }
  .cv-hero-badge { display: none; }
}



/*  competances css*/

/* ── Compétences par catégorie ── */
.skill-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: .8rem;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.skill-cat-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #94a3b8;
}
.skill-cat-btn.active[data-cat="all"]    { background:#2f435e; color:#fff; border-color:#2f435e; }
.skill-cat-btn.active[data-cat="prog"]   { background:#534AB7; color:#fff; border-color:#534AB7; }
.skill-cat-btn.active[data-cat="reseau"] { background:#0F6E56; color:#fff; border-color:#0F6E56; }
.skill-cat-btn.active[data-cat="sys"]    { background:#BA7517; color:#fff; border-color:#BA7517; }
.skill-cat-btn.active[data-cat="outils"] { background:#993C1D; color:#fff; border-color:#993C1D; }

html.dark .skill-cat-btn {
  background: #1e2538;
  border-color: #334155;
  color: #94a3b8;
}
html.dark .skill-cat-btn:hover {
  background: #1e3a5f;
  color: #e2e8f0;
}

/* ── Boutons catégories ── */
.skill-cat-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: .8rem;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.skill-cat-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #94a3b8;
}

/* Couleur active par catégorie */
.skill-cat-btn.active[data-cat="all"]    { background:#2f435e; color:#fff; border-color:#2f435e; }
.skill-cat-btn.active[data-cat="prog"]   { background:#534AB7; color:#fff; border-color:#534AB7; }
.skill-cat-btn.active[data-cat="reseau"] { background:#0F6E56; color:#fff; border-color:#0F6E56; }
.skill-cat-btn.active[data-cat="sys"]    { background:#BA7517; color:#fff; border-color:#BA7517; }
.skill-cat-btn.active[data-cat="outils"] { background:#993C1D; color:#fff; border-color:#993C1D; }

/* Couleur des pills par catégorie */
.skill-pill[data-cat="prog"]   { border-color:#7F77DD; color:#534AB7; }
.skill-pill[data-cat="reseau"] { border-color:#1D9E75; color:#0F6E56; }
.skill-pill[data-cat="sys"]    { border-color:#EF9F27; color:#BA7517; }
.skill-pill[data-cat="outils"] { border-color:#D85A30; color:#993C1D; }

/* Dark mode boutons */
html.dark .skill-cat-btn {
  background: #1e2538;
  border-color: #334155;
  color: #94a3b8;
}
html.dark .skill-cat-btn:hover {
  background: #1e3a5f;
  color: #e2e8f0;
}
html.dark .skill-cat-btn.active[data-cat="all"]    { background:#1e3a5f;  color:#93c5fd; border-color:#93c5fd; }
html.dark .skill-cat-btn.active[data-cat="prog"]   { background:#26215C;  color:#AFA9EC; border-color:#7F77DD; }
html.dark .skill-cat-btn.active[data-cat="reseau"] { background:#04342C;  color:#5DCAA5; border-color:#1D9E75; }
html.dark .skill-cat-btn.active[data-cat="sys"]    { background:#412402;  color:#FAC775; border-color:#EF9F27; }
html.dark .skill-cat-btn.active[data-cat="outils"] { background:#4A1B0C;  color:#F0997B; border-color:#D85A30; }

/* Dark mode pills */
html.dark .skill-pill[data-cat="prog"]   { border-color:#7F77DD; color:#AFA9EC; }
html.dark .skill-pill[data-cat="reseau"] { border-color:#1D9E75; color:#5DCAA5; }
html.dark .skill-pill[data-cat="sys"]    { border-color:#EF9F27; color:#FAC775; }
html.dark .skill-pill[data-cat="outils"] { border-color:#D85A30; color:#F0997B; }




/* page contact*/

/* ── Page contact : formulaire ── */
.contact-form-wrapper {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
  margin-bottom: 2rem;
}
.contact-info-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
html.dark .contact-info-card {
  background: #1e2538;
  border-color: #334155;
}
.contact-info-icon { font-size: 1.3rem; }
.contact-info-label {
  font-size: .7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-info-val {
  font-size: .85rem;
  font-weight: 500;
  color: #1e293b;
}
html.dark .contact-info-val { color: #e2e8f0; }
.contact-info-val a { color: inherit; text-decoration: none; }
.contact-info-val a:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2rem 2.5rem;
}
html.dark .contact-form {
  background: #1e2538;
  border-color: #334155;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.25rem; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: .8rem;
  font-weight: 500;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .06em;
}
html.dark .form-group label { color: #94a3b8; }

.form-group input,
.form-group textarea {
  padding: .65rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
html.dark .form-group input,
html.dark .form-group textarea {
  background: #111827;
  border-color: #334155;
  color: #e2e8f0;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2f435e;
  box-shadow: 0 0 0 3px rgba(47,67,94,.15);
}
html.dark .form-group input:focus,
html.dark .form-group textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147,197,253,.1);
}

.contact-submit {
  width: 100%;
  padding: .8rem;
  background: #2f435e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .15s;
}
.contact-submit:hover {
  background: #44566c;
  transform: translateY(-1px);
}
html.dark .contact-submit {
  background: #1e3a5f;
  color: #93c5fd;
}
html.dark .contact-submit:hover { background: #2f435e; }

.form-success {
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: #e1f5ee;
  border: 1px solid #1D9E75;
  border-radius: 8px;
  color: #0F6E56;
  font-size: .88rem;
  text-align: center;
}
html.dark .form-success {
  background: #04342C;
  color: #5DCAA5;
  border-color: #1D9E75;
}

.form-bot-notice {
  font-size: .75rem;
  color: #94a3b8;
  text-align: right;
  margin-top: .75rem;
}
html.dark .form-bot-notice { color: #475569; }

/* ============================================
   HERO ACCUEIL — ajout index.html
   ============================================ */
.hero-accueil {
  background-color: #2c3e5a;
  padding: 60px 40px 56px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #7a9ab8;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
  font-family: Impact, 'Arial Narrow Bold', sans-serif;
}

.hero-desc {
  font-size: 14px;
  color: #a0b4c8;
  line-height: 1.8;
  margin: 0 auto 26px;
  max-width: 580px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-tag {
  font-size: 11px;
  padding: 5px 13px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #d0dce8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-white {
  font-size: 13px;
  padding: 10px 26px;
  background: #ffffff;
  color: #2c3e5a;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: background 0.2s;
}

.hero-btn-white:hover {
  background: #e8f0fa;
  color: #2c3e5a;
}

.hero-btn-ghost {
  font-size: 13px;
  padding: 10px 26px;
  background: transparent;
  color: #d0dce8;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: border-color 0.2s, color 0.2s;
}

.hero-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

/* Responsive mobile */
@media (max-width: 640px) {
  .hero-accueil {
    padding: 40px 20px 36px;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-desc {
    font-size: 13px;
  }
}

/* ── Variables ── */
    :root {
      --navy:   #2f435e;
      --navy2:  #44566c;
      --accent: #4f8ef7;
      --bg:     #f5f6f8;
      --card:   #ffffff;
      --text:   #1e293b;
      --muted:  #64748b;
      --border: #e2e8f0;
    }
    html.dark {
      --bg:     #0f1623;
      --card:   #161e2e;
      --text:   #e2e8f0;
      --muted:  #94a3b8;
      --border: #1e2d42;
      --accent: #60a5fa;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Outfit', sans-serif;
      margin: 0;
    }

    /* ══════════════════════════════
       HERO BANNER
    ══════════════════════════════ */
    .compe-hero {
      background: var(--navy);
      padding: 4rem 2rem 3.5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    html.dark .compe-hero { background: #0d1a2d; }

    /* motif de points décoratif */
    .compe-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
    }

    .compe-hero-eyebrow {
      font-family: 'Syne', sans-serif;
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: .75rem;
    }
    .compe-hero h1 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      font-weight: 800;
      color: #fff;
      margin: 0 0 1rem;
      line-height: 1.1;
    }
    .compe-hero p {
      font-size: 1rem;
      color: rgba(255,255,255,.6);
      max-width: 480px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* compteur stats en bas du hero */
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 3rem;
      margin-top: 2.5rem;
      position: relative;
    }
    .hero-stat-num {
      font-family: 'Syne', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      color: #fff;
      line-height: 1;
    }
    .hero-stat-label {
      font-size: .72rem;
      color: rgba(255,255,255,.5);
      text-transform: uppercase;
      letter-spacing: .1em;
      margin-top: .2rem;
    }

    /* ══════════════════════════════
       FILTRES CATÉGORIE
    ══════════════════════════════ */
    .filter-bar {
      display: flex;
      justify-content: center;
      gap: .5rem;
      flex-wrap: wrap;
      padding: 2rem 1rem 0;
    }
    .filter-btn {
      font-family: 'Outfit', sans-serif;
      font-size: .8rem;
      font-weight: 500;
      padding: .45rem 1.1rem;
      border-radius: 999px;
      border: 1.5px solid var(--border);
      background: var(--card);
      color: var(--muted);
      cursor: pointer;
      transition: all .2s;
    }
    .filter-btn:hover,
    .filter-btn.active {
      background: var(--navy);
      color: #fff;
      border-color: var(--navy);
    }
    html.dark .filter-btn { background: #1a2436; }
    html.dark .filter-btn:hover,
    html.dark .filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

    /* ══════════════════════════════
       GRILLE PRINCIPALE
    ══════════════════════════════ */
    .compe-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1.5rem;
      max-width: 1200px;
      margin: 2rem auto 4rem;
      padding: 0 1.5rem;
    }

    /* ── Carte ── */
    .compe-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.5rem 1.75rem;
      transition: transform .25s, box-shadow .25s;
      animation: fadeUp .5s ease both;
    }
    .compe-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,.08);
    }
    html.dark .compe-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.35); }

    .compe-card:nth-child(1) { animation-delay: .05s; }
    .compe-card:nth-child(2) { animation-delay: .10s; }
    .compe-card:nth-child(3) { animation-delay: .15s; }
    .compe-card:nth-child(4) { animation-delay: .20s; }
    .compe-card:nth-child(5) { animation-delay: .25s; }
    .compe-card:nth-child(6) { animation-delay: .30s; }

    /* en-tête de carte */
    .card-head {
      display: flex;
      align-items: center;
      gap: .9rem;
      margin-bottom: 1.25rem;
    }
    .card-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--navy);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      flex-shrink: 0;
    }
    html.dark .card-icon { background: #1e3a5f; }

    .card-title {
      font-family: 'Syne', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--text);
      margin: 0;
    }
    .card-count {
      font-size: .72rem;
      color: var(--muted);
      margin-top: .1rem;
    }

    /* barres de compétences */
    .skill-rows { display: flex; flex-direction: column; gap: .85rem; }
    .skill-row { display: flex; flex-direction: column; gap: .3rem; }
    .skill-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .skill-name {
      font-size: .83rem;
      color: var(--text);
      font-weight: 500;
    }
    .skill-pct {
      font-family: 'Syne', sans-serif;
      font-size: .72rem;
      font-weight: 700;
      color: var(--accent);
    }
    .skill-track {
      height: 5px;
      background: var(--border);
      border-radius: 99px;
      overflow: hidden;
    }
    html.dark .skill-track { background: #1e2d42; }
    .skill-fill {
      height: 5px;
      background: linear-gradient(90deg, var(--navy), var(--accent));
      border-radius: 99px;
      width: 0;
      transition: width 1s cubic-bezier(.4,0,.2,1);
    }
    html.dark .skill-fill { background: linear-gradient(90deg, #1e3a5f, var(--accent)); }

    /* tags pills */
    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: .4rem;
    }
    .cpill {
      font-size: .76rem;
      font-weight: 500;
      padding: .3rem .75rem;
      border-radius: 999px;
      border: 1.5px solid var(--border);
      color: var(--text);
      background: var(--bg);
      transition: all .18s;
    }
    .cpill:hover {
      background: var(--navy);
      color: #fff;
      border-color: var(--navy);
    }
    html.dark .cpill { background: #1a2436; border-color: #1e2d42; }
    html.dark .cpill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

    .cpill.os   { background: #e8f5ee; color: #0d5c30; border-color: #a8ddb8; }
    .cpill.soft { background: #fff7e6; color: #7a4000; border-color: #f5c87a; }
    .cpill.lang { background: #eef3ff; color: #2a45a0; border-color: #b0c4f8; }
    html.dark .cpill.os   { background: #0a2a18; color: #6ee7b7; border-color: #1a4a30; }
    html.dark .cpill.soft { background: #2a1a00; color: #fbbf24; border-color: #4a3000; }
    html.dark .cpill.lang { background: #0f1e40; color: #93c5fd; border-color: #1e3060; }

    /* ── carte certification ── */
    .certif-rows { display: flex; flex-direction: column; gap: .75rem; }
    .certif-row {
      display: flex;
      align-items: center;
      gap: .9rem;
      padding: .75rem 1rem;
      border-radius: 10px;
      background: var(--bg);
      border: 1px solid var(--border);
    }
    html.dark .certif-row { background: #0f1623; border-color: #1e2d42; }
    .certif-dot {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: var(--navy);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    html.dark .certif-dot { background: #1e3a5f; }
    .certif-dot svg { width: 18px; height: 18px; fill: #93c5fd; }
    .certif-name {
      font-size: .85rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: .1rem;
    }
    .certif-sub { font-size: .73rem; color: var(--muted); }

    /* ── carte large (occupe 2 colonnes si dispo) ── */
    .compe-card.wide {
      grid-column: span 2;
    }
    @media (max-width: 740px) {
      .compe-card.wide { grid-column: span 1; }
    }

    /* Animation */
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(20px); }
      to   { opacity:1; transform:translateY(0); }
    }

    /* responsive */
    @media (max-width: 600px) {
      .compe-hero { padding: 3rem 1rem 2.5rem; }
      .hero-stats  { gap: 1.5rem; }
      .compe-grid  { padding: 0 1rem; gap: 1rem; }
    }


/* ══════════════════════════════
   HERO INDEX — ajustements spécifiques
══════════════════════════════ */

.hero-accueil-index {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-intro-txt {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem !important;
  color: rgba(255,255,255,.72) !important;
  max-width: 900px !important;
  line-height: 1.85 !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.page-hero-banner {
        background: #2f435e;
        color: #fff;
        text-align: center;
        padding: 4rem 2rem 3.5rem;
      }
      html.dark .page-hero-banner { background: #0f172a; }

      .page-hero-sub {
        font-size: .75rem;
        font-weight: 600;
        letter-spacing: .18em;
        color: #93c5fd;
        margin: 0 0 .6rem;
        text-transform: uppercase;
      }

      .page-hero-title {
      font-size: clamp(2.8rem, 7vw, 5.5rem);
      font-weight: 900;
      margin: 0 0 1rem;
      line-height: 1;
      color: #fff;
      font-family: sans-serif;
      display: inline-block;
      transform: scaleX(1.15);
      }

      .page-hero-desc {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 520px;
        margin: 0 auto 2.5rem;
        line-height: 1.6;
      }

      .page-hero-stats {
        display: flex;
        justify-content: center;
        gap: 4rem;
        flex-wrap: wrap;
      }

      .page-hero-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .25rem;
      }

      .stat-num {
        font-size: 2.5rem;
        font-weight: 900;
        color: #fff;
        line-height: 1;
      }

      .stat-label {
        font-size: .62rem;
        font-weight: 600;
        letter-spacing: .1em;
        color: #93c5fd;
        text-transform: uppercase;
      }

      @media (max-width: 600px) {
        .page-hero-stats { gap: 2rem; }
        .page-hero-title { font-size: 2.5rem; }
      }


      








      /*pour la page accsae*/



      /* ── Compteur de résultats ── */
      .filter-count {
        text-align: center;
        font-size: .8rem;
        color: var(--muted, #64748b);
        margin: .75rem 0 0;
        min-height: 1.2em;
        transition: opacity .2s;
      }

      /* ── Grille SAE (remplace Foundation grid pour le filtre) ── */
      #SAES {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.25rem;
        padding: 1.5rem 0 2rem;
      }

      /* ── Animation disparition / apparition ── */
      #SAES .cell {
        transition: opacity .25s ease, transform .25s ease;
      }
      #SAES .cell.hidden {
        display: none;
      }
      #SAES .cell.fade-out {
        opacity: 0;
        transform: scale(.95);
      }

      /* ── Badge de catégorie sur la carte ── */
      .sae-badge {
        display: inline-block;
        font-size: .68rem;
        font-weight: 600;
        padding: .2rem .6rem;
        border-radius: 999px;
        margin-top: .35rem;
        letter-spacing: .04em;
      }
      .sae-badge.reseau  { background: #e0f0ff; color: #1a5fa8; }
      .sae-badge.prog    { background: #e8f5ee; color: #0d5c30; }
      .sae-badge.cyber   { background: #fdecea; color: #9b1c1c; }
      .sae-badge.general { background: #f3f0ff; color: #4c2a8a; }

      html.dark .sae-badge.reseau  { background: #0f2a40; color: #7ec8f8; }
      html.dark .sae-badge.prog    { background: #0a2a18; color: #6ee7b7; }
      html.dark .sae-badge.cyber   { background: #2a0f0f; color: #f87171; }
      html.dark .sae-badge.general { background: #1a1240; color: #c4b5fd; }

      /* ── Message "aucun résultat" ── */
      #no-result {
        display: none;
        text-align: center;
        padding: 3rem 1rem;
        color: var(--muted, #64748b);
        font-size: .95rem;
        grid-column: 1 / -1;
      }

      /* ── Surcharge filter-btn actif pour coller au dark.js ── */
      html.dark .filter-btn:hover,
      html.dark .filter-btn.active {
        background: var(--accent, #60a5fa);
        border-color: var(--accent, #60a5fa);
        color: #fff;
      }