/* V22 — correction des décalages : aucun changement de grille, hauteur ou positionnement. */
:root{--purple:#6940ec;--ink:#12152b}
html{-webkit-text-size-adjust:100%}
body{font-family:Inter,'Segoe UI',Arial,sans-serif!important;color:#12152b;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body :is(.intro,.subtitle,.course-top p,.card-photo p,.stat small,.strip p,.footfacts,.story p){font-family:Inter,'Segoe UI',Arial,sans-serif!important;letter-spacing:-.015em;line-height:1.4}
body :is(h1,h2,h3){font-family:Inter,'Segoe UI',Arial,sans-serif!important;letter-spacing:-.048em!important}
body :is(.nav a,nav a,.register,.primary,.course-link,.result-button){font-family:Inter,'Segoe UI',Arial,sans-serif!important}
body.page-courses .screen{background-image:radial-gradient(ellipse at 100% 0%,#e8e2ff 0%,transparent 45%),radial-gradient(ellipse at 0% 100%,#edf4ff 0%,transparent 42%),url('assets/v21-canvas.svg')!important;background-size:auto,auto,cover!important}
body.page-courses .courses-hero .scenery{background-image:url('assets/v21-canvas.svg')!important;background-position:center!important;opacity:.45!important}
body.page-courses .courses-hero:after{background:linear-gradient(90deg,#fafaff 0%,#fafaffdc 38%,transparent 82%)!important}
body.page-courses .course-card.green .course-top{background-image:url('assets/v21-green.svg')!important}
body.page-courses .course-card.blue .course-top{background-image:url('assets/v21-blue.svg')!important}
body.page-courses .course-card.pink .course-top{background-image:url('assets/v21-rose.svg')!important}
body.page-courses .course-top:after{background:linear-gradient(0deg,rgba(6,10,30,.74),rgba(6,10,30,.07) 100%)!important}
body.page-courses .course-card{border-radius:16px!important;border:1px solid #e5e3ef!important;box-shadow:0 9px 30px #16113a16!important}
body.page-courses .course-top h2{font-size:clamp(19px,1.55vw,26px)!important;line-height:1.08!important;letter-spacing:-.035em!important}
body.page-courses .course-top p{font-size:clamp(11px,.84vw,14px)!important;line-height:1.25!important}
body.page-courses .course-bottom{background:#fff!important}
body.page-courses .course-link{border-radius:10px!important}
body.page-results .results-page{background:radial-gradient(ellipse at 95% 0%,#e9e3ff,transparent 49%),#fafaff!important}
body.page-results .scenery{background-image:linear-gradient(90deg,#fafaff 0%,#fafaffdb 15%,#fafaff00 72%),linear-gradient(0deg,#fafaff 0%,transparent 45%),url('assets/v21-results.svg')!important;background-position:center!important}
body.page-results .course-card.green .card-photo{background-image:url('assets/v21-green.svg')!important}
body.page-results .course-card.blue .card-photo{background-image:url('assets/v21-blue.svg')!important}
body.page-results .course-card.pink .card-photo{background-image:url('assets/v21-rose.svg')!important}
body.page-results .card-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#080d2db8,transparent 88%);pointer-events:none}
body.page-results .card-photo :is(h2,p,.distance,.challenge-badge){z-index:2}
body.page-results .course-card{border-radius:16px!important;border-color:#e6e2f1!important;box-shadow:0 12px 34px #17113b16!important}
body.page-results .card-photo p{font-size:clamp(12px,.88vw,15px)!important;line-height:1.3!important}
body.page-results .stat small{font-size:clamp(10px,.72vw,12px)!important;line-height:1.2!important}
body.page-results .result-button{border-radius:10px!important}
body :is(.register,.primary){border-radius:12px!important;background:#6840ed!important;box-shadow:0 9px 25px #6940ec2a!important}
body :is(.nav a,nav a){letter-spacing:.045em}
body :is(.register,.primary,.course-link,.result-button){transition:transform .2s ease,box-shadow .2s ease}
body :is(.register,.primary,.course-link,.result-button):hover{transform:translateY(-2px)}
@media(max-width:900px){body.page-courses .course-top h2{font-size:23px!important}body.page-courses .course-top p{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){body *{transition:none!important}}
