/* Variáveis de Cores */
:root {
    --primary: #1e40af; /* Azul Profundo */
    --accent: #3b82f6;  /* Azul Vibrante */
    --gray-dark: #1f2937;
    --gray-light: #f3f4f6;
}

/* Estilização Geral */
html { scroll-behavior: smooth; }

.logo { color: var(--primary); }
.logo span { color: var(--accent); }

.nav-link {
    color: var(--gray-dark);
    transition: color 0.3s ease;
}
.nav-link:hover { color: var(--accent); }

/* Botões */
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-hero {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: bold;
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.3);
}

/* Elementos da Hero */
.tag {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}
.highlight { color: var(--accent); }

.image-placeholder {
    background: var(--gray-light);
    width: 100%;
    height: 350px;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 8px solid var(--primary);
}

/* Cards de Serviço */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid #edf2f7;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.card .icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Estilos do Rodapé */
.footer-logo { color: white; }
.footer-logo span { color: var(--accent); }

.footer-line {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--accent);
    margin-top: 8px;
    border-radius: 2px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
}
.social-icon:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-input {
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
}
.footer-input:focus {
    border-color: var(--accent);
}

.footer-input::placeholder {
    color: #9ca3af;
}

/* Estilos do Chat Flutuante */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.chat-button:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.online-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    background-color: #4ade80;
    border: 3px solid white;
    border-radius: 50%;
}

.chat-bubble {
    width: 300px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    position: relative;
    display: none; /* Escondido por padrão */
    border: 1px solid #e5e7eb;
}

.chat-bubble.active {
    display: block;
    animation: slideIn 0.4s ease-out;
}

.chat-bubble p {
    font-size: 14px;
    color: #374151;
    margin-bottom: 15px;
    line-height: 1.5;
}

.chat-input-group {
    display: flex;
    gap: 8px;
}

.chat-input-group input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}

.chat-input-group input:focus {
    border-color: #25d366;
}

.chat-input-group button {
    background: #25d366;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-input-group button:hover {
    background: #128c7e;
}

.close-bubble {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    background: none;
    border: none;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste para Mobile */
@media (max-width: 480px) {
    .chat-bubble {
        width: 260px;
        right: -10px;
    }
}