/* Polices auto-hébergées (sous-ensemble latin) : la CSP n'autorise que 'self'. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("polices/geist.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("polices/geist-mono.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("polices/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("polices/newsreader-italique.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --fond: #0B0C0E;
  --fond-profond: #0F1013;
  --surface: #131519;
  --surface-survol: #121418;
  --surface-active: #1A1D22;
  --ligne: #23262C;
  --bordure: #262A31;
  --bordure-champ: #2E323A;
  --bordure-forte: #30343C;
  --contour-rang: #4A4F58;
  --texte: #EDEBE4;
  --texte-clair: #CFCEC6;
  --texte-doux: #B9B8B0;
  --texte-discret: #A3A39B;
  --texte-faible: #7C7D78;
  --barre: #2A2E35;
  --accent: #FF6B35;
  --sur-accent: #0B0C0E;
  --ok: #5FD39A;
  --danger: #FF8A73;
  --alerte-fond: #2A1512;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gouttiere: 32px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--texte); }
a:hover { color: #FFFFFF; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--texte);
  outline-offset: 3px;
}

[hidden] { display: none !important; }
.hors-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gouttiere);
  padding-right: var(--gouttiere);
}

.etiquette {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-discret);
}
.surtitre {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-discret);
}
.point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--texte-faible);
  flex: none;
}
.point--accent { background: var(--accent); }
.remplissage-accent { fill: var(--accent); }

/* ── Bandeau d'édition et en-tête ── */
.bandeau-haut {
  border-bottom: 1px solid var(--ligne);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-discret);
}
.bandeau-haut__ligne {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}
.bandeau-haut__edition { display: flex; gap: 10px; align-items: center; }

.entete { border-bottom: 1px solid var(--ligne); }
.entete__ligne {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.marque {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--texte);
}
.marque__nom {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.onglets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 15px;
}
.onglets button {
  font: inherit;
  border: 0;
  background: transparent;
  color: var(--texte-discret);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.onglets button:hover { color: var(--texte); }
.onglets button[aria-selected="true"] { background: var(--surface-active); color: var(--texte); }
.etat-cle {
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ligne);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--texte-discret);
}
.etat-cle .point { width: 6px; height: 6px; background: var(--danger); }
.etat-cle.ok .point { background: var(--ok); }

.bandeau {
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  background: var(--alerte-fond);
  color: var(--danger);
}

/* ── Héros ── */
.hero {
  border-bottom: 1px solid var(--ligne);
  background-color: var(--fond);
  background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero__ligne {
  padding-top: 72px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-end;
}
.hero__texte { flex: 999 1 560px; min-width: 0; }
.hero__titre {
  margin: 0;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.hero__titre em { font-style: italic; color: var(--accent); }
.hero__chapo {
  margin: 28px 0 0;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--texte-doux);
}

/* ── Carte de lancement ── */
.lancement {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lancement__entete { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lancement__entete .etiquette { letter-spacing: 0.1em; }
.lancement__plage { font-family: var(--mono); font-size: 12px; color: var(--texte-faible); }
.lancement .aide { margin: -8px 0 0; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--bordure-champ);
  background: transparent;
  color: var(--texte);
}
.preset:hover { border-color: var(--texte-faible); }
.preset[aria-pressed="true"] { border-color: var(--texte); background: var(--texte); color: var(--fond); }
.periode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.periode input {
  height: 48px;
  padding: 0 12px;
  background: var(--fond);
  border-color: var(--bordure-champ);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 14px;
}
.cta {
  height: 56px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--sur-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cta:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); color: var(--sur-accent); }
.cta:disabled { opacity: 0.4; cursor: not-allowed; }
.cta--clair {
  display: inline-flex;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--texte);
  font-size: 15px;
  gap: 8px;
}
.prompt-actif {
  border-top: 1px solid var(--bordure);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prompt-actif__entete { display: flex; justify-content: space-between; align-items: center; }
.prompt-actif__entete .etiquette { letter-spacing: 0.1em; }
.prompt-actif__entete a { font-size: 13px; }
.prompt-actif__texte {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--texte-doux);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ── Statistiques ── */
.stats { border-bottom: 1px solid var(--ligne); }
.stats__ligne {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-end;
}
.stat { flex: 1 1 140px; display: flex; flex-direction: column; gap: 4px; }
.stat__valeur { font-family: var(--serif); font-size: 56px; line-height: 1; font-weight: 350; }
.stat__unite { font-size: 24px; color: var(--texte-faible); }
.histo { flex: 3 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.histo__barres {
  height: 96px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  border-bottom: 1px solid #3A3E46;
}
.histo__barres div { flex: 1 1 0; min-width: 0; border-radius: 3px 3px 0 0; background: var(--barre); }
.histo__barres div.retenu { background: var(--accent); }
.histo__legende {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--texte-discret);
}
.histo__milieu { display: flex; align-items: center; gap: 8px; text-align: center; }
.carre { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); flex: none; }

/* ── Contenu ── */
.contenu {
  padding-top: 64px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.resultats { display: flex; flex-direction: column; gap: 64px; }
.barre-resultats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -32px;
}
.barre-resultats .aide { margin: 0; font-family: var(--mono); font-size: 13px; }

.aide { color: var(--texte-discret); font-size: 14px; margin: 0 0 12px; }
.alerte {
  margin: 0;
  background: var(--alerte-fond);
  color: var(--danger);
  border: 1px solid #4A2620;
  border-radius: 14px;
  padding: 14px 18px;
}
.pastille {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--texte-discret);
  margin-left: 6px;
}

.bloc { display: flex; flex-direction: column; gap: 24px; }
.bloc--suite { gap: 0; }
.bloc__entete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--texte);
  padding-bottom: 12px;
}
.bloc__entete h2 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; font-style: italic; }
.bloc__compteur { font-family: var(--mono); font-size: 13px; color: var(--texte-discret); white-space: nowrap; }

.meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--texte-discret);
}
.meta--petit { gap: 6px 14px; font-size: 12px; }
.meta span:empty { display: none; }
.meta__source { color: var(--texte); }

/* Titres : le lien couvre le titre, sans soulignement. */
.une__titre a, .carte-article__titre a, .ligne__titre a { color: inherit; text-decoration: none; }
.une__titre a:hover, .carte-article__titre a:hover, .ligne__titre a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

/* ── À la une ── */
.une { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.une__corps {
  flex: 999 1 600px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.une__rang {
  position: absolute;
  right: 24px;
  top: -18px;
  font-family: var(--mono);
  font-size: 168px;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--bordure-forte);
  pointer-events: none;
}
.une .meta__source {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--texte);
  color: var(--fond);
  font-weight: 600;
}
.une__titre {
  position: relative;
  margin: 0;
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  font-weight: 450;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.une__chapo { position: relative; margin: 0; max-width: 680px; font-size: 18px; line-height: 1.6; color: var(--texte-doux); overflow-wrap: anywhere; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces span {
  padding: 6px 12px;
  border: 1px solid var(--bordure-forte);
  border-radius: 999px;
  font-size: 13px;
  color: var(--texte-clair);
}
.une__actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.bouton-fantome {
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--bordure-forte);
  color: var(--texte);
  font-family: inherit;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.bouton-fantome:hover { background: var(--surface-active); }

.analyse {
  flex: 1 1 320px;
  min-width: 0;
  border: 1px solid var(--bordure);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--fond-profond);
}
.analyse__score { display: flex; align-items: center; gap: 20px; }
.analyse__libelle { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--texte-clair); }
.anneau { position: relative; width: 120px; height: 120px; flex: none; }
.anneau circle { fill: none; stroke-width: 8; }
.anneau__fond { stroke: var(--ligne); }
.anneau__valeur { stroke: var(--accent); stroke-linecap: round; }
.anneau__nombre {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 450;
}
.analyse__pourquoi { display: flex; flex-direction: column; gap: 10px; }
.analyse__pourquoi h4 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; font-style: italic; }
.analyse__pourquoi p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--texte-doux); overflow-wrap: anywhere; }
.criteres {
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--ligne);
}
.critere { display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 6px 12px; align-items: center; font-size: 14px; color: var(--texte-clair); }
.critere__valeur { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--texte-discret); }
.critere .jauge { grid-column: 1 / -1; height: 4px; }

/* ── Articles 2 et 3 ── */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.carte-article {
  border: 1px solid var(--bordure);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--fond-profond);
  min-width: 0;
}
.carte-article__haut { display: flex; justify-content: space-between; align-items: center; }
.rang-contour {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--contour-rang);
}
.carte-article__score { font-family: var(--serif); font-size: 36px; font-weight: 450; color: var(--accent); }
.carte-article__titre {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 450;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.pourquoi { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texte-doux); overflow-wrap: anywhere; }
.pourquoi__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte);
}
.carte-article__bas { margin-top: auto; display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.jauge { flex: 1; height: 6px; border-radius: 3px; background: var(--ligne); }
.jauge--fine { height: 4px; border-radius: 2px; }
.jauge__valeur { height: 100%; border-radius: inherit; background: var(--accent); width: 0; }
.lire { font-size: 15px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ── Suite de la sélection ── */
.classement { list-style: none; margin: 0; padding: 0; }
.ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  padding: 28px 16px;
  border-bottom: 1px solid var(--ligne);
  transition: background 0.2s ease;
}
.ligne:hover { background: var(--surface-survol); }
.ligne__rang { flex: 0 0 56px; font-family: var(--mono); font-size: 22px; color: var(--texte-faible); }
.ligne__corps { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ligne__titre { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 450; overflow-wrap: anywhere; }
.ligne__raison { margin: 0; font-size: 14px; line-height: 1.55; color: var(--texte-discret); overflow-wrap: anywhere; }
.ligne__score { flex: 1 0 200px; display: flex; align-items: center; gap: 14px; }
.ligne__nombre { font-family: var(--serif); font-size: 28px; font-weight: 450; min-width: 40px; }
.lien-icone {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--bordure-forte);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lien-icone:hover { background: var(--surface-active); }

.vide { text-align: center; color: var(--texte-discret); padding: 32px 16px; }
.vide p { margin: 4px 0; }
.vide__titre { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--texte); }

/* ── Journal ── */
.journal {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 20px;
  padding: 20px 24px;
}
.journal summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-discret);
}
.journal__actions { margin-top: 16px; }
.journal__actions .aide { margin: 0; }
.journal__liste {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--texte-discret);
}
.journal__liste li { padding: 2px 0; overflow-wrap: anywhere; }
.journal__liste .ok { color: var(--ok); }
.journal__liste .ko { color: var(--danger); }

/* ── Champs et boutons ── */
.champ {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--texte-discret);
  min-width: 0;
}
input, select, textarea {
  font: inherit;
  font-size: 15px;
  color: var(--texte);
  background: var(--fond);
  border: 1px solid var(--bordure-champ);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--texte-faible); }
textarea { resize: vertical; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
#prompt { margin-bottom: 12px; }
[aria-invalid="true"] { border-color: var(--danger); }

.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bouton {
  font: inherit;
  font-size: 14px;
  min-height: 40px;
  border: 1px solid var(--bordure-forte);
  background: transparent;
  color: var(--texte);
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
}
.bouton:hover { background: var(--surface-active); }
.bouton:disabled { opacity: 0.5; cursor: not-allowed; }
.bouton--plein { height: 48px; border-radius: 14px; }
.bouton--danger { color: var(--danger); }
.bouton--petit { min-height: 34px; padding: 5px 12px; font-size: 13px; }
.bouton--icone { width: 40px; padding: 5px 0; flex: none; }

/* ── Réglages ── */
.reglages {
  max-width: 920px;
  padding-top: 64px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.reglages__entete { margin-bottom: 16px; }
.reglages__titre {
  margin: 0;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.carte {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 20px;
  padding: 24px;
  margin: 0;
  min-width: 0;
}
fieldset.carte legend {
  float: left;
  width: 100%;
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--bordure);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
}
fieldset.carte legend + * { clear: left; }
.liste { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.element {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--bordure);
  border-radius: 14px;
  background: var(--fond-profond);
}
.element > .bouton { align-self: flex-start; }
.element__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cle-saisie { display: flex; gap: 8px; }
.test-cle { margin: 0; }
.test-cle.ok { color: var(--ok); }
.test-cle.ko { color: var(--danger); }
.element--source {
  flex-direction: row;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  gap: 8px;
}
.element--source [data-champ="nom"] { flex: 0 0 32%; }
.element--source [data-champ="url"] { flex: 1 1 auto; font-family: var(--mono); font-size: 13px; }
.grille-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ── Pied de page ── */
.pied { border-top: 1px solid var(--ligne); }
.pied__ligne {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--texte-discret);
}

@media (prefers-reduced-motion: reduce) {
  .cta, .ligne { transition: none; }
  .cta:hover:not(:disabled) { transform: none; }
}

@media (max-width: 640px) {
  :root { --gouttiere: 16px; }
  .hero__ligne { padding-top: 48px; padding-bottom: 40px; gap: 32px; }
  .hero__chapo { font-size: 17px; }
  .lancement { padding: 20px; }
  .etat-cle { margin-left: 0; }
  .stat__valeur { font-size: 44px; }
  .contenu, .reglages { padding-top: 40px; padding-bottom: 64px; }
  .resultats { gap: 48px; }
  .barre-resultats { margin-bottom: -24px; }
  .une__corps, .analyse, .carte-article { padding: 24px; border-radius: 20px; }
  .une__rang { font-size: 112px; top: -10px; right: 12px; }
  .bloc__entete h2 { font-size: 26px; }
  .carte-article__titre { font-size: 26px; }
  .ligne { padding: 24px 0; gap: 10px 16px; }
  .ligne__rang { flex-basis: 100%; font-size: 16px; }
  .ligne__corps { flex-basis: 100%; }
  .ligne__titre { font-size: 21px; }
  .carte { padding: 20px; }
  .element__ligne, .grille-options { grid-template-columns: 1fr; }
  .element--source { flex-wrap: wrap; }
  .element--source [data-champ="nom"] { flex: 1 1 calc(100% - 48px); }
  .element--source [data-champ="url"] { flex: 1 1 100%; order: 3; }
}
