/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #a51c16 0%, #c93418 50%, #fa9f2b 100%);
  min-height: 100vh;
  padding: 20px;
  color: #FFFFFF;
  line-height: 1.6;
  background-attachment: fixed;
}

/* En-tête */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(90, 20, 15, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 25px;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Conteneur principal */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Carte de contenu */
.content-card {
  background: rgba(40, 15, 10, 0.7);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Titres */
h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #fa9f2b, #c93418);
  border-radius: 3px;
}

h2 {
  font-size: 1.8em;
  margin: 40px 0 20px;
  color: #fa9f2b;
  position: relative;
  padding-left: 15px;
}

h2:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(to bottom, #fa9f2b, #c93418);
  border-radius: 3px;
}

/* Listes */
ul, ol {
  margin: 15px 0 20px 30px;
}

li {
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 10px;
}

li:before {
  content: '•';
  color: #fa9f2b;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Liens */
a {
  color: #fa9f2b;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Paragraphes */
p {
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

/* Mise en évidence */
.highlight {
  background-color: rgba(250, 159, 43, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  border-left: 3px solid #fa9f2b;
}

/* Note importante */
.note {
  background: rgba(90, 20, 15, 0.5);
  border-left: 4px solid #fa9f2b;
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
}

/* Pied de page */
.footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
  .content-card {
    padding: 25px;
  }
  
  h1 {
    font-size: 2em;
  }
  
  h2 {
    font-size: 1.5em;
  }
  
  ul, ol {
    margin-left: 20px;
  }
}

/* Animation de fond */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  background-size: 200% 200%;
  animation: gradientBG 15s ease infinite;
}