/* Pages secondaires du site de Jumpi (mentions, confidentialité, remboursement, nouveautés, licence) :
   mêmes couleurs et mêmes titres que la page d'accueil, sur fond uni. */
:root {
  --encre: #16171d;
  --encre-douce: #5b5f6b;
  --encre-pale: #8a8e99;
  --fond: #eef0f3;
  --carte: #ffffff;
  --bord: rgba(22, 23, 29, 0.08);
  --pastille: #16171d;
  --sur-pastille: #ffffff;
  --degrade: linear-gradient(100deg, #0e9fd4, #3d6bff 50%, #7a3df0);
}
@media (prefers-color-scheme: dark) {
  :root {
    --encre: #f4f4f7;
    --encre-douce: #a9adb8;
    --encre-pale: #7d818c;
    --fond: #0e0f14;
    --carte: #17181f;
    --bord: rgba(255, 255, 255, 0.08);
    --pastille: #f4f4f7;
    --sur-pastille: #0e0f14;
    --degrade: linear-gradient(100deg, #23c4f0, #3d6bff 50%, #9b4dff);
  }
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--fond); color: var(--encre);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.mono { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; }
a { color: inherit; }

/* en-tête : retour à l'accueil, langue */
.entete { display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(18px, 4vw, 48px); }
.entete .retour { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; }
.entete .retour img { width: 30px; height: 30px; }
.langues a { text-decoration: none; opacity: .5; }
.langues a.active { opacity: 1; }

main { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vh, 90px) 22px 80px; }
.tete { text-align: center; margin-bottom: 56px; }
.tete .mono { color: var(--encre-douce); }
.tete h1 { margin-top: 16px; font-size: clamp(44px, 7vw, 84px); font-weight: 850; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
.tete h1 em, h2 em {
  font-style: italic; background: var(--degrade); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding: 0 .14em .06em .03em; margin: 0 -.14em 0 -.03em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tete p { margin: 22px auto 0; max-width: 46ch; font-size: 19px; line-height: 1.55; color: var(--encre-douce); }
.maj { display: block; margin-top: 18px; color: var(--encre-pale); }

/* blocs de texte */
section.bloc { padding: 26px 0; border-top: 1px solid var(--bord); }
section.bloc h2 { font-size: 22px; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 12px; }
section.bloc p, section.bloc li { font-size: 16.5px; line-height: 1.65; color: var(--encre-douce); }
section.bloc p + p { margin-top: 12px; }
section.bloc ul { padding-left: 20px; display: grid; gap: 8px; }
section.bloc strong { color: var(--encre); font-weight: 650; }

/* nouveautés */
.version { background: var(--carte); border: 1px solid var(--bord); border-radius: 24px; padding: 28px 30px; margin-bottom: 18px; }
.version .etat { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(61, 107, 255, .12); color: #3d6bff; }
.version h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.version h3 { margin: 22px 0 8px; font-size: 15px; font-weight: 700; color: var(--encre); }
.version li { font-size: 16px; line-height: 1.6; color: var(--encre-douce); }
.version ul { padding-left: 20px; display: grid; gap: 6px; }

/* licence */
form.licence { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; }
form.licence input {
  flex: 1; min-width: 0; padding: 18px 22px; border-radius: 999px; border: 1px solid var(--bord);
  background: var(--carte); color: var(--encre); font: 500 17px -apple-system, sans-serif;
}
form.licence input:focus-visible { outline: 2px solid #3d6bff; outline-offset: 2px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; padding: 18px 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--pastille); color: var(--sur-pastille); font: 650 17px -apple-system, sans-serif; text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.bouton:focus-visible { outline: 2px solid #3d6bff; outline-offset: 3px; }
.aide { margin-top: 34px; text-align: center; font-size: 16px; color: var(--encre-douce); }
.aide a { font-weight: 650; color: var(--encre); text-underline-offset: 4px; }
@media (max-width: 560px) { form.licence { flex-direction: column; } }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; padding: 40px 20px 46px; font-size: 13px; color: var(--encre-douce); border-top: 1px solid var(--bord); }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* une seule langue visible à la fois (le script choisit) */
[lang="en"] .fr, [lang="fr"] .en { display: none !important; }
