/* --- Botão Agendar --- */
.btn-agendar {
    background-color: var(--cor-vinho);
    color: #ffffff;
    padding: 12px 28px;
    border: 2px solid var(--cor-vinho);
    border-radius: 50px;
    font-weight: bold; text-transform: uppercase;
    letter-spacing: 1px; font-size: 0.9rem;
    transition: all 0.4s ease;
    /* Adicionado para garantir alinhamento vertical */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-agendar:hover {
    background-color: transparent;
    color: var(--cor-vinho);
    border-color: var(--cor-vinho);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Menu do Usuário --- */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- Botão Perfil --- */
.btn-icon-perfil {
    background-color: var(--cor-vinho);
    color: #ffffff;
    padding: 12px 28px;
    border: 2px solid var(--cor-vinho);
    border-radius: 50px;
    font-weight: bold; text-transform: uppercase;
    letter-spacing: 1px; font-size: 0.9rem;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-perfil:hover {
    background-color: transparent;
    color: var(--cor-vinho);
    border-color: var(--cor-vinho);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- WhatsApp Flutuante --- */
.whatsapp-flutuante {
    position: fixed; bottom: 25px; right: 25px;
    z-index: 1000;
    background-color: #25D366; color: #ffffff;
    width: 60px; height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex; justify-content: center; align-items: center;
    font-size: 2.5rem; transition: all 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    
    /* ==================================================
       1. REGRA GERAL (NAVBAR) - Transforma em Bolinhas
       ================================================== */
    .btn-agendar, 
    .btn-icon-perfil { 
        padding: 0 !important; 
        width: 45px; 
        height: 45px; 
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0; /* Esconde o texto */
    }

    /* Ícones Específicos da Navbar */
    .btn-tipo-agendar::before { content: "\1F4C5"; font-size: 1.4rem; } /* Calendário */
    .btn-tipo-entrar::before  { content: "\1F464"; font-size: 1.4rem; } /* Bonequinho */
    .btn-tipo-sair::before    { content: "\1F6AA"; font-size: 1.4rem; } /* Porta */

    /* Ajuste do Perfil */
    .btn-icon-perfil i { font-size: 1.6rem; margin: 0; }
    .btn-icon-perfil .texto-btn { display: none; }

    /* Espaçamentos */
    .user-menu { gap: 10px; }
    .nav-direita { gap: 8px; }

    /* ==================================================
       2. EXCEÇÃO (WELCOME) - Restaura o botão normal
       (Isso DEVE ficar por último para sobrescrever o acima)
       ================================================== */
    .btn-agendar.btn-cta-welcome {
        width: auto !important;        /* Remove largura fixa */
        height: auto !important;       /* Remove altura fixa */
        padding: 12px 30px !important; /* Devolve o "gordo" do botão */
        border-radius: 50px !important;/* Devolve formato pílula */
        font-size: 0.9rem !important;  /* Traz o texto de volta */
        display: inline-flex !important;
    }

    /* Garante que nenhum ícone extra apareça no botão da home */
    .btn-agendar.btn-cta-welcome::before {
        content: none !important;
        display: none !important;
    }
}