
/* Bandeau d’en-tête */
.rapport-header {
  background-color: #9f5ed8;
  color: white;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.rapport-header h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: white;
}

.rapport-header h2 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #f3eaff;
  margin-bottom: 0.5rem;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.7;
  background-color: #faf7fc;
  color: #333;
  padding: 40px 10%;
}

/* En-tête */
header { text-align: center; margin-bottom: 40px; }

h1 {
  font-size: 2rem;
  color: #8c4fd0; 
  margin-bottom: 0.5rem;
}

h2.subtitle {
  font-weight: normal;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Titres de section */
h2 {
  color: #9f5ed8;
  border-left: 6px solid #9f5ed8;
  padding-left: 12px;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

/* Paragraphes */
p { margin-bottom: 1rem; text-align: justify; }

/* Liens */
a { color: #030303; text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

/* Liste */
ul { margin: 1rem 0 1rem 1.5rem; }

/* Boîte info */
.info-box {
  background: #ede2fa;
  border-left: 4px solid #9f5ed8;
  padding: 10px 15px;
  margin: 1rem 0;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 700px) {
  body { padding: 30px 6%; }
  h1 { font-size: 1.6rem; }
}

footer.foot {
  text-align: center;
  margin-top: 40px;
  padding: 30px 0;
  border-top: 2px solid #e0d0f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #faf7fc;
}

footer.foot .btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.back-btn {
  background-color: #8c4fd0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.back-btn:hover {
  background-color: #a46fe3;
  transform: translateY(-2px);
}

.footer-text {
  margin-top: 10px;
  color: #777;
  font-size: 0.9rem;
  text-align: center;
}
