/* ----------------------------- */
/* RESET */
/* ----------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Courier New", monospace;
}

html {
  scroll-behavior: smooth;
}

/* ----------------------------- */
/* BODY */
/* ----------------------------- */

body {
  background: #000000;
  color: #00ff9c;
  overflow-x: hidden;
}

/* effet lumière */
body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 70%);
  top: -200px;
  left: -200px;
  pointer-events: none;
}

/* ----------------------------- */
/* LAYOUT */
/* ----------------------------- */

.layout {
  display: flex;
  min-height: 100vh;
}

/* ----------------------------- */
/* SIDEBAR */
/* ----------------------------- */

.sidebar {
  width: 260px;
  background: #000000;
  border-right: 1px solid rgba(0,255,156,0.2);
  padding: 2rem 1.5rem;
}

/* ----------------------------- */
/* PROFILE */
/* ----------------------------- */

.profile {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-img {
  width: 130px;
  height: 130px;
  margin: auto;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid #00ff9c;
  box-shadow: 0 0 15px rgba(0,255,156,0.5);
}

.profile-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}


.profile h1 {
  margin-top: 1rem;
  font-size: 1.4rem;
}

.profile p {
  font-size: 0.8rem;
  color: rgba(0,255,156,0.6);
}

/* ----------------------------- */
/* NAV */
/* ----------------------------- */

.nav-menu {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-menu a {
  color: #00ff9c;
  padding: 10px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: 0.3s;
}

/* effet terminal */
.nav-menu a::before {
  content: ">";
  margin-right: 6px;
  opacity: 0;
  transition: 0.2s;
}

.nav-menu a:hover::before {
  opacity: 1;
}

.nav-menu a:hover {
  border-left: 2px solid #00ff9c;
  background: rgba(0,255,156,0.05);
}

.nav-menu a.active {
  border-left: 2px solid #00ff9c;
  background: rgba(0,255,156,0.1);
}

/* ----------------------------- */
/* MAIN CONTENT (FIX GLOBAL 🔥) */
/* ----------------------------- */

.main-content {
  flex: 1;
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------- */
/* SECTIONS */
/* ----------------------------- */

.section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------- */
/* TITRES */
/* ----------------------------- */

.main-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section h2::after {
  content: "_";
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ----------------------------- */
/* TEXTE */
/* ----------------------------- */

.main-content p {
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ----------------------------- */
/* CARDS (FIX 🔥) */
/* ----------------------------- */

.cards-sio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  padding: 2rem;
  border: 1px solid rgba(0,255,156,0.15);
  background: rgba(0,255,156,0.02);
  border-radius: 10px;
  transition: 0.3s;
}

.card i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card:hover {
  box-shadow: 0 0 15px rgba(0,255,156,0.3);
  transform: translateY(-5px);
}

/* ----------------------------- */
/* PDF (FIX 🔥) */
/* ----------------------------- */

.pdf-viewer-block {
  margin-top: 2rem;
  border: 1px solid rgba(0,255,156,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.pdf-viewer-block embed {
  width: 100%;
  height: 700px;
  display: block;
}

/* ----------------------------- */
/* BOUTON */
/* ----------------------------- */

.download-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  border: 1px solid #00ff9c;
  color: #00ff9c;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.download-btn:hover {
  background: #00ff9c;
  color: #020617;
}


/* ----------------------------- */
/* TIMELINE CENTRÉE G/D 🔥 */
/* ----------------------------- */

.veille-container {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 0;
}

/* Ligne centrale */
.veille-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #00ff9c;
  transform: translateX(-50%);
  box-shadow: 0 0 10px #00ff9c;
}

/* Item */
.veille-item {
  position: relative;
  width: 50%;
  padding: 1.5rem;
}

/* Point lumineux */
.veille-item::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: #00ff9c;
  border-radius: 50%;
  box-shadow: 0 0 15px #00ff9c;
}

/* Gauche */
.veille-item.left {
  left: 0;
  text-align: right;
}

.veille-item.left::before {
  right: -8px;
}

/* Droite */
.veille-item.right {
  left: 50%;
}

.veille-item.right::before {
  left: -8px;
}

/* Card */
.veille-card {
  background: rgba(0,255,156,0.05);
  border: 1px solid rgba(0,255,156,0.2);
  padding: 1.5rem;
  border-radius: 10px;
  transition: 0.3s;
}

.veille-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0,255,156,0.3);
}

/* Responsive */
@media (max-width: 800px) {
  .veille-item {
    width: 100%;
    text-align: left !important;
    padding-left: 2.5rem;
  }

  .veille-container::before {
    left: 20px;
  }

  .veille-item::before {
    left: 12px !important;
  }

  .veille-item.left,
  .veille-item.right {
    left: 0;
  }
}



/* ----------------------------- */
/* CERTIFICATIONS FULL WIDTH 🔥 */
/* ----------------------------- */

.certif-container {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* chaque bloc prend toute la largeur */
.certif-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;

  padding: 2rem;
  border-radius: 15px;
  background: rgba(0,255,156,0.03);
  border: 1px solid rgba(0,255,156,0.1);

  transition: 0.3s;
}

/* image */
.certif-item img {
  width: 220px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* texte */
.certif-text {
  max-width: 700px;
}

.certif-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.certif-text p {
  opacity: 0.8;
}

/* liste */
.certif-text ul {
  margin-top: 1rem;
  list-style: none;
}

.certif-text li {
  margin-bottom: 5px;
}

/* hover premium */
.certif-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(0,255,156,0.2);
}

/* alternance style Apple */
.certif-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* responsive */
@media (max-width: 900px) {
  .certif-item {
    flex-direction: column !important;
    text-align: center;
  }

  .certif-item img {
    width: 150px;
  }
}

/* ----------------------------- */
/* DOCUMENTATIONS */
/* ----------------------------- */

.doc-filters {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
}

.doc-filters button {
  padding: 10px 20px;
  background: rgba(0,255,156,0.05);
  border: 1px solid rgba(0,255,156,0.3);
  color: #00ff9c;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.doc-filters button.active,
.doc-filters button:hover {
  background: #00ff9c;
  color: #020617;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.doc-card {
  padding: 1.5rem;
  background: rgba(0,255,156,0.03);
  border: 1px solid rgba(0,255,156,0.1);
  border-radius: 10px;
  transition: 0.3s;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,255,156,0.2);
}

.doc-card h3 {
  margin-bottom: 0.5rem;
}

.doc-card p {
  opacity: 0.8;
  margin-bottom: 1rem;
}


/* TABLE RGPD */
.rgpd-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: rgba(0, 255, 157, 0.03);
  border: 1px solid rgba(0,255,156,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.rgpd-table th, .rgpd-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(0,255,156,0.1);
}

.rgpd-table th {
  background: rgba(0,255,156,0.1);
  text-align: left;
}

.rgpd-table tr:hover {
  background: rgba(0,255,156,0.05);
}





/* TAGS POUR LES ÉPREUVES */
/* TAGS */
.tag {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding: 5px 10px;
  border: 1px solid #00ff9c;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0.8;
  transition: 0.3s;
}

.tag:hover {
  background: #00ff9c;
  color: #020617;
  opacity: 1;
}

.btn-container {
  text-align: center;
  margin-top: 30px;
}

.veille-btn {
  padding: 12px 28px;
  background: rgba(0, 255, 140, 0.15);
  border: 1px solid rgba(0, 255, 140, 0.5);
  backdrop-filter: blur(6px);
  color: #00ff8c;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;
}

.veille-btn:hover {
  background: rgba(0, 255, 140, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 0 12px #00ff8c;
}

.btn-veille {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  background: rgba(0, 255, 140, 0.15);
  border: 1px solid rgba(0, 255, 140, 0.5);
  backdrop-filter: blur(6px);
  color: #00ff8c;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-veille:hover {
  background: rgba(0, 255, 140, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 0 12px #00ff8c;
}

/* BLOC FULL WIDTH */
.annee2-full {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  margin: 2rem 0;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 150, 0.25);
  box-shadow: 0 0 30px rgba(0, 255, 150, 0.35);
}

/* SECTION VIDEO FULL WIDTH */
.video-section {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.video-full {
  background: #000;
  width: 100%;
  height: 90vh; /* très grand */
  object-fit: contain; /* montre toute la vidéo sans couper */
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 150, 0.25);
  box-shadow: 0 0 35px rgba(0, 255, 150, 0.45);
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .video-full {
    height: 250px;
  }
}


/* TEXTE */

.page-annee2 .video-section,
.page-annee2 .annee2-right {
  display: block;
}



.annee2-right {
  flex: 1;
}

.annee2-right h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.annee2-right p {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* TAGS */
.tags .tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 255, 150, 0.15);
  border: 1px solid rgba(0, 255, 150, 0.4);
  border-radius: 8px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .annee2-full {
    flex-direction: column;
  }

  .video-block {
    height: 250px;
  }
}






/* ----------------------------- */
/* RESPONSIVE */
/* ----------------------------- */

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    text-align: center;
  }

  .main-content {
    padding: 2rem;
  }
}