/*
 * Caren Santos — WhatsApp Flutuante 1.1.0
 * Celular/tablet: círculo verde com ícone branco.
 * Computador: legenda branca + círculo verde.
 * CSS independente do tipo de publicação (inclusive CPT Imóveis).
 */
.cswf-floating.cswf-v110 {
    position: fixed !important;
    right: 22px !important;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    top: auto !important;
    z-index: 2147483000 !important;
    display: block;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 0 !important;
    padding: 0 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}
.cswf-floating.cswf-v110 *,
.cswf-floating.cswf-v110 *::before,
.cswf-floating.cswf-v110 *::after {
    box-sizing: border-box;
}
.cswf-floating.cswf-v110 .cswf-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
    max-width: 100%;
}
.cswf-floating.cswf-v110 .cswf-caption {
    display: inline-block;
    min-width: 0;
    max-width: 240px;
    padding: 12px 18px;
    border-radius: 999px 0 0 999px;
    background: #fff;
    color: #243146;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .13);
}
.cswf-floating.cswf-v110 .cswf-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .20);
    transition: background-color .2s ease, transform .2s ease;
}
.cswf-floating.cswf-v110 .cswf-icon svg {
    display: block !important;
    width: 31px !important;
    height: 31px !important;
    fill: currentColor !important;
    color: #fff !important;
}
.cswf-floating.cswf-v110 .cswf-link:hover .cswf-icon {
    background: #20ba59 !important;
    transform: translateY(-2px);
}
.cswf-floating.cswf-v110 .cswf-link:focus-visible {
    outline: 3px solid #0b2b53 !important;
    outline-offset: 4px;
    border-radius: 999px;
}

/* Celular e tablet — a legenda fica invisível e o botão é somente um círculo. */
@media screen and (max-width: 1024px) {
    .cswf-floating.cswf-v110.cswf-hide-mobile {
        display: none !important;
    }
    .cswf-floating.cswf-v110:not(.cswf-hide-mobile) {
        display: block !important;
        right: 18px !important;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .cswf-floating.cswf-v110 .cswf-caption {
        display: none !important;
    }
    .cswf-floating.cswf-v110 .cswf-link {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        border-radius: 50% !important;
    }
    .cswf-floating.cswf-v110 .cswf-icon {
        flex: 0 0 60px !important;
        width: 60px !important;
        height: 60px !important;
    }
    .cswf-floating.cswf-v110 .cswf-icon svg {
        width: 33px !important;
        height: 33px !important;
    }
}

/* Desktop — mantém texto e ícone; respeita a opção do painel. */
@media screen and (min-width: 1025px) {
    .cswf-floating.cswf-v110.cswf-hide-desktop {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cswf-floating.cswf-v110 .cswf-icon {
        transition: none;
    }
    .cswf-floating.cswf-v110 .cswf-link:hover .cswf-icon {
        transform: none;
    }
}
