* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
    --primary: #0057B8;    /* Azul médio */
    --secondary: #00A896;  /* Verde teal */
    --accent: #FF6B6B;     /* Coral vermelho */
    --dark: #0f172a;       /* Azul escuro */
    --medium: #1e293b;     /* Marinho */
    --light: #F0F4F8;      /* Cinza claro */
    --text: #333333;       /* Cinza escuro */
    --text-logo: #e0e5eb;  /* Azul médio */
    --novo-1: #334155;     
    --novo-2: #1e293b;     
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.5px;
    color: var(--text-logo);
}

.custom-logo img {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease;
}

.custom-logo:hover img {
    transform: scale(1.05);
}

header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

.hero {
    min-height: 67vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    background: radial-gradient(circle at 50% 30%, var(--novo-1), var(--novo-2) 80%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--light);
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.5rem;
    color: var(--light);
    max-width: 680px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0 auto 3rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 1rem 2rem; /* Aumenta o padding-top para 8rem no celular */
    }
    .hero h1 {
        font-size: 2.5rem; /* Reduz o tamanho da fonte do título no celular */
    }
}

/* Pontos flutuantes */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: floatDot 8s infinite ease-in-out;
}

@keyframes floatDot {
    0% { transform: translateY(0) translateX(0); opacity: 0.8; }
    50% { transform: translateY(-30px) translateX(10px); opacity: 0.4; }
    100% { transform: translateY(0) translateX(0); opacity: 0.8; }
}

@keyframes floatDotAlt {
    0% { transform: translateY(0) translateX(0); opacity: 0.8; }
    50% { transform: translateY(20px) translateX(-15px); opacity: 0.3; }
    100% { transform: translateY(0) translateX(0); opacity: 0.8; }
}

.dot11, .dot13, .dot15, .dot17, .dot19, .dot21, .dot23, .dot25 {
    animation: floatDotAlt 8s infinite ease-in-out;
}

.dot1 { top: 10%; left: 5%; animation-delay: 0s; }
.dot2 { top: 20%; left: 25%; animation-delay: 0.5s; }
.dot3 { top: 30%; left: 45%; animation-delay: 1s; }
.dot4 { top: 40%; left: 65%; animation-delay: 1.5s; }
.dot5 { top: 50%; left: 85%; animation-delay: 2s; }
.dot6 { top: 60%; left: 15%; animation-delay: 2.5s; }
.dot7 { top: 70%; left: 35%; animation-delay: 3s; }
.dot8 { top: 80%; left: 55%; animation-delay: 3.5s; }
.dot9 { top: 90%; left: 75%; animation-delay: 4s; }
.dot10 { top: 25%; left: 95%; animation-delay: 4.5s; }
.dot11 { top: 15%; left: 35%; animation-delay: 5s; }
.dot12 { top: 35%; left: 15%; animation-delay: 5.5s; }
.dot13 { top: 55%; left: 95%; animation-delay: 6s; }
.dot14 { top: 75%; left: 5%; animation-delay: 6.5s; }
.dot15 { top: 95%; left: 45%; animation-delay: 7s; }
.dot16 { top: 5%; left: 50%; animation-delay: 7.5s; }
.dot17 { top: 15%; left: 75%; animation-delay: 8s; }
.dot18 { top: 25%; left: 10%; animation-delay: 8.5s; }
.dot19 { top: 35%; left: 85%; animation-delay: 9s; }
.dot20 { top: 45%; left: 30%; animation-delay: 9.5s; }
.dot21 { top: 55%; left: 60%; animation-delay: 10s; }
.dot22 { top: 65%; left: 90%; animation-delay: 10.5s; }
.dot23 { top: 75%; left: 20%; animation-delay: 11s; }
.dot24 { top: 85%; left: 40%; animation-delay: 11.5s; }
.dot25 { top: 95%; left: 65%; animation-delay: 12s; }
.dot26 { top: 6%; left: 20%; animation-delay: 7.5s; }
.dot27 { top: 18%; left: 60%; animation-delay: 8s; }
.dot28 { top: 42%; left: 10%; animation-delay: 8.5s; }
.dot29 { top: 65%; left: 80%; animation-delay: 9s; }
.dot30 { top: 33%; left: 90%; animation-delay: 9.5s; }
.dot31 { top: 85%; left: 25%; animation-delay: 10s; }
.dot32 { top: 12%; left: 75%; animation-delay: 10.5s; }
.dot33 { top: 50%; left: 50%; animation-delay: 11s; }
.dot34 { top: 73%; left: 95%; animation-delay: 11.5s; }
.dot35 { top: 88%; left: 5%; animation-delay: 12s; }
.dot36 { top: 5%; left: 15%; animation-delay: 12.5s; }
.dot37 { top: 10%; left: 85%; animation-delay: 13s; }
.dot38 { top: 20%; left: 40%; animation-delay: 13.5s; }
.dot39 { top: 30%; left: 95%; animation-delay: 14s; }
.dot40 { top: 40%; left: 5%; animation-delay: 14.5s; }
.dot41 { top: 50%; left: 70%; animation-delay: 15s; }
.dot42 { top: 60%; left: 25%; animation-delay: 15.5s; }
.dot43 { top: 70%; left: 55%; animation-delay: 16s; }
.dot44 { top: 80%; left: 10%; animation-delay: 16.5s; }
.dot45 { top: 90%; left: 65%; animation-delay: 17s; }
.dot46 { top: 7%; left: 75%; animation-delay: 17.5s; }
.dot47 { top: 17%; left: 30%; animation-delay: 18s; }
.dot48 { top: 27%; left: 50%; animation-delay: 18.5s; }
.dot49 { top: 37%; left: 90%; animation-delay: 19s; }
.dot50 { top: 47%; left: 20%; animation-delay: 19.5s; }
.dot51 { top: 57%; left: 60%; animation-delay: 20s; }
.dot52 { top: 67%; left: 5%; animation-delay: 20.5s; }
.dot53 { top: 77%; left: 45%; animation-delay: 21s; }
.dot54 { top: 87%; left: 80%; animation-delay: 21.5s; }
.dot55 { top: 97%; left: 35%; animation-delay: 22s; }
.dot56 { top: 3%; left: 55%; animation-delay: 22.5s; }
.dot57 { top: 13%; left: 20%; animation-delay: 23s; }
.dot58 { top: 23%; left: 75%; animation-delay: 23.5s; }
.dot59 { top: 33%; left: 5%; animation-delay: 24s; }
.dot60 { top: 43%; left: 85%; animation-delay: 24.5s; }
.dot61 { top: 53%; left: 40%; animation-delay: 25s; }
.dot62 { top: 63%; left: 95%; animation-delay: 25.5s; }
.dot63 { top: 73%; left: 15%; animation-delay: 26s; }
.dot64 { top: 83%; left: 50%; animation-delay: 26.5s; }
.dot65 { top: 93%; left: 70%; animation-delay: 27s; }
.dot66 { top: 5%; left: 30%; animation-delay: 27.5s; }
.dot67 { top: 15%; left: 90%; animation-delay: 28s; }
.dot68 { top: 25%; left: 10%; animation-delay: 28.5s; }
.dot69 { top: 35%; left: 55%; animation-delay: 29s; }
.dot70 { top: 45%; left: 75%; animation-delay: 29.5s; }
.dot71 { top: 55%; left: 5%; animation-delay: 30s; }
.dot72 { top: 65%; left: 35%; animation-delay: 30.5s; }
.dot73 { top: 75%; left: 85%; animation-delay: 31s; }
.dot74 { top: 85%; left: 25%; animation-delay: 31.5s; }
.dot75 { top: 95%; left: 60%; animation-delay: 32s; }
.dot76 { top: 2%; left: 10%; animation-delay: 32.5s; }
.dot77 { top: 12%; left: 50%; animation-delay: 33s; }
.dot78 { top: 22%; left: 90%; animation-delay: 33.5s; }
.dot79 { top: 32%; left: 30%; animation-delay: 34s; }
.dot80 { top: 42%; left: 70%; animation-delay: 34.5s; }
.dot81 { top: 52%; left: 20%; animation-delay: 35s; }
.dot82 { top: 62%; left: 60%; animation-delay: 35.5s; }
.dot83 { top: 72%; left: 40%; animation-delay: 36s; }
.dot84 { top: 82%; left: 80%; animation-delay: 36.5s; }
.dot85 { top: 92%; left: 5%; animation-delay: 37s; }
.dot86 { top: 7%; left: 95%; animation-delay: 37.5s; }
.dot87 { top: 17%; left: 35%; animation-delay: 38s; }
.dot88 { top: 27%; left: 65%; animation-delay: 38.5s; }
.dot89 { top: 37%; left: 15%; animation-delay: 39s; }
.dot90 { top: 47%; left: 45%; animation-delay: 39.5s; }
.dot91 { top: 57%; left: 75%; animation-delay: 40s; }
.dot92 { top: 67%; left: 25%; animation-delay: 40.5s; }
.dot93 { top: 77%; left: 55%; animation-delay: 41s; }
.dot94 { top: 87%; left: 85%; animation-delay: 41.5s; }
.dot95 { top: 97%; left: 35%; animation-delay: 42s; }
.dot96 { top: 4%; left: 60%; animation-delay: 42.5s; }
.dot97 { top: 14%; left: 20%; animation-delay: 43s; }
.dot98 { top: 24%; left: 70%; animation-delay: 43.5s; }
.dot99 { top: 34%; left: 50%; animation-delay: 44s; }
.dot100 { top: 44%; left: 90%; animation-delay: 44.5s; }


.services {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--light);
}

.clients h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-logo);
    position: relative;
}

.services h2, .testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--medium);
    position: relative;
}

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

.service-card {
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--medium);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.service-card:hover {
    transform: scale(1.05);
    background-color: #2a3a50;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Seção de Tecnologias */
.technologies {
    padding: 60px 20px;
    background: var(--light);
    text-align: center;
}

.technologies h2 {
    color: var(--medium);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Carrossel de Logos */
.tech-carousel {
    overflow: hidden;
    width: 100%;
}

.tech-carousel-track {
    display: flex;
    white-space: nowrap; /* Impede que os logos quebrem para a próxima linha */
    width: max-content;
    animation: scroll 40s linear infinite;
}

.tech-logo {
    flex: 0 0 auto;
    margin: 0 20px;
}

.tech-logo img {
    height: 60px; /* Ajuste a altura conforme necessário */
    width: auto;
    filter: grayscale(50%); /* Efeito de escala de cinza para um visual mais profissional */
    transition: filter 0.3s ease;
}

.tech-logo img:hover {
    filter: grayscale(0%); /* Remove o efeito de escala de cinza ao passar o mouse */
}

/* Animação de loop */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move até a metade, já que duplicamos os logos */
    }
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
    .tech-carousel-track {
        animation-duration: 35s; /* Ajuste o tempo conforme necessário */
    }
    .tech-logo {
        margin: 0 5px; /* Margem reduzida no celular */
    }
}

.clients {
    padding: 6rem 2rem;
    background: var(--medium);
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 3rem auto;
    align-items: center;
}

.client-logo {
    filter: grayscale(1) brightness(2);
    opacity: 0.8;
    transition: all 0.3s ease;
    max-width: 150px;
    margin: 0 auto;
}

.client-logo:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

.testimonials {
    padding: 6rem 2rem;
    background: var(--light);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--medium);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact {
    padding: 6rem 2rem;
    background: var(--dark);
    text-align: center;
    color: var(--light);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--medium);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 8px;
    background: var(--light);
    color: var(--text);
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #e55a5a;
}

.g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.form-feedback {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

footer {
    background: var(--medium);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero h1 {
        min-height: auto;
        align-items: flex-start;
        padding: 4rem 1.5rem 2rem;
        /*font-size: 2.8rem;*/
        /*line-height: 1.2;*/
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .services-grid,
    .clients-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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