/* academy.css — JMS Academy (s'appuie sur les couleurs du site : --brand-blue, --brand-lilac, --bg, --fg, --card…) */
.ac{ --ac-blue: var(--brand-blue, #2f6faa); --ac-lilac: var(--brand-lilac, #9c83d6); --ac-green:#16a34a; --ac-red:#dc2626; --ac-amber:#d97706;
  --ac-soft: rgba(47,111,170,0.08); --ac-r: 16px;
  padding: 28px 0 70px; min-height: 60vh; }
.ac-wrap{ max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.ac-narrow{ max-width: 760px; }
.ac h1{ font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
.ac h2{ font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); margin: 0 0 10px; }
.ac h3{ font-size: 1.1rem; margin: 0 0 6px; }
.ac p{ line-height: 1.65; }
.ac .muted{ color: var(--muted, #64748b); }
.ac a.ac-link{ color: var(--ac-blue); font-weight: 600; text-decoration: none; }
.ac a.ac-link:hover{ text-decoration: underline; }
.ac-crumbs{ font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.ac-crumbs a{ color: inherit; }

/* Bandeau titre */
.ac-hero{ position: relative; border-radius: 24px; padding: 34px 28px; margin-bottom: 26px; overflow: hidden;
  background: linear-gradient(135deg, rgba(47,111,170,0.14), rgba(156,131,214,0.16));
  border: 1px solid var(--border, #e5e7eb); }
.ac-hero::after{ content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(156,131,214,0.35), transparent 70%); pointer-events:none; }
.ac-kicker{ display:inline-flex; gap:8px; align-items:center; font-size:.82rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color: var(--ac-blue); background: rgba(47,111,170,0.12); padding: 6px 12px; border-radius: 99px; margin-bottom: 14px; }
.ac-hero .lead{ font-size: 1.08rem; max-width: 640px; color: var(--fg); opacity: .9; }

/* Grilles & cartes */
.ac-grid{ display:grid; gap:18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ac-grid-2{ display:grid; gap:20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px){ .ac-grid-2{ grid-template-columns: 1fr; } }
.ac-card{ background: var(--card, #fff); border: 1px solid var(--border, #e5e7eb); border-radius: var(--ac-r); padding: 22px; box-shadow: var(--shadow, 0 10px 30px rgba(2,6,23,.06)); }
.ac-card--accent{ border-top: 4px solid var(--ac-blue); }
.ac-card--lilac{ border-top: 4px solid var(--ac-lilac); }
.ac-section{ margin: 30px 0; }
.ac-row{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.ac-spacer{ flex:1; }
.ac-price{ font-size: 1.6rem; font-weight: 800; color: var(--fg); }
.ac-price small{ font-size: .9rem; font-weight: 600; color: var(--muted); }
.ac-list{ margin: 10px 0 0; padding: 0; list-style: none; }
.ac-list li{ padding: 6px 0 6px 28px; position: relative; line-height: 1.5; }
.ac-list li::before{ content:""; position:absolute; left:2px; top:.45em; width:16px; height:16px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316a34a%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206L9%2017l-5-5%22/%3E%3C/svg%3E") no-repeat center / contain; }

/* Boutons */
.ac-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.ac-btn:hover{ transform: translateY(-1px); }
.ac-btn--primary{ background: linear-gradient(135deg, var(--ac-blue), rgb(91,119,188)); color:#fff; box-shadow: 0 8px 20px rgba(47,111,170,0.30); }
.ac-btn--ghost{ background: transparent; color: var(--ac-blue); border-color: rgba(47,111,170,0.40); }
.ac-btn--wave{ background:#1dc8ff; color:#08243a; }
.ac-btn--wa{ background:#25d366; color:#fff; }
.ac-btn--ok{ background: var(--ac-green); color:#fff; }
.ac-btn--block{ width:100%; }
.ac-btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none; }

/* Badges & alertes */
.ac-badge{ display:inline-block; padding: 4px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.ac-badge--ok{ background: rgba(22,163,74,0.15); background: rgba(22,163,74,0.15); color: var(--ac-green); }
.ac-badge--warn{ background: rgba(217,119,6,0.16); background: rgba(217,119,6,0.16); color: var(--ac-amber); }
.ac-badge--info{ background: rgba(47,111,170,0.15); color: var(--ac-blue); }
.ac-badge--bad{ background: rgba(220,38,38,0.14); background: rgba(220,38,38,0.14); color: var(--ac-red); }
.ac-badge--off{ background: rgba(100,116,139,0.15); color: var(--muted); }
.ac-alert{ border-radius: 14px; padding: 14px 16px; margin: 14px 0; border: 1px solid; line-height: 1.55; }
.ac-alert--info{ background: rgba(47,111,170,0.07); border-color: rgba(47,111,170,0.30); }
.ac-alert--warn{ background: rgba(217,119,6,0.08); background: rgba(217,119,6,0.08); border-color: rgba(217,119,6,0.35); border-color: rgba(217,119,6,0.35); }
.ac-alert--ok{ background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.35); border-color: rgba(22,163,74,0.35); }
.ac-alert--bad{ background: rgba(220,38,38,0.07); border-color: rgba(220,38,38,0.30); border-color: rgba(220,38,38,0.30); }

/* Progression */
.ac-bar{ height: 10px; border-radius: 99px; background: rgba(100,116,139,0.18); overflow: hidden; }
.ac-bar > span{ display:block; height:100%; border-radius: inherit; background: linear-gradient(90deg, var(--ac-blue), var(--ac-lilac)); }

/* Modules */
.ac-module{ display:flex; flex-direction:column; gap:10px; }
.ac-module__icon{ width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.6rem;
  background: rgba(47,111,170,0.12); }
.ac-module__num{ font-size:.8rem; font-weight:800; color: var(--ac-lilac); text-transform: uppercase; letter-spacing: .06em; }
.ac-module .ac-btn{ margin-top: auto; }

/* Leçons */
.ac-lessons{ list-style:none; margin:0; padding:0; }
.ac-lessons li{ border-bottom: 1px solid var(--border); }
.ac-lessons li:last-child{ border-bottom: 0; }
.ac-lessons a, .ac-lessons .ac-locked{ display:flex; gap:14px; align-items:center; padding: 14px 4px; text-decoration:none; color: var(--fg); }
.ac-lessons .ac-dot{ width:34px; height:34px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.9rem;
  border: 2px solid rgba(100,116,139,0.40); color: var(--muted); }
.ac-lessons .is-done .ac-dot{ background: var(--ac-green); border-color: var(--ac-green); color:#fff; }
.ac-lessons .ac-locked{ opacity:.6; }

/* Contenu de leçon */
.ac-lesson{ font-size: 1.06rem; }
.ac-lesson h2{ margin-top: 30px; }
.ac-lesson h3{ margin-top: 22px; }
.ac-lesson ul, .ac-lesson ol{ line-height: 1.7; padding-left: 22px; }
.ac-lesson li{ margin: 4px 0; }
.ac-lesson kbd{ display:inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--border); border-bottom-width: 3px; font-family: inherit; font-size: .9em; background: var(--card); }
.ac-lesson table{ width:100%; border-collapse: collapse; margin: 14px 0; font-size: .97rem; }
.ac-lesson th, .ac-lesson td{ border: 1px solid var(--border); padding: 9px 11px; text-align: left; vertical-align: top; }
.ac-lesson th{ background: var(--ac-soft); }
.ac-box{ border-radius: 14px; padding: 14px 16px 14px 52px; margin: 18px 0; position: relative; line-height: 1.6; }
.ac-box::before{ content:""; position:absolute; left:16px; top:14px; width:24px; height:24px; background: no-repeat center / 24px 24px; }
.ac-box--do{ background: rgba(47,111,170,0.08); border-left: 4px solid var(--ac-blue); }
.ac-box--do::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%232f6faa%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%2011V6a2%202%200%200%200-4%200v5M14%2010V4a2%202%200%200%200-4%200v6M10%2010.5V6a2%202%200%200%200-4%200v8a8%208%200%200%200%2016%200v-3a2%202%200%200%200-4%200%22/%3E%3C/svg%3E"); }
.ac-box--trap{ background: rgba(220,38,38,0.07); border-left: 4px solid var(--ac-red); }
.ac-box--trap::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23dc2626%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10.3%203.9L1.8%2018a2%202%200%200%200%201.7%203h17a2%202%200%200%200%201.7-3L13.7%203.9a2%202%200%200%200-3.4%200z%22/%3E%3Cline%20x1%3D%2212%22%20y1%3D%229%22%20x2%3D%2212%22%20y2%3D%2213%22/%3E%3Cline%20x1%3D%2212%22%20y1%3D%2217%22%20x2%3D%2212.01%22%20y2%3D%2217%22/%3E%3C/svg%3E"); }
.ac-box--tip{ background: rgba(22,163,74,0.08); border-left: 4px solid var(--ac-green); }
.ac-box--tip::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316a34a%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018h6M10%2022h4%22/%3E%3Cpath%20d%3D%22M12%202a7%207%200%200%200-4%2012.7V17h8v-2.3A7%207%200%200%200%2012%202z%22/%3E%3C/svg%3E"); }
.ac-box--remember{ background: rgba(156,131,214,0.12); border-left: 4px solid var(--ac-lilac); }
.ac-box--remember::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239c83d6%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2021l-7-5-7%205V5a2%202%200%200%201%202-2h10a2%202%200%200%201%202%202z%22/%3E%3C/svg%3E"); }
.ac-box p:first-child{ margin-top:0 } .ac-box p:last-child{ margin-bottom:0 }

/* Quiz */
.ac-quiz{ counter-reset: q; }
.ac-q{ padding: 18px 0; border-bottom: 1px dashed var(--border); }
.ac-q:last-of-type{ border-bottom: 0; }
.ac-q__title{ font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.ac-opt{ display:flex; gap:12px; align-items:flex-start; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; margin: 8px 0; cursor: pointer; line-height: 1.45; background: var(--card); }
.ac-opt input{ margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ac-blue); }
.ac-opt:hover{ border-color: rgba(47,111,170,0.50); }
.ac-opt.is-right{ border-color: var(--ac-green); background: rgba(22,163,74,0.09); }
.ac-opt.is-wrong{ border-color: var(--ac-red); background: rgba(220,38,38,0.08); }
.ac-why{ font-size: .95rem; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--ac-soft); }
.ac-score{ font-size: 2.6rem; font-weight: 900; line-height: 1; }

/* Créneaux */
.ac-days{ display:grid; gap:14px; }
.ac-day h3{ text-transform: capitalize; font-size: 1rem; margin-bottom: 10px; }
.ac-slots{ display:flex; flex-wrap:wrap; gap:10px; }
.ac-slot{ position:relative; }
.ac-slot input{ position:absolute; opacity:0; inset:0; cursor:pointer; }
.ac-slot span{ display:inline-block; min-width: 82px; text-align:center; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--border); font-weight: 700; background: var(--card); }
.ac-slot input:checked + span{ background: var(--ac-blue); color:#fff; border-color: var(--ac-blue); box-shadow: 0 6px 16px rgba(47,111,170,0.35); }
.ac-slot input:focus-visible + span{ outline: 3px solid var(--ring, rgba(47,111,170,.3)); }
.ac-slot.is-taken span{ text-decoration: line-through; opacity: .45; }

/* Formulaires */
.ac-form label{ display:block; font-weight: 600; margin: 14px 0 6px; }
.ac-form input[type=text], .ac-form input[type=file], .ac-form textarea, .ac-form input[type=number]{
  width:100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--card); color: var(--fg); font: inherit; }
.ac-form textarea{ min-height: 110px; resize: vertical; }
.ac-form .hint{ font-size: .86rem; color: var(--muted); margin-top: 5px; }
.ac-code-input{ font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-weight: 800; max-width: 260px; }

/* Étapes */
.ac-steps{ counter-reset: s; list-style: none; padding: 0; margin: 0; }
.ac-steps li{ position:relative; padding: 0 0 18px 46px; line-height: 1.55; }
.ac-steps li::before{ counter-increment: s; content: counter(s); position:absolute; left:0; top:-2px; width:32px; height:32px; border-radius:50%;
  background: var(--ac-blue); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; }

/* Tableaux */
.ac-table{ width:100%; border-collapse: collapse; font-size: .95rem; }
.ac-table th, .ac-table td{ padding: 11px 10px; border-bottom: 1px solid var(--border); text-align:left; vertical-align: middle; }
.ac-table th{ font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ac-scroll{ overflow-x:auto; }

/* Pied de leçon */
.ac-pager{ display:flex; gap:12px; justify-content:space-between; flex-wrap:wrap; margin-top: 26px; }

@media (max-width: 600px){
  .ac{ padding-top: 16px; }
  .ac-hero{ padding: 24px 18px; border-radius: 18px; }
  .ac-card{ padding: 18px; }
  .ac-btn{ width: 100%; }
  .ac-row .ac-btn{ width: auto; flex: 1 1 auto; }
}
@media print{ .ac-btn, .ac-crumbs, .wa-float{ display:none !important; } }

/* ===== Icônes SVG ===== */
.ic{ display:inline-block; vertical-align:-0.18em; flex:none; }
.ac-kicker .ic, .ac-btn .ic{ vertical-align:-0.2em; }
.ac-module__icon .ic{ width:26px; height:26px; color: var(--ac-blue); }

/* ===== Images des leçons (zoom) ===== */
.ac-lesson figure, .ac-fig{ margin: 20px 0; text-align:center; }
.ac-lesson img{ max-width:100%; height:auto; border-radius: 12px; border: 1px solid var(--border); background:#fff; }
.ac-lesson figcaption, .ac-fig figcaption{ font-size:.9rem; color: var(--muted); margin-top: 8px; }
.ac-lesson figure.small img{ max-width: 340px; }
.ac-zoomable{ cursor: zoom-in; }
.ac-zoom{ position:fixed; left:0; top:0; right:0; bottom:0; z-index: 9999; background: rgba(8,12,24,.92); display:none; flex-direction:column; }
.ac-zoom.is-open{ display:flex; }
.ac-zoom__bar{ display:flex; align-items:center; gap:10px; padding: 10px 14px; color:#e2e8f0; font-size:.92rem; }
.ac-zoom__hint{ flex:1; opacity:.8; }
.ac-zoom__close{ width:44px; height:44px; border-radius:50%; border:0; background: rgba(255,255,255,.14); color:#fff; font-size:1.8rem; line-height:1; cursor:pointer; }
.ac-zoom__stage{ flex:1; overflow:auto; display:flex; align-items:center; justify-content:center; padding: 10px; -webkit-overflow-scrolling: touch; }
.ac-zoom__stage img{ max-width:100%; max-height:100%; border-radius: 10px; background:#fff; cursor: zoom-in; }
.ac-zoom.is-zoomed .ac-zoom__stage{ display:block; }
.ac-zoom.is-zoomed .ac-zoom__stage img{ max-width:none; max-height:none; width: 250%; cursor: zoom-out; }

/* ===== Leçon par étapes ===== */
.ac-stepnav{ position: sticky; top: 70px; z-index: 5; background: var(--bg); padding: 10px 0 12px; margin-bottom: 8px; }
.ac-stepnav__top{ display:flex; align-items:center; gap:10px; font-size:.92rem; color: var(--muted); }
.ac-stepnav__count{ flex:1; font-weight:600; }
.ac-stepnav__all{ border:0; background:none; color: var(--ac-blue); font: inherit; font-weight:600; cursor:pointer; padding: 6px 0; }
.ac-stepnav__dots{ display:flex; gap:6px; margin-top: 8px; }
.ac-stepnav__dot{ flex:1; height: 8px; border-radius: 99px; border:0; padding:0; cursor:pointer; background: rgba(100,116,139,.22); }
.ac-stepnav__dot.is-done{ background: rgba(47,111,170,.55); }
.ac-stepnav__dot.is-on{ background: var(--ac-blue); }
.ac-step > h2:first-child{ margin-top: 6px; }
.ac-steppager{ display:flex; gap:12px; align-items:center; margin-top: 26px; flex-wrap: wrap; }

/* ===== Carte « Exercice » / règles ===== */
.ac-exo{ margin-top: 30px; }
.ac-exo__head{ display:flex; gap:14px; align-items:center; }
.ac-exo__icon{ width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; background: rgba(156,131,214,.16); color: var(--ac-lilac); flex:none; }
.ac-rules{ list-style:none; padding:0; margin: 16px 0; display:grid; gap:10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ac-rules li{ display:flex; gap:10px; align-items:flex-start; padding: 12px 14px; border-radius: 12px; background: var(--ac-soft); line-height:1.35; }
.ac-rules li .ic{ color: var(--ac-blue); margin-top: 1px; }
.ac-rules strong{ display:block; }
.ac-rules span{ font-size:.88rem; color: var(--muted); }

/* ===== Chrono ===== */
.ac-timer{ position: sticky; top: 74px; z-index: 6; display:flex; align-items:center; gap:10px; padding: 10px 16px; border-radius: 14px;
  background: var(--card); border: 1.5px solid var(--border); box-shadow: 0 8px 24px rgba(15,23,42,.08); margin-bottom: 16px; font-weight:700; }
.ac-timer__time{ font-size: 1.35rem; font-variant-numeric: tabular-nums; margin-left:auto; }
.ac-timer.is-low{ border-color: var(--ac-red); color: var(--ac-red); }

/* ===== Questions ===== */
.ac-q__num{ color: var(--ac-lilac); }
.ac-q.is-ok .ac-q__num{ color: var(--ac-green); } .ac-q.is-ko .ac-q__num{ color: var(--ac-red); }
.ac-q__img{ margin: 4px 0 12px; }
.ac-q__img img{ max-width: 100%; max-height: 320px; border-radius: 12px; border: 1px solid var(--border); background:#fff; cursor: zoom-in; }
.ac-q__text{ width:100%; max-width: 420px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--card); color: var(--fg); font: inherit; font-size: 1.05rem; }
.ac-q__text:focus{ outline: none; border-color: var(--ac-blue); }
.ac-q__text.is-right{ border-color: var(--ac-green); background: rgba(22,163,74,.08); }
.ac-q__text.is-wrong{ border-color: var(--ac-red); background: rgba(220,38,38,.07); }
.ac-q__answer{ margin-top: 8px; font-size: .95rem; }
.ac-why .ic{ color: var(--ac-amber); }
.ac-attempts{ display:flex; gap:6px; align-items:center; }
.ac-attempts i{ width: 12px; height: 12px; border-radius: 50%; background: var(--ac-blue); display:inline-block; }
.ac-attempts i.used{ background: rgba(100,116,139,.3); }

/* ===== Contenu protégé (leçons, exercices, examens) ===== */
.ac[data-protect] .ac-lesson, .ac[data-protect] .ac-quiz, .ac[data-protect] .ac-step, .ac-zoom{
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none; -webkit-touch-callout:none; }
.ac[data-protect] img, .ac-zoom img{ -webkit-user-drag:none; -webkit-touch-callout:none; }
.ac[data-protect] input, .ac[data-protect] textarea{ -webkit-user-select:text; -moz-user-select:text; -ms-user-select:text; user-select:text; }
.ac[data-protect] .ac-lesson, .ac[data-protect] .ac-quiz{ position:relative; }
.ac[data-protect] .ac-lesson::after, .ac[data-protect] .ac-quiz::after, .ac-zoom__stage::after{
  content:''; position:absolute; left:0; top:0; right:0; bottom:0; z-index:3; pointer-events:none; background-image:var(--ac-wm, none); background-repeat:repeat; }
.ac-zoom .ac-zoom__stage::after{ position:fixed; }
.ac-hidden .ac[data-protect] .ac-lesson, .ac-hidden .ac[data-protect] .ac-quiz, .ac-hidden .ac-zoom__stage img{ -webkit-filter:blur(14px); filter:blur(14px); }
.ac-protect-msg{ display:none; }
@media print{
  .ac[data-protect] > *{ display:none !important; }
  .ac[data-protect] .ac-protect-msg{ display:block !important; padding:60px 20px; text-align:center; font-size:20px; }
  .ac-zoom{ display:none !important; }
}

/* ===== Objectif de la leçon + « Je sais faire » ===== */
.ac-box--goal{ background: rgba(217,119,6,0.08); border-left: 4px solid var(--ac-amber); }
.ac-box--goal::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23d97706%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%226%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22/%3E%3C/svg%3E"); }
.ac-box ol, .ac-box ul{ margin: 6px 0 8px; }
.ac-checklist{ border: 2px dashed var(--border); border-radius: 14px; padding: 14px 16px; margin: 22px 0; }
.ac-checklist h3{ margin: 0 0 8px !important; font-size: 1.05rem; }
.ac-checklist ul{ list-style: none; padding: 0 !important; margin: 0; }
.ac-checklist li{ position: relative; padding: 8px 8px 8px 40px !important; margin: 2px 0 !important; border-radius: 10px; cursor: pointer; }
.ac-checklist li::before{ content:""; position:absolute; left: 8px; top: 8px; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--ac-blue); background: var(--card, #fff); }
.ac-checklist li.on{ background: rgba(22,163,74,0.08); }
.ac-checklist li.on::before{ background: var(--ac-green) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%223.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%2220%206%209%2017%204%2012%22/%3E%3C/svg%3E") no-repeat center / 16px; border-color: var(--ac-green); }
.ac-checklist .ac-checklist__done{ display:none; margin: 10px 0 0; font-weight: 700; color: var(--ac-green); }
.ac-checklist.all .ac-checklist__done{ display:block; }

/* ===== Vidéo de la leçon ===== */
.ac-video{ margin: 6px 0 22px; position: relative; }
.ac-video video{ display:block; width:100%; max-height: 70vh; border-radius: 14px; background:#0b1220; }
.ac-video figcaption{ font-size:.9rem; color: var(--muted); margin-top: 8px; display:flex; gap:6px; align-items:center; }
.ac-video video::cue{ font-size: 1.05em; background: rgba(0,0,0,.72); color:#fff; }
.ac-hidden .ac[data-protect] .ac-video video{ -webkit-filter:blur(14px); filter:blur(14px); }

/* ===== Symboles dessinés (s'affichent sur tous les ordinateurs, même anciens) ===== */
.ac-sym{ display:inline-block; width:1.05em; height:1.05em; vertical-align:-0.17em; margin:0 .08em; }
.ac-sym--power{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v8%22%2F%3E%3Cpath%20d%3D%22M6.3%206.3a8%208%200%201%200%2011.4%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v8%22%2F%3E%3Cpath%20d%3D%22M6.3%206.3a8%208%200%201%200%2011.4%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--win{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%223%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%2213%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%223%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%2213%22%20y%3D%2213%22%20width%3D%228%22%20height%3D%228%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--close{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%206l12%2012M18%206L6%2018%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%206l12%2012M18%206L6%2018%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--max{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%2214%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%2214%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--shift{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203L3%2012h5v8h8v-8h5z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203L3%2012h5v8h8v-8h5z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--back{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%205H9l-7%207%207%207h12z%22%2F%3E%3Cpath%20d%3D%22M17%209l-6%206M11%209l6%206%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%205H9l-7%207%207%207h12z%22%2F%3E%3Cpath%20d%3D%22M17%209l-6%206M11%209l6%206%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--dots{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%225%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2219%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%225%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2219%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--clip{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21.4%2011.1l-9.2%209.2a6%206%200%200%201-8.5-8.5l9.2-9.2a4%204%200%200%201%205.7%205.7l-9.2%209.2a2%202%200%200%201-2.8-2.8l8.5-8.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21.4%2011.1l-9.2%209.2a6%206%200%200%201-8.5-8.5l9.2-9.2a4%204%200%200%201%205.7%205.7l-9.2%209.2a2%202%200%200%201-2.8-2.8l8.5-8.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--lock{ background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2211%22%20width%3D%2216%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2011V7a4%204%200%200%201%208%200v4%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2211%22%20width%3D%2216%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2011V7a4%204%200%200%201%208%200v4%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--ok{ background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316a34a%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206L9%2017l-5-5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--no{ background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23dc2626%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%206l12%2012M18%206L6%2018%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
.ac-sym--folder{ background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23fbbf24%22%20stroke%3D%22%23b45309%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2019a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h5l2%203h9a2%202%200%200%201%202%202z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain; }
kbd .ac-sym--win{ width:.9em; height:.9em; margin-right:.25em; vertical-align:-0.1em; }

/* ===== Entraînements souris / clavier ===== */
.ac-train{ border: 2px solid var(--ac-blue); border-radius: 16px; padding: 14px 16px; margin: 22px 0; background: var(--card, #fff); position: relative; z-index: 4;
  -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; }
.ac-train__head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ac-train__head strong{ font-size: 1.05rem; }
.ac-train__dots{ display:flex; gap:5px; flex:1; }
.ac-train__dots i{ width: 22px; height: 6px; border-radius: 3px; background: var(--border, #e5e7eb); }
.ac-train__dots i.on{ background: var(--ac-blue); } .ac-train__dots i.done{ background: var(--ac-green); }
.ac-train__restart{ border: 1px solid var(--border, #e5e7eb); background: transparent; color: inherit; border-radius: 8px; padding: 4px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.ac-train__say{ margin: 10px 0 8px; line-height: 1.55; }
.ac-train__n{ display:inline-block; background: var(--ac-blue); color:#fff; border-radius: 99px; padding: 0 8px; font-size: .8rem; font-weight: 700; margin-right: 4px; }
.ac-train__stage{ position: relative; min-height: 230px; border: 2px dashed var(--border, #e5e7eb); border-radius: 12px; background: rgba(47,111,170,.04); overflow: hidden; padding: 12px; }
.ac-train__stage.is-done{ display:flex; align-items:center; justify-content:center; min-height: 120px; }
.ac-train__bravo{ font-size: 2rem; font-weight: 800; color: var(--ac-green); }
.ac-train__msg{ min-height: 1.4em; margin: 8px 0 0; font-weight: 600; }
.ac-train__msg.is-good{ color: var(--ac-green); } .ac-train__msg.is-hint{ color: var(--ac-amber); }
.ac-t-dot{ position:absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--ac-blue); color:#fff; font-weight: 800; font-size: 1.1rem; cursor: pointer; box-shadow: 0 4px 12px rgba(47,111,170,.35); }
.ac-t-folder, .ac-t-file{ position:absolute; width: 110px; text-align:center; padding: 8px 6px; border-radius: 10px; cursor: default; -webkit-user-select:none; user-select:none; }
.ac-t-folder .ac-sym{ width: 54px; height: 54px; display:block; margin: 0 auto 4px; }
.ac-t-folder:hover, .ac-t-file:hover{ background: rgba(47,111,170,.1); }
.ac-t-folder.is-open{ background: rgba(22,163,74,.15); }
.ac-t-file__img{ display:block; width: 54px; height: 44px; margin: 0 auto 6px; border-radius: 6px; background: linear-gradient(180deg,#93c5fd 0 55%,#86efac 55%); border: 2px solid #64748b; }
.ac-t-menu{ position:absolute; z-index: 5; min-width: 140px; background: var(--card, #fff); border: 1px solid #94a3b8; border-radius: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.18); padding: 4px; }
.ac-t-menu button{ display:block; width:100%; text-align:left; border:0; background:transparent; color: inherit; padding: 7px 10px; border-radius: 6px; font: inherit; cursor: pointer; }
.ac-t-menu button:hover{ background: rgba(47,111,170,.12); }
.ac-t-drop{ position:absolute; right: 16px; top: 30px; width: 170px; height: 160px; border: 3px dashed #d97706; border-radius: 14px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; background: rgba(251,191,36,.08); }
.ac-t-drop .ac-sym{ width: 58px; height: 58px; }
.ac-t-drop em{ font-style: normal; font-weight: 700; }
.ac-t-drop.is-over{ background: rgba(22,163,74,.18); border-color: var(--ac-green); }
.ac-t-chip{ position:absolute; z-index: 2; padding: 10px 14px; border-radius: 10px; background: var(--card, #fff); border: 2px solid var(--ac-blue); font-weight: 600; cursor: grab; touch-action: none; -webkit-user-select:none; user-select:none; }
.ac-t-chip.is-moving{ cursor: grabbing; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.ac-t-scroll{ height: 200px; overflow-y: auto; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; padding: 6px 14px; background: var(--card, #fff); }
.ac-t-scroll p{ margin: 6px 0; color: var(--muted); }
.ac-t-scroll .ac-btn{ margin: 12px 0 6px; }
.ac-t-input{ width: 100%; font: inherit; font-size: 1.1rem; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--border, #cbd5e1); background: var(--card, #fff); color: inherit; }
.ac-t-input:focus{ outline: none; border-color: var(--ac-blue); }
.ac-t-model{ display:inline-block; font-weight: 700; background: rgba(47,111,170,.1); padding: 1px 8px; border-radius: 6px; }
.ac-t-source{ font-size: 1.15rem; font-weight: 700; padding: 10px 14px; border: 2px solid var(--ac-lilac); border-radius: 10px; margin: 0 0 12px; background: rgba(156,131,214,.08); }
.ac-t-caps{ display:none; margin: 8px 0 0; color: var(--ac-red); font-weight: 700; }
.ac-train.was-done .ac-train__head strong::after{ content: " (déjà réussi)"; font-weight: 400; color: var(--ac-green); font-size: .9rem; }
.ac-lesson a{ color: var(--ac-blue); font-weight: 600; }
@media print{ .ac-train{ display:none; } }
.ac-train--clavier .ac-train__stage{ min-height: 0; }

/* Bureau simulé (entraînement aux fenêtres) */
.ac-train__stage.is-desk{ padding: 0; min-height: 0; border-style: solid; }
.ac-t-desk{ position: relative; height: 320px; background: linear-gradient(160deg, #3b82c4, #2f6faa); color: #fff; overflow: hidden; -webkit-user-select:none; user-select:none; }
.ac-t-icons{ position:absolute; left: 10px; top: 10px; display:flex; flex-direction:column; gap: 10px; }
.ac-t-dicon{ width: 76px; padding: 6px 4px; text-align:center; font-size: .85rem; border-radius: 8px; cursor: default; }
.ac-t-dicon:hover{ background: rgba(255,255,255,.18); }
.ac-t-note{ display:inline-block; width: 26px; height: 32px; background: #fff; border: 2px solid #cbd5e1; border-radius: 3px; box-shadow: inset 0 6px 0 #93c5fd; vertical-align: middle; }
.ac-t-dicon .ac-t-note, .ac-t-bin{ display:block; margin: 0 auto 4px; }
.ac-t-bin{ width: 26px; height: 32px; border: 2px solid #e2e8f0; border-top-width: 6px; border-radius: 2px 2px 5px 5px; }
.ac-t-win{ position:absolute; left: 110px; top: 24px; width: 330px; max-width: calc(100% - 120px); background: #fff; color: #1f2937; border: 1px solid #94a3b8; border-radius: 6px; box-shadow: 0 10px 28px rgba(0,0,0,.35); z-index: 2; }
.ac-t-win[hidden]{ display:none; }
.ac-t-win.is-max{ left: 0 !important; top: 0 !important; width: 100%; max-width: none; height: calc(100% - 40px); border-radius: 0; }
.ac-t-title{ display:flex; align-items:center; background: #e2e8f0; border-radius: 6px 6px 0 0; padding-left: 10px; font-size: .85rem; cursor: move; touch-action: none; }
.ac-t-win.is-max .ac-t-title{ border-radius: 0; cursor: default; }
.ac-t-title span:first-child{ flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-t-title button{ width: 40px; height: 30px; border: 0; background: transparent; color: #1f2937; font: inherit; font-weight: 700; cursor: pointer; display:inline-flex; align-items:center; justify-content:center; }
.ac-t-title button:hover{ background: #cbd5e1; }
.ac-t-title button[data-close]:hover{ background: #ef4444; color: #fff; }
.ac-t-body{ padding: 12px 14px; font-family: Consolas, "Courier New", monospace; font-size: .9rem; line-height: 1.6; min-height: 100px; }
.ac-t-taskbar{ position:absolute; left:0; right:0; bottom:0; height: 40px; background: #0f172a; display:flex; align-items:center; gap: 10px; padding: 0 12px; z-index: 3; }
.ac-t-taskbar > .ac-sym{ color: #38bdf8; width: 20px; height: 20px; }
.ac-t-tb{ height: 32px; border: 0; border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .85rem; padding: 0 10px; cursor: pointer; border-bottom: 3px solid transparent; }
.ac-t-tb[hidden]{ display:none; }
.ac-t-tb.is-open{ border-bottom-color: #38bdf8; }
.ac-t-tb:hover{ background: rgba(255,255,255,.18); }
.ac-t-tb .ac-t-note{ width: 14px; height: 18px; border-width: 1px; box-shadow: inset 0 3px 0 #93c5fd; margin-right: 4px; }
.ac-t-zone{ position:absolute; right: 16px; bottom: 54px; width: 190px; height: 90px; border: 3px dashed #4ade80; border-radius: 10px; background: rgba(74,222,128,.18); display:flex; align-items:center; justify-content:center; font-weight: 700; }
.ac-t-dialog{ position:absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 300px; max-width: 92%; background: #fff; color: #1f2937; border: 1px solid #94a3b8; border-radius: 8px; box-shadow: 0 14px 36px rgba(0,0,0,.4); padding: 12px 14px; z-index: 4; font-size: .9rem; }
.ac-t-dialog p{ margin: 0 0 8px; }
.ac-t-dialog div{ display:flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ac-t-dialog button{ border: 1px solid #94a3b8; background: #f1f5f9; border-radius: 6px; padding: 6px 10px; font: inherit; cursor: pointer; color: #1f2937; }
.ac-t-dialog button:hover{ background: #dbeafe; border-color: #2f6faa; }

.ac-t-menu--bar{ left: 60px; bottom: 46px; }
.ac-t-tb.is-pin{ outline: 1px dashed rgba(255,255,255,.35); outline-offset: 2px; }
.ac-t-desk .ac-t-menu{ color:#1f2937; background:#fff; }

/* Explorateur simulé (entraînement aux fichiers) */
.ac-t-exp{ position: relative; background: #fff; color: #1f2937; font-size: .92rem; -webkit-user-select:none; user-select:none; }
.ac-t-exp__top{ background: #e2e8f0; padding: 8px 10px; }
.ac-t-exp__path{ display:block; background:#fff; border: 1px solid #cbd5e1; border-radius: 5px; padding: 5px 10px; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-t-exp__body{ display:flex; min-height: 250px; }
.ac-t-exp__nav{ width: 150px; flex: none; background: #f8fafc; border-right: 1px solid #e2e8f0; padding: 6px; display:flex; flex-direction:column; gap: 2px; }
.ac-t-exp__loc{ display:flex; align-items:center; gap: 7px; border: 0; background: transparent; color: inherit; font: inherit; text-align:left; padding: 7px 8px; border-radius: 6px; cursor: pointer; }
.ac-t-exp__loc:hover{ background: #e2e8f0; } .ac-t-exp__loc.on{ background: #dbeafe; font-weight: 700; }
.ac-t-exp__loc.drop, .ac-t-item.drop{ background: #bbf7d0 !important; outline: 2px solid #16a34a; }
.ac-t-exp__list{ flex: 1; padding: 6px; outline: none; min-width: 0; }
.ac-t-exp__list:focus{ box-shadow: inset 0 0 0 2px rgba(47,111,170,.25); }
.ac-t-exp__empty{ color: #94a3b8; margin: 14px 8px; }
.ac-t-item{ display:flex; align-items:center; gap: 9px; padding: 6px 8px; border-radius: 5px; cursor: default; }
.ac-t-item:hover{ background: #f1f5f9; } .ac-t-item.sel{ background: #dbeafe; }
.ac-t-item__n{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-t-ren{ font: inherit; border: 1px solid #2f6faa; border-radius: 3px; padding: 2px 4px; width: 100%; max-width: 260px; -webkit-user-select:text; user-select:text; }
.ac-t-ico{ display:inline-block; width: 18px; height: 20px; flex: none; border-radius: 2px; background: #94a3b8; position: relative; }
.ac-t-ico--folder{ width: 22px; height: 16px; background: #fbbf24; border-radius: 2px 3px 3px 3px; box-shadow: inset 0 3px 0 #f59e0b; }
.ac-t-ico--docx{ background: #2f6faa; } .ac-t-ico--pdf{ background: #dc2626; } .ac-t-ico--jpg, .ac-t-ico--png{ background: #16a34a; } .ac-t-ico--txt{ background: #cbd5e1; border: 1px solid #94a3b8; } .ac-t-ico--exe{ background: #7c3aed; } .ac-t-ico--zip{ background: #a16207; }
.ac-t-ico--usb{ width: 22px; height: 12px; background: #16a34a; border-radius: 2px; }
.ac-t-ico--bin{ width: 15px; height: 18px; background: transparent; border: 2px solid #64748b; border-top-width: 4px; border-radius: 1px 1px 4px 4px; }
.ac-t-exp__menu{ position: absolute; z-index: 6; color: #1f2937; background: #fff; }
.ac-t-ghost{ position:absolute; z-index: 7; pointer-events: none; background: #fff; border: 2px solid #2f6faa; border-radius: 6px; padding: 4px 8px; font-size: .85rem; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
@media (max-width: 560px){ .ac-t-exp__nav{ width: 112px; font-size: .8rem; } }

/* Lire une adresse */
.ac-train--adresses .ac-train__stage{ min-height: 0; }
.ac-t-url{ display:flex; flex-wrap: wrap; align-items:center; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 22px; padding: 6px 10px; font-family: Consolas, "Courier New", monospace; font-size: 1.05rem; }
.ac-t-url__p{ border: 0; background: transparent; font: inherit; color: #1f2937; padding: 4px 2px; border-radius: 6px; cursor: pointer; }
.ac-t-url__p:hover{ background: #fde68a; } .ac-t-url__p.is-ok{ background: #bbf7d0; font-weight: 700; } .ac-t-url__p:disabled{ cursor: default; }
.ac-t-url__q{ margin-top: 12px; } .ac-t-url__q p{ margin: 0 0 8px; }
.ac-t-url__q .ac-btn{ margin: 0 6px 6px 0; }

/* Entraînement : écrire un email */
.ac-t-mail{ position: relative; border: 1px solid #94a3b8; border-radius: 10px; background: #fff; color: #1f2937; overflow: hidden; text-align: left; }
.ac-t-mail__head{ background: #f2f6fc; padding: 8px 14px; font-weight: 700; font-size: .95rem; }
.ac-t-mail__row{ display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #e2e8f0; padding: 0 14px; margin: 0; }
.ac-t-mail__row span{ color: #64748b; min-width: 1.2em; }
.ac-t-mail input, .ac-t-mail textarea{ flex: 1; width: 100%; box-sizing: border-box; border: 0; background: transparent; color: #1f2937; font: inherit; font-size: 1rem; padding: 10px 0; outline: none; }
.ac-t-mail textarea{ display: block; padding: 10px 14px; resize: vertical; min-height: 9em; }
.ac-t-mail .is-on{ background: #fffbeb; box-shadow: inset 0 0 0 2px #f59e0b; border-radius: 4px; }
.ac-t-mail__row:has(.is-on){ background: #fffbeb; }
.ac-t-mail input[readonly], .ac-t-mail textarea[readonly]{ cursor: default; }
.ac-t-mail__att{ padding: 0 14px; }
.ac-t-mail__chip{ display: inline-block; margin: 6px 0; padding: 5px 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: #f1f5f9; font-size: .9rem; }
.ac-t-mail__chip b{ background: #dc2626; color: #fff; font-size: .7rem; padding: 1px 4px; border-radius: 2px; margin-right: 6px; }
.ac-t-mail__pick{ margin: 6px 14px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; }
.ac-t-mail__pick p{ margin: 0 0 6px; font-weight: 700; font-size: .9rem; }
.ac-t-mail__file{ display: block; width: 100%; text-align: left; border: 0; background: #fff; color: #1f2937; font: inherit; padding: 8px 10px; margin: 0 0 4px; border-radius: 6px; cursor: pointer; }
.ac-t-mail__file:hover{ background: #e0ecf8; }
.ac-t-mail__foot{ display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.ac-t-mail__send{ border: 0; background: #0b57d0; color: #fff; font: inherit; font-weight: 700; padding: 8px 22px; border-radius: 20px; cursor: pointer; }
.ac-t-mail__clip{ border: 0; background: transparent; color: #475569; padding: 4px; border-radius: 50%; cursor: pointer; line-height: 0; }
.ac-t-mail__clip:hover{ background: #e2e8f0; }
.ac-t-mail.is-sent::after{ content: "Message envoyé"; position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background: rgba(240,253,244,.92); color: #15803d; font-weight: 700; font-size: 1.3rem; }
.ac-t-mail__ok{ margin-top: 10px; }

/* Entraînement : Word */
.ac-t-word{ border: 1px solid #94a3b8; border-radius: 8px; overflow: hidden; background: #e2e8f0; color: #1f2937; text-align: left; }
.ac-t-word__title{ background: #2b579a; color: #fff; font-size: .85rem; padding: 6px 12px; text-align: center; }
.ac-t-word__bar{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px; background: #fff; padding: 6px 8px; border-bottom: 1px solid #cbd5e1; }
.ac-t-word__bar button{ min-width: 32px; height: 32px; border: 1px solid transparent; background: transparent; color: #1f2937; border-radius: 4px; font: inherit; font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ac-t-word__bar button:hover{ background: #e0ecf8; border-color: #bfd4ee; }
.ac-t-word__bar select{ height: 32px; font: inherit; font-size: .95rem; border: 1px solid #cbd5e1; border-radius: 4px; background: #fff; color: #1f2937; padding: 0 4px; }
.ac-t-word__sep{ width: 1px; height: 22px; background: #cbd5e1; margin: 0 4px; }
.ac-t-word__page{ background: #fff; margin: 14px auto; max-width: 520px; min-height: 220px; padding: 22px 28px; font-family: Calibri, Carlito, Arial, sans-serif; font-size: 11pt; line-height: 1.4; outline: none; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.ac-t-word__page p{ margin: 0 0 4px; }
.ac-t-word__page ul{ margin: 4px 0; padding-left: 22px; }

/* Entraînement : Excel */
.ac-t-xl{ border: 1px solid #94a3b8; border-radius: 6px; background: #fff; color: #1f2937; overflow-x: auto; text-align: left; user-select: none; }
.ac-t-xl__fx{ display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid #cbd5e1; }
.ac-t-xl__name{ min-width: 46px; text-align: center; font-weight: 700; border: 1px solid #cbd5e1; border-radius: 3px; padding: 3px 6px; font-size: .9rem; }
.ac-t-xl__fx i{ color: #64748b; }
.ac-t-xl__bar{ flex: 1; min-height: 1.6em; border: 1px solid #cbd5e1; border-radius: 3px; padding: 3px 8px; font-family: Consolas, "Courier New", monospace; font-size: .95rem; }
.ac-t-xl__grid{ display: grid; grid-template-columns: 36px minmax(110px, 1.4fr) repeat(3, minmax(80px, 1fr)); min-width: 420px; }
.ac-t-xl__h{ background: #e2e8f0; color: #475569; font-weight: 700; font-size: .85rem; text-align: center; padding: 4px 0; border-right: 1px solid #cbd5e1; border-bottom: 1px solid #cbd5e1; }
.ac-t-xl__c{ position: relative; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.ac-t-xl__c input{ width: 100%; box-sizing: border-box; border: 0; background: transparent; color: #1f2937; font: inherit; font-size: .95rem; padding: 7px 8px; outline: none; cursor: cell; }
.ac-t-xl__c input.is-num{ text-align: right; }
.ac-t-xl__c input.is-head{ font-weight: 700; }
.ac-t-xl__c input:focus{ box-shadow: inset 0 0 0 2px #16a34a; text-align: left; cursor: text; }
.ac-t-xl__handle{ position: absolute; right: -1px; bottom: -5px; width: 10px; height: 10px; background: #16a34a; border: 2px solid #fff; z-index: 2; cursor: crosshair; }
.ac-t-xl.is-drag, .ac-t-xl.is-drag input{ cursor: crosshair; }

/* Module 6 : situations, choix, mot de passe */
.ac-t-situ{ margin-bottom: 12px; }
.ac-t-situ p{ margin: 0 0 8px; }
.ac-t-msg{ max-width: 460px; margin: 0 0 10px; border-radius: 12px; padding: 10px 14px; color: #1f2937; text-align: left; }
.ac-t-msg--sms{ background: #e2e8f0; }
.ac-t-msg--wa{ background: #dcf8c6; }
.ac-t-msg--call{ background: #fff7ed; border: 1px solid #fdba74; }
.ac-t-msg__head{ font-size: .8rem; color: #475569; margin-bottom: 4px; }
.ac-t-msg__body{ font-size: 1rem; line-height: 1.45; }
.ac-t-choices{ display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.ac-t-choices .ac-btn{ text-align: left; white-space: normal; justify-content: flex-start; }
.ac-t-choices .ac-btn.is-ok{ background: #dcfce7; border-color: #16a34a; color: #14532d; }
.ac-t-choices .ac-btn.is-no{ background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }
.ac-t-meter{ height: 10px; border-radius: 5px; background: #e2e8f0; margin: 10px 0; overflow: hidden; }
.ac-t-meter span{ display: block; height: 100%; width: 0; background: #dc2626; transition: width .2s; }
.ac-t-meter--2 span{ background: #ea580c; } .ac-t-meter--3 span{ background: #ca8a04; } .ac-t-meter--4 span{ background: #16a34a; }
.ac-t-crit{ list-style: none; padding: 0; margin: 0; }
.ac-t-crit li{ position: relative; padding: 3px 0 3px 28px; color: #64748b; }
.ac-t-crit li::before{ content: ""; position: absolute; left: 4px; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #94a3b8; box-sizing: border-box; }
.ac-t-crit li.is-ok{ color: #15803d; font-weight: 600; }
.ac-t-crit li.is-ok::before{ background: #16a34a; border-color: #16a34a; }
.ac-t-crit li.is-ok::after{ content: ""; position: absolute; left: 9px; top: 9px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ac-t-panel{ max-width: 520px; margin: 0 0 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #1f2937; overflow: hidden; text-align: left; }
.ac-t-panel__head{ background: #f1f5f9; font-weight: 700; padding: 8px 14px; font-size: .95rem; }
.ac-t-panel__row{ padding: 8px 14px; border-top: 1px solid #e2e8f0; font-size: .97rem; }
.ac-t-panel__btn{ display: inline-block; background: #1a73e8; color: #fff; border-radius: 6px; padding: 5px 12px; font-weight: 700; font-size: .9rem; }
