/* ============================================================================= UQO — Notes de cours interactives — feuille de style v2 Identité : bleu nuit / bleu UQO / or ; Fraunces (titres), Source Serif 4 (prose), Fira Sans (interface). Couleur d’accent par partie du cours. ============================================================================= */ :root { --navy: #091a33; --navy-2: #0f2a52; --navy-3: #133566; --uqo: #0f6180; --bleu: #0b4f78; --bleu-clair: #2a86b0; --bleu-pale: #e3f0f6; --or: #cca424; --or-fonce: #9e7d1c; --or-pale: #f7efd2; --gris: #606670; --gris-clair: #d0d5dc; --gris-pale: #e7ebf0; --vert: #107c4e; --rouge: #b22a20; --teal: #0f8b8d; --violet: #6b4fbb; --bg: #ffffff; --bg-clair: #f3f7fa; --bg-2: #f8fafc; --card: #ffffff; --border: #e3e8ee; --ink: #1d2430; --ink-2: #4d5665; --link: #0b4f78; --part: var(--uqo); --part-soft: rgba(15, 97, 128, .12); --shadow: 0 1px 2px rgba(9, 26, 51, .05), 0 10px 28px -16px rgba(9, 26, 51, .18); --shadow-sm: 0 1px 2px rgba(9, 26, 51, .07); --shadow-lg: 0 24px 60px -24px rgba(9, 26, 51, .35); --radius: 12px; --radius-sm: 8px; --radius-xs: 6px; --text-w: 68ch; --margin-w: 260px; --margin-gap: 40px; --topbar-h: 62px; --font: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif; --display: "Fraunces", "Source Serif 4", Georgia, serif; --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; --fs: 17.5px; --lh: 1.68; color-scheme: light; } [data-theme="dark"] { --navy: #070f1e; --navy-2: #0c1d38; --navy-3: #11284c; --uqo: #4fb0d6; --bleu: #7dbfe0; --bleu-clair: #98cde8; --bleu-pale: #17324a; --or: #e3c04f; --or-fonce: #d1ac36; --or-pale: #2d2812; --gris: #a4abb8; --gris-clair: #38414f; --gris-pale: #262d3a; --vert: #5cc496; --rouge: #f28078; --teal: #4fc0c2; --violet: #a893e8; --bg: #0e131d; --bg-clair: #151c2a; --bg-2: #121827; --card: #171e2d; --border: #27303f; --ink: #e7ebf2; --ink-2: #b9c1cd; --link: #93c1f0; --part-soft: rgba(147, 193, 240, .12); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -16px rgba(0, 0, 0, .7); --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5); --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .8); color-scheme: dark; } body[data-part="1"] { --part: #2976bb; --part-soft: rgba(41, 118, 187, .13); } body[data-part="2"] { --part: #0f8b8d; --part-soft: rgba(15, 139, 141, .13); } body[data-part="3"] { --part: #cca424; --part-soft: rgba(204, 164, 36, .16); } body[data-part="4"] { --part: #6b4fbb; --part-soft: rgba(107, 79, 187, .13); } body[data-part="5"] { --part: #107c4e; --part-soft: rgba(16, 124, 78, .13); } [data-theme="dark"] body[data-part="1"] { --part: #7fb4ea; } [data-theme="dark"] body[data-part="2"] { --part: #4fc0c2; } [data-theme="dark"] body[data-part="3"] { --part: #e3c04f; } [data-theme="dark"] body[data-part="4"] { --part: #a893e8; } [data-theme="dark"] body[data-part="5"] { --part: #5cc496; } [data-fs="s"] { --fs: 15.5px; } [data-fs="l"] { --fs: 19.5px; } [data-fs="xl"] { --fs: 21.5px; } *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 70px); } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } } body { margin: 0; font-family: var(--font); font-size: var(--fs); line-height: var(--lh); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } img { max-width: 100%; height: auto; } svg[aria-hidden="true"] { width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.12em; } .hero-deco, .ch-hero .deco { width: 100%; height: 100%; } svg.wchart, svg.course-map { width: 100%; height: auto; } a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .15s; } a:hover { text-decoration-color: currentColor; } code, kbd { font-family: var(--mono); font-size: .88em; } code { background: var(--bg-clair); padding: .1em .4em; border-radius: 4px; } kbd { border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; padding: 0 .4em; background: var(--card); font-size: .78em; } hr.sep { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gris-clair) 20%, var(--gris-clair) 80%, transparent); margin: 2.4rem auto; position: relative; max-width: 60%; } hr.sep::after { content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--or); transform: translateX(-50%); } .skip { position: absolute; left: -999px; top: 8px; background: var(--or); color: var(--navy); padding: .5rem 1rem; border-radius: 6px; z-index: 1000; font-weight: 600; } .skip:focus { left: 8px; } .muted { color: var(--gris); } .c-bleu { color: var(--bleu); } .c-bleu-clair { color: var(--bleu-clair); } .c-or { color: var(--or-fonce); } [data-theme="dark"] .c-or { color: var(--or); } .c-gris { color: var(--gris); } .c-gris-clair { color: var(--gris-clair); } .c-vert { color: var(--vert); } .c-rouge { color: var(--rouge); } .c-navy { color: var(--navy); } [data-theme="dark"] .c-navy { color: var(--ink); } .c-white { color: inherit; } .upper { text-transform: uppercase; } .sc { font-variant: small-caps; } .num { white-space: nowrap; font-variant-numeric: tabular-nums; } /* révélation au défilement */ .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1); } .reveal.in { opacity: 1; transform: none; } .reveal:nth-child(2) { transition-delay: .06s; } .reveal:nth-child(3) { transition-delay: .12s; } .reveal:nth-child(4) { transition-delay: .18s; } /* ============================================================================= Barre supérieure (claire, logo UQO) ============================================================================= */ .topbar { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); color: var(--ink); border-bottom: 1px solid var(--border); transition: box-shadow .2s; } [data-theme="dark"] .topbar { background: rgba(14, 19, 29, .86); } .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--uqo), var(--or) 60%, var(--uqo)); opacity: .9; } .topbar.scrolled { box-shadow: 0 10px 30px -18px rgba(9, 26, 51, .35); } .topbar-inner { max-width: 1440px; margin: 0 auto; padding: 0 22px; height: var(--topbar-h); display: flex; align-items: center; gap: 18px; } .brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; } .brand-logo { height: 30px; width: auto; display: block; } [data-theme="dark"] .brand-logo { filter: brightness(0) invert(1); opacity: .92; } .brand-sep { width: 1px; height: 30px; background: var(--border); } .brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; } .brand-code { font-weight: 800; letter-spacing: .06em; font-size: 1rem; color: var(--uqo); } .brand-title { font-size: .76rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; } .topnav { display: flex; gap: 2px; margin-left: auto; align-items: center; } .topnav > a, .topnav > .dd > button { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s; } .topnav > a:hover, .topnav > .dd > button:hover, .topnav > a[aria-current="page"], .topnav > .dd.current > button, .topnav > .dd.open > button { background: var(--bg-clair); color: var(--uqo); } .topnav > a[aria-current="page"], .topnav > .dd.current > button { box-shadow: inset 0 -2px 0 var(--or); } .dd { position: relative; } .dd > button .caret { font-size: .7em; opacity: .6; transition: transform .15s; } .dd.open > button .caret { transform: rotate(180deg); } .dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px; background: var(--card); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: none; gap: 2px; z-index: 200; animation: pop .16s ease-out; } @keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } } .dd-menu.wide { min-width: 660px; grid-template-columns: 1fr 1fr; gap: 2px 14px; right: auto; } .dd.open .dd-menu { display: grid; } .dd:last-child .dd-menu { left: auto; right: 0; } .dd-menu a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .88rem; line-height: 1.3; } .dd-menu a:hover { background: var(--bg-clair); } .dd-menu a .dd-desc { display: block; font-size: .75rem; color: var(--gris); margin-top: 2px; font-weight: 400; } .dd-menu a .dd-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--bleu-pale); display: grid; place-items: center; flex: 0 0 auto; color: var(--uqo); } .dd-menu a .dd-ico svg { width: 16px; height: 16px; } .dd-menu .dd-part { grid-column: 1 / -1; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); margin: 8px 10px 2px; font-weight: 700; display: flex; align-items: center; gap: 8px; } .dd-menu .dd-part i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; } .dd-menu .dd-part:first-child { margin-top: 0; } .pastille { flex: 0 0 auto; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--uqo); color: #fff; font-size: .72rem; font-weight: 700; } .pastille.done { background: var(--vert) !important; color: #fff !important; } .topbar-actions { display: flex; gap: 6px; align-items: center; } .icon-btn { appearance: none; background: var(--bg-clair); border: 1px solid var(--border); color: var(--ink); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; transition: background .15s, color .15s; } .icon-btn:hover { background: var(--bleu-pale); color: var(--uqo); } .icon-btn svg { width: 18px; height: 18px; } .search-btn { width: auto; padding: 0 12px; gap: 8px; font-family: inherit; font-size: .85rem; display: inline-flex; align-items: center; white-space: nowrap; } .menu-btn { display: none; } .readbar { height: 3px; background: var(--gris-pale); } .readbar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--uqo), var(--or)); transition: width .1s linear; } @media (max-width: 1080px) { .topnav { display: none; position: absolute; top: var(--topbar-h); left: 0; right: 0; background: var(--card); flex-direction: column; align-items: stretch; padding: 10px 14px 16px; border-bottom: 2px solid var(--or); gap: 4px; max-height: calc(100vh - var(--topbar-h)); overflow: auto; box-shadow: var(--shadow-lg); } .topnav.open { display: flex; } .topnav > a, .topnav > .dd > button { padding: 12px 14px; font-size: 1rem; width: 100%; justify-content: space-between; } .dd-menu, .dd-menu.wide { position: static; min-width: 0; grid-template-columns: 1fr; box-shadow: none; animation: none; border: 0; background: var(--bg-clair); } .menu-btn { display: inline-grid; } .brand-title { display: none; } .brand-logo { height: 26px; } .search-btn span, .search-btn kbd { display: none; } .search-btn { width: 38px; padding: 0; } } /* ============================================================================= Pied de page ============================================================================= */ .site-footer { margin-top: 90px; background: linear-gradient(160deg, #0b3d52, #0f6180); color: rgba(255, 255, 255, .78); border-top: 3px solid var(--or); font-size: .9rem; position: relative; overflow: hidden; } .site-footer::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(41, 118, 187, .3); } .footer-inner { max-width: 1240px; margin: 0 auto; padding: 46px 22px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; position: relative; } .footer-inner h4 { color: #fff; margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; } .footer-inner a { color: rgba(255, 255, 255, .85); text-decoration: none; display: block; padding: 3px 0; } .footer-inner a:hover { color: var(--or); } .footer-brand .brand-code { font-size: 1.5rem; font-family: var(--display); font-weight: 700; color: var(--or); } .footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); } .footer-legal div { max-width: 1240px; margin: 0 auto; padding: 14px 22px; font-size: .78rem; color: rgba(255, 255, 255, .6); display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; } @media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } } /* ============================================================================= Mise en page générique ============================================================================= */ .page { max-width: 1240px; margin: 0 auto; padding: 0 22px; } .page-head { padding: 52px 0 22px; position: relative; } .page-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 8px; color: var(--bleu); line-height: 1.1; letter-spacing: -.01em; font-variation-settings: "opsz" 144; } .page-head .lead { color: var(--ink-2); font-size: 1.08rem; max-width: 74ch; margin: 0; font-family: var(--serif); } .eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--or-fonce); font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } [data-theme="dark"] .eyebrow { color: var(--or); } .eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--or); border-radius: 2px; } .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } @media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } } .card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; box-shadow: none; transition: transform .15s, box-shadow .2s, border-color .2s; } a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--bleu-clair); } .card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--bleu); display: flex; align-items: center; gap: 8px; } .card h3 svg { width: 18px; height: 18px; color: var(--or-fonce); } .btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; font-family: var(--font); line-height: 1.2; background: var(--bleu); color: #fff; transition: transform .12s, box-shadow .2s, background .15s; } .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; } .btn:active { transform: translateY(0); } .btn svg { width: 17px; height: 17px; } .btn-or { background: linear-gradient(135deg, #e0bb47, var(--or)); color: var(--navy); } .btn-ghost { background: transparent; color: var(--bleu); border-color: var(--border); } [data-theme="dark"] .btn { background: var(--bleu-clair); color: var(--navy); } [data-theme="dark"] .btn-ghost { background: transparent; color: var(--bleu-clair); } [data-theme="dark"] .btn-or { color: var(--navy); } .btn-sm { padding: 7px 12px; font-size: .82rem; border-radius: 8px; } .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; } .btn-ok { background: var(--vert) !important; color: #fff !important; } .btn-ko { background: var(--rouge) !important; color: #fff !important; } .chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .77rem; font-weight: 600; background: var(--bg-clair); color: var(--ink-2); border: 1px solid var(--border); white-space: nowrap; line-height: 1.3; } .chip svg { width: 13px; height: 13px; } .chip-or { background: var(--or-pale); color: var(--or-fonce); border-color: rgba(204, 164, 36, .4); } [data-theme="dark"] .chip-or { color: var(--or); } .chip-vert { background: rgba(16, 124, 78, .12); color: var(--vert); border-color: rgba(16, 124, 78, .3); } .chip-rouge { background: rgba(178, 42, 32, .1); color: var(--rouge); border-color: rgba(178, 42, 32, .3); } .chip-bleu { background: var(--bleu-pale); color: var(--bleu); border-color: rgba(41, 118, 187, .3); } .chip-part { background: var(--part-soft); color: var(--part); border-color: transparent; } .select, .input { font: inherit; padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--card); color: var(--ink); } .input:focus, .select:focus, textarea:focus { outline: 2px solid var(--bleu-clair); outline-offset: 1px; } /* toasts, confettis */ .toasts { position: fixed; right: 18px; bottom: 90px; z-index: 900; display: grid; gap: 8px; } .toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: .9rem; opacity: 0; transform: translateY(8px); transition: all .25s; border-left: 4px solid var(--or); max-width: 340px; } .toast.in { opacity: 1; transform: none; } .toast.ok { border-left-color: var(--vert); } .toast.ko { border-left-color: var(--rouge); } .confetti { position: fixed; inset: 0; pointer-events: none; z-index: 950; } /* ============================================================================= Accueil ============================================================================= */ .hero { position: relative; overflow: hidden; color: var(--ink); background: radial-gradient(900px 520px at 85% -20%, rgba(15, 97, 128, .16), transparent 60%), radial-gradient(700px 400px at 5% 110%, rgba(204, 164, 36, .14), transparent 60%), linear-gradient(180deg, #f5f9fb 0%, #ffffff 100%); border-bottom: 1px solid var(--border); } [data-theme="dark"] .hero { background: radial-gradient(900px 520px at 85% -20%, rgba(79, 176, 214, .18), transparent 60%), linear-gradient(180deg, #121a2a 0%, var(--bg) 100%); } .hero-inner { max-width: 1240px; margin: 0 auto; padding: 48px 22px 52px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; } .hero-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; } .hero-brand img { height: 48px; width: auto; } [data-theme="dark"] .hero-brand img { filter: brightness(0) invert(1); } .hero-brand span { font-size: .8rem; color: var(--ink-2); border-left: 1px solid var(--border); padding-left: 14px; line-height: 1.3; max-width: 220px; } .hero .eyebrow { color: var(--uqo); } .hero .eyebrow::before { background: var(--or); } .hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.03; margin: 0 0 22px; letter-spacing: -.015em; color: var(--bleu); font-variation-settings: "opsz" 144, "SOFT" 30; } .hero h1 .code { display: block; font-family: var(--font); font-size: .36em; letter-spacing: .16em; color: var(--uqo); font-weight: 700; margin-bottom: 14px; } .hero .lead { font-family: var(--serif); font-size: 1.16rem; color: var(--ink-2); max-width: 60ch; margin: 0 0 28px; line-height: 1.6; } .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; } .hero-deco { position: absolute; inset: 0; pointer-events: none; } .hero-deco circle { fill: none; stroke: rgba(15, 97, 128, .10); stroke-width: 1; } .hero-deco .gold { stroke: rgba(204, 164, 36, .55); } .hero-deco .dot { fill: var(--or); stroke: none; } .hero-card { background: linear-gradient(160deg, var(--navy), #0f3a55); color: #fff; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 24px 26px; box-shadow: var(--shadow-lg); } .hero-card h3 { margin: 0 0 12px; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--or); } .hero-card .resume-title { font-family: var(--display); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; } .hero-card .muted { color: rgba(255, 255, 255, .72); font-size: .9rem; } .hero-card .bar { height: 7px; background: rgba(255, 255, 255, .15); border-radius: 4px; margin: 14px 0; overflow: hidden; } .hero-card .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--or), #f1d67a); width: 0; border-radius: 4px; transition: width .6s ease; } .hero-card .btn { margin-top: 8px; } .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; } .stat { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; transition: transform .15s, box-shadow .2s; box-shadow: var(--shadow-sm); } .stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); } .stat b { display: block; font-family: var(--font); font-size: 1.45rem; font-weight: 700; color: var(--uqo); line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; } .stat span { font-size: .68rem; color: var(--gris); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; } @media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding: 40px 22px 40px; gap: 28px; } .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; } .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); } .hero-brand img { height: 40px; } .stat b { font-size: 1.4rem; } } .section { padding: 44px 0 8px; } .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; } .section-head h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--bleu); letter-spacing: -.01em; } .section-head p { margin: 6px 0 0; color: var(--ink-2); font-family: var(--serif); font-size: 1.02rem; } /* parcours (ligne du temps) */ .timeline { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; position: relative; padding: 10px 0 0; } .timeline::before { content: ""; position: absolute; left: 3%; right: 3%; top: 25px; height: 2px; background: var(--gris-pale); border-radius: 2px; } .timeline-item { position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink-2); font-size: .72rem; text-align: center; gap: 8px; } .timeline-item .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 2px solid var(--tl, var(--bleu-clair)); display: grid; place-items: center; font-weight: 700; color: var(--tl, var(--bleu)); font-size: .78rem; position: relative; z-index: 1; transition: transform .15s; } .timeline-item:hover .dot { transform: scale(1.12); } .timeline-item.started .dot { background: var(--tl, var(--bleu-clair)); color: #fff; } .timeline-item.done .dot { background: var(--vert); border-color: var(--vert); color: #fff; } .timeline-item .tl-ev { display: grid; gap: 3px; } .timeline-item .tl-ev span { display: block; padding: 2px 6px; border-radius: 6px; font-size: .66rem; font-weight: 600; line-height: 1.25; } .tl-tp { background: var(--or-pale); color: var(--or-fonce); } .tl-remise { background: var(--bleu-pale); color: var(--bleu); } .tl-exam { background: rgba(178, 42, 32, .1); color: var(--rouge); } [data-theme="dark"] .tl-tp { color: var(--or); } @media (max-width: 900px) { .timeline { grid-template-columns: repeat(7, 1fr); gap: 10px 6px; } .timeline::before { display: none; } } /* cartes de séance */ .part-title { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; color: var(--ink-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; } .part-title::after { content: ""; flex: 1; height: 1px; background: var(--border); } .part-title .roman { color: var(--pc, var(--or-fonce)); display: inline-flex; align-items: center; gap: 8px; } .part-title .roman i { width: 12px; height: 12px; border-radius: 4px; background: var(--pc, var(--or)); display: inline-block; } .seances { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; } .seance-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px 14px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .2s, border-color .2s; overflow: hidden; } .seance-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pc, var(--uqo)); } .seance-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--pc, var(--uqo)); } .seance-card .sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .seance-card .sc-num { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--pc, var(--uqo)); font-weight: 700; } .seance-card h3 { margin: 0; font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--ink); letter-spacing: -.005em; } .seance-card .sc-meta { display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: .74rem; color: var(--gris); margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--border); } .seance-card .sc-meta span { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; } .seance-card .sc-meta svg { width: 13px; height: 13px; color: var(--pc, var(--uqo)); } .seance-card .sc-events { display: flex; gap: 6px; flex-wrap: wrap; } .seance-card .sc-events .chip { font-size: .68rem; padding: 2px 8px; } .ring { --p: 0; width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--vert) calc(var(--p) * 1%), var(--gris-pale) 0); display: grid; place-items: center; flex: 0 0 auto; } .ring::after { content: ""; width: 21px; height: 21px; border-radius: 50%; background: var(--card); } .ring[data-done="1"] { background: var(--vert); } .ring[data-done="1"]::after { content: "✓"; color: var(--vert); font-weight: 800; font-size: .7rem; display: grid; place-items: center; } .eval-table { width: 100%; border-collapse: collapse; font-size: .95rem; } .eval-table th, .eval-table td { padding: 11px 13px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; } .eval-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; } .eval-table tr:nth-child(even) td { background: var(--bg-2); } .eval-table td.al-c { text-align: center; } .eval-table .total td { font-weight: 700; border-top: 2px solid var(--or); } .feature { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s; } .feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); } .feature .f-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bleu-pale); color: var(--uqo); } .feature .f-icon svg { width: 19px; height: 19px; } .feature h3 { margin: 0 0 4px; font-size: 1rem; color: var(--bleu); } .feature p { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.5; } .feature .f-new { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; background: var(--or); color: var(--navy); padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; } /* carte du cours */ .course-map { width: 100%; max-width: 760px; margin: 0 auto; display: block; } .course-map .ring-part { fill: none; stroke-width: 26; opacity: .16; } .course-map .node { cursor: pointer; } .course-map .node circle { fill: var(--card); stroke: var(--pc); stroke-width: 3; transition: r .15s, stroke-width .15s; } .course-map .node text { font-family: var(--font); font-size: 13px; font-weight: 700; fill: var(--ink); pointer-events: none; } .course-map .node .lbl { font-size: 10px; font-weight: 500; fill: var(--ink-2); } .course-map .node:hover circle, .course-map .node.active circle { stroke-width: 5; fill: var(--pc); } .course-map .node:hover text, .course-map .node.active text { fill: #fff; } .course-map .node:hover .lbl, .course-map .node.active .lbl { fill: var(--ink-2); } .course-map .node.done circle { fill: var(--vert); stroke: var(--vert); } .course-map .node.done text { fill: #fff; } .course-map .node.started circle { fill: var(--pc); fill-opacity: .35; } .course-map .center { fill: var(--navy); } .course-map .center-t { font-family: var(--display); font-weight: 700; fill: var(--or); font-size: 26px; } .course-map .center-s { font-family: var(--font); fill: #fff; font-size: 11px; } .course-map .part-lbl { font-family: var(--font); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; } .map-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .9fr); gap: 30px; align-items: start; } #map-panel { position: sticky; top: calc(var(--topbar-h) + 20px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); min-height: 200px; } #map-panel h3 { margin: 0; font-family: var(--display); font-size: 1.35rem; color: var(--bleu); } #map-panel h4 { margin: 14px 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); } #map-panel ul { margin: 0 0 10px; padding-left: 1.2em; font-size: .9rem; } @media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } #map-panel { position: static; } } /* ============================================================================= Page de séance ============================================================================= */ .ch-hero { position: relative; overflow: hidden; color: var(--ink); background: radial-gradient(800px 420px at 90% -30%, var(--part-soft), transparent 60%), linear-gradient(180deg, #f5f9fb, var(--bg)); border-bottom: 3px solid var(--part); } [data-theme="dark"] .ch-hero { background: radial-gradient(800px 420px at 90% -30%, var(--part-soft), transparent 60%), linear-gradient(180deg, #121a2a, var(--bg)); } .ch-hero-inner { max-width: 1440px; margin: 0 auto; padding: 40px 22px 30px; position: relative; z-index: 1; } .ch-hero .eyebrow { color: var(--part); } .ch-hero .eyebrow::before { background: var(--part); } .ch-hero .eyebrow .part-chip { background: var(--part); color: #fff; padding: 2px 8px; border-radius: 4px; letter-spacing: .06em; } .ch-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.08; margin: 0 0 14px; max-width: 30ch; letter-spacing: -.012em; color: var(--bleu); font-variation-settings: "opsz" 144; } .ch-hero .ch-sub { color: var(--ink-2); font-size: .92rem; margin-bottom: 16px; font-family: var(--serif); } .ch-hero .ch-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; } .ch-hero .ch-tools { display: flex; gap: 10px; flex-wrap: wrap; } .ch-hero .ch-tools .btn-ghost[aria-pressed="true"] { background: var(--or); color: var(--navy); border-color: var(--or); } .ch-hero .watermark { position: absolute; right: 24px; bottom: -24px; font-family: var(--display); font-size: clamp(5rem, 11vw, 9rem); font-weight: 700; color: var(--part); opacity: .05; line-height: 1; pointer-events: none; letter-spacing: -.04em; } .ch-hero .deco { position: absolute; inset: 0; pointer-events: none; } .ch-hero .deco circle { fill: none; stroke: var(--part); stroke-opacity: .18; stroke-width: 1.2; } .ch-hero .deco .gold { stroke: var(--or); stroke-opacity: .6; } @media (max-width: 760px) { .ch-hero-inner { padding: 26px 18px 22px; } .ch-hero .ch-tools .btn { padding: 8px 12px; font-size: .84rem; } .ch-hero .ch-meta .chip { font-size: .7rem; padding: 3px 8px; } } /* stepper de sections */ .stepper-wrap { position: sticky; top: calc(var(--topbar-h) + 3px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); } .stepper { max-width: 1440px; margin: 0 auto; padding: 8px 22px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; } .stepper::-webkit-scrollbar { display: none; } .stepper a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; text-decoration: none; font-size: .78rem; color: var(--ink-2); border: 1px solid transparent; white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; transition: background .15s; } .stepper a .n { width: 20px; height: 20px; border-radius: 50%; background: var(--gris-pale); color: var(--ink-2); display: inline-grid; place-items: center; font-size: .68rem; font-weight: 700; flex: 0 0 auto; } .stepper a:hover { background: var(--bg-clair); } .stepper a.done .n { background: var(--vert); color: #fff; } .stepper a.active { background: var(--part-soft); color: var(--part); border-color: color-mix(in srgb, var(--part) 40%, transparent); font-weight: 600; } .stepper a.active .n { background: var(--part); color: #fff; } .stepper .rem { margin-left: auto; flex: 0 0 auto; font-size: .76rem; color: var(--gris); align-self: center; padding-left: 10px; } .ch-layout { max-width: 1440px; margin: 0 auto; padding: 34px 22px 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; } .ch-toc { position: sticky; top: calc(var(--topbar-h) + 62px); max-height: calc(100vh - var(--topbar-h) - 90px); overflow: auto; font-size: .85rem; padding-right: 6px; scrollbar-width: thin; } .ch-toc h4 { margin: 0 0 8px; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gris); } .ch-toc ol { list-style: none; margin: 0 0 14px; padding: 0; border-left: 2px solid var(--border); } .ch-toc li a { display: flex; gap: 6px; padding: 5px 0 5px 12px; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; transition: color .15s; } .ch-toc li.lvl3 a { padding-left: 24px; font-size: .78rem; color: var(--gris); } .ch-toc li a:hover { color: var(--part); } .ch-toc li a.active { color: var(--part); border-left-color: var(--part); font-weight: 600; } .ch-toc li.lvl2 a.done::after { content: "✓"; color: var(--vert); font-size: .75em; margin-left: auto; } .ch-toc .toc-num { color: var(--or-fonce); font-weight: 600; font-size: .78em; flex: 0 0 auto; } [data-theme="dark"] .ch-toc .toc-num { color: var(--or); } .ch-toc .toc-extra a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--ink-2); text-decoration: none; } .ch-toc .toc-extra a:hover { background: var(--bg-clair); color: var(--bleu); } .ch-toc .toc-extra svg { width: 15px; height: 15px; color: var(--or-fonce); } .ch-toc .toc-progress { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--gris); margin: 4px 0 16px; } .ch-toc .toc-progress .bar { flex: 1; height: 6px; background: var(--gris-pale); border-radius: 3px; overflow: hidden; } .ch-toc .toc-progress .bar i { display: block; height: 100%; width: 0; background: var(--vert); transition: width .3s; } .ch-body { min-width: 0; } .prose { width: 100%; max-width: calc(var(--text-w) + var(--margin-w) + var(--margin-gap)); font-family: var(--serif); font-size: calc(var(--fs) * 1.03); } .prose > *, .prose .box, .prose .table-wrap, .prose figure, .prose .center, .prose .eq, .prose ul, .prose ol, .prose details, .prose section, .prose .widget { max-width: var(--text-w); } .prose p { margin: 0 0 1.1em; hyphens: auto; -webkit-hyphens: auto; } .chapter-page.no-dropcap .prose > p:first-of-type::first-letter { font-family: var(--display); font-size: 3.3em; float: left; line-height: .82; margin: .06em .1em 0 0; color: var(--part); font-weight: 600; } body.revision .chapter-page.no-dropcap .prose > p:first-of-type::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; } .prose ul, .prose ol { padding-left: 1.5em; margin: .4em 0 1em; } .prose li { margin: .35em 0; } .prose ul > li::marker { color: var(--part); } .prose ol.enum { list-style: none; counter-reset: enum; padding-left: 2em; } .prose ol.enum > li { counter-increment: enum; position: relative; } .prose ol.enum > li::before { content: counter(enum); position: absolute; left: -2em; top: .3em; width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--part); color: #fff; font-family: var(--font); font-size: .7em; font-weight: 700; display: grid; place-items: center; } .prose li.labeled { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-left: -1em; } .prose li.labeled .li-label { font-weight: 700; color: var(--bleu-clair); font-family: var(--font); } .prose ul.desc { list-style: none; padding-left: 0; } .prose ul.desc li.labeled { margin-left: 0; grid-template-columns: minmax(120px, 200px) 1fr; padding: 6px 0; border-bottom: 1px dashed var(--border); } .prose strong { font-weight: 700; } .prose .motcle { color: var(--bleu); font-weight: 700; border-bottom: 1px dotted var(--bleu-clair); cursor: help; font-family: var(--font); font-size: .95em; } .prose .cite, .cite { font-size: .9em; color: var(--bleu); text-decoration: none; font-family: var(--font); } .prose .citation { color: var(--ink-2); } .prose .xref { font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--bleu-clair); } .prose .xref-missing { color: var(--rouge); } .prose sup { line-height: 0; } mark.hl { background: linear-gradient(transparent 40%, rgba(255, 214, 90, .75) 40%); color: inherit; padding: 0 1px; border-radius: 2px; cursor: pointer; } mark.hl.has-note { background: linear-gradient(transparent 40%, rgba(143, 224, 187, .75) 40%); } [data-theme="dark"] mark.hl { background: linear-gradient(transparent 40%, rgba(227, 192, 79, .4) 40%); } [data-theme="dark"] mark.hl.has-note { background: linear-gradient(transparent 40%, rgba(92, 196, 150, .4) 40%); } .hl-pop { position: absolute; z-index: 400; display: flex; gap: 4px; background: var(--navy); padding: 6px; border-radius: 10px; box-shadow: var(--shadow-lg); animation: pop .15s; } .hl-pop button { font: inherit; font-family: var(--font); font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .1); color: #fff; border: 0; padding: 6px 10px; border-radius: 7px; cursor: pointer; } .hl-pop button:hover { background: var(--or); color: var(--navy); } .tts-current { outline: 2px solid var(--or); outline-offset: 6px; border-radius: 4px; background: var(--or-pale); } .flash-target { animation: flash 2.4s ease-out; } @keyframes flash { 0% { background: var(--or-pale); } 100% { background: transparent; } } /* titres de prose */ .prose h2.h-section { font-family: var(--display); font-weight: 600; font-size: 1.85rem; color: var(--bleu); margin: 2.6em 0 .7em; line-height: 1.15; position: relative; padding-bottom: .4em; letter-spacing: -.01em; scroll-margin-top: calc(var(--topbar-h) + 70px); } .prose h2.h-section::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--part) 0 44px, var(--gris-clair) 44px); } .prose h3.h-subsection { font-family: var(--font); font-size: 1.22rem; color: var(--bleu-clair); margin: 2em 0 .5em; line-height: 1.25; font-weight: 700; scroll-margin-top: calc(var(--topbar-h) + 70px); } .prose h4.h-subsubsection { font-family: var(--font); font-size: 1.02rem; color: var(--gris); margin: 1.6em 0 .4em; scroll-margin-top: calc(var(--topbar-h) + 70px); } .prose h5.para-title { font-family: var(--font); font-size: .98rem; margin: 1.2em 0 .3em; color: var(--ink); } .h-num { color: var(--part); font-weight: 700; margin-right: .5em; font-variant-numeric: tabular-nums; font-family: var(--font); font-size: .78em; vertical-align: .1em; } .h-anchor { opacity: 0; margin-left: .4em; font-weight: 400; text-decoration: none; color: var(--gris); font-size: .7em; } h2:hover .h-anchor, h3:hover .h-anchor, h4:hover .h-anchor { opacity: 1; } .prose h2 + p, .prose h3 + p { margin-top: 0; } /* boîtes pédagogiques */ .box { position: relative; border-radius: 6px; margin: 1.5em 0; padding: 14px 18px 12px; border-left: 3px solid var(--gris); background: var(--bg-clair); break-inside: avoid; font-family: var(--serif); } .box-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; margin-bottom: 8px; font-weight: 700; color: var(--gris); font-size: .92rem; font-family: var(--font); } .box-head .box-label { white-space: nowrap; } .box-head .box-title { font-weight: 500; color: var(--ink-2); } .box-icon { width: 22px; height: 22px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 6px; background: rgba(255, 255, 255, .7); } [data-theme="dark"] .box-icon { background: rgba(255, 255, 255, .06); } .box-icon svg { width: 13px; height: 13px; } .box-anchor { margin-left: auto; opacity: 0; color: var(--gris); text-decoration: none; font-weight: 400; } .box:hover .box-anchor { opacity: .7; } .box-body > :last-child, .box-body p:last-child { margin-bottom: 0; } .box-def { border-left-color: var(--bleu); background: linear-gradient(180deg, rgba(0, 62, 126, .07), rgba(0, 62, 126, .04)); } .box-def .box-head { color: var(--bleu); } .box-form { border-left-color: var(--or); background: linear-gradient(180deg, rgba(9, 26, 51, .06), rgba(9, 26, 51, .03)); border-top: 1px solid rgba(204, 164, 36, .5); } .box-form .box-head { color: var(--navy); } [data-theme="dark"] .box-form .box-head { color: var(--or); } .box-form .box-icon { color: var(--or-fonce); } .box-ex { border-left-color: var(--vert); background: rgba(16, 124, 78, .07); } .box-ex .box-head { color: var(--vert); } .box-exo { border-left-color: var(--bleu-clair); background: rgba(41, 118, 187, .08); } .box-exo .box-head { color: var(--bleu-clair); } .box-att { border-left-color: var(--rouge); background: rgba(178, 42, 32, .06); } .box-att .box-head { color: var(--rouge); } .box-terrain { border-left-color: var(--or); background: rgba(204, 164, 36, .1); } .box-terrain .box-head { color: var(--or-fonce); } [data-theme="dark"] .box-terrain .box-head { color: var(--or); } .box-rem { border-left-color: var(--gris); background: var(--bg-clair); } .box-qc { border-left-color: var(--bleu-clair); background: rgba(41, 118, 187, .08); } .box-qc .box-head { color: var(--bleu-clair); } .box-pts { border-left-color: var(--vert); background: rgba(16, 124, 78, .07); } .box-pts .box-head { color: var(--vert); } .box-ret { border-left: 0; background: linear-gradient(150deg, var(--navy), #0f2a52); color: #fff; padding: 20px 22px 18px; border-bottom: 3px solid var(--or); border-radius: var(--radius-sm); box-shadow: var(--shadow); } .box-ret .box-head { color: var(--or); } .box-ret .box-icon { background: rgba(255, 255, 255, .1); } .box-ret a, .box-ret .motcle, .box-ret .c-bleu, .box-ret .xref { color: #fff; } .box-ret .c-rouge { color: #ffb3ad; } .box-ret .c-vert { color: #8fe0bb; } .box-ret .c-or { color: var(--or); } .box-ret .katex { color: #fff; } .box-ret code { background: rgba(255, 255, 255, .1); } .box-obj { border: 1px solid var(--border); border-top: 3px solid var(--part); background: var(--card); border-left-width: 1px; border-radius: var(--radius); padding: 20px 22px; transition: border-color .3s; } .box-obj.complete { border-top-color: var(--vert); } .box-obj .box-head { color: var(--bleu); font-size: 1.05rem; } .box-obj .box-icon { color: var(--part); } .box-obj ul { list-style: none; padding: 0; margin: 0; } .box-obj li.obj { margin: 0; } .box-obj li.obj label { display: flex; gap: 12px; align-items: flex-start; padding: 8px 8px; border-radius: 8px; cursor: pointer; transition: background .15s; } .box-obj li.obj label:hover { background: var(--bg-clair); } .box-obj input.obj-cb { margin-top: .4em; width: 18px; height: 18px; accent-color: var(--vert); flex: 0 0 auto; } .box-obj input.obj-cb:checked + .obj-text { color: var(--gris); text-decoration: line-through; text-decoration-color: var(--gris-clair); } .obj-progress { margin-left: auto; font-size: .76rem; font-weight: 600; color: var(--gris); } .box-synth { border: 0; border-top: 3px solid var(--or); background: var(--bg-clair); border-radius: var(--radius); padding: 22px 24px; margin-top: 2.6em; } .box-synth .box-head { color: var(--bleu); font-size: 1.2rem; font-family: var(--display); } .box-synth .box-icon { color: var(--or-fonce); } .box-synth ul { padding-left: 1.3em; } .box-synth li { margin: .55em 0; } .box-sol { border-left: 4px solid var(--gris-clair); background: var(--bg-2); margin-top: -0.7em; padding: 0; box-shadow: none; } .box-sol summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 12px 18px; font-weight: 700; color: var(--gris); user-select: none; font-family: var(--font); font-size: .92rem; } .box-sol summary::-webkit-details-marker { display: none; } .box-sol summary .sol-hint { margin-left: auto; font-size: .74rem; font-weight: 500; color: var(--gris); background: var(--card); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; } .box-sol[open] summary .sol-hint { display: none; } .box-sol[open] summary { border-bottom: 1px dashed var(--border); } .box-sol .box-body { padding: 12px 18px 14px; font-size: .95em; animation: pop .2s; } .box-sol .box-icon { color: var(--vert); } /* équations, tableaux, figures */ .eq { margin: 1em 0 1.2em; overflow-x: auto; overflow-y: hidden; padding: 4px 2px; } .eq .katex-display { margin: 0; } .katex { font-size: 1.06em; } .katex-display > .katex { white-space: normal; } .math-error { color: var(--rouge); } .table-wrap { overflow-x: auto; margin: 1.3em 0; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-sm); } table.tbl { width: 100%; border-collapse: collapse; font-size: .9em; line-height: 1.4; font-family: var(--font); } table.tbl th, table.tbl td { padding: 10px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); } table.tbl thead th { background: var(--navy); color: #fff; font-weight: 600; position: sticky; top: 0; font-size: .85em; } table.tbl tbody tr:nth-child(even) td { background: var(--bg-2); } table.tbl tbody tr:hover td { background: var(--bleu-pale); } table.tbl tbody tr:last-child td { border-bottom: 0; } table.tbl tr.rule-above td, table.tbl tr.rule-above th { border-top: 2px solid var(--or); } table.tbl tbody th { background: var(--bleu); color: #fff; } table.tbl .al-r { text-align: right; font-variant-numeric: tabular-nums; } table.tbl .al-c { text-align: center; } .center { text-align: center; } .center .table-wrap { text-align: left; } figure { margin: 1.7em 0; } figure.float-table figcaption { margin-bottom: .5em; } figure.float-figure figcaption { margin-top: .6em; } figcaption { font-size: .86em; color: var(--ink-2); line-height: 1.45; font-family: var(--font); } .fig-label { font-weight: 700; color: var(--bleu); margin-right: .4em; } .tikz, .figimg { text-align: center; margin: 1em 0; } .tikz img, .figimg img { max-width: 100%; height: auto; background: #fff; border-radius: 10px; padding: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); } [data-theme="dark"] .tikz img, [data-theme="dark"] .figimg img { background: #f4f6f9; } .figimg img { cursor: zoom-in; } .lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(9, 26, 51, .92); display: grid; place-items: center; padding: 30px; cursor: zoom-out; } .lightbox img { max-width: 100%; max-height: 100%; background: #fff; border-radius: 8px; padding: 12px; } /* notes marginales */ .sn-toggle { cursor: pointer; color: var(--or-fonce); font-size: .7em; vertical-align: super; margin-left: 2px; user-select: none; } [data-theme="dark"] .sn-toggle { color: var(--or); } .sn-toggle .sn-num { font-size: .95em; color: var(--bleu); font-weight: 700; } .sn-cb { display: none; } .sidenote { font-family: var(--font); font-size: .78rem; line-height: 1.45; color: var(--gris); position: relative; } .sidenote .sn-term { color: var(--bleu); display: block; } .sidenote .sn-date { color: var(--or-fonce); } .sidenote .sn-num { color: var(--bleu); font-weight: 700; } @media (min-width: 1280px) { .sidenote { float: right; clear: right; width: var(--margin-w); margin-right: calc(-1 * (var(--margin-w) + var(--margin-gap))); margin-top: .1em; margin-bottom: .9em; padding-top: 6px; border-top: 2px solid var(--or); } .sn-toggle { display: none; } .prose .box .sidenote, .prose figure .sidenote, .prose .table-wrap .sidenote, .prose li .sidenote { float: none; width: auto; margin: .5em 0; display: block; border-top: 0; padding: 6px 10px; background: rgba(204, 164, 36, .12); border-radius: 4px; } } @media (max-width: 1279px) { .sidenote { display: none; margin: .6em 0; padding: 8px 12px; background: rgba(204, 164, 36, .12); border-left: 3px solid var(--or); border-radius: 4px; } .sn-cb:checked ~ .sidenote { display: block; } } body.revision .prose > p, body.revision .prose .box-ex, body.revision .prose .box-exo, body.revision .prose .box-sol, body.revision .prose .box-rem, body.revision .prose .box-terrain, body.revision .prose figure, body.revision .prose .center, body.revision .prose > .eq, body.revision .prose > ul, body.revision .prose > ol, body.revision .prose .table-wrap, body.revision .prose .widget { display: none; } body.revision .prose .box-def, body.revision .prose .box-form, body.revision .prose .box-att, body.revision .prose .box-ret, body.revision .prose .box-qc, body.revision .prose .box-synth, body.revision .prose .box-obj, body.revision .prose .box-pts { display: block; } body.revision .prose h4, body.revision .prose h5 { display: none; } body.revision .sidenote { float: none; display: block; width: auto; margin: .6em 0; padding: 8px 12px; background: rgba(204, 164, 36, .12); border-left: 3px solid var(--or); border-top: 0; border-radius: 4px; } body.revision .prose p:has(.sidenote) { display: block; font-size: 0; margin: 0; } body.revision .prose p:has(.sidenote) .sidenote { font-size: .82rem; } body.revision .sn-toggle { display: none; } body.revision .revision-banner { display: flex; } .revision-banner { display: none; align-items: center; gap: 10px; background: var(--or-pale); border: 1px solid rgba(204, 164, 36, .5); color: var(--ink); padding: 10px 14px; border-radius: 10px; margin-bottom: 20px; font-size: .9rem; } .revision-banner svg { width: 18px; height: 18px; color: var(--or-fonce); } .revision-banner button { margin-left: auto; } /* barre d'outils de lecture flottante */ .read-tools { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg); } .read-tools button { width: 42px; height: 42px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; position: relative; transition: background .15s, color .15s; } .read-tools button:hover { background: var(--bg-clair); color: var(--bleu); } .read-tools button[aria-pressed="true"] { background: var(--or-pale); color: var(--or-fonce); } .read-tools button svg { width: 19px; height: 19px; } .read-tools button::after { content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: var(--navy); color: #fff; font-size: .74rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; } .read-tools button:hover::after { opacity: 1; } .read-tools hr { border: 0; border-top: 1px solid var(--border); margin: 2px 4px; } @media (max-width: 760px) { .read-tools { flex-direction: row; right: 12px; left: 12px; bottom: 12px; justify-content: space-around; } .read-tools hr { display: none; } .read-tools button::after { display: none; } .toasts { bottom: 76px; } } /* panneau de notes */ .notes-panel { position: fixed; top: var(--topbar-h); right: 0; bottom: 0; width: min(420px, 100vw); background: var(--card); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 350; transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); display: flex; flex-direction: column; } .notes-panel.open { transform: none; } .notes-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); } .notes-head h3 { margin: 0; font-size: 1rem; font-family: var(--display); color: var(--bleu); } .notes-head .icon-btn { background: var(--bg-clair); color: var(--ink); border-color: var(--border); margin-left: auto; width: 34px; height: 34px; } .notes-body { padding: 16px 18px; overflow: auto; display: grid; gap: 14px; align-content: start; } .notes-body h4 { margin: 0 0 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); display: flex; gap: 8px; align-items: center; } .notes-body h4 span { margin-left: auto; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--vert); } .notes-body textarea { width: 100%; min-height: 170px; font: inherit; font-family: var(--serif); font-size: .95rem; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--ink); resize: vertical; line-height: 1.5; } #hl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } #hl-list li { position: relative; padding: 10px 34px 10px 12px; border-radius: 8px; background: var(--bg-clair); font-size: .86rem; border-left: 3px solid var(--or); } #hl-list li a { color: var(--ink); text-decoration: none; font-family: var(--serif); } #hl-list li a:hover { color: var(--bleu); } #hl-list .hl-note { margin-top: 5px; color: var(--vert); font-size: .82rem; } #hl-list li.muted { border-left-color: var(--border); color: var(--gris); } .hl-del { position: absolute; right: 8px; top: 8px; border: 0; background: transparent; color: var(--gris); cursor: pointer; font-size: .8rem; padding: 2px 5px; border-radius: 4px; } .hl-del:hover { background: var(--rouge); color: #fff; } .notes-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; } /* lecture audio */ .tts-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 320; background: var(--navy); color: #fff; border-radius: 999px; padding: 8px 12px; display: flex; gap: 6px; align-items: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); } .tts-bar[hidden] { display: none; } .tts-bar button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1rem; cursor: pointer; } .tts-bar button:hover { background: var(--or); color: var(--navy); } .tts-bar select { font: inherit; font-size: .8rem; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 8px; padding: 6px 8px; } .tts-bar span { font-size: .78rem; opacity: .8; padding: 0 6px; } @media (max-width: 760px) { .tts-bar { bottom: 74px; } } /* widgets visuels */ .widget { margin: 2em 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; font-family: var(--font); } .w-head { padding: 16px 20px 12px; background: linear-gradient(180deg, var(--part-soft), transparent); border-bottom: 1px solid var(--border); } .w-badge { display: inline-block; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--part); background: var(--card); border: 1px solid color-mix(in srgb, var(--part) 40%, transparent); padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; } .w-head h4 { margin: 0 0 4px; font-family: var(--display); font-size: 1.25rem; color: var(--bleu); font-weight: 600; } .w-head p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; } .w-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; } .w-controls { padding: 14px 16px; display: grid; gap: 12px; border-right: 1px solid var(--border); background: var(--bg-2); align-content: start; } .wctl { display: grid; gap: 4px; font-size: .8rem; color: var(--ink-2); } .wctl span { display: flex; justify-content: space-between; gap: 8px; } .wctl output { font-weight: 700; color: var(--bleu); font-variant-numeric: tabular-nums; white-space: nowrap; } .wctl input[type=range] { width: 100%; accent-color: var(--part); } .wctl select { font: inherit; font-size: .85rem; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--ink); } .w-view { padding: 14px 18px; min-width: 0; display: grid; gap: 12px; align-content: start; } .w-note { margin: 0; padding: 10px 20px; font-size: .78rem; color: var(--gris); border-top: 1px dashed var(--border); } .wchart { width: 100%; height: auto; display: block; } .wchart .grid { stroke: var(--border); stroke-dasharray: 3 3; } .wchart .axis { stroke: var(--gris); stroke-width: 1.2; } .wchart .tick, .wchart .alabel, .wchart .slabel, .wchart .vlabel, .wchart .mlabel { font-family: var(--font); font-size: 11px; fill: var(--ink-2); } .wchart .alabel { font-weight: 600; } .wchart .slabel { font-weight: 700; font-size: 12px; } .wchart .vlabel { font-weight: 700; fill: var(--ink); } .wchart .mlabel { font-weight: 700; fill: var(--or-fonce); font-size: 12px; } .wchart .mline { stroke: var(--or); stroke-dasharray: 4 3; stroke-width: 1.2; } .wkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; } .wkpi { background: var(--bg-clair); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; } .wkpi span { font-size: .72rem; color: var(--gris); } .wkpi b { font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; } .wkpi.main { background: var(--navy); color: #fff; } .wkpi.main span { color: rgba(255, 255, 255, .7); } .wkpi.main b { color: var(--or); font-size: 1.2rem; } .wkpi.warn b { color: var(--rouge); } .wkpi.good b { color: var(--vert); } .wbars { display: grid; gap: 7px; } .wbar { display: grid; grid-template-columns: 130px 1fr 110px; gap: 10px; align-items: center; font-size: .82rem; } .wbar-track { height: 16px; background: var(--gris-pale); border-radius: 5px; overflow: hidden; } .wbar-track i { display: block; height: 100%; border-radius: 5px; transition: width .3s; } .wbar-v { text-align: right; font-variant-numeric: tabular-nums; } .wstack-bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; background: var(--gris-pale); } .wstack-bar i { display: block; height: 100%; transition: width .3s; } .wstack-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; font-size: .8rem; } .wstack-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; } .wgauges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .wgauge .wg-head { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 4px; } .wgauge b.warn { color: var(--rouge); } .wgauge b.good { color: var(--vert); } .wg-track { position: relative; height: 14px; background: var(--gris-pale); border-radius: 7px; overflow: visible; } .wg-track i { display: block; height: 100%; border-radius: 7px; transition: width .3s; } .wg-seuil { position: absolute; top: -4px; width: 2px; height: 22px; background: var(--ink); } .wgauge small { color: var(--gris); font-size: .72rem; } .wphase { background: var(--bg-clair); border-radius: 10px; padding: 12px 14px; font-size: .88rem; } .wphase h5 { margin: 0 0 4px; color: var(--bleu); font-size: 1rem; } .wphase p { margin: 0 0 6px; } .wphase ul { margin: 0; padding-left: 1.2em; columns: 2; } .wtable { width: 100%; border-collapse: collapse; font-size: .82rem; } .wtable th, .wtable td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; } .wtable th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); } .wtable tr.out td { color: var(--gris); text-decoration: line-through; text-decoration-color: var(--gris-clair); } .wtable tr.best td { font-weight: 700; background: rgba(16, 124, 78, .08); } @media (max-width: 760px) { .w-body { grid-template-columns: 1fr; } .w-controls { border-right: 0; border-bottom: 1px solid var(--border); } .wbar { grid-template-columns: 90px 1fr 90px; } .wgauges { grid-template-columns: 1fr; } .wphase ul { columns: 1; } } /* pagination et quiz de chapitre */ .ch-pager { max-width: 1440px; margin: 44px auto 0; padding: 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .ch-pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--card); transition: transform .15s, box-shadow .2s; } .ch-pager a:hover { border-color: var(--part); box-shadow: var(--shadow); transform: translateY(-2px); } .ch-pager a.next { text-align: right; align-items: flex-end; } .ch-pager small { color: var(--gris); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 700; } .ch-pager b { color: var(--bleu); font-family: var(--display); font-weight: 600; font-size: 1.1rem; } .ch-pager .spacer { visibility: hidden; } @media (max-width: 600px) { .ch-pager { grid-template-columns: 1fr; } .ch-pager a.next { text-align: left; align-items: flex-start; } } .ch-quiz { max-width: 1440px; margin: 54px auto 0; padding: 0 22px; } .ch-quiz-inner { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 26px 28px; border-top: 4px solid var(--or); box-shadow: var(--shadow-sm); } @media (max-width: 1100px) { .ch-layout { grid-template-columns: 1fr; gap: 20px; } .ch-toc { position: static; max-height: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--card); } .ch-toc ol { max-height: 220px; overflow: auto; } } /* ============================================================================= Quiz, entraînement, jeux ============================================================================= */ .quiz-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; } .quiz-head h2, .quiz-head h3 { margin: 0; color: var(--bleu); font-size: 1.35rem; font-family: var(--display); font-weight: 600; } .quiz-head .quiz-score { margin-left: auto; font-size: .85rem; color: var(--gris); display: flex; gap: 12px; align-items: center; } .quiz-progress { height: 6px; background: var(--gris-pale); border-radius: 3px; overflow: hidden; margin-bottom: 18px; } .quiz-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--or), #f1d67a); transition: width .3s; } .q-card, .tcard { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; background: var(--bg-2); } .q-num { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--or-fonce); font-weight: 700; } [data-theme="dark"] .q-num { color: var(--or); } .q-text, .tq { font-size: 1.1rem; font-weight: 600; margin: 8px 0 16px; line-height: 1.45; font-family: var(--serif); } .tq { font-weight: 400; } .q-choices { display: grid; gap: 8px; } .q-choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); cursor: pointer; text-align: left; font: inherit; font-family: var(--serif); color: var(--ink); line-height: 1.4; transition: border-color .12s, background .12s, transform .12s; } .q-choice:hover:not(:disabled) { border-color: var(--bleu-clair); background: var(--bg-clair); transform: translateX(3px); } .q-choice .q-letter { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gris-pale); font-weight: 700; font-size: .8rem; color: var(--ink-2); font-family: var(--font); } .q-choice.correct { border-color: var(--vert); background: rgba(16, 124, 78, .1); } .q-choice.correct .q-letter { background: var(--vert); color: #fff; } .q-choice.wrong { border-color: var(--rouge); background: rgba(178, 42, 32, .08); } .q-choice.wrong .q-letter { background: var(--rouge); color: #fff; } .q-choice:disabled { cursor: default; } .q-feedback { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .95rem; display: none; border-left: 4px solid var(--gris); background: var(--card); font-family: var(--serif); animation: pop .2s; } .q-feedback.show { display: block; } .q-feedback.ok { border-left-color: var(--vert); } .q-feedback.ko { border-left-color: var(--rouge); } .q-feedback > b:first-child { display: block; margin-bottom: 4px; font-family: var(--font); } .q-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; align-items: center; } .q-actions .q-link { margin-left: auto; font-size: .85rem; } .quiz-result { text-align: center; padding: 20px 10px; } .quiz-result .big { font-family: var(--display); font-size: 3.4rem; font-weight: 700; color: var(--bleu); line-height: 1; margin: 6px 0; } .quiz-result p { color: var(--ink-2); } .quiz-result .verdict { font-size: 1.15rem; font-weight: 700; margin: 8px 0 16px; } .quiz-review { margin-top: 24px; text-align: left; display: grid; gap: 8px; } .quiz-review .qr { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); font-size: .9rem; display: grid; grid-template-columns: 22px 1fr; gap: 10px; } .quiz-review .qr.ok { border-left: 4px solid var(--vert); } .quiz-review .qr.ko { border-left: 4px solid var(--rouge); } .quiz-select { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 20px 0; } .quiz-select button { text-align: left; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); font: inherit; color: var(--ink); cursor: pointer; display: grid; gap: 4px; transition: transform .15s, box-shadow .2s; } .quiz-select button:hover { border-color: var(--bleu-clair); box-shadow: var(--shadow); transform: translateY(-2px); } .quiz-select b { color: var(--bleu); font-family: var(--display); font-size: 1.05rem; } .quiz-select small { color: var(--gris); } .quiz-select .best { font-size: .78rem; color: var(--vert); font-weight: 600; } .quiz-select button.exam { background: linear-gradient(150deg, var(--navy), #0f2a52); color: #fff; border-color: var(--navy); } .quiz-select button.exam b { color: var(--or); } .quiz-select button.exam small { color: rgba(255, 255, 255, .7); } .timer { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--rouge); } .tform { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .tform input { font: inherit; font-size: 1.1rem; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; width: 220px; background: var(--card); color: var(--ink); } .tunit { color: var(--gris); font-weight: 600; } .tsteps { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: .92rem; } .tsteps p { margin: .3em 0; } .tchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; } .tchip { font: inherit; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--ink-2); cursor: pointer; } .tchip.on { background: var(--bleu); color: #fff; border-color: var(--bleu); } [data-theme="dark"] .tchip.on { background: var(--bleu-clair); color: var(--navy); } .tchip small { opacity: .8; margin-left: 4px; } .streak { color: var(--or-fonce); } .game-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; } .game-tabs button { font: inherit; font-weight: 600; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--ink); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; } .game-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); } .game-tabs button svg { width: 16px; height: 16px; } .game { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 22px 24px; box-shadow: var(--shadow-sm); } .game-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; } .game-head h3 { margin: 0; font-family: var(--display); color: var(--bleu); font-size: 1.3rem; } .game-stat { margin-left: auto; color: var(--gris); font-size: .85rem; } .assoc { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; } .assoc-col { display: grid; gap: 8px; align-content: start; } .assoc-item { font: inherit; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); color: var(--ink); cursor: pointer; transition: all .15s; font-family: var(--serif); line-height: 1.4; } .assoc-item:not(.def) { font-family: var(--font); font-weight: 700; color: var(--bleu); } .assoc-item.def { font-size: .9rem; } .assoc-item:hover { border-color: var(--bleu-clair); } .assoc-item.sel { border-color: var(--or); background: var(--or-pale); } .assoc-item.ok { border-color: var(--vert); background: rgba(16, 124, 78, .12); opacity: .75; pointer-events: none; } .assoc-item.ko { border-color: var(--rouge); background: rgba(178, 42, 32, .1); animation: shake .4s; } @keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } } .vf-term { font-family: var(--display); font-size: 1.4rem; color: var(--bleu); font-weight: 600; margin: 6px 0; } .vf-def { font-family: var(--serif); font-size: 1.02rem; margin-bottom: 8px; } .ordre { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .ordre-pool { display: grid; gap: 8px; align-content: start; } .ordre-item { font: inherit; text-align: left; padding: 11px 14px; border-radius: 10px; border: 1px dashed var(--bleu-clair); background: var(--bg-2); color: var(--ink); cursor: pointer; font-family: var(--serif); } .ordre-item:hover { background: var(--bleu-pale); } .ordre-list { margin: 0; padding-left: 1.6em; display: grid; gap: 8px; } .ordre-list li { position: relative; padding: 10px 36px 10px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); font-family: var(--serif); } .ordre-list li::marker { font-weight: 700; color: var(--bleu); } .ordre-list li.ok { border-color: var(--vert); background: rgba(16, 124, 78, .1); } .ordre-list li.ko { border-color: var(--rouge); background: rgba(178, 42, 32, .08); } @media (max-width: 760px) { .assoc, .ordre { grid-template-columns: 1fr; } } /* fiches */ .fc-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; } .fc-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 18px; } .fc-stage { perspective: 1400px; max-width: 780px; margin: 0 auto; } .fc-card { position: relative; min-height: 320px; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2, .7, .2, 1); cursor: pointer; } .fc-card.flipped { transform: rotateY(180deg); } .fc-face { position: absolute; inset: 0; border-radius: 18px; padding: 32px 36px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: auto; } .fc-front { background: linear-gradient(160deg, var(--navy), #0f2f5c); color: #fff; } .fc-front .fc-kind { color: var(--or); } .fc-front .fc-q { font-family: var(--display); font-size: 1.75rem; font-weight: 600; margin: auto 0; line-height: 1.25; } .fc-back { background: var(--card); color: var(--ink); transform: rotateY(180deg); font-family: var(--serif); } .fc-kind { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--or-fonce); margin-bottom: 8px; display: flex; gap: 10px; font-family: var(--font); } .fc-kind .fc-ch { margin-left: auto; opacity: .8; } .fc-a { font-size: 1rem; line-height: 1.55; } .fc-a p:first-child { margin-top: 0; } .fc-hint { margin-top: auto; font-size: .76rem; opacity: .7; padding-top: 12px; font-family: var(--font); } .fc-actions { display: flex; gap: 10px; justify-content: center; margin: 18px 0; flex-wrap: wrap; } .fc-nav { display: flex; justify-content: space-between; align-items: center; color: var(--gris); font-size: .9rem; max-width: 780px; margin: 0 auto; } .fc-empty { text-align: center; padding: 40px; color: var(--gris); } /* glossaire, infobulle */ .gl-letters { display: flex; gap: 4px; flex-wrap: wrap; margin: 16px 0 24px; position: sticky; top: calc(var(--topbar-h) + 8px); background: var(--bg); padding: 8px 0; z-index: 5; } .gl-letters a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .85rem; color: var(--bleu); border: 1px solid var(--border); background: var(--card); } .gl-letters a:hover { background: var(--bleu); color: #fff; } .gl-letters a.off { opacity: .35; pointer-events: none; } .gl-search { width: 100%; max-width: 540px; font-size: 1.05rem; padding: 12px 16px; } .gl-letter { font-family: var(--display); font-size: 2.6rem; color: var(--or); font-weight: 700; margin: 36px 0 8px; border-bottom: 2px solid var(--gris-clair); line-height: 1.2; } .gl-entry { padding: 16px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 20px; } .gl-entry h3 { margin: 0; font-size: 1.05rem; color: var(--bleu); font-family: var(--font); } .gl-entry .gl-def { margin: 0; color: var(--ink); font-family: var(--serif); } .gl-entry .gl-def p { margin: 0 0 .5em; } .gl-entry.hidden, .gl-letter.hidden { display: none; } .gl-count { color: var(--gris); font-size: .9rem; } .gl-entry mark, .search-hit mark { background: rgba(204, 164, 36, .35); color: inherit; padding: 0 2px; border-radius: 2px; } @media (max-width: 640px) { .gl-entry { grid-template-columns: 1fr; gap: 6px; } } .tip { position: absolute; z-index: 300; max-width: 340px; background: var(--card); color: var(--ink); border: 1px solid var(--border); border-left: 4px solid var(--bleu); border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: .86rem; line-height: 1.45; font-family: var(--serif); animation: pop .15s; } .tip b { color: var(--bleu); display: block; margin-bottom: 4px; font-family: var(--font); } .tip a { display: inline-block; margin-top: 6px; font-size: .8rem; font-family: var(--font); } .tip p { margin: 0; } /* colonnes latérales */ .two-col { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; } .two-col .side { position: sticky; top: calc(var(--topbar-h) + 20px); font-size: .85rem; max-height: calc(100vh - var(--topbar-h) - 40px); overflow: auto; } .two-col .side h4 { margin: 0 0 8px; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gris); } .two-col .side ol { list-style: none; padding: 0; margin: 0 0 20px; border-left: 2px solid var(--border); } .two-col .side li a { display: block; padding: 5px 12px; color: var(--ink-2); text-decoration: none; } .two-col .side li a:hover, .two-col .side li a.active { color: var(--bleu); } .two-col .side li.lvl3 a { padding-left: 22px; font-size: .8rem; } .two-col .side .toc-extra a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; } .two-col .side .toc-extra a:hover { color: var(--bleu); } @media (max-width: 1000px) { .two-col { grid-template-columns: 1fr; } .two-col .side { position: static; max-height: none; } } .form-index { columns: 2; column-gap: 24px; font-size: .92rem; } .form-index li { break-inside: avoid; margin: 4px 0; } .form-index .fi-ch { font-weight: 700; color: var(--or-fonce); margin-right: 6px; } @media (max-width: 700px) { .form-index { columns: 1; } } /* calculateurs */ .tools-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 26px; } .tools-nav a { text-decoration: none; } .tool { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); margin: 0 0 26px; box-shadow: var(--shadow-sm); overflow: hidden; } .tool-head { padding: 16px 22px; background: linear-gradient(180deg, var(--bg-clair), var(--card)); border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } .tool-head h2 { margin: 0; font-size: 1.25rem; color: var(--bleu); font-family: var(--display); font-weight: 600; } .tool-head .chip { margin-left: auto; } .tool-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tool-inputs { padding: 18px 22px; display: grid; gap: 12px; border-right: 1px solid var(--border); align-content: start; } .tool-inputs label { display: grid; gap: 4px; font-size: .84rem; color: var(--ink-2); } .tool-inputs input, .tool-inputs select { font: inherit; font-size: 1rem; padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: var(--ink); width: 100%; } .tool-inputs .unit { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; } .tool-inputs .unit span { font-size: .85rem; color: var(--gris); } .tool-inputs .group-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); font-weight: 700; margin-top: 6px; } .tool-out { padding: 18px 22px; background: var(--bg-2); display: grid; gap: 6px; align-content: start; } .tool-out .desc { color: var(--ink-2); font-size: .92rem; margin: 0 0 8px; font-family: var(--serif); } .tool-out .formula { font-size: .92rem; margin: 0 0 10px; overflow-x: auto; color: var(--bleu); } .tool-out .res { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .95rem; align-items: baseline; } .tool-out .res:last-child { border-bottom: 0; } .tool-out .res b { font-variant-numeric: tabular-nums; white-space: nowrap; } .tool-out .res.main { font-size: 1.15rem; padding: 12px 0; border-top: 2px solid var(--or); border-bottom: 0; margin-top: 8px; } .tool-out .res.main b { color: var(--bleu); font-size: 1.4rem; font-family: var(--display); } .tool-out .res.warn b { color: var(--rouge); } .tool-out .res.good b { color: var(--vert); } .tool-out .note { font-size: .82rem; color: var(--gris); margin-top: 8px; } .tool-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 8px; } .tool-table th, .tool-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: right; } .tool-table th:first-child, .tool-table td:first-child { text-align: left; } .tool-table th { color: var(--gris); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; } @media (max-width: 800px) { .tool-body { grid-template-columns: 1fr; } .tool-inputs { border-right: 0; border-bottom: 1px solid var(--border); } } /* recherche */ .search-modal { position: fixed; inset: 0; z-index: 500; background: rgba(9, 26, 51, .6); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 8vh 16px; } .search-modal.open { display: flex; } .search-box { width: 100%; max-width: 780px; background: var(--card); border-radius: 18px; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6); overflow: hidden; border: 1px solid var(--border); max-height: 80vh; display: flex; flex-direction: column; animation: pop .18s; } .search-box input { width: 100%; border: 0; border-bottom: 1px solid var(--border); padding: 20px 22px; font: inherit; font-size: 1.15rem; background: transparent; color: var(--ink); outline: none; } .search-results { overflow: auto; padding: 8px; } .search-hit { display: block; padding: 11px 13px; border-radius: 10px; text-decoration: none; color: var(--ink); } .search-hit:hover, .search-hit.active { background: var(--bg-clair); } .search-hit .sh-title { font-weight: 600; color: var(--bleu); font-size: .92rem; display: flex; gap: 8px; align-items: center; } .search-hit .sh-kind { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; background: var(--gris-pale); color: var(--ink-2); } .search-hit .sh-snippet { font-size: .85rem; color: var(--ink-2); margin-top: 2px; line-height: 1.4; font-family: var(--serif); } .search-hit .sh-where { font-size: .74rem; color: var(--gris); margin-top: 2px; } .search-foot { display: flex; gap: 14px; padding: 8px 16px; border-top: 1px solid var(--border); font-size: .75rem; color: var(--gris); } .search-empty { padding: 30px; text-align: center; color: var(--gris); } .search-page .search-results { padding: 0; } .search-page .search-hit { border: 1px solid var(--border); margin-bottom: 8px; background: var(--card); } /* ressources, diapositives, bibliographie */ .res-table { width: 100%; border-collapse: collapse; } .res-table th, .res-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; } .res-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); } .res-table .size { color: var(--gris); font-size: .85rem; white-space: nowrap; } .file-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; font-size: .64rem; font-weight: 800; color: #fff; margin-right: 10px; vertical-align: middle; } .file-pdf { background: #b22a20; } .file-xlsx { background: #217346; } .file-py { background: #3776ab; } .file-json { background: #6b4fbb; } .slide-viewer { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-clair); margin: 14px 0 30px; box-shadow: var(--shadow-sm); } .slide-viewer iframe { width: 100%; height: min(72vh, 720px); border: 0; display: block; background: #525659; } .slide-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; } .slide-tabs button { font: inherit; font-size: .85rem; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--ink); cursor: pointer; } .slide-tabs button[aria-selected="true"] { background: var(--bleu); color: #fff; border-color: var(--bleu); } .bib-list { list-style: none; padding: 0; margin: 20px 0; } .bib-list li { padding: 12px 0; border-bottom: 1px solid var(--border); line-height: 1.5; font-family: var(--serif); } .bib-list li:target { background: var(--or-pale); padding-left: 10px; border-left: 3px solid var(--or); } .bib-auth { font-weight: 600; } .bib-cited { font-size: .8rem; color: var(--gris); display: block; margin-top: 2px; font-family: var(--font); } .bib-url { word-break: break-all; font-size: .9em; } .bib-urldate { color: var(--gris); font-size: .85em; } /* progression */ .prog-tiles .stat-card { display: grid; gap: 4px; } .stat-card b { font-family: var(--font); font-size: 1.6rem; color: var(--uqo); line-height: 1.05; font-weight: 700; font-variant-numeric: tabular-nums; } .stat-card span { font-size: .8rem; color: var(--ink-2); } .stat-card .bar { height: 6px; background: var(--gris-pale); border-radius: 3px; overflow: hidden; margin-top: 8px; } .stat-card .bar i { display: block; height: 100%; background: var(--vert); transition: width .5s; } .mini-bar { height: 8px; background: var(--gris-pale); border-radius: 4px; overflow: hidden; min-width: 90px; } .mini-bar i { display: block; height: 100%; background: var(--bleu-clair); } .prog-table tr.done td { background: rgba(16, 124, 78, .06) !important; } .prog-table small { color: var(--gris); } /* rapport marché */ .kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 20px 0 8px; } .kpi { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; position: relative; overflow: hidden; } .kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--kc, var(--bleu-clair)); } .kpi span { font-size: .74rem; color: var(--gris); } .kpi b { font-family: var(--font); font-size: 1.35rem; color: var(--ink); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; } .kpi small { font-size: .74rem; color: var(--ink-2); } .kpi.up b { color: var(--vert); } .kpi.down b { color: var(--rouge); } .report-toc { columns: 2; column-gap: 30px; margin: 10px 0; padding: 0; list-style: none; } .report-toc li { break-inside: avoid; margin: 0 0 6px; } .report-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); } .report-toc a:hover { background: var(--bg-clair); color: var(--bleu); } .report-toc .n { font-weight: 700; color: var(--teal); min-width: 26px; font-variant-numeric: tabular-nums; } .report-toc .part { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); font-weight: 700; margin: 12px 10px 4px; break-after: avoid; } @media (max-width: 700px) { .report-toc { columns: 1; } } body.report-page { --part: var(--teal); --part-soft: rgba(15, 139, 141, .13); } .hpi-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; } .hpi-legend label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; } .hpi-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; } .hpi-tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; font-size: .74rem; padding: 6px 9px; border-radius: 7px; white-space: nowrap; transform: translate(-50%, -110%); box-shadow: var(--shadow); z-index: 5; } .hpi-wrap { position: relative; } /* impression */ @media print { .topbar, .site-footer, .ch-toc, .ch-pager, .ch-quiz, .ch-tools, .search-modal, .h-anchor, .box-anchor, .sn-toggle, .readbar, .read-tools, .notes-panel, .tts-bar, .stepper-wrap, .widget .w-controls, .toasts { display: none !important; } .ch-layout { display: block; padding: 0; } .prose, .prose > * { max-width: none; } .sidenote { display: block !important; float: none; width: auto; margin: .4em 0; padding: 4px 8px; background: #f3f3f3; border-left: 2px solid #999; } details:not([open]) > .box-body { display: block; } details > summary { list-style: none; } .ch-hero { background: #fff !important; color: #000; border-bottom: 2px solid #000; } .ch-hero .eyebrow, .ch-hero h1 { color: #000; } .box-ret { background: #eee; color: #000; } .box-ret .box-head { color: #000; } a { color: inherit; text-decoration: none; } body { font-size: 11pt; } } /* ============================================================================= Mobile ============================================================================= */ @media (max-width: 760px) { :root { --fs: 16.5px; --topbar-h: 56px; } .page { padding: 0 16px; } .page-head { padding: 30px 0 16px; } .page-head h1 { font-size: 1.9rem; } .section { padding: 36px 0 6px; } .section-head h2 { font-size: 1.5rem; } .prose { font-size: var(--fs); } .prose h2.h-section { font-size: 1.5rem; } .chapter-page.no-dropcap .prose > p:first-of-type::first-letter { font-size: 2.6em; } .box { padding: 12px 14px 12px; border-radius: 8px; } .box-ret { padding: 16px; } .ch-layout { padding: 20px 16px 0; } .ch-pager { padding: 0 16px; } .ch-quiz { padding: 0 16px; } .ch-quiz-inner { padding: 18px 16px; } .stepper { padding: 8px 16px; } .table-wrap { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; } table.tbl th, table.tbl td { padding: 8px 10px; font-size: .85em; } .wbar { grid-template-columns: 80px 1fr 84px; font-size: .74rem; } .w-head h4 { font-size: 1.05rem; } .w-view { padding: 12px; } .q-card, .tcard, .game { padding: 14px; } .q-text, .tq { font-size: 1rem; } .tform input { width: 100%; } .tform .btn { width: 100%; justify-content: center; } .fc-face { padding: 22px 20px; } .fc-front .fc-q { font-size: 1.35rem; } .fc-card { min-height: 280px; } .kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .kpi b { font-size: 1.2rem; } .prog-tiles { grid-template-columns: 1fr 1fr; } .eval-table { font-size: .85rem; } .eval-table th, .eval-table td { padding: 8px 9px; } .notes-panel { top: 0; width: 100vw; } .hero-cta .btn { flex: 1 1 auto; justify-content: center; } .seance-card::after { font-size: 4rem; } .footer-inner { padding: 34px 16px 24px; } .gl-letters { position: static; } .two-col .side { order: -1; } .map-layout { gap: 16px; } } @media (max-width: 420px) { .hero-stats { grid-template-columns: 1fr 1fr; } .stat { padding: 10px 12px; } .kpi-grid { grid-template-columns: 1fr; } } /* rapport : pleine largeur des tableaux et figures */ .report-page .prose { max-width: none; } .report-page .prose > *, .report-page .prose .box, .report-page .prose ul, .report-page .prose ol { max-width: 80ch; } .report-page .prose .table-wrap, .report-page .prose figure, .report-page .prose .figimg { max-width: none; } .report-page .prose figure.float-table figcaption { max-width: 80ch; } /* ============================================================================= Séances vidéo (enregistrements Zoom) ============================================================================= */ .chip[hidden], .vid-pane[hidden], .vid-bar [hidden], .vid-resume[hidden], .vid-sb-wrap[hidden], .vp-skip[hidden], .vp-chap-badge[hidden], .vp-preview[hidden] { display: none !important; } .topnav > a.nav-video svg { width: 16px; height: 16px; color: var(--rouge); } .btn-video { border-color: rgba(178, 42, 32, .35); color: var(--rouge); } .btn-video svg { color: var(--rouge); } .vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 10px; } .vid-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .2s, border-color .2s; } a.vid-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--pc, var(--uqo)); } .vid-card-off { opacity: .6; } .vid-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; } .vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .vid-thumb-off { display: grid; place-items: center; background: linear-gradient(160deg, var(--gris-pale), var(--bg-clair)); color: var(--gris); font-family: var(--display); font-size: 3rem; font-weight: 700; } .vid-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(9, 26, 51, .82); color: #fff; font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; } .vid-dur svg { width: 12px; height: 12px; } .vid-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); color: #fff; opacity: .9; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4)); transition: transform .15s; } .vid-play svg { width: 56px; height: 56px; } a.vid-card:hover .vid-play { transform: translate(-50%, -50%) scale(1.08); } .vid-card-body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--pc, var(--uqo)); } .vid-card-body h3 { margin: 0; font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.3; } .vid-card-body .sc-num { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--pc, var(--uqo)); font-weight: 700; } .vid-card-body .sc-meta { display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: .74rem; color: var(--gris); } .vid-card-body .sc-meta span { display: inline-flex; gap: 5px; align-items: center; } .vid-card-body .sc-meta svg { width: 13px; height: 13px; color: var(--pc, var(--uqo)); } .vid-prog { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: .74rem; color: var(--gris); margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--border); } .vid-prog .bar { height: 6px; background: var(--gris-pale); border-radius: 3px; overflow: hidden; } .vid-prog .bar i { display: block; height: 100%; width: 0; background: var(--pc, var(--uqo)); transition: width .4s; } .vid-prog.done .bar i { background: var(--vert); } .vid-prog.done span { color: var(--vert); font-weight: 600; } .vid-hero .part-chip svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; } .vid-layout { max-width: 1440px; margin: 22px auto 0; padding: 0 22px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; } .video-page.theater .vid-layout { grid-template-columns: 1fr; max-width: 1640px; } .video-page.theater .vid-side { position: static; max-height: none; min-height: 0; } .video-page.theater .vid-pane { max-height: 60vh; } .vid-main { min-width: 0; } .vid-player { position: relative; background: #05080f; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none; outline: none; } .vid-player video { display: block; width: 100%; aspect-ratio: 1728 / 1088; max-height: 78vh; background: #05080f; object-fit: cover; object-position: center bottom; } /* masque la bande noire de 30 px en haut de l’enregistrement Zoom */ .video-page.theater .vid-player video { max-height: 86vh; } .vid-player:fullscreen { border-radius: 0; background: #000; } .vid-player:fullscreen video { max-height: none; height: 100vh; aspect-ratio: auto; object-fit: contain; } .vid-player video.audio-only { aspect-ratio: auto; height: 160px; object-fit: contain; } .vid-player.audio-mode { background: linear-gradient(160deg, var(--navy), #0f3a55); } .vid-player video::-webkit-media-text-track-display { font-family: var(--font); } .vid-player video::cue { font-family: var(--font); font-size: .95em; background: rgba(5, 8, 15, .78); color: #fff; } /* interface du lecteur */ .vp-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; --vp-gold: #f1c84c; } .vp-ui::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, transparent, rgba(5, 8, 15, .88)); opacity: 1; transition: opacity .25s; pointer-events: none; } .vp-ui::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(0deg, transparent, rgba(5, 8, 15, .6)); opacity: 1; transition: opacity .25s; pointer-events: none; } .vid-player[data-state="playing"].vp-idle .vp-ui::before, .vid-player[data-state="playing"].vp-idle .vp-ui::after { opacity: 0; } .vid-player[data-state="playing"].vp-idle .vp-controls, .vid-player[data-state="playing"].vp-idle .vp-top { opacity: 0; transform: translateY(6px); pointer-events: none; } .vid-player[data-state="playing"].vp-idle { cursor: none; } .vp-click { position: absolute; inset: 0; cursor: pointer; } .vp-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 0; background: rgba(9, 26, 51, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8), inset 0 0 0 3px var(--vp-gold); transition: transform .15s, background .15s; } .vp-big svg { width: 40px; height: 40px; margin-left: 4px; } .vp-big:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(204, 164, 36, .9); color: var(--navy); } .vid-player[data-state="playing"] .vp-big { display: none; } .vid-player[data-state="idle"] .vp-controls .vp-row, .vid-player[data-state="idle"] .vp-seek { opacity: .001; pointer-events: none; } .vp-flash { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(5, 8, 15, .6); display: grid; place-items: center; pointer-events: none; opacity: 0; } .vp-flash svg { width: 32px; height: 32px; } .vp-flash.go { animation: vpflash .6s ease-out; } @keyframes vpflash { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.7); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } } .vp-top { position: absolute; z-index: 2; left: 16px; right: 16px; top: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; transition: opacity .25s, transform .25s; pointer-events: none; } .vp-chap-badge { max-width: 70%; font-size: .8rem; font-weight: 600; line-height: 1.3; background: rgba(5, 8, 15, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 6px 10px 6px 8px; border-radius: 8px; display: inline-flex; gap: 8px; align-items: center; border-left: 3px solid var(--vp-gold); } .vp-chap-badge small { color: var(--vp-gold); font-variant-numeric: tabular-nums; font-weight: 700; } .vp-skip { position: absolute; z-index: 3; right: 16px; top: 14px; font: inherit; font-size: .82rem; font-weight: 700; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(5, 8, 15, .62); color: #fff; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .15s; } .vp-skip svg { width: 15px; height: 15px; } .vp-skip:hover { background: var(--or); color: var(--navy); border-color: transparent; } .vp-controls { position: relative; z-index: 2; padding: 0 14px 10px; display: grid; gap: 6px; transition: opacity .25s, transform .25s; } .vp-seek { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; } .vp-track { position: relative; display: flex; gap: 3px; width: 100%; height: 4px; transition: height .12s; } .vp-seek:hover .vp-track, .vp-seek.drag .vp-track { height: 7px; } .vp-seg { position: relative; flex: 0 0 auto; height: 100%; background: rgba(255, 255, 255, .28); border-radius: 2px; overflow: hidden; } .vp-seg.intro { background: rgba(255, 255, 255, .16); background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255, 255, 255, .18) 4px 8px); } .vp-seg .buf { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, .28); } .vp-seg .played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--vp-gold); } .vp-seg.question .played { background: #f28078; } .vp-seg:hover { filter: brightness(1.35); } .vp-knob { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--vp-gold); transform: translate(-50%, -50%) scale(0); box-shadow: 0 0 0 4px rgba(241, 200, 76, .25); transition: transform .12s; pointer-events: none; } .vp-seek:hover .vp-knob, .vp-seek.drag .vp-knob { transform: translate(-50%, -50%) scale(1); } .vp-preview { position: absolute; bottom: 30px; transform: translateX(-50%); width: 220px; background: #05080f; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; overflow: hidden; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .8); pointer-events: none; z-index: 5; } .vp-preview img { display: block; width: 100%; aspect-ratio: 1728 / 1118; object-fit: cover; background: #111; } .vp-preview .vp-pv-cap { padding: 6px 9px 8px; font-size: .72rem; line-height: 1.3; display: grid; gap: 2px; } .vp-preview .vp-pv-cap b { color: var(--vp-gold); font-variant-numeric: tabular-nums; } .vp-preview .vp-pv-cap span { color: rgba(255, 255, 255, .85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vp-row { display: flex; align-items: center; gap: 4px; min-height: 40px; } .vp-row .sp { flex: 1 1 auto; min-width: 0; } .vp-btn { font: inherit; width: 40px; height: 40px; border-radius: 9px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; position: relative; flex: 0 0 auto; transition: background .15s; } .vp-btn:hover, .vp-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); } .vp-btn svg { width: 22px; height: 22px; } .vp-btn[aria-pressed="true"] { color: var(--vp-gold); } .vp-btn[aria-pressed="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 1px; background: var(--vp-gold); } .vp-btn.txt { width: auto; padding: 0 10px; font-size: .84rem; font-weight: 700; font-variant-numeric: tabular-nums; } .vp-time { font-size: .84rem; font-variant-numeric: tabular-nums; padding: 0 8px; white-space: nowrap; color: rgba(255, 255, 255, .92); } .vp-time span { color: rgba(255, 255, 255, .6); } .vp-title { font-size: .8rem; color: rgba(255, 255, 255, .85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; border-left: 1px solid rgba(255, 255, 255, .25); } .vp-vol { display: flex; align-items: center; } .vp-vol input { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: var(--vp-gold); height: 4px; cursor: pointer; } .vp-vol:hover input, .vp-vol:focus-within input { width: 80px; opacity: 1; margin-right: 6px; } .vp-menu { position: absolute; right: 0; bottom: calc(100% + 8px); background: rgba(5, 8, 15, .94); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 6px; display: none; flex-direction: column; min-width: 150px; z-index: 6; box-shadow: var(--shadow-lg); } .vp-menu.open { display: flex; } .vp-menu button { font: inherit; font-size: .84rem; text-align: left; padding: 8px 12px; border: 0; background: none; color: #fff; border-radius: 6px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; } .vp-menu button:hover { background: rgba(255, 255, 255, .12); } .vp-menu button[aria-checked="true"] { color: var(--vp-gold); font-weight: 700; } .vp-menu-wrap { position: relative; } .vp-toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); background: rgba(5, 8, 15, .8); color: #fff; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; pointer-events: none; opacity: 0; transition: opacity .2s; } .vp-toast.show { opacity: 1; } .vid-resume { position: absolute; left: 0; right: 0; bottom: 96px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 14px; pointer-events: none; z-index: 4; } .vid-resume .btn { pointer-events: auto; box-shadow: var(--shadow-lg); } .vid-resume .btn-ghost { background: rgba(9, 26, 51, .7); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); } .vid-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; } .vid-chapnow { flex: 1 1 260px; min-width: 0; font-size: .86rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vid-chapnow b { color: var(--part, var(--uqo)); font-variant-numeric: tabular-nums; margin-right: 6px; } .vid-bar .btn[aria-pressed="true"] { background: var(--bleu-pale); border-color: var(--bleu-clair); } .vid-sb-wrap { margin-top: 18px; } .vid-sb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; } .vid-sb-head h2 { margin: 0; font-size: 1.05rem; color: var(--bleu); font-family: var(--font); font-weight: 700; } .vid-sb-head .muted { font-size: .78rem; color: var(--gris); } .vid-sb { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; } .vid-sb figure { flex: 0 0 168px; margin: 0; cursor: pointer; scroll-snap-align: start; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--navy); position: relative; transition: border-color .15s, transform .15s; } .vid-sb figure img { display: block; width: 100%; aspect-ratio: 1728 / 1118; object-fit: cover; } .vid-sb figure figcaption { position: absolute; left: 6px; bottom: 6px; background: rgba(9, 26, 51, .82); color: #fff; font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; } .vid-sb figure:hover { transform: translateY(-2px); border-color: var(--bleu-clair); } .vid-sb figure.cur { border-color: var(--or); } .vid-side { position: sticky; top: calc(var(--topbar-h) + 14px); display: flex; flex-direction: column; max-height: calc(100vh - var(--topbar-h) - 28px); min-height: 420px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; } .vid-tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--bg-2); flex: 0 0 auto; } .vid-tabs button { flex: 1 1 auto; font: inherit; font-size: .78rem; font-weight: 700; padding: 11px 6px; border: 0; background: none; color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; justify-content: center; border-bottom: 2px solid transparent; } .vid-tabs button svg { width: 14px; height: 14px; } .vid-tabs button[aria-selected="true"] { color: var(--bleu); border-bottom-color: var(--or); background: var(--card); } .vid-pane { flex: 1 1 auto; overflow: auto; min-height: 0; scroll-behavior: smooth; } .vid-chaps { list-style: none; margin: 0; padding: 6px; } .vc { display: flex; align-items: stretch; border-radius: 9px; } .vc-btn { flex: 1 1 auto; display: flex; gap: 10px; align-items: flex-start; text-align: left; font: inherit; padding: 9px 10px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 9px; min-width: 0; } .vc-btn:hover { background: var(--bg-clair); } .vc-time { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-size: .74rem; font-weight: 700; color: var(--part, var(--uqo)); background: var(--part-soft); padding: 2px 7px; border-radius: 6px; margin-top: 2px; } .vc.intro .vc-time { color: var(--gris); background: var(--gris-pale); } .vc.question .vc-time { color: var(--or-fonce); background: var(--or-pale); } .vc-text { display: grid; gap: 2px; min-width: 0; } .vc-text b { font-size: .88rem; line-height: 1.3; } .vc-text small { font-size: .76rem; color: var(--gris); line-height: 1.4; display: none; } .vc.cur { background: var(--bleu-pale); } .vc.cur .vc-text small { display: block; } .vc.cur .vc-text b { color: var(--bleu); } .vc.seen .vc-time { opacity: .55; } .vc-link { flex: 0 0 auto; display: grid; place-items: center; width: 34px; color: var(--gris); border-radius: 9px; } .vc-link svg { width: 15px; height: 15px; } .vc-link:hover { color: var(--bleu); background: var(--bg-clair); } .tr-tools { display: flex; gap: 8px; align-items: center; padding: 10px; border-bottom: 1px solid var(--border); background: var(--bg-2); position: sticky; top: 0; z-index: 2; } .tr-tools .input { flex: 1 1 auto; max-width: none; font-size: .85rem; padding: 7px 10px; } .tr-follow { display: inline-flex; gap: 6px; align-items: center; font-size: .78rem; color: var(--ink-2); white-space: nowrap; cursor: pointer; } .tr-count { font-size: .74rem; color: var(--gris); padding: 6px 12px 0; min-height: 1em; } .tr-list { padding: 6px 8px 14px; } .tr-seg { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 6px 6px; margin: 0; border-radius: 8px; cursor: pointer; font-family: var(--serif); font-size: .93rem; line-height: 1.55; color: var(--ink-2); transition: background .15s; } .tr-seg:hover { background: var(--bg-clair); } .tr-seg .tr-time { font-family: var(--font); font-size: .7rem; font-weight: 700; color: var(--gris); font-variant-numeric: tabular-nums; padding-top: 4px; } .tr-seg.cur { background: var(--or-pale); color: var(--ink); } .tr-seg.cur .tr-time { color: var(--or-fonce); } .tr-seg mark { background: rgba(204, 164, 36, .45); color: inherit; border-radius: 2px; padding: 0 1px; } .tr-seg.hide { display: none; } .tr-chap { font-family: var(--font); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--part, var(--uqo)); font-weight: 700; margin: 12px 6px 4px; padding-top: 8px; border-top: 1px dashed var(--border); } .tr-chap:first-child { border-top: 0; margin-top: 4px; } .vid-q, .vid-chat { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; } .vq { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-2); font-size: .86rem; } .vq-t { font: inherit; font-size: .74rem; font-weight: 700; color: var(--or-fonce); background: var(--or-pale); border: 0; border-radius: 6px; padding: 4px 8px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; height: fit-content; font-variant-numeric: tabular-nums; } .vq-t svg { width: 12px; height: 12px; } .vq b { display: block; margin-bottom: 4px; color: var(--ink); } .vq p { margin: 0; color: var(--ink-2); line-height: 1.5; } .vid-chat li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: .85rem; padding: 8px 10px; border-radius: 9px; background: var(--bg-2); } .vid-chat li b { grid-column: 2; } .vid-chat li span:last-child { grid-column: 2; color: var(--ink-2); } .vchat-time { grid-row: 1 / span 2; font-size: .72rem; color: var(--gris); font-variant-numeric: tabular-nums; padding-top: 2px; } .vid-chat .muted, .vid-q .muted { color: var(--gris); font-size: .85rem; padding: 10px; } .video-page .page .section:first-of-type { padding-top: 38px; } .vid-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--or-pale); color: var(--ink); font-size: .9rem; border: 1px solid rgba(204, 164, 36, .35); } .vid-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--or-fonce); margin-top: 2px; } .vid-related { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .vid-related .chip { text-decoration: none; } .vid-related .chip:hover { border-color: var(--bleu-clair); color: var(--bleu); } .vid-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; align-items: start; } .vid-ret ul { margin: 0; padding-left: 18px; } .vid-ret li { margin: 0 0 8px; line-height: 1.5; font-size: .95rem; } .vid-table td.al-r, .vid-table th.al-r { text-align: right; white-space: nowrap; } .vid-table td:last-child { white-space: nowrap; } .vid-table .muted { color: var(--gris); font-size: .85rem; } .vt-seek { font-variant-numeric: tabular-nums; } .file-mp4 { background: var(--rouge); } .file-m4a { background: var(--violet); } .file-vtt, .file-srt { background: var(--teal); } .file-txt { background: var(--gris); } .vid-kbd { font-size: .78rem; color: var(--gris); margin-top: 8px; } @media (max-width: 1100px) { .vid-layout { grid-template-columns: 1fr; } .vid-side { position: static; max-height: none; min-height: 0; } .vid-pane { max-height: 62vh; } .vid-two { grid-template-columns: 1fr; } } @media (max-width: 760px) { .vid-layout { padding: 0 12px; margin-top: 12px; gap: 14px; } .vid-player, .vid-side { border-radius: 10px; } .vid-bar { gap: 6px; } .vid-bar .btn { padding: 7px 10px; font-size: .78rem; } .vid-chapnow { flex-basis: 100%; } .vp-btn { width: 36px; height: 36px; } .vp-btn svg { width: 20px; height: 20px; } .vp-title, .vp-btn.pip, .vp-btn.theater { display: none; } .vp-time { font-size: .76rem; padding: 0 4px; } .vp-controls { padding: 0 8px 6px; } .vp-big { width: 64px; height: 64px; } .vp-big svg { width: 30px; height: 30px; } .vp-preview { width: 160px; } .vp-skip { top: 10px; right: 10px; font-size: .74rem; padding: 8px 10px; } .vp-chap-badge { max-width: 48%; } .vid-resume { bottom: 80px; } .vp-top { left: 10px; right: 10px; top: 10px; } .vp-chap-badge { font-size: .72rem; max-width: 100%; } .vp-vol input { display: none; } .vid-tabs button { font-size: .72rem; padding: 10px 4px; } .vid-tabs button svg { display: none; } .vid-sb figure { flex-basis: 132px; } .vid-related { justify-content: flex-start; } }