/* Cas d'usage IA — brutalisme éditorial : encre, papier, filets épais, un seul rose surligneur. */

@font-face {
  font-family: 'Libre Bodoni';
  src: url('/polices/libre-bodoni.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Bodoni';
  src: url('/polices/libre-bodoni-italique.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('/polices/public-sans.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --encre: #09090b;
  --papier: #fafafa;
  --carte: #ffffff;
  --gris: #3f3f46;
  --doux: #e4e4e7;
  --rose: #ec4899;
  --sur-rose: #000000;
  --erreur: #b91c1c;
  --filet: 2px solid var(--encre);
  --ombre: 5px 5px 0 var(--encre);
  --serif: 'Libre Bodoni', 'Bodoni 72', Didot, Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --marge: clamp(16px, 4vw, 48px);
  --e1: 4px; --e2: 8px; --e3: 12px; --e4: 16px; --e5: 24px; --e6: 32px; --e7: 48px; --e8: 64px; --e9: 96px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='clair']) {
    --encre: #fafafa; --papier: #09090b; --carte: #18181b; --gris: #a1a1aa; --doux: #27272a; --erreur: #fca5a5;
  }
}
:root[data-theme='sombre'] {
  --encre: #fafafa; --papier: #09090b; --carte: #18181b; --gris: #a1a1aa; --doux: #27272a; --erreur: #fca5a5;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--e5); }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--rose); }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; box-shadow: 0 0 0 6px var(--rose); }
::selection { background: var(--rose); color: var(--sur-rose); }
mark {
  /* La bande s'arrête avant la ligne du dessus : l'interligne des titres est très serré. */
  background: linear-gradient(transparent 16%, var(--rose) 16% 94%, transparent 94%);
  color: var(--sur-rose); font-style: italic; padding: 0 0.1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
[hidden] { display: none !important; }

.sr, .piege {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: var(--e4); top: -80px; z-index: 10;
  background: var(--rose); color: var(--sur-rose); font-weight: 700; padding: var(--e3) var(--e4); border: var(--filet);
}
.evitement:focus { top: var(--e4); }
.ico { flex: none; }
.surtitre {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--e2);
  min-height: 48px; padding: 0 var(--e5);
  background: var(--rose); color: var(--sur-rose);
  border: var(--filet); box-shadow: var(--ombre);
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  transition: transform 100ms ease-out, box-shadow 100ms ease-out;
}
.bouton:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--encre); }
.bouton:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--encre); }
.bouton.clair { background: var(--papier); color: var(--encre); }
.bouton.petit { min-height: 44px; padding: 0 var(--e4); font-size: 0.8rem; }
.bouton[disabled] { opacity: 0.6; cursor: progress; }
.lien { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; font-weight: 700; }

/* ---------- Manchette ---------- */
.manchette { border-top: 10px solid var(--encre); }
.manchette-ligne {
  display: flex; justify-content: space-between; gap: var(--e4);
  padding: var(--e2) var(--marge);
  border-bottom: var(--filet);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.manchette-titre {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--e5);
  padding: var(--e5) var(--marge) var(--e4);
}
.titre-journal {
  font-family: var(--serif); font-weight: 700; text-decoration: none;
  font-size: clamp(2.9rem, 10.5vw, 9rem); line-height: 0.86; letter-spacing: -0.035em;
}
.ia { background: var(--rose); color: var(--sur-rose); font-style: italic; padding: 0 0.1em 0 0.06em; margin-left: 0.04em; }
.devise { font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 1.6vw, 1.35rem); max-width: 16ch; text-align: right; line-height: 1.2; padding-bottom: 0.4em; }
.accueil .manchette-titre { padding-block: var(--e6) var(--e5); }
body:not(.accueil) .titre-journal { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
body:not(.accueil) .devise { display: none; }

.rubriques {
  display: flex; flex-wrap: wrap;
  border-block: var(--filet);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.rubriques a, .bouton-theme {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 var(--e4);
  border-right: var(--filet); text-decoration: none; white-space: nowrap; background: none;
}
.rubriques > a:first-child { padding-left: var(--marge); }
.rubriques a:hover, .bouton-theme:hover { background: var(--rose); color: var(--sur-rose); }
.rubriques a[aria-current='page'] { background: var(--encre); color: var(--papier); }
.rubriques-fin { display: flex; margin-left: auto; }
.rubriques-fin a:first-child { border-left: var(--filet); }
.bouton-theme { border: 0; border-right: 0; min-width: 52px; justify-content: center; }

/* ---------- La une ---------- */
.une {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--e7);
  padding: var(--e8) var(--marge) var(--e7);
  align-items: start;
}
.une-texte { position: relative; }
.une h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.7rem, 7.4vw, 6.6rem); line-height: 0.94; letter-spacing: -0.03em;
  margin: var(--e4) 0 var(--e5); text-wrap: balance;
}
.chapo { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; max-width: 46ch; }
.une-liens { display: flex; flex-wrap: wrap; gap: var(--e4); margin-top: var(--e6); }
.tampon {
  position: absolute; right: 2%; bottom: -8px;
  display: grid; place-items: center; width: 128px; height: 128px;
  border: 3px solid var(--encre); border-radius: 50%; outline: 2px solid var(--encre); outline-offset: 4px;
  transform: rotate(-13deg);
  font-size: 0.86rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; line-height: 1.25;
}

/* ---------- Coupon d'abonnement ---------- */
.coupon {
  position: relative; background: var(--carte);
  border: 2px dashed var(--encre); padding: var(--e6) var(--e5) var(--e5);
}
.coupon-ciseaux { position: absolute; top: -13px; left: var(--e5); background: var(--papier); padding: 0 var(--e2); line-height: 0; }
.coupon h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1; letter-spacing: -0.02em; margin: var(--e2) 0 var(--e3); }
.coupon form { margin-top: var(--e4); }
.coupon label, .formulaire label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: var(--e2); }
.champ-ligne { display: flex; flex-wrap: wrap; gap: var(--e3); }
.champ-ligne input { flex: 1 1 200px; }
input[type='email'], input[type='text'], input[type='url'], input[type='search'], textarea, select {
  width: 100%; min-height: 48px; padding: 0 var(--e4);
  background: var(--papier); border: var(--filet);
}
textarea { padding: var(--e3) var(--e4); resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--gris); opacity: 1; }
.aide { font-size: 0.82rem; color: var(--gris); margin-top: var(--e3); }
.retour { font-weight: 700; margin-top: var(--e3); }
.retour:empty { display: none; }
.retour { border-left: 6px solid var(--rose); padding-left: var(--e3); }
.retour[data-etat='erreur'] { border-color: var(--erreur); color: var(--erreur); }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-block: var(--filet); }
.chiffres p { padding: var(--e5) var(--marge); border-right: var(--filet); display: flex; align-items: baseline; gap: var(--e3); flex-wrap: wrap; }
.chiffres p:last-child { border-right: 0; background: var(--rose); color: var(--sur-rose); }
.chiffres strong { font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 0.9; }
.chiffres span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Annuaire ---------- */
.annuaire { padding: var(--e8) var(--marge) var(--e7); }
.annuaire-tete {
  display: flex; align-items: end; justify-content: space-between; gap: var(--e4); flex-wrap: wrap;
  padding-bottom: var(--e5);
}
.annuaire-tete h2, .bas-de-une h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 0.95; letter-spacing: -0.03em; }
.decompte { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.annuaire-tete::before {
  content: ''; flex: 0 0 100%; height: 14px; margin-bottom: var(--e5);
  background: repeating-linear-gradient(-45deg, var(--encre) 0 2px, transparent 2px 9px);
}

.filtres { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--e3) var(--e4); margin-bottom: var(--e5); }
.recherche { position: relative; }
.recherche .ico { position: absolute; left: var(--e4); top: 50%; transform: translateY(-50%); pointer-events: none; }
.recherche input { min-height: 56px; padding-left: 52px; font-size: 1.05rem; background: var(--carte); }
.filtres-ligne { display: flex; gap: var(--e3); }
.filtres select {
  min-height: 56px; width: auto; max-width: 240px; padding-right: 44px; font-weight: 700; background-color: var(--carte);
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%; background-size: 7px 7px; background-repeat: no-repeat;
}
.puces { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--e2); }
.puce {
  display: inline-flex; align-items: center; gap: var(--e2); min-height: 44px; padding: 0 var(--e3);
  background: var(--papier); border: var(--filet);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.puce span { font-family: var(--mono); font-weight: 400; }
.puce:hover { background: var(--rose); color: var(--sur-rose); }
.puce.actif, .puce[aria-pressed='true'] { background: var(--encre); color: var(--papier); }
.filtres-ligne .puce { min-height: 56px; }
html:not(.js) [data-outil], html:not(.js) [data-gardes], html:not(.js) .recherche { display: none; }
html:not(.js) .filtres { grid-template-columns: minmax(0, 1fr); }

.annonces {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  border-top: var(--filet); border-left: var(--filet);
}
.annonce { position: relative; background: var(--carte); border-right: var(--filet); border-bottom: var(--filet); }
.annonce article { display: flex; flex-direction: column; height: 100%; padding: var(--e5) var(--e5) var(--e4); }
.annonce-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--e3); margin-bottom: var(--e4); }
.numero { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 2.5rem; line-height: 0.85; letter-spacing: -0.03em; white-space: nowrap; }
.numero span[aria-hidden] { font-size: 0.45em; font-style: normal; letter-spacing: 0; margin-right: 0.15em; vertical-align: 0.75em; }
.etiquette {
  position: relative; z-index: 1; max-width: 62%;
  background: var(--encre); color: var(--papier);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; text-align: right; line-height: 1.3;
  padding: 5px var(--e2);
}
.etiquette::after { content: ''; position: absolute; inset: -9px -6px; }
.etiquette:hover { background: var(--rose); color: var(--sur-rose); }
.annonce h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.015em; margin-bottom: var(--e3); text-wrap: balance; }
.annonce h3 a { text-decoration: none; }
.annonce h3 a::after { content: ''; position: absolute; inset: 0; }
.annonce:has(h3 a:hover) { box-shadow: inset 0 0 0 5px var(--rose); }
.annonce-resume { font-size: 0.95rem; margin-bottom: var(--e4); }
.annonce-meta { display: flex; flex-wrap: wrap; gap: var(--e1) var(--e4); margin-top: auto; font-size: 0.8rem; color: var(--gris); padding-right: 52px; }
.annonce-meta a { position: relative; z-index: 1; font-weight: 700; color: var(--encre); }
.niveau { display: inline-flex; align-items: center; gap: 6px; }
.niveau-cases { display: inline-flex; gap: 2px; }
.niveau-cases i { width: 9px; height: 9px; border: 1.5px solid currentColor; }
.niveau-cases i.plein { background: currentColor; }

.annonce-prompt { position: relative; z-index: 1; margin-top: var(--e3); border-top: 2px dotted var(--encre); margin-right: 52px; }
.annonce-prompt[open] { margin-right: 0; }
.annonce-prompt summary {
  display: flex; align-items: center; gap: var(--e2); min-height: 44px; cursor: pointer; list-style: none;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.annonce-prompt summary::-webkit-details-marker { display: none; }
.annonce-prompt summary::before { content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border: var(--filet); font-family: var(--mono); font-size: 1rem; line-height: 1; }
.annonce-prompt[open] summary::before { content: '−'; background: var(--rose); color: var(--sur-rose); }
.prompt { font-family: var(--mono); font-size: 0.88rem; line-height: 1.55; background: var(--encre); color: var(--papier); padding: var(--e4); white-space: pre-wrap; overflow-wrap: anywhere; }
.annonce-prompt .bouton { margin: var(--e3) 0 var(--e2); }
.garder {
  position: absolute; z-index: 1; right: var(--e4); bottom: var(--e4);
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--papier); border: var(--filet);
}
.garder:hover { background: var(--rose); color: var(--sur-rose); }
[data-garder][aria-pressed='true'] { background: var(--rose); color: var(--sur-rose); }
[data-garder][aria-pressed='true'] .ico { fill: currentColor; }

.encart { background: var(--rose); color: var(--sur-rose); }
.encart article { justify-content: center; gap: var(--e3); align-items: flex-start; }
.encart .bouton { background: #000; color: #fff; border-color: #000; box-shadow: 5px 5px 0 #fff; margin-top: var(--e3); }
.encart .bouton:hover { box-shadow: 3px 3px 0 #fff; }
.vide { border: var(--filet); border-top: 0; padding: var(--e6) var(--e5); font-size: 1.1rem; }

/* ---------- Bas de page d'accueil ---------- */
.bas-de-une {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--e7); align-items: center;
  padding: var(--e8) var(--marge); border-top: var(--filet);
}
.bas-de-une h2 { margin: var(--e3) 0 var(--e4); max-width: 18ch; }
.bas-de-une > div > p:not(.surtitre) { max-width: 48ch; margin-bottom: var(--e5); }
.bas-de-une.seul { grid-template-columns: minmax(0, 560px); }

/* ---------- Têtes de rubrique et pages de texte ---------- */
.tete-rubrique, .page-texte { padding: var(--e7) var(--marge) 0; }
.fil { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--e4); }
.tete-rubrique h1, .page-texte h1, .fiche h1 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance;
  font-size: clamp(2.4rem, 6vw, 5.2rem); margin-bottom: var(--e5);
}
.tete-rubrique .decompte { margin-top: var(--e5); }
.tete-rubrique + .annuaire { padding-top: var(--e6); }
.page-texte { max-width: calc(820px + 2 * var(--marge)); padding-bottom: var(--e8); }
.page-texte h1 { margin-top: var(--e3); }
.page-texte h2 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.02em; margin: var(--e7) 0 var(--e4); padding-top: var(--e4); border-top: var(--filet); }
.page-texte > p { margin-bottom: var(--e4); max-width: 62ch; }
.page-texte .chapo { max-width: 52ch; }
.regles li { position: relative; padding-left: var(--e6); margin-bottom: var(--e3); max-width: 62ch; }
.regles li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px; background: var(--rose); border: var(--filet); }
.offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: var(--filet); border-left: var(--filet); margin-top: var(--e6); }
.offre { padding: var(--e5); border-right: var(--filet); border-bottom: var(--filet); background: var(--carte); }
.page-texte .offre h2 { margin: var(--e2) 0 var(--e3); padding: 0; border: 0; font-size: 1.7rem; }
.formulaire { display: grid; gap: var(--e2); max-width: 620px; }
.formulaire label { margin-top: var(--e4); margin-bottom: 0; }
.formulaire .bouton { justify-self: start; margin-top: var(--e5); }
.facultatif { font-weight: 400; color: var(--gris); font-size: 0.8rem; margin-left: var(--e2); }

/* ---------- Fiche ---------- */
.fiche {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--e7);
  padding: var(--e7) var(--marge) var(--e8); align-items: start;
}
.fiche-numero { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(4.5rem, 11vw, 9rem); line-height: 0.8; letter-spacing: -0.04em; margin-bottom: var(--e4); }
.fiche-numero span[aria-hidden] { font-size: 0.32em; font-style: normal; letter-spacing: 0; vertical-align: 1.5em; margin-right: 0.1em; }
.fiche h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.fiche .chapo { max-width: 60ch; }
.bloc-prompt { background: var(--encre); color: var(--papier); padding: var(--e5); margin-top: var(--e7); box-shadow: 10px 10px 0 var(--rose); }
.bloc-prompt-tete { display: flex; align-items: center; justify-content: space-between; gap: var(--e4); flex-wrap: wrap; margin-bottom: var(--e4); }
.bloc-prompt h2, .source h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.bloc-prompt .prompt { padding: 0; font-size: 1.05rem; line-height: 1.6; }
.bloc-prompt .bouton { box-shadow: 5px 5px 0 var(--papier); border-color: var(--papier); }
.bloc-prompt .bouton:hover { box-shadow: 3px 3px 0 var(--papier); }
.bloc-prompt-note { font-family: var(--sans); font-size: 0.85rem; margin-top: var(--e5); padding-top: var(--e3); border-top: 2px dotted var(--papier); }
.attention { margin-top: var(--e7); padding: var(--e5); border: var(--filet); border-left: 16px solid var(--rose); background: var(--carte); }
.attention p + p { margin-top: var(--e2); max-width: 62ch; }
.source { margin-top: var(--e6); padding: var(--e5); border: var(--filet); background: var(--carte); }
.source-lien { display: inline-flex; align-items: center; gap: var(--e2); font-family: var(--serif); font-weight: 700; font-size: 1.8rem; line-height: 1.15; margin: var(--e3) 0; overflow-wrap: anywhere; }
.source-meta { font-size: 0.88rem; color: var(--gris); }
.fiche-marge { display: grid; gap: var(--e6); position: sticky; top: var(--e5); }
.fiche-technique { border-top: var(--filet); }
.fiche-technique div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e4); padding: var(--e3) 0; border-bottom: var(--filet); }
.fiche-technique dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.fiche-technique dd { font-weight: 700; text-align: right; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: var(--e4); }
.voisins { border-top: var(--filet); }
.voisins .annuaire-tete::before { display: none; }

/* ---------- Pied ---------- */
.pied { background: var(--encre); color: var(--papier); padding: var(--e8) var(--marge) var(--e5); margin-top: var(--e7); }
.pied :focus-visible { outline-color: var(--papier); }
.pied-grille { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--e7) var(--e6); }
.pied-titre { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.9; letter-spacing: -0.03em; margin-bottom: var(--e4); }
.pied-grille > div p:last-child { max-width: 38ch; font-size: 0.95rem; }
.pied-rubrique { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: var(--e2); margin-bottom: var(--e2); border-bottom: 2px solid var(--papier); }
.pied li a { display: inline-flex; align-items: center; gap: var(--e2); min-height: 36px; text-decoration: none; font-size: 0.92rem; }
.pied li a:hover { text-decoration: underline; text-decoration-color: var(--rose); }
.compte { font-family: var(--mono); font-size: 0.8rem; opacity: 0.75; }
.pied-bas { margin-top: var(--e7); padding-top: var(--e4); border-top: 2px solid var(--papier); font-size: 0.82rem; }

/* ---------- Écrans étroits ---------- */
@media (max-width: 960px) {
  .une, .bas-de-une, .fiche { grid-template-columns: minmax(0, 1fr); gap: var(--e6); }
  .une { padding-top: var(--e6); }
  .tampon { width: 104px; height: 104px; font-size: 0.72rem; right: 0; bottom: auto; top: -18px; }
  .une h1 { padding-right: 0; }
  .fiche-marge { position: static; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .chiffres p:nth-child(2) { border-right: 0; }
  .chiffres p:nth-child(-n + 2) { border-bottom: var(--filet); }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-grille > div { grid-column: 1 / -1; }
  .rubriques { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rubriques::-webkit-scrollbar { display: none; }
  .rubriques-fin { margin-left: 0; }
  .rubriques-fin a:first-child { border-left: 0; }
}
@media (max-width: 640px) {
  .manchette-ligne span:not(.manchette-date) { display: none; }
  .puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); scrollbar-width: none; }
  .puces::-webkit-scrollbar { display: none; }
  .annonce-resume { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .filtres-ligne .puce { flex: none; }
  .manchette-titre { grid-template-columns: 1fr; gap: var(--e2); }
  .devise { text-align: left; max-width: none; padding: 0; }
  .tampon { display: none; }
  .filtres { grid-template-columns: minmax(0, 1fr); }
  .filtres select { flex: 1 1 0; min-width: 0; max-width: none; }
  .une-liens .bouton, .champ-ligne .bouton { flex: 1 1 100%; }
  .bloc-prompt { box-shadow: 6px 6px 0 var(--rose); padding: var(--e4); }
  .pied-grille { grid-template-columns: 1fr; }
  .source-lien { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton { transition: none; }
}
