/* Standard Externalisé – tarificateur public v0.4.0
   Charte Office & Call : violet #5E3570 / #8C54A1, rose #EDCFEE, Trebuchet MS. */
.set-wrap{
  --set-ink:#2A1B31;--set-muted:#6A5F70;--set-deep:#5E3570;--set-violet:#8C54A1;
  --set-rose:#EDCFEE;--set-pale:#FAF6FB;--set-line:#E3D6E6;--set-white:#fff;--set-error:#A3261D;
  --set-sticky-top:32px;
  max-width:1080px;margin:0 auto;color:var(--set-ink);
  font-family:"Trebuchet MS","Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;font-size:16px;line-height:1.55;
}
.set-wrap *,.set-wrap *::before,.set-wrap *::after{box-sizing:border-box}
.set-wrap [hidden]{display:none!important}
.set-wrap i{font-style:normal;font-weight:400;color:var(--set-muted);font-size:13px;margin-left:4px}

/* En-tête */
.set-wrap .set-head{max-width:720px;margin:0 0 28px}
.set-wrap .set-head h2{margin:0 0 10px;font-size:clamp(26px,3.4vw,36px);line-height:1.2;font-weight:700;color:var(--set-deep);letter-spacing:-.01em}
.set-wrap .set-head p{margin:0;color:var(--set-muted);font-size:17px;line-height:1.6}

/* Étapes */
.set-wrap .set-steps{list-style:none;display:flex;gap:0;margin:0 0 24px;padding:0;counter-reset:none}
.set-wrap .set-steps li{flex:1 1 0;position:relative;margin:0;padding:0}
.set-wrap .set-steps li::before{content:"";position:absolute;top:15px;left:32px;right:0;height:2px;background:var(--set-rose)}
.set-wrap .set-steps li:last-child::before{display:none}
.set-wrap .set-steps li:last-child{flex:0 0 auto}
.set-wrap .set-steps li:last-child button{align-items:flex-end}
.set-wrap .set-steps li:last-child .set-steps-label{padding-right:0}
.set-wrap .set-steps li.is-done::before{background:var(--set-violet)}
.set-wrap .set-steps button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;margin:0;padding:0;border:0;background:none;box-shadow:none;font:inherit;color:var(--set-muted);text-align:left;cursor:default;min-height:0;text-transform:none;letter-spacing:0}
.set-wrap .set-steps-num{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--set-white);border:2px solid var(--set-rose);color:var(--set-muted);font-weight:700;font-size:14px}
.set-wrap .set-steps-label{font-size:14px;font-weight:700;padding-right:10px}
.set-wrap .set-steps li.is-active .set-steps-num{background:var(--set-deep);border-color:var(--set-deep);color:#fff}
.set-wrap .set-steps li.is-active .set-steps-label{color:var(--set-deep)}
.set-wrap .set-steps li.is-done .set-steps-num{background:var(--set-violet);border-color:var(--set-violet);color:#fff}
.set-wrap .set-steps li.is-done button{cursor:pointer;color:var(--set-ink)}
.set-wrap .set-steps li.is-done button:hover .set-steps-label{text-decoration:underline}
.set-wrap .set-steps button:focus-visible{outline:2px solid var(--set-deep);outline-offset:4px;border-radius:4px}

/* Mise en page : formulaire + récapitulatif */
.set-wrap .set-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.set-wrap .set-form{background:var(--set-white);border:1px solid var(--set-line);border-radius:14px;margin:0;padding:0}
.set-wrap .set-step{display:none;padding:32px 36px 28px}
.set-wrap .set-step.is-active{display:block}
.set-wrap .set-step-title{margin:0 0 24px;font-size:23px;line-height:1.25;font-weight:700;color:var(--set-ink)}
.set-wrap .set-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Champs */
.set-wrap .set-grid{display:grid;gap:0 20px}
.set-wrap .set-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.set-wrap .set-grid-cp{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.set-wrap .set-col-full{grid-column:1/-1}
.set-wrap .set-field{display:block;margin:0 0 20px}
.set-wrap .set-label{display:block;margin:0 0 6px;padding:0;font-size:15px;font-weight:700;color:var(--set-ink)}
.set-wrap .set-field input[type=text],.set-wrap .set-field input[type=email],.set-wrap .set-field input[type=tel],.set-wrap .set-field input[type=number],.set-wrap .set-field select,.set-wrap .set-field textarea{
  display:block;width:100%;min-height:46px;margin:0;padding:10px 12px;border:1px solid #CDBBD2;border-radius:8px;background:var(--set-white);color:var(--set-ink);font:inherit;font-size:16px;line-height:1.4;box-shadow:none;outline:none
}
.set-wrap .set-field textarea{min-height:104px;resize:vertical}
.set-wrap .set-field input:focus,.set-wrap .set-field select:focus,.set-wrap .set-field textarea:focus{border-color:var(--set-deep);box-shadow:0 0 0 3px rgba(140,84,161,.22)}
.set-wrap .set-field small,.set-wrap .set-more>small{display:block;margin-top:6px;color:var(--set-muted);font-size:13px;line-height:1.45}
.set-wrap .set-fieldset{margin:0 0 20px;padding:0;border:0;min-width:0}
.set-wrap .set-fieldset>legend{padding:0}
.set-wrap .set-legend{display:block;width:100%;margin:0 0 14px;padding:0 0 8px;border-bottom:1px solid var(--set-line);font-size:14px;font-weight:700;color:var(--set-violet)}

/* Erreurs */
.set-wrap .has-error input,.set-wrap .has-error select,.set-wrap .has-error textarea{border-color:var(--set-error)!important}
.set-wrap .has-error[data-error]::after{content:attr(data-error);display:block;margin-top:6px;color:var(--set-error);font-size:13px;font-weight:700}

/* Niveau de traitement */
.set-wrap .set-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.set-wrap .set-choice{position:relative;display:block;margin:0;cursor:pointer}
.set-wrap .set-choice input,.set-wrap .set-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.set-wrap .set-choice-body{display:block;height:100%;padding:16px 40px 16px 16px;border:1px solid #CDBBD2;border-radius:10px;background:var(--set-white)}
.set-wrap .set-choice-body::after{content:"";position:absolute;top:16px;right:14px;width:20px;height:20px;border-radius:50%;border:2px solid #CDBBD2;background:var(--set-white)}
.set-wrap .set-choice strong{display:block;margin-bottom:4px;font-size:17px;color:var(--set-ink)}
.set-wrap .set-choice em{display:block;font-style:normal;font-size:14px;line-height:1.45;color:var(--set-muted)}
.set-wrap .set-choice input:checked+.set-choice-body{border-color:var(--set-deep);box-shadow:inset 0 0 0 1px var(--set-deep);background:var(--set-pale)}
.set-wrap .set-choice input:checked+.set-choice-body::after{border-color:var(--set-deep);background:var(--set-deep);box-shadow:inset 0 0 0 4px var(--set-white)}
.set-wrap .set-choice input:focus-visible+.set-choice-body,.set-wrap .set-option input:focus-visible+.set-option-body{outline:2px solid var(--set-deep);outline-offset:2px}

/* Options */
.set-wrap .set-options{border:1px solid #CDBBD2;border-radius:10px;overflow:hidden;background:var(--set-white)}
.set-wrap .set-option{position:relative;display:block;margin:0;cursor:pointer}
.set-wrap .set-option+.set-option{border-top:1px solid var(--set-line)}
.set-wrap .set-option-body{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:14px 16px 14px 48px}
.set-wrap .set-option-body::before{content:"";position:absolute;left:16px;top:16px;width:20px;height:20px;border:2px solid #CDBBD2;border-radius:5px;background:var(--set-white)}
.set-wrap .set-option input:checked+.set-option-body{background:var(--set-pale)}
.set-wrap .set-option input:checked+.set-option-body::before{border-color:var(--set-deep);background:var(--set-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.set-wrap .set-option-text strong{display:block;font-size:16px;color:var(--set-ink)}
.set-wrap .set-option-text em{display:block;font-style:normal;font-size:14px;line-height:1.45;color:var(--set-muted)}
.set-wrap .set-option-price{flex:0 0 auto;font-size:14px;font-weight:700;color:var(--set-deep);white-space:nowrap;padding-top:2px}

/* Curseur de transfert */
.set-wrap .set-transfer-pct{padding:14px 16px;border-radius:10px;background:var(--set-pale)}
.set-wrap .set-transfer-pct output{float:right;color:var(--set-deep);font-weight:700}
.set-wrap .set-transfer-pct input[type=range]{display:block;width:100%;margin:6px 0 0;accent-color:var(--set-deep)}
.set-wrap .set-note{margin:0;color:var(--set-muted);font-size:14px}

/* Boutons */
.set-wrap .set-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:28px;padding-top:20px;border-top:1px solid var(--set-line)}
.set-wrap .set-btn{appearance:none;display:inline-block;min-height:48px;margin:0;padding:12px 22px;border:2px solid var(--set-deep);border-radius:8px;background:var(--set-deep);color:#fff;font:inherit;font-size:16px;font-weight:700;line-height:1.2;text-transform:none;letter-spacing:0;text-decoration:none;box-shadow:none;cursor:pointer;transition:background-color .15s,border-color .15s}
.set-wrap .set-btn:hover{background:#4A2959;border-color:#4A2959;color:#fff}
.set-wrap .set-btn-light{background:var(--set-white);color:var(--set-deep)}
.set-wrap .set-btn-light:hover{background:var(--set-pale);border-color:var(--set-deep);color:var(--set-deep)}
.set-wrap .set-btn:focus-visible,.set-wrap .set-btn-link:focus-visible{outline:2px solid var(--set-deep);outline-offset:3px}
.set-wrap .set-btn:disabled{opacity:.55;cursor:not-allowed}
.set-wrap .set-btn-link{appearance:none;margin:0 auto 0 0;padding:8px 0;border:0;background:none;box-shadow:none;color:var(--set-muted);font:inherit;font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-transform:none;letter-spacing:0;cursor:pointer;min-height:0}
.set-wrap .set-btn-link:hover{color:var(--set-deep);background:none}

/* Estimation */
.set-wrap .set-result{min-height:240px}
.set-wrap .set-loading{padding:80px 20px;text-align:center;color:var(--set-muted)}
.set-wrap .set-quote{border:1px solid var(--set-line);border-radius:12px;overflow:hidden}
.set-wrap .set-quote-hero{padding:22px 24px;background:var(--set-pale);border-bottom:1px solid var(--set-line)}
.set-wrap .set-quote-hero span{display:block;font-size:15px;font-weight:700;color:var(--set-muted)}
.set-wrap .set-quote-hero strong{display:block;margin:2px 0;font-size:40px;line-height:1.1;font-weight:700;color:var(--set-deep);letter-spacing:-.01em}
.set-wrap .set-quote-hero small{display:block;font-size:14px;color:var(--set-muted)}
.set-wrap .set-quote-line,.set-wrap .set-quote-total{display:flex;gap:16px;align-items:baseline;justify-content:space-between;padding:13px 24px}
.set-wrap .set-quote-line{border-bottom:1px solid var(--set-line);font-size:16px}
.set-wrap .set-quote-line em{display:block;font-style:normal;font-size:13px;color:var(--set-muted)}
.set-wrap .set-quote-line b{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.set-wrap .set-quote-total{padding:18px 24px;background:var(--set-deep);color:#fff;font-weight:700;font-size:17px}
.set-wrap .set-quote-total b{text-align:right;font-size:24px;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}
.set-wrap .set-quote-total small{display:block;font-size:13px;font-weight:400;color:var(--set-rose)}
.set-wrap .set-summary{margin-top:22px}
.set-wrap .set-summary strong{display:block;margin-bottom:8px;font-size:15px}
.set-wrap .set-summary ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}
.set-wrap .set-summary li{position:relative;margin:0;padding-left:16px;font-size:14px;color:var(--set-muted)}
.set-wrap .set-summary li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--set-violet)}
.set-wrap .set-disclaimer{margin:18px 0 0;color:var(--set-muted);font-size:13px;line-height:1.55}
.set-wrap .set-error,.set-wrap .set-send-status{margin-top:16px;padding:12px 14px;border-radius:8px;font-size:15px}
.set-wrap .set-send-status:empty{display:none}
.set-wrap .set-error,.set-wrap .set-send-status.is-error{background:#FCEFEE;color:#7E1A13}
.set-wrap .set-send-status.is-success{background:#EDF7F1;color:#17623B}

/* Étape 4 */
.set-wrap .set-more{margin:0 0 20px;padding:14px 16px;border:1px solid var(--set-line);border-radius:10px;background:var(--set-pale)}
.set-wrap .set-more summary{cursor:pointer;font-weight:700;color:var(--set-deep);font-size:15px}
.set-wrap .set-more[open] summary{margin-bottom:16px}
.set-wrap .set-consent{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:15px;flex-wrap:wrap;cursor:pointer}
.set-wrap .set-consent input{flex:0 0 auto;width:18px;height:18px;margin:3px 0 0;accent-color:var(--set-deep)}
.set-wrap .set-consent span{flex:1 1 0;min-width:0}
.set-wrap .set-consent.has-error::after{flex:0 0 100%;padding-left:28px;margin-top:0}
.set-wrap .set-after{margin:14px 0 0;text-align:right;color:var(--set-muted);font-size:13px}

/* Récapitulatif */
.set-wrap .set-recap{position:sticky;top:var(--set-sticky-top);padding:22px 22px 18px;border-radius:14px;background:var(--set-pale);border:1px solid var(--set-line)}
.set-wrap .set-recap h3{margin:0 0 12px;font-size:17px;font-weight:700;color:var(--set-deep)}
.set-wrap .set-recap dl{margin:0;padding:0}
.set-wrap .set-recap dl>div{padding:8px 0;border-top:1px solid var(--set-line)}
.set-wrap .set-recap dt{margin:0;font-size:12.5px;font-weight:400;color:var(--set-muted)}
.set-wrap .set-recap dd{margin:0;font-size:15px;font-weight:700;color:var(--set-ink);line-height:1.35}
.set-wrap .set-recap dd.is-empty{font-weight:400;color:#A496A9}
.set-wrap .set-recap-price{margin:10px -22px 0;padding:16px 22px;background:var(--set-deep);color:#fff}
.set-wrap .set-recap-price span{display:block;font-size:13px;color:var(--set-rose)}
.set-wrap .set-recap-price strong{display:block;font-size:26px;line-height:1.15;font-variant-numeric:tabular-nums}
.set-wrap .set-recap-price small{display:block;font-size:13px;color:var(--set-rose)}
.set-wrap .set-recap-help{margin:14px 0 0;font-size:14px;color:var(--set-muted)}
.set-wrap .set-recap-help a{color:var(--set-deep);font-weight:700;text-decoration:none;white-space:nowrap}
.set-wrap .set-recap-help a:hover{text-decoration:underline}

@media(max-width:960px){
  .set-wrap .set-layout{grid-template-columns:1fr}
  .set-wrap .set-recap{position:static}
  .set-wrap .set-recap dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
}
@media(max-width:700px){
  .set-wrap .set-step{padding:24px 18px 22px}
  .set-wrap .set-grid-2,.set-wrap .set-choice-grid,.set-wrap .set-summary ul{grid-template-columns:1fr}
  .set-wrap .set-steps-label{display:none}
  .set-wrap .set-steps li.is-active .set-steps-label{display:block;position:absolute;top:40px;left:0;white-space:nowrap}
  .set-wrap .set-steps li:last-child.is-active .set-steps-label{left:auto;right:0}
  .set-wrap .set-steps{margin-bottom:44px}
  .set-wrap .set-steps li:last-child{flex:0 0 32px}
  .set-wrap .set-option-body{flex-direction:column;gap:4px}
  .set-wrap .set-quote-hero strong{font-size:34px}
  .set-wrap .set-quote-line,.set-wrap .set-quote-total,.set-wrap .set-quote-hero{padding-left:16px;padding-right:16px}
  .set-wrap .set-actions{flex-direction:column-reverse;align-items:stretch}
  .set-wrap .set-btn{width:100%}
  .set-wrap .set-btn-link{margin:0 auto}
  .set-wrap .set-after{text-align:left}
}
@media(prefers-reduced-motion:reduce){.set-wrap .set-btn{transition:none}}
