/* MicroCosmos — feuille de style du site */
:root {
  --nuit: #0d1430;
  --nuit-2: #1c1747;
  --violet: #6d4fe0;
  --violet-clair: #a78bfa;
  --violet-pale: #efebff;
  --encre: #1e2340;
  --texte: #39405e;
  --gris: #6b7290;
  --ligne: #e1e4ef;
  --fond: #f7f8fc;
  --carte: #ffffff;
  --vert: #16a36a;
  --rouge: #d64545;
  --orange: #e08a1e;
  --bleu: #2b6fd6;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(20, 24, 60, .06), 0 8px 24px rgba(20, 24, 60, .07);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: #4b2fc0; }
h1, h2, h3, h4 { color: var(--encre); line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--mono); font-size: .88em; }
:not(pre) > code { background: var(--violet-pale); color: #3d2a9a; padding: .1em .35em; border-radius: 5px; }
pre {
  background: #121733; color: #dfe4ff; padding: 18px 20px; border-radius: 12px;
  overflow-x: auto; line-height: 1.55; font-size: .85rem; margin: 0 0 1.2em;
}
pre .c { color: #8c95c4; } pre .k { color: #c4b5fd; } pre .n { color: #7dd3fc; }
strong { color: var(--encre); }

/* ---- en-tête ---- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 20, 48, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.entete .barre { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo:hover { color: #fff; }
.logo .mu { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #8b5cf6, #3b82f6); font-size: 1.1rem; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { color: #c8cdf0; text-decoration: none; font-size: .93rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(139, 92, 246, .35); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .9rem; cursor: pointer; }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--nuit); padding: 10px 16px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.ouvert { display: flex; }
  .nav a { padding: 12px; }
}

/* ---- bandeau de page ---- */
.bandeau {
  background: radial-gradient(1200px 400px at 85% -10%, rgba(124, 77, 255, .45), transparent 60%),
              radial-gradient(800px 300px at 0% 120%, rgba(56, 189, 248, .25), transparent 60%),
              linear-gradient(180deg, var(--nuit), var(--nuit-2));
  color: #dfe4ff; position: relative; overflow: hidden;
}
.bandeau::before {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: radial-gradient(1.2px 1.2px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 33% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 58% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 91% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 46% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 88%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 68% 86%, #fff 50%, transparent 51%);
}
.bandeau .contenu { position: relative; max-width: 1180px; margin: 0 auto; padding: 56px 20px 60px; }
.bandeau h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .3em; font-weight: 800; }
.bandeau p.chapo { font-size: 1.15rem; max-width: 760px; color: #cdd3f6; margin: 0; }
.surtitre { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-clair); margin-bottom: 10px; }

/* accueil */
.accueil .contenu { display: grid; grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
.accueil .banniere { border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(255,255,255,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.bouton {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .98rem;
  padding: 12px 20px; border-radius: 12px; background: var(--violet); color: #fff; border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(109, 79, 224, .35);
}
.bouton:hover { background: #5a3cd1; color: #fff; }
.bouton.second { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); box-shadow: none; }
.bouton.second:hover { background: rgba(255, 255, 255, .16); }
.bouton.clair { background: #fff; color: var(--violet); border-color: var(--ligne); box-shadow: var(--ombre); }
.bouton.clair:hover { background: var(--violet-pale); }

/* ---- corps ---- */
main { max-width: 1180px; margin: 0 auto; padding: 0 20px 40px; }
.section { padding: 56px 0 8px; }
.section + .section { border-top: 1px solid var(--ligne); }
.texte { max-width: 820px; }
.grille { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } body { font-size: 16px; } }
.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.carte { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre); }
.carte h3 { margin-top: 0; }
a.carte { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
a.carte:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(20, 24, 60, .13); }
.carte .icone { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px; background: var(--violet-pale); }
.carte .plus { color: var(--violet); font-weight: 700; font-size: .93rem; }

.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chiffre { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 20px; }
.chiffre b { display: block; font-size: 1.8rem; color: var(--violet); font-weight: 800; line-height: 1.1; }
.chiffre span { font-size: .9rem; color: var(--gris); }

figure { margin: 0 0 1.4em; }
figure img, figure svg { border-radius: 12px; }
figure.cadre img { border: 1px solid var(--ligne); background: #fff; }
figcaption { font-size: .88rem; color: var(--gris); margin-top: 8px; }
.photo { border-radius: 14px; box-shadow: var(--ombre); }

.encart { border-left: 4px solid var(--violet); background: var(--violet-pale); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 1.4em; }
.encart.vert { border-color: var(--vert); background: #e8f7f0; }
.encart.orange { border-color: var(--orange); background: #fdf3e5; }
.encart p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--ombre); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
th { background: #f0f1f8; color: var(--encre); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.tableau { overflow-x: auto; }

.etapes { counter-reset: e; list-style: none; padding: 0; margin: 0 0 1.4em; }
.etapes > li { counter-increment: e; position: relative; padding: 2px 0 14px 48px; }
.etapes > li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }

/* téléchargements */
.telecharger { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
@media (max-width: 600px) { .telecharger { grid-template-columns: 1fr; } .telecharger img { max-width: 150px; } }
.liste-fichiers { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.liste-fichiers a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; text-decoration: none; color: var(--encre); font-weight: 600; }
.liste-fichiers a:hover { border-color: var(--violet-clair); background: #fbfaff; }
.liste-fichiers .type { flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .05em; padding: 4px 7px; border-radius: 6px; background: var(--violet-pale); color: var(--violet); min-width: 44px; text-align: center; }
.liste-fichiers .type.pdf { background: #fde8e8; color: #c23030; }
.liste-fichiers .type.ino { background: #e3f4f2; color: #00797a; }
.liste-fichiers .type.py { background: #e8effc; color: #2d5fb8; }
.liste-fichiers .type.zip { background: #fff1db; color: #a35c00; }
.liste-fichiers .desc { display: block; font-weight: 400; font-size: .86rem; color: var(--gris); }

.citation { font-size: .95rem; background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 14px 18px; margin: 0 0 1em; }

/* frise */
.frise { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.4em; }
@media (max-width: 860px) { .frise { grid-template-columns: 1fr 1fr; } }
.frise div { background: #fff; border: 1px solid var(--ligne); border-top: 4px solid var(--violet); border-radius: 10px; padding: 12px 14px; font-size: .9rem; }
.frise b { display: block; color: var(--violet); font-size: 1.2rem; }

/* simulateur de coïncidences */
.simu { background: #0f1533; border-radius: 16px; padding: 18px; color: #dfe4ff; box-shadow: var(--ombre); }
.simu canvas { width: 100%; height: auto; display: block; border-radius: 10px; background: #0b1029; }
.simu .compteurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (max-width: 640px) { .simu .compteurs { grid-template-columns: 1fr 1fr; } }
.simu .cpt { background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; }
.simu .cpt b { display: block; font-size: 1.6rem; font-variant-numeric: tabular-nums; color: #fff; line-height: 1.15; }
.simu .cpt span { font-size: .8rem; color: #aeb5dd; }
.simu .cpt.n12 b { color: #34d399; }
.simu .reglages { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; font-size: .9rem; }
.simu button { font: inherit; font-weight: 700; font-size: .88rem; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.simu button:hover { background: rgba(255,255,255,.16); }
.simu label { display: inline-flex; align-items: center; gap: 8px; color: #c8cdf0; }
.simu input[type=range] { accent-color: #8b5cf6; }
.simu .legende { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: #aeb5dd; margin-top: 10px; }
.simu .legende i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

/* pied */
.pied { background: var(--nuit); color: #aab1d6; margin-top: 40px; }
.pied .contenu { max-width: 1180px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; font-size: .9rem; }
@media (max-width: 760px) { .pied .contenu { grid-template-columns: 1fr; } }
.pied a { color: #d5d9ff; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied h4 { color: #fff; margin: 0 0 .6em; font-size: .95rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }

.note { font-size: .88rem; color: var(--gris); }
.badge { display: inline-block; font-size: .75rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--violet-pale); color: var(--violet); vertical-align: middle; }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sommaire a { font-size: .88rem; font-weight: 600; color: #dfe4ff; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); }
.sommaire a:hover { background: rgba(255,255,255,.12); color: #fff; }
.lcd { font-family: var(--mono); background: #2348b8; color: #e7f0ff; border-radius: 8px; padding: 10px 14px; display: inline-block; line-height: 1.45; box-shadow: inset 0 0 0 3px #12266b; font-size: .95rem; white-space: pre; }
.liste-fichiers .type.app { background: #e8f7f0; color: #0f7a4d; }
.liste-fichiers .type.jpg { background: #f0f1f8; color: #4b4f74; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.intro-accueil { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.intro-accueil .chapo { flex: 1 1 520px; }
.intro-accueil .actions { margin-top: 0; }
.simu select { font: inherit; font-size: .88rem; background: #1b2350; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 5px 8px; }
:not(pre) > code { overflow-wrap: anywhere; }
.grille + .encart, .grille + .note { margin-top: 22px; }
.choix { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--ligne); border-radius: 12px; background: #fbfbfe; }
.choix b { color: var(--encre); }
.choix span { font-size: .9rem; color: var(--gris); }
.choix .bouton { margin-top: auto; font-size: .92rem; padding: 10px 16px; }
.choix .bouton span { color: inherit; font-size: inherit; }
/* expériences A et B (rayons cosmiques) */
.exp-bloc { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: start; margin: 30px 0; }
.exp-bloc + .exp-bloc { padding-top: 30px; border-top: 1px dashed var(--ligne); }
.exp-bloc h3 { margin-top: 0; }
.exp-bloc ul { padding-left: 1.1em; }
.exp-img { margin: 0; max-width: 460px; }
.exp-img img, .exp-img svg { border-radius: 12px; border: 1px solid var(--ligne); background: #fff; width: 100%; }
@media (max-width: 860px) { .exp-bloc { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.formule { text-align: center; font-family: "Cambria Math", "STIX Two Math", Georgia, serif; font-size: 1.08rem; color: var(--encre); background: #fff; border: 1px solid var(--ligne); border-radius: 10px; padding: 10px 12px; }
table.mesures-compact { width: auto; margin: 0 0 .6em; box-shadow: none; border: 1px solid var(--ligne); font-size: .88rem; font-variant-numeric: tabular-nums; }
table.mesures-compact th, table.mesures-compact td { padding: 5px 9px; text-align: center; text-transform: none; letter-spacing: 0; font-size: .88rem; }
table.mesures-compact th { background: #f0f1f8; }
.histos { max-width: 860px; }
.histos figure { margin: 0; }
.prediction { border-radius: 14px; padding: 22px 24px; border: 2px solid; font-size: .95rem; }
.prediction h4 { margin: 0; font-size: 1.15rem; }
.prediction .sous { margin: 2px 0 12px; font-size: .85rem; font-style: italic; }
.prediction.classique { background: #fdf0e8; border-color: #e0702e; }
.prediction.classique h4, .prediction.classique .sous { color: #b4501a; }
.prediction.relativite { background: #e9f0f9; border-color: #1f3a64; }
.prediction.relativite h4, .prediction.relativite .sous { color: #1f3a64; }
.attendu { display: inline-block; border-radius: 10px; padding: 8px 18px; color: #fff; font-size: .85rem; text-align: center; }
.attendu b { display: block; font-size: 1.4rem; color: #fff; }
.prediction.classique .attendu { background: #e0702e; }
.prediction.relativite .attendu { background: #1f3a64; }
/* page Logiciel : onglets */
.onglet-bloc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; margin: 26px 0; }
.onglet-bloc + .onglet-bloc { padding-top: 26px; border-top: 1px dashed var(--ligne); }
.onglet-bloc h3 { margin-top: 0; }
.onglet-bloc ul { padding-left: 1.1em; margin: 0; }
.onglet-bloc li + li { margin-top: .5em; }
@media (max-width: 860px) { .onglet-bloc { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* page Radioactivité */
.paire-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paire-photos figure { margin: 0; }
.paire-photos img { border-radius: 10px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.histos-k40 figure { margin: 0; }
.histos-k40 img { border: 1px solid var(--ligne); border-radius: 10px; background: #fff; width: 100%; aspect-ratio: 2.2 / 1; object-fit: contain; padding: 6px; }
.formule-math { margin: 0 0 1em; padding: 14px 16px; background: #fff; border: 1px solid var(--ligne); border-radius: 10px; }
.formule-math math { font-size: 1.25rem; color: var(--encre); }
/* barres des écrans */
.barres-ecrans { max-width: 820px; margin: 4px 0 10px; display: grid; gap: 8px; }
.be { display: grid; grid-template-columns: 150px 1fr 90px; align-items: center; gap: 14px; font-size: .93rem; }
.be-lab { color: var(--encre); font-weight: 600; }
.be-bar { height: 22px; background: #eef0f6; border-radius: 6px; overflow: hidden; }
.be-bar i { display: block; height: 100%; border-radius: 6px; }
.be-val { font-variant-numeric: tabular-nums; color: var(--texte); text-align: right; }
@media (max-width: 600px) { .be { grid-template-columns: 110px 1fr 74px; gap: 8px; font-size: .85rem; } }
/* calcul β / γ */
.calcul2 { display: grid; grid-template-columns: 1.25fr 1fr 0.9fr; gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .calcul2 { grid-template-columns: minmax(0, 1fr); } }
.c-etape { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 18px 20px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 10px; }
.c-etape .lbl { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.c-etape .formule-math { border: 0; padding: 4px 0; margin: 0; flex: 1; display: flex; align-items: center; justify-content: center; }
.tab-mesures { box-shadow: none; margin: 0; font-size: .9rem; }
.tab-mesures th { font-size: .74rem; padding: 7px 10px; }
.tab-mesures td { padding: 8px 10px; }
.c-etape.resultat { background: linear-gradient(180deg, #f3f0ff, #fff); border-color: #d9d0ff; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.tuile { border-radius: 12px; padding: 14px 10px; text-align: center; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.tuile b { font-size: 2rem; line-height: 1.05; color: #fff; }
.tuile span { font-weight: 700; }
.tuile small { opacity: .8; font-size: .78rem; margin-top: 4px; }
.tuile.beta { background: #2b6fd6; }
.tuile.gamma { background: #e0702e; }
.theorie { margin: 0; text-align: center; font-size: .9rem; color: var(--gris); }
.c-etape .formule-math { flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding-left: 8px; }
.c-etape .formule-math math { margin: 0; font-size: 1.3rem; }
.tab-mesures td:first-child { white-space: nowrap; }
/* photos détourées (fond transparent) */
img.detoure { display: block; margin: 0 auto; max-height: 460px; width: auto; max-width: 100%; filter: drop-shadow(0 10px 18px rgba(20, 24, 60, .18)); }
/* dessins ligne claire */
.dessin-legende { margin: 0 0 1.6em; background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 18px; }
.dessin-legende img { width: 100%; height: auto; }
.carte .vignette { display: block; height: 96px; width: auto; max-width: 100%; margin: -4px 0 12px; }
@media (max-width: 700px) { .dessin-legende { overflow-x: auto; padding: 10px; } .dessin-legende img { width: 680px; max-width: none; } }

/* page Cosmodétecteur */
.chaine { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.maillon { background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 14px 16px; box-shadow: var(--ombre); }
.maillon b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; font-size: .85rem; }
.maillon h4 { margin: 8px 0 4px; }
.maillon p { margin: 0; font-size: .9rem; }
.chaine .fl { align-self: center; font-size: 1.4rem; color: var(--gris); }
@media (max-width: 960px) { .chaine { grid-template-columns: 1fr 1fr; } .chaine .fl { display: none; } }
@media (max-width: 560px) { .chaine { grid-template-columns: 1fr; } }
table.comparaison th:first-child { width: 22%; }
table.comparaison tr > th:first-child { background: #f7f7fc; text-transform: none; letter-spacing: 0; font-size: .88rem; }
table.comparaison td { font-size: .93rem; }
.logiciels .carte figure { margin: 0 0 14px; }
.logiciels .carte h3 { margin-top: 0; }
.actions.dl { margin: 6px 0 8px; }
.actions.dl .bouton { font-size: .9rem; padding: 10px 16px; }
.liste-fichiers .type.web { background: #e8f7f0; color: #0f7a4d; }
.grille > .encart { margin: 0; }
.chaine .maillon { height: 100%; }
/* section radon */
#radon .dessin-legende { max-width: 900px; margin: 10px auto 28px; }
#radon .exp-img.large { max-width: 560px; }
#radon .texte-radon { max-width: 860px; margin-top: 30px; padding-top: 30px; border-top: 1px dashed var(--ligne); }
#radon .texte-radon h3 { margin-top: 0; }
#radon .texte-radon .formule-math { max-width: 520px; }
/* page Logiciel 1.4 */
.activites { list-style: none; padding: 0; display: grid; gap: 10px; }
.activites li { line-height: 1.55; }
.pastille { display: inline-block; font-size: .8rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-right: 6px; color: #fff; }
.pastille.cos { background: #2f8f57; } .pastille.rad { background: #6d4fe0; } .pastille.dv { background: #c4501a; } .pastille.ard { background: #0b7285; }
.versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
@media (max-width: 900px) { .versions { grid-template-columns: minmax(0, 1fr); } }
.version { position: relative; background: #fff; border: 1px solid var(--ligne); border-top: 5px solid var(--violet); border-radius: 14px; padding: 22px 22px 14px; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.version.web { border-top-color: #0b7285; } .version.linux { border-top-color: #2f8f57; } .version.win { border-top-color: #2b6fd6; }
.version .lettre { position: absolute; top: 18px; right: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--gris); }
.version.web .lettre { background: #0b7285; } .version.linux .lettre { background: #2f8f57; } .version.win .lettre { background: #2b6fd6; }
.version h3 { margin: 0; }
.version .sous { margin: 2px 0 14px; color: var(--gris); font-size: .9rem; }
.version .bouton { justify-content: center; text-align: center; font-size: .9rem; padding: 11px 14px; overflow-wrap: anywhere; }
.version.web .bouton { background: #0b7285; box-shadow: 0 6px 18px rgba(11,114,133,.3); }
.version.linux .bouton { background: #2f8f57; box-shadow: 0 6px 18px rgba(47,143,87,.3); }
.version.win .bouton { background: #2b6fd6; box-shadow: 0 6px 18px rgba(43,111,214,.3); }
.version .bouton small { font-weight: 500; opacity: .8; }
.plus-moins { list-style: none; padding: 0; margin: 16px 0 0; font-size: .9rem; display: grid; gap: 6px; }
.plus-moins li { padding-left: 22px; position: relative; }
.plus-moins li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.plus-moins li.p::before { content: "+"; color: #2f8f57; }
.plus-moins li.m::before { content: "–"; color: #c4501a; }
