/* ===================================
   AX Control - Estilos Principais
   =================================== */

@import url('./tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: var(--surface-app);
    --bg2: var(--surface-panel);
    --card: var(--surface-card);
    --line: var(--border-subtle);
    --text: var(--text-primary);
    --muted: var(--text-secondary);
    --accent: var(--semantic-accent-base);
    --accent-2: var(--brand-duonn-cyan-light);
    --accent-3: var(--text-tertiary);
    --danger: var(--semantic-danger-base);
    --radius: calc(var(--radius-2xl) * 1px);
    --shadow: 0 22px 50px var(--alpha-black-40);
}

* { 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    margin: 0;
    color: var(--text);
    font-family: var(--font-family-base), 'Inter', sans-serif;
    background: var(--bg);
}

body::before {
    display: none;
}

/* Estilos Base */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    margin: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-2);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Componentes Base */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-family-base), 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: var(--font-weight-semibold);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--line);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-button svg {
        width: 24px;
        height: 24px;
    }
}
