/* Section « Créer votre livret, pas à pas » (accueil et /comment-ca-marche) */
.pap .kick{color:#8A5A12}
.pap .serif{color:#2E5A4F}
.pap-head{max-width:680px}
.pap-head h2{font-size:clamp(32px,4.4vw,48px);line-height:1.08;letter-spacing:-.02em;margin:0 0 14px}
.pap-head p{color:#4F5B57;font-size:18px;line-height:1.55;margin:0}
.pap-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:64px;align-items:start;margin-top:34px}
.pap-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;position:relative}
.pap-steps:before{content:"";position:absolute;left:35px;top:28px;bottom:28px;width:2px;background:#EDE6DA}
.pap-steps button{all:unset;box-sizing:border-box;width:100%;display:flex;gap:16px;align-items:flex-start;padding:13px 14px;border-radius:18px;cursor:pointer;position:relative;transition:background .25s,box-shadow .25s}
.pap-steps button:hover{background:rgba(255,255,255,.6)}
.pap-steps button:focus-visible{outline:2px solid #E8A33D;outline-offset:2px}
.pap-n{width:44px;height:44px;border-radius:22px;background:#fff;border:2px solid #EDE6DA;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none;z-index:1;color:#1F3D36;transition:background .25s,border-color .25s,color .25s}
.pap-t{flex:1;min-width:0}
.pap-t b{display:block;font-size:17px;color:#1F3D36}
.pap-t small{display:block;color:#4F5B57;font-size:14.5px;line-height:1.45;margin-top:2px}
.pap-d{font-size:12px;font-weight:700;color:#4F5B57;background:#EEEAE2;border-radius:999px;padding:4px 9px;white-space:nowrap;margin-top:4px}
.pap-steps .on button{background:#fff;box-shadow:0 6px 22px rgba(31,61,54,.09)}
.pap-steps .on .pap-n{background:#1F3D36;border-color:#1F3D36;color:#fff}
.pap-steps .done .pap-n{background:#DCE8E2;border-color:#DCE8E2;color:#2E5A4F}
.pap-stage{position:sticky;top:90px}
.pap-phone{position:relative;width:100%;aspect-ratio:1206/2622;border-radius:48px;background:#111;padding:11px;box-shadow:0 30px 60px rgba(31,61,54,.22)}
.pap-phone img{position:absolute;inset:11px;width:calc(100% - 22px);height:calc(100% - 22px);object-fit:cover;object-position:top;border-radius:38px;opacity:0;transition:opacity .45s ease}
.pap-phone img.on{opacity:1}
.pap-bar{display:flex;gap:6px;justify-content:center;margin-top:16px}
.pap-bar i{width:22px;height:5px;border-radius:3px;background:#E3DBCD;transition:background .3s}
.pap-bar i.on{background:#E8A33D}
.pap-cap{text-align:center;font-size:13.5px;color:#4F5B57;margin:10px 0 0;min-height:20px}
.pap-track,.pap-dots{display:none}
.pap-end{display:flex;gap:20px;align-items:center;background:#1F3D36;color:#fff;border-radius:24px;padding:24px 28px;margin-top:44px}
.pap-end b{font-size:20px;display:block}
.pap-end span{color:#CFE0DA;font-size:14.5px;line-height:1.5;display:block;margin-top:3px}
.pap-end .btn{flex:none}
@media (max-width:900px){
  .pap-grid{display:none}
  .pap-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:22px calc((100vw - min(300px,82vw))/2) 8px;margin:10px -22px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .pap-track::-webkit-scrollbar{display:none}
  .pap-card{flex:none;width:min(300px,82vw);scroll-snap-align:center;background:#fff;border-radius:24px;padding:16px 14px 14px;box-shadow:0 6px 20px rgba(31,61,54,.08)}
  .pap-ch{display:flex;gap:10px;align-items:center;margin:0 4px 12px}
  .pap-ch .pap-n{width:34px;height:34px;border-radius:17px;background:#1F3D36;border-color:#1F3D36;color:#fff;font-size:14px}
  .pap-ch b{display:block;font-size:15.5px;line-height:1.25;color:#1F3D36}
  .pap-ch small{font-size:12px;color:#4F5B57}
  .pap-mini{width:72%;margin:0 auto;aspect-ratio:1206/2622;border-radius:30px;background:#111;padding:6px;box-shadow:0 12px 26px rgba(31,61,54,.18)}
  .pap-mini img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:25px;display:block}
  .pap-card p{font-size:13.5px;color:#4F5B57;line-height:1.45;margin:12px 4px 2px}
  .pap-dots{display:flex;gap:6px;justify-content:center;margin-top:14px}
  .pap-dots i{width:7px;height:7px;border-radius:4px;background:#D8CFC0;transition:width .25s,background .25s}
  .pap-dots i.on{width:20px;background:#1F3D36}
  .pap-end{flex-direction:column;align-items:stretch;text-align:left;padding:20px}
  .pap-end .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.pap-phone img,.pap-n,.pap-steps button{transition:none}}

.pap-after{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:28px}
.pap-after div{background:#fff;border-radius:20px;padding:20px;box-shadow:0 6px 20px rgba(31,61,54,.06)}
.pap-after b{display:block;font-size:17px;color:#1F3D36;margin-bottom:6px}
.pap-after span{color:#4F5B57;font-size:14.5px;line-height:1.5}
