/* Botão de fala flutuante */
#kania-voice-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: #19ebcb;
    box-shadow: 0 8px 24px rgba(0, 27, 64, 0.38);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
    transition: transform .2s ease;
}

#kania-voice-btn:hover {
    transform: scale(1.08);
}

#kania-voice-btn img {
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
}

#kania-voice-btn span {
    margin-top: 4px;
    font-size: 12px;
    color: #001b40;
    font-weight: 800;
    line-height: 1;
}

/* Overlay escurecido */
#kania-voice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 27, 64, 0.80);
    display: none;
    z-index: 9999;
}

/* Waves */
#kania-voice-waves {
    position: fixed;
    bottom: 160px;
    right: 50%;
    transform: translateX(50%);
    width: 220px;
    height: 60px;
    display: none;
    z-index: 100000;
}

.wave-bar {
    width: 6px;
    height: 20px;
    background: #19ebcb;
    margin: 0 3px;
    border-radius: 4px;
    display: inline-block;
    animation: wave 1s infinite ease-in-out;
}

.wave-bar:nth-child(1){ animation-delay: 0s; }
.wave-bar:nth-child(2){ animation-delay: .1s; }
.wave-bar:nth-child(3){ animation-delay: .2s; }
.wave-bar:nth-child(4){ animation-delay: .3s; }
.wave-bar:nth-child(5){ animation-delay: .4s; }

@keyframes wave {
    0%   { height: 8px; opacity: 0.4; }
    50%  { height: 28px; opacity: 1; }
    100% { height: 8px; opacity: 0.4; }
}

/* Popup */
#kania-voice-popup {
    position: fixed;
    bottom: 140px;
    right: 22px;
    background: #fff;
    padding: 14px 18px;
    width: 230px;
    border-radius: 12px;
    display: none;
    z-index: 100001;
    box-shadow: 0 10px 28px rgba(0,0,0,0.20);
}

#kania-voice-popup .inner {
    text-align: center;
    font-size: 14px;
    color: #003b71;
}
