/* ===== Créer mon site : parcours en étapes (une étape visible à la fois) ===== */
/* Activé par assets/lancio-etapes.js, qui ajoute la classe .stp-on sur #v-studio */

/* -- En-tête de page plus sobre -- */
#v-studio.stp-on .stu-bg{opacity:.35}
#v-studio.stp-on .gobar{display:none!important}
#v-studio.stp-on .stu-l .sg>.sn{display:none!important}
#v-studio.stp-on .stu-l .sg[data-stp]:not(.stp-cur){display:none!important}

/* -- Les sections ne sont plus des cartes empilées : un seul panneau -- */
#v-studio.stp-on .stu-l .sg{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;border-radius:0!important}

/* -- Fil d'étapes -- */
.stp-nav{display:flex;gap:6px;margin:0 0 4px;padding:0;list-style:none;counter-reset:stp}
.stp-nav li{flex:1 1 0;min-width:0}
.stp-nav button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:8px;width:100%;padding:0 0 2px;font:inherit;color:#8A817C}
.stp-nav button::before{content:"";display:block;height:4px;border-radius:4px;background:#EFE7E2;transition:background .25s}
.stp-nav .stp-t{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stp-nav .stp-n{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;font-size:11.5px;font-weight:700;background:#F3EDE9;color:#7A716C}
.stp-nav button[aria-current="step"]{color:#1F1A17}
.stp-nav button[aria-current="step"]::before{background:#F4623A}
.stp-nav button[aria-current="step"] .stp-n{background:#F4623A;color:#fff}
.stp-nav button.stp-done{color:#4A423E}
.stp-nav button.stp-done::before{background:#F7B7A2}
.stp-nav button.stp-done .stp-n{background:#FFE3D8;color:#C2410C;font-size:0}
.stp-nav button.stp-done .stp-n::after{content:"✓";font-size:11.5px}
.stp-nav button:focus-visible{outline:2px solid #F4623A;outline-offset:4px;border-radius:6px}

/* -- Titre de l'étape -- */
.stp-head{margin:22px 0 18px}
.stp-k{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#C2410C}
.stp-h{margin:0;font-size:22px;line-height:1.25;font-weight:800;color:#1F1A17;letter-spacing:-.01em}
.stp-d{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:#6A625D}

/* -- Bas du panneau : Précédent / Suivant -- */
.stp-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 4px;border-top:1px solid #EFE7E2;margin-top:24px}
.stp-foot .btn{margin:0!important;min-height:46px}
.stp-prev{all:unset;cursor:pointer;font-size:14.5px;font-weight:600;color:#6A625D;padding:10px 4px}
.stp-prev:hover{color:#1F1A17}
.stp-prev[hidden]{display:none}
.stp-foot .stp-next{margin-left:auto!important}

/* -- Étape 1 : métiers plus compacts (3 par ligne) -- */
#v-studio.stp-on #chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
#v-studio.stp-on #chips .chip .lx-ph{aspect-ratio:16/9!important}
#v-studio.stp-on #chips .chip .pl{padding:8px 10px 9px!important;font-size:13px!important}
#v-studio.stp-on .nm7{background:none!important;border:0!important;padding:0!important;margin:0 0 20px!important}
#v-studio.stp-on .nm7 label{font-size:14px}

/* -- Étape 3 / 4 : encadrés plus légers -- */
#v-studio.stp-on .stu-l .pphotos{background:transparent!important;box-shadow:none!important;border:1px solid #EFE7E2!important}
#v-studio.stp-on .stu-l .rev-box{margin-top:0;border:0!important;padding:0!important}
#v-studio.stp-on #sg-edit>.hint:first-of-type{display:none}

/* -- Aperçu : une seule ligne d'info -- */
#v-studio.stp-on .stu-hint{display:none!important}

/* ---------- Ordinateur : panneau gauche = une carte, avec fil d'étapes et boutons fixes ---------- */
@media (min-width:1100px){
#v-studio.stp-on .stu{padding-bottom:16px!important}
#v-studio.stp-on .stu-l{background:#fff;border:1px solid #EFE7E2;border-radius:22px;box-shadow:0 26px 50px -44px rgba(120,60,30,.35);padding:0 24px!important;margin-bottom:12px;display:flex!important;flex-direction:column}
#v-studio.stp-on .stp-top{position:sticky;top:0;z-index:4;background:#fff;padding:20px 0 0;margin:0 -2px}
#v-studio.stp-on .stp-top{order:-1}
#v-studio.stp-on .stu-l .sg.stp-cur{flex:1 0 auto;order:1}
#v-studio.stp-on .stp-foot{order:99}
#v-studio.stp-on .stp-foot{position:sticky;bottom:0;z-index:4;background:#fff;padding:14px 0 18px;margin-top:24px}
#v-studio.stp-on .stu-r{padding-bottom:12px}
}

/* ---------- Téléphone et tablette ---------- */
@media (max-width:1099px){
#v-studio.stp-on .stp-top{order:0;margin:0 0 6px}
#v-studio.stp-on .stu-l .sg.stp-cur{order:1}
#v-studio.stp-on .stp-foot{order:2;position:sticky;bottom:0;z-index:6;background:#fff;margin:16px -16px 16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -10px 24px -18px rgba(0,0,0,.25)}
#v-studio.stp-on .stu-r{order:3}
#v-studio.stp-on .stp-nav .stp-t span.stp-l{display:none}
#v-studio.stp-on .stp-nav button[aria-current="step"] .stp-t span.stp-l{display:inline}
#v-studio.stp-on .stp-nav li{flex:0 0 auto}
#v-studio.stp-on .stp-nav li:has(button[aria-current="step"]){flex:1 1 auto}
#v-studio.stp-on .stp-head{margin:16px 0 14px}
#v-studio.stp-on .stp-h{font-size:20px}
#v-studio.stp-on #chips{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ===== Finitions : mode « création » épuré ===== */
/* Aperçu : plus de pointillés partout, seulement au survol */
#v-studio.stp-on #site [data-ed]{outline-color:transparent}
#v-studio.stp-on #site [data-ed]:hover{outline-color:var(--ac)}
#v-studio.stp-on #site [data-ed]:focus{outline:2px solid var(--ac)}

/* Menu du haut : seulement le logo, Accueil et le compte pendant la création */
html body.in-studio.stp-ok:not(#_):not(#_) header.top .mts .mt[data-go="studio"],
html body.in-studio.stp-ok:not(#_):not(#_) header.top .mts .mt[data-go="ent"],
html body.in-studio.stp-ok:not(#_):not(#_) header.top .mts .mt[data-go="client"],
html body.in-studio.stp-ok:not(#_):not(#_) header.top .mts .mt[data-go="pro"]{display:none!important}

/* Bouton Aide : une simple pastille ronde, discrète */
body.in-studio.stp-ok .lx-help{width:44px!important;height:44px!important;padding:0!important;justify-content:center;gap:0!important;font-size:0!important}
body.in-studio.stp-ok .lx-help span{display:none!important}
body.in-studio.stp-ok .lx-help svg{width:22px;height:22px}

/* Bas du panneau : bouton Aperçu (téléphone) */
.stp-see{display:none}

@media (max-width:1099px){
/* Haut de page compact */
#v-studio.stp-on .stu>.ey,#v-studio.stp-on .stu>.lead{display:none!important}
#v-studio.stp-on .stu>h1{display:none!important}
/* Le bouton flottant « Voir le résultat » passe dans la barre du bas */
body.in-studio.stp-ok .lx-seepv{display:none!important}
#v-studio.stp-on .stp-see{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;gap:6px;height:46px;padding:0 14px;border:1px solid #E7DDD7;border-radius:999px;font-size:14.5px;font-weight:600;color:#1F1A17;background:#fff}
#v-studio.stp-on .stp-see svg{width:18px;height:18px}
#v-studio.stp-on .stp-prev{font-size:0;width:46px;height:46px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid #E7DDD7;border-radius:50%;box-sizing:border-box}
#v-studio.stp-on .stp-prev::before{content:"←";font-size:18px}
#v-studio.stp-on .stp-prev[hidden]{display:none}
#v-studio.stp-on .stp-foot{gap:8px}
#v-studio.stp-on .stp-foot .stp-next{padding-left:18px!important;padding-right:18px!important;font-size:15px}
body.in-studio.stp-ok .lx-help{bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
}
