
/* === BODY & GLOBAL === */
body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  color: rgb(58, 8, 133);
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Conteneur global */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* === HEADER / NAVIGATION === */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-weight: 600;
  font-size: 1.3rem;
  color: rgb(58, 8, 133);
  text-decoration: none;
  transition: color 0.3s ease;
}

.brand:hover {
  color: rgb(58, 8, 133);
}

.main-nav a {
  color: rgb(58, 8, 133);
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: rgb(58, 8, 133);
}

.main-nav .active {
  color: rgb(58, 8, 133);
  border-bottom: 2px solid rgb(58, 8, 133);
  padding-bottom: 4px;
}

.main-nav .cta {
  background: rgb(58, 8, 133);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-weight: 500;
}

.main-nav .cta:hover {
  background-color: rgb(58, 8, 133);
}

/* === PAGE PARCOURS / SYSTÈME === */
.page {
  padding: 3rem 0;
}

.page h1 {
  text-align: center;
  font-size: 2.2rem;
  color: rgb(58, 8, 133);
  margin-bottom: 3rem;
}

/* === TIMELINE MODERNE === */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 3px solid rgb(58, 8, 133);
}

.timeline .item {
  position: relative;
  margin-bottom: 2.5rem;
  background: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.timeline h3 {
  color: rgb(58, 8, 133);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.timeline .muted {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.timeline ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  color: rgb(58, 8, 133);
}

/* === SECTION EXPERIENCE === */
.experience {
  margin-top: 3rem;
}

.experience h2 {
  border-left: 5px solid;
  padding-left: 0.6rem;
  color: rgb(58, 8, 133);
  margin-bottom: 1.5rem;
}

/* === BUTTON === */
.btn {
  background-color: rgb(58, 8, 133);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: rgb(58, 8, 133);
}

/* === FOOTER === */
.site-footer {
  background-color: rgb(58, 8, 133);
  color: #f1f5f9;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}

.site-footer small {
  font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    margin: 0.5rem;
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }

  .timeline .item {
    border-left: 4px solid rgb(58, 8, 133);
    border-radius: 10px;
    padding-left: 1rem;
  }

  .timeline .item::before {
    display: none;
  }
}

/* === BLOCS SYSTEME === */
.block {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.block h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: rgb(58, 8, 133);
}

.system-page {
  margin-top: 3rem;
}

.system-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.system-block h3 {
  margin-bottom: 0.8rem;
  color: rgb(58, 8, 133);
  text-align: center;
}

.system-block ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.system-block li {
  margin-bottom: 0.4rem;
}


.system-block {
  position: relative;
  min-height: 200px;                 /* OBLIGATOIRE */
  padding: 20px;
  border-radius: 10px;

 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: rgb(58, 8, 133);
  overflow: hidden;
  
}


/* Footer objectif */
.system-footer {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}


