/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.et-whatsapp {
    position:fixed;
    right:28px;
    bottom:28px;
    z-index:99999;
}

.et-whatsapp__button {
    display:flex;
    width:64px;
    height:64px;
    align-items:center;
    justify-content:center;
    padding:0;
    border:0;
    border-radius:50%;
    background:#25d366;
    color:#fff;
    box-shadow:0 14px 35px rgba(0,0,0,.25);
}
/* =========================================================
   WHATSAPP - POPUP ESTILO CONVERSA
========================================================= */

.et-whatsapp__popup{
    position:absolute;
    right:0;
    bottom:80px;

    width:380px;
    max-width:calc(100vw - 32px);

    overflow:hidden;

    border:1px solid rgba(0,0,0,.08);
    border-radius:16px;

    background:#efeae2;

    box-shadow:
        0 20px 50px rgba(0,0,0,.28);

    opacity:0;
    visibility:hidden;
    transform:translateY(12px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

.et-whatsapp__popup.is-open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}


/* CABEÇALHO */

.et-whatsapp__header{
    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 52px 14px 16px;

    background:#008069;
}

.et-whatsapp__avatar{
    display:flex;

    width:44px;
    height:44px;
    flex:0 0 44px;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#d9fdd3;
    color:#075e54;

    font-size:16px;
    font-weight:800;
}

.et-whatsapp__header strong{
    display:block;

    margin-bottom:2px;

    color:#ffffff;

    font-size:15px;
    font-weight:700;
}

.et-whatsapp__header span{
    display:block;

    color:rgba(255,255,255,.8);

    font-size:11px;
}


/* FECHAR */

.et-whatsapp__close{
    position:absolute;
    z-index:2;

    top:14px;
    right:14px;

    display:flex;

    width:32px;
    height:32px;

    align-items:center;
    justify-content:center;

    padding:0;
    border:0;
    border-radius:50%;

    background:rgba(0,0,0,.15);
    color:#ffffff;

    cursor:pointer;

    font-size:21px;
}


/* ÁREA DO FORMULÁRIO */

.et-whatsapp__form{
    padding:20px 18px 18px;

    background:
        linear-gradient(
            rgba(239,234,226,.55),
            rgba(239,234,226,.55)
        ),
        url("../images/fundo-whats.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}


/* BALÃO DA MENSAGEM */

.et-whatsapp__form-intro{
    position:relative;

    width:92%;

    margin:0 0 22px;
    padding:14px 16px;

    border-radius:8px;

    background:#ffffff;

    box-shadow:
        0 1px 2px rgba(0,0,0,.12);
}

.et-whatsapp__form-intro::before{
    content:"";

    position:absolute;
    top:0;
    left:-8px;

    width:0;
    height:0;

    border-top:10px solid #ffffff;
    border-left:10px solid transparent;
}

.et-whatsapp__form-intro strong{
    display:block;

    margin-bottom:5px;

    color:#111b21;

    font-size:16px;
    font-weight:600;
}

.et-whatsapp__form-intro p{
    margin:0;

    color:#3b4a54;

    font-size:13px;
    line-height:1.5;
}


/* CAMPOS */

.et-whatsapp__field{
    margin-bottom:12px;
}

.et-whatsapp__field label{
    display:block;

    margin-bottom:5px;

    color:#3b4a54;

    font-size:11px;
    font-weight:600;
}

.et-whatsapp__field input{
    display:block;

    width:100%;
    height:52px;

    padding:0 15px;

    border:1px solid rgba(0,128,105,.15);
    border-radius:8px;

    outline:none;

    background:#d9fdd3;
    color:#111b21;

    font-family:inherit;
    font-size:15px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.et-whatsapp__field input::placeholder{
    color:#667781;
}

.et-whatsapp__field input:focus{
    border-color:#00a884;

    box-shadow:
        0 0 0 2px rgba(0,168,132,.12);
}


/* BOTÃO */

.et-whatsapp__submit{
    display:flex;

    width:100%;
    min-height:52px;

    align-items:center;
    justify-content:center;

    margin-top:16px;
    padding:12px 20px;

    border:0;
    border-radius:8px;

    background:#008069;
    color:#ffffff;

    cursor:pointer;

    font-family:inherit;
    font-size:15px;
    font-weight:700;

    transition:
        background .2s ease,
        transform .2s ease;
}

.et-whatsapp__submit:hover{
    background:#006e5b;
}

.et-whatsapp__submit:active{
    transform:scale(.98);
}


/* PRIVACIDADE */

.et-whatsapp__privacy{
    display:block;

    margin-top:12px;

    color:#667781;

    font-size:10px;
    line-height:1.4;

    text-align:center;
}


/* MOBILE */

@media(max-width:680px){

    .et-whatsapp__popup{
        position:fixed;

        left:10px;
        right:10px;
        bottom:84px;

        width:auto;
        max-width:none;

        max-height:calc(100vh - 105px);
        overflow-y:auto;

        border-radius:14px;
    }

    .et-whatsapp__form{
        padding:18px 14px 16px;
    }

}

.et-whatsapp__form-intro {
    margin-bottom:20px;
}

.et-whatsapp__form-intro strong {
    display:block;
    margin-bottom:6px;
    color:#27013c;
    font-size:17px;
}

.et-whatsapp__form-intro p {
    margin:0;
    color:#74677b;
    font-size:13px;
    line-height:1.55;
}

.et-whatsapp__field {
    margin-bottom:15px;
}

.et-whatsapp__field label {
    display:block;
    margin-bottom:6px;
    color:#27013c;
    font-size:12px;
    font-weight:800;
}

.et-whatsapp__field input {
    display:block;
    width:100%;
    height:48px;
    padding:0 14px;
    border:1px solid #ddd5e1;
    border-radius:9px;
    outline:none;
    background:#fff;
    color:#27013c;
}

.et-whatsapp__field input:focus {
    border-color:#89b331;
    box-shadow:0 0 0 3px rgba(137,179,49,.12);
}

.et-whatsapp__submit {
    display:flex;
    width:100%;
    min-height:50px;
    align-items:center;
    justify-content:center;
    margin-top:5px;
    padding:12px 18px;
    border:0;
    border-radius:9px;
    background:#25d366;
    color:#fff;
    font-weight:800;
}

.et-whatsapp__privacy {
    display:block;
    margin-top:12px;
    color:#938899;
    font-size:10px;
    line-height:1.5;
    text-align:center;
}

@media(max-width:680px) {

    .et-whatsapp {
        right:16px;
        bottom:16px;
    }

    .et-whatsapp__button {
        width:58px;
        height:58px;
    }

    .et-whatsapp__popup {
        position:fixed;

        left:10px;
        right:10px;
        bottom:84px;

        width:auto;
        max-width:none;

        max-height:calc(100vh - 105px);
        overflow-y:auto;
    }

}