/* =====================================================================
   Landing « prix de l'isolation par l'extérieur »
   Format article guide (structure Calculeo), direction artistique LSI.
   Classes préfixées px-.
   ===================================================================== */
@font-face{font-family:'Asap LSI';src:url('assets/fonts/asap-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Asap LSI';src:url('assets/fonts/asap-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'DM Sans LSI';src:url('assets/fonts/dmsans-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'DM Sans LSI';src:url('assets/fonts/dmsans-500.woff2') format('woff2');font-weight:500 600;font-style:normal;font-display:swap}
@font-face{font-family:'DM Sans LSI';src:url('assets/fonts/dmsans-700.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}

:root{
  --display:'Asap LSI',system-ui,-apple-system,sans-serif;
  --body:'DM Sans LSI','Asap LSI',system-ui,-apple-system,sans-serif;
}
html{scroll-padding-top:96px}
body{background:#fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none !important}
.cta{text-decoration:none}
sup{font-size:.62em;line-height:0}

/* ---------- En-tête ---------- */
.px-top{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.px-top::before{content:"";display:block;height:4px;background:var(--brand)}
.px-top-in{max-width:1180px;margin:0 auto;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.px-home{display:inline-flex;min-height:44px;align-items:center}
.px-home img{height:44px;width:auto}
.px-top-act{display:flex;align-items:center;gap:10px}
.px-tel{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;font-weight:700;font-size:15px;color:var(--ink);white-space:nowrap}
.px-tel:hover{color:var(--brand-text)}
.px-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:100px;background:var(--navy);color:#fff;
  font-weight:800;font-size:13.5px;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;transition:background .2s}
.px-btn:hover{background:#2B3543}

/* ---------- Mise en page article + widget ---------- */
.px-page{max-width:1180px;margin:0 auto;padding:28px 24px clamp(48px,7vw,80px);display:grid;
  grid-template-columns:minmax(0,1fr) 340px;gap:clamp(32px,5vw,72px);align-items:start}
.px-art{max-width:740px;font-size:17px;line-height:1.7;color:var(--soft)}

.px-ariane ol{list-style:none;display:flex;flex-wrap:wrap;gap:2px 0;font-size:13.5px;color:var(--muted)}
.px-ariane li{display:flex;align-items:center}
.px-ariane li+li::before{content:"";width:6px;height:6px;margin:0 10px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-45deg)}
.px-ariane a{display:inline-flex;align-items:center;min-height:32px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.px-ariane a:hover{color:var(--ink)}
.px-ariane [aria-current]{color:var(--ink);font-weight:600}

.px-art h1{margin-top:14px;font-size:clamp(30px,4vw,44px);font-weight:800;line-height:1.18;text-wrap:balance}
.px-sign{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:16px;font-size:14px;color:var(--muted)}
.px-sign img{width:26px;height:26px}
.px-sign span:first-of-type{font-weight:600;color:var(--ink)}
.px-sep{width:1px;height:14px;background:var(--line2)}

/* Sommaire replié après deux entrées */
.px-som{position:relative;margin-top:26px;padding:18px 22px 22px;border:1px solid var(--line);border-radius:18px;background:var(--bg2)}
.px-som-h b{font-family:var(--display);font-weight:800;font-size:17px;color:var(--ink)}
.px-som ol{margin-top:8px;padding-left:22px;font-size:15px;line-height:1.5}
.px-som li{padding:0}
.px-som li::marker{color:var(--brand-text);font-weight:700}
.px-som a{display:block;padding:6px 0;color:var(--ink);font-weight:600;text-decoration:none}
.px-som a:hover{color:var(--brand-text);text-decoration:underline}
.px-som:not(.ouvert) li:nth-child(n+3){display:none}
.px-som-plus{position:absolute;right:16px;bottom:-15px;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;
  border:0;border-radius:100px;background:var(--navy);color:#fff;font:700 13px var(--body);cursor:pointer}
.px-som-plus svg{transition:transform .25s}
.px-som.ouvert .px-som-plus svg{transform:rotate(180deg)}

.px-intro{margin-top:40px}

/* Encarts CTA dans le fil */
.px-cta{margin:30px 0 8px;padding:24px;border-radius:20px;background:var(--brand-tint);text-align:center}
.px-cta p{font-family:var(--display);font-weight:800;font-size:clamp(18px,2vw,20px);line-height:1.35;color:var(--ink);text-wrap:balance}
.px-cta .cta{margin-top:16px}
.px-cta small{display:block;margin-top:10px;font-size:13.5px;color:var(--muted)}

.px-art h2{margin-top:clamp(44px,6vw,64px);font-size:clamp(25px,3vw,32px);font-weight:800;line-height:1.22;text-wrap:balance}
.px-art h2::after{content:"";display:block;width:64px;height:5px;margin-top:16px;border-radius:3px;background:var(--brand)}
.px-art h3{margin-top:32px;font-size:clamp(19px,2vw,22px);font-weight:800;line-height:1.3}
.px-art p{margin-top:14px}
.px-art h2+p,.px-art h3+p{margin-top:16px}
.px-art b{color:var(--ink)}

.px-puces,.px-coches{margin-top:14px;padding-left:0;list-style:none}
.px-puces li,.px-coches li{position:relative;padding-left:26px;margin-top:8px}
.px-puces li::before{content:"";position:absolute;left:6px;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--brand)}
.px-coches li::before{content:"";position:absolute;left:2px;top:.42em;width:14px;height:8px;border-left:2.6px solid var(--brand-2);border-bottom:2.6px solid var(--brand-2);transform:rotate(-45deg)}
.px-puces-l li,.px-coches-l li{margin-top:14px}
.px-note{font-size:14px;line-height:1.55;color:var(--muted)}

/* Tableaux */
.px-table-wrap{margin-top:20px;overflow-x:auto;border-radius:16px;border:1px solid var(--line);box-shadow:var(--card-shadow)}
.px-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45}
.px-table th,.px-table td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.px-table tr:last-child>*{border-bottom:0}
.px-table thead th{background:var(--navy);color:#fff;font-weight:700;font-size:14px}
.px-table tbody th{font-weight:700;color:var(--ink);background:var(--bg2);min-width:150px}
.px-table-cas td{text-align:right}
.px-table-cas tbody th{width:55%}
.px-fort>*{background:var(--brand-tint) !important;color:var(--ink);font-weight:800}

.px-fig{margin:30px 0 0;border-radius:20px;overflow:hidden;aspect-ratio:16/10;background:var(--surface2)}
.px-fig img{width:100%;height:100%;object-fit:cover}

/* Exemple chiffré */
.px-cas{margin-top:30px;padding:clamp(20px,3vw,28px);border-radius:22px;border:1px solid var(--line);background:#fff;box-shadow:var(--card-shadow)}
.px-cas-t,.px-cas-t2{font-family:var(--display);font-weight:800;font-size:clamp(19px,2vw,21px);line-height:1.3;color:var(--ink)}
.px-cas-t{margin-top:0 !important}
.px-cas-t2{margin-top:28px !important}
.px-cas .px-note{margin-top:14px}

/* CTA final */
.px-cta-fin{display:flex;align-items:center;gap:24px;margin-top:48px;padding:6px 0 6px 22px;border-left:5px solid var(--brand)}
.px-cta-fin p{margin:0;flex:1;font-family:var(--display);font-weight:800;font-size:clamp(20px,2.4vw,26px);line-height:1.3;color:var(--ink)}
.px-cta-fin .cta{flex:none}

.px-tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin-top:40px}
.px-tags li{padding:5px 12px;border:1px solid var(--brand-line);border-radius:8px;font-size:13px;font-weight:600;color:var(--brand-text)}
.px-notes{list-style:none;margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:12.5px;line-height:1.55;color:var(--muted)}
.px-notes li+li{margin-top:6px}
.px-notes a{color:var(--ink);text-decoration:underline}

/* ---------- Widget latéral ---------- */
.px-side{position:sticky;top:96px}
.px-w{background:var(--navy);color:#D3D9E2;border-radius:22px;padding:24px 22px 20px;box-shadow:0 24px 50px -30px rgba(31,39,51,.7)}
.px-w-t{font-family:var(--display);font-weight:800;font-size:21px;line-height:1.25;color:#fff}
#wForm{margin-top:16px}
.px-w-q{border:0}
.px-w-q legend,.px-w-l{display:block;margin:0 0 8px;font-size:14px;font-weight:700;color:#fff}
.px-w-l{margin-top:16px}
.px-w-choix{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.px-w-choix label{position:relative;cursor:pointer}
.px-w-choix input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.px-w-choix span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:92px;padding:10px;border-radius:14px;
  background:#fff;color:var(--ink);font-size:14px;font-weight:600;text-align:center;border:2px solid transparent;transition:border-color .2s,background .2s}
.px-w-choix svg{color:var(--brand-text)}
.px-w-choix input:checked+span{border-color:var(--brand);background:#FFF6E6}
.px-w-choix input:focus-visible+span{outline:3px solid var(--brand);outline-offset:2px}
.px-w select,.px-w input[type="text"],.px-w input[type="tel"]{width:100%;min-height:48px;padding:0 14px;border-radius:12px;border:1px solid transparent;
  background:#fff;font-family:var(--body);font-size:16px;color:var(--ink)}
.px-w select:focus,.px-w input:focus{outline:none;box-shadow:0 0 0 3px var(--brand)}
.px-w input[aria-invalid="true"]{box-shadow:0 0 0 3px #E57373}
.px-w-info{margin-top:10px;padding:9px 12px;border-radius:10px;background:rgba(248,169,35,.16);color:#FFE2A8;font-size:13.5px;line-height:1.45}
.px-w-go{width:100%;margin-top:18px}
.px-w-sous{font-size:14.5px;line-height:1.5}
.px-w-ok{display:flex;gap:9px;align-items:flex-start;margin-top:14px;font-size:12.5px;line-height:1.45;color:#B9C2CE;cursor:pointer}
.px-w-ok input{width:18px;height:18px;flex:none;margin-top:1px;accent-color:var(--brand)}
.px-w-err{margin-top:12px;padding:9px 12px;border-radius:10px;background:rgba(229,115,115,.16);color:#FFC4C4;font-size:13.5px;font-weight:600}
.px-w-retour{display:block;margin:8px auto 0;min-height:40px;padding:0 12px;border:0;background:none;color:#B9C2CE;font:600 14px var(--body);text-decoration:underline;cursor:pointer}
.px-w-tel{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;align-items:center;min-height:44px;margin-top:10px;padding-top:12px;border-top:1px solid rgba(255,255,255,.13);font-size:14px;color:#B9C2CE}
.px-w-tel b{color:#fff}
.px-w-tel:hover b{color:var(--brand)}
.px-w-merci{display:flex;flex-direction:column;gap:8px;padding:10px 0;text-align:center}
.px-w-merci b{font-family:var(--display);font-size:22px;color:#fff}

/* ---------- Pied de page ---------- */
.px-ftr{background:var(--navy);color:#B9C2CE;padding:0 0 calc(32px + env(safe-area-inset-bottom))}
.px-ftr-in{max-width:1180px;margin:0 auto;padding:0 24px}
.px-fr{transform:translateY(-50%);border-radius:18px;border:1px solid var(--line);background:#F4EFEC}
.px-fr a{padding:16px 22px;color:var(--muted)}
.px-fr b{color:var(--ink)}
.frbar .fr-logo{flex:none;height:42px;width:auto;display:block}
.px-ftr-haut{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.13)}
.px-ftr-logo{height:46px;width:auto}
.px-ftr-tag{margin-top:10px;font-size:15px;color:#D3D9E2}
.px-soc{list-style:none;display:flex;gap:10px}
.px-soc a{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;transition:background .2s,color .2s}
.px-soc a:hover{background:var(--brand);color:#1F2733}
.px-ftr-liens{list-style:none;display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:18px}
.px-ftr-liens a{display:inline-flex;align-items:center;min-height:40px;font-size:14.5px;color:#E4E8EE}
.px-ftr-liens a:hover{color:var(--brand)}
.px-ftr-cr{margin-top:12px;font-size:14px;color:#D3D9E2}
.px-ftr-legal{margin-top:12px;font-size:12px;line-height:1.55;color:#98A2B0}

.px-mcta{display:none}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .px-page{grid-template-columns:minmax(0,1fr)}
  .px-art{max-width:none}
  /* Comme sur la référence, le widget descend sous l'article. */
  .px-side{position:static;max-width:520px;width:100%;margin:0 auto}
}
@media(max-width:640px){
  .px-top-in{padding:8px 16px}
  .px-home img{height:38px}
  .px-tel span{display:none}
  .px-tel{width:44px;padding:0;justify-content:center;border:1px solid var(--line2);border-radius:50%}
  .px-btn{padding:0 14px;font-size:12.5px}
  .px-page{padding:18px 16px 56px}
  .px-art{font-size:16px}
  .px-sign .px-sep,.px-sign span:last-child{display:none}
  .px-sign{gap:6px 8px}
  .px-sign svg{display:none}
  .px-sign span:nth-of-type(3)::before{content:"· ";color:var(--muted)}
  .px-som{padding:16px 16px 22px}
  .px-cta{padding:20px 16px}
  .px-cta .cta,.px-cta-fin .cta{width:100%}
  .px-cta-fin{flex-direction:column;align-items:stretch;gap:16px}
  .px-table{font-size:14px}
  .px-table th,.px-table td{padding:11px 12px}
  .px-table tbody th{min-width:118px}
  .px-table-cas td{text-align:left}
  .px-fig{border-radius:16px}
  .px-ftr-in{padding:0 16px}
  .frbar a{flex-direction:column;align-items:flex-start;gap:10px}
  .frbar .fr-logo{height:34px}
  .px-fr{transform:translateY(-30%)}
  .px-ftr-haut{flex-direction:column;align-items:flex-start}
  .px-ftr{padding-bottom:calc(108px + env(safe-area-inset-bottom))}
  .px-mcta{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:var(--navy);box-shadow:0 -10px 30px -16px rgba(0,0,0,.5);transition:transform .3s}
  .px-mcta .cta{flex:1;min-height:50px;padding:0 12px;font-size:14px}
  .px-mcta .cta.ghost{flex:.6}
  .px-mcta.cache{transform:translateY(110%)}
}
@media(max-width:400px){
  .cta{font-size:13.5px;letter-spacing:.2px;padding-left:16px;padding-right:16px;gap:8px}
  .px-btn{display:none}
}
@media(prefers-reduced-motion:reduce){
  .px-mcta,.px-som-plus svg,.px-w-choix span{transition:none}
}
