/* LIMPID EXPERIENCE V3-P2 — CONFIGURATEURS (PREPRODUCTION UNIQUEMENT)
   Couche de presentation ISOLEE. Aucune modification du moteur, des champs,
   des valeurs, des etapes cachees, du protocole LIMPID1 ou des envois.
   Les selecteurs restent limites aux 4 tunnels publics. */
:root{--lx3p2-navy:#0B2545;--lx3p2-blue:#1A56DB;--lx3p2-cyan:#4CC9F0;--lx3p2-ice:#EEF6FB;--lx3p2-border:#D5E6F3;--lx3p2-muted:#47617B;--lx3p2-shadow:0 16px 45px rgba(11,37,69,.07)}

/* Le guide du parcours s'affiche seulement si le parcours d'origine est visible.
   Ne jamais forcer l'affichage de #pc-app, d'une .cf-etape ou d'un formulaire. */
body.lx--config #pc-app{max-width:880px}
body.lx--config #pc-app .pc-carte{border:1px solid var(--lx3p2-border);border-radius:26px;padding:clamp(21px,3.8vw,43px);box-shadow:var(--lx3p2-shadow);background:linear-gradient(165deg,#fff 70%,#fcfeff)}
body.lx--general-devis #cf{max-width:900px}
body.lx--general-devis #cf .cf-etape{border:1px solid var(--lx3p2-border);border-radius:26px;padding:clamp(22px,3.5vw,42px);box-shadow:var(--lx3p2-shadow)}

/* Ligne d'orientation du parcours : informations uniquement. */
body.lx :is(#pc-app,#cf) .lx3p2-context{margin:0 0 20px;padding:clamp(17px,2.6vw,27px);border:1px solid #c9e3f4;border-radius:22px;background:linear-gradient(120deg,#082a4d 0%,#123f68 68%,#0f5179 100%);box-shadow:0 14px 31px rgba(11,37,69,.12);color:#fff;position:relative;isolation:isolate;overflow:hidden}
body.lx :is(#pc-app,#cf) .lx3p2-context::after{content:"";position:absolute;width:240px;height:240px;border:31px solid rgba(76,201,240,.09);border-radius:50%;top:-140px;right:-120px;z-index:-1;pointer-events:none}
body.lx :is(#pc-app,#cf) .lx3p2-context :is(p,span){color:inherit}
body.lx :is(#pc-app,#cf) .lx3p2-kicker{color:#9BE7FB!important;text-transform:uppercase;letter-spacing:.14em;font-size:.68rem;font-weight:900;margin:0 0 8px}
body.lx :is(#pc-app,#cf) .lx3p2-line{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
body.lx :is(#pc-app,#cf) .lx3p2-current{font-family:'Nunito',system-ui,sans-serif;font-weight:900;font-size:clamp(1.09rem,1.8vw,1.42rem);line-height:1.28;color:#fff!important;letter-spacing:-.018em}
body.lx :is(#pc-app,#cf) .lx3p2-subline{margin:8px 0 0;color:#d7ecf9!important;font-size:.82rem;line-height:1.62;max-width:730px}
body.lx :is(#pc-app,#cf) .lx3p2-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body.lx :is(#pc-app,#cf) .lx3p2-guide{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;flex-shrink:0;background:#fff;color:#0B2545;border:1px solid #e1f3ff;border-radius:12px;font:800 .83rem 'Nunito',system-ui,sans-serif;cursor:pointer;box-shadow:0 7px 16px rgba(1,20,41,.13)}
body.lx :is(#pc-app,#cf) .lx3p2-guide:hover{background:#eefaff}
body.lx :is(#pc-app,#cf) .lx3p2-guide[hidden]{display:none}

/* Des questions beaucoup plus lisibles, sans toucher au contenu cree par les scripts. */
body.lx--config #pc-corps #pc-titre{color:var(--lx3p2-navy);font-family:'Nunito',system-ui,sans-serif;font-size:clamp(1.45rem,3vw,2.05rem);font-weight:900;letter-spacing:-.035em;line-height:1.16;margin:0 0 11px;max-width:720px}
body.lx--general-devis #cf .cf-etape > h2{color:var(--lx3p2-navy);font-family:'Nunito',system-ui,sans-serif;font-size:clamp(1.5rem,2.8vw,2.25rem);font-weight:900;letter-spacing:-.04em;line-height:1.18;margin-bottom:10px}
body.lx--config #pc-corps > .cf-sous,body.lx--general-devis #cf .cf-etape > .cf-sous{color:var(--lx3p2-muted);line-height:1.65;font-size:.94rem;margin-bottom:19px}
body.lx--config :is(#pc-corps .cf-champ,#pc-corps .cf-bloc-t),body.lx--general-devis #cf .cf-champ{color:#0B2545;font-weight:800;line-height:1.45}
body.lx--config #pc-corps .cf-champ small,body.lx--general-devis #cf .cf-champ small{color:#49647b;font-weight:450;line-height:1.56;margin-top:4px}
body.lx :is(#pc-corps,#cf) :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],select,textarea){accent-color:var(--lx3p2-blue)}
body.lx--config #pc-corps :is(.cf-champ input,.cf-champ select,.cf-champ textarea),body.lx--general-devis #cf :is(.cf-champ input,.cf-champ select,.cf-champ textarea){min-height:50px;border-color:#bed5e5;background:#fff;border-radius:13px}
body.lx :is(#pc-corps,#cf) :is(input,select,textarea,button,a):focus-visible{outline:3px solid var(--lx3p2-cyan)!important;outline-offset:3px!important}

/* Cartes selectionnees : feedback explicite avec les classes .on du code historique. */
body.lx--config #pc-corps .pc-choix{gap:11px;margin-bottom:17px}
body.lx--config #pc-corps .pc-opt,body.lx--config #pc-corps .cf-carte,body.lx--general-devis #cf :is(.cf-carte,.cf-seg button,.cf-choix button){border:1.5px solid #D2E3EF;background:#fff;border-radius:16px;min-height:52px;box-shadow:0 3px 10px rgba(11,37,69,.025);transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}
body.lx--config #pc-corps .pc-opt{padding:15px 16px;line-height:1.4;text-wrap:pretty}
body.lx--config #pc-corps :is(.pc-opt.on,.cf-carte.on),body.lx--general-devis #cf :is(.cf-carte.on,.cf-seg button.on,.cf-choix button.on){border:2px solid var(--lx3p2-blue);background:#F0F7FF;box-shadow:inset 0 0 0 1px rgba(26,86,219,.045),0 6px 18px rgba(26,86,219,.08)}
body.lx--config #pc-corps .pc-opt.on{padding:14.5px 15.5px}
@media(hover:hover){body.lx--config #pc-corps :is(.pc-opt,.cf-carte):hover,body.lx--general-devis #cf :is(.cf-carte,.cf-seg button):hover{border-color:#78bce8;box-shadow:0 9px 22px rgba(11,37,69,.075);transform:translateY(-1px)}}
body.lx--config #pc-corps .pc-besoins{gap:13px}
body.lx--config #pc-corps .pc-rub{background:#fbfdff;border:1px solid var(--lx3p2-border);padding:clamp(14px,2.1vw,22px);border-radius:16px;margin-bottom:12px}
body.lx--config #pc-corps .pc-rub-t{align-items:flex-start;margin-bottom:11px}
body.lx--config #pc-corps .pc-rub-t b{font-size:1.03rem;color:#0B2545;line-height:1.4}
body.lx--config #pc-corps .pc-modif{min-height:44px;border-radius:11px;padding:9px 14px;background:#eef6ff;border:1px solid #c3d9f0;flex:none}
body.lx--config #pc-corps .pc-l{font-size:.91rem;color:#38546b;line-height:1.62}
body.lx--general-devis #cf .cf-recap{padding:clamp(15px,2.5vw,25px);border:1px solid #cee4f1;border-radius:18px;background:linear-gradient(150deg,#f5fbff,#fff 68%)}
body.lx :is(#pc-corps,#cf) :is(.cf-bloc,.cf-piece){background:#fbfdff;border-color:#d7e8f3;border-radius:16px;padding:clamp(13px,2vw,20px)}
body.lx :is(#pc-corps,#cf) .cf-compteurs{gap:11px}
body.lx :is(#pc-corps,#cf) .cf-cpt{border:1px solid #d5e6f3;border-radius:14px;background:#fff;padding:12px;gap:8px 12px;min-height:77px}
body.lx :is(#pc-corps,#cf) .cf-cpt .cf-lib{color:#123655;line-height:1.43}
body.lx :is(#pc-corps,#cf) .cf-cpt .cf-aide{color:#536a7e;font-size:.81rem;line-height:1.55}
body.lx :is(#pc-corps,#cf) .cf-pas{gap:7px}
body.lx :is(#pc-corps,#cf) .cf-pas button{height:44px;width:44px;min-height:44px;flex:none;border-radius:11px;background:#e7f3fc;border:1px solid #bcd8eb;font-size:1.2rem;color:#1252a6}
body.lx :is(#pc-corps,#cf) .cf-pas input{height:44px;min-height:44px;width:58px;border-color:#bcd8eb;border-radius:11px}
body.lx :is(#pc-corps,#cf) .cf-coche{border-radius:11px;min-height:44px;padding:10px 8px}
body.lx :is(#pc-corps,#cf) .cf-coche:hover{background:#f1f8ff}
body.lx :is(#pc-corps,#cf) .cf-excl{background:#eef7fc;border:1px solid #d1e8f4;border-radius:15px;padding:15px 17px;line-height:1.6}
body.lx :is(#pc-corps,#cf) .cf-duree{border-radius:16px;border-color:#c2e0f1;padding:14px 16px;background:#f1f8fe}

/* Guides : les 44 images historiques restent l'unique source du contenu. */
body.lx :is(#pc-corps,#cf) .lmv-inline{margin:18px 0 22px;background:#f5faff!important;border:1px solid #c4e1f3!important;border-radius:20px!important;padding:clamp(13px,2.4vw,24px)!important}
body.lx :is(#pc-corps,#cf) .lmv-grid-compact{gap:12px!important}
body.lx :is(#pc-corps,#cf) .lmv-item{border:1px solid #d2e8f4!important;border-radius:15px!important;background:#fff!important;overflow:hidden}
body.lx :is(#pc-corps,#cf) .lmv-item img{height:clamp(118px,15vw,168px)!important;object-fit:contain;background:#e9f5fd!important;padding:6px}
body.lx :is(#pc-corps,#cf) .lmv-item figcaption{padding:13px!important}
body.lx :is(#pc-corps,#cf) .lmv-inline-note{font-size:.85rem!important;line-height:1.7;color:#385a74!important}
body.lx .lmv-modal{border-radius:24px!important;max-width:min(980px,94vw)!important}
body.lx .lmv-modal .lmv-item img{object-fit:contain}
body.lx .lmv-modal :is(.lmv-tab,.lmv-close,.lmv-more){min-height:44px}

/* Etats validation, aides de priorite, retour au recapitulatif, confirmation. */
body.lx :is(#pc-corps,#cf) .cf-erreurs:not(:empty){border-radius:12px;border:1px solid #f4b7a8;background:#fff3ef;padding:13px 15px;margin-top:15px;color:#852e1d;line-height:1.5}
body.lx :is(#pc-corps,#cf) .cf-alerte{line-height:1.6;border-radius:14px;padding:15px 18px}
body.lx--config #pc-corps .pc-rassure{line-height:1.65;color:#4a6477;margin-top:21px}
body.lx--config #pc-corps .pc-filet{border-top:1px solid #e3eef6;padding-top:17px}
body.lx :is(#pc-corps,#cf) .cf-fin{padding:22px 4px}
body.lx :is(#pc-corps,#cf) .cf-fin h2{font-size:clamp(1.65rem,3.2vw,2.3rem)}
body.lx :is(#pc-corps,#cf) .cf-rgpd{font-size:.78rem;color:#607386;line-height:1.65}

/* Barre d'action sans pieger le clavier ni masquer les derniers champs. */
body.lx--config #pc-nav,body.lx--general-devis #cf-nav{background:rgba(255,255,255,.98);border-top:1px solid #d4e7f3;box-shadow:0 -12px 35px rgba(11,37,69,.11);backdrop-filter:blur(14px)}
body.lx--config #pc-nav .btn,body.lx--general-devis #cf-nav .btn{border-radius:13px;font-weight:850;min-height:52px}
body.lx--config #pc-nav .btn:not(.sec),body.lx--general-devis #cf-nav .btn:not(.sec){box-shadow:0 7px 17px rgba(26,86,219,.15)}
body.lx--config,body.lx--general-devis{scroll-padding-bottom:130px}
@media(max-width:680px){
 body.lx--config #pc-app{padding:17px 12px 32px}
 body.lx--config #pc-app .pc-carte{padding:20px 15px;border-radius:19px}
 body.lx--general-devis #cf .cf-etape{padding:20px 15px;border-radius:19px}
 body.lx :is(#pc-app,#cf) .lx3p2-context{padding:17px;border-radius:17px;margin-bottom:14px}
 body.lx :is(#pc-app,#cf) .lx3p2-line{align-items:flex-start}
 body.lx :is(#pc-app,#cf) .lx3p2-actions{width:100%}
 body.lx :is(#pc-app,#cf) .lx3p2-guide{width:100%;justify-content:center}
 body.lx--config #pc-corps .pc-choix{gap:9px}
 body.lx--config #pc-corps .pc-opt{min-width:calc(50% - 5px);font-size:.89rem;min-height:52px}
 body.lx :is(#pc-corps,#cf) .cf-cpt{padding:11px}
 body.lx :is(#pc-corps,#cf) .cf-compteurs{grid-template-columns:1fr}
 body.lx :is(#pc-corps,#cf) .cf-pas button{height:44px;width:44px}
 body.lx :is(#pc-corps,#cf) .cf-pas input{width:53px}
 body.lx--config #pc-corps .pc-rub-t{flex-wrap:wrap}
 body.lx :is(#pc-corps,#cf) .lmv-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.lx :is(#pc-corps,#cf) .lmv-item img{height:116px!important}
}
@media(max-width:375px){body.lx :is(#pc-corps,#cf) .cf-cpt{display:block}body.lx :is(#pc-corps,#cf) .cf-pas{margin-top:10px;justify-content:flex-start}body.lx--config #pc-corps .pc-opt{min-width:100%}}
@media(prefers-reduced-motion:reduce){body.lx :is(#pc-app,#cf) *,body.lx :is(#pc-app,#cf) *::before,body.lx :is(#pc-app,#cf) *::after{transition:none!important;animation:none!important}}
