/* ma-voie.css : styles des pages « applicatives » (test, résultats, rapport, blog, formation, pages légales).
   Aligné sur la charte « Site Final » : fond lavande clair, texte bleu nuit, pastels, boutons violets. */
:root{--ink:#1c1450;--mut:#4b5266;--v:#6d4fd6;--vh:#5b3fc4;--line:#efe9fb}
*{box-sizing:border-box}body{margin:0;font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:var(--ink);background:linear-gradient(180deg,#f3edff,#fbf8ff 420px);line-height:1.5}
h1,h2,h3,p{margin:0}a{color:inherit}
:focus-visible{outline:3px solid #a78bfa;outline-offset:2px}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 28px;border-radius:999px;background:var(--v);color:#fff;font-weight:800;font-size:16px;font-family:inherit;font-family:inherit;text-decoration:none;border:0;cursor:pointer}
.btn:hover{background:var(--vh)}
.btn.sm{min-height:44px;padding:0 20px;font-size:14px}.btn.ghost{background:#fff;color:var(--ink);border:1px solid #e3dcf7}.btn.ghost:hover{background:#f6f2ff}.btn[disabled]{background:#eceaf2;color:#6b6f80;cursor:not-allowed}
.g{background:linear-gradient(90deg,#7c3aed,#d9467f,#e8a23a);-webkit-background-clip:text;background-clip:text;color:transparent}
.pill{display:inline-block;padding:7px 16px;border-radius:999px;color:#fff;font-weight:800;letter-spacing:1.2px;font-size:12px}
.hero{text-align:center;padding:56px 0 72px}.hero h1{font-size:clamp(34px,6vw,64px);line-height:1.04;letter-spacing:-2px;font-weight:800;margin-top:20px}
.hero p{font-size:19px;color:var(--mut);max-width:740px;margin:20px auto 0;line-height:1.6}
.title{text-align:center;padding:48px 0 8px}.title h1{font-size:clamp(34px,5vw,56px);letter-spacing:-1.5px;font-weight:800;line-height:1.08}.title p{color:var(--mut);font-size:18px;margin-top:12px;line-height:1.6}
h2.s{font-size:clamp(26px,3.4vw,34px);font-weight:800;letter-spacing:-.5px;margin:56px 0 18px}
.grid{display:flex;gap:18px;flex-wrap:wrap}.grid>*{flex:1 1 280px}
.card{border-radius:28px;padding:28px}.card h3{font-size:20px;font-weight:800;color:var(--ink)}.card p,.card li{color:var(--mut);font-size:15px;margin-top:8px;line-height:1.55}
.lilas{background:#ece6fd}.rose{background:#fbe3ee}.jaune{background:#fdf1d3}.bleu{background:#e0ecfc}.vert{background:#e1f4e8}.peche{background:#fde8df}.orange{background:#fde5cc}.blanc{background:#fff;border:1px solid var(--line)}
ul.ck{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-direction:column;gap:10px}ul.ck li{margin:0;display:flex;gap:10px;color:var(--ink)}ul.ck li:before{content:"✓";flex:none;width:22px;height:22px;border-radius:50%;background:var(--ac,#1f6a43);color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;margin-top:1px}
.price{font-size:36px;font-weight:800;margin-top:6px}
.bar{height:10px;border-radius:10px;background:#fff;margin-top:6px}.bar i{display:block;height:10px;border-radius:10px;background:var(--v)}
.row{display:flex;justify-content:space-between;gap:12px;font-weight:700;font-size:15px;margin-top:14px}
table.t{width:100%;border-collapse:separate;border-spacing:0 10px;font-size:15px}table.t td,table.t th{padding:14px 18px;text-align:left;vertical-align:top}table.t th{font-size:12px;letter-spacing:1px;color:#5b6070}table.t td{background:var(--bg,#fff)}table.t td:first-child{border-radius:18px 0 0 18px;font-weight:800}table.t td:last-child{border-radius:0 18px 18px 0}
.scroll{overflow-x:auto}
.tabs{display:flex;gap:10px}.tab{flex:1;padding:14px 16px;border-radius:18px;background:#f3eefc;border:2px solid transparent}.tab.on{background:#fff;border-color:var(--v)}.tab b{font-size:15px}.tab small{display:block;color:var(--mut);font-size:12px}
.prog{height:10px;border-radius:10px;background:#ece6fd;margin-top:8px}.prog i{display:block;height:10px;border-radius:10px;background:linear-gradient(90deg,#b7a4f2,#6d4fd6);transition:width .2s}
.opt{display:block;width:100%;text-align:left;min-height:58px;padding:14px 20px;border-radius:18px;border:1px solid #e3dcf7;background:#fff;font-weight:600;font-size:16px;font-family:inherit;font-family:inherit;color:var(--ink);cursor:pointer;margin-top:10px}.opt:hover{border-color:#b7a4f2;background:#fbf8ff}.opt.sel{border:2px solid var(--v);background:#f3eefc}
/* Thème du test : violet pour RIASEC (intérêts), orange pour Schwartz (valeurs) */
#tw{min-height:80vh;transition:background .3s}
#tw.th-r{background:linear-gradient(180deg,#f3edff,#fbf8ff 420px)}
#tw.th-s{background:linear-gradient(180deg,#fff1e4,#fffaf5 420px)}
.th-s .tab.on{border-color:#e08a45;background:#fff}.th-s .tab:not(.on){background:#fbeee3}
.th-s .prog{background:#fbe3cf}.th-s .prog i{background:linear-gradient(90deg,#f2b386,#c96a2c)}
.th-s .btn{background:#c96a2c}.th-s .btn:hover{background:#b45309}.th-s .btn[disabled]{background:#f0e6dd;color:#8a7466}
.th-s .btn.ghost{background:#fff;color:var(--ink);border-color:#f3d6c2}.th-s .btn.ghost:hover{background:#fff5ec}
.th-s .lvl.sel span{box-shadow:inset 0 0 0 1px rgba(180,83,9,.18),0 0 0 4px #fff,0 0 0 7px #c96a2c}
.th-s .scale{border-color:#f6dcc8}
/* Échelle Schwartz : 6 ronds qui grandissent et foncent de « pas du tout » à « totalement » */
.scale{margin-top:32px;background:#fff;border:1px solid #f3e4da;border-radius:28px;padding:22px 10px 18px}
.scale .ends{display:flex;justify-content:space-between;font-size:13px;font-weight:800;color:#6e2d24;padding:0 12px}
.scale .lvls{display:flex;justify-content:space-between;align-items:flex-start;gap:4px;margin-top:14px}
.lvl{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px;border:0;background:none;padding:4px 0;text-align:center;font-weight:700;font-size:13px;font-family:inherit;font-family:inherit;line-height:1.3;color:#5b6070;cursor:pointer}
.lvl .dw{height:76px;display:flex;align-items:center;justify-content:center;font-style:normal}
.lvl span{display:flex;align-items:center;justify-content:center;width:var(--s);height:var(--s);border-radius:50%;box-shadow:inset 0 0 0 1px rgba(180,83,9,.18);font-size:22px;font-weight:800;transition:box-shadow .15s,transform .15s}
.lvl:hover span{transform:scale(1.06)}.lvl.sel{color:var(--ink)}.lvl.sel span{box-shadow:inset 0 0 0 1px rgba(180,83,9,.18),0 0 0 4px #fff,0 0 0 7px var(--v)}
@media(max-width:600px){.lvl span{width:calc(var(--s)*.68);height:calc(var(--s)*.68);font-size:16px}.lvl .dw{height:54px}.lvl{font-size:11px}}
.nav2{display:flex;justify-content:space-between;align-items:center;margin-top:26px}
.modal{position:fixed;inset:0;background:rgba(28,20,80,.45);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}.modal .box{background:#fff;border-radius:32px;padding:32px;max-width:560px;width:100%}
.choice{flex:1;min-height:60px;border-radius:18px;border:2px solid #e3dcf7;background:#fff;font-weight:700;font-size:17px;font-family:inherit;font-family:inherit;color:var(--mut);cursor:pointer}.choice.sel{border-color:var(--v);background:#f3eefc;color:#4b3aa8}
.blur{filter:blur(6px);user-select:none;pointer-events:none}.lock{position:relative}.lock .over{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:16px}
input,textarea,select{width:100%;min-height:52px;border-radius:16px;border:1px solid #ddd5f3;padding:12px 16px;font-weight:500;font-size:16px;font-family:inherit;font-family:inherit;background:#fff;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:3px solid #d6c9f8;border-color:var(--v)}label.f{display:flex;flex-direction:column;gap:8px;font-weight:800;font-size:14px;margin-top:16px}
details.q{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px 24px;margin-top:12px}details.q[open]{background:#ece6fd;border-color:#ece6fd}details.q summary{font-weight:800;font-size:17px;cursor:pointer;min-height:32px}details.q p{color:#3f4558;margin-top:10px;line-height:1.65}
.note{color:#5b6070;font-size:13px;text-align:center;margin-top:28px}.ban{background:#fdf1d3;border-radius:16px;padding:12px 18px;font-size:14px;color:#7a4c00;text-align:center;margin:12px 0}
svg text{font-family:inherit}
@media(max-width:820px){.hero{padding:32px 0 48px}.title{padding-top:32px}}
@media print{header.top,footer.bot,.noprint{display:none!important}body{background:#fff}}
