/* Exemple de suivi de l'année (suivi-exemple.html) : le tableau de bord du parent.
   Chargé après styles.css et reperes.css. */

/* L'essentiel : trois chiffres dans l'aplat bleu */
.chiffres-cles {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
}

.chiffres-cles li {
  padding: 1rem 1.15rem;
  border: 2px solid #fff;
  border-radius: 1rem;
}

.chiffre {
  display: block;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.chiffre small {
  font-size: 0.5em;
  letter-spacing: 0;
}

.chiffre-texte {
  display: block;
  margin-top: 0.45rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

/* Sur téléphone, une ligne par chiffre : le nombre à gauche, ce qu'il compte à droite */
@media (max-width: 40rem) {
  .chiffres-cles {
    gap: 0.6rem;
  }

  .chiffres-cles li {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
  }

  .chiffre {
    font-size: 2rem;
  }

  .chiffre-texte {
    margin-top: 0;
  }
}

/* Les trois questions : un repère numéroté au-dessus de chaque bloc */
.question-suivi {
  margin-bottom: 0.75rem;
}

.suivi-sous-titre {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--bleu);
}

/* Le chemin de l'année se colorie : drapeau plein = acquis, à moitié = en cours, vide = à venir */
.drapeau--vide .drapeau-toile {
  fill: #fff;
  stroke: var(--bleu-doux);
}

.drapeau--moitie .drapeau-toile {
  fill: #fff;
}

.drapeau-moitie {
  fill: var(--soleil);
}

.drapeau-contour {
  fill: none;
  stroke: var(--soleil-ombre);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.drapeau-quoi .fait::before {
  content: "✓";
  margin-right: 0.35rem;
  font-weight: 900;
  color: var(--bleu);
}

.drapeau-quoi .etat {
  margin-left: 0.3rem;
  font-size: 0.75rem;
}

/* La régularité : trois séances proposées par semaine, une colonne par semaine */
.semaines {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  text-align: center;
}

.semaine-points {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.35rem;
}

.point {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--bleu-doux);
  border-radius: 50%;
  background: #fff;
}

.point--fait {
  border-color: var(--bleu);
  background: var(--bleu);
}

.semaine-nom {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--encre);
}

/* Côté enfant : sa pousse, grande */
.pousse-enfant {
  display: block;
  width: clamp(4.5rem, 3.5rem + 3vw, 6rem);
  height: auto;
  margin-bottom: 0.75rem;
}

/* Les sources des méthodes, en petit sous chaque principe */
.methode-source {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  font-weight: 700;
}
