/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    color: white;
  }
  



  
  /* Particules en fond */
  #particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #0a1f44; /* Bleu foncé */
  }
  
   /* ======= SIDEBAR (cohérente avec ton site) ====== */
    .sidebar {
      position: fixed;
      top: 0; left: 0;
      height: 100vh;
      width: 200px;
      background-color: #0d1b2a;
      display: flex;
      flex-direction: column;
      padding: 30px 20px;
      border-right: 1px solid #1e2f48;
      z-index: 100;
    }
    .nom-prenom-sidebar {
      color: #ffffff;
      font-size: 13px;
      letter-spacing: 1px;
      margin-bottom: 30px;
      padding-bottom: 20px;
      border-bottom: 1px solid #1e2f48;
    }
    .sidebar h2 {
      font-size: 11px;
      letter-spacing: 3px;
      color: #4a5a72;
      text-transform: uppercase;
      margin-bottom: 16px;
      font-family: 'JetBrains Mono', monospace;
    }
    .sidebar ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .sidebar ul li a {
      color: #8899aa;
      text-decoration: none;
      font-size: 13px;
      padding: 7px 10px;
      border-radius: 6px;
      display: block;
      transition: all 0.2s;
    }
    .sidebar ul li a:hover,
    .sidebar ul li a.active {
      background-color: #1e2f48;
      color: #ffffff;
    }
    .sidebar ul li a.active {
      color: #3b82f6;
      border-left: 2px solid #3b82f6;
    }

.sidebar ul li a:hover,
    .sidebar ul li a.active {
      background-color: #1e2f48;
      color: #ffffff;
    }
    .sidebar ul li a.active {
      color: #3b82f6;
      border-left: 2px solid #3b82f6;
    }

.freq-btn.active {
      border-color: #3b82f6;
      background: #3b82f612;
      color: #3b82f6;
      font-weight: 600;
    }
.freq-btn:not(.active):hover { color: #e2e8f0; border-color: #2a3f5a; }

    /* ── CONTENU PRINCIPAL ── */
    .page-content {
      margin-left: 200px;
      flex: 1;
      padding: 40px 40px 80px;
      max-width: 900px;
    } 


  /*========== Contenu principal ==========*/
  .content {
    margin-left: 240px; /* Espace pour le menu */
    padding: 60px;
  }
  
  /* Section accueil */
  .accueil {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 40vh;
    text-align: center;
  }
  
  .accueil h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
  }
  
  .nom-prenom {
    font-size: 1.8em;
    font-weight: bold;
    color: #88cfff;
    margin-bottom: 10px;
  }
  
  .sous-titre {
    font-size: 1.2em;
    font-style: italic;
    color: #ccc;
  }

  .content_section {
    padding: 10px;
  }
  .cv {
    color: rgb(27, 70, 126);
    text-decoration: none;
    font-weight: bold;
  }
  .cv:hover {
    color: violet;
    transition: 200ms;
  }

  /*Epreuve.html*/
      /*content*/
        .E4 {
          height: 90vh;
          width: 100%;
        }



/*section veille tech*/
.content section h1 {
  font-size: 2.5em;        /* Agrandit le titre */
  text-align: center;      /* Centre le titre horizontalement */
  margin-bottom: 30px;     /* Espace sous le titre */
  color: #ffffff;          /* Pour la lisibilité sur fond sombre */
}
.content section p {
  margin-bottom: 20px;       /* Espace entre les paragraphes */
  line-height: 1.7;          /* Hauteur de ligne pour la lisibilité */
  font-size: 1.1em;    
        /* Taille de texte légèrement agrandie */
  max-width: 100%;          /* Limite la largeur pour faciliter la lecture */
  text-align: justify;       /* Justifie le texte pour un aspect pro */
}

.content section p:first-of-type {
  /* styles appliqués uniquement au premier <p> dans chaque <section> */
  margin-top: 5px;
}






/*TEST GPT*/
.tab-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-buttons button {
  padding: 10px 20px;
  background-color: rgba(0,0,0,0.6);
  border: 2px solid #88cfff;
  color: #88cfff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.tab-buttons button:hover {
  background-color: #88cfff;
  color: #000;
}

.tab-buttons button.active {
  background-color: #88cfff;
  color: #000;
}