@import 'style.css';

/* --- PRESTA DESIGN 3 : EXPANSION LUXE (MOBILE-FIRST) --- */
.expanding-design3 {
    position: fixed !important;
    z-index: 99999 !important;
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.expanded-presta-content {
    position: absolute !important;
    /* Mobile: Bottom Sheet */
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 30px 25px !important;
    
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px 30px 0 0 !important;
    
    opacity: 0;
    transform: translateY(100%) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none;
    z-index: 10 !important;
    max-height: 75vh !important;
    overflow-y: auto !important;
}

.expanded-presta-content.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Masquer les infos inutiles sur la carte en Design 3 */
.presta-setup-3 .prstCard .prstProfile,
.presta-setup-3 .prstCard .prstPrice,
.presta-setup-3 .prstCard .contentDesc {
    display: none !important;
}

.expanded-presta-content h2 {
    font-family: var(--font-fam-two) !important;
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    color: #fff !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.expanded-presta-content .separate {
    width: 60px;
    height: 1px;
    background: var(--c-purple);
    margin: 15px 0 20px 0;
    opacity: 0.8;
}

.expanded-price {
    font-family: var(--font-fam-one);
    font-size: 1rem;
    color: var(--c-cyan);
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 300;
}

.expanded-desc {
    font-family: var(--font-fam-one);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    width: 100%;
    margin-bottom: 25px;
    line-height: 1.6;
    max-height: 35vh;
    overflow-y: auto;
    padding-right: 10px;
    font-weight: 300;
}

.btn-close-presta {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.prst-modal-btn-contact {
    background: #fff;
    color: #000;
    border: none;
    padding: 18px 35px;
    font-family: var(--font-fam-one);
    font-weight: 600;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 2px;
    font-size: 0.8rem;
}

@media (min-width: 1024px) {
    .expanded-presta-content {
        top: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        right: 0 !important;
        width: 480px !important;
        height: 100% !important;
        max-height: 100% !important;
        border-top: none !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 !important;
        padding: 60px 50px !important;
        justify-content: center !important;
        transform: translateX(100%) !important;
    }

    .expanded-presta-content.visible {
        transform: translateX(0) !important;
    }
}
