.popup-overlay{backdrop-filter:blur(8px);z-index:10000;opacity:0;visibility:hidden;background:#000000e6;justify-content:center;align-items:center;padding:2rem;transition:all .4s;display:flex;position:fixed;inset:0}.popup-overlay.active{opacity:1;visibility:visible}.popup-project-card{background:var(--bg1);border:1px solid var(--bdr);border-radius:var(--r4);width:100%;max-width:600px;max-height:85vh;transition:all .4s;position:relative;overflow:hidden;transform:scale(.8);box-shadow:0 25px 50px #0009}.popup-overlay.active .popup-project-card{transform:scale(1)}.popup-project-image{width:100%;height:280px;position:relative;overflow:hidden}.popup-project-image img{object-fit:cover;width:100%;height:100%}.popup-project-overlay{background:linear-gradient(#0000 40%,#0a0a0bcc 100%);align-items:flex-end;padding:1.5rem;display:flex;position:absolute;inset:0}.popup-project-status{letter-spacing:.06em;text-transform:uppercase;backdrop-filter:blur(8px);border-radius:20px;padding:.4rem .8rem;font-size:.75rem;font-weight:700}.popup-project-status.terminé{color:#10b981;background:#10b98126;border:1px solid #10b9814d}.popup-project-status.en-cours{color:#f59e0b;background:#f59e0b26;border:1px solid #f59e0b4d}.popup-close{cursor:pointer;color:#fff;z-index:10;background:#000000b3;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:absolute;top:1rem;right:1rem}.popup-close:hover{background:var(--ac);transform:scale(1.1)}.popup-project-content{max-height:calc(85vh - 280px);padding:2rem;overflow-y:auto}.popup-project-content::-webkit-scrollbar{width:4px}.popup-project-content::-webkit-scrollbar-thumb{background:var(--ac);border-radius:2px}.popup-project-header{align-items:center;gap:1.2rem;margin-bottom:1.5rem;display:flex}.popup-project-logo{border-radius:var(--r2);background:var(--acd);width:64px;height:64px;color:var(--ac);flex-shrink:0;justify-content:center;align-items:center;font-size:1.5rem;display:flex;overflow:hidden}.popup-project-logo img{object-fit:cover;border-radius:var(--r2);width:100%;height:100%}.popup-project-info h2{color:var(--txt);margin:0 0 .3rem;font-size:1.6rem;font-weight:700}.popup-project-slogan{color:var(--txt3);margin:0;font-size:.9rem}.popup-project-description{color:var(--txt2);margin-bottom:1rem;font-size:.95rem;line-height:1.7}.popup-detail-section{margin-bottom:1rem}.popup-detail-section h3{color:var(--txt);align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1.1rem;font-weight:600;display:flex}.popup-detail-section h3 i{color:var(--ac);font-size:.9rem}.popup-detail-section p{color:var(--txt2);margin-bottom:1rem;font-size:.9rem;line-height:1.6}.popup-detail-section ul{margin:0;padding:0;list-style:none}.popup-detail-section li{color:var(--txt2);margin-bottom:.1rem;padding:.2rem 0 .2rem 1.8rem;font-size:.9rem;line-height:1.3;transition:all .2s;position:relative}.popup-detail-section li:hover{color:var(--txt);padding-left:2rem}.popup-detail-section li:before{content:"✓";color:var(--ac);font-size:.8rem;font-weight:700;position:absolute;top:.2rem;left:0}.popup-detail-section.problemes{border:1px solid var(--bdr);border-radius:var(--r2);background:0 0;padding:1.2rem}.popup-detail-section.problemes h3{color:var(--txt)}.popup-project-actions{border-top:1px solid var(--bdr);gap:1rem;margin-top:2rem;padding-top:1.5rem;display:flex}.popup-btn{font-family:var(--font);border-radius:var(--r2);cursor:pointer;border:none;flex:1;justify-content:center;align-items:center;gap:.5rem;padding:.8rem 1.2rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.popup-btn-primary{background:var(--ac);color:#fff}.popup-btn-primary:hover{background:var(--acl);transform:translateY(-1px)}.popup-btn-secondary{background:var(--bg2);color:var(--txt2);border:1px solid var(--bdr)}.popup-btn-secondary:hover{background:var(--bg3);color:var(--txt);border-color:#ffffff1f}@media (width<=768px){.popup-overlay{justify-content:flex-start;align-items:flex-start;padding:0}.popup-overlay.with-origin .popup-project-card{left:var(--card-left,0);top:var(--card-top,0);width:var(--card-width,100%);height:var(--card-height,auto);border-radius:var(--r4);z-index:10001;max-width:none;max-height:none;transition:all .25s cubic-bezier(.25,.46,.45,.94);position:absolute;transform:scale(1)}.popup-overlay.with-origin.active .popup-project-card{border-radius:0;width:100%;height:100vh;max-height:100vh;position:fixed;top:0;left:0;transform:scale(1)}.popup-overlay.no-origin .popup-project-card,.popup-overlay:not(.with-origin) .popup-project-card{border-radius:var(--r3) var(--r3) 0 0;width:100%;max-width:100%;max-height:95vh;transition:all .2s;transform:translateY(100%)}.popup-overlay.no-origin.active .popup-project-card,.popup-overlay:not(.with-origin).active .popup-project-card{transform:translateY(0)}.popup-project-image{height:200px}.popup-project-content{max-height:calc(100vh - 280px);padding:1rem 1rem 6rem;overflow-y:auto}.popup-project-header{gap:1rem}.popup-project-logo{width:56px;height:56px;font-size:1.2rem}.popup-project-info h2{font-size:1.4rem}.popup-project-actions{background:var(--bg1);border-top:1px solid var(--bdr);z-index:1000;flex-direction:column;gap:.5rem;padding:.8rem 1rem;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 12px #0000004d}.popup-btn{margin:0;padding:.6rem 1rem;font-size:.85rem}.popup-btn-primary{display:none}.popup-btn-secondary{width:100%}}@media (width<=480px){.popup-project-content{padding:1rem}.popup-project-header{text-align:center;flex-direction:column;gap:.8rem}.popup-project-logo{width:48px;height:48px;font-size:1rem}.popup-project-info h2{font-size:1.2rem}.popup-project-image{height:200px}}