:root {
  --primary-color: #0a2e5a;
  --secondary-color: #00a3e0;
  --accent-color: #ff6b35;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --purple-color: #8e44ad;
  --card-bg: #ffffff;
  --text-color: #1a1a2e;
  --text-light: #7f8c8d;
  --hover-color: #083064;
  --background-gradient: linear-gradient(135deg, #0a2e5a 0%, #00a3e0 100%);
  --card-gradient: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  --shadow-color: rgba(10, 46, 90, 0.15);
  --glow-color: rgba(0, 163, 224, 0.3);
  --delegue-gradient: linear-gradient(135deg, #ff6b35 0%, #f39c12 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background-gradient);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  padding: 20px;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 20px 0;
  border-bottom: 3px solid var(--accent-color);
  width: 100%;
}

section {
  background: var(--card-gradient);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px var(--shadow-color);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  max-width: 1200px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color)
  );
  z-index: 2;
}

section:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 50px var(--glow-color);
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

h2::before {
  content: "📋";
  font-size: 1.5rem;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 20px;
  padding: 10px 20px;
  background: rgba(10, 46, 90, 0.08);
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-color);
}

strong {
  color: var(--primary-color);
  font-weight: 600;
  min-width: 120px;
  display: inline-block;
}

em {
  color: var(--accent-color);
  font-style: italic;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 50px;
  background: rgba(10, 46, 90, 0.1);
  border: 2px solid rgba(10, 46, 90, 0.2);
  position: relative;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  margin-top: 15px;
}

a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

a:hover::before {
  left: 100%;
}

a:hover {
  color: white;
  background: var(--primary-color);
  box-shadow: 0 10px 30px rgba(10, 46, 90, 0.4);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

a::after {
  content: "";
  margin-left: 10px;
  transition: transform 0.4s ease;
}

a:hover::after {
  transform: translateX(8px) scale(1.1);
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary-color),
    transparent
  );
  margin: 40px 0;
  opacity: 0.5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 0.6s ease-out forwards;
}

section:nth-child(odd) {
  animation-delay: 0.1s;
}

section:nth-child(even) {
  animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  section {
    padding: 20px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1rem;
  }

  strong {
    min-width: 100px;
  }

  a {
    padding: 10px 20px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  section {
    padding: 15px;
  }

  strong {
    display: block;
    min-width: auto;
    margin-bottom: 5px;
  }
}
.back-button-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 20px rgba(10, 46, 90, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.back-button i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.back-button:hover {
  background: var(--hover-color);
  border-color: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 46, 90, 0.4);
}

.back-button:hover i {
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .back-button-container {
    top: 15px;
    left: 15px;
  }

  .back-button {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .back-button span {
    display: none;
  }

  .back-button i {
    font-size: 1.2rem;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .back-button-container {
    top: 10px;
    left: 10px;
  }

  .back-button {
    padding: 8px 16px;
  }
}
/* Animation pour les sections */
section {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

/* Effet de survol pour le bouton retour */
.back-button {
  transition: all 0.3s ease;
}

.back-button:hover {
  transform: translateX(-5px);
}
.navigation-buttons {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
}
