* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #020617;
    color: #e2e8f0;
    font-family: "Segoe UI", sans-serif;
    overflow-x: hidden;
}

/* FUNDO */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* CONTAINER */
.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    padding: 15px 0;
    background: rgba(2,6,23,0.6);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
}

/* BOTÕES */
.btn {
    position: relative;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 12px 22px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition: 0.3s;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
}

.btn:hover::before {
    transform: translateX(100%);
    transition: 0.6s;
}

.btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 15px 40px rgba(37,99,235,0.6);
}

.btn-outline {
    border: 1px solid #3b82f6;
    padding: 12px 22px;
    border-radius: 10px;
    color: #3b82f6;
    text-decoration: none;
}

/* HERO */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

.hero p {
    margin: 20px 0;
    color: #94a3b8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.card {
    padding: 25px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
}

/* CLIENTES */
.clientes {
    padding: 100px 0;
    text-align: center;
}

.carousel {
    overflow: hidden;
    position: relative;
    margin-top: 50px;
}

/* fade lateral */
.carousel::before,
.carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, #020617, transparent);
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, #020617, transparent);
}

/* 🔥 CORREÇÃO PRINCIPAL */
.carousel-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

/* 🔥 IMPORTANTE: evita quebra */
.carousel-track img {
    height: 110px;
    width: 220px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.7;
    transition: 0.3s;
}

.carousel-track img:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* 🔥 ANIMAÇÃO SUAVE */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* CTA */
.cta {
    padding: 120px 0;
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: auto;
    background: rgba(255,255,255,0.03);
    padding: 50px 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-box h2 {
    margin-bottom: 10px;
}

.cta-box p {
    margin-bottom: 25px;
    color: #94a3b8;
}

.cta-action {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta-action .btn {
    min-width: 180px;
}

/* CONTATO */
.contato {
    padding: 120px 0;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contato-left h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contato-left p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.info p {
    margin-bottom: 10px;
    color: #cbd5f5;
}

.info a {
    color: #3b82f6;
    text-decoration: none;
}

.contato-right {
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
}

/* FORM */
.form input,
.form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: none;
    background: #020617;
    color: white;
    font-size: 14px;
}

.form textarea {
    min-height: 120px;
    resize: none;
}

.form .btn {
    width: 100%;
    text-align: center;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 0;
}

.logo-footer {
    height: 80px;
}

/* MENU */
.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.menu a:hover {
    color: #3b82f6;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }

    .contato-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }
}

@media (max-width: 600px) {

    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .carousel-track {
        gap: 40px;
    }

    .carousel-track img {
        width: 150px;
        height: 80px;
    }

    .btn, .btn-outline {
        width: 100%;
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    font-size: 22px;
    padding: 14px 16px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 999;
}