﻿/* =====================================================
   WHATSAPP — DOIS SETORES
===================================================== */

.dc-whatsapp-widget {
    position: fixed;
    z-index: 99999;
    right: 20px;
    bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.dc-whatsapp-button {
    position: relative;
    min-width: 155px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: none;
    border-radius: 16px;
    color: #fff;
    background: #16be45;
    box-shadow: 0 12px 30px rgba(22, 190, 69, .30);
    font-size: .95rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .dc-whatsapp-button:hover {
        background: #12a93c;
        box-shadow: 0 16px 36px rgba(22, 190, 69, .38);
        transform: translateY(-3px);
    }

    .dc-whatsapp-button > i {
        font-size: 1.6rem;
    }

.dc-whatsapp-notification {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #ef4444;
    font-size: .68rem;
    font-weight: 800;
}

.dc-whatsapp-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 370px;
    max-width: calc(100vw - 30px);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(.97);
    transform-origin: right bottom;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.dc-whatsapp-widget.open .dc-whatsapp-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.dc-whatsapp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 19px;
    color: #fff;
    background: linear-gradient(135deg, #0a5f54, #087568);
}

.dc-whatsapp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dc-whatsapp-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: #fff;
}

    .dc-whatsapp-logo img {
        display: block;
        width: 100%;
        height: 100%;
        padding: 4px;
        object-fit: contain;
    }

.dc-whatsapp-brand strong,
.dc-whatsapp-brand span {
    display: block;
}

.dc-whatsapp-brand strong {
    margin-bottom: 3px;
    font-size: .95rem;
    line-height: 1.25;
}

.dc-whatsapp-brand span {
    color: rgba(255, 255, 255, .78);
    font-size: .75rem;
}

.dc-whatsapp-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 11px;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    cursor: pointer;
    transition: background .2s ease;
}

    .dc-whatsapp-close:hover {
        background: rgba(255, 255, 255, .23);
    }

.dc-whatsapp-welcome {
    padding: 20px 20px 12px;
}

    .dc-whatsapp-welcome strong {
        display: block;
        margin-bottom: 5px;
        color: #0f172a;
        font-size: 1rem;
    }

    .dc-whatsapp-welcome p {
        margin: 0;
        color: #64748b;
        font-size: .83rem;
        line-height: 1.55;
    }

.dc-whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 16px 18px;
}

.dc-whatsapp-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    color: inherit;
    background: #f8fafc;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .dc-whatsapp-option:hover {
        color: inherit;
        border-color: rgba(22, 190, 69, .32);
        background: rgba(22, 190, 69, .06);
        box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
        transform: translateY(-2px);
    }

.dc-whatsapp-option-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: #16be45;
    font-size: 1.05rem;
}

.dc-whatsapp-option-text {
    min-width: 0;
    flex: 1;
}

    .dc-whatsapp-option-text strong,
    .dc-whatsapp-option-text span {
        display: block;
    }

    .dc-whatsapp-option-text strong {
        margin-bottom: 3px;
        color: #0f172a;
        font-size: .88rem;
    }

    .dc-whatsapp-option-text span {
        color: #64748b;
        font-size: .78rem;
    }

.dc-whatsapp-option-arrow {
    color: #94a3b8;
    font-size: .8rem;
    transition: color .2s ease, transform .2s ease;
}

.dc-whatsapp-option:hover .dc-whatsapp-option-arrow {
    color: #16be45;
    transform: translate(2px, -2px);
}

.dc-whatsapp-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 15px;
    border-top: 1px solid rgba(15, 23, 42, .07);
    color: #64748b;
    background: #f8fafc;
    font-size: .7rem;
}

    .dc-whatsapp-footer i {
        color: #16be45;
        font-size: .95rem;
    }

/* RESPONSIVO */

@media (max-width: 576px) {
    .dc-whatsapp-widget {
        right: 14px;
        bottom: 14px;
    }

    .dc-whatsapp-panel {
        position: fixed;
        right: 14px;
        bottom: 84px;
        left: 14px;
        width: auto;
        max-width: none;
    }

    .dc-whatsapp-button {
        min-width: 58px;
        width: 58px;
        height: 58px;
        padding: 0;
        border-radius: 50%;
    }

        .dc-whatsapp-button > span:not(.dc-whatsapp-notification) {
            display: none;
        }
}


.dc-whatsapp-svg {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: block;
    color: #fff;
}

.dc-whatsapp-footer-svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: block;
    color: #16be45;
}