/* --- 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;
}
.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;
}
.about__text p {
    margin-bottom: 1rem;
    color: var(--grey);
    line-height: 1.6;
}
.about__video {
    position: relative;
    padding-top: 56.25%; /* 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; }

/* 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. BOTÃO WHATSAPP --- */
.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. ESTILOS DA PÁGINA DE PLANOS --- */
.section__title span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
    margin-top: 4rem;
}

.plan-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out);
}
.plan-card-link:hover {
    transform: translateY(-10px);
}

.plan-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;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s var(--ease-out);
}
.plan-card:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
}

.plan-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.plan-card__recommendation {
    text-align: center;
    color: var(--grey);
    font-size: 0.9rem;
    min-height: 1.2rem;
    margin-bottom: 1rem;
}

.plan-card__price {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.plan-card.recommended .plan-card__price {
    color: var(--light);
}

.plan-card__payment {
    text-align: center;
    color: var(--grey);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.plan-card__features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    flex-grow: 1; 
}

.plan-card__features li {
    padding: 0.6rem 0;
    color: var(--grey);
    line-height: 1.5;
    text-align: left;
}

.plan-card .btn {
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.btn--secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}
.btn--secondary:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Estilos para o card recomendado */
.plan-card.recommended {
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white;
}

.plan-card.recommended .plan-card__title,
.plan-card.recommended .plan-card__features li,
.plan-card.recommended .plan-card__payment,
.plan-card.recommended .plan-card__recommendation {
    color: var(--light);
}

.recommended-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--light);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 12px 0 12px;
}

/* Seção de Manutenção */
.maintenance-info {
    text-align: center;
    margin-top: 6rem;
    padding: 2.5rem;
    background: rgba(var(--light), 0.03);
    border-radius: 12px;
    border: 1px solid rgba(var(--light), 0.1);
}
.maintenance-info__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}
.maintenance-info__text {
    color: var(--grey);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}
.maintenance-info__highlight {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* --- 10. 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;
    }
    .about__video {
        order: 1;
    }
    .about__text .section__title {
        text-align: center;
    }

    .tns-controls {
        display: none;
    }

    .plans__grid {
        grid-template-columns: 1fr;
    }
}