/* Devis : parcours en étapes */

.qv2-head{margin:0 0 1.4rem}
.qv2-kicker{display:flex;align-items:center;gap:.5rem;margin:0 0 .8rem;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-text)}
:lang(ar) .qv2-kicker{letter-spacing:0}
.qv2-progress{display:none;grid-auto-flow:column;grid-auto-columns:1fr;gap:.35rem;margin-bottom:.5rem}
.js .qv2-progress{display:grid}
.qv2-seg{height:6px;border-radius:3px;background:var(--line);transition:background .25s}
.qv2-seg.is-done{background:var(--gold)}
.qv2-count{display:none;margin:0;font-size:.85rem;color:var(--muted);font-weight:600}
.js .qv2-count{display:block}

.qv2-step{border:0;margin:0 0 1.6rem;padding:0;min-width:0}
.js .qv2-step{display:none;margin:0}
.js .qv2-step.is-active{display:block;animation:qv2-in .3s ease both}
.js .qv2-step.is-active.is-back{animation-name:qv2-in-back}
@keyframes qv2-in{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
@keyframes qv2-in-back{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:none}}
[dir=rtl] .js .qv2-step.is-active{animation-name:qv2-in-back}
[dir=rtl] .js .qv2-step.is-active.is-back{animation-name:qv2-in}
.qv2-q{display:block;padding:0;margin:0 0 1.1rem;font-size:1.3rem;font-weight:800;line-height:1.25;color:var(--navy)}
.qv2-q:focus{outline:0}
.qv2-track{display:block;margin-bottom:.35rem;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-text)}
.qv2-choices{display:grid;gap:.7rem}
.qv2-choice{display:flex;cursor:pointer}
.qv2-radio{position:absolute;opacity:0;width:1px;height:1px}
.qv2-body{flex:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.95rem 1.1rem;background:var(--white);border:2px solid var(--line);border-radius:12px;transition:border-color .2s,background .2s,box-shadow .2s}
.qv2-choice:hover .qv2-body{border-color:var(--gold)}
.qv2-radio:focus-visible+.qv2-body{outline:3px solid var(--focus);outline-offset:2px}
.qv2-radio:checked+.qv2-body{border-color:var(--navy);background:#eef3fb;box-shadow:0 0 0 1px var(--navy) inset}
.qv2-text{display:grid;gap:.15rem}
.qv2-label{font-weight:700;color:var(--navy)}
.qv2-sub{font-size:.88rem;color:var(--muted)}
.qv2-tick{flex:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--navy);color:var(--gold);opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s}
.qv2-radio:checked+.qv2-body .qv2-tick{opacity:1;transform:none}
.qv2-lead{color:var(--muted);margin:0 0 1.2rem}
.qv2-nav{margin-top:1.2rem}
.qv2-back{display:inline-flex;align-items:center;gap:.4rem;font:inherit;font-weight:700;font-size:.9rem;color:var(--navy);background:none;border:0;cursor:pointer;padding:.4em .2em}
.qv2-back .icon{transform:scaleX(-1)}
[dir=rtl] .qv2-back .icon{transform:none}
.qv2-back:hover{color:var(--gold-text)}
.qv2-back[hidden]{display:none}
@media (min-width:641px){.qv2-choices-2{grid-template-columns:1fr 1fr}}
@media (prefers-reduced-motion:reduce){.js .qv2-step.is-active{animation:none}}

/* Lien vers Contact (étape un), récapitulatif des réponses (étape cinq), résumé des erreurs */
.qv2-other{margin:1rem 0 0}
.qv2-other a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.qv2-other a:hover{color:var(--gold-text)}
.qv2-recap{margin:0 0 1.4rem;padding:1rem 1.1rem;background:#eef3fb;border-radius:12px}
.qv2-recap[hidden]{display:none}
.qv2-recap-title{margin:0 0 .6rem;font-size:1.05rem;color:var(--navy)}
.qv2-recap-list{list-style:none;margin:0;padding:0}
.qv2-recap-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.4rem 0;border-top:1px solid var(--line)}
.qv2-recap-list li:first-child{border-top:0}
.qv2-recap-text{display:grid;gap:.1rem;min-width:0}
.qv2-recap-q{font-size:1rem;color:var(--muted)}
.qv2-recap-text strong{color:var(--navy)}
.qv2-recap-sub{font-size:.95rem;color:var(--muted)}
.qv2-recap-edit{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 .4rem;font-size:.9rem;font-weight:400;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.qv2-recap-edit:hover{color:var(--navy)}
.qv2-recap-edit:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}
.qv2-errors ul{list-style:none;padding-inline-start:0}
.qv2-errors li a{display:inline-flex;align-items:center;min-height:44px;color:#b3261e;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#quote-steps{scroll-margin-top:90px}
/* Devis, toutes largeurs : aucun texte sous seize pixels; bouton Retour d’au moins quarante-quatre pixels de haut */
html body .qv2 .qv2-count,html body .qv2 .qv2-kicker,html body .qv2 .qv2-kicker span,html body .qv2 .field .opt,html body .qv2 .form-required-note,html body .qv2 .field label,html body .qv2 .check span,html body .qv2 .privacy-info,html body .qv2 .privacy-info a{font-size:1rem}
html body .qv2 .qv2-back{font-size:1rem;min-height:44px;padding:.4em .6em}

/* Lien « Votre besoin est différent ? » centré */
.qv2-other{text-align:center}
/* Lien « Votre besoin est différent ? » : tout en bas du bloc, centré, sous les boutons Retour et Passer */
.qv2-other{margin:.2rem 0 0}
.qv2-nav{margin-top:1.2rem}

/* Boutons Retour (début de ligne) et Passer (fin de ligne, en miroir, même style que Retour; flèche vers l’avant) */
.qv2-nav{display:flex;align-items:center;justify-content:space-between;gap:.4rem 1.2rem}
.qv2-skip .icon{transform:none}
[dir=rtl] .qv2-skip .icon{transform:scaleX(-1)}

/* Étape formation : deux grandes cartes détaillées, sur le modèle des cartes de formation (public, durée, format, tarif) */
.qv2-choices-rich{grid-template-columns:1fr;gap:1rem}
@media (min-width:901px){.qv2-choices-rich{grid-template-columns:1fr 1fr;align-items:stretch}}
.qv2-choice-rich .qv2-body{align-items:stretch;padding:1.3rem 1.4rem}
.qv2-choice-rich .qv2-text{display:flex;flex-direction:column;gap:.7rem;flex:1;min-width:0}
.qv2-choice-rich .qv2-label{font-size:1.25rem;font-weight:800;line-height:1.25}
.qv2-desc{color:var(--ink,#1f2a3d);font-size:1rem;line-height:1.5}
.qv2-meta{display:grid;gap:.45rem;padding:.8rem 0;border-block:1px solid var(--line)}
.qv2-meta > span{display:block;font-size:.95rem;line-height:1.45;color:var(--ink,#1f2a3d)}
.qv2-k{display:block;font-size:.8125rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-text)}
.qv2-price{display:block;margin-top:auto;font-size:1rem;color:var(--navy)}
.qv2-price strong{font-size:1.2rem;font-weight:800}
.qv2-recap-src{display:none}
.qv2-choice-rich .qv2-tick{align-self:flex-start}
.qv2-price .price-note{display:block;margin-top:.1rem;font-size:.8125rem;font-weight:400;color:var(--muted)}
.qv2-meta > .qv2-audience{font-style:italic;margin-top:-.2rem;font-size:.9rem}
.qv2-seg[hidden]{display:none}

/* Parcours conformité : trois cartes alignées sur une ligne (empilées sur téléphone), précision en petit et en gris sous le titre */
@media (min-width:641px){.qv2-choices-3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}}
.qv2-choices-3 .qv2-body{align-items:flex-start;gap:.6rem;padding:1rem 1rem}
.qv2-choices-3 .qv2-text{gap:.4rem;min-width:0}
.qv2-choices-3 .qv2-sub{line-height:1.4}

/* Secteur d’activité : champ avec suggestions. Sans JavaScript, simple champ texte (bouton de liste et bouton Continuer masqués). */
.qv2-combo{position:relative}
.qv2-combo-box{position:relative}
.qv2-combo-input{display:block;width:100%;min-height:52px;box-sizing:border-box;padding:.7rem 3rem .7rem 1rem;font:inherit;color:var(--navy);background:var(--white);border:2px solid var(--line);border-radius:12px}
[dir=rtl] .qv2-combo-input{padding:.7rem 1rem .7rem 3rem}
.qv2-combo-input:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--navy)}
.qv2-combo-btn{display:none;position:absolute;top:0;bottom:0;inset-inline-end:0;width:48px;align-items:center;justify-content:center;background:none;border:0;color:var(--navy);cursor:pointer}
.js .qv2-combo-btn{display:flex}
.qv2-combo-btn .icon{transform:rotate(90deg)}
.qv2-combo-list{position:absolute;z-index:5;inset-inline:0;top:56px;margin:0;padding:.3rem 0;list-style:none;max-height:272px;overflow:auto;background:var(--white);border:2px solid var(--navy);border-radius:12px;box-shadow:0 10px 24px rgba(11,45,91,.18)}
.qv2-combo-list[hidden]{display:none}
.qv2-combo-list li{display:flex;align-items:center;min-height:44px;padding:.45rem 1rem;color:var(--navy);cursor:pointer}
.qv2-combo-list li[hidden]{display:none}
.qv2-combo-list li:hover,.qv2-combo-list li.is-active{background:#eef3fb}
.qv2-combo-list li.is-active{box-shadow:inset 3px 0 0 var(--navy)}
[dir=rtl] .qv2-combo-list li.is-active{box-shadow:inset -3px 0 0 var(--navy)}
.qv2-combo-other{margin-top:1rem}
.qv2-combo-other[hidden]{display:none}
.qv2-combo-other label{display:block;margin-bottom:.35rem;font-weight:700;color:var(--navy)}
.qv2-combo-other input{display:block;width:100%;min-height:52px;box-sizing:border-box;padding:.7rem 1rem;font:inherit;border:2px solid var(--line);border-radius:12px}
.qv2-next{display:none;margin-top:1rem;min-height:44px;font-size:1rem}
.js .qv2-next{display:inline-flex}
.qv2-next[disabled]{opacity:.5;cursor:not-allowed}

/* Arabe : la police Cairo n’a pas de vraie italique, la ligne du public cible est en petit et en gris, comme la mention sous le prix */
:lang(ar) .qv2-meta > .qv2-audience{font-style:normal;font-size:.8125rem;color:var(--muted);line-height:1.5}

/* Secteur : la liste ouverte passe devant tout ce qui suit (boutons Retour et Passer compris). L’étape animée forme son propre plan d’empilement, donc elle doit être placée au-dessus de la barre de boutons. */
.js .qv2-step.is-active{position:relative;z-index:3}
.qv2-nav{position:relative;z-index:1}

/* Le lien « Votre besoin est différent ? » est le dernier élément du bloc : la zone du formulaire en deux temps, fermée, n’ajoute aucun espace sous lui */
.cfs.cfs-quote{margin-top:0}
.cfs.cfs-quote.is-open{margin-top:1.2rem}
