*{box-sizing:border-box}body{margin:0;background:#251321;color:#f6efe8;font-family:Arial,sans-serif}header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:14px 5vw;border-bottom:1px solid #ffffff20}a{color:#d4af76}header a{text-decoration:none}.brand{font:30px Georgia,serif}.brand small{display:block;font:12px Arial;letter-spacing:2px}main{max-width:1200px;margin:auto;padding:20px 28px}h1{font:36px Georgia,serif;text-align:center;margin:0 0 8px}h1 em{color:#d4af76}.instruction{text-align:center;color:#c9b9c5;font-size:16px;margin:8px 0}.workspace{display:grid;grid-template-columns:1fr 300px;gap:24px}.stage{position:relative;min-width:0}canvas#puzzle{width:100%;height:440px;display:block;touch-action:none;background:radial-gradient(ellipse,#59374770,transparent 65%);border-radius:20px}.counter{text-align:center;color:#d4af76;letter-spacing:2px;font-size:14px}.reveal{align-self:center;min-height:210px;padding:20px;border:1px solid #d4af7640;border-radius:18px}.reveal h2{font:28px Georgia;margin:0 0 12px}.reveal p{font-size:16px;line-height:1.5}.reveal .skill{color:#d4af76}.pieces{display:grid;grid-template-columns:repeat(9,1fr);gap:8px;margin:18px 0}.piece{background:#ffffff06;color:#e5d7df;border:1px solid #d4af7640;border-radius:14px;padding:6px;cursor:grab;touch-action:none;min-height:115px}.piece canvas{width:100%;height:78px;display:block;pointer-events:none}.piece span{font-size:12px}.piece.selected{border-color:#e4bd79;background:#d4af7625}.piece.placed{opacity:.4;cursor:pointer}.piece:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #f3cc87;outline-offset:3px}.controls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}button.control{border:1px solid #d4af7680;border-radius:30px;padding:13px 22px;background:none;color:#f6efe8;font-size:16px;cursor:pointer}button.primary{background:#d4af76;color:#251321}button:disabled{opacity:.4;cursor:default}.note{color:#ad99a8;font-size:13px;text-align:center}#feedback{min-height:22px;text-align:center;font-size:14px;color:#d4af76}dialog{max-width:600px;background:#321d2e;color:#f6efe8;border:1px solid #d4af76;border-radius:20px;padding:25px}dialog::backdrop{background:#100910bb}dialog p{line-height:1.6}dialog button{float:right}body.dragging .piece{cursor:grabbing}@media(max-width:760px){header{height:62px;padding:10px 18px}header a:last-child{font-size:14px}.brand{font-size:24px}main{padding:16px 14px}h1{font-size:27px}.instruction{font-size:14px;line-height:1.4}.workspace{display:flex;flex-direction:column;gap:12px}canvas#puzzle{height:310px}.reveal{width:100%;min-height:130px;padding:14px}.reveal h2{font-size:24px}.reveal p{margin:8px 0;font-size:16px}.pieces{grid-template-columns:repeat(5,1fr);gap:6px;margin:12px 0}.piece{min-height:78px}.piece canvas{height:54px}.controls{gap:8px}button.control{padding:11px 15px;font-size:14px}.counter{font-size:12px}.note{line-height:1.5}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
 .intro{max-width:820px;margin:18px auto 20px;font-size:16px;line-height:1.6;color:#d9cbd4;text-align:center}.intro strong{color:#e1bd83}.reveal .skill{font-weight:bold;font-size:15px}.reveal .origin{font-size:13px;color:#bda8b8}
 .self-profile{max-width:850px;margin:65px auto 25px;border-top:1px solid #d4af7650;padding-top:35px}.self-profile[hidden]{display:none}.self-profile h2{font:30px/1.3 Georgia,serif;color:#e1bd83}.self-profile h3{font:27px/1.4 Georgia,serif}.self-profile p{font-size:16px;line-height:1.6}.skill-question{border:1px solid #d4af7640;border-radius:16px;margin:25px 0;padding:16px}.skill-question legend{font-size:18px;color:#e1bd83;padding:0 8px}.skill-question p{margin:0 0 14px;color:#c9b9c5}.level-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.level-options label{display:flex;gap:9px;align-items:flex-start;padding:12px;border:1px solid #ffffff25;border-radius:12px;cursor:pointer}.level-options label:has(input:checked){background:#d4af7620;border-color:#d4af76}.level-options input{accent-color:#d4af76;margin-top:3px;width:18px;height:18px;flex-shrink:0}.level-options strong{display:block;font-size:15px}.level-options small{display:block;font-size:14px;line-height:1.4;margin-top:6px;color:#c9b9c5}.profile-result{margin-top:30px;padding:25px;border:1px solid #d4af76;border-radius:18px;scroll-margin-top:20px}.profile-result h3{color:#e1bd83}.profile-result h4{font-size:17px;margin-bottom:8px}.profile-result li{font-size:16px;line-height:1.6}.next-action{border-top:1px solid #d4af7640;padding-top:18px}#profileError{color:#f4c286}@media(max-width:600px){.level-options{grid-template-columns:1fr}.self-profile{margin-top:40px}.self-profile h2{font-size:26px}.self-profile h3{font-size:24px}.profile-result{padding:18px}}
 .level-options{grid-template-columns:repeat(2,1fr)}@media(max-width:600px){.level-options{grid-template-columns:1fr}}
@font-face{font-family:Migra;src:url('migra.woff2') format('woff2');font-weight:100 900;font-display:swap}body{font-family:Didot,'Didot LT STD','Bodoni 72',Georgia,serif;font-size:18px}h1,.reveal h2,.self-profile h2,.self-profile h3,dialog h2,dialog h3{font-family:Migra,Didot,serif;font-weight:400}button,input{font-family:inherit}.brand-logo{display:inline-block;width:180px;height:48px;background:#d4af76;mask:url('brainergy-white.png') center/230px 230px no-repeat;-webkit-mask:url('brainergy-white.png') center/230px 230px no-repeat}header{height:80px}.vote-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border:0;padding:0;margin:25px 0}.vote-options legend{margin-bottom:12px}.vote-options label{padding:16px;border:1px solid #d4af7650;border-radius:12px;cursor:pointer}.vote-options label:has(input:checked){background:#d4af7625;border-color:#d4af76}.vote-options input{accent-color:#d4af76;margin-right:10px}.self-profile{scroll-margin-top:25px}.self-profile[hidden],#reportActions[hidden],.profile-result[hidden]{display:none}#skillQuestions{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.skill-question{margin:0}.skill-question legend{font-family:Migra,Didot,serif;font-size:24px}.skill-question p{font-size:17px;min-height:54px}.level-options{grid-template-columns:1fr}.level-options strong{font-size:16px}.level-options small{font-size:14px}.definition-card{padding:12px 0;border-bottom:1px solid #ffffff20}.definition-card p{margin:5px 0}.definition-card strong{color:#dfbd86;font-size:18px}.self-profile form>button{margin-top:20px}#reportActions{margin-top:30px}#emailReport,#subscribeForm{margin-top:35px;padding:24px;border:1px solid #d4af7640;border-radius:18px}#emailReport>label,#subscribeForm>label{display:block;margin:15px 0 8px}input[type=email]{font-size:18px;color:#f6efe8;width:100%;max-width:450px;border:1px solid #d4af7670;border-radius:10px;background:#ffffff08;padding:14px}input[type=checkbox]{accent-color:#d4af76;width:20px;height:20px}footer{text-align:center;margin:60px auto 25px;color:#d4af76}footer p{font:22px Migra,Didot,serif}@media(max-width:760px){header{height:auto;padding:10px 14px}.brand-logo{width:130px;height:40px;mask-size:175px 175px;-webkit-mask-size:175px 175px}header .control{font-size:14px;padding:10px 14px}#skillQuestions{grid-template-columns:1fr}.vote-options{grid-template-columns:repeat(2,1fr)}.skill-question p{min-height:0}.intro{font-size:17px}.self-profile h2{font-size:28px}}

/* Une synthèse en quatre espaces, avec un défi mis en évidence. */
.profile-result{padding:0;border:0;border-radius:0;margin-top:48px}
.self-profile .profile-result>h3{font-size:38px;line-height:1.2;margin:0 0 20px}
.self-profile .profile-result .summary-intro{font-size:20px;line-height:1.65;margin:0 0 30px}
.summary-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.summary-group{padding:28px;border:0;border-radius:20px;background:#3e2839;min-width:0}
.summary-group-3{background:#453041}.summary-group-2{background:#40303a}.summary-group-1{background:#302638}.summary-group-0{background:#35232e}
.profile-result .summary-group h4{font-family:Arial,sans-serif;font-size:20px;line-height:1.3;font-weight:700;letter-spacing:.045em;text-transform:uppercase;color:#f5d59f;margin:0 0 28px}
.profile-result .definition-card{padding:0;border:0;margin:0 0 26px}.profile-result .definition-card:last-child{margin-bottom:0}
.profile-result .definition-card strong{display:block;font-size:23px;line-height:1.3;color:#fff4e7;font-weight:700;margin:0 0 9px}
.self-profile .profile-result .definition-card p{font-size:19px;line-height:1.6;color:#e6d9e2;margin:0}
.self-profile .group-empty{font-size:18px;color:#cab9c5;line-height:1.6;margin:0}
.weekly-challenge{background:#fff7eb;color:#251321;border-radius:20px;padding:32px;margin-top:28px}
.profile-result .weekly-challenge h4{font:36px/1.2 Migra,Georgia,serif;color:#251321;margin:0 0 22px}
.self-profile .weekly-challenge .challenge-skill{font-size:20px;font-weight:700;line-height:1.5;margin:0 0 14px;color:#53394a}
.self-profile .weekly-challenge .next-action{font-size:22px;line-height:1.6;border:0;padding:0;margin:0;color:#251321}
@media(max-width:760px){.summary-groups{grid-template-columns:1fr;gap:18px}.summary-group{padding:24px}.self-profile .profile-result>h3{font-size:32px}.weekly-challenge{padding:25px}.profile-result .weekly-challenge h4{font-size:30px}.self-profile .weekly-challenge .next-action{font-size:20px}}

.summary-groups{grid-template-columns:1fr;gap:18px}
.profile-result .summary-group h4{font-family:Migra,Georgia,serif;font-size:26px;font-weight:400;line-height:1.25;letter-spacing:0;text-transform:none;color:#f5d59f;margin-bottom:22px}
.profile-result .definition-card strong{font-size:20px;line-height:1.35}
.self-profile .profile-result .summary-intro p{font-size:19px;line-height:1.6;margin:0 0 14px}
.self-profile .profile-result>h3{font-size:30px}
.profile-result .weekly-challenge h4{font-size:28px}
@media(max-width:760px){.profile-result .summary-group h4{font-size:24px}.self-profile .profile-result>h3{font-size:28px}.profile-result .weekly-challenge h4{font-size:26px}}

.brand-links{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin:28px 0}.brand-links a{font-size:17px;text-underline-offset:5px}

footer .brand-links{display:flex;align-items:center;justify-content:center;gap:24px 64px;margin:32px 0}footer .brand-links a{display:inline-block;font-size:18px}.about-brainergy{max-width:680px;margin:50px auto 28px}.about-brainergy h2{font:28px Migra,Georgia,serif}.about-brainergy p{font:18px/1.65 Didot,Georgia,serif;color:#e6d9e2}@media(max-width:760px){footer .brand-links{flex-direction:column;gap:20px}}

.legal-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin:28px 0}.legal-links a{font-size:14px}

.about-brainergy h2{font-size:24px}.about-brainergy p{font-size:16px;line-height:1.6}.portrait-credit{font-size:18px;line-height:1.6;color:#d8c6d2;margin:25px auto;max-width:850px}@media(max-width:760px){.portrait-credit{font-size:17px}.about-brainergy p{font-size:16px}}

footer,footer p,footer h2,footer a{color:#fff}footer .brand-logo{background:#fff}footer .legal-links{margin:24px 0 0;gap:12px 20px}footer .legal-links a{font-size:12px;line-height:1.5;color:#fff;text-decoration:none}footer .legal-links a:hover{text-decoration:underline}

footer{margin-top:96px;padding-top:56px;border-top:1px solid rgba(255,255,255,.22)}footer .about-brainergy{margin-top:0}@media(max-width:760px){footer{margin-top:72px;padding-top:40px}}

footer .about-brainergy a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}footer .about-brainergy a:hover{text-decoration-thickness:2px}

.anatomy-overview{margin:64px auto 40px;scroll-margin-top:28px;text-align:center}.anatomy-overview[hidden]{display:none}.anatomy-overview img{display:block;width:100%;height:auto}.anatomy-enlarge{display:inline-block;margin-top:14px;color:#fff;font-size:16px;text-underline-offset:4px}@media(max-width:760px){.anatomy-overview{margin-top:40px;margin-left:-8px;margin-right:-8px}}
