/* Landing page (site vitrine) — reprend la mise en page et les mesures de revisiondojo.com
   (Manrope pour les titres, Inter pour le texte), avec les contenus de la plateforme Collège. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url('../vendor/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url('../vendor/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400 800;
  src: url('../vendor/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400 800;
  src: url('../vendor/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0a0a0a; --muted: #737373; --soft: #f5f5f5; --line: #f0f0f0; --border: #e5e5e5;
  --purple: #9133ea; --purple-ink: #f2e6ff; --magenta: #bf27d3; --magenta-ink: #f9e6ff; --blue: #0284c5;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Manrope', 'Inter', ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 24px; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }

/* ---------- petits éléments ---------- */
.chev { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; opacity: .55; }
.chev.r { transform: rotate(-45deg); margin-left: 10px; opacity: .9; }
.chev.l { transform: rotate(135deg); margin: 0 0 0 3px; opacity: 1; width: 9px; height: 9px; border-width: 2.5px; }
.arrow .chev.r { margin: 0 3px 0 0; width: 9px; height: 9px; border-width: 2.5px; }

/* boutons pilules (16px/500, 8px 16px, rayon plein) */
.pbtn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 8px 16px; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 24px; white-space: nowrap; transition: background .2s, opacity .2s; }
.pbtn-grey { background: var(--soft); color: var(--muted); }
.pbtn-grey:hover { background: #ebebeb; }
.pbtn-line { border: 2px solid var(--border); color: var(--muted); background: #fff; }
.pbtn-line:hover { background: var(--soft); }
.pbtn-black { background: var(--ink); color: #fff; }
.pbtn-black:hover { background: #262626; }
.pbtn-black.sm { font-size: 14px; padding: 10px 20px; }
.pbtn-solid { background: var(--btn); color: #fff; height: 47px; padding: 8px 24px; }
.pbtn-solid:hover { opacity: .9; }
.pbtn-blue { background: var(--blue); color: #fff; height: 52px; padding: 12px 20px; font-size: 18px; line-height: 28px; }
/* boutons du hero (18px/500, rayon 16px) */
.hbtn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 8px 16px; border-radius: 16px; font-size: 18px; font-weight: 500; line-height: 28px; transition: background .2s; }
.hbtn-main { width: 384px; max-width: 100%; background: var(--purple); color: var(--purple-ink); }
.hbtn-main:hover { background: #7e22ce; }
.hbtn-main.short { width: auto; height: 52px; padding: 12px 20px; }
.hbtn-ghost { min-width: 188px; white-space: nowrap; background: rgba(255,255,255,.5); color: var(--muted); border: 2px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.hbtn-ghost:hover { background: rgba(255,255,255,.75); }
/* bouton magenta (section sombre) */
.mbtn { display: inline-flex; align-items: center; height: 52px; padding: 12px 20px; border-radius: 16px; background: var(--magenta); color: var(--magenta-ink); font-size: 18px; font-weight: 500; line-height: 28px; transition: background .2s; }
.mbtn:hover { background: #a21caf; }

/* ---------- navigation (56px, bordure 2px #f0f0f0) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: 1184px; margin: 0 auto; height: 54px; padding: 0 16px; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 22px; letter-spacing: -.02em; flex: none; }
.brand svg, .brand img { width: 26px; height: 26px; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav-links a { display: inline-flex; align-items: center; transition: color .15s; }
.nav-links a:hover { color: var(--purple); }
.nav-cta { display: flex; gap: 8px; align-items: center; flex: none; }
.nbtn { display: inline-flex; align-items: center; height: 36px; padding: 8px 16px; border-radius: 16px; font-size: 14px; font-weight: 500; line-height: 20px; transition: background .2s; }
.nbtn-grey { background: rgba(10,10,10,.05); color: var(--muted); }
.nbtn-grey:hover { background: rgba(10,10,10,.09); }
.nbtn-purple { background: var(--purple); color: var(--purple-ink); }
.nbtn-purple:hover { background: #7e22ce; }
.burger { display: none; width: 40px; height: 36px; border: 0; background: rgba(10,10,10,.05); border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 16px; height: 2px; background: #333; border-radius: 2px; }
.nav-mobile { display: flex; flex-direction: column; padding: 4px 16px 16px; border-top: 2px solid var(--line); }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: 12px 4px; font-weight: 500; }
.nav-mobile .nbtn { justify-content: center; margin-top: 8px; }

/* ---------- ciel du hero ---------- */
.hero-wrap { position: relative; overflow: hidden; }
.sky { position: absolute; inset: 0 0 auto; height: 775px; z-index: 0; overflow: hidden; border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #fff 0%, #fdf0f8 12%, #fbd9ee 30%, #f1c7ec 46%, #d8bdf3 62%, #b6a5f0 80%, #a497ee 100%); }
.sun { position: absolute; left: 50%; top: -150px; width: 380px; height: 380px; margin-left: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95) 58%, rgba(255,255,255,0) 71%); }
.mount { position: absolute; width: 0; height: 0; border-style: solid; border-color: transparent; }
.mount.m1 { left: -6%; bottom: 150px; border-width: 0 330px 380px 330px; border-bottom-color: rgba(214,160,222,.55); }
.mount.m2 { right: -8%; bottom: 190px; border-width: 0 420px 330px 420px; border-bottom-color: rgba(176,152,236,.55); }
.mount.m3 { left: 24%; bottom: 250px; border-width: 0 230px 210px 230px; border-bottom-color: rgba(238,190,226,.6); }
.mount.m4 { left: 52%; bottom: 210px; border-width: 0 200px 160px 200px; border-bottom-color: rgba(200,170,240,.45); }
.cloud { position: absolute; background: #fff; border-radius: 999px; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud.c1 { width: 250px; height: 50px; left: -70px; top: 255px; }
.cloud.c1::before { width: 120px; height: 100px; left: 20px; top: -54px; } .cloud.c1::after { width: 90px; height: 70px; left: 120px; top: -32px; }
.cloud.c2 { width: 120px; height: 18px; left: 155px; top: 262px; opacity: .9; }
.cloud.c3 { width: 360px; height: 60px; left: -110px; top: 530px; }
.cloud.c3::before { width: 170px; height: 130px; left: 30px; top: -84px; } .cloud.c3::after { width: 130px; height: 96px; left: 180px; top: -50px; }
.cloud.c4 { width: 470px; height: 44px; right: 40px; top: 560px; opacity: .97; }
.cloud.c4::before { width: 200px; height: 140px; left: 140px; top: -96px; } .cloud.c4::after { width: 120px; height: 90px; left: 300px; top: -50px; }
.cloud.c5 { width: 90px; height: 32px; right: 70px; top: 480px; }
.cloud.c6 { width: 150px; height: 20px; left: 340px; top: 510px; opacity: .6; }
.dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.d1 { left: 54%; top: 500px; } .d2 { left: 51%; top: 440px; width: 7px; height: 7px; } .d3 { left: 72%; top: 280px; width: 14px; height: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 2; padding: 48px 32px 0; max-width: 960px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.news { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 2px solid #ecdcff; font-size: 14px; font-weight: 500; line-height: 20px; transition: background .2s; }
.news:hover { background: #fff; }
.news .spark { color: #a855f7; font-size: 15px; }
.news .chev.r { margin-left: 4px; }
.hero h1 { margin: 26px 0; font-family: var(--display); font-size: 60px; line-height: 66px; letter-spacing: -3px; font-weight: 600; max-width: 896px; }
.swoosh { position: relative; white-space: nowrap; }
.swoosh::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 12px; background: no-repeat center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7.5C80 3.5 210 2.5 297 6.5' fill='none' stroke='%239133ea' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lead { max-width: 768px; font-size: 18px; line-height: 24.75px; color: var(--muted); }
.hero-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-sub { display: flex; gap: 8px; }

/* ---------- arche des matières : cartes qui glissent sur un arc d'ellipse (offset-path), comme RevisionDojo ---------- */
.subjects { position: relative; z-index: 2; padding: 0 0 48px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sv-viewport { position: relative; height: 520px; margin-top: -44px; overflow: hidden; pointer-events: none; }
.sv-track { position: absolute; top: 0; bottom: 0; left: 50%; width: 2392px; transform: translateX(-50%); }
.sv-card { position: absolute; top: 0; left: 0; pointer-events: auto; flex-shrink: 0;
  offset-path: path("M 212 297 A 1136 378 0 0 1 2180 297"); offset-anchor: 50% 0%; offset-rotate: auto 0deg; offset-distance: var(--pos, 50%);
  will-change: offset-distance; }
.scard { position: relative; display: block; width: 206px; height: 268px; border-radius: 24px; border: 4px solid #fff; overflow: hidden;
  background: radial-gradient(circle at 25% 15%, rgba(255,255,255,.5), transparent 50%), linear-gradient(160deg, var(--a), var(--b));
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.08);
  transition: translate .3s ease-out, box-shadow .3s ease-out; opacity: 0; animation: sv-in .22s ease-out var(--delay, 0ms) forwards; }
.scard:hover, .scard:focus-visible { translate: 0 -16px; transition-delay: 120ms; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.08); }
@keyframes sv-in { to { opacity: 1; } }
.scard::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(0,0,0,.18), transparent); pointer-events: none; }
.scard .ill { position: absolute; left: 0; top: 10px; width: 100%; height: auto; overflow: visible; }
.scard span { position: absolute; z-index: 1; left: 10px; right: 10px; text-align: center; bottom: 16px; font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.2), 0 0 12px rgba(0,0,0,.15); }
.scard span.long { font-size: 22px; }
/* fondus en biais sur les bords (mêmes réglages que l'original) */
.sv-fade { position: absolute; z-index: 30; pointer-events: none; width: min(42rem, 40vw); height: calc(100% + 36rem); bottom: -22rem; }
.sv-fade.l { left: 5rem; transform-origin: 0 100%; transform: rotate(-45deg); background: linear-gradient(to right, #fff 0%, #fff 80%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, #000 0% 55%, #0000 100%); mask-image: linear-gradient(90deg, #000 0% 55%, #0000 100%); }
.sv-fade.r { right: 5rem; transform-origin: 100% 100%; transform: rotate(45deg); background: linear-gradient(to left, #fff 0%, #fff 80%, transparent 100%); -webkit-mask-image: linear-gradient(270deg, #000 0% 55%, #0000 100%); mask-image: linear-gradient(270deg, #000 0% 55%, #0000 100%); }
.subj-links { display: flex; justify-content: center; gap: 12px; margin-top: -40px; position: relative; z-index: 31; }
@media (max-width: 1023px) {
  .sv-viewport { height: 380px; }
  .sv-track { width: 1840px; }
  .sv-card { offset-path: path("M 123 230 A 920 263 0 0 1 1717 230"); }
  .scard { width: 170px; height: 222px; border-radius: 20px; }
  .scard span { font-size: 23px; } .scard span.long { font-size: 19px; }
  .sv-fade { display: none; }
  .subj-links { margin-top: -10px; }
}
@media (max-width: 639px) {
  .sv-viewport { height: 300px; margin-top: -30px; }
  .sv-track { width: 1472px; }
  .sv-card { offset-path: path("M 99 206 A 736 232 0 0 1 1373 206"); }
  .scard { width: 128px; height: 168px; border-radius: 18px; border-width: 3px; }
  .scard .ill { top: 4px; }
  .scard span { font-size: 18px; left: 6px; right: 6px; bottom: 11px; } .scard span.long { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .scard { opacity: 1; animation: none; } }

/* ---------- titres ---------- */
.h2 { font-family: var(--display); font-size: 48px; line-height: 52.8px; letter-spacing: -2.4px; font-weight: 600; text-align: center; max-width: 768px; margin-left: auto; margin-right: auto; }
.h2.w { color: #fff; }
.h2.l { text-align: left; margin: 0; }
.h2.sm { font-size: 30px; line-height: 33px; letter-spacing: -1.5px; }

/* ---------- citations (30px/500) ---------- */
.quotes { padding: 56px 32px 112px; text-align: center; }
.quote-track { display: grid; max-width: 816px; margin: 0 auto; }
.quote { grid-area: 1/1; font-size: 30px; line-height: 37.5px; letter-spacing: -.8px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; pointer-events: none; }
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote u { color: #155dfc; text-decoration-color: rgba(21,93,252,.4); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.quote-who { display: inline-flex; gap: 12px; align-items: center; margin-top: 40px; text-align: left; letter-spacing: 0; line-height: 1.4; }
.quote-track + .dots { margin-top: 28px; }
.avatar svg { display: block; width: 44px; height: 44px; }
.quote-who b { display: block; font-weight: 500; font-size: 18px; line-height: 28px; }
.quote-who small { display: block; color: var(--muted); font-size: 16px; line-height: 22px; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: #d4d4d4; transition: width .3s, background .3s; }
.dots button.is-on { width: 24px; background: var(--blue); }
.dots.dark button.is-on { background: #404040; }

/* ---------- chiffres ---------- */
.join { padding: 80px 32px 0; }
.globe-wrap { position: relative; height: 220px; max-width: 560px; margin: 32px auto 0; overflow: hidden; }
.globe-wrap::before { content: ''; position: absolute; left: 50%; top: 0; width: 560px; height: 560px; margin-left: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(191,219,254,.7), rgba(255,255,255,0) 62%); }
.globe { position: absolute; left: 50%; top: 34px; width: 400px; height: 400px; margin-left: -200px; }
.orbit { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.lv { position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 16px; border: 3px solid #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(30,27,75,.45); }
.lv b { font-family: var(--display); font-weight: 800; font-size: 17px; color: #fff; letter-spacing: -.02em; text-shadow: 0 1px 0 rgba(0,0,0,.15); }
.l6 { left: 70px; top: 128px; transform: rotate(-12deg); background: linear-gradient(150deg, #fda4af, #e11d48); }
.l5 { left: 168px; top: 44px; transform: rotate(-5deg); background: linear-gradient(150deg, #fcd34d, #ea580c); }
.l4 { left: 334px; top: 40px; transform: rotate(6deg); background: linear-gradient(150deg, #6ee7b7, #059669); }
.l3 { left: 432px; top: 120px; transform: rotate(12deg); background: linear-gradient(150deg, #c4b5fd, #7c3aed); }
.lv { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -6px; } } .l5 { animation-delay: -1.2s; } .l4 { animation-delay: -2.4s; } .l3 { animation-delay: -3.6s; }
.twk { position: absolute; width: 14px; height: 14px; background: #a5b4fc; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.t1 { left: 120px; top: 60px; } .t2 { left: 410px; top: 70px; width: 10px; height: 10px; background: #f0abfc; } .t3 { left: 260px; top: 8px; width: 12px; height: 12px; background: #fcd34d; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 672px; margin: 0 auto; border: 1px solid var(--border); border-radius: 16px; background: #fff; text-align: left; }
.stats > div { padding: 16px; border-left: 1px solid var(--border); }
.stats > div:first-child { border-left: 0; }
.sv { font-size: 18px; font-weight: 500; line-height: 28px; display: flex; align-items: center; gap: 8px; }
.si { font-size: 20px; }
.sl { font-size: 14px; line-height: 24px; color: var(--muted); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 24px auto 0; }
.chips span { padding: 8px 16px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 14px; font-weight: 500; line-height: 20px; }

/* ---------- sections à onglets ---------- */
.feature { padding: 128px 0 0; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 16px 16px; }
.tabs button { height: 44px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 16px; font-weight: 500; line-height: 24px; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.tabs button:hover { background: #ebebeb; }
.tabs button.is-on { background: var(--ink); color: #fff; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.panels { display: grid; }
.panel { grid-area: 1/1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--bg); border-radius: 24px; padding: 30px; min-height: 576px; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.panel.is-on { opacity: 1; visibility: visible; }
.panel > * { min-width: 0; }
.arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .15s; }
.arrow:hover { transform: scale(1.06); }
.arrow.prev { left: 16px; } .arrow.next { right: 16px; }
.mock { --ink: #0a0a0a; background: #fff; border-radius: 16px; padding: 30px 28px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px -12px rgba(0,0,0,.18); font-size: 15px; line-height: 24.375px; color: #364153; justify-self: end; width: 100%; max-width: 520px; }
.mock.center { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock h4 { font-family: var(--display); font-size: 24px; line-height: 32px; letter-spacing: -.6px; font-weight: 600; color: #101828; margin-bottom: 20px; }
.mini { display: inline-block; vertical-align: middle; margin-left: 6px; font-family: var(--sans); font-size: 12px; line-height: 18px; padding: 2px 8px; border-radius: 8px; background: var(--soft); color: var(--muted); font-weight: 500; letter-spacing: 0; }
.defn { background: #fdf2f8; border-radius: 12px; padding: 14px 16px; }
.tag { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.tag i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #e60076; color: #fff; font-size: 11px; }
.tag.pink { color: #c6005c; }
.dt { font-family: var(--display); font-size: 24px; line-height: 32px; letter-spacing: -.6px; font-weight: 600; color: #364153; margin: 10px 0 4px; }
.defn b { color: #101828; }
.body { margin-top: 16px; } .body a { color: #101828; font-weight: 500; text-decoration: underline; text-decoration-color: #c4b5fd; text-underline-offset: 3px; }
.note { margin-top: 14px; padding: 12px 14px; border-left: 3px solid #c4b5fd; background: #faf8ff; border-radius: 0 10px 10px 0; }
.note i { display: block; color: var(--muted); margin-top: 4px; }
.toolbar { display: flex; gap: 2px; justify-content: center; align-items: center; margin: 24px auto 0; width: max-content; max-width: 100%; border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.08); background: #fff; }
.toolbar span { white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--muted); }
.toolbar .hl { background: #f9e6ff; color: var(--magenta); }
.pitch { max-width: 373px; }
.pt { font-family: var(--display); font-size: 48px; line-height: 48px; letter-spacing: -2.4px; font-weight: 600; color: var(--accent); }
.pd { color: rgba(10,10,10,.6); font-size: 18px; line-height: 28px; margin: 24px 0; }
.sheet { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sheet li { padding: 10px 14px; border-radius: 12px; background: #f0fdf4; }
.sheet b { display: block; color: #016630; font-weight: 600; }
.concepts { display: grid; gap: 16px; }
.concepts > div { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; }
.concepts b { color: #101828; font-weight: 500; } .concepts small { color: var(--muted); font-size: 13px; }
.concepts .bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #f0f0f0; position: relative; overflow: hidden; }
.concepts .bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); background: #2b7fff; border-radius: 99px; }
.concepts .bar.o::after { background: #fe9a00; }
.flash { width: 100%; max-width: 380px; border: 1px solid var(--border); border-radius: 16px; padding: 20px; text-align: center; }
.flash small { display: block; color: #a1a1a1; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.flash b { font-family: var(--display); font-size: 22px; font-weight: 600; color: #101828; letter-spacing: -.5px; }
.flash.back { background: #fdf2f8; border-color: #fccee8; }
.rate { display: flex; gap: 8px; }
.rate span { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; color: var(--muted); }
.rate .ok { background: #dcfce7; color: #016630; }
.hlx { font-size: 16px; line-height: 30px; color: #364153; } .hlx + .hlx { margin-top: 14px; }
mark { padding: 1px 3px; border-radius: 3px; color: inherit; }
mark.y { background: #fef08a; } mark.g { background: #bbf7d0; } mark.p { background: #e9d5ff; }
.qhead { font-weight: 500; color: var(--ink); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.qhead span { font-size: 12px; line-height: 18px; padding: 2px 8px; border-radius: 8px; background: var(--soft); color: var(--muted); }
.qtxt { font-size: 16px; line-height: 26px; color: var(--ink); margin: 14px 0 16px; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); min-height: 40px; }
.opt i { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; font-style: normal; color: var(--muted); font-size: 14px; }
.opt.ok { color: #008236; }
.opt.ok i { background: #00a63e; border-color: #00a63e; color: #fff; box-shadow: 0 0 0 3px #b9f8cf; }
.expl { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #f0fdf4; color: #0d542b; font-size: 14px; line-height: 21px; }
.answer { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--soft); }
.answer span { color: var(--muted); } .answer b { font-size: 20px; color: var(--ink); } .answer em { margin-left: auto; color: #008236; font-style: normal; font-weight: 500; }
.timer { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; margin: 18px 0; }
.timer b { font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: -1px; grid-row: span 2; color: var(--ink); }
.timer small { color: var(--muted); }
.tbar { height: 8px; border-radius: 99px; background: #ffedd4; overflow: hidden; } .tbar i { display: block; height: 100%; background: #f54900; }
.grid-q { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.grid-q span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: var(--soft); font-size: 12px; color: var(--muted); font-weight: 500; }
.grid-q .d { background: #ffd6a8; color: #9f2d00; } .grid-q .c { background: #f54900; color: #fff; }
.errs { display: grid; gap: 10px; }
.errs > div { display: grid; grid-template-columns: 1fr auto; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); }
.errs b { color: var(--ink); font-weight: 500; } .errs small { color: var(--muted); grid-row: 2; }
.errs span { grid-row: span 2; align-self: center; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: #ffe2e2; color: #c10007; }

/* ---------- brevet (cadre violet + 3 cartes) ---------- */
.brevet { padding: 128px 32px 0; text-align: center; }
.brevet > .pbtn-black { margin: 24px 0 40px; }
.frame { max-width: 1280px; margin: 0 auto; padding: 24px; border-radius: 32px; background: linear-gradient(180deg, #ead9ff 0%, #f6edff 70%, #fff 100%); border: 2px solid #e9d5ff; }
.win { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 16px; box-shadow: 0 10px 40px -16px rgba(80,40,160,.3); text-align: left; overflow: hidden; }
.win-l { padding: 14px; border-right: 1px solid var(--border); }
.win-top { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.win-top b { font-weight: 500; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; }
.win-top.r { justify-content: center; gap: 36px; padding: 6px 0 14px; }
.wtabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); margin: 14px 0 16px; padding: 0 8px; font-size: 15px; color: var(--muted); font-weight: 500; }
.wtabs span { padding-bottom: 10px; } .wtabs .on { color: var(--blue); border-bottom: 2px solid var(--blue); }
.calc { border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.calc-h b { font-weight: 500; font-size: 16px; }
.split { display: flex; gap: 4px; font-size: 12px; font-weight: 600; color: #fff; margin-top: 12px; }
.split span { padding: 8px 10px; border-radius: 10px; background: #8e51ff; } .split span + span { background: var(--blue); }
.calc small { display: block; color: var(--muted); margin-top: 10px; font-size: 13px; line-height: 19px; }
.eps { margin: 16px 0 0; padding: 0 0 0 24px; font-size: 14px; color: var(--muted); display: grid; gap: 8px; }
.eps b { color: var(--ink); font-weight: 500; margin-right: 8px; }
.win-r { padding: 8px 24px 24px; background: #fafafa; }
.doc { background: #fff; border-radius: 6px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.08); font-family: Georgia, 'Times New Roman', serif; font-size: 14px; line-height: 22px; color: #333; }
.doc h5 { display: inline; font-size: 19px; line-height: 30px; background: #ffc9c9; color: #82181a; }
.doc .lbl { margin: 14px 0 8px; font-size: 0; } .doc .lbl::before { content: 'Déroulé'; font-size: 14px; background: #fff085; font-weight: 700; padding: 0 3px; }
.doc p + p { margin-top: 8px; }
.doc .faint { color: #999; }
.gauge { display: flex; flex-direction: column; align-items: center; margin-top: 18px; font-family: var(--sans); }
.gauge svg { width: 150px; } .gauge b { font-family: var(--display); font-weight: 600; color: #00a63e; margin-top: -10px; }
.three { max-width: 1152px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.three article { border: 1px solid var(--border); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.three .tx { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; border-top: 1px solid var(--border); }
.three h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.three p { font-size: 16px; line-height: 26px; margin: 8px 0 16px; flex: 1; }
.art { height: 254px; padding: 24px; font-size: 16px; }
.art.steps { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-content: start; color: var(--muted); overflow: hidden; border: 1px solid var(--border); border-bottom: 0; border-right: 0; border-radius: 12px 0 0 0; margin: 24px 0 0 24px; padding: 16px; height: 230px; }
.art.steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 12px; font-weight: 500; }
.art.steps span.on { background: var(--blue); color: #fff; }
.art.steps em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art.steps em.on { color: var(--blue); }
.art.oral { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.art.oral b { font-weight: 500; font-size: 15px; } .art.oral span { padding: 6px 14px; border-radius: 99px; background: #eff6ff; color: #1447e6; font-size: 13px; font-weight: 500; }
.art.oral em { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 28px; color: #00a63e; }
.art.plan { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-content: center; color: var(--muted); font-size: 14px; }
.art.plan span:nth-child(even) { padding: 8px 14px; border-radius: 10px; color: #fff; font-weight: 500; }
.art.plan .f { background: #8e51ff; } .art.plan .m { background: var(--blue); } .art.plan .h { background: #fe9a00; }

/* ---------- section sombre ---------- */
.dark { margin: 128px 0 0; padding: 0 16px; }
.dark-in { position: relative; max-width: 1408px; margin: 0 auto; padding: 96px 24px 128px; background: #000; color: #fff; border-radius: 40px 40px 0 0; overflow: hidden; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.dark-head { position: relative; z-index: 1; text-align: center; max-width: 768px; margin: -56px auto 128px; }
.dark-head p { color: rgba(255,255,255,.6); font-size: 20px; line-height: 32.5px; margin: 24px auto 32px; max-width: 576px; }
.row { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 160px; }
.row > * { min-width: 0; }
.kicker { color: #e879f9; font-weight: 500; font-size: 18px; line-height: 28px; display: flex; gap: 8px; align-items: center; }
.row .h2 { margin: 16px 0 24px; max-width: 540px; text-wrap: balance; }
.tp { color: rgba(255,255,255,.75); font-size: 20px; line-height: 32.5px; margin: 0 0 32px; max-width: 568px; }
.device { position: relative; }
.device::before { content: ''; position: absolute; inset: 60px -40px -40px; background: radial-gradient(closest-side, rgba(191,39,211,.45), transparent); filter: blur(24px); }
.mtabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; margin: 0 0 16px; border-radius: 18px; background: #f0abfc; }
.mtabs button, .mtabs span { height: 46px; padding: 8px 14px; border-radius: 12px; border: 0; background: transparent; color: #4a044e; font-weight: 600; font-size: 16px; line-height: 24px; display: inline-flex; align-items: center; transition: background .2s; }
.mtabs .is-on, .mtabs button.is-on { background: #fff; color: #0a0a0a; }
.mtabs button:hover { background: rgba(255,255,255,.4); }
.screen { position: relative; display: grid; padding: 16px; border-radius: 34px; background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 80px -20px rgba(192,38,211,.45), inset 0 1px 0 rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.screen > .panel, .screen > .evo2 { grid-area: 1/1; min-height: 400px; padding: 24px; border-radius: 22px; background: #fff; color: #0a0a0a; display: block; }
.streak { display: flex; align-items: baseline; gap: 12px; } .streak b { font-family: var(--display); font-size: 36px; font-weight: 700; } .streak span { color: var(--muted); }
.steps-d { display: grid; gap: 10px; margin-top: 20px; }
.steps-d > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); font-weight: 500; }
.steps-d small { color: var(--muted); font-weight: 400; }
.steps-d .done { background: #f0fdf4; border-color: #b9f8cf; color: #016630; }
.steps-d .cur { border-color: #e879f9; box-shadow: 0 0 0 3px #fae8ff; }
.wordle { display: grid; gap: 8px; justify-content: center; margin-top: 40px; }
.wordle div { display: flex; gap: 6px; }
.wordle span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--border); font-weight: 700; font-size: 20px; font-family: var(--display); }
.wordle .g { background: #00a63e; border-color: #00a63e; color: #fff; } .wordle .y { background: #f0b100; border-color: #f0b100; color: #fff; }
.wl { text-align: center; color: var(--muted); margin-top: 28px; }
.endless { display: grid; gap: 10px; }
.endless .lives { color: #e7000b; font-size: 22px; } .endless b { font-family: var(--display); font-size: 24px; } .endless p { margin: 4px 0 6px; font-size: 16px; color: #0a0a0a; }
.evo { display: flex !important; align-items: center; gap: 32px; }
.ring { flex: none; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(#00a63e 0 78%, #f0f0f0 78% 100%); display: grid; grid-template-rows: 1fr 1fr; place-items: center; position: relative; }
.ring::before { content: ''; position: absolute; inset: 14px; background: #fff; border-radius: 50%; }
.ring b, .ring small { position: relative; } .ring b { font-family: var(--display); font-size: 30px; font-weight: 700; align-self: end; } .ring small { color: var(--muted); align-self: start; }
.evo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.evo li { padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.evo .ok { background: #dcfce7; color: #016630; } .evo .mid { background: #fef3c6; color: #894b00; } .evo .low { background: #ffe2e2; color: #9f0712; }

/* ---------- jeux ---------- */
.games { position: relative; max-width: 1408px; width: calc(100% - 32px); margin: -2px auto 0; padding: 96px 24px 120px; text-align: center; overflow: hidden; border-radius: 0 0 40px 40px;
  background: radial-gradient(ellipse 60% 55% at 50% 105%, #7e22ce 0%, rgba(88,28,135,.6) 40%, transparent 75%), linear-gradient(180deg, #000 0%, #1a0626 30%, #22062f 100%); }
.games .mbtn { margin-top: 32px; position: relative; z-index: 2; }
.floaters span { position: absolute; color: #c27aff; font-size: 54px; opacity: .85; animation: bob 6s ease-in-out infinite; }
.f1 { left: 18%; top: 55%; } .f2 { left: 78%; top: 62%; font-size: 34px !important; color: #9810fa !important; animation-delay: -2s !important; } .f3 { left: 81%; top: 22%; color: #e879f9 !important; } .f4 { left: 13%; top: 24%; color: #7c3aed !important; animation-delay: -3s !important; } .f5 { left: 64%; top: 34%; font-size: 40px !important; animation-delay: -1s !important; } .f6 { left: 30%; top: 72%; font-size: 22px !important; color: #e879f9 !important; }
.games-cards { position: relative; z-index: 2; display: flex; justify-content: center; gap: 20px; margin-top: 56px; flex-wrap: wrap; }
.games-cards div { width: 260px; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.games-cards img { width: 72px; height: 72px; }
.games-cards b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; margin-top: 10px; letter-spacing: -.5px; }
.games-cards small { color: rgba(255,255,255,.65); font-size: 15px; line-height: 22px; }
.glow { position: absolute; left: 50%; bottom: -60px; width: 500px; height: 120px; margin-left: -250px; background: radial-gradient(closest-side, rgba(217,70,239,.7), transparent); filter: blur(10px); }

/* ---------- progrès (2 + 3 cartes) ---------- */
.progress { padding: 128px 32px; }
.pgrid { max-width: 1152px; margin: 0 auto; display: grid; gap: 16px; }
.pgrid.two { grid-template-columns: 1fr 1fr; margin-top: 48px; }
.pgrid.three-c { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.pgrid article { background: var(--bg); border: 2px solid var(--bd); border-radius: 24px; padding: 24px 24px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 460px; }
.pgrid h3 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.6px; }
.pgrid article > p { color: rgba(10,10,10,.5); font-size: 16px; line-height: 26px; margin: 8px 0 24px; max-width: 520px; }
.pv { margin-top: auto; background: #fff; border-radius: 16px 16px 0 0; border: 1px solid var(--border); border-bottom: 0; padding: 18px 18px 22px; box-shadow: 0 -4px 20px rgba(0,0,0,.04); }
.pv.c { display: flex; flex-direction: column; align-items: center; }
.pv.list { display: grid; gap: 8px; }
.day { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-top: 6px; }
.day b { font-weight: 600; letter-spacing: -.4px; }
.today { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: #dbeafe; color: #1447e6; font-weight: 500; }
.it { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.it i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d4d4d4; display: grid; place-items: center; font-style: normal; font-size: 11px; flex: none; }
.it.done i { background: #155dfc; border-color: #155dfc; color: #fff; }
.it s { color: var(--muted); } .it small { margin-left: auto; color: var(--muted); }
.ov { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.ov span { font-weight: 400; color: var(--muted); font-size: 12px; } .ov b { color: var(--ink); padding: 1px 6px; background: var(--soft); border-radius: 6px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpis div { border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; }
.kpis small { display: block; color: var(--muted); font-size: 11px; } .kpis b { font-size: 17px; font-weight: 500; }
.bars { height: 110px; display: flex; align-items: flex-end; gap: 10px; margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 10px 0; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(#86efac 0 72%, #fca5a5 72%); }
.lb { display: grid; grid-template-columns: 20px 1fr; gap: 4px 10px; align-items: center; padding: 8px 0; font-size: 13px; }
.lb span { color: #d08700; font-weight: 700; } .lb b { font-weight: 500; }
.lb i { grid-column: 2; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #8e51ff, #f6339a) 0 0 / var(--w) 100% no-repeat, #f0f0f0; }
.big { font-family: var(--display); font-size: 40px; line-height: 44px; font-weight: 700; color: #f54900; }
.muted { color: var(--muted); }
.week { display: flex; gap: 8px; margin-top: 14px; }
.week span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-size: 12px; color: var(--muted); font-weight: 600; }
.week .on { background: #ffedd4; color: #f54900; }
.timer-c { width: 150px; height: 150px; border-radius: 50%; border: 8px solid #d0fae5; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.timer-c b { font-size: 32px; line-height: 40px; font-weight: 500; letter-spacing: -.8px; } .timer-c small { color: var(--muted); font-size: 12px; font-weight: 500; }
.go { margin-top: 16px; width: 100%; text-align: center; padding: 8px; border-radius: 10px; background: #009966; color: #fff; font-size: 14px; font-weight: 500; }

/* ---------- programmes officiels ---------- */
.experts { padding: 0 32px 128px; text-align: center; }
.people { display: flex; justify-content: center; align-items: center; margin: 48px 0 32px; }
.people span { width: 130px; height: 130px; margin: 0 -14px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 70%); color: #4d179a; font-family: var(--display); font-weight: 800; font-size: 30px; box-shadow: 0 10px 30px -12px rgba(76,29,149,.5); }
.people .big { width: 200px; height: 200px; font-size: 48px; color: #fff; position: relative; z-index: 2; background: radial-gradient(circle at 35% 30%, #c4b5fd, var(--c) 70%); }
.exp-n { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.6px; }
.exp-t { max-width: 384px; margin: 8px auto 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.exp-s { margin: 48px 0 20px; color: var(--muted); font-size: 18px; line-height: 28px; font-weight: 500; letter-spacing: -.45px; }
.refs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; max-width: 1000px; margin: 0 auto 40px; }
.refs span { display: flex; flex-direction: column; color: #525252; font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.refs small { font-size: 13px; color: #a1a1a1; font-weight: 500; }

/* ---------- parents (mur de cartes) ---------- */
.parents { padding: 0 32px 112px; text-align: center; }
.wall { max-width: 1152px; margin: 48px auto 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.wall article { border: 1px solid var(--border); border-radius: 24px; padding: 20px; }
.who { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.pi { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f3e8ff; font-size: 18px; }
.who b { display: block; font-size: 18px; line-height: 28px; font-weight: 600; } .who small { color: var(--muted); font-size: 14px; line-height: 20px; }
.wall p { color: #525252; font-size: 17px; line-height: 26px; }
.wall u { text-underline-offset: 3px; text-decoration-thickness: 2px; }
.u1 { color: #9810fa; text-decoration-color: rgba(152,16,250,.35); } .u2 { color: #00a63e; text-decoration-color: rgba(0,166,62,.35); } .u3 { color: #e17100; text-decoration-color: rgba(225,113,0,.35); } .u4 { color: #155dfc; text-decoration-color: rgba(21,93,252,.35); }

/* ---------- FAQ ---------- */
.faq { max-width: 832px; margin: 0 auto; padding: 0 32px 48px; }
.ftabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 48px 0 32px; padding: 4px; border-radius: 999px; background: var(--soft); width: max-content; max-width: 100%; }
.ftabs button { height: 36px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 20px; }
.ftabs button.is-on { background: var(--ink); color: #fff; }
.fcat { display: none; } .fcat.is-on { display: block; }
.fcat h3 { font-family: var(--display); font-size: 24px; line-height: 32px; font-weight: 600; margin-bottom: 20px; }
details { background: var(--soft); border-radius: 16px; margin-bottom: 12px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 12px 12px 12px 20px; font-size: 18px; line-height: 22.5px; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--ink); position: relative; }
summary i::before, summary i::after { content: ''; position: absolute; left: 10px; right: 10px; top: 15px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details p { padding: 0 20px 20px; color: #525252; font-size: 16px; line-height: 26px; }
.ask { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 32px; border-radius: 24px; background: var(--soft); }
.ask h3 { font-size: 20px; line-height: 28px; font-weight: 500; } .ask p { color: var(--muted); font-size: 14px; line-height: 20px; margin: 6px 0 20px; }
.ask svg { width: 150px; flex: none; }

/* ---------- appel final ---------- */
.final { position: relative; margin: 32px 16px 0; padding: 128px 16px 200px; border-radius: 24px; overflow: hidden; text-align: center; }
.final .sky { height: auto; inset: 0; border-radius: 24px; background: linear-gradient(180deg, #f8fbff 0%, #e3edff 35%, #cfd8fb 70%, #b9c0f2 100%); }
.final .m1 { border-bottom-color: #a3b2e6; bottom: 0; } .final .m2 { border-bottom-color: #93a2dc; bottom: 0; } .final .m3 { border-bottom-color: #c4b4f6; bottom: 0; left: 30%; }
.final .cloud.c4 { top: auto; bottom: 30px; }
.star { position: absolute; color: #c4b4ff; font-size: 300px; line-height: 1; opacity: .8; }
.star.s1 { left: 1%; top: 28%; transform: rotate(-14deg); } .star.s2 { right: 3%; top: 16%; transform: rotate(18deg); font-size: 240px; } .star.s3 { left: 28%; top: 6%; font-size: 340px; opacity: .45; transform: rotate(8deg); }
.final .h2 { position: relative; z-index: 2; color: #4d179a; }
.final .hbtn { position: relative; z-index: 2; margin-top: 32px; }

/* ---------- pied de page ---------- */
.foot { padding: 64px 32px; }
.foot-in { max-width: 1216px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.foot-in.subj { display: block; margin-top: 48px; }
.fcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fcols.four { grid-template-columns: repeat(4, 1fr); }
.fcols > div { display: flex; flex-direction: column; align-items: flex-start; }
.foot h3 { font-size: 16px; line-height: 20px; font-weight: 500; margin-bottom: 14px; }
.foot h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.fcols a, .fcols span { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 17.5px; padding: 5px 0; }
.fcols a:hover { color: var(--ink); }
.sh h3 { margin-bottom: 16px; }
.fbrand .brand-xl { font-size: 44px; gap: 14px; letter-spacing: -.04em; }
.fbrand .brand-xl svg, .fbrand .brand-xl img { width: 50px; height: 50px; }
.fbrand p { color: var(--muted); font-size: 14px; line-height: 19px; margin-top: 12px; max-width: 380px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: flex; }
  .panel, .row, .win { grid-template-columns: 1fr; }
  .panel { padding: 24px; gap: 28px; min-height: 0; }
  .panel .pitch { order: -1; max-width: 560px; }
  .mock { justify-self: stretch; max-width: none; }
  .row.rev .device { order: 2; }
  .three, .wall, .pgrid.three-c { grid-template-columns: 1fr 1fr; }
  .arrow { display: none; }
  .stage { padding: 0 16px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-cta .nbtn-grey { display: none; }
  .hero { padding: 40px 16px 0; }
  .hero h1 { font-size: 38px; line-height: 42px; letter-spacing: -1.6px; }
  .lead { font-size: 16px; line-height: 23px; }
  .hero-cta, .hero-sub { width: 100%; }
  .hbtn-ghost { min-width: 0; width: auto; flex: 1; font-size: 15px; padding: 8px 10px; background: rgba(255,255,255,.6); }
  .subjects::before, .subjects::after { width: 30px; }
  .subj-links { flex-direction: column; align-items: center; }
  .h2 { font-size: 34px; line-height: 38px; letter-spacing: -1.5px; }
  .quote { font-size: 22px; line-height: 29px; letter-spacing: -.4px; }
  .quotes, .join, .brevet, .progress, .experts, .parents, .faq, .foot { padding-left: 16px; padding-right: 16px; }
  .feature, .brevet { padding-top: 96px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .pt { font-size: 36px; line-height: 38px; letter-spacing: -1.6px; }
  .three, .wall, .pgrid.two, .pgrid.three-c, .fcols { grid-template-columns: 1fr; }
  .fcols.four { grid-template-columns: 1fr 1fr; }
  .dark { padding: 0 8px; }
  .dark-in { padding: 64px 8px 96px; border-radius: 28px 28px 0 0; }
  .row { padding: 0 8px; gap: 32px; } .row + .row { margin-top: 96px; }
  .dark-head { margin-bottom: 80px; }
  .dark-head p, .tp { font-size: 17px; line-height: 27px; }
  .mtabs { display: flex; flex-wrap: wrap; }
  .mtabs button, .mtabs span { padding: 6px 10px; font-size: 14px; height: 40px; }
  .wordle span { width: 34px; height: 34px; font-size: 16px; }
  .evo { flex-direction: column; }
  .games { width: calc(100% - 16px); border-radius: 0 0 28px 28px; }
  .people span { width: 76px; height: 76px; font-size: 20px; margin: 0 -10px; } .people .big { width: 120px; height: 120px; font-size: 32px; }
  .ftabs { border-radius: 20px; }
  .ask svg { display: none; }
  .toolbar span { padding: 6px 8px; font-size: 12px; }
  .star { font-size: 150px !important; }
  .final { padding: 96px 16px 150px; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 680px) {
  .globe-wrap { width: 560px; max-width: none; left: 50%; margin-left: -280px; transform: scale(.64); transform-origin: 50% 100%; margin-top: -60px; }
  .news { font-size: 13px; }
}

/* ---------- section Daily (refonte) ---------- */
.daily-hero { width: 560px; max-width: 100%; margin: -20px auto 0; }
.daily-hero svg { display: block; width: 100%; height: auto; overflow: visible; }
.daily-hero svg > circle:first-of-type { filter: drop-shadow(0 0 40px rgba(232,121,249,.55)); }
.kic { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e879f9; color: #2e0a3a; font-size: 13px; }
.mtabs { background: linear-gradient(90deg, #e879f9, #f0abfc); box-shadow: 0 10px 30px -10px rgba(232,121,249,.7); }
.ti { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: rgba(74,4,78,.12); font-size: 13px; }
.mtabs .is-on .ti { background: #4a044e; color: #fff; }
.dhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.dhead b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.dhead small { color: var(--muted); font-size: 13px; }
.pring { --p: 50%; flex: none; width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(#c026d3 0 var(--p), #f5f5f5 var(--p) 100%); display: grid; place-items: center; position: relative; }
.pring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.pring span { position: relative; font-size: 13px; font-weight: 700; }
.dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dlist li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--border); }
.dlist li > div { flex: 1; min-width: 0; }
.dlist b { display: block; font-size: 15px; font-weight: 600; }
.dlist small { color: var(--muted); font-size: 12.5px; }
.dlist li.ok { background: #fafafa; } .dlist li.ok b { color: #737373; }
.dlist li.cur { border-color: #e879f9; box-shadow: 0 0 0 4px #fae8ff; }
.tile { --c: #a855f7; flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.st { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.st.ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #00a63e; color: #fff; }
.st.now { padding: 3px 10px; border-radius: 99px; background: #fae8ff; color: #a800b7; }
.dstreak { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(90deg, #fff7ed, #ffedd4); }
.dstreak svg { width: 20px; height: 24px; } .dstreak b { font-size: 14px; } .dstreak span { margin-left: auto; color: #ca3500; font-size: 12px; font-weight: 600; }
.chip-s { flex: none; padding: 4px 10px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; }
.chip-s.up { background: #dcfce7; color: #008236; }
.wordle { margin-top: 18px; }
.wordle .empty span { background: #fafafa; }
.wl b { color: #a800b7; }
.hearts { color: #e7000b; font-size: 18px; letter-spacing: 2px; } .hearts i { font-style: normal; color: #e5e5e5; }
.escore { display: flex; align-items: baseline; gap: 10px; } .escore span { color: var(--muted); font-size: 13px; } .escore b { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -1px; } .escore em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: auto; }
.eq { margin: 10px 0 14px; font-size: 16px; line-height: 24px; font-weight: 500; }
.eopts { display: grid; gap: 8px; }
.eopts span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--border); font-size: 14px; }
.eopts i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; }
.eopts .ok { border-color: #7bf1a8; background: #f0fdf4; color: #016630; } .eopts .ok i { background: #00a63e; color: #fff; }
.evo-body { display: flex; align-items: center; gap: 28px; }
.evo2 .ring { width: 150px; height: 150px; background: conic-gradient(from -90deg, #c026d3 0, #8e51ff 78%, #f5f5f5 78% 100%); }
.evo2 ul { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: 12px; }
.evo2 li { display: grid; gap: 5px; font-size: 14px; font-weight: 500; }
.evo2 li i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--a), var(--b)) 0 0 / var(--w) 100% no-repeat, #f5f5f5; }
.evo2 .ok i { --a: #05df72; --b: #00a63e; } .evo2 .mid i { --a: #ffd230; --b: #fe9a00; } .evo2 .low i { --a: #ff8904; --b: #fb2c36; }

/* ---------- blocs « Mes erreurs », « Série », « Focus » (refonte) ---------- */
.pv.board { padding: 16px 16px 18px; }
.bh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bh b { font-size: 14px; font-weight: 600; }
.bh span { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--soft); }
.bh em { font-style: normal; font-size: 11px; color: var(--muted); padding: 2px 8px; border-radius: 6px; }
.bh em.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.br { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.br > div { flex: 1; min-width: 0; }
.br b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br small { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.medal { flex: none; width: 22px; height: 22px; } .medal text { font-size: 11px; font-weight: 800; fill: #fff; font-family: var(--sans); }
.av { --c: #8e51ff; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 60%, #fff), var(--c)); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.bar { display: block; height: 6px; margin-top: 5px; border-radius: 99px; background: #f5f5f5; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--a), var(--b)); }
.fix { display: flex; justify-content: center; margin-top: 10px; } .fix svg { width: 130px; }
.streakc { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 18px 0; }
.sh2 { display: flex; align-items: center; gap: 8px; }
.sh2 .fl { width: 30px; height: 36px; } .sh2 b { font-family: var(--display); font-size: 38px; line-height: 40px; font-weight: 700; color: #f54900; }
.streakc > small { color: var(--muted); font-size: 13px; font-weight: 500; }
.wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; margin-top: 14px; }
.wk span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #f54900; }
.wk span:nth-child(n+5) { color: #a1a1a1; }
.wk svg { width: 20px; height: 24px; }
.gems { position: relative; width: 100%; height: 86px; margin-top: 14px; display: flex; justify-content: center; align-items: flex-end; gap: 4px;
  background: linear-gradient(to top, rgba(255,237,212,.7), transparent); border-radius: 16px 16px 0 0; }
.gems svg { width: 56px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.15)); transform: rotate(-10deg); animation: floaty 4s ease-in-out infinite; }
.gems svg.mid { width: 64px; transform: translateY(-14px); animation-delay: -1.3s; }
.gems svg:last-child { transform: rotate(10deg); animation-delay: -2.6s; }
.focusc { padding-top: 20px; }
.fring { position: relative; width: 150px; height: 150px; }
.fring svg { width: 100%; height: 100%; }
.fring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fring b { font-size: 32px; line-height: 40px; font-weight: 500; letter-spacing: -.8px; }
.fring small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.fring small i { width: 7px; height: 7px; border-radius: 50%; background: #00bc7d; }
.amb { display: flex; gap: 6px; margin-top: 14px; }
.amb span { padding: 4px 10px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 500; }
.amb .on { background: #d0fae5; color: #007a55; }
@media (max-width: 680px) {
  .daily-hero { margin-top: -10px; }
  .dark-head { margin-top: -30px; }
  .evo-body { flex-direction: column; }
  .dlist small { display: none; }
  .screen { padding: 10px; border-radius: 26px; }
}
@media (max-width: 680px) { .mtabs .ti { display: none; } .mtabs { flex-wrap: nowrap; } .mtabs button, .mtabs span { padding: 6px 12px; } }
/* Logo complet Chapteo (couronne + « Chapteo education ») */
.brand img.brand-full { width: auto; height: 40px; }
.fbrand .brand-xl img.brand-full { width: auto; height: 60px; max-width: 100%; }
