/* Autodiagnostic NovaConsult – styles isolés sous .nc-autodiag pour éviter les conflits avec Divi */
.nc-autodiag{
  --nc-bg:#F5F8F7; --nc-surface:#FFFFFF; --nc-ink:#1E264A; --nc-muted:#545C7A; --nc-line:#D9E2DF;
  --nc-teal:#20B08D; --nc-teal-ink:#0F7A60; --nc-teal-soft:#DDF3EC; --nc-step-off:#E6ECEA; --nc-error:#B42318;
  font-family:'Lexend',system-ui,-apple-system,'Segoe UI',sans-serif !important;
  font-weight:300; font-size:17px; line-height:1.6; color:var(--nc-ink);
  background:var(--nc-bg); border-radius:20px; padding:40px 32px; max-width:880px; margin:0 auto;
}
.nc-autodiag *,.nc-autodiag *::before,.nc-autodiag *::after{box-sizing:border-box}
.nc-autodiag h2,.nc-autodiag h3,.nc-autodiag legend{font-family:inherit !important;color:var(--nc-ink);font-weight:600;line-height:1.15;margin:0;padding:0;letter-spacing:-0.01em}
.nc-autodiag p{margin:0;padding:0;font-family:inherit}
.nc-autodiag ul,.nc-autodiag ol{margin:0;padding:0;list-style:none}
.nc-autodiag ul li,.nc-autodiag ol li{list-style:none;margin:0;padding:0}
.nc-autodiag a{color:var(--nc-teal-ink)}
.nc-autodiag .nc-logo{height:34px;width:auto;display:block;margin-bottom:8px}
.nc-autodiag .nc-h1{font-size:clamp(30px,5vw,48px);max-width:16ch}
.nc-autodiag .nc-h2{font-size:clamp(24px,3.6vw,32px)}
.nc-autodiag .nc-h3{font-size:20px}
.nc-autodiag .nc-lead{font-size:clamp(17px,2.2vw,20px);color:var(--nc-muted);max-width:52ch}
.nc-autodiag .nc-stack{display:grid;gap:20px}
.nc-autodiag .nc-hero{display:grid;gap:36px}
.nc-autodiag .nc-facts{display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--nc-muted);font-size:15px}
.nc-autodiag .nc-facts li::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--nc-teal);margin-right:8px;vertical-align:middle}

/* Marches */
.nc-autodiag .nc-stairs{display:grid;grid-template-columns:repeat(4,1fr);align-items:end;gap:8px}
.nc-autodiag .nc-stairs li{display:flex;flex-direction:column;gap:6px;padding:16px 14px;border-radius:14px 14px 4px 4px;background:var(--nc-step-off);color:var(--nc-ink)}
.nc-autodiag .nc-stairs li:nth-child(1){height:96px}.nc-autodiag .nc-stairs li:nth-child(2){height:144px}
.nc-autodiag .nc-stairs li:nth-child(3){height:192px}.nc-autodiag .nc-stairs li:nth-child(4){height:240px}
.nc-autodiag .nc-stairs .n{font-weight:700;font-size:22px;line-height:1}
.nc-autodiag .nc-stairs .nm{font-weight:500;font-size:15px;line-height:1.2}
.nc-autodiag .nc-stairs li.on{background:var(--nc-teal);color:#fff}
.nc-autodiag .nc-stairs li.past{background:var(--nc-teal-soft)}
.nc-autodiag .nc-stairs .you{font-size:13px;font-weight:600;margin-top:auto}

/* Boutons */
.nc-autodiag .nc-btn{font-family:inherit !important;font-weight:500;font-size:17px;line-height:1.2;border:0;border-radius:999px;padding:14px 28px;cursor:pointer;min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none !important;box-shadow:none;text-transform:none;letter-spacing:0}
.nc-autodiag .nc-btn-primary{background:var(--nc-ink);color:#fff !important}
.nc-autodiag .nc-btn-primary:hover{opacity:.9}
.nc-autodiag .nc-btn-ghost{background:transparent;color:var(--nc-ink) !important;border:1.5px solid var(--nc-line)}
.nc-autodiag .nc-btn-ghost:hover{border-color:var(--nc-ink)}
.nc-autodiag .nc-btn[disabled]{opacity:.4;cursor:not-allowed}
.nc-autodiag :focus-visible{outline:3px solid var(--nc-teal);outline-offset:3px}

/* Questionnaire */
.nc-autodiag .nc-progress{display:grid;gap:10px;margin-bottom:28px}
.nc-autodiag .nc-meta{display:flex;justify-content:space-between;gap:16px;font-size:15px;color:var(--nc-muted)}
.nc-autodiag .nc-meta b{color:var(--nc-teal-ink);font-weight:500}
.nc-autodiag .nc-bar{height:6px;background:var(--nc-step-off);border-radius:99px;overflow:hidden}
.nc-autodiag .nc-bar span{display:block;height:100%;background:var(--nc-teal);width:0;transition:width .35s ease}
.nc-autodiag fieldset{border:0;margin:0;padding:0;display:grid;gap:12px;min-width:0}
.nc-autodiag legend{font-size:clamp(21px,3.2vw,28px);margin-bottom:18px;max-width:30ch}
.nc-autodiag .nc-opt{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;background:var(--nc-surface);border:1.5px solid var(--nc-line);border-radius:14px;cursor:pointer;margin:0;font-weight:400}
.nc-autodiag .nc-opt:hover{border-color:var(--nc-muted)}
.nc-autodiag .nc-opt input[type=radio]{appearance:none;-webkit-appearance:none;flex:0 0 22px;width:22px;height:22px;border:2px solid var(--nc-muted);border-radius:50%;margin:2px 0 0;display:grid;place-content:center;background:var(--nc-surface);padding:0}
.nc-autodiag .nc-opt input[type=radio]::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--nc-teal);transform:scale(0);transition:transform .12s}
.nc-autodiag .nc-opt input[type=radio]:checked{border-color:var(--nc-teal)}
.nc-autodiag .nc-opt input[type=radio]:checked::after{transform:scale(1)}
.nc-autodiag .nc-opt.is-checked{border-color:var(--nc-teal);background:var(--nc-teal-soft)}
.nc-autodiag .nc-nav{display:flex;justify-content:space-between;gap:12px;margin-top:28px;flex-wrap:wrap}

/* Formulaire de coordonnées */
.nc-autodiag .nc-form{display:grid;gap:16px}
.nc-autodiag .nc-grid2{display:grid;gap:16px}
@media(min-width:640px){.nc-autodiag .nc-grid2{grid-template-columns:1fr 1fr}}
.nc-autodiag .nc-field{display:grid;gap:6px}
.nc-autodiag .nc-field label{font-size:15px;font-weight:500;color:var(--nc-ink);margin:0}
.nc-autodiag .nc-field input[type=text],.nc-autodiag .nc-field input[type=email],.nc-autodiag .nc-field input[type=tel]{font-family:inherit !important;font-size:16px;font-weight:400;color:var(--nc-ink);background:var(--nc-surface);border:1.5px solid var(--nc-line);border-radius:10px;padding:12px 14px;width:100%;min-height:48px;margin:0;box-shadow:none}
.nc-autodiag .nc-field input:focus{border-color:var(--nc-teal);outline:none}
.nc-autodiag .nc-check{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.5;margin:0;font-weight:300}
.nc-autodiag .nc-check input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;accent-color:var(--nc-teal)}
.nc-autodiag .nc-req{color:var(--nc-teal-ink)}
.nc-autodiag .nc-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.nc-autodiag .nc-error{color:var(--nc-error);font-size:15px;font-weight:400}

/* Résultat */
.nc-autodiag .nc-result{display:grid;gap:40px}
.nc-autodiag .nc-score{color:var(--nc-muted);font-size:16px}
.nc-autodiag .nc-h2 span{color:var(--nc-teal-ink)}
.nc-autodiag .nc-cols{display:grid;gap:24px}
@media(min-width:760px){.nc-autodiag .nc-cols{grid-template-columns:1fr 1fr}}
.nc-autodiag .nc-panel{background:var(--nc-surface);border:1px solid var(--nc-line);border-radius:18px;padding:26px;display:grid;gap:16px;align-content:start}
.nc-autodiag .nc-axes{display:grid;gap:16px}
.nc-autodiag .nc-axes li{display:grid;gap:6px}
.nc-autodiag .nc-axes .row{display:flex;justify-content:space-between;font-size:15px}
.nc-autodiag .nc-axes .row b{font-weight:500}
.nc-autodiag .nc-axes .nc-bar{height:10px}
.nc-autodiag .nc-axes li.weak .nc-bar span{background:var(--nc-muted)}
.nc-autodiag .nc-offers{display:grid;gap:14px}
.nc-autodiag .nc-offers li{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:baseline;font-size:16px}
.nc-autodiag .nc-offers li.need{display:block;font-weight:600;font-size:17px;padding-top:12px;border-top:1px solid var(--nc-line)}
.nc-autodiag .nc-offers li.need:first-child{padding-top:0;border-top:0}
.nc-autodiag .nc-offers .mode{font-weight:500;color:var(--nc-teal-ink);font-size:14px}
.nc-autodiag .nc-note{font-size:15px;color:var(--nc-muted)}
.nc-autodiag .nc-callout{background:var(--nc-teal-soft);border-radius:18px;padding:26px;display:grid;gap:12px}
.nc-autodiag .nc-cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.nc-autodiag .nc-foot{border-top:1px solid var(--nc-line);margin-top:36px;padding-top:20px;color:var(--nc-muted);font-size:14px;display:grid;gap:4px}
.nc-autodiag .nc-foot a{color:inherit}

@media(max-width:560px){
  .nc-autodiag{padding:28px 18px;border-radius:0}
  .nc-autodiag .nc-stairs{gap:5px}
  .nc-autodiag .nc-stairs li{padding:12px 8px}
  .nc-autodiag .nc-stairs .nm{font-size:12px}
  .nc-autodiag .nc-stairs li:nth-child(1){height:72px}.nc-autodiag .nc-stairs li:nth-child(2){height:108px}
  .nc-autodiag .nc-stairs li:nth-child(3){height:144px}.nc-autodiag .nc-stairs li:nth-child(4){height:180px}
  .nc-autodiag .nc-offers li{grid-template-columns:1fr;gap:2px}
  .nc-autodiag .nc-panel{padding:20px}
}
@media (prefers-reduced-motion:reduce){.nc-autodiag *{transition:none !important}}
