/* ============================================================================
   whatsapp.css — botão flutuante e botão da página de produto.

   Carregado depois dos demais CSS. Não altera nenhum estilo existente:
   todas as regras são de classes novas com prefixo .wa-
   ============================================================================ */

/* ---------- Botão flutuante ---------- */
.wa-flutuante {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    /* 56px garante area de toque confortavel no celular (minimo recomendado: 44px) */
    width: 56px;
    height: 56px;
    border-radius: 50%;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.wa-flutuante:hover,
.wa-flutuante:focus {
    background-color: #1EBE5A;
    color: #fff;
    text-decoration: none;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .34);
}

/* Contorno visivel para quem navega por teclado. */
.wa-flutuante:focus-visible {
    outline: 3px solid #0b5c2c;
    outline-offset: 3px;
}

.wa-flutuante .wa-icone {
    display: block;
}

/* No celular o botao fica um pouco menor e mais colado no canto,
   para nao cobrir conteudo. */
@media screen and (max-width: 767px) {
    .wa-flutuante {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
    }
}

/* Respeita quem pediu menos animacao no sistema. */
@media (prefers-reduced-motion: reduce) {
    .wa-flutuante {
        transition: none;
    }
    .wa-flutuante:hover,
    .wa-flutuante:focus {
        transform: none;
    }
}


/* ---------- Botão da página de produto ---------- */
.wa-botao {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    margin: 0 0 12px;
    box-sizing: border-box;

    background-color: #25D366;
    color: #fff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background-color .18s ease;
}

.wa-botao:hover,
.wa-botao:focus {
    background-color: #1EBE5A;
    color: #fff;
    text-decoration: none;
}

.wa-botao:focus-visible {
    outline: 3px solid #0b5c2c;
    outline-offset: 2px;
}

.wa-botao .wa-icone {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 10px;
}

@media screen and (max-width: 480px) {
    .wa-botao {
        font-size: 13px;
        letter-spacing: .3px;
        padding: 12px 14px;
    }
}


/* ---------- Telefone clicável no rodapé ---------- */
.wa-tel {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.wa-tel:hover,
.wa-tel:focus {
    color: inherit;
    text-decoration: underline;
}
