/* WeCair — Test d'éligibilité. Charte reprise du formulaire Elementor d'origine. */
.wte{
  --wte-blue:#0220FF;
  --wte-blue-dark:#0118c7;
  --wte-bg:#F5F5F5;
  --wte-ink:#000;
  --wte-muted:#5b6170;
  --wte-line:#69727D;
  --wte-error:#c0392b;
  display:grid;grid-template-columns:minmax(0,36%) minmax(0,1fr);
  font-family:inherit;color:var(--wte-ink);line-height:1.45;
  max-width:1160px;margin:0 auto;scroll-margin-top:150px;
}
.wte *,.wte *::before,.wte *::after{box-sizing:border-box}

/* Panneau gauche */
.wte-intro{background:var(--wte-blue);color:#fff;border-radius:20px;padding:40px;position:relative;z-index:1}
.wte-time{display:flex;align-items:center;gap:8px;margin:0 0 28px;font-size:16px;color:#fff}
.wte .wte-title{font-family:inherit;font-size:clamp(30px,3.4vw,44px);font-weight:400;line-height:1.12;color:#fff;margin:0 0 24px}
.wte-lead{font-size:16px;line-height:1.6;color:#fff;margin:0}

/* Panneau droit */
.wte-main{background:var(--wte-bg);border-radius:0 20px 20px 0;margin-left:-20px;padding:40px 40px 40px 80px;min-height:100%}
.wte-form{display:flex;flex-direction:column}

.wte-progress{display:flex;gap:8px;margin-bottom:26px}
.wte-progress-bar{flex:1;height:4px;border-radius:4px;background:#d9dbe0;transition:background .25s}
.wte-progress-bar.is-active,.wte-progress-bar.is-done{background:var(--wte-blue)}

.wte-step[hidden],.wte-result[hidden],.wte [hidden]{display:none!important}
.wte-step.is-active{animation:wte-in .3s ease}
@keyframes wte-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.wte-kicker{margin:0 0 2px;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--wte-blue)}
.wte .wte-step-title{font-family:inherit;font-size:26px;font-weight:400;margin:0 0 22px;color:var(--wte-ink)}
.wte-step-intro{margin:-12px 0 20px;color:var(--wte-muted)}

/* Questions */
.wte-q{border:0;margin:0 0 22px;padding:0;min-width:0}
.wte-q-label{display:block;float:none;width:100%;padding:0;margin:0 0 12px;font-size:16px;font-weight:400;color:var(--wte-ink)}
.wte-options{display:flex;flex-wrap:wrap;gap:10px 14px}
.wte-option{position:relative;display:inline-flex;cursor:pointer;margin:0}
.wte-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.wte-option span{display:inline-block;padding:10px 18px;border:.8px solid var(--wte-ink);border-radius:5px;font-size:16px;line-height:1.2;background:transparent;transition:background .15s,color .15s,border-color .15s}
.wte-option:hover span{border-color:var(--wte-blue);color:var(--wte-blue)}
.wte-option input:checked + span{background:var(--wte-blue);border-color:var(--wte-blue);color:#fff}
.wte-option input:focus-visible + span{outline:2px solid var(--wte-blue);outline-offset:2px}

.wte .wte-input{display:block;width:100%;height:50px;padding:8px 16px;font:inherit;font-size:15px;color:var(--wte-ink);background:transparent;border:.8px solid var(--wte-line);border-radius:3px;box-shadow:none;margin:0}
.wte .wte-input--age{max-width:200px}
.wte .wte-input:focus{outline:none;border-color:var(--wte-blue);box-shadow:0 0 0 1px var(--wte-blue)}
.wte .wte-input::placeholder{color:#777}
.wte-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.wte-grid .wte-q{margin-bottom:16px}

.wte-check{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:15px;margin:0}
.wte-check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--wte-blue);flex:none}
.wte-legal{font-size:12.5px;color:var(--wte-muted);margin:-8px 0 16px}
.wte-legal a{color:inherit;text-decoration:underline}
.wte-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.wte-turnstile:empty{display:none}
.wte-turnstile{margin-bottom:12px}

/* Erreurs */
.wte-q-error{margin:6px 0 0;font-size:13px;color:var(--wte-error);min-height:0}
.wte-q-error:empty{display:none}
.wte-q.has-error .wte-input{border-color:var(--wte-error)}
.wte-q.has-error .wte-option span{border-color:var(--wte-error)}
.wte-message{margin:0 0 12px;font-size:14px;color:var(--wte-error)}
.wte-message:empty{display:none}

/* Boutons (reset du thème Hello Elementor) */
.wte .wte-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:14px 32px;border:0;border-radius:10px;background:var(--wte-blue);color:#fff;font:inherit;font-size:18px;font-weight:500;line-height:1.1;text-decoration:none;cursor:pointer;transition:background .15s,opacity .15s;box-shadow:none}
.wte .wte-btn:hover,.wte .wte-btn:focus{background:var(--wte-blue-dark);color:#fff}
.wte .wte-btn:focus-visible{outline:2px solid var(--wte-blue);outline-offset:3px}
.wte .wte-btn:disabled{opacity:.55;cursor:wait}
.wte .wte-btn--ghost{background:transparent;color:var(--wte-blue);box-shadow:inset 0 0 0 1px var(--wte-blue)}
.wte .wte-btn--ghost:hover,.wte .wte-btn--ghost:focus{background:var(--wte-blue);color:#fff}
.wte-nav{display:flex;gap:12px;margin-top:18px}
.wte-nav .wte-btn{flex:1}

/* Résultat */
.wte-result{animation:wte-in .35s ease;outline:none}
.wte-result-head{display:flex;align-items:center;gap:18px;margin-bottom:22px}
.wte-dot{width:52px;height:52px;border-radius:50%;background:var(--wte-dot);flex:none;box-shadow:0 0 0 8px color-mix(in srgb,var(--wte-dot) 22%,transparent)}
.wte .wte-result-title{font-family:inherit;font-size:30px;font-weight:500;margin:0;color:var(--wte-ink)}
.wte-result-sub{margin:2px 0 0;color:var(--wte-muted);font-size:16px}
.wte-result-text{font-size:16px;line-height:1.65;margin:0 0 28px;max-width:60ch}
.wte-ctas{display:flex;flex-wrap:wrap;gap:12px}

/* Responsive */
@media (max-width:900px){
  .wte{grid-template-columns:1fr}
  .wte-intro{padding:32px 24px 52px}
  .wte-main{margin:-20px 0 0;border-radius:20px;padding:32px 24px}
  .wte-time{margin-bottom:18px}
}
@media (max-width:560px){
  .wte-grid{grid-template-columns:1fr}
  .wte-option span{padding:10px 14px;font-size:15px}
  .wte .wte-btn{padding:14px 20px;font-size:17px}
  .wte-ctas .wte-btn{width:100%}
  .wte .wte-input--age{max-width:none}
}
@media (prefers-reduced-motion:reduce){.wte-step.is-active,.wte-result{animation:none}}
