/* ============================================
   LGPD Cookie Consent Banner
   ============================================ */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border-top: 3px solid #f26522;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.lgpd-banner.lgpd-visible {
    transform: translateY(0);
}

.lgpd-banner.lgpd-hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.lgpd-content {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    flex: 1;
}

.lgpd-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.lgpd-text h4 {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.lgpd-text p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.lgpd-accept-btn {
    flex-shrink: 0;
    background: #f26522;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.lgpd-accept-btn:hover {
    background: #d4551a;
    transform: scale(1.03);
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow:
        0 6px 20px rgba(37, 211, 102, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:active {
    transform: translateY(-1px) scale(0.98);
}

/* Text label */
.whatsapp-label {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    padding: 14px 6px 14px 22px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Icon container */
.whatsapp-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    margin-right: 2px;
}

.whatsapp-icon svg {
    width: 34px;
    height: 34px;
    fill: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Pulse ring */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.25);
    animation: whatsapp-pulse 2.5s ease-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

@keyframes whatsapp-bounce-in {
    0% {
        transform: translateY(80px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Move WhatsApp up when LGPD banner is visible */
body.lgpd-active .whatsapp-float {
    bottom: 90px;
    transition: bottom 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
    .lgpd-banner {
        flex-direction: column;
        padding: 14px 16px;
        gap: 12px;
    }

    .lgpd-content {
        gap: 8px;
    }

    .lgpd-text h4 {
        font-size: 13px;
    }

    .lgpd-text p {
        font-size: 12px;
    }

    .lgpd-accept-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 12px;
    }

    .whatsapp-label {
        font-size: 12px;
        padding: 12px 4px 12px 16px;
    }

    .whatsapp-icon {
        width: 48px;
        height: 48px;
    }

    .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }

    body.lgpd-active .whatsapp-float {
        bottom: 120px;
    }
}