/* Thianza Diagnostic – test de niveau */
.thz-dg{--navy:#0A083B;--blue:#3E64DE;--blue-d:#2F4FB8;--teal:#38BCDE;--lime:#A9D46F;--muted:#5B6480;--line:#E4E8F0;--ok:#2E8B57;--ok-bg:#E8F5EC;--warn:#B76E00;--warn-bg:#FFF4DE;--ko:#C2410C;--ko-bg:#FDEEE6;font-family:Poppins,system-ui,sans-serif;color:var(--navy);line-height:1.55;max-width:900px;margin:8px auto 40px}
.thz-dg *,.thz-dg *::before,.thz-dg *::after{box-sizing:border-box}
.thz-dg ul,.thz-dg ol{list-style:none;margin:0;padding:0}
.thz-dg [hidden]{display:none!important}
.thz-dg button{font-family:inherit}
.thz-dg .thz-i{flex-shrink:0;display:block}
.thz-dg-card{border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 30px 70px -30px rgba(10,8,59,.35);border:1px solid var(--line)}
.thz-dg-head{position:relative;overflow:hidden;isolation:isolate;background:var(--navy);color:#C9D0E6;padding:40px 48px 36px}
.thz-dg-head::before{content:"";position:absolute;z-index:-1;width:380px;height:380px;right:-150px;top:-180px;border-radius:50%;background:radial-gradient(circle,rgba(56,188,222,.35),rgba(56,188,222,0) 70%)}
.thz-dg-head::after{content:"";position:absolute;z-index:-1;width:200px;height:200px;left:-80px;bottom:-110px;border-radius:50%;border:34px solid rgba(169,212,111,.12)}
.thz-dg-eyebrow{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(169,212,111,.15);color:var(--lime);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.thz-dg-head h1{margin:14px 0 8px;font-size:30px;line-height:1.2;font-weight:700;color:#fff}
.thz-dg-head .sub{margin:0;font-size:15.5px;line-height:1.6;max-width:640px}
.thz-dg-main{padding:36px 48px 40px}
.thz-dg-lg{min-height:54px!important;padding:0 30px!important;font-size:16px!important}
.thz-dg .thz-btn[disabled]{opacity:.45;cursor:not-allowed}
.thz-dg-note{margin:12px 0 0;font-size:13.5px;color:#7A819A;max-width:620px}

/* Accueil du test */
.thz-dg-pts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 28px!important}
.thz-dg-pts li{display:flex;gap:14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#FBFCFE}
.thz-dg-pts .ic{width:44px;height:44px;border-radius:12px;background:#EEF2FD;color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.thz-dg-pts strong{display:block;font-size:15.5px;color:var(--navy)}
.thz-dg-pts p{margin:4px 0 0;font-size:13.5px;color:var(--muted);line-height:1.5}
.thz-dg-etapes{display:flex;gap:10px;margin:0 0 26px!important;flex-wrap:wrap}
.thz-dg-etapes li{flex:1 1 200px;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.thz-dg-etapes b{width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}
.thz-dg-doms{margin:0 0 30px}
.thz-dg-doms .l{display:block;font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px}
.thz-dg-doms ul{display:flex;flex-wrap:wrap;gap:8px}
.thz-dg-doms li{padding:7px 13px;border-radius:999px;background:#F2F5FB;border:1px solid var(--line);font-size:13.5px;color:var(--navy)}
.thz-dg-hist{margin:34px 0 0;padding:26px 0 0;border-top:1px solid var(--line)}
.thz-dg-hist h2{font-size:18px;margin:0 0 12px;color:var(--navy)}
.thz-dg-hist li{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #EEF1F6;font-size:14.5px;flex-wrap:wrap}
.thz-dg-hist .d{flex:1;color:var(--muted)}
.thz-dg-hist .p{font-weight:700;min-width:54px;text-align:right}
.thz-dg-hist a{color:var(--blue);font-weight:600}
.thz-dg-niv{display:inline-block;padding:4px 11px;border-radius:999px;font-size:12.5px;font-weight:600}
.thz-dg-niv.confirme{background:var(--ok-bg);color:var(--ok)}
.thz-dg-niv.intermediaire{background:#EEF2FD;color:var(--blue-d)}
.thz-dg-niv.consolider{background:var(--warn-bg);color:var(--warn)}

/* Quiz */
.thz-dg-quiz{padding:30px 48px 36px}
.thz-dg-topbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 14px}
.thz-dg-topbar .num{font-weight:700;font-size:15px}
.thz-dg-topbar .num span{color:#8C93A8;font-weight:500}
.thz-dg-topbar .dom{padding:5px 12px;border-radius:999px;background:#EEF2FD;color:var(--blue-d);font-size:12.5px;font-weight:600}
.thz-dg-topbar .tps{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.thz-dg-prog{display:flex;gap:4px;margin:0 0 28px}
.thz-dg-prog i{flex:1;height:6px;border-radius:4px;background:#E8ECF4;transition:background .2s}
.thz-dg-prog i.fait{background:var(--teal)}
.thz-dg-prog i.cur{background:var(--blue)}
.thz-dg-qtxt{margin:0 0 22px;font-size:21px;line-height:1.45;font-weight:600;color:var(--navy)}
.thz-dg-opts{display:flex;flex-direction:column;gap:12px}
.thz-dg-opt{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:15px 18px;min-height:62px;border:1.5px solid #DCE1EC;border-radius:16px;background:#FBFCFE;color:var(--navy);font-size:16px;line-height:1.45;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.thz-dg-opt:hover{border-color:#9FB2EE;background:#fff}
.thz-dg-opt:focus-visible{outline:0;box-shadow:0 0 0 4px rgba(62,100,222,.18);border-color:var(--blue)}
.thz-dg-opt .let{width:34px;height:34px;border-radius:10px;background:#EEF1F7;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0;transition:background .15s,color .15s}
.thz-dg-opt[aria-pressed=true]{border-color:var(--blue);background:#F2F5FE;box-shadow:0 0 0 3px rgba(62,100,222,.12)}
.thz-dg-opt[aria-pressed=true] .let{background:var(--blue);color:#fff}
.thz-dg-conf{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0;padding:14px 16px;border-radius:14px;background:#F6F8FC;font-size:14px;color:var(--muted)}
.thz-dg-conf .l{flex:1 1 220px}
.thz-dg-conf button{padding:8px 16px;border-radius:999px;border:1.5px solid #D2D8E6;background:#fff;color:var(--navy);font-size:14px;font-weight:600;cursor:pointer}
.thz-dg-conf button[aria-pressed=true]{border-color:var(--navy);background:var(--navy);color:#fff}
.thz-dg-nav{display:flex;align-items:center;gap:12px;margin:28px 0 0;padding:22px 0 0;border-top:1px solid #EEF1F6}
.thz-dg-nav .esp{flex:1}
.thz-dg-lien{background:none;border:0;padding:6px 0;color:var(--muted);font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.thz-dg-lien:hover{color:var(--navy)}
.thz-dg-quit{margin:16px 0 0;padding:16px 18px;border-radius:14px;background:var(--ko-bg);color:#7A2E0E;font-size:14.5px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.thz-dg-quit p{margin:0;flex:1 1 260px}
.thz-dg-reprise{margin:0 0 18px;padding:10px 14px;border-radius:12px;background:#EEF8FC;color:#0E5A70;font-size:14px}
.thz-dg-charge{padding:80px 40px;text-align:center;color:var(--muted)}
.thz-dg-spin{width:44px;height:44px;margin:0 auto 18px;border-radius:50%;border:4px solid #E3E8F3;border-top-color:var(--blue);animation:thzdgspin .8s linear infinite}
@keyframes thzdgspin{to{transform:rotate(360deg)}}
.thz-dg-err{margin:14px 0 0;padding:12px 16px;border-radius:12px;background:var(--ko-bg);color:#7A2E0E;font-size:14.5px}

/* Porte d'inscription */
.thz-dg-porte{display:grid;grid-template-columns:1fr 1.1fr}
.thz-dg-porte-g{position:relative;overflow:hidden;isolation:isolate;background:var(--navy);color:#C9D0E6;padding:40px 36px}
.thz-dg-porte-g::before{content:"";position:absolute;z-index:-1;width:320px;height:320px;right:-160px;top:-150px;border-radius:50%;background:radial-gradient(circle,rgba(56,188,222,.35),rgba(56,188,222,0) 70%)}
.thz-dg-porte-g .ok{width:54px;height:54px;border-radius:50%;background:rgba(169,212,111,.18);color:var(--lime);display:flex;align-items:center;justify-content:center;margin:0 0 18px}
.thz-dg-porte-g h2{margin:0 0 10px;font-size:25px;line-height:1.25;color:#fff}
.thz-dg-porte-g p{margin:0 0 20px;font-size:15px}
.thz-dg-flou{position:relative;padding:18px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.thz-dg-flou li{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:13px;color:#fff}
.thz-dg-flou li:last-child{margin:0}
.thz-dg-flou li span{flex:0 0 46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thz-dg-flou li i{flex:1;height:8px;border-radius:5px;background:linear-gradient(90deg,var(--teal),var(--lime));filter:blur(3px);opacity:.75}
.thz-dg-flou .cad{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:16px;background:rgba(10,8,59,.35);backdrop-filter:blur(1.5px);color:#fff;font-weight:600;font-size:14px}
.thz-dg-porte-d{padding:34px 40px 36px}
.thz-dg-onglets{display:flex;gap:6px;padding:5px;border-radius:14px;background:#F0F3F9;margin:0 0 22px}
.thz-dg-onglets button{flex:1;padding:11px 10px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:14.5px;font-weight:600;cursor:pointer}
.thz-dg-onglets button[aria-selected=true]{background:#fff;color:var(--navy);box-shadow:0 2px 8px rgba(10,8,59,.08)}
.thz-dg-form{display:flex;flex-direction:column;gap:14px}
.thz-dg-form .ligne{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.thz-dg-form label.l{display:block;margin:0 0 6px;font-size:13.5px;font-weight:600;color:var(--navy)}
.thz-dg-form input[type=text],.thz-dg-form input[type=email],.thz-dg-form input[type=password],.thz-dg-form select{width:100%;height:50px;padding:0 15px;border:1.5px solid #DCE1EC;border-radius:12px;background:#FBFCFE;font:inherit;font-size:16px;color:var(--navy);box-shadow:none}
.thz-dg-form input:focus,.thz-dg-form select:focus{outline:0;border-color:var(--blue);background:#fff;box-shadow:0 0 0 4px rgba(62,100,222,.13)}
.thz-dg-form .invalide{border-color:var(--ko)!important}
.thz-dg-form .mdp{position:relative}
.thz-dg-form .mdp button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer;padding:8px}
.thz-dg-form .cgu{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--muted);line-height:1.5}
.thz-dg-form .cgu input{margin:3px 0 0;width:18px;height:18px;flex-shrink:0}
.thz-dg-form .cgu a,.thz-dg-form .petit a{color:var(--blue)}
.thz-dg-form .petit{font-size:13.5px;color:var(--muted);margin:0}
.thz-dg-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.thz-dg-form .thz-btn{width:100%;min-height:52px}

/* Bilan */
.thz-dg-bilan{max-width:980px}
.thz-dg-head-bilan{display:flex;gap:30px;align-items:center;justify-content:space-between}
.thz-dg-head-bilan .txt{flex:1;min-width:0}
.thz-dg-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:16px 0 0!important}
.thz-dg-meta li{display:flex;align-items:center;gap:8px;font-size:14px;color:#fff}
.thz-dg-meta svg{color:var(--teal)}
.thz-dg-head-bilan .score{position:relative;width:148px;height:148px;flex-shrink:0}
.thz-dg-anneau .fond{fill:none;stroke:rgba(255,255,255,.12);stroke-width:12}
.thz-dg-anneau .val{fill:none;stroke:var(--lime);stroke-width:12;stroke-linecap:round}
.thz-dg-head-bilan .score-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.thz-dg-head-bilan .score-in b{font-size:38px;line-height:1;color:#fff}
.thz-dg-head-bilan .score-in small{font-size:18px}
.thz-dg-head-bilan .score-bloc{display:flex;align-items:center;gap:20px;flex-shrink:0}
.thz-dg-head-bilan .score-niv{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.thz-dg-head-bilan .score-niv small{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.thz-dg-head-bilan .score-niv .thz-dg-niv{font-size:14px;padding:6px 14px}
.thz-dg-sec{padding:0 0 34px;margin:0 0 34px;border-bottom:1px solid #EEF1F6}
.thz-dg-sec:last-of-type{border-bottom:0}
.thz-dg-sec h2{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:20px;color:var(--navy)}
.thz-dg-sec h2 svg{color:var(--blue)}
.thz-dg-sec .intro{margin:-6px 0 20px;color:var(--muted);font-size:15px}
.thz-dg-dom-grid{display:grid;grid-template-columns:300px 1fr;gap:28px;align-items:center}
.thz-dg-radar{width:100%;height:auto;overflow:visible}
.thz-dg-radar .grille polygon,.thz-dg-radar .grille line{fill:none;stroke:#E1E6F0;stroke-width:1}
.thz-dg-radar .val{fill:rgba(62,100,222,.18);stroke:var(--blue);stroke-width:2;stroke-linejoin:round}
.thz-dg-radar .pts circle{fill:var(--blue);stroke:#fff;stroke-width:2}
.thz-dg-radar .lab text{font-size:13px;font-weight:700;fill:var(--muted);font-family:Poppins,system-ui,sans-serif}
.thz-dg-barres li{margin:0 0 14px}
.thz-dg-barres .h{display:flex;align-items:center;gap:10px;font-size:14.5px;margin:0 0 6px}
.thz-dg-barres .n{width:22px;height:22px;border-radius:50%;background:#EEF1F7;color:var(--muted);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.thz-dg-barres .t{flex:1;min-width:0;font-weight:600}
.thz-dg-barres .e{font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px}
.thz-dg-barres b{min-width:46px;text-align:right}
.thz-dg-barres small{font-size:12.5px;color:#8C93A8;margin-left:32px}
.thz-dg .bar{height:9px;border-radius:6px;background:#EEF1F7;overflow:hidden;margin-left:32px}
.thz-dg .bar i{display:block;height:100%;border-radius:6px;background:var(--blue)}
.thz-dg .acquis .bar i{background:var(--ok)}.thz-dg .acquis .e{background:var(--ok-bg);color:var(--ok)}
.thz-dg .consolider .bar i{background:#E7A100}.thz-dg .consolider .e{background:var(--warn-bg);color:var(--warn)}
.thz-dg .renforcer .bar i{background:var(--ko)}.thz-dg .renforcer .e{background:var(--ko-bg);color:var(--ko)}
.thz-dg-comp{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.thz-dg-comp li{padding:18px;border:1px solid var(--line);border-radius:18px;background:#FBFCFE}
.thz-dg-comp b{display:block;font-size:28px;line-height:1.1}
.thz-dg-comp strong{display:block;margin:6px 0 2px;font-size:15px}
.thz-dg-comp span{display:block;font-size:13px;color:var(--muted);min-height:40px;margin:0 0 10px}
.thz-dg-comp .bar{margin:0}
.thz-dg-etape{padding:22px;border:1px solid var(--line);border-radius:20px;margin:0 0 16px;background:#fff}
.thz-dg-etape .tete{display:flex;gap:14px;align-items:flex-start;margin:0 0 16px}
.thz-dg-etape .num{width:36px;height:36px;border-radius:12px;background:var(--navy);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.thz-dg-etape h3{margin:4px 0 4px;font-size:17px;color:var(--navy)}
.thz-dg-etape h3 span{margin-left:6px;font-size:13px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--ko-bg);color:var(--ko);vertical-align:2px}
.thz-dg-etape .tete p{margin:0;font-size:14px;color:var(--muted)}
.thz-dg-etape .tout{margin:14px 0 0;font-size:14px;color:var(--muted)}
.thz-dg-etape .tout a{color:var(--blue);font-weight:600}
.thz-dg-cours-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.thz-dg-cours{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;color:var(--navy)!important;text-decoration:none!important;transition:box-shadow .15s,transform .15s}
.thz-dg-cours:hover{box-shadow:0 14px 30px -18px rgba(10,8,59,.4);transform:translateY(-2px)}
.thz-dg-cours .img{display:block;aspect-ratio:16/9;background:#E9EEF8 center/cover no-repeat}
.thz-dg-cours .t{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px;flex:1}
.thz-dg-cours small{font-size:11.5px;font-weight:600;color:var(--teal);text-transform:uppercase;letter-spacing:.05em}
.thz-dg-cours b{font-size:14.5px;line-height:1.35;flex:1}
.thz-dg-cours em{display:flex;align-items:center;gap:6px;font-style:normal;font-size:13px;font-weight:600;color:var(--blue);margin-top:6px}
.thz-dg-vigil ul{display:flex;flex-direction:column;gap:10px}
.thz-dg-vigil li{padding:14px 16px;border-left:4px solid var(--ko);border-radius:4px 12px 12px 4px;background:#FFF8F4}
.thz-dg-vigil b{display:block;font-size:15px;margin:0 0 4px}
.thz-dg-vigil span{font-size:14px;color:var(--ok);font-weight:600}
.thz-dg-corr h3{margin:22px 0 10px;font-size:15px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.thz-dg-corr h3 span{text-transform:none;letter-spacing:0}
.thz-dg-q{border:1px solid var(--line);border-radius:14px;margin:0 0 10px;background:#fff}
.thz-dg-q summary{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;cursor:pointer;list-style:none}
.thz-dg-q summary::-webkit-details-marker{display:none}
.thz-dg-q .m{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.thz-dg-q.ok .m{background:var(--ok-bg);color:var(--ok)}.thz-dg-q.ko .m{background:var(--ko-bg);color:var(--ko)}
.thz-dg-q .t{flex:1;font-size:15px;font-weight:600;line-height:1.45}
.thz-dg-q .t small{display:block;font-weight:500;font-size:12.5px;color:#8C93A8;margin-top:2px}
.thz-dg-q .rep{padding:0 16px 0 54px;display:flex;flex-direction:column;gap:6px}
.thz-dg-q .rep li{padding:9px 12px;border-radius:10px;background:#F6F8FC;font-size:14.5px}
.thz-dg-q .rep li.bonne{background:var(--ok-bg);color:#1F5E3B;font-weight:600}
.thz-dg-q .rep li.fausse{background:var(--ko-bg);color:#8A2D09;text-decoration:line-through;text-decoration-thickness:1px}
.thz-dg-q .rep em{margin-left:8px;font-style:normal;font-size:12px;font-weight:600;text-decoration:none;display:inline-block}
.thz-dg-q .expl{margin:12px 16px 0 54px;padding:12px 14px;border-radius:10px;background:#EEF8FC;color:#164A5A;font-size:14.5px}
.thz-dg-q .lien{display:inline-flex;align-items:center;gap:8px;margin:12px 16px 16px 54px;color:var(--blue);font-weight:600;font-size:14px}
.thz-dg-q[open] summary{padding-bottom:10px}
.thz-dg-q:not([open]) .lien{display:none}
.thz-dg-fin{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.thz-dg-imprimer{border:0;background:none;color:var(--muted);font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;margin-left:auto}
.thz-dg-avert{margin:24px 0 0;font-size:12.5px;color:#8C93A8}
.thz-dg-vide{text-align:center;padding:60px 40px}
.thz-dg-vide svg{margin:0 auto 12px;color:var(--blue)}
.thz-dg-vide h2{margin:0 0 8px}
.thz-dg-vide p{color:var(--muted);margin:0 0 20px}

/* Bandeau d'accueil */
.thz-dg-acc{padding:70px 0}
.thz-dg-acc-in{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center;padding:52px 56px;border-radius:32px;background:#0A083B;color:#C9D0E6}
.thz-dg-acc-in::before{content:"";position:absolute;z-index:-1;width:520px;height:520px;right:-200px;top:-260px;border-radius:50%;background:radial-gradient(circle,rgba(56,188,222,.32),rgba(56,188,222,0) 70%)}
.thz-dg-acc-in::after{content:"";position:absolute;z-index:-1;width:240px;height:240px;left:-90px;bottom:-140px;border-radius:50%;border:40px solid rgba(169,212,111,.10)}
.thz-dg-acc .thz-dg-eyebrow{background:rgba(169,212,111,.15);color:#A9D46F}
.thz-dg-acc h2{margin:16px 0 12px;font-size:36px;line-height:1.18;font-weight:700;color:#fff}
.thz-dg-acc-sub{margin:0 0 22px;font-size:16px;line-height:1.65}
.thz-dg-acc-pts{display:flex;flex-direction:column;gap:12px;margin:0 0 30px!important;list-style:none;padding:0}
.thz-dg-acc-pts li{display:flex;align-items:center;gap:12px;font-size:15px}
.thz-dg-acc-pts svg{color:#38BCDE}
.thz-dg-acc-pts strong{color:#fff;font-weight:600}
.thz-dg-acc-cta{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.thz-dg-acc-cta .thz-btn{min-height:54px;padding:0 30px;font-size:16px}
.thz-dg-acc-lien{color:#C9D0E6!important;font-size:15px;text-decoration:underline!important;text-underline-offset:4px}
.thz-dg-acc-lien:hover{color:#fff!important}
.thz-dg-acc-carte{max-width:340px;margin:0 auto;padding:24px;border-radius:24px;background:#fff;color:#0A083B;box-shadow:0 30px 60px -20px rgba(0,0,0,.45);transform:rotate(1.5deg)}
.thz-dg-acc-carte-h{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;color:#5B6480;text-transform:uppercase;letter-spacing:.06em}
.thz-dg-acc-carte-h b{font-size:26px;color:#0A083B;letter-spacing:0}
.thz-dg-acc-radar{display:block;width:100%;height:auto;margin:6px 0}
.thz-dg-acc-radar .g polygon,.thz-dg-acc-radar .g line{fill:none;stroke:#E1E6F0;stroke-width:1}
.thz-dg-acc-radar .f{fill:rgba(62,100,222,.2);stroke:#3E64DE;stroke-width:2;stroke-linejoin:round}
.thz-dg-acc-dom{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.thz-dg-acc-dom li{padding:5px 10px;border-radius:999px;background:#F2F5FB;font-size:11.5px;color:#0A083B}

@media (max-width:900px){
	.thz-dg-pts,.thz-dg-comp,.thz-dg-cours-grid{grid-template-columns:1fr}
	.thz-dg-dom-grid{grid-template-columns:1fr}
	.thz-dg-radar{max-width:300px;margin:0 auto}
	.thz-dg-porte{grid-template-columns:1fr}
	.thz-dg-acc-in{grid-template-columns:1fr;padding:40px 28px}
	.thz-dg-acc-vis{display:none}
	.thz-dg-acc h2{font-size:28px}
}
@media (max-width:640px){
	.thz-dg{margin:0 auto 24px}
	.thz-dg-card{border-radius:20px}
	.thz-dg-head{padding:30px 22px 26px}
	.thz-dg-head h1{font-size:24px}
	.thz-dg-main,.thz-dg-quiz{padding:24px 20px 28px}
	.thz-dg-porte-g,.thz-dg-porte-d{padding:28px 22px}
	.thz-dg-qtxt{font-size:18px}
	.thz-dg-opt{font-size:15px;padding:13px 14px}
	.thz-dg-head-bilan{flex-direction:column-reverse;align-items:flex-start}
	.thz-dg-form .ligne{grid-template-columns:1fr}
	.thz-dg-nav .thz-btn{flex:1}
	.thz-dg-q .rep{padding-left:16px}.thz-dg-q .expl,.thz-dg-q .lien{margin-left:16px}
	.thz-dg-imprimer{margin-left:0}
	.thz-dg-acc{padding:40px 0}
}
@media print{
	.thz-dg-fin,.thz-header,header,footer,.thz-dg-avert{display:none!important}
	.thz-dg-card{box-shadow:none;border:0}
	.thz-dg-q{break-inside:avoid}
	.thz-dg-q .rep,.thz-dg-q .expl{display:block}
}

/* Le thème remet à zéro les marges internes des paragraphes : on les impose. */
.thz-dg p.thz-dg-reprise{padding:12px 16px!important;margin:0 0 20px!important}
.thz-dg p.thz-dg-err{padding:12px 16px!important}
.thz-dg .thz-dg-q p.expl{padding:12px 14px!important}

/* Fenêtre modale : composant thz-modal du site (formulaire newsletter), repris à l'identique
   car il n'est chargé que sur les pages qui l'utilisent. */
.thz-modal{position:fixed;inset:0;z-index:100050;display:flex;align-items:center;justify-content:center;padding:20px;font-family:Poppins,system-ui,sans-serif;color:#0A083B;line-height:1.5}
.thz-modal[hidden]{display:none}
.thz-modal *,.thz-modal *::before,.thz-modal *::after{box-sizing:border-box}
.thz-modal-bg{position:absolute;inset:0;background:rgba(6,4,49,.62);backdrop-filter:blur(3px);opacity:0;transition:opacity .2s}
.thz-modal-box{position:relative;width:100%;max-width:640px;max-height:calc(100vh - 40px);overflow-y:auto;background:#F8F9FC;border-radius:28px;padding:44px 48px 40px;box-shadow:0 40px 80px -20px rgba(6,4,49,.45);opacity:0;transform:translateY(16px) scale(.98);transition:opacity .22s,transform .22s}
.thz-modal.is-open .thz-modal-bg{opacity:1}.thz-modal.is-open .thz-modal-box{opacity:1;transform:none}
.thz-modal-x{position:absolute;top:22px;right:22px;width:44px;height:44px;border-radius:50%;border:0;background:#E8EBF3;color:#0A083B;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.thz-modal-x:hover{background:#DCE1EC}
.thz-modal h2{margin:0 56px 8px 0;font:700 28px/1.2 Poppins,system-ui,sans-serif;color:#0A083B}
.thz-modal-sub{margin:0 0 28px;font-size:15.5px;color:#5B6480}
.thz-modal-actions{display:flex;justify-content:space-between;gap:16px;margin-top:12px}
.thz-mbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:170px;min-height:58px;padding:0 30px;border-radius:999px;border:2px solid #3E64DE;background:#3E64DE;color:#fff;font:600 16px/1 Poppins,system-ui,sans-serif;cursor:pointer;transition:background .15s,color .15s,opacity .15s}
.thz-mbtn:hover{background:#2F4FB8;border-color:#2F4FB8}
.thz-mbtn-ghost{background:transparent;color:#3E64DE}
.thz-mbtn-ghost:hover{background:#EEF2FD;color:#2F4FB8}
body.thz-modal-lock{overflow:hidden}
@media (max-width:600px){.thz-modal{padding:0;align-items:flex-end}.thz-modal-box{max-height:92vh;border-radius:24px 24px 0 0;padding:32px 22px 24px}.thz-modal h2{font-size:23px}.thz-modal-actions{flex-direction:column-reverse}.thz-mbtn{width:100%}}
@media (prefers-reduced-motion:reduce){.thz-modal-bg,.thz-modal-box{transition:none}}

/* Variante « confirmation » du test de niveau */
.thz-dg-modal .thz-modal-box{max-width:600px}
.thz-dg-modal-ic{width:56px;height:56px;border-radius:50%;background:#FDEEE6;color:#C2410C;display:flex;align-items:center;justify-content:center;margin:0 0 20px}
.thz-dg-modal h2{font-size:24px;line-height:1.3;margin-bottom:14px}
.thz-dg-modal p.thz-modal-sub{margin:0 0 12px!important;padding:0!important}
.thz-dg-modal p.thz-modal-sub[data-dg-avancement]{color:#0A083B;font-weight:600}
.thz-dg-modal .thz-modal-actions{justify-content:flex-end;margin-top:28px}
.thz-dg-modal .thz-mbtn{min-height:52px;font-size:15.5px}
.thz-dg-modal .thz-mbtn:focus-visible,.thz-dg-modal .thz-modal-x:focus-visible{outline:3px solid rgba(62,100,222,.35);outline-offset:2px}
@media (max-width:600px){.thz-dg-modal h2{font-size:21px;margin-right:52px}}
