/* Webtech Core — formulaires métier (contact, diagnostic IT, pré-diagnostic, rendez-vous, devis, inscriptions).
   Complète forms.css ; s'appuie sur les variables --wt-* du thème. */
.wtc-form [hidden]{display:none!important}
.wtc-form .wtc-step--m{gap:20px}
.wtc-form .wtc-step--l{gap:24px}
.wtc-form .wt-fields-row{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--wt-min,220px)),1fr))}
.wtc-form .wt-field{align-content:start}
.wtc-form .wt-optional{font-weight:400;color:rgba(13,27,42,.64)}
.wtc-form .wt-label{display:block}
.wtc-form .wt-alert{margin:0}
.wtc-form .wtc-failure strong{font-weight:600}
.wtc-form .wtc-fieldset{display:grid;gap:10px}
.wtc-form .wtc-fieldset > legend{float:left;width:100%;padding:0;margin:0;font-size:15px}
.wtc-form .wtc-fieldset > legend + *{clear:both}
.wtc-form .wtc-fieldset > .wtc-choice-grid,.wtc-form .wtc-fieldset > .wtc-chips{margin-top:10px}
.wtc-form .wtc-fieldset .wt-error-msg{margin-top:2px}
.wtc-form .wtc-fieldset[aria-invalid="true"] .wtc-choice-btn,.wtc-form .wtc-fieldset[aria-invalid="true"] .wtc-chip span{border-color:var(--wt-error,#B42318)}

/* Consentement */
.wtc-agree{display:grid;gap:6px}
.wtc-agree .wt-check{font-size:14px;line-height:1.5}
.wtc-agree .wt-check input{margin-top:1px}
.wtc-agree .wt-error-msg{padding-left:32px}
body.wt-site .wtc-agree a,body.wt-site .wtc-check--soft a{color:var(--wt-blue,#0860B0);text-decoration:underline;text-underline-offset:3px}
.wtc-check--soft{font-size:14px;color:rgba(13,27,42,.72)}

/* Boutons de choix : variantes */
.wtc-form .wtc-choices--chip .wtc-choice-grid{display:flex;flex-wrap:wrap;gap:8px}
.wtc-form .wtc-choices--chip .wtc-choice-btn{font-size:15px;font-weight:500;min-height:48px;padding:8px 16px;text-align:center}
.wtc-form .wtc-choices--chip .wtc-choice-btn[aria-pressed="true"]{padding:7.5px 15.5px}
.wtc-form .wtc-choices--strong .wtc-choice-btn{font-weight:600}
.wtc-form .wtc-choices--card .wtc-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:8px}
.wtc-form .wtc-choices--card .wtc-choice-btn,.wtc-form .wtc-choices--stack .wtc-choice-btn{display:flex;gap:12px;align-items:center;text-align:left;font-size:15px;font-weight:600;line-height:1.3;padding:12px 14px}
.wtc-form .wtc-choices--card .wtc-choice-btn{min-height:64px}
.wtc-form .wtc-choices--card .wtc-choice-btn[aria-pressed="true"],.wtc-form .wtc-choices--stack .wtc-choice-btn[aria-pressed="true"]{padding:11.5px 13.5px}
.wtc-form .wtc-choice-btn__icon{flex:none;color:var(--wt-blue,#0860B0);display:inline-flex}
.wtc-form .wtc-choices--stack .wtc-choice-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.wtc-form .wtc-choices--stack .wtc-choice-btn{min-height:56px}
.wtc-form .wtc-choices--stack .wtc-choice-btn::before{content:"";width:18px;height:18px;border-radius:50%;border:1.5px solid #B9C3CF;flex:none;background:#fff;box-sizing:border-box}
.wtc-form .wtc-choices--stack .wtc-choice-btn[aria-pressed="true"]::before{border:5px solid var(--wt-blue,#0860B0)}
.wtc-form .wtc-choice-btn__text{display:grid;gap:2px}
.wtc-form .wtc-choice-btn__title{font-size:15px;font-weight:600}
.wtc-form .wtc-choice-btn__desc{font-size:13px;font-weight:400;color:rgba(13,27,42,.72)}

/* Puces à choix multiples */
.wtc-chips{display:flex;flex-wrap:wrap;gap:8px}
.wtc-chip{position:relative;display:inline-flex;cursor:pointer}
.wtc-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.wtc-chip span{display:inline-flex;align-items:center;min-height:48px;padding:8px 16px;border-radius:6px;border:1px solid #B9C3CF;background:#fff;font-size:15px;font-weight:500;color:#0D1B2A;line-height:1.3;transition:border-color 160ms,background-color 160ms}
.wtc-chip:hover span{border-color:#0D1B2A}
.wtc-chip input:checked + span{border:1.5px solid #0860B0;background:#E8F0F9;padding:7.5px 15.5px}
.wtc-chip input:focus-visible + span{box-shadow:0 0 0 3px rgba(8,96,176,.24)}

/* Étapes */
.wtc-stepbar{display:grid;gap:10px}
.wtc-stepbar__row{display:flex;justify-content:space-between;gap:12px;font-size:14px;flex-wrap:wrap}
.wtc-stepbar__label{font-weight:600;outline:none}
.wtc-stepbar__aside{color:rgba(13,27,42,.64)}
.wtc-form .wt-progress.wtc-progress--8{gap:4px}
.wtc-form [data-wtc-progress]{display:grid;grid-auto-flow:column}
.wtc-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #DDE3EA;padding-top:20px}
body .wtc-back{font-family:'IBM Plex Sans',sans-serif;border:0;background:transparent;font-size:15px;font-weight:600;color:#0860B0;cursor:pointer;padding:0 4px;min-height:44px}
body .wtc-back:hover{text-decoration:underline;text-underline-offset:3px}
body .wtc-back:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(8,96,176,.24);border-radius:4px}
.wtc-form:has(.wtc-submit[disabled]) [data-wtc-back]{visibility:hidden}
.wtc-nav .wtc-submit{justify-self:auto}
.wtc-panel{display:grid;gap:24px}
.wtc-panel--m{gap:20px}
.wtc-panel[hidden]{display:none}

/* Récapitulatif avec « Modifier » */
.wtc-review{border:1px solid #DDE3EA;border-radius:6px;overflow:hidden}
.wtc-review__row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr) auto;gap:12px;padding:12px 16px;border-bottom:1px solid #DDE3EA;font-size:14px;line-height:1.45;align-items:start}
.wtc-review__row:last-child{border-bottom:0}
.wtc-review__k{color:rgba(13,27,42,.64)}
.wtc-review__v{min-width:0;overflow-wrap:anywhere}
body .wtc-link-btn{font-family:'IBM Plex Sans',sans-serif;border:0;background:transparent;padding:0;font-size:13px;font-weight:600;color:#0860B0;cursor:pointer;min-height:24px;white-space:nowrap}
body .wtc-link-btn:hover{text-decoration:underline;text-underline-offset:3px}
body .wtc-link-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(8,96,176,.24);border-radius:4px}
.wtc-summary{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:12px 14px;border-radius:6px;background:#F4F6F9;align-items:flex-start}
.wtc-summary strong{font-weight:600}
.wtc-summary--plain{display:block}

/* En-têtes de formulaire (inscription, atelier) */
.wtc-form__head{display:grid;gap:8px}
.wtc-form__h2{font-family:'Archivo',sans-serif;font-weight:700;font-size:clamp(24px,2.4vw,32px);line-height:1.15;margin:0}
.wtc-form__intro{font-size:15px;line-height:1.55;color:rgba(13,27,42,.72);margin:0}
.wtc-form__head--modal{padding-right:40px;gap:6px}
.wtc-form__kind{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#0860B0}
.wtc-form__head--modal .wtc-form__title{font-weight:700;font-size:24px;line-height:1.2}
.wtc-form__meta{font-size:14px;color:rgba(13,27,42,.72)}
.wtc-note{font-size:14px;line-height:1.5;padding:12px 14px;border-radius:6px;background:#F4F6F9}
[data-wtc-form="preinscription-formation"]{background:var(--wt-mist,#F4F6F9);border-radius:10px}
[data-wtc-form="preinscription-formation"] .wtc-success{padding:0}
[data-wtc-form="reservation-atelier"]{background:transparent;padding:0;border-radius:0}
body .wtc-submit--block{justify-self:stretch;width:100%}
.wtc-success--m{gap:16px}
.wtc-success__title--h2{font-size:26px;line-height:1.2;margin:0}
.wtc-after{border-top:1px solid #DDE3EA;padding-top:16px;display:grid;gap:10px}
.wtc-after__title{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(13,27,42,.64)}
.wtc-after a{font-weight:600;font-size:15px}
.wtc-success .wt-link-strong{font-size:15px}
body .wtc-success .wtc-close{justify-self:start}
.wtc-success__text strong{font-weight:600;color:#0D1B2A}
.wtc-ics{display:inline-flex;align-items:center;gap:8px}

/* Pré-diagnostic */
.wtc-intro{display:grid;gap:18px}
.wtc-intro__over{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#0860B0}
.wtc-intro__title{font-family:'Archivo',sans-serif;font-weight:700;font-size:clamp(24px,2.6vw,32px);line-height:1.15}
.wtc-intro__text{font-size:16px;line-height:1.55;color:rgba(13,27,42,.72);margin:0}
.wtc-tags{display:flex;gap:8px;flex-wrap:wrap}
.wtc-tags span{font-size:13px;padding:5px 10px;border-radius:6px;background:#F4F6F9}
.wtc-quiz{display:grid;gap:22px}
.wtc-quiz__q{font-family:'Archivo',sans-serif;font-weight:600;font-size:clamp(20px,2.2vw,26px);line-height:1.3;margin:0}
.wtc-quiz__opts{display:grid;gap:10px}
body .wtc-quiz__opt{font-family:'IBM Plex Sans',sans-serif;text-align:left;font-size:16px;line-height:1.4;min-height:56px;padding:12px 16px;border-radius:6px;border:1px solid #B9C3CF;background:#fff;color:#0D1B2A;cursor:pointer;display:flex;gap:12px;align-items:center;transition:border-color 160ms,background-color 160ms}
body .wtc-quiz__opt:hover{border-color:#0860B0}
body .wtc-quiz__opt:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(8,96,176,.24)}
body .wtc-quiz__opt[aria-checked="true"]{border:1.5px solid #0860B0;background:#E8F0F9;padding:11.5px 15.5px}
.wtc-quiz__dot{width:20px;height:20px;border-radius:50%;border:1.5px solid #B9C3CF;flex:none;background:#fff;box-sizing:border-box}
.wtc-quiz__opt[aria-checked="true"] .wtc-quiz__dot{border:6px solid #0860B0}
.wtc-quiz__foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.wtc-quiz__hint{font-size:13px;color:rgba(13,27,42,.64)}
.wtc-result{display:grid;gap:22px}
.wtc-result__top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-end}
.wtc-result__cap{font-size:13px;color:rgba(13,27,42,.64);margin-bottom:6px}
.wtc-result__score{display:flex;align-items:baseline;gap:10px}
.wtc-result__num{font-family:'Archivo',sans-serif;font-weight:700;font-size:48px;line-height:1;color:#0860B0}
.wtc-result__lvl{font-size:16px;color:rgba(13,27,42,.72)}
.wtc-dims{display:grid;gap:8px}
.wtc-dims__row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;align-items:center;font-size:13px}
.wtc-dims__bar{height:8px;border-radius:2px;background:#E8F0F9}
.wtc-dims__bar i{display:block;height:100%;border-radius:2px;background:#0860B0}
.wtc-dims__bar i.is-low{background:#9A5B00}
.wtc-result__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
.wtc-result__card{border:1px solid #DDE3EA;border-radius:6px;padding:18px}
.wtc-result__card--reco{border-color:#0860B0;background:#F7F9FC}
.wtc-result__card h3{font-family:'IBM Plex Sans',sans-serif;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(13,27,42,.64);margin:0 0 12px}
.wtc-result__card--reco h3{color:#0F4877}
.wtc-result__card ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.wtc-result__card li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;font-size:14px;line-height:1.5}
.wtc-result__card li span:first-child{color:#0860B0}
.wtc-result__note{font-size:13px;line-height:1.5;color:rgba(13,27,42,.64);margin:0}
.wtc-capture{display:grid;gap:16px;border-top:1px solid #DDE3EA;padding-top:20px}
.wtc-capture__title{font-family:'Archivo',sans-serif;font-weight:600;font-size:20px}
.wtc-capture .wt-fields-row{--wt-min:200px;gap:16px}

/* Rendez-vous */
.wtc-demo{font-size:12px;padding:8px 12px;border-radius:6px;background:var(--wt-warning-bg,#FDF3E1);border:1px solid var(--wt-warning,#9A5B00)}
.wtc-rdv{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;align-items:start}
.wtc-cal__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.wtc-cal__month{font-weight:600;font-size:15px;text-transform:capitalize}
body .wtc-cal__nav{width:44px;height:44px;border:1px solid #DDE3EA;border-radius:6px;background:#fff;cursor:pointer;font-size:16px;color:#0D1B2A;padding:0}
body .wtc-cal__nav:hover{border-color:#0D1B2A}
body .wtc-cal__nav:disabled{opacity:.4;cursor:not-allowed}
body .wtc-cal__nav:focus-visible,body .wtc-cal__day:focus-visible,body .wtc-slot:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(8,96,176,.24)}
.wtc-cal__dow,.wtc-cal__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.wtc-cal__dow{text-align:center;font-size:12px;color:rgba(13,27,42,.64);margin-bottom:4px}
body .wtc-cal__day{font-family:'IBM Plex Sans',sans-serif;height:44px;border-radius:6px;border:1px solid #0860B0;background:#fff;color:#0D1B2A;font-size:14px;font-weight:400;cursor:pointer;padding:0}
body .wtc-cal__day:disabled{border:1px solid transparent;background:#F4F6F9;color:rgba(13,27,42,.4);cursor:not-allowed}
body .wtc-cal__day[aria-pressed="true"]{border:1.5px solid #0860B0;background:#0860B0;color:#fff;font-weight:600}
.wtc-cal__day.is-blank{visibility:hidden}
.wtc-cal__legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:rgba(13,27,42,.72);margin-top:10px}
.wtc-cal__legend span{display:flex;gap:6px;align-items:center}
.wtc-cal__legend i{width:12px;height:12px;border-radius:3px;border:1px solid #0860B0;display:inline-block}
.wtc-cal__legend i.is-off{border:0;background:#F4F6F9}
.wtc-slots__title{font-weight:600;font-size:15px;margin-bottom:10px}
.wtc-slots__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body .wtc-slot{font-family:'IBM Plex Sans',sans-serif;height:44px;border-radius:6px;border:1px solid #B9C3CF;background:#fff;color:#0D1B2A;font-size:15px;font-weight:600;cursor:pointer;padding:0}
body .wtc-slot:hover{border-color:#0D1B2A}
body .wtc-slot[aria-pressed="true"]{border:1.5px solid #0860B0;background:#0860B0;color:#fff}
.wtc-slots__skel{display:grid;gap:8px}
.wtc-slots__skel i{display:block;height:44px;border-radius:6px;background:#F4F6F9;animation:wtc-pulse 1.2s ease-in-out infinite}
@keyframes wtc-pulse{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.wtc-slots__skel i{animation:none}}
.wtc-slots__msg{font-size:14px;line-height:1.5;padding:14px;border-radius:6px;background:#F4F6F9}
.wtc-slots__hint{font-size:14px;color:rgba(13,27,42,.64)}
.wtc-slots__cap{font-size:13px;color:rgba(13,27,42,.64);display:block;margin-top:8px}
.wtc-form .wtc-inline-btn{font-family:'IBM Plex Sans',sans-serif;border:0;background:transparent;padding:0;font-size:15px;font-weight:600;color:#0860B0;cursor:pointer}

/* Devis */
.wtc-rows{display:grid;gap:10px}
.wtc-rows__label{font-size:15px;font-weight:600}
.wtc-row{display:grid;grid-template-columns:minmax(0,1fr) 88px 44px;gap:8px}
.wtc-row input{min-width:0}
.wtc-row .wt-input[aria-invalid="true"]{border:1.5px solid var(--wt-error,#B42318)}
body .wtc-row__rm{height:48px;width:44px;border:0;background:transparent;cursor:pointer;font-size:18px;color:rgba(13,27,42,.64)}
body .wtc-row__rm:hover{color:#0D1B2A}
body .wtc-row__rm:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(8,96,176,.24);border-radius:6px}
body .wtc-add{justify-self:start;font-family:'IBM Plex Sans',sans-serif;border:0;background:transparent;padding:0 4px;font-size:15px;font-weight:600;color:#0860B0;cursor:pointer;min-height:44px}
body .wtc-add:hover{text-decoration:underline;text-underline-offset:3px}
.wtc-ctx{display:grid;gap:22px}

body .wtc-cta,body .wtc-start{justify-self:start}
.wtc-form .wtc-success--m .wtc-success__title,.wtc-form .wtc-success--m .wtc-success__title--h2{font-weight:700}
.wtc-form .wtc-success--m .wtc-success__title{font-size:24px;line-height:1.2}
