/* Le carnet à spirale du reporter : questions, réponses à l'encre bleue, aides */
.carnet {
  position: sticky;
  top: 1.5rem;
  background: #f6f3ea;
  background-image: repeating-linear-gradient(transparent 0 27px, #c9d3e3 27px 28px);
  color: var(--encre);
  padding: 1.6rem 1.1rem 1.2rem 1.4rem;
  border-top: 14px solid #8b8f96;
  box-shadow: var(--ombre-papier);
  line-height: 28px;
}
.carnet h2 { font: 600 1.05rem/28px var(--ui); margin: 0 0 28px; }
.carnet p { margin: 0 0 28px; }

.etape-faite { color: var(--gris); }
.etape-faite .conclusion { font-family: var(--plume); font-size: 1.35rem; color: var(--encre-bleue); }

.question { font-weight: 600; }

.carnet label { display: block; }
.carnet input[type="text"] {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--encre-bleue);
  background: transparent;
  font: 1.5rem/28px var(--plume);
  color: var(--encre-bleue);
  padding: 0 .2rem;
  margin-bottom: 28px;
}
.carnet input[type="text"]:focus-visible { outline: none; background: rgba(31, 58, 107, .07); }

.choix { border: 0; padding: 0; margin: 0 0 28px; }
.choix legend { padding: 0; font-weight: 600; }
.choix label { display: flex; gap: .5rem; align-items: baseline; cursor: pointer; }
.choix input { accent-color: var(--encre-bleue); }

.bouton {
  border: 2px solid var(--encre);
  background: var(--encre);
  color: #f6f3ea;
  padding: 0 1rem;
  line-height: 36px;
  border-radius: 2px;
}
.bouton:hover { background: var(--encre-bleue); border-color: var(--encre-bleue); }

.verdict { font-style: italic; min-height: 28px; }
.verdict.non { color: var(--tampon); }

.aides { margin-top: 28px; }
.aide { font-family: var(--plume); font-size: 1.3rem; color: #5a3d0c; margin: 0 0 28px; }

/* Tampon posé quand une étape est résolue : le seul geste animé du jeu */
.tampon {
  display: inline-block;
  border: 3px solid var(--tampon);
  color: var(--tampon);
  font: 700 .95rem/1.4 var(--machine);
  letter-spacing: .08em;
  padding: 0 .5rem;
  transform: rotate(-6deg);
  opacity: .85;
}
.tampon.pose { animation: poser .35s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes poser {
  from { transform: rotate(-6deg) scale(2.2); opacity: 0; }
  to { transform: rotate(-6deg) scale(1); opacity: .85; }
}

.duree { font-family: var(--machine); }
