/* Tutoriel Marketing Engine v2 — sans dépendance externe ni renvoi hors bureau. */
.nexus-tutorial-v2[hidden],.nt-affiliate[hidden]{display:none!important}
.nexus-tutorial-v2{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#f3f8eb}
.nexus-tutorial-v2 *{box-sizing:border-box}
.nexus-tutorial-v2 .nt-backdrop{position:absolute;inset:0;background:rgba(2,13,16,.86);backdrop-filter:blur(9px)}
.nexus-tutorial-v2 .nt-shell{position:relative;display:flex;flex-direction:column;width:min(1180px,calc(100vw - 36px));max-height:min(90vh,780px);overflow:hidden;border:1px solid rgba(194,231,190,.25);border-radius:23px;background:#071c1c;box-shadow:0 34px 140px rgba(0,0,0,.65)}
.nexus-tutorial-v2 .nt-top{display:flex;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid rgba(194,231,190,.12);background:#092424}
.nexus-tutorial-v2 .nt-brand{display:flex;align-items:center;gap:12px;flex:1;letter-spacing:.09em;font-size:12px;font-weight:850}
.nexus-tutorial-v2 .nt-brand small{display:block;margin-top:3px;font-size:9px;letter-spacing:.14em;color:#b8cdbe}
.nexus-tutorial-v2 .nt-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#d9f0b8;color:#0e3028;font-size:17px;font-weight:900}
.nexus-tutorial-v2 .nt-count{font-size:13px;color:#d9f0b8;font-weight:700}
.nexus-tutorial-v2 button{cursor:pointer;font-family:inherit}
.nexus-tutorial-v2 button:focus-visible,.nexus-tutorial-v2 a:focus-visible,.nexus-tutorial-v2 input:focus-visible{outline:3px solid #d9f0b8;outline-offset:3px}
.nexus-tutorial-v2 .nt-close{display:grid;place-items:center;width:36px;height:36px;font-size:24px;color:#dbeee1;border:1px solid #476860;background:#123a34;border-radius:10px}
.nexus-tutorial-v2 .nt-content{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);gap:28px;padding:25px;min-height:0;overflow:auto}
.nexus-tutorial-v2 .nt-visual{display:grid;grid-template-columns:1fr;gap:10px;min-width:0;min-height:0;border-radius:15px;overflow:hidden;background:#092726}
.nexus-tutorial-v2 .nt-visual.is-paired{grid-template-columns:1fr 1fr}
.nexus-tutorial-v2 .nt-visual img{display:block;width:100%;height:100%;min-height:310px;max-height:440px;object-fit:cover;object-position:center}
.nexus-tutorial-v2 .nt-visual.is-paired img{min-height:310px}
.nexus-tutorial-v2 .nt-copy{display:flex;flex-direction:column;justify-content:center;gap:18px;padding:15px 10px 15px 0;min-width:0}
.nexus-tutorial-v2 .nt-eyebrow{align-self:flex-start;font-size:10px;letter-spacing:.14em;font-weight:850;color:#d9f0b8;border:1px solid #436a5e;background:#12342e;border-radius:999px;padding:9px 13px}
.nexus-tutorial-v2 .nt-copy h2{font-size:clamp(25px,2.85vw,39px);font-weight:900;line-height:1.12;letter-spacing:-.035em;margin:0;color:#f5f9ed}
.nexus-tutorial-v2 .nt-copy p{font-size:clamp(14px,1.28vw,17px);line-height:1.6;margin:0;color:#e6f0e9}
.nexus-tutorial-v2 .nt-copy .nt-detail{font-size:13px;color:#c7dec6;border-left:3px solid #d9f0b8;padding-left:13px}
.nexus-tutorial-v2 .nt-affiliate{display:inline-flex;align-self:flex-start;background:#d9f0b8;color:#13342e!important;text-decoration:none;font-size:13px;font-weight:850;padding:14px 17px;border-radius:12px}
.nexus-tutorial-v2 .nt-footer{display:flex;align-items:center;gap:16px;padding:18px 24px;border-top:1px solid rgba(194,231,190,.12);background:#092424}
.nexus-tutorial-v2 .nt-progress{display:flex;align-items:center;gap:5px;flex:1}
.nexus-tutorial-v2 .nt-dot{height:5px;width:24px;background:#42635b;border-radius:8px}
.nexus-tutorial-v2 .nt-dot.is-active{background:#d9f0b8}
.nexus-tutorial-v2 .nt-never{display:flex;align-items:center;gap:8px;font-size:12px;color:#bcd5c4;white-space:nowrap;cursor:pointer}
.nexus-tutorial-v2 .nt-never input{accent-color:#d9f0b8;width:15px;height:15px}
.nexus-tutorial-v2 .nt-actions{display:flex;gap:9px}
.nexus-tutorial-v2 .nt-actions button{border-radius:10px;min-width:125px;min-height:43px;font-size:13px;font-weight:800;padding:10px 14px}
.nexus-tutorial-v2 .nt-back{background:#173a34;border:1px solid #3f6559;color:#e5f0e8}
.nexus-tutorial-v2 .nt-back:disabled{opacity:.4;cursor:not-allowed}
.nexus-tutorial-v2 .nt-next{background:#d9f0b8;border:1px solid #d9f0b8;color:#12342e}
body.nexus-tutorial-v2-open{overflow:hidden}
@media(max-width:850px){
 .nexus-tutorial-v2 .nt-shell{max-height:96dvh;width:calc(100vw - 14px);border-radius:16px}
 .nexus-tutorial-v2 .nt-top{padding:12px 13px}
 .nexus-tutorial-v2 .nt-content{display:flex;flex-direction:column;gap:14px;padding:13px;overflow:auto}
 .nexus-tutorial-v2 .nt-visual img{min-height:0;max-height:270px;aspect-ratio:16/9}
 .nexus-tutorial-v2 .nt-visual.is-paired img{min-height:0;max-height:190px}
 .nexus-tutorial-v2 .nt-copy{padding:1px 3px 10px;gap:11px}
 .nexus-tutorial-v2 .nt-copy h2{font-size:25px}
 .nexus-tutorial-v2 .nt-footer{flex-wrap:wrap;padding:11px 13px;gap:10px}
 .nexus-tutorial-v2 .nt-progress{flex:0 0 100%;justify-content:center}
 .nexus-tutorial-v2 .nt-never{font-size:11px;flex:1}
 .nexus-tutorial-v2 .nt-actions button{min-width:90px;font-size:12px;padding:10px}
}
@media(max-width:380px){
 .nexus-tutorial-v2 .nt-brand{font-size:9px}
 .nexus-tutorial-v2 .nt-visual.is-paired img{max-height:150px}
 .nexus-tutorial-v2 .nt-actions{width:100%}
 .nexus-tutorial-v2 .nt-actions button{flex:1}
}
/* Official narrated tutorial takes priority; the legacy illustrated walk-through stays accessible. */
.nexus-tutorial-v2 .nt-visual:has(.nt-official-video){display:flex;align-items:center;justify-content:center;background:#031416}
.nexus-tutorial-v2 .nt-official-video{display:block;width:100%;height:auto;max-height:440px;aspect-ratio:16/9;object-fit:contain;border-radius:13px;background:#020d10}
@media(max-width:850px){.nexus-tutorial-v2 .nt-official-video{max-height:270px}}

/* Resilient video playback: keep a direct link if media is blocked or unavailable. */
.nexus-tutorial-v2 .nt-visual{position:relative}
.nexus-tutorial-v2 .nt-video-notice[hidden]{display:none!important}
.nexus-tutorial-v2 .nt-video-notice{padding:15px 18px;font-size:13px;line-height:1.5;background:#123b34;color:#f0faeb;border:1px solid #90b19a;border-radius:10px}
.nexus-tutorial-v2 .nt-video-notice a{display:block;margin-top:9px;color:#d9f0b8;font-weight:750;text-decoration:underline;overflow-wrap:anywhere}
.nexus-tutorial-v2 .nt-official-video:focus-visible{outline:3px solid #d9f0b8;outline-offset:2px}
