:root {
    --bg-dark: #050507;
    --primary-blue: #0056b3;
    --primary-glow: #0088ff;
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* =========================================
   SCROLLBAR CUSTOMIZADA (Mais bonita)
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 86, 179, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-glow);
}

.site-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* =========================================
   GLASSMORPHISM OTIMIZADO (Alta performance)
   Fica visível, mas não usa desfoque nos cards
   ========================================= */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 8px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

/* Navbar sim usa blur porque é pequena e não pesa */
.glass-panel-nav.scrolled {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   ANIMAÇÃO DAS ESFERAS DE FUNDO
   ========================================= */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    max-width: 100vw;
}

@keyframes floatSphere1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 80px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatSphere2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-80px, -100px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.glow-top {
    top: -150px;
    left: -150px;
    animation: floatSphere1 15s ease-in-out infinite;
}

.glow-bottom {
    bottom: 10%;
    right: -150px;
    animation: floatSphere2 18s ease-in-out infinite;
}

/* Navbar Base */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Botoes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background: var(--primary-glow);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    color: #fff;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 86, 179, 0.1);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 86, 179, 0.1);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}

/* Hero e Typewriter */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.badge {
    color: var(--primary-glow);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    min-height: 120px;
}

.typewriter-text {
    color: var(--primary-glow);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--text-main);
    margin-left: 5px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title h2 span {
    color: var(--primary-glow);
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Importância */
.importance-section {
    padding: 80px 0;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.importance-card {
    padding: 32px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

.importance-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 86, 179, 0.4);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 86, 179, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-glow);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 86, 179, 0.2);
}

.importance-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.importance-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Bento Grid Focado em Sites */
.services {
    padding: 80px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bento-item {
    padding: 40px;
    transition: transform 0.3s, border-color 0.3s;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 86, 179, 0.5);
}

.bento-item.wide {
    grid-column: span 2;
}

.highlight-border {
    border: 1px solid rgba(0, 86, 179, 0.4);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.price-tag {
    display: inline-block;
    background: rgba(0, 86, 179, 0.2);
    color: var(--primary-glow);
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.bento-icon {
    font-size: 2rem;
    color: var(--primary-glow);
    margin-bottom: 24px;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.bento-item p {
    color: var(--text-muted);
}

/* Contato & Form */
.contact-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, var(--bg-dark) 0%, #020202 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--primary-glow);
}

.form-wrapper {
    padding: 40px;
}

.elevate-form .input-group {
    margin-bottom: 24px;
    text-align: left;
}

.elevate-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.elevate-form input {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.elevate-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(0, 86, 179, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo img {
    height: 30px;
    margin-bottom: 16px;
    opacity: 0.5;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Botão WhatsApp Elevado (Agora no estilo do site) */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #001f3f 0%, var(--primary-blue) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0px 8px 25px rgba(0, 86, 179, 0.4);
    z-index: 100;
    transition: transform 0.3s;
    text-decoration: none;
}

.float-wa:hover {
    transform: scale(1.1);
    border-color: var(--primary-glow);
}

/* Responsivo */
@media (max-width: 900px) {
    .importance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .hide-mobile {
        display: none;
    }

    .navbar .btn-outline {
        padding: 8px 12px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        border-color: transparent;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.1rem;
        min-height: 80px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .importance-grid,
    .bento-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-item.wide {
        grid-column: span 1;
    }

    .importance-card,
    .bento-item,
    .form-wrapper {
        padding: 24px;
    }

    .float-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}