/* NovaSiteWeb v3 — cours interactif
   Chargé uniquement sur les pages au modèle « Cours » dont le contenu
   contient un cours interactif (.ncours-ads). */


.ncours-ads *{list-style:none!important;}
.ncours-ads div,.ncours-ads span,.ncours-ads button{background-image:none!important;}
.ncours,.ncours-ads{font-family:'DM Sans',sans-serif;color:#0d0d0d;max-width:860px;width:100%;margin:0 auto;padding:0 0 64px;}
.ncours-ads *{box-sizing:border-box;}
.nc-hero{background:#0d0d0d;border-radius:16px;padding:clamp(32px,5vw,52px);margin-bottom:24px;position:relative;overflow:hidden;}
.nc-hero::before{content:'';position:absolute;top:-80px;right:-60px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(239,159,39,.15) 0%,transparent 65%);pointer-events:none;}
.nc-hero::after{content:'';position:absolute;bottom:-40px;left:-40px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(0,74,173,.1) 0%,transparent 65%);pointer-events:none;}
.nc-hero-inner{position:relative;z-index:1;}
.nc-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 14px;background:rgba(239,159,39,.15);border:1px solid rgba(239,159,39,.35);border-radius:20px;font-size:12px;color:#ef9f27;font-weight:500;margin-bottom:16px;}
.nc-hero-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:#ef9f27;animation:nc-dot 2s ease-in-out infinite;flex-shrink:0;}
@keyframes nc-dot{0%,100%{opacity:1;}50%{opacity:.3;}}
.nc-hero h1{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:clamp(1.6rem,3.5vw,2.4rem);line-height:1.1;letter-spacing:-.025em;color:#fff;margin:0 0 10px;}
.nc-hero h1 span{color:#ef9f27;}
.nc-hero-sub{font-size:14px;color:rgba(255,255,255,.45);line-height:1.8;margin:0 0 24px;font-weight:300;max-width:520px;}
.nc-hero-stats{display:flex;gap:clamp(16px,3vw,32px);flex-wrap:wrap;}
.nc-hstat-n{font-family:'Plus Jakarta Sans',sans-serif;font-size:20px;font-weight:800;color:#fff;line-height:1;}
.nc-hstat-l{font-size:11px;color:rgba(255,255,255,.3);margin-top:2px;}
.nc-progress{background:#fff;border:1px solid #e4e4e4;border-radius:12px;padding:20px 24px;margin-bottom:20px;}
.nc-progress-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap;gap:8px;}
.nc-progress-title{font-size:13px;font-weight:700;color:#0d0d0d;}
.nc-progress-score{font-family:'Plus Jakarta Sans',sans-serif;font-size:16px;font-weight:800;color:#ef9f27;}
.nc-prog-track{height:8px;background:#f0ede8;border-radius:4px;overflow:hidden;}
.nc-prog-fill{height:100%;background:linear-gradient(to right,#ef9f27,#004aad);border-radius:4px;transition:width .5s ease;}
.nc-modules-dots{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap;}
.nc-mdot{display:flex;align-items:center;gap:6px;font-size:12px;color:#9a9a9a;}
.nc-mdot-circle{width:22px!important;height:22px!important;min-width:22px!important;border-radius:50%!important;border:2px solid #e4e4e4!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:10px!important;font-weight:700!important;color:#c8c8c8!important;transition:all .3s;flex-shrink:0!important;padding:0!important;margin:0!important;}
.nc-mdot.done .nc-mdot-circle{background:#1a6b3a;border-color:#1a6b3a;color:#fff;}
.nc-mdot.active .nc-mdot-circle{background:#ef9f27;border-color:#ef9f27;color:#fff;}
.nc-mdot.done{color:#1a6b3a;}
.nc-mdot.active{color:#ef9f27;font-weight:600;}
.nc-nav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px;}
.nc-nav-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:20px;font-size:13px;font-weight:500;color:#6b6b6b;background:#f4f3ef;border:1.5px solid transparent;cursor:pointer;transition:all .2s;font-family:'DM Sans',sans-serif;white-space:nowrap;}
.nc-nav-btn:hover{background:#fdf3dc;color:#c49a2a;}
.nc-nav-btn.active{background:#ef9f27;color:#0d0d0d;}
.nc-nav-btn.done{background:#e6f4ec;color:#1a6b3a;border-color:#b5dfc5;}
.nc-nav-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;flex-shrink:0;}
.nc-js .nc-module{display:none;}
.nc-js .nc-module.active{display:block;animation:nc-in .25s ease;}
@keyframes nc-in{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
.nc-mod-header{background:#fff;border:1px solid #e4e4e4;border-radius:12px;padding:24px;margin-bottom:16px;display:flex;align-items:flex-start;gap:16px;}
.nc-mod-ico{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.nc-mod-ico svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.nc-mod-ico.amber{background:#c49a2a;}
.nc-mod-ico.blue{background:#004aad;}
.nc-mod-ico.teal{background:#0f6e56;}
.nc-mod-ico.red{background:#c0392b;}
.nc-mod-ico.green{background:#1a6b3a;}
.nc-mod-num{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#9a9a9a;margin-bottom:4px;}
.nc-mod-title{font-family:'Plus Jakarta Sans',sans-serif;font-size:18px;font-weight:800;color:#0d0d0d;margin-bottom:4px;}
.nc-mod-sub{font-size:13px;color:#6b6b6b;font-weight:300;}
.nc-mod-time{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#9a9a9a;margin-top:8px;}
.nc-mod-time svg{width:13px;height:13px;stroke:#9a9a9a;fill:none;stroke-width:2;stroke-linecap:round;}
.nc-lesson{background:#fff;border:1px solid #e4e4e4;border-radius:12px;margin-bottom:12px;overflow:hidden;transition:box-shadow .2s;}
.nc-lesson:hover{box-shadow:0 4px 16px rgba(0,0,0,.06);}
.nc-lesson-header{display:flex;align-items:center;gap:12px;padding:16px 20px;cursor:pointer;}
.nc-lesson-num{width:28px!important;height:28px!important;min-width:28px!important;border-radius:50%!important;background:#f4f3ef!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:700!important;color:#9a9a9a!important;flex-shrink:0!important;transition:all .2s;padding:0!important;margin:0!important;}
.nc-lesson.open .nc-lesson-num{background:#ef9f27!important;color:#fff!important;}
.nc-lesson-title{font-size:14px;font-weight:600;color:#0d0d0d;flex:1;}
.nc-lesson-arrow{width:18px;height:18px;stroke:#c8c8c8;fill:none;stroke-width:2;stroke-linecap:round;transition:transform .2s;flex-shrink:0;}
.nc-lesson.open .nc-lesson-arrow{transform:rotate(180deg);}
.nc-lesson-body{padding:0 20px 20px;}
.nc-js .nc-lesson-body{display:none;}
.nc-lesson.open .nc-lesson-body{display:block;animation:nc-in .2s ease;}
.nc-lesson-text{font-size:14px;color:#3a3a3a;line-height:1.85;margin-bottom:14px;font-weight:300;}
.nc-lesson-text strong{font-weight:600;color:#0d0d0d;}
.nc-tip{background:#e8f0fb;border-left:3px solid #004aad;padding:12px 16px;border-radius:0 8px 8px 0;font-size:13px;color:#1a3a6b;line-height:1.75;margin-bottom:14px;}
.nc-tip-title{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#004aad;margin-bottom:5px;}
.nc-warn{background:#fdf3dc;border-left:3px solid #c49a2a;padding:12px 16px;border-radius:0 8px 8px 0;font-size:13px;color:#5c3a00;line-height:1.75;margin-bottom:14px;}
.nc-warn-title{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#c49a2a;margin-bottom:5px;}
.nc-example{background:#f4f3ef;border-radius:8px;padding:14px 16px;font-size:13px;color:#3a3a3a;line-height:1.75;margin-bottom:14px;}
.nc-example-title{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#6b6b6b;margin-bottom:6px;}
.nc-steps-list{display:flex!important;flex-direction:column!important;gap:8px!important;margin-bottom:14px!important;list-style:none!important;padding:0!important;}
.nc-step-item{display:flex;align-items:flex-start;gap:10px;list-style:none;margin:0;padding:0;}
.nc-step-n{display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;height:20px;border-left:3px solid #ef9f27;color:#ef9f27;font-size:12px;font-weight:700;flex-shrink:0;margin-top:2px;font-family:sans-serif;line-height:1;padding-left:4px;box-sizing:border-box;}
.nc-step-t{font-size:13px;color:#3a3a3a;line-height:1.6;font-weight:300;}
.nc-step-t strong{font-weight:600;color:#0d0d0d;}
.nc-quiz{background:#0d0d0d;border-radius:12px;padding:22px;margin-top:20px;}
.nc-quiz-title{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;font-weight:800;color:#fff;margin-bottom:6px;}
.nc-quiz-q{font-size:13px;color:rgba(255,255,255,.55);margin-bottom:16px;font-weight:300;line-height:1.6;}
.nc-quiz-opts{display:flex;flex-direction:column;gap:8px;}
.nc-quiz-opt{display:flex;align-items:center;gap:10px;padding:11px 14px;background:rgba(255,255,255,.05);border:1.5px solid rgba(255,255,255,.1);border-radius:8px;cursor:pointer;font-size:13px;color:rgba(255,255,255,.7);transition:all .2s;user-select:none;}
.nc-quiz-opt:hover{background:rgba(239,159,39,.1);border-color:rgba(239,159,39,.3);}
.nc-quiz-opt.correct{background:rgba(26,107,58,.2);border-color:#5dcaa5;color:#5dcaa5;}
.nc-quiz-opt.wrong{background:rgba(192,57,43,.15);border-color:#e87b6b;color:#e87b6b;}
.nc-quiz-opt.disabled{cursor:default;}
.nc-quiz-opt-letter{width:22px!important;height:22px!important;min-width:22px!important;border-radius:50%!important;border:1.5px solid rgba(255,255,255,.2)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;font-weight:700!important;color:rgba(255,255,255,.4)!important;flex-shrink:0!important;padding:0!important;margin:0!important;}
.nc-quiz-opt.correct .nc-quiz-opt-letter{background:#5dcaa5;border-color:#5dcaa5;color:#fff;}
.nc-quiz-opt.wrong .nc-quiz-opt-letter{background:#e87b6b;border-color:#e87b6b;color:#fff;}
.nc-quiz-feedback{margin-top:12px;font-size:13px;line-height:1.7;display:none;}
.nc-quiz-feedback.show{display:block;animation:nc-in .2s ease;}
.nc-quiz-feedback.ok{color:#5dcaa5;}
.nc-quiz-feedback.ko{color:#e87b6b;}
.nc-checklist{background:#fff;border:1px solid #e4e4e4;border-radius:12px;padding:20px;margin-top:16px;}
.nc-checklist-title{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#9a9a9a;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #f0ede8;}
.nc-cl-item{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #f4f3ef;cursor:pointer;}
.nc-cl-item:last-child{border-bottom:none;}
.nc-cl-chk{width:18px!important;height:18px!important;min-width:18px!important;border:1.5px solid #c8c8c8!important;border-radius:5px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;margin-top:1px!important;transition:all .15s;padding:0!important;background:transparent!important;}
.nc-cl-chk.on{background:#1a6b3a!important;border-color:#1a6b3a!important;}
.nc-cl-chk svg{width:10px;height:10px;stroke:#fff;fill:none;stroke-width:2.5;stroke-linecap:round;display:none;}
.nc-cl-chk.on svg{display:block;}
.nc-cl-label{font-size:13px;font-weight:600;color:#0d0d0d;margin-bottom:2px;transition:color .15s;}
.nc-cl-item.on .nc-cl-label{color:#9a9a9a;text-decoration:line-through;}
.nc-cl-desc{font-size:12px;color:#9a9a9a;line-height:1.5;font-weight:300;}
.nc-cl-progress{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #f0ede8;}
.nc-cl-prog-bar{flex:1;height:5px;background:#f0ede8;border-radius:3px;overflow:hidden;}
.nc-cl-prog-fill{height:100%;background:linear-gradient(to right,#1a6b3a,#5dcaa5);border-radius:3px;transition:width .3s;}
.nc-cl-prog-txt{font-size:12px;font-weight:600;color:#1a6b3a;flex-shrink:0;}
.nc-nav-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;}
.nc-btn{display:inline-flex;align-items:center;gap:7px;padding:11px 22px;border-radius:8px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;border:none;font-family:'DM Sans',sans-serif;transition:all .2s;}
.nc-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;}
.nc-btn-prev{background:#f4f3ef;color:#6b6b6b;}
.nc-btn-prev:hover{background:#e4e4e4;}
.nc-btn-next{background:#ef9f27;color:#0d0d0d;box-shadow:0 4px 16px rgba(239,159,39,.3);}
.nc-btn-next:hover{background:#d4891f;}
.nc-btn-finish{background:#1a6b3a;color:#fff;box-shadow:0 4px 16px rgba(26,107,58,.3);}
.nc-btn-finish:hover{background:#1f8048;}
.nc-diploma{display:none;background:#fff;border:1px solid #e4e4e4;border-radius:16px;padding:clamp(28px,5vw,48px);text-align:center;margin-top:20px;}
.nc-diploma.show{display:block;animation:nc-in .4s ease;}
.nc-diploma-badge{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#ef9f27,#004aad);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;}
.nc-diploma-badge svg{width:32px;height:32px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;}
.nc-diploma h2{font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(1.4rem,2.5vw,1.9rem);font-weight:800;color:#0d0d0d;margin:0 0 8px;}
.nc-diploma-sub{font-size:14px;color:#6b6b6b;line-height:1.75;margin:0 0 28px;font-weight:300;}
.nc-diploma-modules{display:flex;flex-direction:column;gap:8px;margin-bottom:28px;text-align:left;max-width:420px;margin-left:auto;margin-right:auto;}
.nc-diploma-mod{display:flex;align-items:center;gap:10px;font-size:13px;color:#0d0d0d;}
.nc-diploma-mod svg{width:16px;height:16px;stroke:#1a6b3a;fill:none;stroke-width:2.5;stroke-linecap:round;flex-shrink:0;}
.nc-cta-diploma{display:inline-flex;align-items:center;gap:8px;padding:13px 28px;background:#ef9f27;color:#0d0d0d;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:8px;text-decoration:none;font-family:'DM Sans',sans-serif;transition:background .2s;}
.nc-cta-diploma:hover{background:#d4891f;color:#0d0d0d;}
.nc-cta-diploma svg{width:14px;height:14px;stroke:#0d0d0d;fill:none;stroke-width:2;stroke-linecap:round;}
@media(max-width:640px){
  .nc-hero{padding:24px 18px;}
  .nc-mod-header{flex-direction:column;gap:10px;}
  .nc-nav{gap:4px;}
  .nc-nav-btn{font-size:12px;padding:7px 12px;}
  .nc-nav-bottom{flex-direction:column;align-items:stretch;}
  .nc-btn{justify-content:center;}
}
.nc-seo-intro{margin-bottom:32px;}
.nc-seo-h1{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.02em;color:#0d0d0d;margin:0 0 16px;line-height:1.15;}
.nc-seo-h2{font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:clamp(1.2rem,2vw,1.6rem);letter-spacing:-.02em;color:#0d0d0d;margin:0 0 20px;}
.nc-seo-p{font-size:15px;color:#3a3a3a;line-height:1.85;margin:0 0 14px;font-weight:300;}
.nc-seo-link{color:#004aad;text-decoration:underline;text-decoration-color:rgba(0,74,173,.3);}
.nc-seo-list{margin:0 0 0 20px;padding:0;display:flex;flex-direction:column;gap:8px;}
.nc-seo-list li{font-size:14px;color:#3a3a3a;line-height:1.6;font-weight:300;}
.nc-seo-faq{background:#fff;border:1px solid #e4e4e4;border-radius:12px;padding:28px;margin:32px 0 24px;}
.nc-faq-item{padding:14px 0;border-bottom:1px solid #f0ede8;}
.nc-faq-item:last-child{border-bottom:none;padding-bottom:0;}
.nc-faq-q{font-family:'Plus Jakarta Sans',sans-serif;font-size:15px;font-weight:700;color:#0d0d0d;margin:0 0 8px;}
.nc-faq-a{font-size:13px;color:#6b6b6b;line-height:1.75;margin:0;font-weight:300;}
.nc-seo-cta{background:#0d0d0d;border-radius:12px;padding:32px;text-align:center;margin:24px 0;}
.nc-seo-cta .nc-seo-h2{color:#fff;}
.nc-seo-cta .nc-seo-p{color:rgba(255,255,255,.5);}
.nc-seo-btn{display:inline-flex;align-items:center;padding:13px 28px;background:#ef9f27;color:#0d0d0d;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:8px;text-decoration:none;font-family:'DM Sans',sans-serif;transition:background .2s;margin-top:8px;}
.nc-seo-btn:hover{background:#d4891f;color:#0d0d0d;}
.nc-seo-links{margin-top:24px;}
.nc-seo-links-title{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#9a9a9a;margin:0 0 14px;}
.nc-seo-links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.nc-seo-link-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;background:#fff;border:1px solid #e4e4e4;border-radius:10px;text-decoration:none;transition:border-color .2s,box-shadow .2s;}
.nc-seo-link-card:hover{border-color:#ef9f27;box-shadow:0 4px 12px rgba(239,159,39,.12);}
.nc-seo-link-card-t{font-size:13px;font-weight:600;color:#0d0d0d;}
.nc-seo-link-card-s{font-size:12px;color:#9a9a9a;font-weight:300;}
@media(max-width:640px){.nc-seo-links-grid{grid-template-columns:1fr;}}

/* ── Sans JavaScript : tout le cours reste lisible ── */
.ncours-ads:not(.nc-js) .nc-progress,
.ncours-ads:not(.nc-js) .nc-nav,
.ncours-ads:not(.nc-js) .nc-btn-next,
.ncours-ads:not(.nc-js) .nc-btn-prev,
.ncours-ads:not(.nc-js) .nc-btn-finish { display: none; }
.ncours-ads:not(.nc-js) .nc-module { margin-bottom: 40px; }
.ncours-ads:not(.nc-js) .nc-lesson-arrow { display: none; }
.ncours-ads:not(.nc-js) .nc-lesson-header { cursor: default; }

/* ── Titres : les H2 et H3 gardent l'apparence des blocs d'origine ── */
.ncours-ads .nc-mod-h2 { margin: 0; font: inherit; letter-spacing: normal; color: inherit; scroll-margin-top: 100px; }
.ncours-ads .nc-mod-h2 > .nc-mod-num,
.ncours-ads .nc-mod-h2 > .nc-mod-title { display: block; }
.ncours-ads h3.nc-lesson-title { margin: 0; font-family: inherit; letter-spacing: normal; line-height: 1.4; }
.ncours-ads .nc-lesson-header:focus-visible { outline: 2px solid #004aad; outline-offset: -2px; border-radius: 10px; }
.ncours-ads .nc-faq-q { scroll-margin-top: 100px; }

/* ── Diplôme ── */
.ncours-ads .nc-diploma-title { margin: 16px 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(20px, 4vw, 26px); font-weight: 800; color: #0d0d0d; letter-spacing: -.02em; }
.ncours-ads .nc-diploma-alt { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: #004aad; text-decoration: none; }
.ncours-ads .nc-diploma-alt:hover { text-decoration: underline; }
