* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0A0A0A;
    color: white;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;
    background: #FFD000;
}

.logo img {
    height: 120px;
    transform: translateY(10px);
}

/* MENU */
nav a {
    color: black;
    margin-left: 25px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

nav a:hover {
    color: white;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding-left: 80px;
    padding-right: 50px;
}

/* VIDEO FUNDO (CORRIGIDO DEFINITIVO) */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 120%;
    height: 120%;

    object-fit: cover;
    z-index: -3;

    transform: translate(-50%, -50%);

    /* AQUI É O SEGREDO */
    filter: blur(6px) brightness(0.4) contrast(1.1);
}

{
    animation: fadeLoop 10s linear infinite;
}

@keyframes fadeLoop {
    0% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* OVERLAY */
.overlay {
    display: none;
}

/* TEXTO */
.hero-content {
    position: relative;
    max-width: 600px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
}

.hero h1 span {
    color: #FFD000;
}

.hero p {
    margin: 20px 0;
    color: #ccc;
    font-size: 18px;
}

/* BOTÃO */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: #FFD000;
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: white;
}

/* SEÇÕES */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;

    text-shadow:
        0 0 5px rgba(255,208,0,0.5),
        0 0 15px rgba(255,208,0,0.3);
}

/* SERVICES */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD */
.card {
    overflow: hidden;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
    cursor: pointer;

    background: #111;
    border-radius: 10px;
}

/* IMAGEM */
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    display: block;
    transition: 0.4s;
}

/* HOVER */
.card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid #FFD000;
}

.card:hover img {
    transform: scale(1.02);
}

/* CTA */

.cta .btn-image {
    display: block;
    margin: 30px auto 0 auto;
}

.cta {
    background: #FFD000;
    color: black;
    text-align: center;

    margin: 60px;
    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.3);
}

.cta h2 {
    margin-bottom: 20px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: black;
}

/* FOOTER */
.footer {
    background: #0A0A0A;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    width: 160px;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: #FFD000;
}

.footer-col p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #FFD000;
}

/* SOCIAL */
.social a {
    display: inline-block;
    margin-right: 10px;
    color: #FFD000;
    text-decoration: none;
    font-size: 14px;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
    font-size: 14px;
    color: #888;
}

.footer-logo {
    width: 160px;
    margin-bottom: 20px;
    padding: 10px;
    background: #FFD000;
    border-radius: 8px;
}

.clients {
    background: #0A0A0A;
    text-align: center;
    padding: 60px 20px;
}

.clients h2 {
    margin-bottom: 30px;
}

/* CARROSSEL */
.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* TODOS */
.item {
    height: 60px;
    transition: 0.4s;

    filter: grayscale(1) blur(2px);
    opacity: 0.5;
    transform: scale(0.8);
}

/* ATIVO (centro) */
.item.active {
    height: 90px;

    filter: grayscale(0) blur(0);
    opacity: 1;
    transform: scale(1.2);
}

/* SETAS */
.arrow {
    background: #FFD000;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
}

.btn-image {
    width: 260px;
    max-width: 100%;

    display: block;

    margin-top: 20px;

    transition: 0.3s;
    cursor: pointer;
}

/* HOVER */
.btn-image:hover {
    transform: scale(1.03);

    filter: drop-shadow(0 0 10px rgba(255,208,0,0.3));
}

html {
    scroll-behavior: smooth;
}

.about-image {
    margin-top: 60px;

    border-radius: 20px;
    overflow: hidden;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.35);
}

.about-image img {
    width: 100%;
    display: block;

    transition: 0.5s;
}

/* HOVER */
.about-image:hover img {
    transform: scale(1.02);
}

/* =========================
   RESPONSIVO MOBILE
========================= */

@media (max-width: 768px) {

    /* HEADER */
    .header {
        padding: 15px 20px;
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    /* LOGO */
    .logo img {
        height: 70px;
        transform: none;
    }

    /* MENU */
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    nav a {
        margin: 0;
        font-size: 14px;
    }

    /* HERO */
    .hero {
        padding: 140px 25px 80px;
        min-height: 100vh;
    }

    .hero-content {
        max-width: 100%;
        gap: 20px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 18px;
        line-height: 1.5;
    }

    /* BOTÃO */
    .btn-image {
        width: 220px;
    }

    /* TITULOS */
    h2 {
        font-size: 34px;
    }

    /* GRID SERVIÇOS */
    .grid {
        grid-template-columns: 1fr;
    }

        /* CLIENTES */
    .carousel {

        position: relative;

        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 5px;

        overflow: visible;
    }

    .carousel-track {

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 10px;

        width: auto;
    }

    /* LOGOS */
    .item {

        height: 24px;

        opacity: 0.25;

        filter: grayscale(1) blur(2px);

        transform: scale(0.8);

        transition: 0.4s;
    }

    /* CENTRAL */
    .item.active {

        height: 60px;

        opacity: 1;

        filter: grayscale(0) blur(0);

        transform: scale(1);
    }

    /* SETAS */
    .arrow {

        position: relative;

        z-index: 999;

        width: 38px;
        height: 38px;

        min-width: 38px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;

        font-size: 16px;

        background: #FFD000;
        color: black;

        border: none;

        cursor: pointer;

        box-shadow:
            0 5px 15px rgba(0,0,0,0.25);
    }

    /* CTA */
    .cta {
        margin: 20px;
        border-radius: 20px;
    }

    .cta h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        width: 180px;
    }

    footer {
        text-align: center;
    }

    .footer-col ul {
        padding: 0;
    }

}