/* ==========================================================================
   BRILHA TELECOM - DISCADOR VIRTUAL (GLASSMORPHISM STYLE)
   ========================================================================== */

/* 1. Corpo do Celular */
.brilha-phone-wrapper {
    background: rgba(15, 23, 42, 0.95); /* Azul ardósia profundo */
    backdrop-filter: blur(15px) saturate(160%); /* Efeito de vidro translúcido */
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 45px;
    padding: 35px 25px;
    width: 320px;
    margin: 30px auto;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6), 
        inset 0 0 30px rgba(99, 102, 241, 0.15); /* Brilho interno roxo sutil */
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    z-index: 10;
}

/* 2. Display do Visor */
.phone-display {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 18px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2.5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

/* 3. Teclado Numérico (Grid) */
.phone-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-items: center;
    margin-top: 10px;
}

/* 4. Botões de Discagem */
.dial-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dial-btn:hover {
    background: rgba(99, 102, 241, 0.25); /* Glow Roxo no hover */
    border-color: #6366f1;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.dial-btn:active {
    transform: scale(0.92);
    background: rgba(99, 102, 241, 0.4);
}

/* 5. Botão de Chamada (Especial Verde) */
.btn-call-trigger {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn-call-trigger:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
}

.btn-call-trigger i {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 6. Animação de Radar (Vigia de Chamada) */
.radar-pulse {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.2);
    border: 2px solid #38bdf8;
    border-radius: 50%;
    margin: 20px auto;
    position: relative;
    animation: radar-glow 1.5s infinite ease-out;
}

.radar-pulse::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 2px solid #38bdf8;
    animation: radar-expand 1.5s infinite linear;
    opacity: 0;
}

@keyframes radar-glow {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes radar-expand {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* 7. Estados de Erro e Bloqueio */
.dial-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
}

/* 8. Ajustes para Mobile */
@media (max-width: 480px) {
    .brilha-phone-wrapper {
        width: 100%;
        max-width: 300px;
        border-radius: 35px;
        padding: 25px 15px;
    }
    
    .dial-btn {
        width: 65px;
        height: 65px;
        font-size: 20px;
    }
}