/* Jupi Studio : papier gris-bleu, encre bleu nuit, bandes ocre de Jupiter. Polices hébergées sur le site (pas de Google Fonts). */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #eef0f6; --card: #ffffff; --ink: #15162b; --muted: #5b5e78; --line: #d9dceb;
  --ochre: #c9711f; --band: #f0c58a; --band2: #e9a85e; --spot: #c8432f; --btn: #15162b; --btn-ink: #ffffff;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif; --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0f1020; --card: #181a30; --ink: #eceef8; --muted: #a3a7c2; --line: #2a2d48; --ochre: #f09a46; --btn: #eceef8; --btn-ink: #15162b; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* en-tête */
.top { display: flex; align-items: center; gap: 24px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-right: auto; text-decoration: none; }
.mark { width: 36px; height: 36px; flex: none; }
.top nav { display: flex; gap: 22px; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ochre); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 14px; font-weight: 600; }
.lang a { padding: 4px 11px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { background: var(--btn); color: var(--btn-ink); }

/* accueil */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: 40px 72px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ochre); margin: 0 0 14px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.lead { font-size: 20px; color: var(--muted); max-width: 32ch; margin: 22px 0 0; }
.orbit { position: relative; aspect-ratio: 1; max-width: 400px; width: 100%; justify-self: center; }
.orbit .ring { position: absolute; inset: 2%; border: 2px dashed var(--line); border-radius: 50%; animation: spin 90s linear infinite; }
.orbit .planet { position: absolute; inset: 18%; width: 64%; height: 64%; }
.orbit .moon { position: absolute; width: 23%; border-radius: 24%; box-shadow: 0 12px 30px rgba(21, 22, 43, .25); }
.orbit .m1 { left: -2%; top: 16%; } .orbit .m2 { right: -1%; bottom: 12%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit .ring { animation: none; } }

h2 { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin: 0 0 24px; text-wrap: balance; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; padding-bottom: 72px; }
.app { background: var(--card); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.cover { aspect-ratio: 2.6; background-size: cover; background-position: 55% 50%; }
.cover.cyclo { background: linear-gradient(135deg, #1f8f58, #2bb673); position: relative; }
.cover.cyclo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.app .body { padding: 22px 24px 24px; display: grid; gap: 12px; }
.idrow { display: flex; gap: 14px; align-items: center; }
.idrow img { width: 60px; height: 60px; border-radius: 15px; }
.idrow h3 { margin: 0; font-family: var(--display); font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.chip { font-size: 13px; font-weight: 600; color: var(--muted); }
.app p { margin: 0; color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.btn { font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line); line-height: 1.3; }
.btn:hover { border-color: var(--ochre); }
.btn.play { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.btn.play small { display: block; font-size: 11px; font-weight: 500; opacity: .75; }

/* page appli */
.apphero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding-block: 24px 28px; }
.apphero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 14px 34px rgba(21, 22, 43, .22); }
.apphero h1 { font-size: clamp(36px, 5vw, 56px); }
.apphero .chip { font-size: 15px; }
.banner { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 40px; }
.banner img { width: 100%; height: auto; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 48px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.feat h3 { margin: 0 0 6px; font-family: var(--display); font-size: 19px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 48px; scroll-snap-type: x mandatory; }
.shots img { width: 230px; height: auto; flex: none; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: start; }
.note { color: var(--muted); font-size: 15px; }

/* textes longs (confidentialité, mentions) */
.doc { max-width: 720px; padding-block: 16px 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; font-family: var(--body); font-weight: 700; }
.doc p, .doc ul { margin: 0 0 12px; max-width: 65ch; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .summary { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.doc .summary strong { color: var(--ochre); }
.doc .tbl { overflow-x: auto; margin: 0 0 16px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; }
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 8px; }
.jump a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 15px; }
.todo { background: #ffe6b3; color: #4a3000; padding: 0 4px; border-radius: 4px; }

/* pied de page */
footer { border-top: 1px solid var(--line); padding-block: 26px; display: flex; gap: 12px 24px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
footer b { color: var(--ink); }
footer .r { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-block: 8px 48px; }
  .orbit { max-width: 280px; grid-row: 1; }
  .apps { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .apphero { grid-template-columns: 1fr; }
  .apphero img { width: 88px; height: 88px; border-radius: 20px; }
  footer .r { margin-left: 0; }
}
.orbit .m3 { left: 10%; bottom: 0; width: 19%; }
.btn.beta { background: var(--ochre); color: #fff; border-color: var(--ochre); }
.btn.beta:hover { filter: brightness(1.08); }
.betabox { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 28px; margin-bottom: 48px; }
.betabox > div:first-child { flex: 1 1 380px; min-width: 0; }
.betabox h2 { font-size: 26px; margin: 0 0 6px; }
.betabox p { margin: 0; color: var(--muted); max-width: 60ch; }
.betacta { display: grid; gap: 8px; justify-items: start; }
.betacta .btn { font-size: 16px; padding: 12px 20px; }
.betacta .mail { user-select: all; color: var(--ink); font-weight: 600; }
