/* 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 40px;
}

/* 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;
}

/* En-tête de page */
.page-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1em;
}

/* Sections */
.section {
  margin-bottom: 40px;
  position: relative;
}

.section:last-child {
  margin-bottom: 0;
}

h2 {
  font-size: 1.8em;
  margin: 40px 0 20px;
  color: #fa9f2b;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(250, 159, 43, 0.3);
}

h3 {
  font-size: 1.4em;
  margin: 30px 0 15px;
  color: #ffffff;
  font-weight: 500;
}

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

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

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

/* Liens */
a {
  color: #fa9f2b;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border-bottom: 1px dashed rgba(250, 159, 43, 0.5);
  padding-bottom: 1px;
}

a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  text-decoration: none;
}

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

/* Mise en évidence */
.highlight {
  background-color: rgba(250, 159, 43, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #fa9f2b;
  margin: 25px 0;
}

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

.note:before {
  content: '⚠️';
  margin-right: 10px;
  font-size: 1.2em;
  vertical-align: middle;
}

/* 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;
  }
  
  h3 {
    font-size: 1.2em;
  }
  
  ul, ol {
    margin-left: 20px;
  }
  
  .page-header h1 {
    flex-direction: column;
    gap: 10px;
  }
}

/* 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;
}