#leads-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: leadsPopupFadeIn 0.3s ease;
}

@keyframes leadsPopupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#leads-popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 750px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: leadsPopupSlideUp 0.3s ease;
}

@keyframes leadsPopupSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#leads-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

#leads-popup-close:hover {
    color: #000;
}

#leads-popup-inner {
    display: flex;
}

#leads-popup-banner {
    flex: 0 0 45%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#leads-popup-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#leads-popup-content {
    flex: 1;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#leads-popup-titulo {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

#leads-popup-descricao {
    margin: 0 0 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

#leads-popup-form input {
    display: block;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

#leads-popup-form input:focus {
    outline: none;
    border-color: #333;
}

#leads-popup-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: opacity 0.2s;
}

#leads-popup-btn:hover {
    opacity: 0.9;
}

#leads-popup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#leads-popup-success h3 {
    margin: 0 0 8px;
    color: #16a34a;
    font-size: 20px;
}

#leads-popup-success p {
    margin: 0;
    color: #555;
    font-size: 14px;
}

#leads-popup-error p {
    margin: 0;
    color: #dc2626;
    font-size: 13px;
}

/* Responsivo */
@media (max-width: 600px) {
    #leads-popup-inner {
        flex-direction: column;
    }

    #leads-popup-banner {
        flex: none;
    }

    #leads-popup-banner img {
        height: auto;
        border-radius: 12px 12px 0 0;
    }

    #leads-popup-content {
        padding: 24px 20px;
    }

    #leads-popup-titulo {
        font-size: 18px;
    }
}
