/* Ce qu'ils ont dit — affiche Barbara Kruger × Guerrilla Girls */
:root {
  --rouge: #e1261c;
  --rouge-fonce: #b51b13;
  --noir: #0b0b0b;
  --blanc: #ffffff;
  --papier: #ece5d4;
  --creme: #f8f2e4;
  --encre: #171310;
  --jaune: #ffe500;
  --rose: #ff5fa2;
  --gris: #5c5c5c;
  --gris-clair: #d9d6cf;
  --f-affiche: "Anton", "Impact", "Haettenschweiler", sans-serif;
  --f-kruger: "Jost", "Futura", "Century Gothic", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gouttiere: 16px;
  --largeur: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background-color: var(--papier);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 19, 16, .09) 1px, transparent 1.6px);
  background-size: 5px 5px;
  color: var(--noir);
  font-family: var(--f-kruger);
  font-size: 17px;
  line-height: 1.55;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--rouge); }
a:not([class]):hover {
  background: var(--rouge); color: var(--creme); box-shadow: 0 0 0 2px var(--rouge);
  text-decoration-color: var(--creme);
}
:focus-visible { outline: 4px solid var(--rouge); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
[hidden] { display: none !important; }
.saut { position: absolute; left: -999px; top: 0; background: var(--jaune); padding: 8px 12px; z-index: 99; font-weight: 700; }
.saut:focus { left: 8px; }

.contenant { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- barre de navigation ---------- */
.bandeau {
  background: var(--noir); color: var(--blanc);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 4px solid var(--rouge);
}
.bandeau .contenant { display: flex; align-items: center; gap: 14px; min-height: 58px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blanc); }
.marque img { width: 58px; height: auto; }
.marque span {
  font-family: var(--f-kruger); font-style: italic; font-weight: 900; text-transform: uppercase;
  letter-spacing: .01em; font-size: 18px; background: var(--rouge); padding: 0 6px; line-height: 1.3;
}
.marque:hover { color: var(--blanc); }
.nav { margin-left: auto; display: flex; gap: 4px 16px; flex-wrap: wrap; }
.nav a {
  color: var(--blanc); text-decoration: none; font-weight: 700; text-transform: uppercase;
  font-size: 13px; letter-spacing: .08em; padding: 6px 0; border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--jaune); color: var(--blanc); }

/* ---------- typographie Kruger ---------- */
.k {
  background: var(--rouge); color: var(--blanc);
  font-family: var(--f-kruger); font-style: italic; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em;
  padding: 0 .22em; line-height: 1.22;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.k-noir { background: var(--noir); }
.k-blanc { background: var(--blanc); color: var(--noir); }
.k-jaune { background: var(--jaune); color: var(--noir); }

.surtitre {
  font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .12em;
  display: inline-block; border: 2px solid currentColor; padding: 2px 8px; margin: 0 0 14px;
}
h1, h2, h3 { margin: 0; line-height: 1.05; }
.titre-affiche {
  font-family: var(--f-affiche); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 8vw, 92px); letter-spacing: .005em; line-height: .95;
}
.titre-section {
  font-family: var(--f-affiche); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 64px); line-height: .98; margin-bottom: 18px;
}
.chapeau { font-size: clamp(18px, 2.2vw, 22px); max-width: 60ch; font-weight: 500; }

/* ---------- héros ---------- */
.heros {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.28) 1px, transparent 1.4px) 0 0 / 6px 6px,
    linear-gradient(135deg, #cfcac0 0%, #f3f1ec 45%, #9d978c 100%);
  border-bottom: 6px solid var(--noir);
}
.heros .contenant { padding-top: 48px; padding-bottom: 56px; position: relative; }
.heros-grille { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .heros-grille { grid-template-columns: 1.25fr 1fr; } }
.heros-titre { font-size: clamp(54px, 11vw, 132px); line-height: 1.02; margin: 0; }
.heros-titre .k { display: inline; }
.heros-slogan { margin-top: 22px; font-size: clamp(20px, 3vw, 30px); line-height: 1.5; }
.heros-logo { width: min(520px, 100%); margin: 0 auto; filter: drop-shadow(6px 6px 0 rgba(0,0,0,.12)); }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-noire { background: var(--noir); color: var(--blanc); }
.section-noire a:hover { color: var(--jaune); }
.section-rouge { background: var(--rouge); color: var(--blanc); }
.section-jaune { background: var(--jaune); color: var(--noir); }
.section-blanche { background: var(--blanc); }
.filet { border: 0; border-top: 6px solid var(--noir); margin: 0; }

/* ---------- affiche Guerrilla Girls ---------- */
.affiche-gg {
  background: var(--jaune); color: var(--noir); border: 6px solid var(--noir);
  padding: clamp(20px, 4vw, 44px); position: relative;
}
.affiche-gg .question {
  font-family: var(--f-affiche); text-transform: uppercase; font-size: clamp(30px, 5.4vw, 60px); line-height: 1;
}
.affiche-gg .reponse {
  font-family: var(--f-affiche); text-transform: uppercase; font-size: clamp(64px, 14vw, 170px); line-height: .9;
  margin: 10px 0 6px; letter-spacing: -.01em;
}
.affiche-gg .reponse small { font-size: .32em; vertical-align: top; }
.affiche-gg .pied { font-family: var(--f-mono); font-size: 13px; max-width: 70ch; }
.affiche-gg .tampon {
  position: absolute; right: clamp(10px, 3vw, 30px); top: clamp(10px, 3vw, 30px);
  transform: rotate(8deg); border: 4px solid var(--rouge); color: var(--rouge);
  font-family: var(--f-affiche); text-transform: uppercase; font-size: clamp(16px, 2.4vw, 26px);
  padding: 2px 10px; background: rgba(255,229,0,.85);
}
.liste-gg { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: gg; }
.liste-gg li {
  counter-increment: gg; font-family: var(--f-affiche); text-transform: uppercase;
  font-size: clamp(20px, 3vw, 30px); line-height: 1.12; padding: 8px 0 8px 56px; position: relative;
  border-top: 3px solid var(--noir);
}
.liste-gg li::before {
  content: counter(gg); position: absolute; left: 0; top: 6px; width: 42px; height: 42px;
  background: var(--noir); color: var(--jaune); display: grid; place-items: center; font-size: 24px;
}

/* ---------- chiffres ---------- */
.chiffres { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border: 3px solid var(--noir); background: var(--creme); box-shadow: inset 0 0 0 4px var(--creme), inset 0 0 0 6px var(--noir); }
.chiffre { padding: 18px 18px 16px; border: 2px solid var(--noir); margin: -1px; }
.chiffre b { display: block; font-family: var(--f-affiche); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1; }
.chiffre span { display: block; font-size: 15px; font-weight: 600; margin-top: 6px; }
.chiffre.rouge { background: var(--rouge); color: var(--blanc); }
.chiffre.noir { background: var(--noir); color: var(--blanc); }

/* ---------- cartes candidats ---------- */
.cartes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.carte {
  background: var(--creme); border: 3px solid var(--noir); padding: 22px; text-decoration: none; color: var(--noir);
  display: flex; flex-direction: column; gap: 12px; transition: border-color .12s, box-shadow .12s;
  box-shadow: inset 0 0 0 4px var(--creme), inset 0 0 0 6px var(--noir);
}
a.carte:hover {
  border-color: var(--rouge); color: var(--noir);
  box-shadow: inset 0 0 0 4px var(--creme), inset 0 0 0 6px var(--rouge);
}
.carte .nom { font-family: var(--f-affiche); text-transform: uppercase; font-size: 42px; line-height: .95; }
.carte .parti { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.carte .citation-courte { font-style: italic; font-weight: 800; font-size: 22px; line-height: 1.25; }
.carte .appel { margin-top: auto; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.carte-vide { background: transparent; border-style: dashed; box-shadow: none !important; justify-content: center; text-align: center; }
.carte-vide .nom { font-size: 88px; color: var(--rouge); }

/* ---------- page candidat ---------- */
.fiche-tete { background: var(--noir); color: var(--blanc); border-bottom: 6px solid var(--rouge); }
.fiche-tete .contenant { padding-top: 40px; padding-bottom: 44px; }
.fiche-tete .titre-affiche { font-size: clamp(52px, 12vw, 140px); }
.fiche-identite { font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 14px 0 26px; }
.fiche-cri { font-size: clamp(30px, 6vw, 68px); line-height: 1.28; margin: 0; max-width: 18ch; }
.fiche-cri-source { font-family: var(--f-mono); font-size: 13px; margin-top: 14px; color: #cfcfcf; }
.fiche-cri-source a { color: #fff; }

.sommaire { background: var(--jaune); border-bottom: 4px solid var(--noir); }
.sommaire .contenant { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 10px; padding-bottom: 10px; }
.sommaire a { display: inline-block; padding: 7px 2px; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; text-decoration: none; }
.sommaire a:hover { text-decoration: underline; color: var(--noir); }

/* ---------- citations ---------- */
.citations-une { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.citation {
  background: var(--creme); border: 3px solid var(--noir); display: flex; flex-direction: column;
  position: relative; min-width: 0; padding: 7px;
  box-shadow: inset 0 0 0 4px var(--creme), inset 0 0 0 6px var(--noir);
}
.citation-date {
  background: var(--noir); color: var(--blanc); font-family: var(--f-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; padding: 6px 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.citation-date .theme { color: var(--jaune); }
.citation blockquote { margin: 0; padding: 18px 16px 8px; }
.citation blockquote p {
  margin: 0; font-style: italic; font-weight: 800; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.32;
  overflow-wrap: anywhere;
}
.citation blockquote p .guillemet { color: var(--rouge); font-style: normal; }
.citation .pourquoi { margin: 6px 16px 0; font-weight: 700; font-size: 15px; }
.citation .pourquoi::before { content: "▲ "; color: var(--rouge); }
.citation .contexte { margin: 6px 16px 0; font-size: 14px; color: var(--gris); }
.citation .preuve {
  margin-top: auto; padding: 12px 16px 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  font-family: var(--f-mono); font-size: 12px;
}
.citation .preuve a { font-weight: 600; padding: 7px 0; }
.citation.grave-5 {
  border-color: var(--rouge);
  box-shadow: inset 0 0 0 4px var(--creme), inset 0 0 0 6px var(--rouge);
}
.citation.grave-4 { border-width: 5px; }

.theme-bloc { margin-top: 56px; }
.theme-bloc h3 { font-size: clamp(26px, 4vw, 42px); line-height: 1.3; margin-bottom: 10px; }
.theme-bloc .intro { max-width: 70ch; margin: 0 0 22px; font-weight: 500; }
.citations-liste { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.citations-liste .citation blockquote p { font-size: 19px; }
details.integral { margin: 8px 16px 0; font-size: 14px; }
details.integral summary { cursor: pointer; padding: 8px 0; font-weight: 700; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; }
details.integral div { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--papier); padding: 10px; margin-top: 6px; border-left: 4px solid var(--noir); }
details.integral .cite { color: var(--gris); border-left-color: var(--gris-clair); }

/* ---------- mots-clics ---------- */
.mur { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; }
.mot-clic {
  font-family: var(--f-affiche); text-transform: none; line-height: 1.05; border: 0; cursor: pointer;
  max-width: 100%; overflow-wrap: anywhere;
  background: var(--creme); color: var(--noir); padding: 6px 12px 8px;
  border: 3px solid var(--noir); box-shadow: inset 0 0 0 2px var(--creme);
}
.mot-clic:nth-child(3n+1) { background: var(--rouge); color: var(--blanc); }
.mot-clic:nth-child(4n+2) { background: var(--noir); color: var(--jaune); box-shadow: inset 0 0 0 2px var(--noir), inset 0 0 0 3px var(--jaune); }
.mot-clic sup { font-family: var(--f-mono); font-size: 13px; vertical-align: super; margin-left: 4px; }
.mot-clic[aria-expanded="true"] { border-color: var(--rouge); box-shadow: 0 0 0 3px var(--rouge); }
.mot-clic-detail {
  margin-top: 26px; background: var(--creme); color: var(--noir); border: 3px solid var(--noir); padding: 18px;
  box-shadow: inset 0 0 0 4px var(--creme), inset 0 0 0 6px var(--noir);
}
.mot-clic-detail h3 { font-family: var(--f-affiche); font-weight: 400; font-size: 40px; }
.mot-clic-detail ul { padding-left: 18px; margin: 10px 0; }
.mot-clic-detail li { margin: 8px 0; font-style: italic; font-weight: 600; overflow-wrap: anywhere; }
.mot-clic-detail li small { font-style: normal; font-family: var(--f-mono); font-weight: 400; }

/* ---------- actualités ---------- */
.actus { list-style: none; margin: 0; padding: 0; border-left: 6px solid var(--noir); }
.actu { position: relative; padding: 0 0 26px 26px; }
.actu::before { content: ""; position: absolute; left: -15px; top: 6px; width: 24px; height: 24px; background: var(--rouge); border: 4px solid var(--noir); }
.actu.campagne-2026::before { background: var(--jaune); }
.actu time { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.actu h3 { font-size: 22px; line-height: 1.2; margin: 4px 0 6px; font-weight: 800; }
.actu p { margin: 0; max-width: 72ch; }
.actu .source { font-family: var(--f-mono); font-size: 12px; margin-top: 6px; }
.etiquette {
  display: inline-block; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  padding: 1px 6px; border: 2px solid var(--noir); margin-left: 6px; vertical-align: 2px; background: var(--blanc);
}
.etiquette.opinion { background: var(--rose); }
.filtres-actus { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

/* ---------- boutons / puces ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
  background: var(--rouge); color: var(--creme); border: 3px solid var(--noir);
  box-shadow: inset 0 0 0 2px var(--rouge), inset 0 0 0 3px var(--creme);
  font-weight: 800; text-transform: uppercase; letter-spacing: .11em; font-size: 14px; padding: 12px 22px;
}
.bouton:hover { background: var(--noir); border-color: var(--noir); color: var(--creme); box-shadow: inset 0 0 0 2px var(--noir), inset 0 0 0 3px var(--creme); }
.bouton.secondaire { background: transparent; color: inherit; border-color: currentColor; box-shadow: inset 0 0 0 2px transparent, inset 0 0 0 3px currentColor; }
.bouton.secondaire:hover { background: var(--noir); color: var(--creme); border-color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir), inset 0 0 0 3px var(--creme); }
.bouton[disabled] { opacity: .55; cursor: progress; }
.puce {
  cursor: pointer; border: 2px solid var(--noir); background: var(--creme); color: var(--noir);
  font-size: 13px; font-weight: 700; padding: 4px 10px; text-transform: uppercase; letter-spacing: .03em;
}
.puce[aria-pressed="true"] { background: var(--noir); color: var(--jaune); }
.puce small { font-family: var(--f-mono); font-weight: 400; margin-left: 4px; }

/* ---------- fouille des archives ---------- */
.fouille-barre { display: flex; gap: 0; border: 3px solid var(--noir); background: var(--creme); box-shadow: inset 0 0 0 3px var(--creme), inset 0 0 0 5px var(--noir); }
.fouille-barre input {
  flex: 1; min-width: 0; border: 0; padding: 14px 16px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; background: transparent;
}
/* l'anneau est porté par le conteneur ; le contour transparent le rend au contraste forcé */
.fouille-barre input:focus { outline: 2px solid transparent; outline-offset: -2px; }
.fouille-barre:focus-within { box-shadow: 0 0 0 4px var(--rouge); }
.fouille-barre button { border: 0; border-left: 4px solid var(--noir); border-radius: 0; }
.fouille-options { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 14px 0 6px; align-items: center; }
.fouille-options fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fouille-options legend { float: left; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; margin-right: 6px; }
.fouille-options select { border: 2px solid var(--noir); background: var(--blanc); padding: 4px 8px; font-weight: 700; font-size: 14px; }
.fouille-aide { font-size: 14px; color: var(--gris); margin: 6px 0 0; }
.fouille-aide code { font-family: var(--f-mono); background: var(--blanc); padding: 0 4px; border: 1px solid var(--gris-clair); }
.fouille-etat {
  font-family: var(--f-affiche); text-transform: uppercase; font-size: clamp(22px, 3.4vw, 34px); margin: 22px 0 10px;
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
}
.fouille-etat small { font-family: var(--f-mono); font-size: 13px; text-transform: none; }
.histogramme { display: flex; align-items: stretch; gap: 3px; height: 70px; margin: 8px 0 18px; border-bottom: 3px solid var(--noir); }
/* toute la colonne est cliquable ; la barre n'est que la partie colorée */
.histogramme button {
  flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: flex-end;
}
.histogramme .barre { display: block; width: 100%; background: var(--noir); min-height: 3px; }
.histogramme button:hover .barre, .histogramme button[aria-pressed="true"] .barre { background: var(--rouge); }
.histogramme button:focus-visible { outline: 4px solid var(--rouge); outline-offset: -4px; }
.histo-annees { display: flex; gap: 3px; font-family: var(--f-mono); font-size: 10px; margin-top: -14px; }
.histo-annees span { flex: 1; text-align: center; min-width: 0; overflow: hidden; }
.resultats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tweet { background: var(--creme); border: 3px solid var(--noir); padding: 12px 14px; min-width: 0; }
.tweet.est-rt { border-style: dashed; background: #fbfaf7; }
.tweet.est-une {
  border-color: var(--rouge);
  box-shadow: inset 0 0 0 3px var(--creme), inset 0 0 0 5px var(--rouge);
}
.tweet-meta { font-family: var(--f-mono); font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; color: var(--gris); }
.tweet-meta .type { background: var(--noir); color: var(--blanc); padding: 0 6px; text-transform: uppercase; }
.tweet.est-rt .type { background: var(--gris); }
.tweet-meta .alerte { background: var(--rouge-fonce); color: var(--blanc); padding: 0 6px; text-transform: uppercase; }
.tweet-texte { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; font-size: 16px; }
.tweet-cite { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; font-size: 14px; color: var(--gris); border-left: 4px solid var(--gris-clair); padding-left: 10px; }
.tweet-cite b { color: var(--noir); }
.tweet mark { background: var(--jaune); color: var(--noir); padding: 0 1px; box-shadow: 0 2px 0 var(--noir); }
.tweet-actions { margin-top: 8px; font-family: var(--f-mono); font-size: 12px; display: flex; gap: 14px; flex-wrap: wrap; }
.plus { margin: 20px 0 0; display: flex; justify-content: center; }
.chargement { font-family: var(--f-mono); padding: 18px; border: 3px dashed var(--noir); background: var(--blanc); }

/* ---------- texte long (démarche) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--f-affiche); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 5vw, 50px); margin: 48px 0 14px; }
.prose h3 { font-size: 22px; margin: 26px 0 8px; font-weight: 800; }
.prose p, .prose li { font-size: 18px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 18px 0; padding: 14px 18px; background: var(--blanc); border-left: 8px solid var(--rouge); font-weight: 600; }
.prose .note { font-size: 14px; color: var(--gris); }
.criteres { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 20px 0; }
.critere { background: var(--blanc); border: 3px solid var(--noir); padding: 14px; }
.critere b { display: block; font-family: var(--f-affiche); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: 6px; }
.critere.fort { background: var(--rouge); color: var(--blanc); }

/* ---------- formulaire ---------- */
.formulaire { display: grid; gap: 16px; max-width: 760px; }
.champ label { display: block; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; margin-bottom: 6px; }
.champ label small { text-transform: none; font-weight: 500; letter-spacing: 0; }
.champ input, .champ textarea, .champ select {
  width: 100%; border: 4px solid var(--noir); background: var(--blanc); color: var(--noir); padding: 12px 14px; font-size: 18px; border-radius: 0;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus {
  outline: 2px solid transparent; outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--jaune);
}
.section-noire .champ input:focus, .section-noire .champ textarea:focus { box-shadow: 0 0 0 4px var(--rouge); }
.pot-de-miel { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consentement input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--rouge); flex: none; }
.form-etat { font-weight: 800; min-height: 1.5em; }
.form-etat.ok { color: var(--jaune); }
.form-etat.erreur { color: var(--rose); }
.section-blanche .form-etat.ok, .section-jaune .form-etat.ok { color: #0a7a2f; }
.section-blanche .form-etat.erreur, .section-jaune .form-etat.erreur { color: var(--rouge); }
.mention { font-size: 13px; opacity: .85; max-width: 70ch; }

/* ---------- pied ---------- */
.pied-page { background: var(--noir); color: #d8d8d8; padding: 40px 0 56px; font-size: 14px; border-top: 6px solid var(--rouge); }
.pied-page a { color: var(--blanc); }
.pied-grille { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pied-page .k { font-size: 20px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .marque img { width: 46px; }
  .marque span { font-size: 15px; }
  .nav a { font-size: 12px; }
  .fouille-barre { flex-direction: column; }
  .fouille-barre button { border-left: 0; border-top: 4px solid var(--noir); justify-content: center; }
  .carte .nom { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.carte { transition: none; } }
@media print { .bandeau, .fouille, .pied-page, .sommaire { display: none; } body { background: #fff; } }

/* tailles du mur de mots-clics (classes : la CSP interdit les styles en ligne) */
.mot-clic.taille-1 { font-size: 20px; }
.mot-clic.taille-2 { font-size: 26px; }
.mot-clic.taille-3 { font-size: 34px; }
.mot-clic.taille-4 { font-size: 44px; }
.mot-clic.taille-5 { font-size: 56px; }
@media (max-width: 640px) {
  .mot-clic.taille-4 { font-size: 36px; }
  .mot-clic.taille-5 { font-size: 42px; }
}

/* ancres : ne pas passer sous la barre collante */
[id] { scroll-margin-top: 76px; }
@media (max-width: 640px) {
  .bandeau { position: static; }
  [id] { scroll-margin-top: 8px; }
  .affiche-gg { padding-top: 70px; }
  .tweet-texte { font-size: 15px; }
}

/* contrastes des états et du survol sur fonds colorés */
.section-jaune .champ input:focus, .section-jaune .champ textarea:focus, .section-jaune .champ select:focus { box-shadow: 0 0 0 4px var(--noir); }
.section-jaune .form-etat.ok { color: #0a5c24; }
.section-jaune .form-etat.erreur { color: #a3150d; }
.section-jaune a:hover, .affiche-gg a:hover { color: var(--noir); text-decoration-thickness: 3px; }
.section a:hover, .prose a:hover { color: var(--rouge-fonce); }
.section-noire a:hover, .fiche-tete a:hover { color: var(--jaune); }
.affiche-gg h2.question { font-family: var(--f-affiche); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 5.4vw, 60px); line-height: 1; margin: 0; }
@media (max-width: 640px) {
  .mur { gap: 10px; }
  .mot-clic.taille-5 { font-size: 30px; }
  .mot-clic.taille-4 { font-size: 27px; }
  .mot-clic.taille-3 { font-size: 24px; }
}

/* hauteurs des barres de l'histogramme, par pas de 5 % */
.histogramme .barre.h0 { height: 0%; }
.histogramme .barre.h5 { height: 5%; }
.histogramme .barre.h10 { height: 10%; }
.histogramme .barre.h15 { height: 15%; }
.histogramme .barre.h20 { height: 20%; }
.histogramme .barre.h25 { height: 25%; }
.histogramme .barre.h30 { height: 30%; }
.histogramme .barre.h35 { height: 35%; }
.histogramme .barre.h40 { height: 40%; }
.histogramme .barre.h45 { height: 45%; }
.histogramme .barre.h50 { height: 50%; }
.histogramme .barre.h55 { height: 55%; }
.histogramme .barre.h60 { height: 60%; }
.histogramme .barre.h65 { height: 65%; }
.histogramme .barre.h70 { height: 70%; }
.histogramme .barre.h75 { height: 75%; }
.histogramme .barre.h80 { height: 80%; }
.histogramme .barre.h85 { height: 85%; }
.histogramme .barre.h90 { height: 90%; }
.histogramme .barre.h95 { height: 95%; }
.histogramme .barre.h100 { height: 100%; }
/* année sans tweet archivé : pas de barre trompeuse, pas de cible cliquable */
.histogramme .barre.h0 { min-height: 0; background: transparent; }
.histogramme button[disabled] { cursor: default; }
