/* Outils Course (maxicards.net/course) : feuille de style unique.
   Identité « volt » (23/11/2026) : jaune-vert fluo sur sombre, comme PACE Coach.
   Polices : Barlow Condensed (titres, chiffres) + Inter (texte), chargées en display=swap avec repli ajusté.
   Mouvement : CSS d'abord ; tout est coupé par prefers-reduced-motion. La classe .js-rev (cachée avant apparition)
   n'est posée que par course.js : sans JavaScript, tout le contenu reste visible. */
@font-face { font-family: "Inter Repli"; src: local("Arial"), local("Helvetica"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Repli"; src: local("Arial Narrow"), local("Arial"); size-adjust: 84%; ascent-override: 100%; descent-override: 24%; line-gap-override: 0%; }
:root {
  --encre: #0b110d;
  --volt: #d4ff3a;
  --sur-volt: #0b110d;
  --fond: #f4f6ef;
  --surface: #ffffff;
  --surface-2: #eef1e6;
  --texte: #11180f;
  --texte-doux: #4a5a47;
  --bord: #d5dccb;
  --lien: #3b5604;
  --accent: #3b5604;
  --accent-fonce: #2b4003;
  --accent-doux: #eaf7b0;
  --sur-accent-doux: #2b4003;
  --bleu: #3b5604;
  --focus: #11180f;
  --ok: #157f3d;
  --ko: #b42318;
  --ombre: 0 1px 2px rgba(16, 24, 16, .06), 0 6px 20px rgba(16, 24, 16, .07);
  --rayon: 16px;
  --titre: "Barlow Condensed", "Barlow Repli", "Arial Narrow", Arial, sans-serif;
  --corps: Inter, "Inter Repli", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0a0f0c;
    --surface: #121a14;
    --surface-2: #1a251d;
    --texte: #eef3e8;
    --texte-doux: #a9b8a6;
    --bord: #2a3a2d;
    --lien: #d4ff3a;
    --accent: #d4ff3a;
    --accent-fonce: #e6ff85;
    --accent-doux: #202c0c;
    --sur-accent-doux: #d4ff3a;
    --bleu: #d4ff3a;
    --focus: #d4ff3a;
    --ok: #4ade80;
    --ko: #f87171;
    --ombre: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 20px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--lien); text-underline-offset: 2px; }
a:hover { color: var(--texte); text-decoration-color: var(--volt); text-decoration-thickness: 2px; }
img, svg { max-width: 100%; height: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { display: block; flex: none; stroke: currentColor; }
.conteneur { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 16px; }

/* En-tête : toujours sombre */
.entete { background: var(--encre); color: #f1f5ec; border-bottom: 2px solid var(--volt); position: sticky; top: 0; z-index: 10; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 12px; }
.marque { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #f1f5ec; text-decoration: none; }
.marque:hover { color: #fff; text-decoration: none; }
.logo { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.marque .nom { display: flex; flex-direction: column; line-height: 1; font-family: var(--titre); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.marque small { font-family: var(--corps); font-weight: 600; font-size: .7rem; color: var(--volt); letter-spacing: .3px; text-transform: none; margin-top: 3px; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid #3a4d3d; border-radius: 10px; font-weight: 700; font-size: .95rem; color: #f1f5ec; transition: background .15s, border-color .15s; }
.menu summary:hover { background: #17231a; border-color: var(--volt); }
.menu[open] summary { background: var(--volt); border-color: var(--volt); color: var(--sur-volt); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 16px; top: 60px; max-height: 75vh; overflow-y: auto; background: var(--surface); color: var(--texte); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: 0 12px 36px rgba(0, 0, 0, .3); padding: 8px; min-width: 260px; animation: deroule .18s ease-out; }
.menu nav a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--texte); text-decoration: none; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--accent-doux); color: var(--sur-accent-doux); }
.menu nav .rubrique { display: block; padding: 10px 12px 4px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--texte-doux); }
@keyframes deroule { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Logo : animation d'arrivée (anneau et courbe qui se tracent, point qui apparaît) */
.logo .lg-anneau, .logo .lg-courbe { stroke-dasharray: 1; animation: trace 1s cubic-bezier(.3, .6, .3, 1) both; }
.logo .lg-courbe { animation-delay: .35s; animation-duration: .7s; }
.logo .lg-point { transform-box: fill-box; transform-origin: center; animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) 1s both; }
.logo .lg-bouton { animation: fondu .4s ease-out both; }
.marque:hover .lg-point { animation: pulse .7s ease-in-out; }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pulse { 50% { transform: scale(1.5); } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }

/* Contenu */
main { padding: 20px 0 40px; }
.fil { font-size: .88rem; color: var(--texte-doux); margin: 0 0 10px; }
.fil a { color: var(--texte-doux); }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.05; margin: 4px 0 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .015em; }
h2 { font-size: 1.75rem; line-height: 1.15; margin: 36px 0 12px; padding-left: 12px; border-left: 5px solid var(--volt); }
h3 { font-size: 1.3rem; line-height: 1.2; margin: 20px 0 6px; }
.chapo { color: var(--texte-doux); margin: 0 0 18px; font-size: 1.04rem; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.titre-page { display: flex; align-items: center; gap: 14px; margin: 4px 0 10px; }
.titre-page h1 { margin: 0; font-size: clamp(1.5rem, 5.2vw, 2.2rem); }
.titre-page + .chapo { font-size: .96rem; margin-bottom: 14px; }
@media (max-width: 480px) { .ico-tuile.grand { width: 40px; height: 40px; border-radius: 11px; } .ico-tuile.grand .ico { width: 22px; height: 22px; } .titre-page { gap: 10px; } }
.ico-tuile { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-doux); color: var(--sur-accent-doux); transition: background .2s, color .2s, transform .25s; }
.ico-tuile.grand { width: 52px; height: 52px; background: var(--encre); color: var(--volt); }

/* Outil */
.outil { background: var(--surface); border: 1px solid var(--bord); border-top: 4px solid var(--volt); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px; margin: 0 0 24px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label, .etiquette { font-weight: 600; font-size: .93rem; }
.aide { font-size: .84rem; color: var(--texte-doux); margin: 0; }
input[type="number"], input[type="text"], select {
  width: 100%; font: inherit; font-size: 16px; color: var(--texte); background: var(--surface-2);
  border: 1px solid var(--bord); border-radius: 10px; padding: 10px 12px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input:hover, select:hover { border-color: var(--texte-doux); }
input:focus, select:focus { border-color: var(--texte); box-shadow: 0 0 0 3px var(--volt); outline: 2px solid transparent; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.entete a:focus-visible, .entete summary:focus-visible, .hero a:focus-visible, .pace-coach a:focus-visible { outline-color: var(--volt); }
.ligne-case { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .93rem; }
.ligne-case input { width: 20px; height: 20px; }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
button, .bouton {
  font: inherit; font-weight: 700; cursor: pointer; border-radius: 10px; padding: 10px 16px; min-height: 46px;
  border: 1px solid var(--bord); background: var(--surface-2); color: var(--texte);
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s;
}
.bouton { display: inline-flex; align-items: center; text-decoration: none; }
button.principal, .bouton.principal { background: var(--volt); border-color: var(--volt); color: var(--sur-volt); }
button.principal:hover, .bouton.principal:hover { background: #e4ff7a; border-color: #e4ff7a; color: var(--sur-volt); box-shadow: 0 6px 18px rgba(212, 255, 58, .35); transform: translateY(-1px); text-decoration: none; }
button:hover, .bouton:hover { border-color: var(--texte); }
button:active, .bouton:active { transform: scale(.97); }
button.mini { min-height: 38px; padding: 6px 14px; border-radius: 999px; font-size: .92rem; background: var(--surface); }
button.mini:hover { background: var(--volt); border-color: var(--volt); color: var(--sur-volt); }

.resultats { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tuile { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; border-left: 4px solid transparent; }
.tuile .valeur { display: block; position: relative; font-family: var(--titre); font-size: 2.1rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tuile .libelle { display: block; font-size: .85rem; color: var(--texte-doux); }
.tuile.forte { background: var(--volt); color: var(--sur-volt); border-left-color: var(--encre); }
.tuile.forte .libelle { color: #26331a; }
.tuile.flash { animation: flash .7s ease-out; }
/* chiffres qui s'animent : le vrai texte reste dans la page, seul un calque visible défile */
.valeur.anime { color: transparent; }
.valeur.anime::after { content: attr(data-v); position: absolute; left: 0; right: 0; top: 0; color: var(--texte); }
.tuile.forte .valeur.anime::after { color: var(--sur-volt); }
@keyframes flash { from { box-shadow: 0 0 0 3px var(--volt); } to { box-shadow: 0 0 0 3px rgba(212, 255, 58, 0); } }
.positif { color: var(--ok); }
.negatif { color: var(--ko); }
.message { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: .95rem; }
.message:empty { display: none; }

/* Barres des zones cardiaques */
.barres-zones { display: grid; gap: 8px; margin: 18px 0 4px; }
.zb { display: grid; grid-template-columns: 64px 1fr; gap: 4px 10px; align-items: center; font-size: .9rem; }
.zb-nom { font-weight: 700; }
.zb-piste { position: relative; height: 16px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.zb-fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; transform: scaleX(0); transform-origin: left center; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.barres-zones.plein .zb-fill { transform: scaleX(1); }
.zb-val { grid-column: 2; font-variant-numeric: tabular-nums; color: var(--texte-doux); font-size: .86rem; }
.z1 { background: #5eead4; } .z2 { background: #a3e635; } .z3 { background: #d4ff3a; } .z4 { background: #fbbf24; } .z5 { background: #fb7185; }

/* Tableaux */
.tableau-defile { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--bord); vertical-align: top; }
th { background: var(--encre); color: #f1f5ec; font-weight: 700; }
td.nombre, th.nombre { text-align: right; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: var(--surface-2); }
tr.meilleur td { background: var(--accent-doux); font-weight: 700; }
.tableau-saisie input { min-width: 90px; }

/* Cartes d'accueil et listes */
.liste-outils { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 18px 0 8px; padding: 0; list-style: none; }
.liste-outils li { margin: 0; }
.carte-outil { display: flex; gap: 14px; align-items: flex-start; height: 100%; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 16px; text-decoration: none; color: var(--texte); box-shadow: var(--ombre); transition: transform .18s, border-color .18s, box-shadow .18s; position: relative; overflow: hidden; }
.carte-outil::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--volt); transform: scaleY(0); transform-origin: top; transition: transform .22s; }
.carte-outil::after { content: "\2192"; content: "\2192" / ""; position: absolute; right: 14px; top: 12px; font-weight: 700; color: var(--texte-doux); opacity: 0; transform: translateX(-6px); transition: opacity .18s, transform .18s; }
.carte-outil:hover { transform: translateY(-3px); border-color: var(--volt); color: var(--texte); text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.carte-outil:hover::before { transform: scaleY(1); }
.carte-outil:hover::after { opacity: 1; transform: none; }
.carte-outil:hover .ico-tuile { background: var(--volt); color: var(--sur-volt); transform: rotate(-6deg) scale(1.06); }
.carte-texte { display: block; min-width: 0; }
.carte-outil strong { display: block; font-family: var(--titre); font-size: 1.35rem; font-weight: 700; line-height: 1.15; margin-bottom: 4px; color: var(--texte); }
.carte-outil .carte-texte span { font-size: .92rem; color: var(--texte-doux); }
.encadre { background: var(--surface); border: 1px solid var(--bord); border-left: 4px solid var(--volt); border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; font-size: .95rem; }
.sources { font-size: .88rem; color: var(--texte-doux); }
details.faq { background: var(--surface); border: 1px solid var(--bord); border-radius: 10px; padding: 0 14px; margin-bottom: 10px; transition: border-color .15s; }
details.faq[open], details.faq:hover { border-color: var(--texte-doux); }
details.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
details.faq p { margin-top: 0; }
/* Emplacements publicitaires : jamais collés à un champ ni à un bouton (24 px minimum) */
.pub { margin: 24px 0; }
.pub:empty { display: none; }
.outil + .badges { margin-top: 24px; }

/* Hero de l'accueil : piste d'athlétisme */
.hero { display: grid; gap: 8px; align-items: center; background: var(--encre); color: #f4f8ee; border-radius: 22px; padding: 26px 20px 12px; margin: 4px 0 8px; position: relative; overflow: hidden; background-image: radial-gradient(circle at 92% 6%, rgba(212, 255, 58, .2), rgba(212, 255, 58, 0) 48%); }
.hero h1 { font-size: clamp(2.3rem, 9vw, 3.8rem); margin: 0 0 10px; line-height: 1; color: #f4f8ee; }
.hero h1 .volt { color: var(--volt); }
.hero .chapo { color: #c4d1bf; font-size: 1.05rem; margin-bottom: 16px; }
.acces { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 6px; }
.acces li { margin: 0; }
.acces a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: #17231a; border: 1px solid #34483a; color: #f1f5ec; text-decoration: none; font-weight: 600; font-size: .93rem; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.acces a:hover { background: var(--volt); color: var(--sur-volt); border-color: var(--volt); transform: translateY(-2px); text-decoration: none; }
.acces a:first-child { background: var(--volt); color: var(--sur-volt); border-color: var(--volt); }
.hero-visuel { display: flex; justify-content: center; }
.piste { width: 100%; max-width: 420px; aspect-ratio: 420 / 250; height: auto; }
.pt-sol { fill: rgba(212, 255, 58, .05); stroke: none; }
.pt-voie { fill: none; stroke: rgba(212, 255, 58, .3); stroke-width: 1.5; stroke-dasharray: 1; animation: trace 1.6s ease-out both; }
.pt-voie.v0 { stroke: rgba(212, 255, 58, .75); stroke-width: 2.5; }
.pt-voie.v1 { animation-delay: .12s; } .pt-voie.v2 { animation-delay: .24s; } .pt-voie.v3 { animation-delay: .36s; }
.pt-voie.v4 { animation-delay: .48s; stroke: rgba(212, 255, 58, .55); }
.pt-ligne { fill: none; stroke: #f4f8ee; stroke-width: 3; stroke-dasharray: 1; animation: trace .6s ease-out 1.2s both; }
.pt-grille { fill: none; stroke: rgba(244, 248, 238, .12); stroke-width: 1; stroke-dasharray: 3 5; }
.pt-courbe { fill: none; stroke: #f4f8ee; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; animation: trace 1.4s ease-out .9s both; }
.pt-bout { fill: var(--volt); transform-box: fill-box; transform-origin: center; animation: pop .4s cubic-bezier(.3, 1.6, .5, 1) 2.2s both; }
.pt-trace { fill: none; stroke: none; }
.pt-halo { fill: rgba(212, 255, 58, .25); }
.pt-coureur { fill: var(--volt); }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.1fr .9fr; padding: 34px 30px 30px; gap: 20px; }
  .hero-visuel { justify-content: flex-end; }
}

/* Pied de page */
.pied { border-top: 3px solid var(--volt); background: var(--surface); padding: 24px 0 32px; font-size: .9rem; color: var(--texte-doux); }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.pied a { color: var(--texte-doux); }
.pied a:hover { color: var(--texte); }
.pied p { margin: 0 0 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.tableau-saisie input { min-width: 64px; padding: 8px; }
.tableau-saisie td { padding: 6px 4px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.badges li { margin: 0; background: var(--accent-doux); color: var(--sur-accent-doux); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 700; }
.categorie { margin-top: 30px; }

/* outils liés et guides */
.liste-guides { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.liste-guides a { display: block; padding: 12px 14px; background: var(--surface); border: 1px solid var(--bord); border-left: 4px solid var(--bord); border-radius: 12px; text-decoration: none; color: var(--texte); transition: border-color .18s, transform .18s, box-shadow .18s; }
.liste-guides a:hover { border-color: var(--volt); transform: translateX(3px); box-shadow: var(--ombre); text-decoration: none; }
.liste-guides strong { display: block; color: var(--texte); }
.liste-guides span { font-size: .9rem; color: var(--texte-doux); }
.encadre-outil { background: var(--accent-doux); color: var(--sur-accent-doux); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 14px 16px; margin: 18px 0; }
.encadre-outil a.bouton { margin: 6px 8px 0 0; }
.maj { font-size: .85rem; color: var(--texte-doux); }

/* Outils Course */
.temps { display: flex; gap: 8px; }
.unite { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; font-weight: 600; font-size: .9rem; }
.unite input { text-align: center; min-width: 0; padding: 10px 6px; }
.rapide { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.champ-double { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.passages, .tab-allures, .tab-zones, .tab-pred { margin-top: 16px; }
.pace-coach { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; background: var(--encre); color: #f1f5ec; border: 1px solid #2a3a2d; border-left: 5px solid var(--volt); border-radius: var(--rayon); padding: 16px 18px; margin: 32px 0 8px; }
.pace-coach p { margin: 0; flex: 1 1 260px; font-weight: 600; }
.pace-coach .bouton { flex: none; }
.sante { font-size: .88rem; border-top: 1px dashed var(--bord); padding-top: 10px; margin-top: 12px !important; }
.plan-sem { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 4px 16px 8px; margin: 0 0 14px; break-inside: avoid; }
.plan-sem h3 { margin: 12px 0 4px; }
.plan-sem ul { padding-left: 0; list-style: none; margin: 0; }
.plan-sem li { padding: 8px 0; border-top: 1px solid var(--bord); margin: 0; }
.plan-sem li:first-child { border-top: 0; }
.plan-sem li strong { color: var(--texte); }
.allure { font-weight: 700; white-space: nowrap; }
.theme { font-weight: 400; color: var(--texte-doux); font-size: .92rem; }
.cartes-tableaux { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.cartes-tableaux a { display: block; padding: 6px 12px; border: 1px solid var(--bord); border-radius: 999px; text-decoration: none; background: var(--surface); transition: background .15s, border-color .15s; }
.cartes-tableaux a:hover { background: var(--volt); border-color: var(--volt); color: var(--sur-volt); }

/* Apparition au défilement (classes posées par course.js uniquement) */
.js-rev { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.js-rev.vu { opacity: 1; transform: none; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  th, td { padding: 7px 8px; }
  .menu nav { right: 8px; left: 8px; min-width: 0; }
  .marque .nom { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-rev { opacity: 1; transform: none; }
  .zb-fill { transform: none; }
}
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .entete, .pied, .pace-coach, .fil, .boutons, .outil, .badges, details.faq, .menu, .liste-outils, .liste-guides, .guides-liees, .hero, .sprite { display: none !important; }
  .js-rev { opacity: 1 !important; transform: none !important; }
  .plan-sem { border: 1px solid #999; box-shadow: none; }
  a { color: #000; text-decoration: none; }
  .conteneur { max-width: none; }
  h1 { text-transform: none; }
}

/* Lisibilité (23/11/2026) : H1 court, outil tout de suite, une action principale, résultat en très gros */
body { line-height: 1.65; }
main { padding-top: 14px; }
.fil { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.chapo.apres-outil { margin: 6px 0 4px; font-size: 1.05rem; }
.chapo.court { font-size: .98rem; }
.reponse { background: var(--accent-doux); color: var(--sur-accent-doux); border-left: 6px solid var(--volt); border-radius: 12px; padding: 14px 16px; margin: 10px 0 18px; }
.reponse strong { display: block; font-family: var(--titre); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.reponse p { margin: 0; font-size: 1.1rem; line-height: 1.55; font-weight: 500; }
.outil { max-width: 720px; margin-left: auto; margin-right: auto; margin-bottom: 24px; }
.boutons { margin-top: 18px; }
.boutons button.principal { width: 100%; min-height: 56px; font-size: 1.15rem; border-radius: 12px; }
@media (min-width: 560px) { .boutons button.principal { width: auto; min-width: 240px; } }
.resultats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tuile.forte { grid-column: 1 / -1; text-align: center; padding: 16px 14px; border-left-width: 0; border-bottom: 5px solid var(--encre); }
.tuile.forte .valeur { font-size: clamp(3rem, 14vw, 4.2rem); line-height: 1; }
.tuile.forte .valeur.anime::after { left: 0; right: 0; text-align: center; }
.tuile.forte .libelle { font-size: .98rem; font-weight: 600; margin-top: 4px; }
.rapide { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
button.mini { flex: none; min-height: 44px; background: transparent; font-weight: 600; }
.acces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.acces a { min-height: 60px; padding: 10px 14px; font-size: 1.02rem; border-radius: 14px; width: 100%; }
.acces li:first-child { grid-column: 1 / -1; }
.acces li:first-child a { min-height: 68px; font-size: 1.15rem; justify-content: center; }
.acces .ico { width: 24px; height: 24px; }
.hero h1 { font-size: clamp(2.4rem, 11vw, 3.8rem); }
.hero .piste { max-height: 150px; }
@media (min-width: 760px) { .acces { grid-template-columns: repeat(3, 1fr); } .acces li:first-child { grid-column: auto; } .hero .piste { max-height: none; } }
@media (max-width: 480px) { body { font-size: 17px; } .outil { padding: 14px; } .liste-guides a { padding: 14px; } .encadre-outil a.bouton { min-height: 48px; } }

/* Sélecteur de langue (24/11/2026) : discret, sans JavaScript, cibles tactiles de 40 px */
.entete-droite { display: flex; align-items: center; gap: 10px; }
.langues { display: flex; align-items: center; gap: 2px; border: 1px solid #3a4d3d; border-radius: 10px; padding: 2px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.langues a, .langues .langue-active { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 6px; border-radius: 8px; text-decoration: none; }
.langues a { color: #f1f5ec; }
.langues a:hover { background: #17231a; }
.langues .langue-active { background: var(--volt); color: var(--sur-volt); }
@media (max-width: 380px) { .entete-droite { gap: 6px; } .langues a, .langues .langue-active { min-width: 36px; } .menu summary { padding: 8px 10px; } }
@media print { .langues { display: none !important; } }

/* Réserve de hauteur des outils (CLS) */
/* Hauteurs mesurées le 23/11/2026 après la passe lisibilité (mesure_outils.py, maximum par plage de largeur, sans réserve) ; à refaire si un outil change. */
@media (max-width: 480px) { .outil[data-outil="allures-entrainement-vma"]{min-height:1303px} .outil[data-outil="calcul-allure"]{min-height:762px} .outil[data-outil="calcul-temps-course"]{min-height:1355px} .outil[data-outil="calcul-vma"]{min-height:716px} .outil[data-outil="convertisseur-allure-vitesse"]{min-height:342px} .outil[data-outil="plan"]{min-height:252px} .outil[data-outil="predicteur-temps-course"]{min-height:996px} .outil[data-outil="zones-cardiaques"]{min-height:1712px} }
@media (min-width: 481px) and (max-width: 900px) { .outil[data-outil="allures-entrainement-vma"]{min-height:1336px} .outil[data-outil="calcul-allure"]{min-height:692px} .outil[data-outil="calcul-temps-course"]{min-height:1307px} .outil[data-outil="calcul-vma"]{min-height:657px} .outil[data-outil="convertisseur-allure-vitesse"]{min-height:328px} .outil[data-outil="plan"]{min-height:238px} .outil[data-outil="predicteur-temps-course"]{min-height:988px} .outil[data-outil="zones-cardiaques"]{min-height:1575px} }
@media (min-width: 901px) { .outil[data-outil="allures-entrainement-vma"]{min-height:964px} .outil[data-outil="calcul-allure"]{min-height:563px} .outil[data-outil="calcul-temps-course"]{min-height:1158px} .outil[data-outil="calcul-vma"]{min-height:589px} .outil[data-outil="convertisseur-allure-vitesse"]{min-height:167px} .outil[data-outil="plan"]{min-height:216px} .outil[data-outil="predicteur-temps-course"]{min-height:676px} .outil[data-outil="zones-cardiaques"]{min-height:1234px} }
/* Version anglaise : hauteurs mesurées le 24/11/2026 avec mesure_outils.py en (maximum par plage de largeur, sans réserve) ; à refaire si un outil change. */
@media (max-width: 480px) { html[lang="en"] .outil[data-outil="allures-entrainement-vma"]{min-height:1419px} html[lang="en"] .outil[data-outil="calcul-allure"]{min-height:948px} html[lang="en"] .outil[data-outil="calcul-temps-course"]{min-height:1635px} html[lang="en"] .outil[data-outil="calcul-vma"]{min-height:997px} html[lang="en"] .outil[data-outil="convertisseur-allure-vitesse"]{min-height:413px} html[lang="en"] .outil[data-outil="plan"]{min-height:343px} html[lang="en"] .outil[data-outil="predicteur-temps-course"]{min-height:1086px} html[lang="en"] .outil[data-outil="zones-cardiaques"]{min-height:1687px} }
@media (min-width: 481px) and (max-width: 900px) { html[lang="en"] .outil[data-outil="allures-entrainement-vma"]{min-height:1420px} html[lang="en"] .outil[data-outil="calcul-allure"]{min-height:782px} html[lang="en"] .outil[data-outil="calcul-temps-course"]{min-height:1583px} html[lang="en"] .outil[data-outil="calcul-vma"]{min-height:843px} html[lang="en"] .outil[data-outil="convertisseur-allure-vitesse"]{min-height:421px} html[lang="en"] .outil[data-outil="plan"]{min-height:329px} html[lang="en"] .outil[data-outil="predicteur-temps-course"]{min-height:1079px} html[lang="en"] .outil[data-outil="zones-cardiaques"]{min-height:1528px} }
@media (min-width: 901px) { html[lang="en"] .outil[data-outil="allures-entrainement-vma"]{min-height:1193px} html[lang="en"] .outil[data-outil="calcul-allure"]{min-height:563px} html[lang="en"] .outil[data-outil="calcul-temps-course"]{min-height:1183px} html[lang="en"] .outil[data-outil="calcul-vma"]{min-height:589px} html[lang="en"] .outil[data-outil="convertisseur-allure-vitesse"]{min-height:284px} html[lang="en"] .outil[data-outil="plan"]{min-height:238px} html[lang="en"] .outil[data-outil="predicteur-temps-course"]{min-height:818px} html[lang="en"] .outil[data-outil="zones-cardiaques"]{min-height:1212px} }
