/* LA RÉDAC’ — style.css (charte du kit propagand)
   S'appuie sur tokens.css (couleurs, polices, bande rouge).
   Rappel : le rouge ne sert qu'à l'action principale, l'écoute, le blocage et le logo. */

* { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background: var(--papier);
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

[hidden] { display: none !important; }

main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 0 var(--gouttiere) 40px; }

button, label.bouton, .segments button, .micro {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
button { font-family: var(--f-ui); cursor: pointer; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }

/* ---------- En-tête ---------- */
.tete {
  height: calc(56px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gouttiere) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--trait);
  background: var(--papier);
  position: sticky;
  top: 0;
  z-index: 5;
}
.marque { display: flex; align-items: center; gap: 10px; }
.logo-svg { display: block; height: 22px; width: auto; }
.sep { width: 1px; height: 18px; background: var(--trait); }
.produit { font-family: var(--f-titre); font-style: italic; font-size: 19px; }
.tete-info { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); white-space: nowrap; }
.tete-lien {
  background: none;
  border: 0;
  padding: 12px 0;
  font-size: 15px;
  color: var(--encre);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body:not([data-vue="formulaire"]) [data-vue-seule="formulaire"],
body:not([data-vue="attente"]) [data-vue-seule="attente"],
body:not([data-vue="article"]) [data-vue-seule="article"],
body:not([data-vue="validation"]) [data-vue-seule="validation"] { display: none; }

/* ---------- Textes communs ---------- */
.intro { padding-top: 24px; margin-bottom: 28px; }
.intro h1 { margin: 0 0 8px; font-family: var(--f-titre); font-weight: 500; font-size: 32px; line-height: 1.1; }
.intro p { margin: 0; font-size: 16px; color: var(--texte-2); }
.petit-titre { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.aide { font-size: 15px; color: var(--texte-2); margin: 0 0 12px; }
.aide-mono { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); margin: 8px 0 0; }
.etiquette { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); margin: 12px 0 4px; }
.etiquette-ui { display: block; font-size: 15px; margin: 16px 0 6px; }
.sous-question { font-size: 15px; margin: 14px 0 8px; }
.lien {
  background: none; border: 0; padding: 10px 0; font-size: 15px; color: var(--encre);
  text-decoration: underline; text-underline-offset: 3px;
}

.groupe, .q { margin-bottom: 32px; }

.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 16px; }

/* ---------- Champs ---------- */
textarea, input[type="text"], input[type="password"] {
  display: block;
  width: 100%;
  font: 400 var(--champ-texte)/1.45 var(--f-ui);
  color: var(--encre);
  background: var(--carte);
  border: 1px solid var(--trait);
  border-radius: var(--r-champ);
  padding: 12px 14px;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}
textarea { min-height: 76px; overflow: hidden; }
input[type="text"], input[type="password"] { min-height: var(--cible); }
::placeholder { color: var(--placeholder); opacity: 1; }
textarea:focus, input:focus { outline: 2px solid var(--encre); outline-offset: 1px; }
.serif { font-family: var(--f-titre) !important; font-style: italic; font-size: 19px !important; }

/* ---------- Questions ---------- */
.q-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.q-tete label { font-family: var(--f-titre); font-size: 24px; font-weight: 500; }
.q-tete span { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); text-align: right; }
.q.manque .q-tete label { color: var(--rouge); }
.q-demande { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 16px 14px 14px; }
.q-demande .aide { margin: -2px 0 12px; }
.q-demande textarea { min-height: 110px; background: var(--papier); }
.q-demande .micro { background: var(--carte); border: 1px solid var(--trait); }
@media (max-width: 430px) { .tete-info { display: none; } }

.champ { position: relative; }
.champ textarea { padding-right: 64px; }
.transcription { display: none; }
.ecoute-bande { display: none; }

.micro {
  position: absolute;
  top: 8px;
  right: 8px;
  width: var(--cible);
  height: var(--cible);
  border: 0;
  border-radius: var(--r-bouton);
  background: var(--papier);
  color: var(--encre);
  display: grid;
  place-items: center;
  padding: 0;
}
.micro svg { width: 18px; height: 18px; }
.micro:active { transform: scale(0.95); }

/* État « dictée en cours » */
.champ.ecoute { border: 2px solid var(--rouge); border-radius: var(--r-champ); background: var(--carte); overflow: hidden; }
.champ.ecoute .ecoute-bande {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--rouge); color: #fff; padding: 7px 12px;
  font-family: var(--f-mono); font-size: 12px;
}
.champ.ecoute textarea { display: none; }
.champ.ecoute .transcription {
  display: block; min-height: 120px; padding: 12px 64px 12px 14px;
  font-size: var(--champ-texte); line-height: 1.45; white-space: pre-wrap;
}
.transcription .provisoire { color: var(--placeholder); }
.transcription::after { content: ''; display: inline-block; width: 1px; height: 1.1em; background: var(--encre); vertical-align: text-bottom; margin-left: 1px; }
.champ.ecoute .micro { top: 42px; background: var(--rouge); color: #fff; }

/* ---------- Choix segmentés ---------- */
.segments { display: grid; gap: 8px; }
.segments.deux { grid-template-columns: 1fr 1fr; }
.segments.trois { grid-template-columns: 1fr 1fr 1fr; }
.segments button {
  min-height: var(--cible);
  padding: 8px 6px;
  font-size: 16px;
  color: var(--encre);
  background: var(--carte);
  border: 1px solid var(--trait);
  border-radius: var(--r-bouton);
}
.segments button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.segments button:active { transform: scale(0.98); }

/* ---------- Boutons ---------- */
.bouton {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: var(--cible); padding: 10px 14px;
  font: 400 16px var(--f-ui); color: var(--encre); text-align: center;
  background: var(--carte); border: 1px solid var(--trait); border-radius: var(--r-bouton);
  cursor: pointer;
}
.bouton.plein { background: var(--encre); border-color: var(--encre); color: #fff; }
.bouton.pointille { border-style: dashed; background: transparent; margin-top: 4px; }
.bouton:active:not(:disabled) { transform: scale(0.98); }

/* ---------- Citation, chiffre ---------- */
.citation-carte .champ textarea { border: 0; padding-left: 0; padding-top: 4px; min-height: 90px; border-bottom: 1px solid var(--trait-leger); border-radius: 0; }
.citation-carte .champ textarea:focus { outline-offset: 4px; }
.citation-carte .micro { top: 0; right: 0; }
.chiffre-ligne { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.chiffre-valeur { font-family: var(--f-titre) !important; font-weight: 600; font-size: 19px !important; }

/* ---------- Photos ---------- */
.photo { display: flex; gap: 12px; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 10px; margin-bottom: 8px; }
.photo-vignette { position: relative; width: 80px; height: 80px; flex: none; border-radius: 6px; overflow: hidden; background: var(--photo-vide); }
.photo-vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-vignette span { position: absolute; left: 4px; bottom: 3px; font-family: var(--f-mono); font-size: 11px; color: var(--encre); background: rgba(243, 241, 236, .85); padding: 0 3px; border-radius: 2px; }
.photo-infos { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.photo-infos textarea { min-height: 60px; border: 0; padding: 2px 0; }
.photo-infos .lien { align-self: flex-start; padding: 6px 0 0; font-size: 14px; color: var(--texte-2); }

/* ---------- Éléments de langage ---------- */
.repliable { padding: 0; }
.repliable-tete {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 64px; padding: 12px 16px; background: none; border: 0; text-align: left; color: var(--encre);
}
.repliable-tete strong { display: block; font-size: 17px; }
.repliable-tete small { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); }
.repliable-tete .signe { font-size: 24px; font-weight: 300; }
.repliable-corps { padding: 14px 16px 18px; border-top: 1px solid var(--trait-leger); }

.pied-form { text-align: center; color: var(--texte-3); font-size: 14px; margin: 8px 0 0; }
.reglages { margin-top: 20px; border: 2px solid var(--encre); }
.reglages .bouton { margin-top: 16px; }
.etat-installation { margin-top: 20px; padding-top: 4px; border-top: 1px solid var(--trait-leger); }
.etat-liste { list-style: none; margin: 0; padding: 0; }
.etat-liste li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--trait-leger); font-size: 16px; }
.etat-valeur { font-family: var(--f-mono); font-size: 13px; color: var(--texte-3); text-align: right; }
.etat-valeur.ok { color: var(--encre); }
.etat-valeur.ok::before { content: '✓ '; }
.etat-valeur.ko { color: var(--rouge); font-weight: 500; }
.etat-detail { margin: 10px 0 0; }
.etat-detail:empty { display: none; }
.etat-installation .lien { font-size: 14px; color: var(--texte-2); }

/* ---------- Bande du bas (complète tokens.css) ---------- */
.bande-action {
  height: calc(var(--bande-h) + env(safe-area-inset-bottom, 0px));
  z-index: 6;
  cursor: pointer;
  touch-action: manipulation;
}
.bande-ligne { display: inline-flex; align-items: center; gap: 12px; }
.bande-action .niveau { display: none; }
.bande-action.ecoute .niveau { display: inline-flex; }
.bande-action:disabled, .bande-action.inactif { background: var(--inactif-fond); color: var(--inactif-texte); }
.bande-action:disabled { cursor: default; }
.bande-action:disabled small, .bande-action.inactif small { color: var(--inactif-texte); }
.bande-action small:empty { display: none; }
@media (hover: hover) and (pointer: fine) {
  .bande-action:hover:not(:disabled):not(.inactif) { background: var(--rouge-survol); }
  .bouton:hover:not(:disabled) { border-color: var(--encre); }
  .segments button:hover { border-color: var(--encre); }
}
body[data-vue="attente"] .bande-action { display: none; }

/* ---------- Attente ---------- */
.declass { padding: 18px 16px 20px; margin-bottom: 22px; }
.declass p { margin: 0; }
.barre-noire, .barre-grise { display: block; height: 12px; margin: 0 0 8px; width: 100%; }
.barre-noire { background: var(--encre); }
.barre-noire.epaisse { height: 20px; }
.barre-grise { background: var(--trait-leger); }
.barre-noire.en-cours { background: var(--rouge); }
.d-rubrique { margin-bottom: 10px !important; font-family: var(--f-mono); font-size: 13px; color: var(--rouge); }
.d-titre { margin-bottom: 12px !important; font-family: var(--f-titre); font-weight: 600; font-size: 22px; line-height: 1.2; }
.d-chapeau { margin-bottom: 16px !important; font-family: var(--f-titre); font-weight: 600; font-size: 16px; line-height: 1.4; }
.d-lignes .barre-noire, .d-lignes .barre-grise { transition: background 300ms ease-out; }
.revele { animation: revele 450ms ease-out both; }
@keyframes revele { from { opacity: 0; } to { opacity: 1; } }

.etapes { list-style: none; padding: 0; margin: 0 0 22px; }
.etapes li { display: flex; align-items: center; gap: 14px; padding: 7px 0; font-size: 16px; color: var(--texte-3); }
.etapes li::before { content: ''; width: 16px; height: 16px; border: 1.5px solid var(--texte-3); border-radius: 50%; flex: none; }
.etapes li.fait { color: var(--encre); }
.etapes li.fait::before { border: 0; border-radius: 0; width: 16px; height: 10px; background: none; border-left: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: rotate(-45deg) translate(2px, -2px); }
.etapes li.actif { color: var(--encre); font-weight: 700; }
.etapes li.actif::before { border: 0; border-radius: 0; width: 18px; height: 8px; background: var(--rouge); }

.verif .etiquette { margin-top: 0; }
.verif-question { font-family: var(--f-titre); font-size: 20px; line-height: 1.3; margin: 6px 0 14px; }
.verif-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#verif-edition { display: grid; gap: 8px; }

/* ---------- Article ---------- */
.resume { display: flex; align-items: center; gap: 8px; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 10px 12px; margin: -12px 0 22px; }
.puce-rouge, .puce-ambre { color: #fff; font-weight: 600; font-size: 14px; padding: 5px 8px; border-radius: 3px; }
.puce-rouge { background: var(--rouge); }
.puce-ambre { background: var(--ambre); }
.puce-rouge:empty, .puce-ambre:empty { display: none; }
.resume .lien { margin-left: auto; }

.journal {
  background: var(--carte);
  margin: 0 calc(var(--gouttiere) * -1) 36px;
  padding: 20px var(--gouttiere) 28px;
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
  font-family: var(--f-titre);
  font-size: 18px;
  line-height: 1.6;
}
.j-entete {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 4px double var(--encre); padding-top: 6px; margin-bottom: 14px;
  font-family: var(--f-mono); font-size: 11px; color: var(--texte-3); line-height: 1.4;
}
.j-rubrique { font-family: var(--f-ui); font-weight: 600; font-size: 14px; color: var(--rouge); margin: 0 0 6px; }
.journal h2.j-titre { font-weight: 600; font-size: 30px; line-height: 1.12; margin: 0 0 12px; letter-spacing: -0.01em; }
.journal .j-chapeau { font-weight: 600; font-size: 19px; line-height: 1.45; margin: 0 0 12px; }
.j-signature { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); margin: 0 0 18px; }
.journal p { margin: 0 0 16px; }
.journal figure { margin: 0 0 20px; }
.journal figure .visuel { background: var(--photo-vide); border-radius: 1px; overflow: hidden; }
.journal figure img { display: block; width: 100%; height: auto; }
.journal figcaption { font-family: var(--f-ui); font-size: 14px; line-height: 1.4; color: var(--texte-2); margin-top: 6px; }
.journal figcaption .credit { color: var(--texte-3); }
.j-chiffre { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--trait-leger); padding: 12px 0; margin: 0 0 18px; }
.j-chiffre strong { font-weight: 600; font-size: 44px; line-height: 1; max-width: 9ch; }
.j-chiffre span { font-family: var(--f-ui); font-size: 15px; line-height: 1.35; color: var(--texte-2); }
.j-citation { margin: 4px 0 20px; }
.j-citation blockquote { margin: 0 0 6px; font-style: italic; font-size: 22px; line-height: 1.35; }
.j-citation .auteur { font-family: var(--f-ui); font-size: 14px; color: var(--texte-2); }

/* Blocs modifiables au toucher */
.editable { cursor: text; border-radius: 2px; }
.editable.edition { outline: 2px solid var(--encre); outline-offset: 6px; }
.edition-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }
.edition-barre span { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); }
.edition-barre .bouton { width: auto; padding: 10px 20px; }

.caviar-alerte, .caviar-blocage { cursor: pointer; }

/* ---------- Questions pour compléter ---------- */
.questions { margin: 0 0 28px; }
.questions h2 { font-family: var(--f-titre); font-weight: 500; font-size: 24px; margin: 0 0 4px; }
.questions ul { margin: 0 0 14px; padding: 0; list-style: none; }
.questions li { font-family: var(--f-titre); font-size: 17px; line-height: 1.45; padding: 9px 0 9px 22px; border-top: 1px solid var(--trait-leger); position: relative; }
.questions li::before { content: '?'; position: absolute; left: 2px; top: 9px; font-family: var(--f-mono); font-size: 14px; color: var(--texte-3); }
.segments[data-nom="citation_origine"] button { font-size: 15px; line-height: 1.25; }

/* ---------- Alertes ---------- */
.alertes h2 { font-family: var(--f-titre); font-weight: 500; font-size: 26px; margin: 0 0 4px; }
.alertes > p { margin: 0 0 16px; font-size: 15px; color: var(--texte-2); }
.alerte { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--r-carte); overflow: hidden; margin-bottom: 16px; scroll-margin-top: 70px; }
.alerte-tete { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; color: #fff; }
.alerte-tete strong { font-size: 16px; }
.alerte-tete span { font-family: var(--f-mono); font-size: 12px; }
.alerte.blocage .alerte-tete { background: var(--rouge); }
.alerte:not(.blocage) .alerte-tete { background: var(--ambre); }
.alerte-corps { padding: 14px; }
.alerte-passage { font-family: var(--f-titre); font-size: 17px; line-height: 1.55; margin: 0 0 10px; }
.alerte-probleme { font-size: 16px; margin: 0 0 12px; }
.alerte-proposition { background: var(--papier); border-radius: var(--r-bouton); padding: 10px 12px; font-family: var(--f-titre); font-size: 16px; margin: 4px 0 14px; }
.alerte .etiquette { margin-top: 0; }
.alerte-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.alerte-note { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); margin: 10px 0 0; }
.alertes .ok { font-size: 15px; color: var(--texte-2); }

/* ---------- Validation ---------- */
.v-titre { font-family: var(--f-titre) !important; font-size: 18px !important; color: var(--encre) !important; margin: 0 0 6px !important; }
.bandeau-bloque { display: flex; flex-direction: column; gap: 4px; background: var(--rouge); color: #fff; margin: -8px calc(var(--gouttiere) * -1) 22px; padding: 14px var(--gouttiere); font-size: 15px; }
.bandeau-bloque strong { font-size: 17px; }
.case { display: flex; gap: 14px; align-items: center; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 14px 16px; font-size: 17px; cursor: pointer; margin-bottom: 18px; }
.case:has(input:checked) { border: 2px solid var(--encre); }
.case input { width: 26px; height: 26px; margin: 0; accent-color: var(--encre); flex: none; }
.exports { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.export .mention { display: none; font-family: var(--f-mono); font-size: 12px; }
.export:disabled { background: var(--inactif-fond); border-color: var(--inactif-fond); color: var(--inactif-texte); justify-content: space-between; cursor: default; }
.exports.bloque .export:disabled .mention { display: inline; }
.exports.bloque { grid-template-columns: 1fr; }
.export.large { grid-column: 1 / -1; }
.envoyer-titre { margin-top: 4px; }
.salle { margin-bottom: 16px; }
.salle .aide { margin: 0 0 12px; }
.salle .aide-mono { margin: 0 0 10px; }
.salle .aide-mono[hidden] { display: none; }
.lien-publie { font-family: var(--f-mono); font-size: 13px; background: var(--papier); border-radius: var(--r-bouton); padding: 10px 12px; margin: 0 0 8px; word-break: break-all; }
.deux-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
a.bouton { text-decoration: none; }
#publier { margin-top: 4px; }
#publier:disabled { background: var(--inactif-fond); border-color: var(--inactif-fond); color: var(--inactif-texte); cursor: default; }
.kit-tete { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: 17px; }
.kit-tete span { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); }
.kit-liste { font-family: var(--f-mono); font-size: 13px; line-height: 1.6; color: var(--texte-2); margin: 0; }
#v-note { margin-top: 16px; }
#v-note:empty { display: none; }
.lien.centre { display: block; margin: 20px auto 0; color: var(--texte-2); }
.pied-form .lien { margin: 0 8px; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--bande-h) + 14px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 10px); width: max-content; max-width: calc(100% - 32px);
  background: var(--encre); color: #fff; padding: 12px 16px; border-radius: var(--r-bouton);
  font-size: 15px; opacity: 0; pointer-events: none; transition: opacity 160ms ease-out, transform 160ms ease-out; z-index: 10;
}
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
body[data-vue="attente"] #toast { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Impression / PDF : seulement l'article, sans marquage ---------- */
@media print {
  @page { size: A4; margin: 18mm; }
  html, body { background: #fff; display: block; min-height: 0; }
  .tete, .bande-action, #toast, .vue > .intro, .resume, .alertes, .edition-barre,
  #vue-formulaire, #vue-attente, #vue-validation { display: none !important; }
  main { max-width: none; padding: 0; }
  #vue-article { display: block !important; }
  .journal { margin: 0; padding: 0; border: 0; font-size: 11.5pt; }
  .journal h2.j-titre { font-size: 24pt; }
  .journal figure, .j-chiffre, .j-citation { break-inside: avoid; }
  .caviar-alerte, .caviar-blocage { background: none !important; box-shadow: none !important; color: inherit !important; padding: 0 !important; }
}


/* =====================================================================
   CHARTE PROPAGAND (kit Claude Design, sept. 2026)
   Archivo seule, angles droits, étiquettes en capitales espacées,
   titres en 800 serré. Ces règles complètent celles du dessus.
   ===================================================================== */

/* Titres : Archivo 800, interlettrage serré */
.intro h1, .q-tete label, .questions h2, .alertes h2, .journal h2.j-titre,
.d-titre, .petit-titre, .repliable-tete strong, .kit-tete strong {
  font-weight: 800; letter-spacing: -0.02em;
}
.intro h1 { font-size: 34px; line-height: 1.02; }
.q-tete label { font-size: 23px; }
.questions h2, .alertes h2 { font-size: 24px; }
.produit { font-style: normal; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }

/* Étiquettes : capitales espacées, 700, 11-12 px */
.aide-mono, .etiquette, .tete-info, .q-tete span, .repliable-tete small,
.etat-valeur, .d-rubrique, .j-entete, .j-signature, .ecoute-bande,
.photo-vignette span, .edition-barre span, .alerte-tete span, .alerte-note,
.export .mention, .kit-tete span, #compte {
  font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}

/* Petits textes rouges : rouge profond, plus lisible */
.q.manque .q-tete label, .etat-valeur.ko, .d-rubrique, .j-rubrique { color: var(--rouge-profond); }

/* Champs et cartes : filets nets, angles droits */
textarea, input[type="text"], input[type="password"] { border-color: var(--trait); }
.carte, .q-demande, .photo, .case, .resume, .alerte { border-color: var(--encre); }
.photo-vignette, .photo-vignette span, .puce-rouge, .puce-ambre, .journal figure .visuel, .editable { border-radius: 0; }
.photo-vignette span { background: rgba(243, 242, 242, .9); }
.micro { border: 1px solid var(--trait); }

/* Boutons : 700, capitales espacées comme dans le kit, taille lisible */
.bouton, .segments button { font-weight: 700; }
.bouton.plein, .bouton.export, .alerte-actions .bouton, #publier {
  text-transform: uppercase; letter-spacing: .06em; font-size: 14px;
}
.segments button[aria-pressed="true"] { background: var(--encre); }

/* Citation saisie et chiffre : pas d'italique serif, Archivo */
.serif { font-style: italic; font-size: 18px !important; }
.chiffre-valeur { font-weight: 800; }

/* Article façon journal, en Archivo */
.journal { font-size: 17px; line-height: 1.6; }
.journal h2.j-titre { font-size: 30px; line-height: 1.05; }
.journal .j-chapeau { font-weight: 700; font-size: 18px; }
.j-rubrique { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.j-chiffre strong { font-weight: 800; letter-spacing: -0.03em; }
.j-citation blockquote { font-weight: 400; font-style: italic; font-size: 21px; }
.alerte-passage, .alerte-proposition, .questions li, .verif-question { font-size: 16px; }
.verif-question { font-size: 19px; font-weight: 700; }

/* Alertes : en-têtes en capitales ; blocage en rouge profond (texte blanc lisible) */
.alerte-tete strong { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.alerte.blocage .alerte-tete, .puce-rouge, .bandeau-bloque { background: var(--rouge-profond); }

/* Logo de service dans l'en-tête (picto incliné + nom, vectorisé) */
.logo-service { display: block; height: 34px; width: auto; }
