/* Atelier de transcription participative — sobre, patrimonial, lisible mobile. */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #2c2a26;
  background: #f3efe6;
  line-height: 1.5;
}
a { color: #6b5636; }

.entete { max-width: 780px; margin: 0 auto; padding: 1.8rem 1.1rem 0.6rem; text-align: center; }
.entete.mince { padding-top: 1rem; }
.entete h1 { margin: 0 0 0.5rem; font-size: 1.6rem; color: #4a3b28; }
.intro { margin: 0 auto; max-width: 60ch; font-size: 1.02rem; color: #4a453d; }
.compteur { margin: 0.8rem 0 0.4rem; font-size: 0.95rem; color: #7a7266; font-variant-numeric: tabular-nums; }
.fil { margin: 0 0 0.4rem; font-family: system-ui, sans-serif; font-size: 0.9rem; text-align: left; }
.cta { margin: 0.8rem 0 0; }

.bouton {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
  padding: 0.6rem 1.6rem;
  border: none;
  border-radius: 6px;
  background: #6b5636;
  color: #fdf9f0;
  cursor: pointer;
  text-decoration: none;
}
.bouton:active { background: #574529; }
.bouton.petit { font-size: 0.95rem; padding: 0.45rem 1.1rem; }

/* --- accueil : liste des documents ------------------------------------- */
.liste-docs { max-width: 780px; margin: 0 auto; padding: 0.6rem 1.1rem 2rem; }
.liste-docs h2 { font-size: 1.15rem; color: #4a3b28; border-bottom: 1px solid #ddd4c2; padding-bottom: 0.3rem; }
.doc {
  background: #fffdf8;
  border: 1px solid #ddd4c2;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 1px 4px rgba(60,45,20,0.06);
}
.doc h3 { margin: 0 0 0.5rem; font-size: 1.08rem; color: #3a352d; }
.barre { height: 10px; background: #e7e0d0; border-radius: 5px; overflow: hidden; }
.barre span { display: block; height: 100%; background: #7ba86a; }
.etat-doc { margin: 0.35rem 0 0.6rem; font-size: 0.9rem; color: #7a7266; font-family: system-ui, sans-serif; }

/* --- contribution ------------------------------------------------------- */
.scene { max-width: 780px; margin: 0 auto; padding: 0.4rem 1.1rem 2rem; }
.merci { text-align: center; color: #4a7a4a; font-style: italic; margin: 0.4rem 0 1rem; }
.fini { text-align: center; color: #6a6255; padding: 2rem 0; }

.carte {
  background: #fffdf8;
  border: 1px solid #ddd4c2;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(60,45,20,0.08);
}
.doc-repere { margin: 0 0 0.2rem; font-size: 0.9rem; color: #6b5636; font-weight: bold; }
.repere { margin: 0 0 0.2rem; font-size: 0.85rem; color: #8a8073; font-family: system-ui, sans-serif; }
.contexte { margin: 0 0 0.6rem; font-size: 0.95rem; color: #5a5348; }
.vignette {
  display: block; width: 100%; height: auto;
  border: 1px solid #cfc6b2; border-radius: 6px; background: #fbf9f3;
}

.formulaire { margin-top: 0.9rem; }
.consigne { display: block; font-family: system-ui, sans-serif; font-weight: bold; margin-bottom: 0.35rem; color: #3a352d; }
#texte {
  width: 100%; font-size: 1.2rem; font-family: Georgia, serif;
  padding: 0.6rem; border: 2px solid #cabfa9; border-radius: 6px; resize: vertical;
}
#texte:focus { outline: none; border-color: #8a9a6a; }
.boutons { display: flex; align-items: center; gap: 1.1rem; margin-top: 0.7rem; }
.passer { font-family: system-ui, sans-serif; font-size: 0.95rem; color: #8a7d66; }
.pot-de-miel { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.pied { max-width: 780px; margin: 0 auto; padding: 1rem 1.1rem 2rem; text-align: center; font-size: 0.85rem; color: #8a8073; font-family: system-ui, sans-serif; }

/* mot isolé (grand) + contexte (plus discret) */
.vignette-mot { display:block; width:100%; height:auto; border:2px solid #c9bfa6; border-radius:8px; background:#fbf9f3; }
.ctx-titre { margin:0.8rem 0 0.3rem; font-size:0.85rem; color:#8a8073; font-family:system-ui,sans-serif; }
.vignette-ctx { display:block; width:100%; height:auto; border:1px solid #d9d1bf; border-radius:6px; background:#fbf9f3; opacity:0.96; }
