*{box-sizing:border-box}
:root{--ink:#2F353F;--blue:#4A697D;--muted:#68727b;--line:#dfe4e5;--paper:#F8F8F8;--white:#fff;--sage:#e8eee9}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:10px;z-index:5}
.skip:focus{left:10px}
.study-header{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,72px);border-bottom:1px solid var(--line);background:rgba(248,248,248,.96)}
.brand img{width:112px;display:block}
.header-right{display:flex;align-items:center;gap:24px}
.back-link{text-decoration:none;color:var(--blue);font-size:.92rem}
.lang-switch{display:flex;gap:4px;padding:4px;background:#edf0ef;border-radius:999px}
.lang-switch button{border:0;background:transparent;border-radius:999px;padding:7px 12px;color:#59636a;font-size:.78rem;font-weight:700}
.lang-switch button.active{background:#fff;color:var(--ink);box-shadow:0 1px 5px #26323818}
.wrap{width:min(980px,calc(100% - 40px));margin:0 auto}
.intro{padding:72px 0 42px;max-width:840px}
.eyebrow{font-size:.72rem;letter-spacing:.14em;font-weight:750;color:var(--blue);margin:0 0 16px}
h1{font-size:clamp(2.2rem,5vw,4.1rem);line-height:1.08;letter-spacing:-.045em;font-weight:600;max-width:820px;margin:0 0 22px}
.lead{font-size:1.12rem;line-height:1.65;color:#5c666d;max-width:760px;margin:0}
.intro-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px}
.intro-facts div{border-top:1px solid #bfc9c9;padding:14px 8px 0 0;display:flex;flex-direction:column;gap:4px}
.intro-facts strong{font-size:.95rem;font-weight:650}
.intro-facts span{font-size:.83rem;color:var(--muted);line-height:1.45}
.choice{padding:32px 0 78px}
.section-heading{margin-bottom:24px}
.section-heading h2,.survey-heading h2{font-size:clamp(1.7rem,3.2vw,2.5rem);letter-spacing:-.03em;line-height:1.15;font-weight:600;margin:0 0 10px}
.section-heading>p:last-child,.survey-heading>p:last-child{color:var(--muted);margin:0}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.profile-card{position:relative;text-align:left;border:1px solid var(--line);background:#fff;border-radius:18px;padding:26px;min-height:240px;display:flex;flex-direction:column;align-items:flex-start;color:var(--ink);transition:border-color .2s,transform .2s,box-shadow .2s}
.profile-card:hover{border-color:#8da3a7;transform:translateY(-2px);box-shadow:0 12px 32px #1c30300d}
.profile-card:focus-visible,.text-button:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #91a9b0;outline-offset:3px}
.card-index{font-size:.75rem;color:var(--blue);font-weight:750;letter-spacing:.1em;margin-bottom:25px}
.card-title{font-size:1.35rem;line-height:1.25;font-weight:650;max-width:360px}
.card-copy{font-size:.92rem;color:var(--muted);margin-top:12px;max-width:400px}
.card-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:auto;padding-top:22px;font-size:.8rem;color:var(--blue);font-weight:650}
.small-note{font-size:.82rem;color:#737d82;max-width:760px;margin:24px 0 0}
.hidden{display:none!important}
.survey{padding:24px 0 80px;max-width:780px;margin:0 auto}
.survey-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}
.text-button{border:0;background:transparent;color:var(--blue);padding:6px 0;font-weight:650}
.survey-kind{font-size:.78rem;color:var(--muted);text-align:right}
.survey-heading{margin-bottom:26px}
.survey-heading h2{font-size:2rem}
.survey-heading>p:last-child{margin-top:8px}
.progress-wrap{margin:0 0 20px}
.progress-label{display:flex;justify-content:space-between;font-size:.78rem;color:var(--muted);margin-bottom:7px}
.progress-track{height:5px;background:#e4e9e8;border-radius:99px;overflow:hidden}
.progress-track span{display:block;height:100%;width:0;background:var(--blue);transition:width .2s}
.question-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,38px);min-height:310px}
.question-count{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);font-weight:750;margin:0 0 14px}
.question-card h3{font-size:1.28rem;line-height:1.4;font-weight:600;margin:0 0 25px}
.choice-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choice-option{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid #e1e6e6;border-radius:10px;font-size:.92rem;line-height:1.4;cursor:pointer;background:#fff}
.choice-option:has(input:checked){border-color:#6d8791;background:#f1f5f4}
.choice-option input{accent-color:#4A697D;margin:3px 0 0;flex:0 0 auto}
.scale-options{display:flex;gap:10px;flex-wrap:wrap}
.scale-option{width:48px;height:48px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;position:relative;cursor:pointer;font-weight:650}
.scale-option:has(input:checked){background:var(--blue);border-color:var(--blue);color:#fff}
.scale-option input{position:absolute;opacity:0}
.scale-ends{font-size:.78rem;color:var(--muted);margin-top:13px}
.answer-control select,.answer-control textarea,.other-field{width:100%;border:1px solid #d8dfdf;border-radius:10px;background:#fff;padding:13px 14px;color:var(--ink)}
.answer-control textarea{resize:vertical;min-height:120px}
.other-field{margin-top:12px}
.neutral-description{background:#f2f5f3;border-left:3px solid #78918b;padding:14px 16px;border-radius:0 9px 9px 0;color:#56636a;font-size:.9rem;margin:-8px 0 22px}
.form-actions{display:flex;justify-content:space-between;gap:14px;margin-top:18px}
.primary-button,.secondary-button{border-radius:999px;padding:12px 22px;font-weight:650;border:1px solid var(--blue)}
.primary-button{background:var(--blue);color:#fff}
.secondary-button{background:transparent;color:var(--blue)}
.primary-button:disabled,.secondary-button:disabled{opacity:.35;cursor:not-allowed}
.form-note{font-size:.78rem;color:#798286;line-height:1.5;margin-top:20px}
.submit-message{background:#eef2f0;border-radius:10px;padding:14px 16px;font-size:.88rem;color:#52645e;margin-top:15px}
.completion{padding:24px 0}
.completion h3{font-size:1.5rem;margin:0 0 8px}
.completion p{color:var(--muted)}
.error{color:#a33}
.study-footer{border-top:1px solid var(--line);padding:22px clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:.78rem;color:var(--muted)}
.study-footer a{text-decoration:none;color:var(--blue)}
@media(max-width:700px){
 .study-header{height:70px;padding:0 18px}.brand img{width:96px}.header-right{gap:12px}.back-link{font-size:.82rem}
 .wrap{width:calc(100% - 36px)}.intro{padding:48px 0 28px}
 .intro-facts{grid-template-columns:1fr;gap:12px;margin-top:25px}
 .intro-facts div{padding-top:10px}.profile-grid{grid-template-columns:1fr}
 .profile-card{min-height:215px;padding:22px}
 .choice{padding:22px 0 55px}.survey{padding-top:14px}
 .choice-list{grid-template-columns:1fr}
 .question-card{min-height:0}
 .study-footer{flex-wrap:wrap}
}
@media(max-width:380px){.back-link{font-size:0}.back-link:first-letter{font-size:.9rem}.lang-switch button{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}


/* KALY V23 — identité visuelle de l’étude */
:root{--ink:#2F353F;--blue:#4A697D;--muted:#68727b;--line:#dfe4e5;--paper:#F8F8F8;--white:#fff;--sage:#e8eee9;--peach:#F4C69B;--mint:#C9DCCF;--lavender:#C9D2E8}
.study-header{background:rgba(248,248,248,.97)}
.brand img{width:118px;max-height:48px;object-fit:contain}
.intro{position:relative;padding-top:64px}
.intro:before{content:"";position:absolute;z-index:-1;right:-7vw;top:28px;width:min(34vw,330px);height:250px;border-radius:48% 52% 58% 42%;background:radial-gradient(circle at 35% 35%,#dce9df 0 18%,transparent 62%),radial-gradient(circle at 70% 65%,#f7dfc8 0 18%,transparent 60%);opacity:.7;filter:blur(1px)}
.eyebrow{color:var(--blue)}
.intro-brandline{display:flex;align-items:center;gap:12px;margin-top:28px;color:#68727b;font-size:.88rem}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;padding:5px 11px;border-radius:999px;background:#e8eee9;color:#4A697D;font-size:.72rem;font-weight:800;letter-spacing:.12em}
.intro-facts div{border-top:2px solid #c9d8d0}
.profile-card{overflow:hidden;border-color:#dfe5e2;background:linear-gradient(145deg,#fff 0%,#fff 78%,#f1f5f1 100%)}
.profile-card:nth-child(2){background:linear-gradient(145deg,#fff 0%,#fff 78%,#f8eee5 100%)}
.profile-card:hover{border-color:#91a9a0}
.card-index{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#e8eee9}
.profile-card:nth-child(2) .card-index{background:#f8e8d9}
.progress-track span{background:linear-gradient(90deg,#4A697D,#91a99a)}
.question-card{position:relative;overflow:hidden;border-color:#dce4e0;box-shadow:0 12px 35px rgba(47,53,63,.045);padding-bottom:90px}
.question-card:after{content:"";position:absolute;right:-55px;bottom:-78px;width:190px;height:150px;border-radius:50%;background:radial-gradient(circle,#e8eee9 0 30%,#f5e8dc 72%,transparent 73%);opacity:.55;pointer-events:none}
.study-mascot{position:absolute;right:20px;bottom:8px;width:104px;height:88px;object-fit:contain;object-position:center bottom;z-index:1;pointer-events:none}
.form-actions{position:relative;z-index:2}
.primary-button{background:#4A697D;border-color:#4A697D}
.primary-button:hover{background:#38586d}
.submit-message{border:1px solid #d8e5dc;background:#edf3ef}
.submit-message.error{border-color:#e7c5c2;background:#fbefee;color:#9a403b}
.study-footer{background:#f1f4f1}
@media(max-width:700px){.intro{padding-top:42px}.intro:before{right:-18px;top:12px;width:180px;height:150px;opacity:.45}.intro-brandline{margin-top:22px;font-size:.8rem}.study-mascot{width:78px;height:68px;right:12px;bottom:6px}.question-card{padding-bottom:76px}}

/* Mascotte principale — page d’accueil de l’étude uniquement */
.intro{padding-right:220px}
.intro-mascot{
  position:absolute;
  top:76px;
  right:0;
  width:190px;
  height:210px;
  object-fit:contain;
  object-position:center;
  z-index:1;
}
.intro h1,.intro .lead,.intro .intro-brandline,.intro .intro-facts{position:relative;z-index:2}
@media(max-width:700px){
  .intro{padding-right:0}
  .intro-mascot{
    position:relative;
    display:block;
    top:auto;
    right:auto;
    width:112px;
    height:112px;
    margin:0 0 16px auto;
  }
}
