@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&display=swap');


@media (prefers-color-scheme: dark) {

    :root,
    body,
    .hero,
    .section,
    .main-header,
    .main-footer,
    .project-card,
    .cliente-texto {
        background-color: var(--branco) !important;
        color: var(--preto) !important;
        filter: none !important;
        -webkit-filter: none !important;
    }

    .hero h1 {
        -webkit-text-fill-color: transparent !important;
        color: var(--lilas) !important;
    }

    img,
    .hero-image img,
    .logo img {
        filter: invert(0) !important;
        -webkit-filter: invert(0) !important;
    }
}

html {
    color-scheme: light only;
}

:root {
    --lilas: #7F00FF;
    --azul: #0000FF;
    --preto: #000000;
    --branco: #FFFFFF;

    --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    --radius: 14px;
    --container: 1100px;
    --borda-fina: 1px solid rgba(0, 0, 0, 0.1);
}

/* Reset mini */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%
}

body {
    font-family: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: var(--preto);
    background-color: var(--branco) !important;
    background: linear-gradient(180deg, rgba(127, 0, 255, 0.04), rgba(0, 0, 255, 0.02));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 20px;
}

/* HERO */

.hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 100vh;
    gap: 30px;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    background: linear-gradient(180deg, rgba(127, 0, 255, 0.06), rgba(0, 0, 255, 0.02))
}

.hero-left {
    flex: 1;
    z-index: 2
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 4rem);
    color: var(--branco);
    background: linear-gradient(90deg, var(--lilas), var(--azul));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.hero p {
    color: rgba(9, 3, 3, 0.9);
    max-width: 620px;
    margin: 25px 0 40px 0;
    /*  espaçamento vertical para melhor visual rsrrsrs */
    font-size: 1.2rem;
    line-height: 1.6;
}

.cta {
    display: inline-block;
    background: linear-gradient(90deg, var(--lilas), var(--azul));
    color: var(--branco);
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-decoration: none;
    font-weight: 600;
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease;
}

.cta:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25)
}

/* Hero image (parallax) */
.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 380px;
    background: transparent;
}

.hero-image {
    width: 90%;
    max-width: 520px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform .4s ease;
    background: linear-gradient(135deg, rgba(127, 0, 255, 0.08), rgba(0, 0, 255, 0.06));
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services - LAYOUT GRID 4 COLUNAS (SEM SCROLL) */
.section {
    padding: 60px 0
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--preto)
}

.servicos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/*  Cards de Serviço/Projeto */
.project-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.proj-info {
    padding: 15px;
}

.proj-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--preto);
}

.proj-info p {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    text-align: left;
    text-align-last: left;
}


/* PORTFÓLIO: LAYOUT VERTICAL, IMAGEM ESQUERDA, CONTEÚDO DIREITA * *;*/


/* Container principal, alinhando os itens na vertical e dando o espaçamento */
.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

/* Cada Item de Portfólio (o container Flex principal) */
.port-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: var(--borda-fina);
}

.port-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Imagem do lado esquerdo) */
.port-image {
    width: 40%;
    max-width: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.port-image:hover {
    transform: scale(1.02);
}

.port-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Conteúdo do Projeto (o lado direito) */
.port-content {
    display: flex;
    flex-direction: column;
     justify-content: flex-start;
    gap: 0;
}

/* Container do Título e P */
.port-content div {

    margin-bottom: 15px;
}

.port-content h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 10px;
    color: var(--lilas);
}

.port-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0;
}

/* Botão "Acessar Projeto" */
.cta-access {
    display: inline-block;
    align-self: flex-start;
    /* Garante que o botão fique alinhado à esquerda */
    background: linear-gradient(90deg, var(--lilas), var(--azul));
    color: var(--branco);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s, transform 0.3s;
}

.cta-access:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* FIM DO BLOCO PORTFÓLIO *;* */


/* Clientes */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: center
}

.client {
    background: rgba(0, 0, 0, 0.04);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #111
}


/* CLIENTES: VERSÃO  Card Desce + Texto Acompanha Abaixo *;* */


/* Container de organização dos cards lado a lado */
#clientes>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 20px;
    margin-top: 16px;
}

/* O contêiner de cada cliente  *;* */
#clientes .cliente-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    cursor: pointer;
    margin-bottom: 80px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}

/* EFEITO HOVER NO PAI: Card e texto descem juntos *;* */
#clientes .cliente-wrapper:hover {

    transform: translateY(35px);
    box-shadow: 0 15px 30px rgba(127, 0, 255, 0.2);
}

/* O Card da Imagem (Apenas o estilo visual) */
#clientes .cliente-card {
    width: 100%;
    height: 100%;
    background: var(--branco);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* legenda fluante */
#clientes .cliente-texto {

    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    background: var(--branco);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    display: inline-block;
    white-space: normal;
    max-width: 250px;
    position: absolute;
    top: 155px;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -5px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    z-index: 99999;
}


#clientes .cliente-wrapper:hover .cliente-texto {
    opacity: 1;

    transform: translate(-50%, 0);
}



.section#clientes {

    padding-bottom: 120px;
}

/* --- Ajuste Responsividade *;* --- */
@media(max-width:768px) {

   
    .main-header .header-wrap {
        flex-direction: column;
        gap: 8px;
       
        padding: 10px 20px;
     
    }

   
    .main-header .logo img {
        max-height: 50px;
        width: auto;
    }

    /* Centralização  dos links  */
    .main-header .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 5px;
    }

   
    .main-header .nav-menu a {

        font-size: 0.85rem;
    }
}

/* CLIENTES */

/*  Cards lado a lado */
#clientes>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 180px 20px;
    margin-top: 16px;
}

/* O contêiner de cada cliente */
#clientes .cliente-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    cursor: pointer;
    margin-bottom: 0;
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* EFEITO HOVER  Card e texto descem  */
#clientes .cliente-wrapper:hover {
    transform: translateY(50px);
    box-shadow: 0 15px 30px rgba(127, 0, 255, 0.2);
}

/* O Card da Imagem */
#clientes .cliente-card {
    width: 100%;
    height: 100%;
    background: var(--branco);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* O Texto do Cliente: Legenda Centralizada e Expansiva */
#clientes .cliente-texto {
   
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;


    text-align: left;

    background: var(--branco);
    padding: 16px 22px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
    display: block;
    white-space: normal;


    max-width: 450px;
    min-width: 250px;
    width: auto;


    position: absolute;
    top: 160px;
    left: 50%;


    opacity: 0;
    transform: translate(-50%, -10px) scale(0.9);

   
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    z-index: 10000;
}

/*  TEXTO no Hover */
#clientes .cliente-wrapper:hover .cliente-texto {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}


.section#clientes {
    padding-bottom: 350px;
}

/* --- Ajuste Responsivo --- */
@media (max-width: 768px) {

    
    #clientes .cliente-wrapper:hover {
        transform: translateY(20px);
    }

    
    #clientes>div {
        gap: 60px 10px;
    }

   
    #clientes .cliente-texto {
        max-width: 90vw;
        
        text-align: justify;
    }

    
    .section#clientes {
        padding-bottom: 100px;
    }
}

/* TECNOLOGIAS (ESTABILIDADE MÁXIMA E VISIBILIDADE TOTAL) */
 .section#tecnologias {

    width: 100%;
    padding: 60px 0;

    overflow: hidden;
}


.tech-carousel {
    display: flex;

    overflow-x: scroll;
    width: 100%;
    padding-bottom: 15px;
}


   .tech-track {
    display: flex;
    animation: none;
    width: fit-content;
    white-space: nowrap;}


    .tech-card {
        flex-shrink: 0;
        white-space: normal;
        background: var(--branco);
        border-radius: var(--radius);
        padding: 30px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        width: 220px;
        margin-right: 15px;


        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .tech-card:hover {
        transform: translateY(-5px);

        box-shadow: 0 15px 30px rgba(127, 0, 255, 0.2);
    }


    .tech-card i {
        font-size: 2rem;
        color: var(--lilas);
        margin-bottom: 15px;
    }

    .tech-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
        color: var(--preto);
    }

    .tech-card p {
        font-size: 0.85rem;
        color: #555;
    }

    /* Define a animação de rolagem contínua */
    @keyframes scroll-right {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }


    /*CARROSSEL ANIMADO APENAS EM DESKTOP (Telas >= 1000px) */

    @media (min-width: 1000px) {
        .tech-carousel {
            
            overflow: hidden;
            padding-bottom: 0;
        }

        .tech-track {
            
            animation: scroll-right 60s linear infinite;
        }

        .tech-card {
            
            width: 320px;
            margin-right: 30px;
            padding: 30px;
        }

        .tech-card i {
            font-size: 3rem;
        }

        .tech-card h3 {
            font-size: 1.2rem;
        }
    }

    /* Botão do WhatsApp */
    .whatsapp {
        position: fixed;
        right: 22px;
        bottom: 22px;
        z-index: 999;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
        background: linear-gradient(180deg, var(--lilas), var(--azul));
        color: var(--branco);
        text-decoration: none;
        font-size: 28px;
        animation: pulse 2.8s infinite;
        transition: transform .18s ease;
    }

    .whatsapp:hover {
        transform: translateY(-6px) scale(1.04);
        animation: none
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(127, 0, 255, 0.35)
        }

        70% {
            box-shadow: 0 0 0 18px rgba(127, 0, 255, 0)
        }

        100% {
            box-shadow: 0 0 0 0 rgba(127, 0, 255, 0)
        }
    }

    /* Responsive - AJUSTES */
    @media (max-width:1000px) {
        */ .servicos-container {
            grid-template-columns: repeat(2, 1fr);
        }

        .port-item {
            flex-direction: column;
            gap: 20px;
        }

        .port-image {
            width: 100%;
            max-width: 100%;
        }

        .port-content .cta-access {
            align-self: flex-start;
        }

        .hero {
            flex-direction: column-reverse;
            padding-top: 20px;
            padding-bottom: 20px
        }

        .hero-right {
            min-height: 260px
        }
    }

    @media (max-width:640px) {

        .servicos-container {
            grid-template-columns: 1fr;
        }

        .wrap {
            padding: 20px 14px
        }

        .hero p {
            font-size: 1rem
        }
    }

    /* CSS DO MENU FIXO* *;*/
    .main-header {
        position: static;
        top: 0;
        width: 100%;
        background: linear-gradient(90deg,
                rgb(245, 243, 246) 0%,
                rgba(245, 243, 246) 40%,
                rgb(245, 243, 246) 100%);
        padding: 4px 0;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .main-header .header-wrap {
        max-width: var(--container);
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    /* Logo do cabeçalho */
    .main-header .logo img {
        height: calc(100% - 4px);
        max-height: 100px;
        width: auto;
        display: block;
    }


    .main-header .nav-menu a {
        margin: 0 14px;
        text-decoration: none;
        color: var(--lilas);
        font-weight: 600;
        transition: transform 0.3s, color 0.3s;
    }

    .main-header .nav-menu a:hover {
        color: var(--azul);
        transform: scale(1.05);
    }

    html {
        scroll-behavior: smooth;
    }

    @media(max-width:768px) {
        .main-header .header-wrap {
            flex-direction: column;
            gap: 12px;
        }

        .main-header .nav-menu a {
            margin: 0 8px;
        }
    }

    /* FOOTER (RODAPÉ) */


    .main-footer {

        background: linear-gradient(90deg,
                rgb(245, 243, 246) 0%,
                rgba(245, 243, 246) 40%,
                rgba(245, 243, 246) 100%);


        color: var(--preto);

        padding: 5px 0;
        margin-top: 8px;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    }


    .footer-content-foco {
        display: flex;
        justify-content: space-between;
        gap: 30px;
        align-items: flex-start;
    }

    .footer-col-logo {
        flex: 2;
        min-width: 0px;
        padding-right: 10px;

    }


    .footer-col-contact,
    .footer-col-links {

        flex: 0 1 auto;
        min-width: 150px;
    }

    /* Logo do Rodapé */
    .logo-footer img {

        max-height: 100px;
        width: auto;

        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));

        margin-bottom: 25px;
        display: block;
    }


    .main-footer h4,
    .main-footer p,
    .footer-col-logo p {
        color: var(--preto);
    }

    .main-footer a,
    .footer-col-contact .contact-item a,
    .footer-col-links ul li a {

        color: rgba(0, 0, 0, 0.8);
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s;
    }

    /* Títulos das Colunas */
    .main-footer h4 {
        font-family: 'Orbitron', sans-serif;
        font-size: 1rem;
        color: var(--lilas);
        /* Títulos em destaque com a cor tema */
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Informações de Contato  */
    .footer-col-contact .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }

    .footer-col-contact .contact-item i {
        font-size: 1.1rem;
        margin-right: 10px;
        color: var(--lilas);
        opacity: 0.8;
    }

    .footer-col-contact .contact-item a:hover,
    .main-footer a:hover {
        color: var(--azul);
        text-decoration: underline;
    }


    /* Links Rápidos */
    .footer-col-links ul {
        list-style: none;
        padding: 0;
    }

    .footer-col-links ul li {
        margin-bottom: 8px;
    }


    /* Ajuste de Responsivividade rrsrs */
    @media (max-width: 768px) {
        .footer-content-foco {
            flex-direction: column;
            gap: 30px;
        }

        .footer-col-logo {
            padding-right: 0;
            
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            padding-bottom: 10px;
        }
    }

    /* Direitos Autorias *;*/
    .footer-bottom {

        border-top: var(--borda-fina);
        padding-top: 2px;
        margin-top: 5px;
        text-align: center;
        /* Centraliza o texto */
    }

    /* Centralizando  */
    .footer-bottom .copyright
     {
        text-align: center;
        font-size: 0.85rem;
        color: var(--preto);
        opacity: 0.85;}
