/* --- 1. RESET E VARIÁVEIS GLOBAIS --- */
        :root {
            --primary: #DA00FF;
            --secondary: #2D00FF;
            --dark: #070212;
            --dark-medium: #100a23;
            --light: #F0F2F5;
            --grey: #a8a8b3;
            
            --primary-rgb: 218, 0, 255;
            --secondary-rgb: 45, 0, 255;

            --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
             --whatsapp-green: #25D366; 
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--dark);
            color: var(--light);
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden; /* Previne scroll horizontal */
        }

        body.menu-open {
            overflow: hidden;
        }

        img, video {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        /* --- 2. FUNDO ANIMADO E ELEMENTOS GERAIS --- */
        .background-glow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: 
                radial-gradient(ellipse 50% 50% at 50% 50%, rgba(var(--primary-rgb), 0.1), transparent 70%),
                radial-gradient(ellipse 40% 60% at 20% 70%, rgba(var(--secondary-rgb), 0.1), transparent 70%),
                radial-gradient(ellipse 40% 60% at 80% 30%, rgba(var(--primary-rgb), 0.1), transparent 70%);
            z-index: -1;
            animation: backgroundPan 25s linear infinite;
        }

        @keyframes backgroundPan {
            0% { background-position: 0% 50%, 0% 50%, 0% 50%; }
            50% { background-position: 100% 50%, 100% 50%, 100% 50%; }
            100% { background-position: 0% 50%, 0% 50%, 0% 50%; }
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
        }
        .btn--primary {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            border: none; /* Garante que botões não tenham borda padrão */
        }
        .btn--primary:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.3);
        }

        /* --- 3. ANIMAÇÕES DE SCROLL --- */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- 4. CABEÇALHO --- */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1rem 0;
            z-index: 1000;
            transition: background-color 0.3s, border-color 0.3s;
        }
        .header.scrolled {
            background-color: rgba(12, 4, 29, 0.7);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
        }
        .header__nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .header__logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--light);
            text-decoration: none;
        }
        .header__logo img { width: 40px; }
        .header__links {
            display: flex;
            align-items: center;
            gap: 2rem;
            list-style: none;
        }
        .header__links a {
            color: var(--grey);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        .header__links a:hover {
            color: var(--light);
        }
        .mobile-menu-btn {
            display: none;
            background: none; border: none;
            color: var(--light); font-size: 2rem;
            cursor: pointer; z-index: 1001;
        }

        /* --- 5. SEÇÃO HERO --- */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            text-align: center;
            padding-top: 8rem;
            padding-bottom: 4rem;
        }
        .hero__content {
            max-width: 800px;
            margin: 0 auto;
        }
        .hero__title {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 900;
            line-height: 1.1;
            background: linear-gradient(90deg, #fff, #c1c1c1);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 1.5rem;
        }
        .hero__title span {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .hero__subtitle {
            font-size: 1.25rem;
            color: var(--grey);
            max-width: 600px;
            margin: 0 auto 2.5rem auto;
            line-height: 1.6;
        }

        /* --- 6. SEÇÕES DE CONTEÚDO --- */
        .section {
            padding: 6rem 0;
            border-bottom: 1px solid rgba(var(--light), 0.05);
        }
        .section:last-of-type {
            border-bottom: none;
        }
        .section__title {
            text-align: center;
            font-size: clamp(2rem, 5vw, 2.8rem);
            margin-bottom: 1rem;
            font-weight: 900;
        }
        .section__subtitle {
            text-align: center;
            color: var(--grey);
            max-width: 600px;
            margin: 0 auto 4rem auto;
            line-height: 1.6;
        }

        /* Serviços */
        .services__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        .service-card {
            background: linear-gradient(145deg, rgba(var(--light), 0.05), rgba(var(--light), 0.02));
            border: 1px solid rgba(var(--light), 0.1);
            border-radius: 12px;
            padding: 2rem;
            backdrop-filter: blur(5px);
            transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
        }
        .service-card:hover {
            transform: translateY(-10px);
            border-color: rgba(var(--primary-rgb), 0.5);
        }
        .service-card__icon {
            width: 50px;
            height: 50px;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }
        .service-card__title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--light);
        }
        .service-card__description {
            color: var(--grey);
            line-height: 1.6;
        }

        /* Sobre */
        .about__content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 4rem;
        }
        .about__text .section__title {
            text-align: left; /* Título alinhado à esquerda em telas grandes */
        }
        .about__text p {
            margin-bottom: 1rem;
            color: var(--grey);
            line-height: 1.6;
        }
        /* CORREÇÃO: CSS para vídeo responsivo */
        .about__video {
            position: relative;
            padding-top: 56.25%; /* Proporção 16:9 */
            height: 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }
        .about__video iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Depoimentos */
        .testimonials {
            position: relative;
        }
        .testimonial-card {
            padding: 2rem;
            text-align: center;
        }
        .testimonial-card__image {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            border: 3px solid var(--primary);
            object-fit: cover;
        }
        .testimonial-card__text {
            font-style: italic;
            color: var(--grey);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        .testimonial-card__name {
            font-weight: 700;
            color: var(--light);
        }
        .testimonial-card__company {
            color: var(--primary);
        }

        /* Estilos do Carrossel */
        .tns-outer { padding: 0 !important; }
        .tns-nav { margin-top: 2rem; text-align: center; }
        .tns-nav button {
            width: 10px; height: 10px; background-color: rgba(var(--light), 0.3);
            border: none; border-radius: 50%; margin: 0 6px;
            transition: all 0.3s;
        }
        .tns-nav button.tns-nav-active {
            background-color: var(--primary); transform: scale(1.2);
        }
        .tns-controls {
            position: absolute; top: 40%; width: 100%;
            transform: translateY(-50%); display: flex;
            justify-content: space-between; z-index: 10;
            pointer-events: none;
        }
        .tns-controls button {
            pointer-events: all;
            background: rgba(var(--dark), 0.5); border: 1px solid rgba(var(--light), 0.1);
            backdrop-filter: blur(5px); color: var(--light);
            width: 45px; height: 45px; border-radius: 50%; font-size: 1.5rem;
            cursor: pointer; transition: all 0.3s;
        }
        .tns-controls button:hover { background: var(--primary); }
        .tns-controls button:disabled { opacity: 0.3; cursor: not-allowed; }
        /* --- 11. SEÇÃO CTA PLANOS --- */
.cta-plans {
    text-align: center;
    background-color: rgba(var(--primary-rgb), 0.05); /* Um leve destaque no fundo */
}

.cta-plans .section__subtitle {
    margin-bottom: 2.5rem; /* Aumenta o espaço antes do botão */
}

.cta-plans .btn {
    font-size: 1.1rem;
    padding: 1.1rem 3rem;
}
        /* Contato (Formulário) */
        .contact-form {
            max-width: 700px;
            margin: 4rem auto 0 auto;
            display: grid;
            gap: 1.5rem;
        }
        .form-group {
            text-align: left;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--grey);
            font-weight: 500;
            font-size: 0.9rem;
        }
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 1rem;
            background: rgba(var(--light), 0.05);
            border: 1px solid rgba(var(--light), 0.1);
            border-radius: 8px;
            color: var(--light);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
        }
        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: rgba(var(--grey), 0.6);
        }
        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
        }
        .contact-form textarea {
            resize: vertical;
            min-height: 120px;
        }
        .contact-form .btn {
            width: 100%;
            padding: 1.2rem 2.5rem;
            margin-top: 1rem;
            font-size: 1.1rem;
        }

        /* --- 7. RODAPÉ --- */
        .footer {
            padding: 4rem 0 2rem 0;
            text-align: center;
        }
        .footer__logo {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            font-weight: 900;
        }
        .footer__logo img { width: 50px; }
        .footer__socials {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            list-style: none;
            margin-bottom: 2rem;
            padding: 0;
        }
        .footer__socials a {
            color: var(--grey);
            font-size: 1.5rem;
            transition: color 0.3s, transform 0.3s;
            display: inline-block;
        }
        .footer__socials a:hover {
            color: var(--primary);
            transform: translateY(-4px);
        }
        .footer__copyright {
            color: var(--grey);
            font-size: 0.9rem;
        }

        /* --- 8. RESPONSIVIDADE --- */
        @media (max-width: 768px) {
            .section {
                padding: 4rem 0;
            }
            .hero {
                padding-top: 6rem;
            }

            .mobile-menu-btn { display: block; }
            .header__links {
                position: fixed; top: 0; right: 0;
                width: 100%; height: 100vh;
                background: var(--dark);
                flex-direction: column; justify-content: center;
                font-size: 1.5rem;
                transform: translateX(100%);
                transition: transform 0.4s var(--ease-out);
            }
            .header__links.active {
                transform: translateX(0);
            }
            
            .about__content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .about__text {
                order: 2; /* Texto fica abaixo do vídeo no mobile */
            }
            .about__video {
                order: 1; /* Vídeo fica acima do texto no mobile */
            }
            .about__text .section__title {
                text-align: center; /* Centraliza o título "Sobre" no mobile */
            }

            .tns-controls {
                display: none; /* Esconde setas no mobile para um visual mais limpo */
            }
        }

        .whatsapp-fab {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
}

.whatsapp-fab svg {
    width: 32px;
    height: 32px;
}

/* --- 9. SEÇÃO PORTFOLIO (CASES REAIS) --- */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--dark-medium);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(var(--light), 0.1);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(var(--secondary-rgb), 0.2);
}

.portfolio-card__image-container {
    height: 200px;
    overflow: hidden;
}

.portfolio-card__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__image-container img {
    transform: scale(1.05);
}

.portfolio-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço restante */
}

.portfolio-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.75rem;
}

.portfolio-card__description {
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Empurra o link para o final */
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s, transform 0.3s;
    align-self: flex-start; /* Alinha o botão à esquerda */
}

.btn-link .arrow {
    transition: transform 0.3s var(--ease-out);
}

.btn-link:hover {
    color: var(--light);
}

.btn-link:hover .arrow {
    transform: translateX(5px);
}


/* --- AJUSTE NO HEADER PARA O NOVO LINK --- */
/* Aumenta o gap para acomodar o novo item no desktop */
@media (min-width: 769px) {
    .header__links {
        gap: 2.2rem;
    }
}

/* --- AJUSTE DE RESPONSIVIDADE PARA O PORTFOLIO --- */
@media (max-width: 768px) {
    .portfolio__grid {
         grid-template-columns: 1fr;
    }
}