/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2C3E50;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3498DB;
}

.cta-button {
    background: #3498DB;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #2980B9;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2C3E50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F4F4F4 0%, #FFFFFF 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #34495E;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    background: #1ABC9C;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: #16A085;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.3);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 4rem;
    color: #3498DB;
}

.hero-graphic i {
    animation: float 3s ease-in-out infinite;
}

.hero-graphic i:nth-child(2) {
    animation-delay: -1s;
}

.hero-graphic i:nth-child(3) {
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #FFFFFF;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #2C3E50;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.service-card {
    background: #FFFFFF;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #F4F4F4;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #3498DB;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #34495E;
    line-height: 1.6;
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
    background: #F4F4F4;
}

.tech-carousel {
    overflow: hidden;
    margin-top: 3rem;
}

.tech-track {
    display: flex;
    animation: scroll 40s linear infinite;
    gap: 3rem;
    width: calc(200% + 6rem);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
}

.tech-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.tech-item span {
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.9rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Quote Section */
.quote {
    padding: 80px 0;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
}

.quote .section-title {
    color: white;
}

.quote-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quote-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    color: #2C3E50;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: #1ABC9C;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #16A085;
    transform: translateY(-2px);
}

/* Estilos para validação do formulário */
.form-group.error input,
.form-group.error textarea {
    border: 2px solid #E74C3C;
    background: rgba(231, 76, 60, 0.1);
}

.form-group.success input,
.form-group.success textarea {
    border: 2px solid #27AE60;
    background: rgba(39, 174, 96, 0.1);
}

.error-message {
    color: #E74C3C;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    display: block;
}

.success-message {
    background: #D5EDDA;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid #C3E6CB;
    text-align: center;
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: #3498DB;
}

.footer p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498DB;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495E;
    color: #BDC3C7;
}

/* Responsividade */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .cta-button {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        max-width: 400px;
        width: 100%;
    }

    .tech-track {
        gap: 1.5rem;
    }

    .tech-item {
        min-width: 100px;
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services,
    .technologies,
    .quote {
        padding: 60px 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .tech-item img {
        width: 40px;
        height: 40px;
    }

    .quote-form {
        padding: 0 1rem;
    }
}