/* JC Delynks Academy — catalogue et espace de formation */
.academy {
    --ac-ink: #034656;
    --ac-teal: #076679;
    --ac-orange: #f39200;
    --ac-muted: #596f77;
    --ac-line: #dce7e9;
    --ac-bg: #f3f7f8;
    background: var(--ac-bg);
    color: #304b55;
    padding-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
    overflow: clip;
}
.academy *, .academy *::before, .academy *::after { box-sizing: border-box; }
.ac-wrap { max-width: 1300px; margin: auto; padding: 0 36px; }
.academy h1, .academy h2, .academy h3, .academy legend { color: var(--ac-ink); font-weight: 750 !important; letter-spacing: -.025em; line-height: 1.25; }
.academy h1 { font-size: clamp(30px, 3vw, 43px); }
.academy h2 { font-size: 23px; }
.academy h3 { font-size: 18px; }
.academy p { line-height: 1.8; }
.academy a { color: var(--ac-ink); text-decoration: none; }
.academy :is(a,button,input,summary):focus-visible { outline: 3px solid var(--ac-teal); outline-offset: 4px; }
.academy a:not(.ac-button):hover { color: #f39200; }
.ac-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; padding: 20px 0; border-bottom: 1px solid var(--ac-line); }
.ac-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ac-brand strong { font-size: 14px; letter-spacing: .065em; display: block; line-height: 1.4; }
.ac-brand small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .28em; color: #f39200; }
.ac-nav-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.ac-nav-actions>form { margin: 0; }
.ac-catalog-link { font-size: 13px; font-weight: 700; }
.ac-forum-unread { display: inline-block; background: #04667c; color: #fff; font-size: 10px; min-width: 19px; padding: 2px 5px; border-radius: 20px; text-align: center; }
.ac-forum-dashboard { margin-top: 25px; }
.ac-forum-notification-list { margin: 9px 0; }
.ac-forum-notification-item { margin: 0; border-bottom: 1px solid var(--ac-line); }
.ac-forum-notification-item:last-of-type { border-bottom: 0; }
.ac-forum-notification-button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 0; border: 0; background: transparent; text-align: left; color: var(--ac-ink); cursor: pointer; }
.ac-forum-notification-button:disabled { opacity: .6; cursor: progress; }
.ac-forum-notification-button:hover { color: #04667c; }
.ac-forum-notification-copy { display: block; flex: 1; min-width: 0; }
.ac-forum-notification-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.5; }
.ac-forum-notification-meta { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ac-muted); font-size: 11px; line-height: 1.5; }
.ac-forum-notification-button time { flex: 0 0 90px; color: var(--ac-muted); font-size: 10px; line-height: 1.4; text-align: right; }
.ac-forum-notification-button svg { flex-shrink: 0; }
.ac-forum-notification-dot { display: block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #04667c; }
.ac-forum-notification-dot[hidden] { visibility: hidden; display: block; }
.ac-forum-notification-item.is-read .ac-forum-notification-copy { opacity: .65; }
.ac-forum-notification-empty { margin: 8px 0; color: var(--ac-muted); font-size: 12px; }
.ac-forum-notification-error { margin: 0 0 8px; color: #9e3329; font-size: 12px; }
@media (max-width: 600px) { .ac-forum-notification-button { gap: 7px; } .ac-forum-notification-button time { flex-basis: 65px; } }
.ac-user { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.ac-user small { font-size: 10px; color: var(--ac-muted); display: block; font-weight: 500; }
.ac-avatar { background: #e1edef; border: 1px solid #c4d7dc; color: var(--ac-ink); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; text-transform: uppercase; }
.ac-link { border: 0; padding: 0; background: transparent; font-size: 12px; color: var(--ac-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.academy .ac-button, .academy .ac-button:visited {
    display: inline-flex; align-items: center; justify-content: center; gap: 22px;
    background: var(--ac-orange); color: #fff !important; border: 1px solid transparent;
    border-radius: 9px; padding: 13px 21px !important; font-size: 13px; font-weight: 750;
    line-height: 1.5; cursor: pointer; text-align: center; text-decoration: none;
    box-shadow: 0 4px 10px #f3920012;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.academy .ac-button:hover { background: #f39200; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 18px #f3920026; }
.academy .ac-button:active { transform: translateY(0); }
.academy .ac-button-small { padding: 10px 16px !important; font-size: 12px; }
.academy .ac-button.ac-course-forum-button,
.academy .ac-button.ac-course-forum-button:is(:link,:visited,:hover,:focus,:active) { background: #04667C; color: #fff !important; box-shadow: 0 4px 12px #04667c22; }
.ac-course-actions { display: flex; align-items: stretch; justify-content: space-between; gap: 12px; }
.ac-course-actions > .ac-button { min-width: 0; }
.ac-course-actions > .ac-button:first-child { flex: 0 1 auto; }
.ac-course-actions > .ac-course-forum-button { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.academy .ac-side-forum-button { display: flex; margin-top: 12px; width: 100%; }
.ac-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .12em; font-weight: 800; color: var(--ac-muted); line-height: 1.6; }
.ac-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #f39200; }
.ac-catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 42px 0 32px; }
.ac-catalog-head h1 { margin: 13px 0; }
.ac-catalog-head h1 strong { font-weight: 800; }
.ac-catalog-head h1>span { color: #587780; font-weight: 500; }
.ac-feedback { scroll-margin-top: 110px; }
.ac-feedback > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; color: var(--ac-ink); font-size: 18px; font-weight: 750; }
.ac-feedback[open] > summary { margin-bottom: 18px; }
.ac-feedback p { color: var(--ac-muted); font-size: 14px; line-height: 1.7; }
.ac-feedback label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 650; color: var(--ac-ink); }
.ac-feedback :is(select,textarea) { width: 100%; max-width: 100%; border: 1px solid var(--ac-line); border-radius: 9px; padding: 12px; color: var(--ac-ink); background: #fff; font-size: 14px; }
.ac-feedback :is(select,textarea):focus-visible { outline: 2px solid #04667c; outline-offset: 2px; }
.ac-feedback textarea { resize: vertical; margin-bottom: 18px; }
.ac-feedback-ratings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 22px 0; }
.ac-feedback-ratings > div { min-width: 0; }
.ac-feedback-invite { margin: 18px 0 0; }
@media (max-width: 767px) { .ac-feedback-ratings { grid-template-columns: 1fr; } .ac-feedback > summary { font-size: 16px; } }
.ac-catalog-head p { color: var(--ac-muted); max-width: 660px; margin: 0; font-size: 14px; }
.ac-edition { display: flex; flex-direction: column; align-items: end; flex-shrink: 0; color: var(--ac-teal); font-size: 10px; letter-spacing: .14em; font-weight: 750; }
.ac-edition>span { font-size: 58px; line-height: 1.3; letter-spacing: -.06em; }
.ac-edition small { font-size: 10px; letter-spacing: 0; font-weight: 500; }
.ac-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 8px 0 22px; }
.ac-section-heading h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; }
.ac-section-heading>span { color: var(--ac-muted); font-size: 12px; }
.ac-count { background: #e3edef; font-size: 11px; border-radius: 6px; padding: 5px 8px; letter-spacing: .02em; }
.ac-course-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.ac-course-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--ac-line); background: #fff; box-shadow: 0 6px 26px #03465606; transition: transform .25s,box-shadow .25s; }
.ac-course-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px #03465613; }
.ac-cover-link { display: block; }
.ac-cover { position: relative; height: 205px; overflow: hidden; padding: 22px 26px; }
.ac-cover-finance { background: #034656; color: #e6f0f0; }
.ac-cover-fiscalite { background: #f6e9d7; color: #5e431e; }
.ac-cover-label { position: relative; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.ac-cover svg { position: absolute; width: 87%; max-width: 450px; height: 170px; right: -4px; bottom: -2px; transition: transform .6s; }
.ac-course-card:hover .ac-cover svg { transform: translateY(-4px); }
.ac-cover-caption { position: absolute; bottom: 15px; left: 26px; font-size: 10px; letter-spacing: .02em; background: inherit; padding: 3px 7px 3px 0; }
.ac-course-body { padding: 26px; }
.ac-tags { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.ac-tags>span { font-size: 10px; font-weight: 650; background: #f1f6f7; color: #45636b; border-radius: 5px; padding: 4px 8px; }
.ac-tags>span:first-child { background: #e8f2ec; color: #356c50; }
.ac-course-body h3 { font-size: 25px; margin-bottom: 12px; }
.ac-course-body>p { font-size: 13px; color: var(--ac-muted); min-height: 47px; margin-bottom: 18px; }
.ac-course-benefits { margin: 0 0 24px; padding: 0; list-style: none; font-size: 12px; line-height: 1.65; }
.ac-course-benefits li { display: flex; gap: 9px; align-items: baseline; margin-bottom: 8px; }
.ac-course-benefits li>span { color: var(--ac-teal); font-weight: 800; }
.ac-card-action { border-top: 1px solid var(--ac-line); padding-top: 20px; display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.ac-card-meta { font-size: 10px; color: var(--ac-muted); }
.ac-card-meta>span { margin-right: 5px; font-size: 15px; }
.ac-mini-progress { font-size: 11px; margin: 0 0 20px; }
.ac-mini-progress progress { margin: 4px 0 0; }
.ac-how { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; padding: 38px 0 42px; }
.ac-how>div { position: relative; padding-left: 42px; }
.ac-step-icon { position: absolute; top: 0; left: 0; width: 29px; height: 29px; border: 1px solid #bfd1d6; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 750; color: var(--ac-teal); }
.ac-how h3 { font-size: 14px; margin: 3px 0 8px; }
.ac-how p { font-size: 12px; color: var(--ac-muted); margin: 0; }
.ac-foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 10px; color: var(--ac-muted); border-top: 1px solid var(--ac-line); padding: 24px 0; }
.ac-foot strong { color: var(--ac-ink); font-size: 10px; letter-spacing: .08em; }
/* L'espace de travail */
.ac-workspace { display: grid; grid-template-columns: 288px minmax(0,1fr); gap: 34px; align-items: start; padding: 30px 0 50px; }
.ac-sidebar { border: 1px solid var(--ac-line); border-radius: 14px; background: #fff; position: sticky; top: 20px; align-self: start; max-height: calc(100dvh - 40px); overflow-y: auto; scrollbar-width: thin; }
.ac-back { display: inline-flex; font-size: 11px; font-weight: 650; padding: 20px 22px 0; }
.ac-side-heading { padding: 22px 22px 16px; }
.ac-side-heading h2 { font-size: 19px; margin: 8px 0 20px; }
.ac-progress-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.ac-progress-label strong { color: var(--ac-teal); }
.academy progress { appearance: none; display: block; width: 100%; height: 6px; accent-color: var(--ac-teal); border: 0; border-radius: 20px; overflow: hidden; background: #e6eef0; margin: 9px 0 7px; }
.academy progress::-webkit-progress-bar { background: #e6eef0; border-radius: 20px; }
.academy progress::-webkit-progress-value { background: var(--ac-teal); border-radius: 20px; transition: width .4s; }
.academy progress::-moz-progress-bar { background: var(--ac-teal); border-radius: 20px; }
.ac-side-heading>small { font-size: 10px; color: var(--ac-muted); }
.ac-syllabus { border-top: 1px solid var(--ac-line); }
.ac-syllabus>summary { padding: 17px 22px; cursor: pointer; color: var(--ac-ink); font-size: 12px; font-weight: 800; display: flex; justify-content: space-between; list-style: none; }
.ac-syllabus>summary::-webkit-details-marker { display: none; }
.ac-syllabus[open]>summary>span { transform: rotate(180deg); }
.ac-overview-link { display: block; font-size: 11px; font-weight: 650; padding: 10px 22px; }
.ac-overview-link.is-current { background: #eff6f7; color: var(--ac-teal); border-left: 3px solid var(--ac-teal); padding-left: 19px; }
.ac-syllabus ol { list-style: none; margin: 8px 10px 10px; padding: 0; }
.ac-syllabus li { border-radius: 8px; margin-bottom: 3px; }
.ac-syllabus li>a, .ac-locked-item { display: flex; align-items: start; gap: 10px; padding: 12px 10px; }
.ac-syllabus li>a { transition: background .2s; border-radius: 8px; }
.ac-syllabus li>a:hover { background: #eff5f6; }
.ac-syllabus li.is-current { background: #eaf3f5; box-shadow: inset 3px 0 var(--ac-teal); }
.ac-lesson-number { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #c7d7dc; border-radius: 8px; color: var(--ac-teal); font-size: 10px; font-weight: 750; background: #fff; }
.is-complete .ac-lesson-number { background: #e1f2e8; border-color: #bfdcc9; color: #286b49; }
.ac-lesson-name { font-size: 11px; line-height: 1.55; font-weight: 650; }
.ac-lesson-name small { display: block; font-size: 9px; margin-top: 3px; font-weight: 500; color: var(--ac-muted); }
.is-locked .ac-lesson-name { color: #6d8086; font-weight: 500; }
.ac-side-exam { border-top: 1px solid var(--ac-line); display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-size: 12px; font-weight: 750; }
.ac-side-exam>span:first-child { font-size: 26px; }
.ac-side-exam small { display: block; font-size: 9px; font-weight: 500; margin-top: 3px; }
.ac-side-exam.is-current { background: #edf5f7; }
.ac-side-exam.is-locked { color: #6d8086; }
.ac-save-note { background: #f8fafb; border-top: 1px solid var(--ac-line); font-size: 10px; line-height: 1.65; padding: 17px 22px; color: var(--ac-muted); }
.ac-save-note>span { color: #347859; padding-right: 3px; }
.ac-work-main { min-width: 0; }
.ac-welcome { margin-bottom: 24px; position: relative; }
.ac-welcome>.ac-pill { float: right; }
.ac-welcome h1 { margin: 13px 0 10px; font-size: 32px; }
.ac-welcome>p { color: var(--ac-muted); font-size: 13px; margin: 0; }
.ac-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d9e7e2; border-radius: 20px; background: #ebf4ef; color: #33694e; font-size: 10px; font-weight: 650; padding: 5px 10px; }
.ac-pill .ac-dot { background: #438466; }
.ac-course-banner { border: 1px solid var(--ac-line); background: #fff; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 220px minmax(0,1fr); }
.ac-course-banner>.ac-cover { height: 100%; min-height: 250px; padding: 22px 20px; }
.ac-course-banner .ac-cover svg { width: 320px; max-width: none; right: -20px; bottom: 36px; height: 150px; }
.ac-course-banner .ac-cover-caption { left: 20px; max-width: 180px; line-height: 1.6; font-size: 9px; }
.ac-course-banner>div:last-child { padding: 26px; }
.ac-course-banner h2 { font-size: 25px; margin: 9px 0; }
.ac-course-banner p { font-size: 12px; color: var(--ac-muted); margin: 0 0 20px; }
.ac-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 20px 0; }
.ac-stats>div { background: white; border: 1px solid var(--ac-line); border-radius: 11px; padding: 20px; }
.ac-stats>div>span { display: block; font-size: 11px; color: var(--ac-muted); margin-bottom: 5px; }
.ac-stats strong { display: block; font-size: 25px; font-weight: 800; color: var(--ac-ink); white-space: nowrap; }
.ac-stats small { font-size: 10px; color: var(--ac-muted); font-weight: 500; letter-spacing: 0; }
.ac-stats>div>small { display: block; margin-top: 5px; }
.ac-panel { border: 1px solid var(--ac-line); background: #fff; border-radius: 14px; padding: 28px; margin-bottom: 20px; }
.ac-panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.ac-panel-heading h2 { font-size: 20px; margin: 4px 0 0; }
.ac-panel-heading .ac-eyebrow { font-size: 9px; }
.ac-quiz-launch-heading { flex-wrap: wrap; }
.ac-quiz-launch-heading > div { flex: 1 1 200px; }
.ac-quiz-launch-heading > .ac-button { margin-left: auto; flex-shrink: 0; }
.ac-small-icon { display: grid; place-items: center; background: #edf4f5; width: 43px; height: 43px; border-radius: 12px; color: var(--ac-teal); font-size: 25px; flex-shrink: 0; }
.ac-objective-list { padding: 0; margin: 0; list-style: none; }
.ac-objective-list li { display: flex; gap: 12px; font-size: 13px; margin-top: 14px; align-items: baseline; }
.ac-objective-list li>span { color: #347a59; font-weight: 800; }
.ac-next-step { display: flex; align-items: center; gap: 17px; border-top: 1px solid var(--ac-line); padding-top: 20px; }
.ac-next-number { color: #f39200; background: #fff2e5; border-radius: 10px; width: 48px; height: 54px; display: grid; place-items: center; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.ac-next-step h3 { font-size: 15px; margin: 0 0 5px; }
.ac-next-step p { font-size: 11px; color: var(--ac-muted); margin: 0; }
.ac-arrow-link { display: grid; place-items: center; width: 37px; height: 37px; margin-left: auto; background: var(--ac-ink); color: white !important; border-radius: 50%; font-size: 20px; flex-shrink: 0; transition: transform .2s; }
.ac-arrow-link:hover { transform: translateX(3px); }
.ac-table { overflow-x: auto; max-width: 100%; }
.ac-table table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ac-table th { font-size: 10px; color: var(--ac-muted); font-weight: 750; background: #f5f8f9; }
.ac-table :is(th,td) { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--ac-line); vertical-align: top; }
.ac-status { display: inline-block; border-radius: 20px; padding: 3px 10px; font-size: 10px; white-space: nowrap; }
.ac-status.is-passed { color: #2a6e48; background: #e7f3eb; }
.ac-status.is-retry { color: #f39200; background: #fff1df; }
.ac-source-note { font-size: 10px; color: var(--ac-muted); margin: 22px 0 0; }
.ac-certificate-panel { padding: 22px; display: flex; align-items: center; gap: 15px; border: 1px solid #b8d7c2; border-radius: 13px; background: #ecf6ef; margin-bottom: 20px; flex-wrap: wrap; }
.ac-award { font-size: 40px; color: #347a59; }
.ac-certificate-panel h2 { font-size: 18px; margin: 0 0 6px; }
.ac-certificate-panel p { font-size: 11px; margin: 0; }
.ac-certificate-panel .ac-button { margin-left: auto; }
/* Lecture et évaluations */
.ac-breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 10px; margin: 0 0 23px; color: var(--ac-muted); }
.ac-breadcrumb a { font-weight: 650; }
.ac-lesson-header h1 { margin: 11px 0 20px; font-size: 34px; }
.ac-lesson-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 11px; color: var(--ac-muted); margin-bottom: 26px; }
.ac-lesson-meta>a { margin-left: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ac-content { font-size: 15px; line-height: 1.9; padding: 32px; }
.ac-reading-label { color: var(--ac-teal); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ac-line); padding-bottom: 18px; margin-bottom: 24px; }
.ac-reading-label>span { font-size: 16px; margin-right: 6px; }
.ac-content p { line-height: 1.95; margin-bottom: 20px; white-space: pre-line; }
.ac-content p:last-child { margin-bottom: 0; }
.ac-illustration { max-width: 100%; height: auto; border-radius: 9px; }
.ac-content figure { margin: 27px 0; }
.ac-content h2 { margin: 30px 0 16px; font-size: clamp(20px, 3vw, 25px); line-height: 1.35; }
.ac-content h3 { margin: 22px 0 12px; font-size: 18px; line-height: 1.4; }
.ac-content .ac-formula { padding: 12px 16px; background: #eff6f7; border-left: 3px solid #04667c; border-radius: 6px; font-size: 15px; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.ac-native-callout { margin: 24px 0; }
.ac-native-callout > h3:first-child { margin-top: 0; }
.ac-native-callout h4 { font-size: 16px; margin: 16px 0 10px; }
.ac-content figcaption { font-size: 10px; color: var(--ac-muted); margin-top: 7px; }
.ac-content .ac-table { margin: 25px 0; border: 1px solid var(--ac-line); border-radius: 9px; }
.ac-content :is(th,td) { white-space: pre-line; min-width: 120px; line-height: 1.8; }
.ac-content th { color: var(--ac-ink); }
.ac-quiz { scroll-margin-top: 25px; }
.ac-quiz h2 { font-size: 27px; margin-top: 8px; }
.ac-quiz>p { font-size: 12px; color: var(--ac-muted); }
.ac-quiz-completion { background: #f2f7f8; padding: 15px 18px; border-radius: 8px; margin-top: 22px; font-size: 11px; font-weight: 650; color: var(--ac-teal); }
.academy fieldset { border: 0; padding: 0 0 24px; margin: 28px 0 0; border-bottom: 1px solid var(--ac-line); min-width: 0; }
.academy legend { font-size: 16px; float: none; width: auto; line-height: 1.6; margin-bottom: 14px; letter-spacing: -.01em; }
.ac-option { display: flex; align-items: start; gap: 13px; padding: 15px 16px; margin-bottom: 9px; background: #fbfcfd; border: 1px solid #dbe5e8; border-radius: 9px; cursor: pointer; transition: border-color .2s,background .2s,transform .2s; font-size: 13px; line-height: 1.7; }
.ac-option:hover { border-color: #7da5af; background: #f2f7f8; transform: translateX(2px); }
.ac-option.is-selected, .ac-option:has(input:checked) { border-color: var(--ac-teal); background: #eaf3f5; box-shadow: inset 3px 0 var(--ac-teal); }
.ac-option input { accent-color: var(--ac-teal); margin-top: 5px; flex-shrink: 0; width: 16px; height: 16px; }
.ac-quiz form>.ac-button { margin-top: 25px; }
.ac-quiz-result-actions { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-end; gap: 12px; margin-top: 25px; }
.ac-quiz-result-actions > form { margin: 0; min-width: 0; }
.ac-quiz .ac-quiz-result-actions form > .ac-button { margin-top: 0; height: 100%; }
.academy .ac-button.ac-quiz-next-button { flex: 0 0 48px; width: 48px; min-height: 48px; margin-left: auto; padding: 12px !important; }
.academy .ac-button.ac-quiz-next-button,
.academy .ac-button.ac-quiz-next-button:is(:link,:visited,:hover,:focus,:active) { background: #04667c; color: #fff !important; box-shadow: 0 4px 12px #04667c22; }
.academy .ac-quiz-next-button:focus-visible { outline: 2px solid #04667c; outline-offset: 3px; }
.academy .ac-quiz-result-actions > .ac-button.ac-quiz-next-button { margin-left: 0; }
.ac-quiz-submit-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 25px; }
.ac-quiz-submit-actions > .ac-quiz-action-button { margin-left: auto; }
.academy .ac-button.ac-quiz-action-button,
.academy .ac-button.ac-quiz-action-button:is(:link,:visited,:hover,:focus,:active) { min-height: 48px; background: #04667c; color: #fff !important; box-shadow: 0 4px 12px #04667c22; }
.academy .ac-quiz-action-button:focus-visible { outline: 2px solid #04667c; outline-offset: 3px; }
.ac-lesson-review-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.academy .ac-button.ac-quiz-next-button.ac-lesson-prev-button { margin-left: 0; }
.ac-review-exam-button { margin-left: auto; }
.ac-review-note { font-size: 12px; color: var(--ac-muted); margin: 12px 0 24px; }
.ac-quiz-preview { padding-left: 22px; }
.ac-quiz-preview > li { margin: 20px 0; }
.ac-quiz-preview h3 { font-size: 15px; }
.ac-notice { background: #e7f4ec; border: 1px solid #b0d1bc; border-radius: 10px; padding: 20px 23px; margin: 20px 0; font-size: 13px; color: #285e42; }
.ac-notice strong { font-weight: 800; }
.ac-notice p { margin: 8px 0 0; font-size: 12px; }
.ac-error { background: #fff3e6; border-color: #e8c59c; color: #f39200; }
.ac-corrections { margin: 22px 0; background: #f5f8f9; border: 1px solid var(--ac-line); border-radius: 9px; padding: 17px; }
.ac-corrections summary { cursor: pointer; font-weight: 750; font-size: 12px; color: var(--ac-ink); }
.ac-corrections div { padding: 18px 0; border-bottom: 1px solid var(--ac-line); }
.ac-corrections h3 { font-size: 15px; margin-bottom: 10px; }
.ac-corrections p { font-size: 12px; }
.ac-lesson-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; margin-top: 25px; }
.ac-lesson-bottom>a { font-weight: 700; }
.ac-lesson-bottom>span { color: var(--ac-muted); }
/* Accès au compte */
.ac-auth-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; max-width: 1040px; margin: 50px auto; }
.ac-auth-intro { padding: 35px 0; }
.ac-auth-intro h2 { font-size: 44px; margin: 18px 0; }
.ac-auth-intro>p { font-size: 14px; color: var(--ac-muted); max-width: 360px; }
.ac-auth-intro ul { padding: 0; margin: 30px 0; list-style: none; font-size: 12px; }
.ac-auth-intro li { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; }
.ac-auth-intro li>span { background: #e5eff1; border: 1px solid #d4e3e7; color: var(--ac-teal); border-radius: 8px; display: grid; place-items: center; width: 31px; height: 31px; font-size: 10px; font-weight: 750; }
.ac-auth-intro>a { font-size: 12px; font-weight: 700; }
.ac-auth { padding: 32px; }
.ac-auth h1 { font-size: 27px; margin: 11px 0; }
.ac-auth>p { font-size: 12px; color: var(--ac-muted); }
.ac-auth-context { background: #eff6f7; padding: 12px 15px; border-left: 3px solid var(--ac-teal); border-radius: 4px; }
.ac-auth-tabs { display: flex; gap: 4px; background: #f0f5f6; padding: 4px; border-radius: 8px; margin: 23px 0; }
.ac-auth-tabs>a { flex: 1; text-align: center; padding: 10px 5px; font-size: 11px; border-radius: 6px; color: var(--ac-muted); }
.ac-auth-tabs>a.is-active { background: #fff; color: var(--ac-ink); font-weight: 750; box-shadow: 0 2px 6px #0346560c; }
.ac-auth label { display: block; font-size: 12px; font-weight: 700; color: var(--ac-ink); margin: 19px 0 7px; }
.ac-auth input { width: 100%; background: #fbfdfe; border: 1px solid #c5d6db; border-radius: 7px; padding: 12px 13px; color: var(--ac-ink); font-size: 14px; transition: border-color .2s; }
.ac-auth input:hover { border-color: var(--ac-teal); }
.ac-auth button { width: 100%; margin-top: 25px; }
.ac-auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; font-size: 10px; border-top: 1px solid var(--ac-line); padding-top: 18px; margin-top: 23px; }
.ac-auth-links a { text-decoration: underline; text-underline-offset: 4px; }
/* Animation légère, sans masquer de contenu et sans dépendance externe. */
.ac-enter { animation: ac-enter .55s both; animation-delay: var(--ac-delay,0ms); }
@keyframes ac-enter { from { opacity: .3; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .ac-wrap { max-width: 1390px; } }
@media (max-width: 1100px) {
    .ac-workspace { grid-template-columns: 250px minmax(0,1fr); gap: 22px; }
    .ac-course-banner { grid-template-columns: 150px minmax(0,1fr); }
    .ac-course-banner .ac-cover-label { font-size: 8px; }
    .ac-course-banner>div:last-child { padding: 22px; }
    .ac-stats>div { padding: 15px; }
    .ac-stats strong { font-size: 23px; }
    .ac-stats strong small { display: block; }
    .ac-card-action { align-items: start; flex-direction: column; }
    .ac-auth-layout { gap: 40px; }
}
@media (max-width: 860px) {
    .ac-wrap { padding: 0 22px; }
    .ac-nav-actions { gap: 15px; }
    .ac-workspace { grid-template-columns: 1fr; gap: 25px; padding-top: 22px; }
    .ac-sidebar { position: static; max-height: none; }
    .ac-side-heading { padding: 15px 20px; }
    .ac-side-heading h2 { margin: 5px 0 14px; font-size: 18px; }
    .ac-back { padding-top: 16px; }
    .ac-sidebar .ac-save-note { display: none; }
    .ac-syllabus>summary { padding: 13px 20px; }
    .ac-catalog-head h1 { font-size: 33px; }
    .ac-edition { display: none; }
    .ac-course-body { padding: 21px; }
    .ac-course-body h3 { font-size: 23px; }
    .ac-how { gap: 22px; }
    .ac-auth-layout { gap: 30px; }
    .ac-auth-intro h2 { font-size: 34px; }
}
@media (max-width: 600px) {
    .ac-wrap { padding: 0 16px; }
    .ac-nav { align-items: center; gap: 12px; min-height: 83px; padding: 16px 0; flex-wrap: wrap; }
    .ac-brand { gap: 8px; }
    .ac-brand strong { font-size: 11px; }
    .ac-brand small { font-size: 8px; }
    .ac-nav-actions { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
    .ac-catalog-link { display: none; }
    .ac-user { font-size: 10px; gap: 7px; }
    .ac-user small { font-size: 8px; }
    .ac-avatar { width: 29px; height: 29px; font-size: 13px; }
    .ac-nav .ac-link { font-size: 10px; }
    .ac-nav .ac-button-small { font-size: 10px; padding: 9px 11px !important; gap: 9px; }
    .ac-catalog-head { padding: 29px 0 25px; }
    .ac-catalog-head h1 { font-size: 29px; line-height: 1.3; }
    .ac-catalog-head p { font-size: 12px; }
    .ac-section-heading { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 17px; }
    .ac-section-heading h2 { font-size: 18px; }
    .ac-section-heading>span { font-size: 10px; }
    .ac-course-grid { grid-template-columns: 1fr; gap: 24px; }
    .ac-cover { height: 180px; }
    .ac-cover svg { height: 150px; }
    .ac-course-body h3 { font-size: 24px; }
    .ac-course-body>p { min-height: 0; }
    .ac-card-action { flex-direction: row; align-items: center; gap: 9px; }
    .ac-card-meta { font-size: 9px; max-width: 105px; line-height: 1.8; }
    .ac-card-action .ac-button { padding: 11px 14px !important; gap: 12px; font-size: 11px; }
    .ac-how { grid-template-columns: 1fr; padding: 30px 0; gap: 23px; }
    .ac-how p { font-size: 11px; }
    .ac-foot { flex-direction: column; gap: 7px; font-size: 9px; }
    .ac-welcome h1 { font-size: 28px; }
    .ac-welcome>.ac-pill { float: none; display: flex; width: fit-content; margin-top: 10px; }
    .ac-welcome>p { font-size: 12px; }
    .ac-course-banner { grid-template-columns: 1fr; }
    .ac-course-banner>.ac-cover { min-height: 0; height: 145px; }
    .ac-course-banner .ac-cover svg { height: 130px; width: 280px; bottom: -10px; }
    .ac-course-banner .ac-cover-label { font-size: 9px; }
    .ac-course-banner .ac-cover-caption { font-size: 8px; max-width: 170px; }
    .ac-course-banner h2 { font-size: 24px; }
    .ac-course-banner .ac-button { width: 100%; }
    .ac-course-banner .ac-course-actions > .ac-button { width: auto; font-size: 10px; padding: 10px 11px !important; gap: 7px; }
    .ac-stats { gap: 8px; }
    .ac-stats>div { padding: 13px 10px; }
    .ac-stats>div>span { font-size: 9px; }
    .ac-stats small { font-size: 8px; line-height: 1.6; }
    .ac-stats strong { font-size: 23px; }
    .ac-stats strong small { font-size: 8px; }
    .ac-panel { padding: 21px; }
    .ac-panel-heading { gap: 10px; margin-bottom: 18px; }
    .ac-panel-heading h2 { font-size: 19px; }
    .ac-panel-heading .ac-eyebrow { font-size: 8px; }
    .ac-small-icon { width: 35px; height: 38px; border-radius: 9px; }
    .ac-objective-list li { font-size: 12px; }
    .ac-next-step { align-items: start; gap: 12px; }
    .ac-next-number { width: 36px; height: 42px; font-size: 16px; }
    .ac-next-step h3 { font-size: 14px; }
    .ac-next-step p { font-size: 10px; }
    .ac-next-step .ac-arrow-link { width: 29px; height: 29px; }
    .ac-certificate-panel { padding: 18px; }
    .ac-certificate-panel .ac-button { width: 100%; font-size: 11px; }
    .ac-breadcrumb { font-size: 9px; margin-bottom: 17px; }
    .ac-lesson-header h1 { font-size: 29px; }
    .ac-lesson-meta { gap: 10px; font-size: 10px; }
    .ac-lesson-meta>a { margin-left: 0; }
    .ac-content { font-size: 14px; }
    .ac-content p { line-height: 1.9; }
    .ac-content :is(th,td) { min-width: 110px; padding: 11px; font-size: 11px; }
    .ac-lesson-bottom { align-items: start; flex-direction: column; gap: 8px; }
    .ac-quiz h2 { font-size: 24px; }
    .ac-quiz>p { font-size: 11px; }
    .academy legend { font-size: 14px; }
    .ac-option { padding: 13px 12px; font-size: 12px; }
    .ac-quiz form>.ac-button { width: 100%; }
    .ac-auth-layout { grid-template-columns: 1fr; gap: 20px; margin: 28px auto; }
    .ac-auth-intro { padding: 0; }
    .ac-auth-intro h2 { font-size: 29px; margin: 9px 0; }
    .ac-auth-intro h2 br { display: none; }
    .ac-auth-intro>p { max-width: none; font-size: 12px; }
    .ac-auth-intro ul { display: none; }
    .ac-auth-intro>a { font-size: 11px; }
    .ac-auth h1 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    .academy *, .academy *::before, .academy *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.ac-lesson-name{font-size:12px}.ac-lesson-name small{font-size:10px}
.ac-example{background:#fff8ee;border:1px solid #f0dcc1;border-left:3px solid #f39200;border-radius:9px;padding:23px;margin:25px 0}.ac-example h3{font-size:14px;letter-spacing:.01em;line-height:1.65;margin:0 0 16px}.ac-example p{font-size:14px;line-height:1.9;margin-bottom:13px}.ac-example p:last-child{margin-bottom:0}@media(max-width:600px){.ac-example{padding:18px}.ac-example h3{font-size:13px}.ac-example p{font-size:13px}}

/* Compte de l’apprenant */
.ac-account-link{border-radius:9px;padding:5px 8px;transition:background .2s}.ac-account-link:hover{background:#e7f0f2}
.ac-account-layout{max-width:1000px;margin:36px auto 50px}.ac-account-back{display:block;font-size:12px;font-weight:700;margin-bottom:24px}.ac-account-heading h1{margin:8px 0 10px}.ac-account-heading>p{font-size:13px;color:var(--ac-muted);margin-bottom:26px}.ac-account-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:25px;align-items:start}.ac-profile-avatar{width:58px;height:58px;font-size:25px;margin-bottom:18px}.ac-account-profile h2{font-size:22px;overflow-wrap:anywhere}.ac-account-profile dl{margin:25px 0}.ac-account-profile dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--ac-muted);margin-top:18px}.ac-account-profile dd{font-size:13px;color:var(--ac-ink);overflow-wrap:anywhere;margin-top:5px}.ac-account-profile>p{border-top:1px solid var(--ac-line);padding-top:18px;font-size:11px;color:var(--ac-muted);margin-bottom:0}.ac-account-password>h2{font-size:25px;margin:10px 0}.ac-account-forgot{display:inline-block;font-size:11px;margin-top:20px;text-decoration:underline!important;text-underline-offset:4px}@media(max-width:600px){.ac-account-layout{margin:25px auto}.ac-account-grid{grid-template-columns:1fr;gap:4px}.ac-account-password>h2{font-size:23px}.ac-account-password .ac-button{font-size:11px;gap:5px}.ac-account-profile{padding:22px}.ac-profile-avatar{width:42px;height:42px;font-size:19px}}

.ac-brand-logo { display:block; width:70px; height:50px; object-fit:contain; }

/* Arabic layout follows the translated document direction; French fallback stays LTR. */
html[dir="rtl"] .academy { font-family: Tahoma, Arial, sans-serif !important; }
html[dir="rtl"] .academy :is(h1,h2,h3,h4,h5,h6) { font-family: inherit !important; letter-spacing: normal; }
html[dir="rtl"] .academy :is(.ac-table th,.ac-table td,.ac-forum-notification-button) { text-align: start; }
html[dir="rtl"] .academy .ac-forum-notification-button time { text-align: left; }
html[dir="rtl"] .academy :is(.ac-quiz-next-button,.ac-forum-notification-button) svg { transform: rotate(180deg); }
html[dir="rtl"] .academy :is(.ac-course-forum-button,.ac-quiz-launch-heading > .ac-button,.ac-arrow-link,.ac-certificate-panel > .ac-button,.ac-review-exam-button) { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .academy .ac-button.ac-quiz-next-button { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .academy .ac-quiz-result-actions > .ac-button.ac-quiz-next-button,
html[dir="rtl"] .academy .ac-button.ac-quiz-next-button.ac-lesson-prev-button { margin-right: 0; }
html[dir="rtl"] .academy .ac-quiz-submit-actions > .ac-quiz-action-button { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .academy .ac-welcome > .ac-pill { float: left; }
html[dir="rtl"] .academy .ac-how > div { padding-left: 0; padding-right: 42px; }
html[dir="rtl"] .academy .ac-step-icon { left: auto; right: 0; }
html[dir="rtl"] .academy .ac-overview-link.is-current { border-left: 0; border-right: 3px solid var(--ac-teal); padding-left: 22px; padding-right: 19px; }
html[dir="rtl"] .academy .ac-content .ac-formula { border-left: 0; border-right: 3px solid #04667c; }
html[dir="rtl"] .academy :is(input[type="email"],input[type="password"],.ac-formula,code) { direction: ltr; text-align: left; }
