
/* 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);
}
.title-with-kawaii {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.kawaii {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
  animation: floaty 3s ease-in-out infinite;
  transition: transform .2s ease;
  order: -1; /* place Thymio à gauche du titre */
}
.kawaii:hover {
  transform: translateY(-2px) scale(1.03);
}
@keyframes floaty {
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-6px) }
  100% { transform: translateY(0) }
}

.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, Helvetica, sans-serif;
  line-height: 1.7;
  background-color: #faf7fc;
  color: #333;
  padding: 40px 10%;
}

/* Sous-titre */
.subtitle {
  text-align: center;
  color: #555;
  font-weight: normal;
  margin-bottom: 2rem;
}

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

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

.foot {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid #e0d0f5;
}

.foot .btn {
  display: inline-block;
  margin: 10px 8px;
  background-color: #9f5ed8;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.foot .btn:hover {
  background-color: #7e45b9;
  transform: translateY(-2px);
}

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

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