/* Formulaire de devis en etapes, relie a /vud-form/ (lot du 01/12/2026). Variables --vf-* definies par theme.css de chaque site. Aucune ressource externe. */
.vf{--vf-accent:#F57C00;--vf-accent-hover:#FF8F1F;--vf-on-accent:#0F1B2D;--vf-ink:#0F1B2D;--vf-text:#2B3445;--vf-muted:#5B6472;--vf-soft:#FFF6EA;--vf-line:#E4E0D8;--vf-ok:#17663A;--vf-err:#B3261E;--vf-radius:14px;--vf-font:inherit;
 font-family:var(--vf-font);color:var(--vf-text);background:#fff;border-radius:calc(var(--vf-radius) + 4px);box-shadow:0 10px 24px -14px rgba(15,27,45,.28),0 0 0 1px var(--vf-line);border-top:5px solid var(--vf-accent);padding:18px;position:relative;margin:24px 0;scroll-margin-top:80px}
@media(min-width:560px){.vf{padding:28px 32px}}
.vf *{box-sizing:border-box}
.vf-title{font-size:1.25rem;font-weight:800;color:var(--vf-ink);line-height:1.25;letter-spacing:-.02em;margin:0 0 4px;padding-right:90px}
.vf-sub{margin:0 0 16px;color:var(--vf-muted);font-size:.9375rem}
.vf-prog{display:flex;align-items:center;gap:12px;margin:0 0 6px}
.vf-bar{flex:1;height:8px;background:var(--vf-soft);border-radius:99px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--vf-line)}
.vf-bar i{display:block;height:100%;width:0;background:var(--vf-accent);border-radius:99px;transition:width .25s}
.vf-count{font-size:.8125rem;font-weight:700;color:var(--vf-muted);white-space:nowrap}
.vf-step{display:none;animation:vfin .22s ease-out}
.vf-step.on{display:block}
@keyframes vfin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.vf-step{animation:none}.vf-bar i{transition:none}}
.vf-q{font-size:1.375rem;font-weight:800;color:var(--vf-ink);line-height:1.25;letter-spacing:-.02em;margin:18px 0 6px}
.vf-help{margin:0 0 16px;color:var(--vf-muted);font-size:.9375rem}
.vf-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 6px;padding:0;border:0}
@media(min-width:760px){.vf-tiles.vf-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.vf-tile{position:relative}
.vf-tile input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.vf-tile span{height:100%;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:104px;padding:14px;border-radius:var(--vf-radius);background:#fff;box-shadow:inset 0 0 0 2px var(--vf-line);font-weight:700;color:var(--vf-ink);line-height:1.25;font-size:.9688rem;transition:box-shadow .15s,background .15s,transform .15s}
.vf-tile small{display:block;font-weight:500;color:var(--vf-muted);font-size:.8125rem;line-height:1.3}
.vf-tile svg{width:30px;height:30px;flex:none;color:var(--vf-accent-ink,var(--vf-accent));stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vf-tile:hover span{box-shadow:inset 0 0 0 2px var(--vf-accent);transform:translateY(-1px)}
.vf-tile input:checked+span{background:var(--vf-soft);box-shadow:inset 0 0 0 3px var(--vf-accent)}
.vf-tile input:focus-visible+span{outline:3px solid var(--vf-ink);outline-offset:2px}
.vf-tile.vf-row span{flex-direction:row;align-items:center;min-height:60px}
.vf-field{display:block;margin:0 0 14px}
.vf-field>b,.vf-lab{display:block;font-weight:700;color:var(--vf-ink);font-size:.9375rem;margin:0 0 5px}
.vf-field em{font-style:normal;font-weight:500;color:var(--vf-muted)}
.vf-in{width:100%;min-height:48px;padding:11px 14px;border:2px solid var(--vf-line);border-radius:12px;font:inherit;font-size:1.0625rem;color:var(--vf-ink);background:#fff}
.vf-in:focus{outline:none;border-color:var(--vf-accent);box-shadow:0 0 0 3px var(--vf-soft)}
.vf-in.bad{border-color:var(--vf-err)}
textarea.vf-in{min-height:110px;resize:vertical;line-height:1.5}
.vf-cols{display:grid;gap:0 12px}
@media(min-width:560px){.vf-cols.c2{grid-template-columns:1fr 1fr}.vf-cols.c-cp{grid-template-columns:150px 1fr}}
.vf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.vf-chips button{min-height:44px;padding:8px 14px;border-radius:99px;border:0;background:var(--vf-soft);box-shadow:inset 0 0 0 1px var(--vf-line);color:var(--vf-ink);font:inherit;font-size:.875rem;font-weight:600;cursor:pointer}
.vf-chips button:hover{box-shadow:inset 0 0 0 2px var(--vf-accent)}
.vf-err{color:var(--vf-err);font-size:.875rem;font-weight:600;margin:4px 0 0;min-height:0}
.vf-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.vf-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border:0;border-radius:var(--vf-radius);background:var(--vf-accent);color:var(--vf-on-accent);font:inherit;font-weight:800;font-size:1.0625rem;cursor:pointer;box-shadow:0 6px 16px -8px rgba(15,27,45,.45)}
.vf-btn:hover{background:var(--vf-accent-hover)}
.vf-btn:focus-visible,.vf-back:focus-visible{outline:3px solid var(--vf-ink);outline-offset:2px}
.vf-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.vf-back{min-height:48px;padding:0 6px;border:0;background:none;color:var(--vf-muted);font:inherit;font-weight:700;font-size:.9375rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.vf-btn.vf-full{width:100%}
.vf-info{font-size:.9375rem;line-height:1.6;color:var(--vf-text);background:#F7F6F3;border-radius:12px;padding:12px 14px;margin:6px 0 14px}
.vf-info a{color:var(--vf-ink)}
.vf-check{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:12px;box-shadow:inset 0 0 0 2px var(--vf-line);margin:0 0 12px;cursor:pointer;font-size:.9063rem;line-height:1.5;color:var(--vf-ink)}
.vf-check input{width:24px;height:24px;flex:none;margin:1px 0 0;accent-color:var(--vf-accent)}
.vf-check:has(input:checked){background:var(--vf-soft);box-shadow:inset 0 0 0 2px var(--vf-accent)}
.vf-done{text-align:center;padding:12px 0 4px}
.vf-done svg{width:56px;height:56px;color:var(--vf-ok);stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vf-done-t{font-size:1.5rem;font-weight:800;color:var(--vf-ink);margin:10px 0 8px;letter-spacing:-.02em}
.vf-done p{margin:0 auto 10px;max-width:46ch;color:var(--vf-text)}
.vf-done .vf-done-t{max-width:none;margin:10px 0 8px;color:var(--vf-ink)}
.vf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.vf-foot{margin-top:16px;font-size:.8125rem;color:var(--vf-muted);display:flex;flex-wrap:wrap;gap:6px 16px}
.vf-foot span:before{content:"\2713\00a0";color:var(--vf-ok);font-weight:800}

.vf-static .vf-step,.vf-static .vf-bar i{animation:none;transition:none}
@media(max-width:559px){.vf-title{padding-right:0}.vf-btn{padding:0 18px;font-size:1rem}.vf-nav{flex-wrap:nowrap}}

.vf-title,.vf-q,.vf-done-t{font-family:var(--vf-font-t,var(--vf-font))}
.vf--flat{box-shadow:none;border-top:0;padding:0;margin:0;background:transparent;border-radius:0}
.vf--flat .vf-title{padding-right:0;font-size:1.125rem}
.vf--flat .vf-q{font-size:1.1875rem;margin-top:14px}
.vf--flat .vf-tile span{min-height:86px;padding:12px}
.vf--flat .vf-tiles.vf-3{grid-template-columns:repeat(2,minmax(0,1fr))}

/* titre de carte discret, badge retiré, une seule vraie question par écran */
.vf-title,.vf--flat .vf-title{font-size:.8125rem;font-weight:700;color:var(--vf-muted);letter-spacing:.01em;margin:0 0 10px;padding-right:0}
.vf-q{margin-top:14px}

/* tuiles jamais plus larges que la carte, retour à la ligne des mots longs, une colonne sur très petit écran */
.vf-tile span{overflow-wrap:break-word;hyphens:auto;min-width:0}
.vf-tile em{min-width:0}
@media(max-width:359px){.vf-tiles,.vf-tiles.vf-3,.vf--flat .vf-tiles.vf-3{grid-template-columns:minmax(0,1fr)}.vf-tile span{min-height:64px;flex-direction:row;align-items:center}}

/* focus clavier bien visible (champs, cases, puces), sans halo sur le titre de l'écran */
.vf-in:focus-visible{outline:3px solid var(--vf-ink);outline-offset:2px;border-color:var(--vf-ink)}
.vf-chips button:focus-visible{outline:3px solid var(--vf-ink);outline-offset:2px}
.vf-check:has(input:focus-visible){outline:3px solid var(--vf-ink);outline-offset:2px}
.vf-info a:focus-visible,.vf-check a:focus-visible{outline:3px solid var(--vf-ink);outline-offset:2px;border-radius:2px}
.vf-q:focus,.vf-done-t:focus{outline:none}
/* le champ qui reçoit le focus au clavier ne se cache pas sous l'en-tête ou la barre fixe « devis » du site */
.vf .vf-in,.vf .vf-btn,.vf .vf-back,.vf .vf-chips button,.vf .vf-check,.vf .vf-tile,.vf .vf-info a,.vf .vf-q{scroll-margin-block:104px}
@media(max-width:420px){.vf-tile span{padding:12px 11px}.vf-tile small{font-size:.78rem}}

/* Case d'accord d'appel obligatoire : bouton bloque tant qu'elle n'est pas cochee, message clair */
.vf-btn[aria-disabled="true"]{background:#D9DCE1;color:#5B6472;box-shadow:none;cursor:not-allowed}
.vf-btn[aria-disabled="true"]:hover{background:#D9DCE1}
.vf-need{margin:0 0 12px;font-size:.9063rem;font-weight:600;line-height:1.5;color:var(--vf-ink)}
.vf-need.on{color:#7A1712;background:#FDECEA;border-radius:12px;padding:10px 14px}
.vf-need[hidden]{display:none}
.vf-info{margin:0 0 14px}
.vf-send-err{background:#FDECEA;color:#7A1712;border-radius:12px;padding:12px 14px;margin:0 0 12px;font-size:.9063rem;font-weight:600;line-height:1.5}
.vf-send-err[hidden]{display:none}
.vf-send-err a{color:inherit}
.vf-off{padding:16px;border-radius:12px;background:#F7F6F3;color:var(--vf-ink);line-height:1.5}
.vf-off a{color:var(--vf-ink)}
.vf-wait{margin:0;color:var(--vf-muted);font-size:.9375rem}
