* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2563eb;
}

.btn-primary {
    display: inline-block; /* Adicionado para links se comportarem como botões */
    text-decoration: none; /* Adicionado para remover sublinhado do link */
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    border: none;
    /* ALTERADO: Aumentado o padding para um botão maior */
    padding: 0.8rem 1.6rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile {
    display: none;
    border-top: 1px solid #e5e7eb;
    background: white;
    padding: 1rem 0;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-link-mobile {
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-link-mobile:hover {
    color: #2563eb;
}

.btn-primary-mobile {
    display: block; /* Adicionado para links se comportarem como botões */
    text-align: center; /* Adicionado para centralizar o texto no link */
    text-decoration: none; /* Adicionado para remover sublinhado do link */
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    border: none;
    /* ALTERADO: Aumentado o padding para um botão maior */
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 1rem 3rem;
    text-align: center;
}

.hero-content {
    max-width: 4xl;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1f2937, #1e40af, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    text-decoration: none; /* Adicionado para remover sublinhado do link */
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.arrow {
    transition: transform 0.3s;
}

.btn-hero:hover .arrow {
    transform: translateX(4px);
}

/* Services Section */
.services {
    padding: 4rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1f2937, #1e40af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    /* ALTERADO: Força 3 colunas em telas maiores */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 6xl;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon.emerald {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.service-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.service-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.service-icon.orange {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.service-icon.pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.service-icon.green {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.service-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.service-features {
    list-style: none;
}

.service-features li {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

/* About Section */
.about {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-paragraph {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

.about-card {
    display: flex;
    justify-content: center;
}

.tech-card {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: rotate(3deg);
    transition: transform 0.3s;
    max-width: 300px;
}

.tech-card:hover {
    transform: rotate(0deg);
}

.tech-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.tech-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.tech-description {
    color: #bfdbfe;
}

/* Contact Section */
.contact {
    padding: 4rem 1rem;
}

.contact-form-container {
    max-width: 32rem;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937, #1e40af);
    color: white;
    padding: 3rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 4xl;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
}

.footer-logo-text {
    font-size: 0.875rem;
    font-weight: bold;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
    transform: scale(1.1);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        /* ALTERADO: Mantém 1 coluna em telas menores para boa legibilidade */
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

html {
    font-size: 18px;
}

body {
    font-size: 1.125rem;
}