/* Garante que o conteúdo não comece atrás da navbar */
body {
    padding-top: 80px; 
}

/* Ajuste do Logo para não "fugir" da tela */
.nav-logo img {
    width: 180px; /* Reduzi um pouco para equilíbrio */
    margin-left: 0; /* Remova o negativo para evitar bugs mobile */
    object-fit: contain;
}

/* Melhoria no Menu Mobile */
@media (max-width: 768px) {
    .nav-menu {
        width: 200px;
        box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
    }
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #020617, #000);
    color: #e5e7eb;
    line-height: 1.6;
}

/* ================= GLOBAL ================= */
section {
    padding: 100px 20px;
}

h1, h2, h3 {
    color: #ffffff;
}

p {
    color: #cbd5f5;
}

a {
    text-decoration: none;
}

/* ================= BUTTONS ================= */
.btn-primary, .btn-secondary {
    display: inline-flex; /* Garante que o botão respeite o conteúdo */
    align-items: center;  /* Centraliza o texto e ícone verticalmente */
    justify-content: center;
    padding: 14px 36px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;     /* Opcional: define uma largura mínima para padronizar */
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #020617;
    border: none;
}

.btn-secondary {
    border: 1px solid #38bdf8;
    color: #38bdf8;
    background: transparent;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(56,189,248,0.35);
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto 45px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ================= SECTION HEADER ================= */
.section-header {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

/* ================= SERVICES ================= */
.services {
    background: #020617;
}

.services-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: linear-gradient(180deg, #020617, #020617);
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 35px;
    transition: all 0.35s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8;
    box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

.service-card h3 {
    margin-bottom: 15px;
}

/* ================= EXPERTISE ================= */
.backend {
    background: linear-gradient(135deg, #020617, #020617);
    padding: 100px 20px;
}
.testeagora {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.testeagora {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.backend h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #ffffff;
}
.backend p {
    font-size: 18px;
    line-height: 1.6;
    color: #cbd5f5;
    margin-bottom: 30px;
}
.testeagora input,
.testeagora textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background-color: #020617;
    color: #ffffff;
    font-size: 15px;
    outline: none;
}

.testeagora textarea {
    resize: vertical;
    min-height: 120px;
}
.testeagora input::placeholder,
.testeagora textarea::placeholder {
    color: #64748b;
}

.testeagora .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
}


/* ================= CUSTOM SOLUTION ================= */
.custom-solution {
    background: radial-gradient(circle at center, #0f172a, #020617);
}

.custom-card {
    max-width: 780px;
    margin: auto;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    padding: 70px 50px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.55);
    color: #020617;
}

.custom-card h2,
.custom-card p {
    color: #020617;
}

.custom-note {
    margin: 25px 0 40px;
    font-weight: 600;
}

.pricing {
    background: #020617;
}

.pricing-content {
    max-width: 720px;
    margin: auto;
    text-align: center;
    gap: 20px; 
}


.contact {
    background: linear-gradient(180deg, #020617, #000);
}

.contact-content {
    max-width: 720px;
    margin: auto;
    text-align: center;
}


.footer {
    padding: 30px;
    text-align: center;
    font-size: 14px;
    background: #000;
    color: #64748b;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease;
}

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


@media (max-width: 768px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .custom-card {
        padding: 50px 30px;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(5, 10, 25, 0.6);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 10, 25, 0.9);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.nav-logo img {
    width: 280px;
    margin-left: -200px;
}

.nav-text{
   align-items: center;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #dce6ff;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #1cb0f6;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}


.nav-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 20px;
        background: rgba(10, 15, 35, 0.95);
        flex-direction: column;
        padding: 20px;
        border-radius: 14px;
        display: none;
    }

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

    .nav-toggle {
        display: block;
    }


}
