/* ── Botão flutuante estilo Buttonizer ── */
.ldp-bubble {
    position: fixed;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}
.ldp-bubble.ldp-left  { left: 24px; }
.ldp-bubble.ldp-right { right: 24px; }
.ldp-bubble.ldp-right .ldp-bubble-label {
    margin-left: 0;
    margin-right: -10px;
    padding: 0 22px 0 18px;
}

.ldp-bubble:hover .ldp-bubble-icon {
    transform: scale(1.08);
}

/* Ícone circular */
.ldp-bubble-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: transform .2s, filter .2s;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.ldp-bubble-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* Pulso animado */
.ldp-bubble-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37,211,102,.4);
    animation: ldp-pulse 2.5s infinite;
}
@keyframes ldp-bounce {
    0%,100% { transform: translateY(0) scaleY(1); }
    15%      { transform: translateY(-5px) scaleY(1.04); }
    30%      { transform: translateY(0) scaleY(1); }
    45%      { transform: translateY(-3px) scaleY(1.02); }
    60%      { transform: translateY(0) scaleY(1); }
}

@keyframes ldp-pulse {
    0%   { transform: scale(1);    opacity: .7; }
    70%  { transform: scale(1.55); opacity: 0;  }
    100% { transform: scale(1.55); opacity: 0;  }
}

/* Label ao lado */
.ldp-bubble-label {
    background: #111;
    color: #FFD700;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    height: 38px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Animação diagonal do label */
.ldp-bubble-label {
    animation: ldp-skew 2.5s ease infinite;
    animation-delay: 2s;
}



@keyframes ldp-skew {
    0%,100% { transform: rotate(0deg); }
    25%     { transform: rotate(-12deg); }
    50%     { transform: rotate(12deg); }
    75%     { transform: rotate(0deg); }
}

/* ── Overlay ── */
.ldp-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ldp-fade .2s ease;
}
@keyframes ldp-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Popup ── */
.ldp-popup {
    background: #f8fafc;
    border-radius: 20px;
    width: 92%;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,.28);
    animation: ldp-slide-up .25s ease;
    font-family: Arial, Helvetica, sans-serif;
}
@keyframes ldp-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.ldp-popup-header {
    background: #25d366;
    padding: 18px 18px 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.ldp-popup-header svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.2));
}
.ldp-popup-header-text strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
}
.ldp-popup-header-text span {
    color: rgba(255,255,255,.88);
    font-size: 12px;
    margin-top: 1px;
    display: block;
}
.ldp-popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 14px !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: rgba(255,255,255,.85) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    transition: color .15s !important;
}
.ldp-popup-close:hover {
    color: #fff !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ldp-popup-body { padding: 18px 18px 16px; background: #fff; margin: 12px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

.ldp-popup-field { margin-bottom: 13px; }
.ldp-popup-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.ldp-popup-field input {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #e8edf2;
    border-radius: 9px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #f8fafc;
    box-sizing: border-box;
}
.ldp-popup-field input:focus {
    border-color: #25d366;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,211,102,.12);
}

.ldp-popup-erro {
    color: #e53e3e;
    font-size: 12px;
    margin-bottom: 10px;
    display: none;
}
.ldp-popup-btn {
    width: 100%;
    padding: 13px;
    background: #25d366;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, transform .1s;
    letter-spacing: .01em;
    box-shadow: 0 3px 10px rgba(37,211,102,.35);
}
.ldp-popup-btn:hover { background: #1ebe5d; transform: translateY(-1px); }
.ldp-popup-btn:active { transform: translateY(0); }
.ldp-popup-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.ldp-popup-ok {
    text-align: center;
    color: #22c55e;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
    display: none;
}
.ldp-popup-privacy {
    text-align: center;
    font-size: 11px;
    color: #cbd5e1;
    margin: 10px 18px 14px;
}
