/* Widget "Chame no WhatsApp" (pages/whatsform.php), carregado no <head> pelo layout. */
/* Variables */
/* Mixins */
/* Google fonticons */
.material-symbols-sharp {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 40;
}

/* Rótulo só para leitores de tela: continua na árvore de acessibilidade (display: none a removeria). */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

#wpp-fix {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 12;
    /* Animations */
}
#wpp-fix .wpp-link {
    transition: all 0.3s ease-in-out;
    background: #25D366;
    display: flex;
    z-index: 2;
    position: relative;
    padding: 15px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 3px 10px rgba(37, 211, 102, 0.56);
    transform: scale(1);
}
#wpp-fix .wpp-link > span {
    display: none;
}
#wpp-fix .wpp-link:hover {
    transform: scale(1.05);
    background: #1da851;
}
#wpp-fix .wpp-link.hide-this {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
}
#wpp-fix .wpp-link.hide-this + .form-wpp {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    border-radius: 1%;
}
#wpp-fix .wpp-link.hide-this + .form-wpp + .mask {
    opacity: 1;
    visibility: visible;
}
#wpp-fix .wpp-link + .form-wpp {
    transition: all 0.3s ease-in-out;
    position: absolute;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    bottom: 0;
    right: 0px;
    opacity: 0;
    overflow: hidden;
    transform: scale(0.2);
    border-radius: 50%;
    z-index: 1;
    visibility: hidden;
    transform-origin: bottom right;
    width: 100%;
    max-width: 300px;
    min-width: 350px;
}
#wpp-fix .wpp-link + .form-wpp + .mask {
    transition: all 0.3s ease-in-out;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
}
#wpp-fix .wpp-link + .form-wpp .form-content {
    transition: all 0.3s ease-in-out;
    padding: 15px;
    float: left;
    position: relative;
    background-color: #e9e0d7;
    background-position: 50%;
    background-size: cover;
    background-image: url(/images/bg-whatsapp.png);
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
}
#wpp-fix .wpp-link + .form-wpp .buss-msg {
    background-color: #fff;
    padding: 10px;
    border-radius: 0 4px 4px 4px;
    line-height: 1.3;
    font-size: 15px;
    max-width: 270px;
    margin: 0 0 10px;
    position: relative;
}
#wpp-fix .wpp-link + .form-wpp .buss-msg::before {
    content: "";
    position: absolute;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    left: -10px;
    top: 0;
}
#wpp-fix .wpp-link + .form-wpp form {
    width: calc(300px - 30px);
    transition: all 0.3s ease-in-out;
    float: right;
    position: initial;
}
#wpp-fix .wpp-link + .form-wpp form label {
    line-height: 1;
    margin-bottom: 0px;
}
#wpp-fix .wpp-link + .form-wpp form label.error {
    font-size: 10px;
    padding: 0 5px;
    position: absolute;
    right: 0;
    bottom: 3px;
}
#wpp-fix .wpp-link + .form-wpp form .campo {
    position: relative;
    float: left;
    width: 100%;
    margin-bottom: 5px;
}
#wpp-fix .wpp-link + .form-wpp form .form-control-wrap {
    float: left;
    width: 100%;
    position: relative;
}
#wpp-fix .wpp-link + .form-wpp form .form-control-wrap::after {
    content: "";
    position: absolute;
    border-top: 5px solid #e7ffe7;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #e7ffe7;
    right: -10px;
    top: 0;
}
#wpp-fix .wpp-link + .form-wpp form input[type=text], #wpp-fix .wpp-link + .form-wpp form input[type=tel], #wpp-fix .wpp-link + .form-wpp form input[type=email] {
    border-radius: 4px 0 4px 4px;
    width: 100%;
    padding: 10px;
    background: #e7ffe7;
    border: 1px solid #e7ffe7;
    font-size: 1rem;
}
#wpp-fix .wpp-link + .form-wpp form input.error, #wpp-fix .wpp-link + .form-wpp form input.not-valid {
    border-color: #F44336;
}
#wpp-fix .wpp-link + .form-wpp form input + .not-valid-tip {
    font-size: 10px;
    padding: 0 5px;
    position: absolute;
    right: 0;
    bottom: 0;
}
#wpp-fix .wpp-link + .form-wpp form .btn {
    float: right;
    margin-top: 5px;
}
#wpp-fix .wpp-link + .form-wpp form .aviso-privacidade {
    clear: both;
    margin: 0;
    padding-top: 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #555;
}
#wpp-fix .wpp-link + .form-wpp form .aviso-privacidade a {
    color: inherit;
    text-decoration: underline;
}
#wpp-fix .wpp-link + .form-wpp form .btn button {
    transition: all 0.3s ease-in-out;
    background-color: #0c6156;
    border: 1px solid #0c6156;
    text-transform: initial;
    cursor: pointer;
    padding: 8px 12px;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#wpp-fix .wpp-link + .form-wpp form .btn button:hover {
    border-color: #06342e;
    background-color: #06342e;
    box-shadow: 0 1px 4px 0 rgba(12, 97, 86, 0.52);
}
#wpp-fix .wpp-link + .form-wpp form .response-output {
    font-size: 0.9rem;
    line-height: 1.2;
    float: left;
    margin: 0;
    width: 100%;
}
#wpp-fix .wpp-link + .form-wpp form .ajax-loader {
    display: none !important;
}
#wpp-fix .wpp-link + .form-wpp form::after {
    transition: all 0.3s ease-in-out;
    content: "";
    position: absolute;
    width: calc(100% + 4px);
    height: calc(100% + 15px);
    background: rgba(255, 255, 255, 0.93);
    left: -2px;
    top: -9px;
    z-index: 5;
    background-image: url(/images/load.gif);
    background-size: 70px;
    background-repeat: no-repeat;
    background-position: 50%;
    opacity: 0;
    visibility: hidden;
}
#wpp-fix .wpp-link + .form-wpp form.submitting::after {
    opacity: 1;
    visibility: visible;
}
#wpp-fix .wpp-link + .form-wpp form .response-output {
    display: none;
    opacity: 0;
}
#wpp-fix .wpp-link + .form-wpp form.sent {
    height: 50px;
}
#wpp-fix .wpp-link + .form-wpp form.sent .response-output {
    position: absolute;
    width: 100%;
    height: calc(100% + 15px);
    background: #fff;
    opacity: 1;
    left: 0;
    font-size: 1.4rem;
    text-align: center;
    top: 0;
    align-items: center;
    display: flex;
}
#wpp-fix .wpp-link + .form-wpp .head-wpp {
    width: auto;
    padding: 12px;
    background: #0c6156;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    z-index: 6;
}
#wpp-fix .wpp-link + .form-wpp .head-wpp img {
    margin-right: 8px;
    width: 50px;
    border-radius: 50%;
}
#wpp-fix .wpp-link + .form-wpp .head-wpp h3 {
    word-break: keep-all;
    padding-right: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0 10px;
}
#wpp-fix .wpp-link + .form-wpp .close {
    border: 0;
    background: none;
    opacity: 1;
    text-shadow: none;
    line-height: 1;
    color: #fff;
    position: absolute;
    cursor: pointer;
    right: 0;
    top: 0;
    padding: 7px 8px;
    font-size: 1.375rem;
}
#wpp-fix svg {
    width: initial;
    display: block;
    height: 30px;
}
#wpp-fix svg path {
    fill: #fff;
}
#wpp-fix.shake .wpp-link::before {
    transition: all 0.3s ease-in-out;
    background: rgba(37, 211, 102, 0.6);
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    top: 0px;
    right: 0;
    animation: pulse 2s infinite;
}
#wpp-fix.shake svg {
    animation: 1s wiggle ease infinite;
}
@media (prefers-reduced-motion: reduce) {
    #wpp-fix.shake .wpp-link::before,
    #wpp-fix.shake svg {
        animation: none;
    }
}
@media (max-width: 767px) {
    #wpp-fix {
        bottom: 15px;
    }
    #wpp-fix svg {
        height: 30px;
    }
    #wpp-fix .wpp-link {
        padding: 10px;
    }
    #wpp-fix .wpp-link + .form-wpp form {
        width: calc(300px - 40px);
    }
    #wpp-fix .wpp-link + .form-wpp form input[type=text],
    #wpp-fix .wpp-link + .form-wpp form input[type=email] {
        font-size: 0.875rem;
    }
    #wpp-fix .wpp-link + .form-wpp form .btn button {
        font-size: 0.875rem;
    }
}
@media (max-width: 395px) {
    #wpp-fix .wpp-link + .form-wpp {
        min-width: 290px;
    }
    #wpp-fix .wpp-link + .form-wpp .head-wpp img {
        width: 40px;
    }
}
@keyframes wiggle {
    0% {
        transform: rotate(-3deg);
    }
    20% {
        transform: rotate(20deg);
    }
    40% {
        transform: rotate(-15deg);
    }
    60% {
        transform: rotate(5deg);
    }
    90% {
        transform: rotate(-1deg);
    }
    100% {
        transform: rotate(0);
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.6);
    }
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}
