/* Académie Chicken Drive — style Apple / Tesla / NASA, fond gris clair Apple : typographie épurée, étiquettes « mission », cartes blanches, un seul accent rouge. */
body.acad {
  --beige: #F5F5F7; --beige2: #EBEBEF; --card: #FFFFFF; --line: rgba(0, 0, 0, .07); --line2: rgba(0, 0, 0, .14);
  --tx: #1D1D1F; --tx2: #515154; --tx3: #86868B; --red: #E30613; --red2: #C00510; --ok: #1E9E4A; --amber: #B7791F;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --serif: var(--display);
  background: var(--beige); color: var(--tx); }
body.acad .topbar { background: rgba(245, 245, 247, .8); border-color: var(--line); }
body.acad .brand-tag { color: var(--tx3); border-color: var(--line2); letter-spacing: .22em; font-family: var(--mono); font-size: 11px; }
body.acad main { background: var(--beige); }
body.acad .link-back { color: var(--tx2); }

.ac-team { padding: 12px 16px 0; }
.ac-team:empty { display: none; }

/* étiquettes techniques (codes, compteurs) */
.ac-code, .ac-kicker, .ac-eyebrow, .ac-id-top, .ac-id-level span, .ac-take span, .ac-q-kind, .ac-progress, .ac-section span {
  font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- en-tête du campus ---------- */
.ac-hero { text-align: center; padding: 44px 24px 28px; position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(55% 50% at 50% 0%, rgba(227, 6, 19, .10), transparent 70%); }
.ac-hero .crest { display: block; margin: 0 auto 18px; filter: drop-shadow(0 14px 22px rgba(120, 10, 15, .22)); }
.ac-title { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: .98; letter-spacing: -.04em; margin: 6px 0 12px; color: #111; }
.ac-motto { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--tx3); }
.laurel { display: none; }

/* ---------- carte d'étudiant (badge d'accès) ---------- */
.ac-id { margin: 8px 16px 0; border-radius: 24px; padding: 18px; color: #F5F5F7; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1F1F22, #0D0D0F); box-shadow: 0 24px 50px rgba(0, 0, 0, .28); }
.ac-id::after { content: ''; position: absolute; inset: auto -35% -65% auto; width: 80%; height: 120%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 6, 19, .45), transparent); pointer-events: none; }
.ac-id-top { display: flex; justify-content: space-between; font-size: 10.5px; color: #8E8E93; }
.ac-id-main { display: flex; align-items: center; gap: 14px; margin: 18px 0 16px; position: relative; z-index: 1; }
.ac-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 600; background: #fff; color: #000; }
.ac-id-main b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.ac-id-main small { display: block; color: #A1A1A6; font-size: 14px; margin-top: 3px; }
.ac-id-level { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); position: relative; z-index: 1; }
.ac-id-level span { font-size: 10.5px; color: #8E8E93; }
.ac-id-level b { font-size: 17px; font-weight: 600; color: #fff; }

/* ---------- sections et catalogue ---------- */
.ac-section { display: flex; align-items: baseline; justify-content: space-between; margin: 40px 20px 14px; }
.ac-section h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.035em; color: #111; }
.ac-section span { color: var(--tx3); font-size: 11px; }
.ac-courses { display: grid; gap: 12px; padding: 0 16px; }
.ac-course { display: block; width: 100%; padding: 0; border: 0; text-align: start; background: var(--card); color: var(--tx); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .07); transition: transform .2s var(--ease); }
.ac-course:active { transform: scale(.985); }
.ac-course-band { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px 0; background: none; }
.ac-course-band .ac-code { color: var(--cc); font-size: 11px; font-weight: 700; }
.ac-school { font-size: 12.5px; color: var(--tx3); text-align: end; }
.ac-course-body { display: block; padding: 8px 18px 18px; }
.ac-course-body b { display: block; font-size: 23px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: #111; }
.ac-course-body small { display: block; color: var(--tx2); font-size: 14.5px; line-height: 1.45; margin-top: 6px; }
.ac-course-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ac-status { flex: none; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--beige); color: var(--tx2); }
.ac-status.run { background: #FDE8E9; color: var(--red2); }
.ac-status.ok { background: #E3F4E8; color: var(--ok); }
.ac-status.soon { background: #F2F2F4; color: var(--tx3); }
.ac-course.soon { opacity: .65; }
.ac-bar { flex: 1; height: 4px; border-radius: 99px; background: #E8E8ED; overflow: hidden; }
.ac-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #FF453A); border-radius: 99px; transition: width .8s var(--ease); }

.ac-dips { display: grid; gap: 10px; padding: 0 16px; }
.ac-dip { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; text-align: start; border-radius: 18px; color: var(--tx);
  background: var(--card); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.ac-dip .crest { flex: none; }
.ac-dip b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ac-dip small { color: var(--tx3); font-size: 13px; }
.ac-empty { margin: 0 20px; color: var(--tx3); font-size: 15px; }
.ac-foot { text-align: center; margin: 48px 20px 0; color: var(--tx3); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 2; }

/* ---------- pages cursus / leçon ---------- */
.ac-page { padding: 8px 16px 0; }
.ac-back { background: none; border: 0; color: var(--tx2); font-weight: 500; font-size: 16px; padding: 10px 0; }
.ac-back.ac-center { display: block; margin: 14px auto 0; }
.ac-banner { margin: 6px 0 18px; padding: 26px 22px 22px; border-radius: 26px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--cc, #E30613) 70%, transparent), transparent 65%), linear-gradient(180deg, #1C1C1E, #0B0B0C);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22); }
.ac-banner .ac-code { color: rgba(255, 255, 255, .7); font-size: 11px; }
.ac-banner h1 { font-weight: 700; font-size: 36px; line-height: 1.02; margin: 12px 0 10px; color: #fff; letter-spacing: -.04em; }
.ac-banner p { margin: 0; color: #C7C7CC; font-size: 16px; }
.ac-banner-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ac-banner-meta span { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.ac-syllabus { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.ac-syllabus li + li { border-top: 1px solid var(--line); }
.ac-syllabus li > button, .ac-syllabus li.locked { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 16px; border: 0; background: none; text-align: start; color: var(--tx); }
.ac-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--tx2); border: 1px solid var(--line2); }
.ac-syllabus li.next .ac-num { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(227, 6, 19, .14); }
.ac-syllabus li.done .ac-num { background: var(--ok); border-color: var(--ok); color: #fff; }
.ac-syllabus b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: #111; }
.ac-syllabus small { display: block; color: var(--tx3); font-size: 13px; margin-top: 3px; }
.ac-syllabus span:nth-child(2) { flex: 1; min-width: 0; }
.ac-go, .ac-lock { color: #C7C7CC; font-size: 20px; }
.ac-syllabus li.lockedx > button { opacity: .45; }

.btn.ac-gold { background: #111; color: #fff; }
.btn.ac-light { background: var(--card); color: var(--tx); outline: 1px solid var(--line2); margin-top: 10px; }

.ac-kicker { margin: 10px 0 0; font-size: 11px; color: var(--red); font-weight: 600; }
.ac-h1 { font-weight: 700; font-size: 38px; line-height: 1.02; margin: 10px 0 8px; color: #111; letter-spacing: -.045em; }
.ac-ic { display: block; font-size: 34px; margin-bottom: 8px; }
.ac-lead { font-size: 19px; color: var(--tx2); margin: 0 0 10px; letter-spacing: -.015em; }
.ac-sec { background: var(--card); border-radius: 22px; padding: 20px 18px 10px; margin: 14px 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .05); }
.ac-sec h3 { margin: 0 0 12px; font-size: 21px; font-weight: 600; color: #111; letter-spacing: -.025em; }
.ac-sec p { margin: 0 0 8px; font-size: 16px; color: var(--tx2); }
.ac-sec ul, .ac-sec ol { margin: 0; padding: 0; list-style: none; }
.ac-sec li { position: relative; padding-block: 0 12px; padding-inline: 18px 0; font-size: 16px; line-height: 1.55; color: #333336; }
.ac-sec ul li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.ac-steps { counter-reset: s; }
.ac-steps li { padding-inline-start: 44px; min-height: 30px; }
.ac-steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0; width: 32px; height: 28px;
  border-radius: 8px; display: grid; place-items: center; background: #FDE8E9; color: var(--red2); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.ac-table { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; font-size: 14.5px; }
.ac-th, .ac-tr { display: grid; grid-template-columns: 1fr 1fr; }
.ac-th span { padding: 10px; font-weight: 600; background: var(--beige); }
.ac-tr span { padding: 10px; border-top: 1px solid var(--line); }
.ac-tr span + span, .ac-th span + span { border-inline-start: 1px solid var(--line); }
.ac-take { margin: 18px 0; padding: 18px; border-radius: 20px; background: #111; color: #fff; }
.ac-take span { font-size: 11px; color: #FF6961; font-weight: 600; }
.ac-take p { margin: 8px 0 0; font-size: 18px; line-height: 1.4; color: #fff; font-weight: 500; letter-spacing: -.015em; }
.ac-note { text-align: center; color: var(--tx3); font-size: 13.5px; margin: 12px 0 0; }

/* ---------- quiz et examen ---------- */
.ac-progress { display: flex; align-items: center; gap: 12px; margin: 8px 0 22px; font-size: 11px; color: var(--tx3); }
.ac-q { font-size: 28px; line-height: 1.15; font-weight: 700; margin: 0 0 22px; color: #111; letter-spacing: -.035em; }
.ac-opts { display: grid; gap: 10px; }
.ac-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 14px; border: 0; text-align: start; border-radius: 18px; color: var(--tx);
  background: var(--card); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); font-size: 16.5px; outline: 1.5px solid transparent; transition: transform .12s var(--ease), outline-color .15s; }
.ac-opt:active { transform: scale(.985); }
.ac-letter { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 13px;
  background: var(--beige); color: var(--tx2); }
.ac-opt.good { outline-color: var(--ok); background: #EEF8F1; }
.ac-opt.good .ac-letter { background: var(--ok); color: #fff; }
.ac-opt.bad { outline-color: var(--red); background: #FDEEEF; }
.ac-opt.bad .ac-letter { background: var(--red); color: #fff; }
.ac-fb { margin: 16px 0 12px; padding: 14px 16px; border-radius: 16px; }
.ac-fb.ok { background: #EEF8F1; color: #146C34; }
.ac-fb.ko { background: #FDEEEF; color: var(--red2); }
.ac-fb p { margin: 4px 0 0; color: var(--tx2); }
.ac-timer { flex: none; min-width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 15px; color: #111;
  background: var(--card); border: 2px solid var(--line2); font-variant-numeric: tabular-nums; }
.ac-timer.hot { border-color: var(--red); color: var(--red); animation: pulseT 1s infinite; }
@keyframes pulseT { 50% { transform: scale(1.08); } }

/* ---------- résultat ---------- */
.ac-result { text-align: center; padding-top: 34px; }
.ac-seal { display: grid; place-items: center; margin: 0 auto 8px; }
.ac-seal.ko span { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; background: var(--card); color: var(--tx3); }
.ac-seal.ok .crest { animation: sealIn .9s var(--ease) both; filter: drop-shadow(0 16px 26px rgba(120, 10, 15, .3)); }
@keyframes sealIn { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.ac-score { font-size: 22px; color: var(--tx3); margin: 0 0 6px; font-family: var(--mono); }
.ac-score b { font-family: var(--display); font-size: 72px; font-weight: 700; color: #111; letter-spacing: -.05em; }
.ac-mention { font-size: 26px; font-weight: 700; color: var(--red); margin: 0; letter-spacing: -.02em; }
.ac-section.ac-left { margin-left: 4px; margin-right: 4px; text-align: start; }
.ac-corr { display: grid; gap: 10px; text-align: start; }
.ac-corr-item { background: var(--card); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; font-size: 15px; box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.ac-corr-item b { font-size: 16px; font-weight: 600; }
.ac-corr-item .ko { color: var(--red2); }
.ac-corr-item .ok { color: var(--ok); font-weight: 600; }
.ac-corr-item small { color: var(--tx3); }

/* ---------- certificat (imprimable) ---------- */
.ac-cert { margin: 8px 0 16px; padding: 10px; border-radius: 22px; background: #fff; color: #1D1D1F; box-shadow: 0 24px 60px rgba(0, 0, 0, .2); direction: ltr; text-align: center; }
.ac-cert-in { border: 1px solid #E5E5EA; border-radius: 14px; padding: 34px 18px 24px; }
.ac-cert-in .crest { display: block; margin: 0 auto 14px; }
.ac-cert-school { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #86868B; margin: 0 0 22px; }
.ac-cert-small { font-size: 14px; color: #86868B; margin: 6px 0; }
.ac-cert-name { font-size: 36px; font-weight: 700; color: #111; margin: 4px 0 10px; line-height: 1.05; letter-spacing: -.04em; }
.ac-cert-course { font-size: 17px; font-weight: 600; margin: 4px 0; }
.ac-cert-title { font-size: 26px; font-weight: 700; color: #E30613; margin: 8px 0 22px; letter-spacing: -.025em; }
.ac-cert-mention { font-size: 15px; font-weight: 600; margin: -14px 0 22px; }
.ac-cert-foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; font-size: 11px; color: #86868B; }
.ac-cert-foot span { display: grid; gap: 6px; }
.ac-cert-foot i { display: block; height: 1px; background: #D2D2D7; margin: 0 6px; }
.ac-cert-date { font-family: var(--mono); font-size: 11px; }
.ac-cert-motto { font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #AEAEB2; margin: 20px 0 0; }

/* ---------- citations ---------- */
.ac-quote { margin: 18px 16px 0; padding: 22px 20px 18px; border-radius: 22px; text-align: center; position: relative; background: var(--card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06); transition: opacity .45s var(--ease), transform .45s var(--ease); min-height: 150px; }
.ac-page .ac-quote { margin: 18px 0 0; }
.ac-quote.out { opacity: 0; transform: translateY(6px); }
.ac-q-kind { font-size: 10.5px; color: var(--red); font-weight: 600; }
.ac-q-ar { font-family: 'Noto Sans Arabic', 'Geeza Pro', sans-serif; font-size: 22px; line-height: 1.75; color: #111; margin: 10px 0 4px; }
.ac-q-text { font-size: 18px; line-height: 1.4; color: #333336; margin: 8px 0 10px; letter-spacing: -.015em; }
.ac-q-src { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; color: var(--tx3); margin: 0; }

/* ---------- installer l'application ---------- */
.ac-install { display: flex; gap: 14px; align-items: flex-start; margin: 16px 16px 0; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.ac-install img { flex: none; border-radius: 14px; }
.ac-install b { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.ac-install small { display: block; color: var(--tx2); font-size: 14px; margin: 4px 0 10px; }
.ac-install-btn { min-height: 46px; font-size: 16px; }
.ac-install-steps { margin: 0; padding-inline-start: 20px; font-size: 14.5px; line-height: 1.55; }
.ac-install .ac-install-steps b { display: inline; font-size: inherit; font-weight: 600; line-height: inherit; }
.ac-share { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #E8F0FE; color: #1A73E8; font-size: 13px; }
.ac-install-hide { margin-top: 10px; background: none; border: 0; padding: 4px 0; color: var(--tx3); font-weight: 600; font-size: 14px; }

/* ---------- cursus Uber Eats & Deliveroo (CD 120) ---------- */
.dl-page .delivery-title, .dl-page .delivery-title + .rule-note { display: none; }
.dl-page .path { margin-top: 18px; }
body.acad .hero { background: radial-gradient(90% 70% at 100% 0%, rgba(11, 110, 79, .8), transparent 65%), linear-gradient(180deg, #1C1C1E, #0B0B0C); }

/* ---------- langues ---------- */
body.acad.lang-ar, body.acad.lang-ur, body.acad.lang-prs, body.acad.lang-ps, body.acad.lang-bn,
body.acad.lang-ar *, body.acad.lang-ur *, body.acad.lang-prs *, body.acad.lang-ps *, body.acad.lang-bn * { letter-spacing: 0; }

@media (min-width: 700px) {
  .ac-title { font-size: 72px; }
  .ac-courses { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ac-quote, .ac-bar i { transition: none; } .ac-timer.hot { animation: none; } }
@media print {
  body * { visibility: hidden !important; }
  .ac-cert, .ac-cert * { visibility: visible !important; }
  .ac-cert { position: fixed; inset: 0; margin: 0; box-shadow: none; }
}

/* ---------- logo épuré ---------- */
.cd-logo { display: block; height: 46px; width: auto; margin: 0 auto 22px; }
.cd-tile { display: inline-grid; place-items: center; flex: none; background: linear-gradient(160deg, #F0141F, #C00510);
  box-shadow: 0 8px 20px rgba(227, 6, 19, .28), inset 0 1px 0 rgba(255, 255, 255, .25); }
.cd-tile img { width: 76%; height: auto; display: block; }
.ac-hero .cd-tile { margin: 0 auto 18px; }
.ac-seal .cd-tile { animation: sealIn .9s var(--ease) both; }
.ac-cert-logo { display: block; height: 40px; width: auto; margin: 0 auto 18px; }
.ac-title { font-size: 56px; }

/* ---------- écouter la leçon ---------- */
.ac-sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ac-sec-head h3 { flex: 1; }
.ac-listen { flex: none; border: 0; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; background: #F2F2F4; color: #1D1D1F; }
.ac-listen.playing { background: #E30613; color: #fff; }

/* =================================================================== v2 — accueil « haut de gamme » */
/* Apparition en cascade */
.rise { animation: acRise .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes acRise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* Scène d'accueil sombre, pleine largeur */
.ac-stage { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 30px 20px 22px; margin: 0 0 6px;
  background: #0A0A0B; border-radius: 0 0 32px 32px; }
.ac-stage-glow { position: absolute; inset: -40% -30% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 45% at 30% 30%, rgba(227, 6, 19, .55), transparent 70%), radial-gradient(40% 40% at 80% 20%, rgba(255, 120, 60, .25), transparent 70%);
  filter: blur(10px); animation: acGlow 12s ease-in-out infinite alternate; }
@keyframes acGlow { from { transform: translate3d(-4%, 0, 0) scale(1); } to { transform: translate3d(6%, 4%, 0) scale(1.08); } }
.ac-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .35) .5px, transparent .5px); background-size: 3px 3px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.ac-stage-logo { display: block; height: 30px; width: auto; margin: 0 0 22px; }
.ac-stage-kicker { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.ac-stage-title { margin: 8px 0 20px; font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.ac-stage-row { display: flex; align-items: center; gap: 18px; }
.ac-stage-ring { position: relative; flex: none; width: 92px; height: 92px; display: grid; place-items: center; }
.ac-stage-ring svg { position: absolute; inset: 0; }
.ac-stage-ring b { position: relative; font-size: 26px; font-weight: 700; letter-spacing: -.04em; }
.ac-stage-ring b small { font-size: 13px; font-weight: 600; margin-inline-start: 1px; color: rgba(255, 255, 255, .6); }
.ac-stage-facts { flex: 1; min-width: 0; display: grid; gap: 8px; }
.ac-stage-facts span { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 6px; }
.ac-stage-facts small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ac-stage-facts b { font-size: 14px; font-weight: 600; text-align: end; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-resume { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 22px; padding: 14px 16px 14px 18px; border: 0; border-radius: 20px; text-align: start;
  background: #fff; color: #111; box-shadow: 0 10px 30px rgba(227, 6, 19, .25); transition: transform .15s var(--ease); }
.ac-resume:active { transform: scale(.98); }
.ac-resume span:first-child { flex: 1; min-width: 0; }
.ac-resume small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.ac-resume b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-resume-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 18px; }
.ac-stage-done { margin: 22px 0 0; font-weight: 600; }

/* Anneaux de progression */
.ac-ring { transform: rotate(-90deg); }
.ac-ring-bg { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 6; }
.ac-ring-fg { fill: none; stroke: url(#acGrad); stroke: #FF3B30; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.ac-course .ac-ring-bg { stroke: #EEEEF0; stroke-width: 4; }
.ac-course .ac-ring-fg { stroke: var(--cc); stroke-width: 4; }

/* Titres de section : étiquette au-dessus, grand titre en dessous */
.ac-section { display: block; margin: 36px 20px 14px; }
.ac-section span { display: block; margin-bottom: 4px; }
.ac-section h2 { font-size: 32px; }

/* Cartes de formation */
.ac-course { padding: 18px; }
.ac-course-top { display: flex; align-items: center; gap: 12px; }
.ac-ico-wrap { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--cc) 12%, #fff); color: var(--cc); }
.ac-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ac-course-meta { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ac-course-meta .ac-code { color: var(--cc); font-size: 11px; font-weight: 700; }
.ac-course-meta .ac-school { text-align: start; font-size: 12.5px; }
.ac-course-ring { position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; }
.ac-course-ring svg { position: absolute; inset: 0; }
.ac-course-ring i { position: relative; font-style: normal; font-size: 11px; font-weight: 700; color: var(--tx2); font-variant-numeric: tabular-nums; }
.ac-course-body { padding: 14px 0 0; }
.ac-course-body .ac-status { display: inline-block; margin-top: 14px; }
.ac-course .ac-lock { font-size: 16px; }

/* Citation : plus fine, filet rouge */
.ac-quote { text-align: start; min-height: 0; padding: 18px 18px 16px 20px; border-left: 3px solid var(--red); border-radius: 18px; }
html[dir="rtl"] .ac-quote { border-left: 0; border-right: 3px solid var(--red); }
.ac-quote::before { display: none; }
.ac-q-ar { font-size: 20px; text-align: right; }
.ac-q-text { font-size: 16.5px; }

/* Diplômes */
.ac-dip .ac-go { margin-inline-start: auto; color: #C7C7CC; font-size: 20px; }
.ac-dip > span:nth-child(2) { flex: 1; min-width: 0; }

/* Pied de page */
.ac-foot { display: grid; justify-items: center; gap: 2px; margin-top: 52px; padding-bottom: 12px; }
.ac-foot img { margin-bottom: 8px; opacity: .85; }
.ac-foot p { margin: 0; }

@media (min-width: 700px) {
  .ac-stage { border-radius: 0 0 40px 40px; padding: 48px 32px 32px; }
  .ac-stage-title { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) { .rise, .ac-stage-glow { animation: none; } }

/* Arabe, ourdou, dari, pachto, bengali : les étiquettes « techniques » gardent la police de la langue (lettres liées). */
body.acad:is(.lang-ar, .lang-ur, .lang-prs, .lang-ps, .lang-bn) :is(.ac-code, .ac-kicker, .ac-eyebrow, .ac-id-top, .ac-take span, .ac-q-kind, .ac-progress, .ac-section span,
  .ac-stage-kicker, .ac-stage-facts small, .ac-resume small, .ac-motto, .ac-foot, .ac-banner-meta span, .ac-q-src) {
  font-family: var(--font); letter-spacing: 0; text-transform: none; }
