@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #0040CC;
    --secondary: #000000;
    --background: #ffffff;
    --surface: #F5F5F7;
    --text: #1d1d1f;
    --text-muted: #86868b;
    --radius-lg: 40px;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Navbar Global Styles */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 50;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

/* Navbar Center Animation Container */
.nav-center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Deixa clicar através se necessário */
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    color: var(--secondary);
    white-space: nowrap;
    text-align: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--secondary);
}

/* Responsividade do Menu */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        /* JS deve alternar para display: flex quando ativo */
        position: absolute;
        top: 100%;
        /* Ajusta automaticamente se o nav mudar de altura */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    /* Esconder o texto animado em telas muito pequenas para não sobrepor o logo/menu */
    .nav-center-logo {
        display: none;
    }
}

/* Reveal Animations (Legacy Support) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Badges & Buttons Helper */
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 64, 204, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    gap: 12px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #003399;
}

.btn-contact {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: 2px solid #075E54;
    font-weight: 600;
}

/* Typography Helpers */
.font-display {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.section-title {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}