/* Landing page — mêmes fondations que l'application (base.css). */
.l-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.l-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.l-nav.scrolled { border-bottom-color: var(--border); }
.l-nav .l-wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.l-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.l-links { display: none; gap: 24px; font-size: 14px; color: var(--text-2); }
.l-links a:hover { color: var(--text); }
.l-nav .grow { flex: 1; }
@media (min-width: 1040px) { .l-links { display: flex; } }
/* Liens des pages centrés dans la barre (logo à gauche, boutons à droite). */
@media (min-width: 1000px) { .l-nav .l-wrap { position: relative; } html:not([lang="fr"]) .l-links { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; } }
@media (min-width: 1200px) { html[lang="fr"] .l-links { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; } }

.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-grad); color: #fff; box-shadow: 0 4px 12px -4px rgba(108, 71, 255, 0.6); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 16px; height: 16px; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 520; letter-spacing: -0.01em; white-space: nowrap; border: 1px solid transparent; transition: opacity .15s, background .15s, transform .12s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px -6px rgba(108, 71, 255, 0.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { background: var(--surface); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--surface-hover); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-hover); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .7; pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 50%; top: -220px; width: 1000px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(108,71,255,.18), transparent), radial-gradient(closest-side at 80% 40%, rgba(240,70,143,.10), transparent); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero-text { text-align: center; max-width: 820px; margin: 0 auto; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--text-2); margin-bottom: 28px; }
.hero-pill b { height: 20px; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; }
.hero h1 { font-size: clamp(38px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 640; }
.hero h1 .soft { color: var(--text-3); }
.hero p.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); margin: 24px auto 34px; max-width: 600px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* Aperçu produit */
.preview { margin: 56px auto 0; max-width: 1080px; perspective: 2000px; }
.frame { border-radius: 18px; border: 1px solid var(--border-strong); background: var(--surface-2); box-shadow: var(--shadow-lg), 0 40px 120px -40px rgba(79,70,229,.25); overflow: hidden; transform: rotateX(8deg); transform-origin: top center; transition: transform 1s var(--ease); }
.preview.in .frame { transform: none; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.frame-bar span { margin: 0 auto; font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.mock { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px; }
.mock-side { display: none; }
@media (min-width: 900px) {
  .mock { grid-template-columns: 190px 1.5fr 1fr; padding: 0; gap: 0; }
  .mock-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-right: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
  .mock-side div { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 9px; border-radius: 7px; }
  .mock-side div.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); font-weight: 520; }
  .mock-side .icon { width: 15px; height: 15px; }
  .mock-col { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .mock-col + .mock-col { padding-left: 0; }
}
.m-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); }
.m-title { font-size: 12.5px; font-weight: 560; color: var(--text-2); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.m-title .icon { width: 14px; height: 14px; color: var(--text-3); }
.m-daily { background: var(--hero-grad); color: #fff; --on-ink: #fff; --ink: #3a22b8; border-radius: 14px; padding: 20px; position: relative; overflow: hidden; }
.m-daily::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(124,116,242,.35), transparent 55%); }
.m-daily > * { position: relative; }
.m-daily small { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; opacity: .55; font-weight: 560; }
.m-daily h3 { font-size: 19px; margin: 6px 0 12px; letter-spacing: -.025em; }
.m-daily .meta { display: flex; gap: 14px; font-size: 12px; opacity: .7; margin-bottom: 16px; }
.m-daily .go { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 9px; background: var(--on-ink); color: var(--ink); font-size: 13px; font-weight: 560; }
.m-daily .fl { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.m-daily .fl .icon { width: 16px; height: 16px; color: var(--flame); fill: var(--flame); }
.m-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 7px 0; border-top: 1px solid var(--border); }
.m-row:first-of-type { border-top: 0; }
.m-row .g { flex: 1; min-width: 0; }
.dot { width: 7px; height: 7px; border-radius: 3px; flex: none; }
.prio { font-size: 10.5px; font-weight: 560; padding: 2px 7px; border-radius: 5px; }
.prio.h { background: var(--danger-soft); color: var(--danger); } .prio.m { background: var(--warning-soft); color: var(--warning); } .prio.l { background: var(--bg-sunken); color: var(--text-2); }
.bar { height: 5px; border-radius: 9px; background: var(--bg-sunken); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; }
.m-subj { display: flex; flex-direction: column; gap: 11px; }
.m-subj .t { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.m-ring { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.m-ring svg { transform: rotate(-90deg); }
.m-ring b { font-size: 26px; letter-spacing: -.04em; font-weight: 620; }
.m-exam { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.m-exam b { font-size: 20px; letter-spacing: -.03em; line-height: 1; }

/* Sections */
.l-section { padding: 96px 0 0; }
.l-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.l-eyebrow { font-size: 12.5px; font-weight: 560; color: var(--accent-text); letter-spacing: .02em; margin-bottom: 12px; }
.l-head h2 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -.04em; line-height: 1.08; }
.l-head p { color: var(--text-2); margin-top: 14px; font-size: 16.5px; }

/* Matière → Week → révision */
.flow { display: grid; gap: 12px; align-items: stretch; }
@media (min-width: 860px) { .flow { grid-template-columns: 1fr auto 1fr auto 1.2fr; } }
.flow-arrow { display: none; align-self: center; color: var(--text-3); }
@media (min-width: 860px) { .flow-arrow { display: block; } }
.flow .m-card { padding: 18px; }
.subj { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13px; font-weight: 500; }
.subj.on { background: var(--accent-soft); }
.subj .tile { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; }
.wk { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13px; }
.wk.on { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.wk .n { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-sunken); display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.st { margin-left: auto; font-size: 11px; font-weight: 520; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tool { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; border: 1px solid var(--border); font-size: 13px; font-weight: 500; background: var(--surface-2); }
.tool .icon { width: 16px; height: 16px; color: var(--accent-text); }

/* Bento */
.bento { display: grid; gap: 12px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 14px; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-4 { grid-column: span 4; } }
.b { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-height: 260px; overflow: hidden; }
.b h3 { font-size: 16px; letter-spacing: -.02em; margin-top: auto; padding-top: 18px; }
.b p { font-size: 13.5px; color: var(--text-2); margin-top: 4px; line-height: 1.5; }
.b .vis { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.q-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--border-strong); font-size: 13px; margin-top: 7px; background: var(--surface); }
.q-opt .k { width: 22px; height: 22px; border-radius: 6px; background: var(--bg-sunken); display: grid; place-items: center; font-size: 11px; font-weight: 600; font-family: var(--mono); color: var(--text-3); }
.q-opt.ok { border-color: var(--success); background: var(--success-soft); }
.q-opt.ok .k { background: var(--success); color: #fff; }
.q-opt.ko { border-color: var(--danger); background: var(--danger-soft); }
.q-opt.ko .k { background: var(--danger); color: #fff; }
.sheet { border-radius: 12px; border: 1px solid var(--border); padding: 14px; background: var(--surface-2); font-size: 12.5px; }
.sheet .k { display: inline-block; font-size: 10.5px; font-weight: 560; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 8px; }
.sheet code { font-family: var(--mono); font-size: 13px; display: block; padding: 10px; margin: 8px 0; border-radius: 8px; background: var(--surface); text-align: center; }
.flame-n { display: flex; align-items: center; gap: 10px; font-size: 44px; font-weight: 640; letter-spacing: -.05em; }
.flame-n .icon { width: 40px; height: 40px; color: var(--flame); fill: var(--flame); }
.dots { display: flex; gap: 5px; margin-top: 14px; flex-wrap: wrap; }
.dots i { width: 16px; height: 16px; border-radius: 5px; background: var(--bg-sunken); }
.dots i.on { background: var(--flame); }
.phase-l { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 6px 0; }
.phase-l .n { width: 22px; height: 22px; border-radius: 7px; background: var(--bg-sunken); display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.phase-l.on .n { background: var(--accent); color: #fff; }
.phase-l.done .n { background: var(--success); color: #fff; }
.phase-l span:last-child { margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }
.duel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.duel .p { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; }
.duel .p b { font-size: 30px; letter-spacing: -.04em; line-height: 1; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; }
.chat-b { display: flex; gap: 8px; font-size: 12.5px; margin-top: 10px; }
.chat-b .t { background: var(--surface-2); border: 1px solid var(--border); padding: 8px 11px; border-radius: 4px 12px 12px 12px; }
.chat-b b { font-size: 12px; display: block; margin-bottom: 2px; }
.voice { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 11px; border-radius: 10px; background: var(--accent-soft); font-size: 12.5px; font-weight: 500; }
.stack-av { display: flex; margin-left: auto; }
.stack-av .av { width: 22px; height: 22px; font-size: 10px; margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.timer { width: 120px; height: 120px; margin: 0 auto; position: relative; }
.timer svg { transform: rotate(-90deg); }
.timer b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lb { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; }
.lb.me { background: var(--accent-soft); }
.lb .r { width: 16px; color: var(--text-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.lb b { margin-left: auto; font-variant-numeric: tabular-nums; }
.plan-l { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 7px 0; border-top: 1px solid var(--border); }
.plan-l:first-child { border-top: 0; }
.plan-l .tm { font-family: var(--mono); font-size: 11px; color: var(--text-3); width: 36px; }
.plan-l .bar-v { width: 3px; height: 26px; border-radius: 2px; }
.plan-l span:last-child { margin-left: auto; color: var(--text-2); }
.curve-svg { width: 100%; height: auto; }

/* CTA final */
.final { margin: 110px 0 0; padding: 64px 24px; text-align: center; border-radius: 24px; background: var(--hero-grad); color: #fff; --on-ink: #fff; --ink: #3a22b8; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 100% at 50% 0%, rgba(124,116,242,.35), transparent 60%); }
.final > * { position: relative; }
.final h2 { font-size: clamp(28px, 4.6vw, 46px); letter-spacing: -.04em; line-height: 1.08; }
.final p { opacity: .65; margin: 14px auto 30px; max-width: 460px; }
.final .btn-primary { background: #fff; color: #4b2ee0; }

.l-foot { padding-top: 48px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }
.l-foot a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .frame { transform: none; } }
@media (max-width: 520px) {
  .l-nav .l-wrap { gap: 12px; }
  .l-nav .btn-ghost { display: none; }
}

/* Sélecteur de langue du footer */
.row-l { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--bg-sunken); }
.lang-switch a { padding: 4px 10px; border-radius: 7px; font-size: 12.5px; color: var(--text-2); }
.lang-switch a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.l-brand .brand-logo { height: 28px; }

/* ---------- Sous le hero : style de la page de confirmation d'edabos.com (lignes alternées,
   carte d'interface dans un panneau dégradé à points, FAQ numérotée, appel final) ---------- */
:root { --ed-grad: radial-gradient(148% 92% at 38% 6%, #faf8fd 0%, #fcf2f4 28%, #ecd2f2 61%, #8a7bff 100%); --ed-dots: rgba(255,255,255,.9); --ed-ink: #0f0d1c; --ed-on-ink: #fff; --ed-shadow: 0 30px 60px -28px rgba(40,30,110,.5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ed-grad: radial-gradient(148% 92% at 38% 6%, #1a1531 0%, #211a42 30%, #3a2a86 64%, #7a63ff 100%); --ed-dots: rgba(255,255,255,.22); --ed-ink: #f3f1ff; --ed-on-ink: #0d0b17; --ed-shadow: 0 30px 60px -24px rgba(0,0,0,.7); } }
:root[data-theme="dark"] { --ed-grad: radial-gradient(148% 92% at 38% 6%, #1a1531 0%, #211a42 30%, #3a2a86 64%, #7a63ff 100%); --ed-dots: rgba(255,255,255,.22); --ed-ink: #f3f1ff; --ed-on-ink: #0d0b17; --ed-shadow: 0 30px 60px -24px rgba(0,0,0,.7); }

.ed-section { padding: 140px 0 0; }
.ed-feats { display: flex; flex-direction: column; gap: 140px; }
.ed-feat { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: 72px; align-items: center; scroll-margin-top: 110px; }
.ed-feat--rev .ed-text { order: 2; }
.ed-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.ed-eyebrow b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ed-ink); color: var(--ed-on-ink); }
.ed-eyebrow .icon { width: 16px; height: 16px; }
.ed-text h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.035em; font-weight: 620; margin-bottom: 18px; }
.ed-lead { font-size: 16px; line-height: 1.65; color: var(--text-2); margin-bottom: 26px; }
.ed-lead b, .ed-ticks b { color: var(--text); font-weight: 600; }
.ed-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ed-ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.ed-ticks li::before { content: ''; position: absolute; left: 1px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--ed-ink); border-bottom: 2px solid var(--ed-ink); transform: rotate(-45deg); }
.ed-btn { margin-top: 28px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ed-ink); color: var(--ed-on-ink); font-size: 15px; font-weight: 600; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); }
.ed-btn:hover { opacity: .9; }
.ed-btn .icon { width: 16px; height: 16px; }

.ed-shot { position: relative; isolation: isolate; overflow: hidden; border-radius: 25px; padding: 48px 44px; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ed-grad); }
.ed-shot::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(var(--ed-dots) 1.1px, transparent 1.2px); background-size: 18px 18px; }

/* Cartes d'interface */
.ui { position: relative; width: 100%; max-width: 440px; background: var(--surface); color: var(--text); border-radius: 16px; padding: 20px; box-shadow: var(--ed-shadow); font-size: 13px; line-height: 1.45; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.ui .icon { width: 14px; height: 14px; }
.ui small { font-size: 11.5px; color: var(--text-3); }
.ui-grow { flex: 1; min-width: 0; }
.ui-mute { color: var(--text-3); font-size: 12px; }
.ui-top { display: flex; align-items: center; gap: 11px; }
.ui-top b { display: block; font-size: 14px; font-weight: 640; letter-spacing: -.01em; }
.ui-tile { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); }
.ui-tile img { width: 20px; height: 20px; }
.ui-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.ui-ico .icon { width: 16px; height: 16px; }
.ui-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--bg-sunken); color: var(--text-2); font-size: 12px; font-weight: 560; }
.ui-flame { background: var(--flame-soft); color: var(--flame); }
.ui-flame .icon { fill: var(--flame); }
.ui-bar { height: 6px; border-radius: 9px; background: var(--bg-sunken); overflow: hidden; }
.ui-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand-grad); }
.ui-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--bg-sunken); font-size: 12px; color: var(--text-2); }
.ui-tabs span { flex: 1; text-align: center; padding: 5px 0; border-radius: 7px; white-space: nowrap; }
.ui-tabs .on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.ui-lesson h4 { font-size: 14.5px; font-weight: 650; margin: 2px 0 6px; }
.ui-lesson p { color: var(--text-2); }
.ui mark { background: linear-gradient(transparent 45%, rgba(255,214,10,.55) 45%); color: inherit; padding: 0 1px; }
.ui-box { margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, #4f7cff 35%, transparent); background: color-mix(in srgb, #4f7cff 8%, transparent); }
.ui-box small { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 10px; color: #4f7cff; margin-bottom: 2px; }
.ui-box code { font-family: var(--mono); font-size: 13px; }
.ui-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.ui-lines i { height: 7px; border-radius: 6px; background: var(--bg-sunken); }
.ui-float { position: relative; z-index: 1; width: auto; max-width: none; flex-direction: row; align-items: center; gap: 8px; padding: 10px 14px; margin: -18px -16px 0 auto; transform: rotate(2deg); font-weight: 600; font-size: 12.5px; border-radius: 12px; }
.ui-float .icon { color: var(--success); }
.ui-hl { width: 14px; height: 14px; border-radius: 4px; background: rgba(255,214,10,.8); }

.ui-kicker { text-transform: uppercase; letter-spacing: .06em; font-size: 10px !important; font-weight: 600; }
.ui-sh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--text); margin-top: -8px; }
.ui-sh-head h4 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.ui-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; font-size: 10px; color: var(--text-3); }
.ui-legend span::before { content: ''; display: inline-block; width: 9px; height: 5px; border-radius: 2px; margin-right: 4px; vertical-align: middle; background: var(--k); }
.k-def { --k: rgba(255,214,10,.7); } .k-for { --k: rgba(79,124,255,.45); } .k-met { --k: rgba(18,184,134,.45); } .k-cmp { --k: rgba(240,70,143,.4); }
.ui-sh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.ui-sh-item mark { background: linear-gradient(transparent 45%, var(--k) 45%); font-weight: 650; font-size: 12.5px; }
.ui-sh-item p { color: var(--text-2); font-size: 12px; margin-top: 3px; }
.ui-sh-foot { display: flex; justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--border); opacity: .8; }
.ui-sh-foot img { height: 14px; width: auto; }

.ui-q { font-size: 15px; font-weight: 640; letter-spacing: -.01em; }
.ui-opts { display: flex; flex-direction: column; gap: 7px; }
.ui-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-strong, var(--border)); color: var(--text-2); }
.ui-opt span { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-sunken); font-size: 11px; font-weight: 650; }
.ui-opt.ok { border-color: color-mix(in srgb, var(--success) 55%, transparent); background: color-mix(in srgb, var(--success) 9%, transparent); color: var(--text); font-weight: 600; }
.ui-opt.ok span { background: var(--success); color: #fff; }
.ui-opt .icon { margin-left: auto; color: var(--success); }
.ui-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-3); }
.ui-good { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-weight: 600; }

.ui-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-weight: 600; font-size: 13px; }
.ui-week span { padding: 6px 0; border-radius: 9px; display: flex; flex-direction: column; }
.ui-week small { font-size: 10px; font-weight: 500; }
.ui-week .on { background: var(--brand-grad); color: #fff; }
.ui-week .on small { color: rgba(255,255,255,.75); }
.ui-rows { display: flex; flex-direction: column; gap: 6px; }
.ui-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--bg-sunken); }
.ui-row.done .ui-grow { color: var(--text-3); text-decoration: line-through; }
.ui-time { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.ui-vbar { width: 3px; height: 18px; border-radius: 3px; }
.ui-tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-strong, var(--text-3)); display: grid; place-items: center; }
.done .ui-tick { background: var(--accent); border-color: var(--accent); color: #fff; }
.done .ui-tick .icon { width: 11px; height: 11px; stroke-width: 3; }
.ui-exam { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.ui-exam b { display: block; margin-bottom: 7px; }
.ui-exam small { display: block; margin-top: 5px; }
.ui-days { padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-weight: 650; white-space: nowrap; }

.ui-subjs { display: flex; flex-direction: column; gap: 11px; }
.ui-subj { display: flex; align-items: center; gap: 11px; }
.ui-subj .ui-tile { width: 30px; height: 30px; border-radius: 9px; }
.ui-subj .ui-tile img { width: 17px; height: 17px; }
.ui-subj-t { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 12.5px; }
.ui-subj-t b { font-weight: 580; }
.ui-subj-t span { color: var(--text-2); font-weight: 600; }

.ui-msgs { display: flex; flex-direction: column; gap: 10px; }
.ui-msg { display: flex; gap: 10px; }
.ui-msg b { font-size: 12.5px; }
.ui-msg p { color: var(--text-2); }
.ui-av { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 650; font-size: 12px; }
.ui-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.ui-duel { border-radius: 12px; padding: 10px; background: var(--bg-sunken); text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.ui-duel div { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ui-duel b { font-size: 22px; font-weight: 700; }
.ui-duel span { font-size: 10px; font-weight: 700; color: var(--text-3); }
.ui-lbs { display: flex; flex-direction: column; gap: 4px; }
.ui-lb { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 8px; }
.ui-lb.me { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }

/* FAQ */
.ed-faq-head { text-align: center; margin-bottom: 40px; }
.ed-badge { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 36px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 550; margin-bottom: 22px; }
.ed-badge .icon { width: 16px; height: 16px; }
.ed-faq-head h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 620; }
.ed-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.ed-qa { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ed-qa summary { display: flex; align-items: center; gap: 18px; padding: 16px 56px 16px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; line-height: 1.35; position: relative; }
.ed-qa summary::-webkit-details-marker { display: none; }
.ed-qa summary i { font-style: normal; font-weight: 400; font-size: 14px; color: var(--text-3); width: 10px; flex: none; }
.ed-qa summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); background: linear-gradient(var(--text), var(--text)) center/15px 1.6px no-repeat, linear-gradient(var(--text), var(--text)) center/1.6px 15px no-repeat; transition: transform .3s ease; }
.ed-qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ed-qa-body { padding: 0 56px 18px 50px; }
.ed-qa-body p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.ed-qa-body b { color: var(--text); font-weight: 600; }

/* Appel final */
.ed-final-wrap { padding: 140px 15px 0; }
.ed-final { position: relative; isolation: isolate; overflow: hidden; max-width: 1410px; margin: 0 auto; border-radius: 30px; padding: 110px 20px; text-align: center; background: linear-gradient(#faf8fd 0%, #fcf2f4 32%, #ecd2f2 65%, #8a7bff 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ed-final { background: linear-gradient(#1a1531 0%, #211a42 32%, #3a2a86 65%, #7a63ff 100%); } }
:root[data-theme="dark"] .ed-final { background: linear-gradient(#1a1531 0%, #211a42 32%, #3a2a86 65%, #7a63ff 100%); }
.ed-final::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(var(--ed-dots) 1.1px, transparent 1.2px); background-size: 18px 18px; }
.ed-final h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 620; }
.ed-final p { color: var(--text-2); font-size: 16px; margin: 16px auto 0; max-width: 520px; }
.ed-final .ed-btn { margin-top: 30px; }
.l-foot { margin-top: 60px; }

@media (max-width: 1100px) {
  .ed-feats { gap: 110px; } .ed-feat { gap: 52px; } .ed-text h2 { font-size: 34px; }
  .ed-shot { padding: 40px 32px; min-height: 420px; }
}
@media (max-width: 900px) {
  .ed-section { padding-top: 100px; }
  .ed-feat { grid-template-columns: 1fr; gap: 34px; max-width: 640px; margin-inline: auto; }
  .ed-feat--rev .ed-text { order: 0; }
  .br-desk { display: none; }
}
@media (max-width: 560px) {
  .ed-section { padding-top: 80px; } .ed-feats { gap: 80px; }
  .ed-text h2 { font-size: 27px; line-height: 1.15; letter-spacing: -.03em; }
  .ed-lead { font-size: 15.5px; }
  .ed-shot { padding: 28px 14px; min-height: 0; border-radius: 20px; }
  .ui { padding: 16px; }
  .ui-tabs span:nth-child(n+5) { display: none; }
  .ui-sh-grid { grid-template-columns: 1fr; }
  .ui-float { margin-right: -4px; }
  .ed-qa summary { font-size: 15px; padding-left: 18px; gap: 14px; }
  .ed-qa-body { padding: 0 20px 16px 42px; }
  .ed-final { padding: 80px 18px; border-radius: 22px; }
  .ed-final-wrap { padding-top: 90px; }
}

/* ---------- Landing v3 (05/10) : sections variées et animées ---------- */
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.lp-head h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 620; }
.lp-head p { color: var(--text-2); font-size: 16.5px; line-height: 1.6; margin-top: 16px; }
.lp-head p b { color: var(--text); font-weight: 600; }

/* Vitrine d'une Week */
.lp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.lp-tab { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.lp-tab .icon { width: 16px; height: 16px; }
.lp-tab:hover { color: var(--text); border-color: var(--border-strong); }
.lp-tab.on { background: var(--ed-ink); color: var(--ed-on-ink); border-color: transparent; }
.lp-stage { min-height: 520px; padding: 56px 40px; }
.lp-win { max-width: 760px; min-height: 380px; padding: 24px 26px; gap: 18px; font-size: 14px; }
.lp-win-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.lp-win-head b { display: block; font-size: 15px; font-weight: 640; }
.lp-pane { display: none; position: relative; }
.lp-pane.on { display: block; animation: lp-pane .45s var(--ease) both; }
@keyframes lp-pane { from { opacity: 0; transform: translateY(10px); } }
.lp-pane h4 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.lp-pane > p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.lp-pane .ui-sh-grid { margin-top: 16px; }
.lp-pane .ui-sh-item mark { font-size: 14px; } .lp-pane .ui-sh-item p { font-size: 13px; }
.lp-hl-chip { position: absolute; right: -6px; bottom: -8px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: var(--surface); box-shadow: var(--ed-shadow); border: 1px solid var(--border); font-weight: 600; font-size: 12.5px; transform: rotate(2deg); animation: lp-pop .5s .6s var(--ease) both; }
.lp-hl-chip .icon { color: var(--success); width: 14px; height: 14px; }
.lp-pane.on mark { background-size: 100% 100%; animation: lp-mark 1s .35s var(--ease) both; }
.lp-pane mark { background: linear-gradient(transparent 45%, rgba(255,214,10,.55) 45%) no-repeat 0 0 / 0 100%; }
@keyframes lp-mark { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
@keyframes lp-pop { from { opacity: 0; transform: rotate(2deg) scale(.8) translateY(8px); } }
.lp-sum { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-sum li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; padding: 12px 14px; border-radius: 12px; background: var(--bg-sunken); animation: lp-in .45s var(--d) var(--ease) both; }
.lp-sum span { width: 24px; height: 24px; border-radius: 7px; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 12px; }
@keyframes lp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lp-mm { position: relative; aspect-ratio: 480 / 330; max-height: 330px; margin: 0 auto; }
.lp-mm svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-mm path { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; }
.lp-pane.on .lp-mm path { animation: lp-draw .9s var(--d) var(--ease) forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
.lp-mm-c, .lp-mm-n { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; border-radius: 999px; font-weight: 600; }
.lp-mm-c { left: 50%; top: 50%; padding: 12px 20px; background: var(--brand-grad); color: #fff; font-size: 16px; box-shadow: 0 10px 30px -10px rgba(108,71,255,.7); }
.lp-mm-n { padding: 8px 14px; background: var(--surface); border: 1px solid var(--border-strong); font-size: 13.5px; box-shadow: var(--shadow-sm); }
.lp-pane.on .lp-mm-n { animation: lp-node .45s var(--d) var(--ease) both; }
@keyframes lp-node { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }
.lp-tl { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 60px; }
.lp-tl::before { content: ''; position: absolute; left: 0; right: 0; top: 43px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6c47ff, #b14dff); transform-origin: left; }
.lp-pane.on .lp-tl::before { animation: lp-grow 1.1s var(--ease) both; }
@keyframes lp-grow { from { transform: scaleX(0); } }
.lp-tl-e { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 4px; }
.lp-tl-e b { font-size: 19px; font-weight: 700; color: var(--accent-text); }
.lp-tl-e i { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.lp-tl-e span { font-size: 13px; color: var(--text-2); line-height: 1.35; }
.lp-pane.on .lp-tl-e { animation: lp-in .5s calc(var(--d) + 200ms) var(--ease) both; }
.lp-card { display: block; width: min(420px, 100%); height: 210px; margin: 10px auto 0; perspective: 1200px; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.lp-card-in { position: relative; display: block; width: 100%; height: 100%; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.lp-card.flip .lp-card-in { transform: rotateY(180deg); }
.lp-card-f, .lp-card-b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 19px; font-weight: 650; text-align: center; line-height: 1.35; }
.lp-card-f { background: var(--bg-sunken); border: 1px solid var(--border); }
.lp-card-b { background: var(--brand-grad); color: #fff; transform: rotateY(180deg); font-weight: 500; }
.lp-card-f small, .lp-card-b small { position: absolute; top: 14px; left: 16px; font-size: 11.5px; font-weight: 600; opacity: .7; color: inherit; }
.lp-card-f > span, .lp-card-b > span { display: block; }
.lp-card-f em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--text-3); }
.lp-card-btns { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.lp-card-btns span { padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--bg-sunken); color: var(--text-2); }
.lp-card-btns span:nth-child(1) { color: var(--danger); } .lp-card-btns span:nth-child(2) { color: var(--accent-text); } .lp-card-btns span:nth-child(3) { color: var(--success); }
.lp-pane .ui-opts { margin-top: 12px; } .lp-pane .ui-foot { margin-top: 14px; }
.lp-pane.on .ui-opt.ok { animation: lp-ok .5s .9s var(--ease) both; }
@keyframes lp-ok { from { border-color: var(--border); background: transparent; } }

/* Lignes animées (matières, plan, communauté, Focus) */
.lp-js .ed-shot .ui-subj, .lp-js .ed-shot .ui-row, .lp-js .ed-shot .ui-msg, .lp-js .ed-shot .ui-lb, .lp-js .ed-shot .lp-typing { opacity: 0; }
.ed-shot.go .ui-subj, .ed-shot.go .ui-row, .ed-shot.go .ui-lb { animation: lp-in .55s calc(var(--d) + 250ms) var(--ease) both; }
.lp-js .ed-shot .ui-bar span { transform: scaleX(0); transform-origin: left; }
.ed-shot.go .ui-bar span { animation: lp-grow-to 1.3s .5s var(--ease) forwards; }
.ed-shot.go .ui-subj .ui-bar span { animation-delay: calc(var(--d, 0ms) + 450ms); }
@keyframes lp-grow-to { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lp-strike { background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1.5px; }
.lp-plan .ui-row.done .ui-grow { text-decoration: none; }
.lp-plan .ui-row.done .lp-strike { background-size: 100% 1.5px; }
.ed-shot.go .ui-row.done .lp-strike { animation: lp-strike .5s calc(var(--d) + 1300ms) var(--ease) both; }
@keyframes lp-strike { from { background-size: 0 1.5px; } }
.ed-shot.go .ui-row.done .ui-tick { animation: lp-tick .4s calc(var(--d) + 1200ms) var(--ease) both; }
@keyframes lp-tick { from { background: transparent; border-color: var(--text-3); transform: scale(.7); } }
.lp-plan .lp-drag .ui-tick { border: 0; color: var(--text-3); }
.ed-shot.go .lp-drag { animation: lp-in .55s calc(var(--d) + 250ms) var(--ease) both, lp-lift 3.6s 2.6s var(--ease) infinite; }
@keyframes lp-lift { 0%, 55%, 100% { transform: none; box-shadow: none; } 20%, 40% { transform: translate(6px, -6px) rotate(-1deg); box-shadow: 0 14px 30px -12px rgba(40,30,110,.45); background: var(--surface); } }
.ed-shot.go .ui-week .on { animation: lp-pulse 2.4s 1s ease-in-out infinite; }
@keyframes lp-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); } }
.ed-shot.go .ui-msg { animation: lp-msg .5s var(--d) var(--ease) both; }
@keyframes lp-msg { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.lp-typing { display: flex; align-items: center; gap: 10px; }
.lp-typing .ui-av { width: 24px; height: 24px; font-size: 11px; }
.lp-dots { display: inline-flex; gap: 4px; padding: 9px 12px; border-radius: 14px; background: var(--bg-sunken); }
.lp-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: lp-dot 1.2s infinite ease-in-out; }
.lp-dots i:nth-child(2) { animation-delay: .15s; } .lp-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes lp-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.ed-shot.go .lp-typing { animation: lp-in .4s 3.2s var(--ease) both; }
.ed-shot.go .ui-lb.me { animation: lp-in .55s calc(var(--d) + 250ms) var(--ease) both, lp-glow 2.6s 2s ease-in-out infinite; }
@keyframes lp-glow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); } }
.lp-live .icon { color: var(--success); animation: lp-blink 1.6s infinite; }
@keyframes lp-blink { 50% { opacity: .35; } }

/* Focus en miniature */
.lp-focus { align-items: center; gap: 18px; padding: 26px; }
.lp-fring { --p: 99.9; position: relative; width: 210px; aspect-ratio: 1; }
.lp-fring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.lp-fring circle { fill: none; stroke-width: 7; }
.lp-ftrack { stroke: color-mix(in srgb, var(--accent) 16%, transparent); }
.lp-fprog { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 75%, transparent)); transition: stroke-dashoffset 1s linear; }
.lp-fv { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lp-fv span { font-size: 13px; color: var(--text-2); }
.lp-fv b { font-size: 40px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.lp-fv small { font-size: 12px !important; font-weight: 700; color: var(--accent-text) !important; text-transform: uppercase; }
.lp-fgoal { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg-sunken); font-size: 12.5px; font-weight: 550; color: var(--text-2); }
.lp-fgoal .icon { color: var(--accent-text); }
.lp-ambs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.lp-amb { position: relative; height: 78px; border-radius: 11px; overflow: hidden; isolation: isolate; border: 1px solid var(--border); background: var(--art) center / cover, #15122a; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 8px; transition: box-shadow .3s, border-color .3s; }
.lp-amb::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(10,8,22,.05) 30%, rgba(10,8,22,.82) 85%); }
.lp-amb .icon { position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; }
.lp-amb em { font-style: normal; font-size: 11.5px; font-weight: 500; }
.lp-amb.on { border: 2px solid #8b6dff; box-shadow: 0 0 16px -4px rgba(139,109,255,.75); }
.lp-amb.on em { color: #c9baff; }

/* Daily Revision : grille */
.lp-bento { display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.lp-b { position: relative; overflow: hidden; border-radius: 22px; padding: 26px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.lp-b h3 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; margin-top: auto; padding-top: 18px; }
.lp-b p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
.lp-b p b { color: var(--text); font-weight: 600; }
.lp-b-streak { grid-row: span 2; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--flame) 16%, var(--surface)), var(--surface) 65%); }
.lp-b-smart { grid-column: span 2; }
.lp-b-streak .lp-streak { margin-top: auto; } .lp-b-streak .lp-miles { margin-bottom: auto; }
.lp-streak { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 26px 0 10px; }
.lp-flame { width: 96px; height: 120px; filter: drop-shadow(0 10px 24px rgba(255,106,43,.45)); transform-origin: 50% 90%; }
.lp-b.go .lp-flame { animation: lp-flicker 2.2s ease-in-out infinite; }
.lp-b.go .lp-flame .f-in { transform-origin: 50% 90%; animation: lp-flicker 1.4s ease-in-out infinite reverse; }
@keyframes lp-flicker { 0%, 100% { transform: scale(1) rotate(0); } 25% { transform: scale(1.04, .97) rotate(-2deg); } 50% { transform: scale(.97, 1.05) rotate(1.5deg); } 75% { transform: scale(1.02) rotate(-1deg); } }
.lp-streak b { display: block; font-size: 78px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-streak span { color: var(--text-2); font-size: 14px; }
.lp-miles { display: flex; justify-content: space-between; position: relative; margin: 22px 4px 0; }
.lp-miles::before { content: ''; position: absolute; left: 14px; right: 14px; top: 14px; height: 2px; background: var(--border-strong); }
.lp-miles > span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-3); }
.lp-miles > span > i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 650; font-size: 12px; background: var(--bg-sunken); border: 1px solid var(--border); color: var(--text-2); }
.lp-miles > span.on > i { background: var(--brand-grad); color: #fff; border-color: transparent; }
.lp-miles .icon { width: 14px; height: 14px; stroke-width: 3; }
.lp-js .lp-b .lp-miles > span.on > i { background: var(--bg-sunken); color: transparent; }
.lp-b.go .lp-miles > span.on > i { animation: lp-mile .45s calc(var(--d) + 900ms) var(--ease) forwards; }
@keyframes lp-mile { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: none; background: var(--brand-grad); color: #fff; border-color: transparent; } }
.lp-curve { position: relative; height: 150px; border-radius: 14px; background: var(--bg-sunken); padding: 16px 18px; }
.lp-curve svg { width: 100%; height: 100%; overflow: visible; }
.lp-curve path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.lp-curve .c-base { stroke: var(--text-3); stroke-dasharray: 4 6; opacity: .6; }
.lp-curve .c-1 { stroke: var(--accent); stroke-dasharray: 900; stroke-dashoffset: 900; }
.lp-b.go .lp-curve .c-1 { animation: lp-draw 2.2s .4s var(--ease) forwards; }
.lp-curve circle { fill: var(--accent); opacity: 0; }
.lp-b.go .lp-curve circle { animation: lp-fade .3s 1.2s forwards; } .lp-b.go .lp-curve circle + circle { animation-delay: 1.9s; }
@keyframes lp-fade { to { opacity: 1; } }
.lp-curve-l { position: absolute; top: 14px; right: 18px; font-size: 11.5px; font-weight: 600; color: var(--accent-text); }
.lp-speed { --p: 100; position: relative; width: 132px; height: 132px; margin: 4px auto 0; display: grid; place-items: center; }
.lp-speed svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.lp-speed circle { fill: none; stroke: var(--bg-sunken); stroke-width: 7; }
.lp-speed .s-prog { stroke: var(--flame); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); transition: stroke-dashoffset 1s linear; }
.lp-speed-t { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-speed-n { position: absolute; bottom: 30px; font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.lp-miss { display: flex; flex-direction: column; gap: 8px; }
.lp-mis { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: var(--bg-sunken); font-size: 13.5px; font-weight: 550; }
.lp-mis-i { position: relative; width: 22px; height: 22px; flex: none; }
.lp-mis-i .icon { position: absolute; inset: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; stroke-width: 3; transition: opacity .35s, transform .35s; }
.lp-mis-i .icon:first-child { background: var(--danger); }
.lp-mis-i .icon:last-child { background: var(--success); opacity: 0; transform: scale(.5); }
.lp-b.go .lp-mis-i .icon:first-child { animation: lp-out .35s var(--d) forwards; }
.lp-b.go .lp-mis-i .icon:last-child { animation: lp-swap .35s var(--d) forwards; }
@keyframes lp-out { to { opacity: 0; transform: scale(.5); } }
@keyframes lp-swap { to { opacity: 1; transform: none; } }

/* Panic Mode : bandeau sombre */
.lp-panic-wrap { padding-left: 15px; padding-right: 15px; }
.lp-panic { position: relative; overflow: hidden; isolation: isolate; max-width: 1410px; margin: 0 auto; border-radius: 30px; padding: 90px max(40px, calc((100% - 1120px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; color: #f6f3ff; background: radial-gradient(90% 120% at 100% 0%, #5a1a3c 0%, transparent 55%), radial-gradient(80% 100% at 0% 100%, #2a1a6e 0%, transparent 60%), #0e0a1c; }
.lp-panic::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.2px); background-size: 18px 18px; }
.lp-panic-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(255,77,94,.16); color: #ff8a96; font-size: 13.5px; font-weight: 650; }
.lp-panic-badge .icon { width: 16px; height: 16px; }
.lp-panic.go .lp-panic-badge .icon { animation: lp-blink 1.1s infinite; }
.lp-panic h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.04em; font-weight: 640; margin: 22px 0 18px; }
.lp-panic p { color: rgba(246,243,255,.72); font-size: 16px; line-height: 1.65; max-width: 470px; }
.lp-panic p b { color: #fff; font-weight: 600; }
.lp-panic-btn { background: #fff; color: #120c24; }
.lp-panic-card { border-radius: 20px; padding: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lp-count { text-align: center; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lp-count small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; font-weight: 600; color: #ff8a96; }
.lp-count b { display: block; font-size: 54px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.lp-count span { font-size: 13.5px; color: rgba(246,243,255,.6); }
.lp-phases { display: flex; flex-direction: column; gap: 8px; }
.lp-ph { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 14px; font-weight: 550; isolation: isolate; }
.lp-ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(139,109,255,.45), rgba(240,70,143,.35)); transform: scaleX(0); transform-origin: left; }
.lp-panic.go .lp-ph::before { animation: lp-grow-to .7s calc(var(--d) + 400ms) var(--ease) forwards; }
.lp-ph-n { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 700; }
.lp-ph-m { font-size: 12.5px; color: rgba(246,243,255,.65); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-b-streak { grid-row: auto; grid-column: span 2; }
  .lp-panic { grid-template-columns: 1fr; gap: 40px; padding: 64px 28px; }
  .lp-stage { padding: 36px 20px; }
}
@media (max-width: 560px) {
  .lp-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; }
  .lp-tabs::-webkit-scrollbar { display: none; }
  .lp-tab { flex: none; height: 36px; padding: 0 13px; font-size: 13px; }
  .lp-stage { padding: 22px 12px; min-height: 0; }
  .lp-win { padding: 18px 16px; min-height: 360px; }
  .lp-tl { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .lp-tl::before { left: 7px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; }
  .lp-tl-e { flex-direction: row; text-align: left; gap: 12px; padding: 0; }
  .lp-tl-e b { order: 2; font-size: 15px; width: 44px; } .lp-tl-e i { order: 1; flex: none; } .lp-tl-e span { order: 3; }
  .lp-mm-n { font-size: 11px; padding: 6px 9px; } .lp-mm-c { font-size: 13px; padding: 9px 14px; }
  .lp-hl-chip { right: 0; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-b-streak, .lp-b-smart { grid-column: auto; }
  .lp-streak b { font-size: 60px; } .lp-flame { width: 76px; height: 96px; }
  .lp-panic-wrap { padding-left: 8px; padding-right: 8px; }
  .lp-panic { padding: 52px 20px; border-radius: 22px; }
  .lp-count b { font-size: 42px; }
  .lp-ambs { gap: 6px; } .lp-amb { height: 66px; } .lp-amb em { font-size: 10px; }
  .lp-fring { width: 180px; }
}
@media (prefers-reduced-motion: reduce) { .lp-pane.on, .lp-pane.on * { animation: none !important; } .lp-mm path { stroke-dashoffset: 0; } }

/* ---------- Vitrine d'une Week, version page de l'app (05/10, v4) : bandeau toujours sombre ---------- */
.lp-tool { padding-left: 15px; padding-right: 15px; }
.lp-band { --surface: #16132a; --bg-sunken: #0d0b1a; --text: #f3f1ff; --text-2: #b2acd2; --text-3: #7d779e; --border: rgba(200,190,255,.09); --border-strong: rgba(200,190,255,.16); --accent: #8b6dff; --accent-soft: rgba(139,109,255,.16); --accent-text: #b9a6ff; --ed-ink: #f3f1ff; --ed-on-ink: #0d0b17; --success: #2fd39a;
  position: relative; overflow: hidden; isolation: isolate; max-width: 1410px; margin: 0 auto; border-radius: 30px; padding: 100px max(24px, calc((100% - 1160px) / 2)) 90px; color: var(--text);
  background: radial-gradient(70% 60% at 50% 0%, rgba(124,92,255,.32), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(177,77,255,.18), transparent 70%), #0c0a18; }
.lp-band::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.2px); background-size: 18px 18px; mask-image: linear-gradient(#000, transparent 70%); -webkit-mask-image: linear-gradient(#000, transparent 70%); }
.lp-band .lp-head { margin-bottom: 48px; }
.lp-band .ed-badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--text); box-shadow: none; }
.lp-wk { border-radius: 22px; border: 1px solid var(--border-strong); background: rgba(22,19,42,.75); box-shadow: 0 40px 100px -40px rgba(108,71,255,.55); padding: 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lp-stage { min-height: 0; padding: 18px; }
.lp-wk-banner { position: relative; height: 104px; border-radius: 14px; border: 1px solid var(--border); padding: 0 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: var(--banner) right center / auto 100% no-repeat, linear-gradient(90deg, #110e22 40%, #1a1440); transition: background .4s; overflow: hidden; }
.lp-wk-banner small { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2); }
.lp-wk-banner small .icon { width: 14px; height: 14px; }
.lp-wk-banner b { font-size: 26px; font-weight: 650; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.lp-wk-body { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.lp-wk-nav { display: flex; flex-direction: column; gap: 4px; }
.lp-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%; height: auto; padding: 11px 14px; border-radius: 12px; border: 0; background: transparent; color: var(--text-2); text-align: left; font: inherit; cursor: pointer; transition: background .2s, color .2s; }
.lp-tab:hover { background: rgba(255,255,255,.04); color: var(--text); border: 0; }
.lp-tab.on { background: linear-gradient(90deg, rgba(139,109,255,.24), rgba(139,109,255,.08)); color: var(--text); }
.lp-tab.on::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--accent); }
.lp-tab-i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); }
.lp-tab.on .lp-tab-i { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px rgba(139,109,255,.9); }
.lp-tab-i .icon { width: 17px; height: 17px; }
.lp-tab-t { display: flex; flex-direction: column; min-width: 0; }
.lp-tab-t b { font-size: 14.5px; font-weight: 600; }
.lp-tab-t small { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.lp-stage.auto .lp-tab.on .lp-tab-bar { animation: lp-tabbar 6s linear forwards; }
@keyframes lp-tabbar { to { transform: scaleX(1); } }
.lp-wk .lp-win { max-width: none; min-height: 470px; border-radius: 16px; border: 1px solid var(--border); box-shadow: none; padding: 30px 32px; background: var(--surface); }
.lp-wk .lp-hl-chip { right: 0; bottom: 0; }
.lp-wk .lp-tl { margin-top: 90px; }
.lp-wk .lp-card { margin-top: 40px; }
.lp-wk .lp-mm { margin-top: 10px; }

/* ---------- Matières : cartes illustrées, une carte à la fois au premier plan ---------- */
.ed-shot--subjects { padding: 40px 34px; }
.lp-sg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 480px; }
.lp-sc { position: relative; height: 168px; border-radius: 16px; overflow: hidden; isolation: isolate; background: var(--art) center 30% / cover no-repeat, #15122a; border: 1px solid rgba(255,255,255,.1); color: #fff; box-shadow: 0 18px 40px -22px rgba(30,20,90,.6); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.lp-sc::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(12,9,26,0) 25%, rgba(12,9,26,.92) 78%); }
.lp-sc-b { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.lp-sc-b b { display: block; font-size: 13px; font-weight: 650; line-height: 1.2; margin-bottom: 8px; }
.lp-sc-row { display: flex; align-items: center; gap: 7px; }
.lp-sc-row .ui-bar { flex: 1; height: 5px; background: rgba(255,255,255,.14); }
.lp-sc-row em { font-style: normal; font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.lp-sc-chip { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--c); font-size: 10.5px; font-weight: 700; opacity: 0; transform: translateY(-6px) scale(.9); transition: opacity .35s, transform .35s var(--ease); }
.lp-sc-chip .icon { width: 11px; height: 11px; stroke-width: 3; }
.lp-sc.hot { transform: translateY(-8px) scale(1.04); border-color: var(--c); box-shadow: 0 24px 48px -18px color-mix(in srgb, var(--c) 70%, transparent), 0 0 0 1px var(--c); z-index: 1; }
.lp-sc.hot .lp-sc-chip { opacity: 1; transform: none; }
.lp-sc.hot .ui-bar span { filter: brightness(1.25); }
.lp-js .ed-shot .lp-sc { opacity: 0; }
.ed-shot.go .lp-sc { animation: lp-card-in .6s calc(var(--d) + 200ms) var(--ease) both; }
@keyframes lp-card-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
.ed-shot.go .lp-sc .ui-bar span { animation-delay: calc(var(--d) + 650ms); }

@media (max-width: 900px) {
  .lp-band { padding: 70px 18px 60px; }
  .lp-wk-body { grid-template-columns: 1fr; }
  .lp-wk-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .lp-wk-nav::-webkit-scrollbar { display: none; }
  .lp-tab { width: auto; flex: none; padding: 8px 12px; }
  .lp-tab-t small { display: none; }
  .lp-tab-i { width: 28px; height: 28px; }
  .lp-tab.on::before { left: 8px; right: 8px; top: auto; bottom: 0; width: auto; height: 2px; }
}
@media (max-width: 560px) {
  .lp-tool { padding-left: 8px; padding-right: 8px; }
  .lp-band { border-radius: 22px; }
  .lp-wk { padding: 10px; border-radius: 18px; }
  .lp-wk-banner { height: 84px; padding: 0 16px; background-size: auto 100%; }
  .lp-wk-banner b { font-size: 19px; }
  .lp-wk .lp-win { padding: 20px 16px; min-height: 400px; }
  .lp-wk .lp-tl { margin-top: 10px; }
  .lp-sg { gap: 8px; } .lp-sc { height: 128px; border-radius: 12px; }
  .lp-sc-b { left: 8px; right: 8px; bottom: 8px; } .lp-sc-b b { font-size: 11.5px; }
  .ed-shot--subjects { padding: 30px 12px; }
}
.ed-section.lp-tool { padding-top: 56px; }
@media (max-width: 560px) { .ed-section.lp-tool { padding-top: 36px; } }
@media (max-width: 560px) { .lp-wk .lp-win { min-height: 340px; } }
/* Titre du hero sur deux lignes (05/10) : chaque phrase tient sur une ligne dès 640 px. */
@media (min-width: 640px) {
  .hero-text { max-width: 1040px; }
  .hero h1 { font-size: clamp(38px, 6.2vw, 72px); }
  .hero h1 .soft { white-space: nowrap; }
}
@media (max-width: 560px) { .nav-opt { display: none; } }

/* ---------- Tarifs (05/10) : Starter / Premium (mise en avant, sombre) / Unlimited ---------- */
.pr-launch { display: flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; max-width: 100%; margin: -8px auto 44px; padding: 9px 16px; border-radius: 99px; background: var(--success-soft); color: var(--success); font-size: 13.5px; text-align: left; }
.pr-launch b { font-weight: 650; }
.pr-launch .icon { width: 17px; height: 17px; flex: none; }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pr-top h3 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.pr-pop { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 620; box-shadow: 0 6px 16px -6px rgba(124,92,255,.8); }
.pr-pop .icon { width: 13px; height: 13px; }
.pr-price { display: flex; align-items: baseline; gap: 4px; margin-top: 22px; }
.pr-price b { font-size: 48px; font-weight: 680; letter-spacing: -.045em; line-height: 1; }
.pr-price small { font-size: 15px; color: var(--text-3); font-weight: 520; }
.pr-year { margin: 6px 0 0; font-size: 13px; color: var(--text-3); }
.pr-desc { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); min-height: 45px; }
.pr-cta { width: 100%; height: 48px; margin-top: 24px; border-radius: 13px; font-size: 15px; font-weight: 620; background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); box-shadow: var(--shadow-sm); }
.pr-cta:hover { background: var(--surface-hover); }
.pr-cta .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pr-cta:hover .icon { transform: translateX(3px); }
.pr-plus { margin-top: 28px; font-size: 13px; font-weight: 650; color: var(--text); }
.pr-feats { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 12px; }
.pr-starter .pr-feats { margin-top: 28px; }
.pr-feats li { display: flex; gap: 11px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.pr-feats li .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 3px; border-radius: 50%; stroke-width: 2.6; background: var(--accent-soft); color: var(--accent-text); }

/* Premium : carte sombre, légèrement plus haute, halo violet */
.pr-premium { --surface: #16132a; --text: #f3f1ff; --text-2: #b8b2d8; --text-3: #8a84ab; --border: rgba(200,190,255,.12); --accent-soft: rgba(139,109,255,.22); --accent-text: #c3b4ff;
  color: var(--text); border: 1px solid rgba(139,109,255,.45); margin: -14px 0;
  background: radial-gradient(90% 60% at 50% 0%, rgba(124,92,255,.38), transparent 70%), radial-gradient(70% 50% at 100% 100%, rgba(240,70,143,.16), transparent 70%), #0e0b1d;
  box-shadow: 0 40px 90px -30px rgba(108,71,255,.65); }
.pr-premium::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.2px); background-size: 18px 18px; mask-image: linear-gradient(#000, transparent 55%); -webkit-mask-image: linear-gradient(#000, transparent 55%); }
.pr-premium > * { position: relative; z-index: 1; }
.pr-premium .pr-cta { background: var(--brand-grad); border: 0; color: #fff; box-shadow: 0 10px 26px -10px rgba(124,92,255,.9), inset 0 1px 0 rgba(255,255,255,.2); }
.pr-premium .pr-cta:hover { filter: brightness(1.08); background: var(--brand-grad); }
/* Unlimited : liseré dégradé discret */
.pr-unlimited { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, rgba(124,92,255,.55), rgba(240,70,143,.4) 60%, var(--border)) border-box; border: 1px solid transparent; }
.pr-unlimited .pr-cta { background: var(--ed-ink); color: var(--ed-on-ink); border: 0; }
.pr-unlimited .pr-cta:hover { background: var(--ed-ink); opacity: .9; }

@media (max-width: 960px) {
  .pr-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pr-premium { margin: 0; }
  .pr-desc { min-height: 0; }
}
@media (max-width: 560px) { .pr-card { padding: 26px 22px; } .pr-launch { border-radius: 16px; } }

/* ---------- Page Pricing (05/10) : titre en h1, comparatif détaillé ---------- */
.lp-pricing-page { padding-top: 80px; }
.lp-head h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.045em; font-weight: 640; }
.lp-compare .lp-head { margin-bottom: 40px; }
.pc-wrap { border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow-x: auto; }
.pc { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.pc th, .pc td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.pc tbody tr:last-child th, .pc tbody tr:last-child td { border-bottom: 0; }
.pc th[scope="row"], .pc .pc-f { text-align: left; font-weight: 500; color: var(--text-2); width: 46%; }
.pc thead th { position: sticky; top: 0; background: var(--surface); padding: 22px 18px 18px; vertical-align: bottom; }
.pc .pc-f { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.pc-h b { display: block; font-size: 16px; font-weight: 650; color: var(--text); }
.pc-h small { display: block; margin-top: 3px; font-size: 13px; color: var(--text-3); font-weight: 520; }
.pc-h.pc-premium b { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc td:nth-child(3), .pc th.pc-premium { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.pc-cat th { text-align: left; padding: 22px 18px 10px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-text); background: none !important; }
.pc-cat:first-child th { padding-top: 14px; }
.pc-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }
.pc-yes .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.pc-no { display: inline-block; width: 12px; height: 2px; border-radius: 2px; background: var(--border-strong); vertical-align: middle; }
.pc-txt { font-size: 13px; font-weight: 620; color: var(--text); }
@media (max-width: 640px) {
  .lp-pricing-page { padding-top: 48px; }
  .pc { min-width: 0; font-size: 13px; table-layout: fixed; }
  .pc th, .pc td { padding: 11px 4px; }
  .pc th[scope="row"], .pc .pc-f, .pc-cat th { width: auto; padding-left: 14px; padding-right: 8px; }
  .pc thead th:not(.pc-f) { width: 66px; padding: 16px 2px 12px; }
  .pc-h b { font-size: 12px; } .pc-h small { font-size: 10.5px; }
  .pc-txt { font-size: 11px; }
  .pc-yes { width: 22px; height: 22px; }
  /* Téléphone : prix sur deux lignes (plus de « €14.99/mont » coupé) et en-tête des offres collé sous le menu
     pendant qu'on descend dans le tableau (overflow: clip ne crée pas de zone de défilement). */
  .pc-per { display: block; }
  .pc-wrap { overflow: clip; }
  .pc thead th { top: 64px; z-index: 2; box-shadow: 0 1px 0 var(--border); }
  .pc thead th.pc-premium { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
}

/* Mode sombre : le panneau « Your whole Week » se fond dans la page sur ses 4 côtés au lieu d’avoir des bords nets.
   Le dégradé passe sur un calque masqué qui part de la transparence ; la trame de points apparaît en fondu. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-band { background: none; }
  :root:not([data-theme="light"]) .lp-band::before { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: radial-gradient(75% 520px at 50% 300px, rgba(124,92,255,.36), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(177,77,255,.18), transparent 70%), var(--bg); -webkit-mask-image: linear-gradient(transparent, #000 280px, #000 calc(100% - 240px), transparent), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, #000 280px, #000 calc(100% - 240px), transparent), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); mask-composite: intersect; }
  :root:not([data-theme="light"]) .lp-band::after { -webkit-mask-image: linear-gradient(transparent, #000 240px, transparent 75%), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, #000 240px, transparent 75%), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); mask-composite: intersect; }
}
:root[data-theme="dark"] .lp-band { background: none; }
:root[data-theme="dark"] .lp-band::before { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: radial-gradient(75% 520px at 50% 300px, rgba(124,92,255,.36), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(177,77,255,.18), transparent 70%), var(--bg); -webkit-mask-image: linear-gradient(transparent, #000 280px, #000 calc(100% - 240px), transparent), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, #000 280px, #000 calc(100% - 240px), transparent), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); mask-composite: intersect; }
:root[data-theme="dark"] .lp-band::after { -webkit-mask-image: linear-gradient(transparent, #000 240px, transparent 75%), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, #000 240px, transparent 75%), linear-gradient(90deg, transparent, #000 180px, #000 calc(100% - 180px), transparent); mask-composite: intersect; }

/* ---------- Vidéo de présentation (Wistia), sous le hero ---------- */
.lp-video-wrap { padding: 20px 0 0; }
.lp-video { position: relative; overflow: hidden; isolation: isolate; width: 100%; margin: 0; border-radius: 0;
  padding: 190px max(24px, calc((100% - 1180px) / 2)) 200px; color: #f6f3ff; text-align: center;
  /* Halos placés loin des bords, et section fondue en haut et en bas dans le fond de la page (clair ou sombre) :
     pas de coupure nette avec le hero ni avec la section suivante. */
  background: radial-gradient(55% 45% at 50% 30%, #4b2bb8 0%, transparent 70%), radial-gradient(45% 45% at 92% 72%, #5a1a3c 0%, transparent 70%),
    radial-gradient(45% 45% at 8% 72%, #1d2a7a 0%, transparent 70%), #0e0a1c;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 170px, #000 calc(100% - 180px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 170px, #000 calc(100% - 180px), transparent 100%); }
.lp-video::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.2px); background-size: 18px 18px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 85%); }
.lp-video-head { max-width: 680px; margin: 0 auto; }
.lp-video-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgba(167,139,250,.16); border: 1px solid rgba(167,139,250,.3); color: #cdbcff; font-size: 13.5px; font-weight: 650; }
.lp-video-badge .icon { width: 15px; height: 15px; }
.lp-video-head h2 { margin: 18px 0 0; font-size: clamp(30px, 4.4vw, 52px); font-weight: 680; letter-spacing: -.04em; line-height: 1.05;
  background: linear-gradient(180deg, #fff 30%, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-video-head p { margin: 16px auto 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: rgba(246,243,255,.72); }
.lp-video-stage { position: relative; margin: 52px auto 0; max-width: 1120px; }
.lp-video-glow { position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px; filter: blur(60px); opacity: .75;
  background: conic-gradient(from 180deg at 50% 50%, #7c5cff, #ff5fa2, #4f7cff, #7c5cff); animation: lp-video-spin 14s linear infinite; }
@keyframes lp-video-spin { to { transform: rotate(1turn); } }
.lp-video-frame { position: relative; padding: 8px; border-radius: 24px; background: linear-gradient(140deg, rgba(255,255,255,.28), rgba(255,255,255,.06) 40%, rgba(167,139,250,.35));
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.lp-video-frame wistia-player { display: block; border-radius: 17px; overflow: hidden; background: #000; }
.lp-video-frame wistia-player[media-id='38dyc6iyjz']:not(:defined) { background: #000; display: block; padding-top: 56.25%; }
.lp-video-poster { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; border-radius: 17px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.lp-video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%;
  background: #6c47ff; color: #fff; box-shadow: 0 12px 40px -8px rgba(108,71,255,.8), 0 0 0 10px rgba(108,71,255,.18); transition: transform .2s ease; }
.lp-video-play .icon { width: 32px; height: 32px; margin-left: 4px; }
.lp-video-poster:hover .lp-video-play, .lp-video-poster:focus-visible .lp-video-play { transform: scale(1.08); }
.lp-video-poster:focus-visible { outline: 3px solid #a78bfa; outline-offset: 3px; }
.lp-video-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.lp-video-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 560;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(246,243,255,.86); }
.lp-video-chip .icon { width: 15px; height: 15px; color: #8ef0b4; }
@media (max-width: 640px) {
  .lp-video { padding: 120px 16px 120px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 calc(100% - 100px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 calc(100% - 100px), transparent 100%); }
  .lp-video-stage { margin-top: 32px; }
  .lp-video-frame { padding: 5px; border-radius: 16px; } .lp-video-frame wistia-player, .lp-video-poster { border-radius: 12px; }
  .lp-video-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .lp-video-play .icon { width: 26px; height: 26px; }
  .lp-video-head p { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .lp-video-glow { animation: none; } }

/* ---------- Vitrine d'une Week, v5 (05/10) : International Relations · Week 1, format 16:9 sur ordinateur ---------- */
/* Contenu généré par server/tools/landing_week_demo.py, animations pilotées par landing.js (classe .on des onglets). */
.wk-banner { background: linear-gradient(90deg, #0f0c22 30%, rgba(15,12,34,.2) 70%), var(--banner) right 30% / 62% auto no-repeat, #0f0c22; animation: wk-pan 26s ease-in-out infinite alternate; }
@keyframes wk-pan { from { background-position: 0 0, right 30%; } to { background-position: 0 0, right 60%; } }
.wk-min { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(10,8,24,.55); border: 1px solid var(--border-strong); font-size: 12.5px; color: var(--text-2); backdrop-filter: blur(6px); }
.wk-min .icon { width: 14px; height: 14px; }
.lp-pane .wk-rise, .wk-pts li, .wk-sum-c, .wk-opt, .wk-sh-item, .wk-tl-e { opacity: 0; }
.lp-pane.on .wk-rise { animation: wk-rise .8s var(--d, 0ms) var(--ease) both; }
@keyframes wk-rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.wk-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.lp-pane.on .wk-kicker { animation: wk-rise .6s var(--ease) both; }

/* Leçon */
.wk-lesson { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: start; }
.wk-lesson h4 { font-size: 26px; font-weight: 660; letter-spacing: -.025em; margin: 0 0 12px; }
.wk-lesson .wk-l-text > p { font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
.wk-lesson .wk-l-text > p b { color: var(--text); font-weight: 600; }
.wk-lesson mark { color: var(--text); background: linear-gradient(transparent 52%, rgba(255,214,10,.5) 52%) no-repeat 0 0 / 0 100%; }
.lp-pane.on.wk-lesson mark { animation: lp-mark 1.1s .9s var(--ease) forwards; }
.wk-def { position: relative; margin-top: 20px; padding: 14px 18px 14px 22px; border-radius: 14px; background: linear-gradient(90deg, rgba(79,124,255,.16), rgba(79,124,255,.04)); border: 1px solid rgba(79,124,255,.28); overflow: hidden; }
.wk-def::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #4f7cff; transform-origin: top; }
.lp-pane.on .wk-def::before { animation: wk-grow-y .7s .8s var(--ease) both; }
@keyframes wk-grow-y { from { transform: scaleY(0); } }
.wk-def small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fb0ff; margin-bottom: 4px; }
.wk-def p { font-size: 15.5px; line-height: 1.55; }
.wk-pts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.wk-pts li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.wk-pts li b { color: var(--text); }
.wk-pts .icon { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: rgba(47,211,154,.14); color: var(--success); flex: none; }
.lp-pane.on .wk-pts li { animation: wk-slide .6s var(--d) var(--ease) both; }
@keyframes wk-slide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.wk-fig { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); background: #0b0920; box-shadow: 0 30px 60px -30px rgba(79,70,229,.6); }
.wk-fig-img { aspect-ratio: 742 / 360; background: url(/assets/img/course/international-relations-hero.webp) center / cover no-repeat; }
.lp-pane.on .wk-fig-img { animation: wk-zoom 9s ease-out both; }
@keyframes wk-zoom { from { transform: scale(1.18) translateX(4%); } to { transform: scale(1.02); } }
.wk-fig figcaption { padding: 12px 16px; font-size: 13px; color: var(--text-3); border-top: 1px solid var(--border); }
.wk-chip { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #1d1936; border: 1px solid var(--border-strong); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); font-size: 13px; font-weight: 600; opacity: 0; }
.wk-chip-sw { width: 12px; height: 12px; border-radius: 4px; background: #ffd60a; }
.wk-chip .icon { width: 14px; height: 14px; color: var(--success); }
.lp-pane.on .wk-chip { animation: wk-pop .6s 2s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes wk-pop { from { opacity: 0; transform: translateY(10px) scale(.8) rotate(-4deg); } to { opacity: 1; transform: rotate(2deg); } }

/* Résumé */
.wk-pane-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.wk-pane-head h4 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.wk-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }
.wk-pill .icon { width: 14px; height: 14px; }
.wk-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wk-sum-c { position: relative; overflow: hidden; padding: 22px 22px 20px; border-radius: 16px; background: var(--bg-sunken); border: 1px solid var(--border); }
.wk-sum-c::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(185,166,255,.12) 50%, transparent 70%); transform: translateX(-100%); }
.lp-pane.on .wk-sum-c { animation: wk-rise .7s var(--d) var(--ease) both; }
.lp-pane.on .wk-sum-c::after { animation: wk-shine 1.2s calc(var(--d) + 500ms) ease-out both; }
@keyframes wk-shine { to { transform: translateX(100%); } }
.wk-sum-n { position: absolute; right: 18px; top: 12px; font-size: 44px; font-weight: 750; letter-spacing: -.05em; color: rgba(185,166,255,.09); }
.wk-sum-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 14px; }
.wk-sum-i .icon { width: 19px; height: 19px; }
.wk-sum-c h5 { font-size: 16.5px; font-weight: 650; margin: 0 0 6px; }
.wk-sum-c p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.wk-sum-c p b { color: var(--text); font-weight: 600; }
.wk-sum-ok { position: absolute; right: 18px; bottom: 16px; width: 20px; height: 20px; color: var(--success); opacity: 0; }
.lp-pane.on .wk-sum-ok { animation: wk-pop-s .5s calc(var(--d) + 900ms) cubic-bezier(.34,1.56,.64,1) both; }
@keyframes wk-pop-s { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

/* Mind map */
.wk-mm { position: relative; width: 100%; height: 100%; min-height: 360px; }
.wk-mm svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wk-mm path { fill: none; stroke: url(#none); stroke: rgba(139,109,255,.6); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.lp-pane.on .wk-mm path { animation: lp-draw .9s var(--d) var(--ease) forwards; }
.wk-mm-c { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--brand-grad, linear-gradient(135deg, #6c47ff, #b14dff)); color: #fff; font-size: 18px; font-weight: 650; white-space: nowrap; z-index: 1; }
.wk-mm-c .icon { width: 20px; height: 20px; }
.lp-pane.on .wk-mm-c { animation: wk-center .7s var(--ease) both, wk-pulse 2.6s 1s ease-in-out infinite; }
@keyframes wk-center { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }
@keyframes wk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(139,109,255,.5), 0 14px 40px -12px rgba(108,71,255,.9); } 50% { box-shadow: 0 0 0 14px rgba(139,109,255,0), 0 14px 40px -12px rgba(108,71,255,.9); } }
.wk-mm-n { position: absolute; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 999px; background: #1d1936; border: 1px solid var(--border-strong); font-size: 15px; font-weight: 600; white-space: nowrap; opacity: 0; }
.lp-pane.on .wk-mm-n { animation: wk-node .6s var(--d) cubic-bezier(.34,1.56,.64,1) both, wk-float 4s calc(var(--d) + 700ms + var(--f) * 400ms) ease-in-out infinite; }
@keyframes wk-node { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes wk-float { 0%, 100% { opacity: 1; transform: translate(-50%, -50%); } 50% { opacity: 1; transform: translate(-50%, calc(-50% - 6px)); } }

/* Frise */
.wk-timeline { align-items: center; }
.wk-tl { position: relative; width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.wk-tl-line { position: absolute; left: 4%; right: 4%; top: 49px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6c47ff, #b14dff, #ff5fa2); transform-origin: left; }
.lp-pane.on .wk-tl-line { animation: lp-grow 1.8s .2s var(--ease) both; }
.wk-tl-glow { position: absolute; top: 50%; width: 70px; height: 9px; margin-top: -4.5px; border-radius: 9px; background: radial-gradient(closest-side, #fff, rgba(255,255,255,0)); opacity: 0; }
.lp-pane.on .wk-tl-glow { animation: wk-travel 3.2s 2s ease-in-out infinite; }
@keyframes wk-travel { 0% { left: -5%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 95%; opacity: 0; } }
.wk-tl-e { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.lp-pane.on .wk-tl-e { animation: wk-rise .7s var(--d) var(--ease) both; }
.wk-tl-e b { font-size: 24px; font-weight: 720; letter-spacing: -.03em; color: var(--accent-text); }
.wk-tl-e i { width: 18px; height: 18px; border-radius: 50%; background: #0c0a18; border: 3px solid var(--accent); }
.lp-pane.on .wk-tl-e i { animation: wk-ring 2.4s calc(var(--d) + 500ms) ease-out 2; }
@keyframes wk-ring { 0% { box-shadow: 0 0 0 0 rgba(139,109,255,.7); } 70%, 100% { box-shadow: 0 0 0 14px rgba(139,109,255,0); } }
.wk-tl-e strong { font-size: 15px; font-weight: 640; line-height: 1.3; }
.wk-tl-e span { font-size: 13px; color: var(--text-3); line-height: 1.35; }

/* Flashcards : paquet de cartes, retournement, « Bien », carte suivante (landing.js) */
.wk-cards { flex-direction: column; align-items: center; justify-content: center; }
.wk-deck { position: relative; width: min(540px, 100%); height: 270px; perspective: 1400px; }
.wk-card { position: absolute; inset: 0; border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: transform .7s var(--ease), opacity .6s; transform: translateY(32px) scale(.88); opacity: 0; }
.wk-card[data-pos="0"] { transform: none; opacity: 1; z-index: 3; }
.wk-card[data-pos="1"] { transform: translateY(16px) scale(.94); opacity: .7; z-index: 2; }
.wk-card[data-pos="2"] { transform: translateY(32px) scale(.88); opacity: .4; z-index: 1; }
.wk-card[data-pos="out"] { transform: translateX(70%) rotate(14deg); opacity: 0; z-index: 4; }
.wk-card-in { position: relative; display: block; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.3,1.3,.5,1); transform-style: preserve-3d; }
.wk-card.flip .wk-card-in { transform: rotateY(180deg); }
.wk-card-f, .wk-card-b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 21px; line-height: 1.4; text-align: center; }
.wk-card-f { background: #1b1734; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.wk-card-b { background: linear-gradient(135deg, #6c47ff, #b14dff); color: #fff; transform: rotateY(180deg); box-shadow: 0 30px 60px -24px rgba(124,92,255,.8); }
.wk-card-f small, .wk-card-b small { position: absolute; top: 16px; left: 20px; font-size: 12px; font-weight: 600; opacity: .6; }
.wk-card-f em { font-style: normal; font-size: 13px; color: var(--text-3); }
.wk-fbtns { display: flex; gap: 10px; margin-top: 40px; }
.wk-fbtn { padding: 10px 22px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--bg-sunken); border: 1px solid var(--border); transition: transform .2s, background .2s, box-shadow .2s; }
.wk-fbtn-0 { color: #ff7b8a; } .wk-fbtn-1 { color: var(--accent-text); } .wk-fbtn-2 { color: var(--success); }
.wk-fbtn.press { transform: scale(.94); background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(139,109,255,.25); }
.wk-left { margin-top: 16px; font-size: 13px; color: var(--text-3); } .wk-left b { color: var(--text); font-variant-numeric: tabular-nums; }

/* Quiz : le curseur choisit la bonne réponse (landing.js pose --cx/--cy puis .answered) */
.wk-quiz { flex-direction: column; }
.wk-q-top { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-3); }
.wk-q-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.wk-q-bar span { display: block; height: 100%; width: 25%; border-radius: 6px; background: linear-gradient(90deg, #6c47ff, #b14dff); transition: width .8s var(--ease); }
.wk-quiz.answered .wk-q-bar span { width: 33%; }
.lp-pane > p.wk-q, .wk-q { font-size: 22px; font-weight: 640; letter-spacing: -.02em; margin: 26px 0 20px; color: var(--text); line-height: 1.35; } .wk-q b { color: var(--accent-text); }
.lp-pane.on .wk-q { animation: wk-rise .7s var(--ease) both; }
.wk-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wk-opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.02); font-size: 15.5px; color: var(--text-2); transition: border-color .35s, background .35s, color .35s, opacity .35s; }
.lp-pane.on .wk-opt { animation: wk-rise .6s var(--d) var(--ease) both; }
.wk-opt span { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--bg-sunken); font-size: 12.5px; font-weight: 700; transition: background .35s, color .35s; }
.wk-opt .icon { margin-left: auto; width: 20px; height: 20px; color: var(--success); opacity: 0; transform: scale(.4); transition: opacity .3s .15s, transform .4s .15s cubic-bezier(.34,1.56,.64,1); }
.wk-opt.hover { border-color: rgba(139,109,255,.6); background: rgba(139,109,255,.08); }
.wk-quiz.answered .wk-opt:not(.ok) { opacity: .45; }
.wk-quiz.answered .wk-opt.ok { border-color: rgba(47,211,154,.6); background: rgba(47,211,154,.1); color: var(--text); font-weight: 600; }
.wk-quiz.answered .wk-opt.ok span { background: var(--success); color: #062a1d; }
.wk-quiz.answered .wk-opt.ok .icon { opacity: 1; transform: none; }
.wk-opt.ok::after { content: ''; position: absolute; left: var(--rx, 50%); top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(47,211,154,.45); transform: scale(0); opacity: 0; }
.wk-quiz.answered .wk-opt.ok::after { animation: wk-ripple .8s ease-out; }
@keyframes wk-ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(60); opacity: 0; } }
.wk-why { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(47,211,154,.07); border: 1px solid rgba(47,211,154,.22); opacity: 0; transform: translateY(12px); transition: opacity .5s .35s, transform .6s .35s var(--ease); }
.wk-why b { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: 14px; } .wk-why b .icon { width: 16px; height: 16px; }
.wk-why p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); line-height: 1.55; } .wk-why p b { color: var(--text); display: inline; font-size: inherit; }
.wk-quiz.answered .wk-why { opacity: 1; transform: none; }
.wk-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 5; pointer-events: none; opacity: 0; transform: translate(var(--sx, 90%), var(--sy, 110%)); transition: transform 1.1s cubic-bezier(.6,.05,.25,1), opacity .3s; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.wk-cursor svg { width: 100%; height: 100%; fill: #fff; stroke: #0c0a18; stroke-width: 1.5; stroke-linejoin: round; }
.wk-quiz.aim .wk-cursor { opacity: 1; transform: translate(var(--cx), var(--cy)); }
.wk-quiz.answered .wk-cursor { opacity: 0; transition: transform .2s, opacity .4s .5s; transform: translate(var(--cx), var(--cy)) scale(.85); }

/* Fiche de révision : une vraie feuille blanche, logo en bas à gauche */
.wk-sheet { align-items: center; justify-content: center; }
.wk-paper { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; padding: 30px 36px 22px; border-radius: 6px; background: #fff; color: #17142b; box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08); transform-origin: 50% 100%; }
.lp-pane.on .wk-paper { animation: wk-paper .9s var(--ease) both; }
@keyframes wk-paper { from { opacity: 0; transform: translateY(40px) rotate(-2.5deg) scale(.96); } to { opacity: 1; transform: none; } }
.wk-sh-kick { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b6488; }
.wk-sh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 6px 0 12px; border-bottom: 2.5px solid #17142b; }
.wk-sh-head h4 { margin: 0; font-size: 28px; font-weight: 760; letter-spacing: -.03em; color: #17142b; }
.wk-paper .ui-legend { font-size: 11px; color: #6b6488; }
.wk-sh-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 22px 28px; margin-top: 22px; }
.wk-sh-item mark { font-size: 15px; font-weight: 700; color: #17142b; background: linear-gradient(transparent 48%, var(--k) 48%) no-repeat 0 0 / 0 100%; }
.lp-pane.on .wk-sh-item { animation: wk-rise .6s var(--d) var(--ease) both; }
.lp-pane.on .wk-sh-item mark { animation: lp-mark .8s calc(var(--d) + 350ms) var(--ease) forwards; }
.wk-sh-item p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #4a4560; }
.wk-sh-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #e6e3f0; font-size: 11px; color: #8a85a0; }
.wk-sh-foot img { height: 20px; width: auto; }

/* Ordinateur : section plus large, fenêtre au format 16:9, onglets en fondu enchaîné */
@media (min-width: 1100px) {
  .lp-band { max-width: 1760px; padding: 110px max(28px, calc((100% - 1520px) / 2)) 100px; }
  .lp-band .lp-head { max-width: 780px; }
  .lp-wk { aspect-ratio: 16 / 9; display: flex; flex-direction: column; padding: 18px; }
  .lp-wk-body { flex: 1; min-height: 0; grid-template-columns: 270px minmax(0, 1fr); }
  .lp-wk-nav { justify-content: space-between; }
  .lp-wk .lp-win { position: relative; height: 100%; min-height: 0; padding: 0; overflow: hidden; }
  .lp-wk .lp-pane { display: block; position: absolute; inset: 34px 40px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); filter: blur(8px);
    transition: opacity .45s, transform .55s var(--ease), filter .45s, visibility 0s .55s; animation: none; }
  .lp-wk .lp-pane.on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .5s .12s, transform .6s .12s var(--ease), filter .5s .12s, visibility 0s; animation: none; }
  .lp-wk .wk-sheet { inset: 22px 26px; }
  .lp-wk .lp-pane.wk-lesson { display: grid; align-items: stretch; }
  .lp-wk .wk-l-text { display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
  .lp-wk .wk-fig { display: flex; flex-direction: column; } .lp-wk .wk-fig-img { flex: 1; aspect-ratio: auto; min-height: 0; } .lp-wk .lp-pane.wk-cards, .lp-wk .lp-pane.wk-quiz { display: flex; }
  .lp-wk .lp-pane.wk-timeline, .lp-wk .lp-pane.wk-sheet { display: flex; }
  .lp-wk .lp-pane:not(.on) * { animation: none !important; }
  .lp-wk .wk-mindmap .wk-mm { min-height: 0; }
  .lp-wk .lp-pane.wk-summary { display: flex; flex-direction: column; } .lp-wk .wk-sum { flex: 1; grid-auto-rows: 1fr; }
  .lp-wk .wk-sum-c { display: flex; flex-direction: column; justify-content: center; } .lp-wk .wk-sum-i { width: 48px; height: 48px; border-radius: 14px; } .lp-wk .wk-sum-n { font-size: 64px; }
  .lp-wk .lp-pane.wk-quiz { justify-content: center; } .lp-wk .wk-q-top { position: absolute; left: 0; right: 0; top: 0; }
  .lp-wk .wk-sh-grid { grid-auto-rows: 1fr; align-content: stretch; gap: 18px 30px; } .lp-wk .wk-sh-item mark { font-size: 16px; } .lp-wk .wk-sh-item p { font-size: 14px; }
  .lp-wk .wk-tl-e b { font-size: 30px; } .lp-wk .wk-tl-e strong { font-size: 16px; } .lp-wk .wk-tl-line { top: 56px; }
  .lp-stage { opacity: .4; transform: perspective(1600px) rotateX(9deg) translateY(40px) scale(.96); transform-origin: 50% 0; transition: opacity 1s, transform 1.2s var(--ease); }
  .lp-stage.go { opacity: 1; transform: none; }
}
@media (min-width: 1381px) {
  .wk-lesson h4 { font-size: 32px; } .wk-lesson .wk-l-text > p { font-size: 18px; } .wk-def p { font-size: 16.5px; } .wk-pts li { font-size: 16px; }
  .wk-sum-c { padding: 26px 26px 24px; } .wk-sum-c h5 { font-size: 18px; } .wk-sum-c p { font-size: 15.5px; }
  .lp-pane > p.wk-q { font-size: 28px; } .wk-opt { padding: 20px 22px; font-size: 16.5px; }
}
@media (min-width: 1100px) and (max-width: 1380px) {
  .wk-lesson h4 { font-size: 22px; } .wk-lesson .wk-l-text > p { font-size: 15px; } .wk-pts li { font-size: 13.5px; }
  .wk-sum-c { padding: 16px 18px; } .wk-sum-c p { font-size: 13.5px; } .wk-sum-i { width: 34px; height: 34px; margin-bottom: 10px; }
  .wk-sh-grid { gap: 14px 22px; margin-top: 14px; } .wk-sh-item p { font-size: 12.5px; }
  .lp-pane > p.wk-q { font-size: 20px; margin: 18px 0 14px; } .wk-opt { padding: 12px 14px; font-size: 14px; }
  .wk-tl-e b { font-size: 20px; } .wk-tl-e strong { font-size: 13.5px; }
}
@media (max-width: 1099px) {
  .wk-mm { height: 380px; }
  .wk-tl { margin: 30px 0; }
  .wk-paper { height: auto; }
  .wk-chip { position: static; margin-top: 16px; }
}
@media (max-width: 760px) {
  .wk-lesson { grid-template-columns: 1fr; gap: 20px; }
  .wk-sum, .wk-opts { grid-template-columns: 1fr; }
  .wk-sh-grid { grid-template-columns: 1fr; }
  .wk-min { display: none; }
  .wk-mm { height: 320px; } .wk-mm-n { font-size: 12px; padding: 7px 11px; } .wk-mm-c { font-size: 14px; padding: 11px 16px; }
  .wk-tl { grid-template-columns: 1fr; gap: 16px; margin: 6px 0; }
  .wk-tl-line { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; }
  .wk-tl-glow { display: none; }
  .wk-tl-e { display: grid; grid-template-columns: 18px 56px 1fr; align-items: center; text-align: left; gap: 2px 12px; }
  .wk-tl-e i { grid-column: 1; grid-row: 1 / 3; } .wk-tl-e b { font-size: 17px; grid-column: 2; grid-row: 1 / 3; } .wk-tl-e strong { grid-column: 3; grid-row: 1; } .wk-tl-e span { grid-column: 3; grid-row: 2; }
  .wk-tl-map { display: none; }
  .wk-deck { height: 220px; } .wk-card-f, .wk-card-b { font-size: 17px; }
  .wk-q { font-size: 18px; } .wk-paper { padding: 22px 20px 16px; } .wk-sh-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-pane .wk-rise, .wk-pts li, .wk-sum-c, .wk-opt, .wk-sh-item, .wk-tl-e, .wk-chip, .wk-mm-n, .wk-sum-ok { opacity: 1 !important; animation: none !important; }
  .wk-mm path { stroke-dashoffset: 0; } .wk-sh-item mark, .wk-lesson mark { background-size: 100% 100%; } .wk-banner, .wk-fig-img { animation: none; }
  .lp-stage { opacity: 1; transform: none; }
}

.wk-timeline { position: relative; }
.wk-tl-map { position: absolute; inset: -34px -40px; background: url(/assets/img/course/international-relations-hero.webp) center 40% / cover no-repeat; opacity: .28; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 80%); }
.lp-pane.on .wk-tl-map { animation: wk-zoom 10s ease-out both; }
/* Onglet affiché : mise en page propre à chaque onglet (les autres restent masqués, voir .lp-pane). */
.lp-pane.on.wk-lesson { display: grid; } .lp-pane.on.wk-timeline, .lp-pane.on.wk-cards, .lp-pane.on.wk-quiz, .lp-pane.on.wk-sheet { display: flex; }

/* Pages légales (mentions légales, CGV, confidentialité) : sommaire collant à gauche, texte lisible à droite */
.lg-page { padding-top: 120px; }
.lg-head { max-width: 1080px; }
.lg-head h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 14px; }
.lg-lead { font-size: 17px; color: var(--text-2); max-width: 640px; margin: 0; }
.lg-date { font-size: 13px; color: var(--text-3); margin: 14px 0 0; }
.lg-grid { max-width: 1080px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; margin-top: 44px; align-items: start; }
.lg-side { position: sticky; top: 96px; display: grid; gap: 22px; }
.lg-pages { display: grid; gap: 2px; }
.lg-pages a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 550; color: var(--text-2); }
.lg-pages a:hover { background: var(--surface); color: var(--text); }
.lg-pages a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.lg-toc b { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 8px 12px; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.lg-toc a { display: block; padding: 5px 12px; font-size: 13px; color: var(--text-3); border-left: 2px solid var(--border); }
.lg-toc a:hover { color: var(--text); border-left-color: var(--accent); }
.lg-body { font-size: 15.5px; line-height: 1.7; color: var(--text-2); min-width: 0; }
.lg-body p { margin: 0 0 14px; }
.lg-body b { color: var(--text); font-weight: 600; }
.lg-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lg-body ul { margin: 0 0 14px; padding-left: 20px; }
.lg-body li { margin: 4px 0; }
.lg-notice { display: flex; gap: 12px; padding: 18px 20px; margin-bottom: 40px; border-radius: 16px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); }
.lg-notice .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent-text); }
.lg-notice p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.lg-sec { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.lg-sec:last-child { border-bottom: 0; }
.lg-sec h2 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; letter-spacing: -0.02em; color: var(--text); margin: 0 0 14px; line-height: 1.3; }
.lg-sec h2 span { flex: none; display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 650; color: var(--text-2); transform: translateY(-2px); }
ul.lg-card { list-style: none; padding: 4px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
ul.lg-card li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 11px 0; margin: 0; border-top: 1px solid var(--border); font-size: 14.5px; line-height: 1.55; }
ul.lg-card li:first-child { border-top: 0; }
ul.lg-card li span { font-weight: 600; color: var(--text); }
.lg-form { margin: 8px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--border-strong, var(--border)); font-size: 14px; line-height: 1.8; color: var(--text-2); }
.lg-table-wrap { overflow-x: auto; margin: 0 0 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.lg-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.lg-table th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 12px 16px; border-bottom: 1px solid var(--border); }
.lg-table td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.lg-table tr:first-child td { border-top: 0; }
.lg-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.lg-body code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--bg-sunken); }
.lg-todo { background: #ffe58f; color: #5c3b00; padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.l-foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.l-foot-links { display: inline-flex; flex-wrap: wrap; gap: 14px; }
.l-foot-links a { color: var(--text-2); }
@media (max-width: 860px) {
  .lg-page { padding-top: 96px; }
  .lg-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .lg-side { position: static; }
  .lg-pages { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .lg-pages a { flex: none; border: 1px solid var(--border); }
  .lg-toc { display: none; }
  ul.lg-card li { grid-template-columns: 1fr; gap: 2px; }
  .lg-notice { margin-bottom: 28px; }
}

/* ---------- Menu du téléphone et des petits écrans (bouton ☰, moins de 1040 px) ---------- */
.l-burger { display: none; }
@media (max-width: 1039px) {
  .l-links { display: flex; order: 10; }
  .l-links > a { display: none; }
  .l-burger { display: block; }
  .l-burger summary { list-style: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--text); border: 1px solid var(--border); background: var(--surface); }
  .l-burger summary::-webkit-details-marker { display: none; }
  .l-burger-ico, .l-burger-ico::before, .l-burger-ico::after { display: block; width: 16px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .l-burger-ico { position: relative; }
  .l-burger-ico::before, .l-burger-ico::after { content: ""; position: absolute; left: 0; }
  .l-burger-ico::before { top: -5px; } .l-burger-ico::after { top: 5px; }
  .l-burger[open] .l-burger-ico { background: transparent; }
  .l-burger[open] .l-burger-ico::before { transform: translateY(5px) rotate(45deg); }
  .l-burger[open] .l-burger-ico::after { transform: translateY(-5px) rotate(-45deg); }
  .l-burger-panel { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; padding: 8px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px -18px rgba(20, 14, 60, .35); }
  .l-burger-panel a { display: flex; align-items: center; min-height: 50px; font-size: 16px; font-weight: 520; color: var(--text); border-bottom: 1px solid var(--border); }
  .l-burger-panel a.on { color: #6c47ff; }
  .l-burger-panel .l-burger-sign { border-bottom: 0; }
  .l-burger-panel .l-burger-lang { min-height: 40px; border: 0; font-size: 14px; font-weight: 450; color: var(--text-2); }
}

/* ===== Landing sur mobile (06/10, demande du user) ===== */
.lead-short, .lp-curve2 { display: none; }
@media (max-width: 560px) {
  /* Hero : titre sur deux lignes, texte court, un seul bouton, sans la mention de l'offre. */
  .hero h1 { white-space: nowrap; font-size: min(38px, calc((100vw - 40px) / 12.4)); }
  :lang(fr) .hero h1 { font-size: min(38px, calc((100vw - 40px) / 15.7)); }
  .lead-long { display: none; } .lead-short { display: inline; }
  .hero-ctas .btn-secondary { display: none; }
  .note-offer { display: none; }

  /* Titres de section sur deux lignes. */
  .lp-daily .br-desk, .hero ~ .lp-pricing .br-desk { display: inline; }
  .lp-daily .lp-head h2, .hero ~ .lp-pricing h2, .hero ~ .ed-final-wrap .ed-final h2 { white-space: nowrap; }
  .hero ~ .lp-pricing h2 { font-size: min(30px, calc((100vw - 40px) / 11.3)); }
  :lang(fr) .hero ~ .lp-pricing h2 { font-size: min(30px, calc((100vw - 40px) / 14)); }
  .hero ~ .ed-final-wrap .ed-final h2 { font-size: min(32px, calc((100vw - 66px) / 11.7)); }
  :lang(fr) .hero ~ .ed-final-wrap .ed-final h2 { font-size: min(32px, calc((100vw - 66px) / 14.3)); }
  .hero ~ .lp-pricing .lp-head p { display: none; }

  /* Vitrine d'une Week : 7 onglets en icônes sur une rangée, contenu de hauteur fixe (plus de saut de page). */
  .lp-wk-nav { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; overflow: visible; }
  .lp-wk .lp-tab { flex-direction: column; justify-content: center; gap: 0; width: 100%; padding: 7px 0 9px; border-radius: 11px; }
  .lp-wk .lp-tab-t { display: none; }
  .lp-wk .lp-tab-i { width: 34px; height: 34px; border-radius: 10px; }
  .lp-wk .lp-tab.on .lp-tab-i { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(108,71,255,.9); }
  .lp-wk .lp-tab.on::before { left: 30%; right: 30%; bottom: 2px; top: auto; height: 2px; width: auto; }
  .lp-wk .lp-win { height: 430px; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); }
  .lp-wk .wk-fig { display: none; }

  /* Smart review : la courbe « sans / avec Major Study » remplace la courbe seule. */
  .lp-b-smart .lp-curve { display: none; }
  .lp-curve2 { display: block; border-radius: 14px; background: var(--bg-sunken); padding: 12px 12px 6px; }
}
.lp-cv-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; font-weight: 560; color: var(--text-2); margin-bottom: 6px; }
.lp-cv-leg span { display: inline-flex; align-items: center; gap: 6px; }
.lp-cv-leg i { width: 16px; height: 0; border-top: 2px dashed var(--text-3); }
.lp-cv-leg .good i { border-top: 2.5px solid #b45cf0; }
.lp-curve2 svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-cv-m line { stroke: var(--border); stroke-dasharray: 2 4; }
.lp-cv-m text { fill: var(--text-3); font-size: 10px; text-anchor: middle; font-family: inherit; }
.lp-cv-bad { fill: none; stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 5 6; opacity: .75; }
.lp-cv-good { fill: none; stroke: url(#lpg); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-cv-area { fill: url(#lpa); }
.lp-curve2 circle { fill: var(--bg-sunken); stroke: #b45cf0; stroke-width: 2.5; }
@media (prefers-reduced-motion: no-preference) {
  .lp-b-smart:not(.go) .lp-cv-good { stroke-dasharray: 100; stroke-dashoffset: 100; }
  .lp-b-smart.go .lp-cv-good { stroke-dasharray: 100; animation: lp-cv-draw 1.8s .3s var(--ease) both; }
  @keyframes lp-cv-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
  .lp-b-smart:not(.go) .lp-cv-area, .lp-b-smart:not(.go) .lp-curve2 circle { opacity: 0; }
  .lp-b-smart.go .lp-cv-area { animation: lp-fade .8s 1.2s both; }
  .lp-b-smart.go .lp-curve2 circle { animation: lp-fade .3s var(--d) both; }
}
/* En-tête sur petit écran (FR : « Commencer » plus long) : plus de débordement horizontal à 320-360 px. */
@media (max-width: 380px) {
  .l-nav .l-wrap { gap: 8px; }
  .l-nav .btn-primary { padding-left: 12px; padding-right: 12px; }
  .l-brand .brand-logo { height: 24px; }
}
@media (max-width: 380px) { html, body { overflow-x: clip; } }
@media (max-width: 560px) { .hero-pill { white-space: nowrap; font-size: min(12.5px, calc((100vw - 40px) / 26)); max-width: 100%; } }

/* Section vidéo : moins d'espace avant « Your first-year subjects » (fondu du bas gardé, plus court). */
.lp-video { padding-bottom: 80px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 170px, #000 calc(100% - 70px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 170px, #000 calc(100% - 70px), transparent 100%); }
.lp-video-wrap + .ed-section { padding-top: 30px; }
@media (max-width: 640px) {
  .lp-video { padding-bottom: 70px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 calc(100% - 60px), transparent 100%); }
  .lp-video-wrap + .ed-section { padding-top: 40px; }
}
/* Sur mobile, seules « Every Week, ready to revise » et « Exam ready » restent sous la vidéo. */
@media (max-width: 560px) { .lp-video-chip:nth-child(2) { display: none; } .lp-video-chips { gap: 8px; } .lp-video-chip { height: 32px; padding: 0 11px; font-size: 12.5px; white-space: nowrap; } }
/* Vidéo juste sous le hero (ordre du 06/10) : moins de marge en haut. */
.hero + .lp-video-wrap .lp-video { padding-top: 130px; }
@media (max-width: 640px) { .hero + .lp-video-wrap .lp-video { padding-top: 90px; } }
/* Appel final : une phrase par ligne sur ordinateur, lignes équilibrées (pas de mot seul) sur mobile. */
.ed-final p { max-width: 640px; text-wrap: balance; }

/* Cartes d'offres (08/10) : bénéfice en gras, détail concret dessous ; repère de prix par jour sous Premium. */
.pr-feats li > span { display: flex; flex-direction: column; gap: 2px; }
.pr-feats li b { color: var(--text); font-weight: 600; font-size: 14px; }
.pr-feats li small { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.pr-day { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent-text); }

/* ---------- Pourquoi ça marche (v2, 10/10) : compacte sur ordinateur. Titre sur 2 lignes, 3 cartes à grand chiffre,
   boucle en frise horizontale de 4 étapes (verticale sur mobile), source et bouton. ---------- */
.lp-why { padding-left: 15px; padding-right: 15px; }
.lp-why-band { --surface: #16132a; --text: #f3f1ff; --text-2: #b2acd2; --text-3: #7d779e; --border: rgba(200,190,255,.09); --border-strong: rgba(200,190,255,.16); --accent: #8b6dff; --accent-soft: rgba(139,109,255,.16); --accent-text: #b9a6ff;
  position: relative; isolation: isolate; max-width: 1410px; margin: 0 auto; padding: 120px max(24px, calc((min(100%, 1410px) - 1160px) / 2)) 100px; color: var(--text); }
/* Fond sans bord (11/10) : halos et trame apparaissent en fondu depuis le haut, comme la vidéo au-dessus disparaît,
   et repartent en fondu en bas : plus de coupure nette entre les deux sections. Halos gardés loin des côtés. */
.lp-why-band::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(45% 26% at 50% 12%, rgba(124,92,255,.34), transparent 72%), radial-gradient(24% 26% at 24% 42%, rgba(240,70,143,.11), transparent 72%), radial-gradient(24% 26% at 76% 68%, rgba(47,211,154,.08), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 260px, #000 calc(100% - 200px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 260px, #000 calc(100% - 200px), transparent 100%); }
.lp-why-band::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .12; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(60% 420px at 50% 300px, #000, transparent); mask-image: radial-gradient(60% 420px at 50% 300px, #000, transparent); }
.lp-video-wrap + .lp-why { padding-top: 0; margin-top: -60px; }
.lp-why + .ed-section { padding-top: 70px; }
@media (max-width: 560px) { .lp-why + .ed-section { padding-top: 50px; } }
.lp-why-band .ed-badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--text); box-shadow: none; }
.lp-why .lp-head { max-width: 1060px; margin-bottom: 52px; }
.lp-why .lp-head h2 { text-wrap: balance; }
:lang(fr) .lp-why .lp-head h2 { font-size: clamp(28px, 3.7vw, 48px); }
.lp-why .lp-head p { text-wrap: balance; max-width: 720px; margin-left: auto; margin-right: auto; }
.lp-why-grad { background: linear-gradient(90deg, #b9a6ff, #f0468f 50%, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-why-k { --c: var(--accent-text); align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); font-size: 13px; font-weight: 620; }
.lp-why-k .icon { width: 15px; height: 15px; }

/* Trois cartes : un grand chiffre, sa preuve, une phrase */
.lp-why-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-why-c { --c: #b9a6ff; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 26px; border-radius: 22px; border: 1px solid var(--border-strong); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); transition-delay: var(--d); }
.lp-why-c::before { content: ''; position: absolute; z-index: -1; top: -45%; right: -35%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 24%, transparent), transparent); pointer-events: none; }
.lp-why-time { --c: #ffb36b; } .lp-why-mem { --c: #c4b2ff; } .lp-why-res { --c: #2fd39a; }
.lp-why-c > .lp-why-k { --c: inherit; color: var(--c); }
@media (hover: hover) { .lp-why-c { transition-property: opacity, transform, border-color; } .lp-why-c:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); } }
.lp-why-big { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; line-height: 1; }
.lp-why-big b { font-size: clamp(52px, 5vw, 66px); font-weight: 700; letter-spacing: -.055em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 20%, var(--c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-why-big--word b { font-size: clamp(40px, 4vw, 56px); white-space: nowrap; }
.lp-why-big > span { font-size: 24px; font-weight: 640; letter-spacing: -.02em; color: var(--c); }
.lp-why-lab { margin-top: 8px; font-size: 15px; font-weight: 520; color: var(--text); }
.lp-why-vis { margin-top: 20px; min-height: 112px; padding: 16px; border-radius: 16px; background: rgba(9,8,18,.55); border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.lp-why-bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 12.5px; color: var(--text-2); }
.lp-why-bar em { font-style: normal; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.lp-why-bar.fast em { color: var(--c); }
.lp-why-bar > i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.lp-why-bar > i > b { display: block; height: 100%; width: var(--w); min-width: 7px; border-radius: inherit; background: rgba(255,255,255,.2); transition: width 1.4s var(--ease) .35s; }
.lp-why-bar.fast > i > b { background: linear-gradient(90deg, #7c5cff, var(--c)); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 55%, transparent); transition-delay: .6s; }
.lp-js .lp-why-c:not(.go) .lp-why-bar > i > b { width: 0; }
.lp-why-chart { gap: 6px; }
.lp-why-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-why-area { fill: url(#lwa); }
.lp-why-line { fill: none; stroke: url(#lwg); stroke-width: 3; stroke-linecap: round; }
.lp-why-chart circle { fill: #0c0a18; stroke: #2fd39a; stroke-width: 2.5; }
.lp-why-wks { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); }
.lp-why-p { margin-top: auto; padding-top: 20px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.lp-why-p b, .lp-why-sci b { color: var(--text); font-weight: 600; }
.lp-why-p small, .lp-why-sci small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-3); }
@media (prefers-reduced-motion: no-preference) {
  .lp-why-res:not(.go) .lp-why-line { stroke-dasharray: 100; stroke-dashoffset: 100; }
  .lp-why-res.go .lp-why-line { stroke-dasharray: 100; animation: lp-cv-draw 1.8s .3s var(--ease) both; }
  .lp-why-res:not(.go) .lp-why-area, .lp-why-res:not(.go) .lp-why-chart circle { opacity: 0; }
  .lp-why-res.go .lp-why-area { animation: lp-fade .8s 1.1s both; }
  .lp-why-res.go .lp-why-chart circle { animation: lp-fade .3s var(--d) both; }
}

/* La boucle : frise de 4 étapes reliées, l'étape active s'allume */
.lp-why-how { margin-top: 16px; padding: 36px 40px 40px; border-radius: 24px; border: 1px solid var(--border-strong); background: radial-gradient(60% 120% at 100% 0%, rgba(124,92,255,.16), transparent 70%), rgba(255,255,255,.025); }
.lp-why-how-head { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 40px; align-items: end; margin-bottom: 36px; }
.lp-why-h { margin-top: 14px; max-width: 520px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.03em; font-weight: 640; text-wrap: balance; }
.lp-why-sci { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.lp-why-sci > .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.lp-why-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-why-s { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lp-why-s:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
/* Trait de liaison vers l'étape suivante : rail (::before) et remplissage (::after). */
.lp-why-s:not(:last-child)::before, .lp-why-s:not(:last-child)::after { content: ''; position: absolute; top: 25px; left: 64px; right: -8px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); }
.lp-why-s:not(:last-child)::after { background: linear-gradient(90deg, #8b6dff, #f0468f); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.lp-why-s.done::after { transform: scaleX(1); }
.lp-why-n { position: relative; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; display: grid; place-items: center; background: #16132a; border: 1px solid var(--border-strong); color: var(--text-3); transition: background .45s, color .45s, box-shadow .45s, border-color .45s, transform .45s var(--ease); }
.lp-why-n .icon { width: 23px; height: 23px; }
.lp-why-s:hover .lp-why-n, .lp-why-s.done .lp-why-n { border-color: rgba(139,109,255,.5); color: var(--accent-text); }
.lp-why-s.on .lp-why-n { color: #fff; border-color: transparent; background: linear-gradient(135deg, #7c5cff, #c062ff); box-shadow: 0 0 0 6px rgba(139,109,255,.14), 0 14px 36px -8px rgba(139,109,255,.95); transform: scale(1.06); }
.lp-why-s small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.lp-why-s b { font-size: 17px; font-weight: 640; letter-spacing: -.01em; }
.lp-why-s > span:last-child { font-size: 14px; line-height: 1.5; color: var(--text-3); transition: color .45s; }
.lp-why-s.on > span:last-child { color: var(--text-2); }
.lp-why-foot { margin-top: 36px; display: flex; justify-content: center; }

@media (max-width: 1000px) {
  .lp-why-band { padding: 100px 28px 80px; }
  .lp-why-out { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .lp-why-how { max-width: 560px; margin-left: auto; margin-right: auto; padding: 30px 24px; }
  .lp-why-how-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  /* Frise verticale : icône à gauche, texte à droite, trait vers le bas. */
  .lp-why-steps { grid-template-columns: 1fr; gap: 22px; }
  .lp-why-s { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 3px; align-items: start; }
  .lp-why-n { grid-row: 1 / span 3; margin: 0; }
  .lp-why-s:not(:last-child)::before, .lp-why-s:not(:last-child)::after { top: 62px; bottom: -14px; left: 25px; right: auto; width: 2px; height: auto; }
  .lp-why-s:not(:last-child)::after { background: linear-gradient(#8b6dff, #f0468f); transform: scaleY(0); transform-origin: top; }
  .lp-why-s.done::after { transform: scaleY(1); }
}
@media (max-width: 560px) {
  .lp-why { padding-left: 8px; padding-right: 8px; }
  .lp-why-band { padding: 90px 14px 60px; }
  .lp-video-wrap + .lp-why { margin-top: -40px; }
  .lp-why .lp-head { margin-bottom: 34px; }
  .lp-why-c { padding: 22px 20px; border-radius: 20px; }
  .lp-why-vis { padding: 14px; }
  .lp-why-how { padding: 24px 16px; border-radius: 20px; }
  .lp-why-h { font-size: 23px; }
  .lp-why-sci { font-size: 13px; padding: 12px; }
  .lp-why-foot { margin-top: 28px; }
  .lp-why-foot .btn { width: 100%; }
}
/* Carte Temps (11/10) : ce que l'étudiant n'a plus à faire, barré puis remplacé par ce qui est prêt dans la Week. */
.lp-why-vis { min-height: 150px; }
.lp-why-todo { gap: 10px; }
.lp-why-t-h { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.lp-why-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.lp-why-t s { position: relative; text-decoration: none; color: var(--text-3); min-width: 0; }
.lp-why-t s::after { content: ''; position: absolute; left: -2px; right: -2px; top: 55%; height: 1.5px; border-radius: 2px; background: rgba(255,122,138,.6); transform-origin: left; transition: transform .45s var(--ease) var(--d); }
.lp-why-t em { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 620; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); transition: opacity .35s, transform .45s var(--ease); transition-delay: calc(var(--d) + .35s); }
.lp-why-t em .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.lp-js .lp-why-c:not(.go) .lp-why-t s::after { transform: scaleX(0); }
.lp-js .lp-why-c:not(.go) .lp-why-t em { opacity: 0; transform: scale(.8); }
@media (max-width: 560px) { .lp-why-t { font-size: 13px; } .lp-why-vis { min-height: 0; } }
/* Frise de la vitrine (11/10) : ligne calée sur le centre des points quelle que soit la taille des années
   (avant : top fixe à 49/56 px alors que l'année passait de 20 à 30 px selon l'écran → points décalés).
   Centre du point = 36 (année) + 12 (écart) + 9 (moitié du point) = 57 px ; ligne de 3 px → top 55,5 px. */
@media (min-width: 761px) {
  .lp-wk .wk-tl-e b, .wk-tl-e b { height: 36px; line-height: 36px; }
  .lp-wk .wk-tl-line, .wk-tl-line { top: 55.5px; }
}
/* Smart review (11/10) : même courbe d'oubli que la page Fonctionnalités (« Remember »), à l'échelle de la carte. */
.lp-b-smart .fx-curve { border-radius: 14px; background: var(--bg-sunken); padding: 16px 18px 8px; }
.lp-b-smart .fx-curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-b-smart .fx-curve-leg { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12.5px; font-weight: 560; color: var(--text-2); margin-bottom: 10px; }
.lp-b-smart .fx-curve-leg span { display: inline-flex; align-items: center; gap: 8px; }
.lp-b-smart .fx-curve-leg i { width: 22px; height: 3px; border-radius: 3px; }
.lp-b-smart .fx-curve-leg .bad i { background: repeating-linear-gradient(90deg, var(--text-3) 0 5px, transparent 5px 9px); }
.lp-b-smart .fx-curve-leg .good i { background: linear-gradient(90deg, #7c5cff, #f0468f); }
.lp-b-smart .fx-cv-m line { stroke: var(--border-strong); stroke-dasharray: 3 5; }
.lp-b-smart .fx-cv-m text { fill: var(--text-3); font-size: 17px; text-anchor: middle; font-family: var(--font); }
.lp-b-smart .fx-cv-bad { fill: none; stroke: var(--text-3); stroke-width: 2.5; stroke-dasharray: 2 3; opacity: .7; }
.lp-b-smart .fx-cv-good { fill: none; stroke: url(#lfxg); stroke-width: 4.5; stroke-linecap: round; }
.lp-b-smart .fx-cv-area { fill: url(#lfxa); }
.lp-b-smart .fx-cv-d { fill: var(--bg-sunken); stroke: #b14dff; stroke-width: 3.5; transform-box: fill-box; transform-origin: center; }
.lp-js .lp-b-smart .fx-cv-m { opacity: 0; transition: opacity .6s var(--d); }
.lp-js .lp-b-smart .fx-cv-good { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.6s var(--ease) .3s; }
.lp-js .lp-b-smart .fx-cv-area { opacity: 0; transition: opacity 1s 1.8s; }
.lp-js .lp-b-smart .fx-cv-d { transform: scale(0); transition: transform .5s var(--ease) var(--d); }
.lp-js .lp-b-smart.go .fx-cv-m, .lp-js .lp-b-smart.go .fx-cv-area { opacity: 1; }
.lp-js .lp-b-smart.go .fx-cv-good { stroke-dashoffset: 0; }
.lp-js .lp-b-smart.go .fx-cv-d { transform: scale(1); }
@media (max-width: 560px) {
  .lp-b-smart .fx-curve { padding: 12px 10px 4px; }
  .lp-b-smart .fx-curve-leg { font-size: 11.5px; gap: 4px 14px; }
  .lp-b-smart .fx-cv-m text { font-size: 30px; }
}
