@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&display=swap');

/* =========================================
   1. VARIÁVEIS E BASE
   ========================================= */
:root {
    --bg-black: #050211;           
    --accent-purple: #7c3aed;     /* Cor Principal */
    --accent-deep: #4c1d95;       /* Roxo Profundo */
    --accent-light: #a78bfa;      
    
    --text-white: #ffffff;
    --text-gray: #b4acc5;
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --grad-main: linear-gradient(135deg, var(--accent-purple), var(--accent-deep));
    --grad-timeline: linear-gradient(180deg, var(--accent-purple), var(--accent-deep));
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { 
    margin: 0; padding: 0; box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
    scroll-behavior: smooth;
    
    /* --- PROTEÇÃO CONTRA CÓPIA (NOVA) --- */
    user-select: none; 
    -webkit-user-select: none; /* Safari/Chrome */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
}

/* --- EXCEÇÃO PARA O FORMULÁRIO (Permite digitar) --- */
input, textarea {
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
}

body { 
    background-color: var(--bg-black); 
    color: var(--text-white); 
    overflow-x: hidden; 
    line-height: 1.6;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; pointer-events: none; /* Impede arrastar imagem */ }

/* =========================================
   2. FUNDO E TEXTURA (AURORA + NOISE)
   ========================================= */
body::before {
    content: "";
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999; 
    opacity: 0.06; mix-blend-mode: overlay;
}

.ambient-light {
    position: fixed; inset: 0; overflow: hidden; z-index: -2; pointer-events: none;
}

.light-orb {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.35;
    will-change: transform; 
    animation: floatOrbit 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%; left: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
    animation-duration: 25s;
}

.orb-2 {
    bottom: -10%; right: -10%; width: 70vw; height: 70vw;
    background: radial-gradient(circle, var(--accent-deep), transparent 70%);
    animation-duration: 30s; animation-direction: alternate-reverse;
}

@keyframes floatOrbit {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* =========================================
   3. CURSORES E INTERATIVIDADE
   ========================================= */
/* Elementos clicáveis devem ter ponteiro */
a, button, .btn-nav, .btn-primary, .btn-form-submit, 
.instagram-link, .faq-question, select, .btn-modal { 
    cursor: pointer; 
}

/* =========================================
   4. PARTÍCULAS
   ========================================= */
.particles-container { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.particle {
    position: absolute; bottom: -20px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.5) 0%, transparent 80%);
    border-radius: 50%; opacity: 0; 
    will-change: transform, opacity; 
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.2; }
    100% { transform: translateY(-115vh) scale(1.3); opacity: 0; }
}

.particle:nth-child(3n) { width: 3px; height: 3px; animation-duration: 15s; left: 10%; }
.particle:nth-child(3n+1) { width: 5px; height: 5px; animation-duration: 22s; left: 35%; animation-delay: 2s; }
.particle:nth-child(4n) { width: 2px; height: 2px; animation-duration: 18s; left: 65%; animation-delay: 5s; }
.particle:nth-child(5n) { width: 7px; height: 7px; animation-duration: 28s; left: 85%; }

/* Lanterna do Mouse */
.mouse-glow {
    position: fixed; top: 0; left: 0; width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none; z-index: -1; transform: translate(-50%, -50%);
    will-change: top, left;
}

/* =========================================
   5. HEADER & PRELOADER
   ========================================= */
#preloader { position: fixed; inset: 0; background: var(--bg-black); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s, visibility 0.8s; }
#preloader.hide-loader { opacity: 0; visibility: hidden; }
#preloader img { width: 120px; animation: luxPulse 2s infinite ease-in-out; }

@keyframes luxPulse { 
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--accent-purple)); } 
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px var(--accent-purple)); } 
}

header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%; position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(5, 2, 17, 0.85); backdrop-filter: blur(12px);
}

.logo-img { width: 140px; }

.btn-nav {
    display: inline-block; padding: 10px 28px; border-radius: 50px;
    border: 1px solid var(--accent-purple); color: var(--text-white);
    font-weight: 600; font-size: 14px; background: transparent; transition: var(--transition);
}
.btn-nav:hover { background: var(--accent-purple); box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); transform: translateY(-2px); }

/* =========================================
   6. HERO & MARQUEE
   ========================================= */
.hero { text-align: center; padding: 120px 20px; max-width: 1050px; margin: auto; }
.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.1; margin-bottom: 25px; }

#changing-text { 
    background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
    min-width: 280px; display: inline-block; position: relative; 
}
#changing-text::after { content: "|"; margin-left: 5px; color: var(--accent-purple); animation: blinkCursor 0.8s infinite; }
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero p { font-size: 18px; color: var(--text-gray); max-width: 700px; margin: 0 auto 40px; }

.marquee-section { 
    background: rgba(124, 58, 237, 0.03); padding: 20px 0; margin-top: 60px;
    border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); overflow: hidden; 
}
.marquee-content { display: flex; width: max-content; will-change: transform; animation: marqueeMove 40s linear infinite; }
.marquee-content span { font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--accent-purple); margin-right: 60px; white-space: nowrap; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================
   7. STATS
   ========================================= */
.stats-section { display: flex; justify-content: space-around; padding: 80px 8%; text-align: center; }
.stat-item h2 { font-size: 52px; font-weight: 800; margin-bottom: 5px; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item p { color: var(--text-gray); text-transform: uppercase; font-size: 12px; letter-spacing: 2px; }

/* =========================================
   8. CICLO DE IMPLEMENTAÇÃO (TIMELINE)
   ========================================= */
.implementation-cycle { padding: 100px 8%; position: relative; overflow: hidden; }
.cycle-header { text-align: center; margin-bottom: 80px; }
.cycle-header h2 { font-size: 42px; margin-bottom: 15px; }
.cycle-header h2 span { color: var(--accent-purple); }
.cycle-header p { color: var(--text-gray); max-width: 600px; margin: 0 auto; }

.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline-line { position: absolute; left: 50%; transform: translateX(-50%); width: 4px; height: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; }
.timeline-progress { width: 100%; height: 0%; background: var(--grad-timeline); box-shadow: 0 0 15px var(--accent-purple); transition: height 0.1s linear; }

.timeline-item { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; }
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after { 
    content: ''; position: absolute; top: 45px; width: 16px; height: 16px; 
    background: var(--bg-black); border: 3px solid var(--accent-purple); 
    border-radius: 50%; z-index: 2; box-shadow: 0 0 15px rgba(124, 58, 237, 0.6); 
}
.timeline-item.left::after { right: -10px; }
.timeline-item.right::after { left: -10px; }

.timeline-content {
    display: flex; flex-direction: column; padding: 40px 30px; 
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border); border-radius: 20px;
    position: relative; overflow: hidden; transition: transform 0.3s ease;
}
.timeline-content:hover { transform: translateY(-5px); border-color: var(--accent-purple); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }

.step-number {
    position: absolute; top: -20px; 
    font-size: 110px; font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(124, 58, 237, 0.25);
    z-index: 1; pointer-events: none; opacity: 0.8;
}
.timeline-item.left .timeline-content { text-align: right; align-items: flex-end; }
.timeline-item.left .step-number { right: 10px; left: auto; }
.timeline-item.right .timeline-content { text-align: left; align-items: flex-start; }
.timeline-item.right .step-number { left: 10px; right: auto; }

.timeline-content h3 { position: relative; z-index: 2; color: var(--accent-purple); margin-bottom: 10px; font-size: 24px; margin-top: 15px; }
.timeline-content p { position: relative; z-index: 2; font-size: 15px; color: var(--text-gray); line-height: 1.6; }

/* =========================================
   9. SOLUÇÕES & GLOW CARDS
   ========================================= */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; padding: 80px 8%; }
.glow-card {
    background: rgba(255, 255, 255, 0.02); padding: 50px 30px; border-radius: 24px;
    border: 1px solid var(--glass-border); position: relative; overflow: hidden; transition: var(--transition);
}
.glow-card:hover { transform: translateY(-8px) scale(1.02); border-color: var(--accent-purple); }
.glow-effect {
    position: absolute; width: 350px; height: 350px; background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
    transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 0.3s; z-index: 1; will-change: opacity, top, left;
}
.glow-card h3 { color: var(--accent-purple); margin-bottom: 15px; font-size: 20px; position: relative; z-index: 2; }
.glow-card p { color: var(--text-gray); position: relative; z-index: 2; }

/* =========================================
   10. CONTATO & FAQ
   ========================================= */
.contact-section { padding: 100px 8%; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: flex-start; }
.contact-text h2 { font-size: 46px; margin-bottom: 25px; line-height: 1.1; letter-spacing: -1px; }
.contact-text h2 span { color: var(--accent-purple); }
.contact-text p { color: var(--text-gray); margin-bottom: 40px; font-size: 18px; max-width: 400px; }

.benefit-item { 
    display: flex; align-items: center; margin-bottom: 20px; font-weight: 600; 
    font-size: 16px; color: var(--text-white);
    background: rgba(255, 255, 255, 0.03); padding: 12px 20px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s;
}
.benefit-item:hover { border-color: var(--accent-purple); transform: translateX(10px); }
.benefit-item::before { content: "✓"; color: var(--accent-purple); margin-right: 15px; font-size: 18px; font-weight: bold; }

.lead-form-container { 
    background: rgba(255, 255, 255, 0.02); padding: 50px; border-radius: 30px;
    border: 1px solid var(--glass-border); backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.lead-form input { 
    width: 100%; padding: 18px; background: rgba(8, 4, 21, 0.6); 
    border: 1px solid var(--glass-border); border-radius: 12px; color: white; margin-bottom: 15px; transition: var(--transition);
}
.lead-form input:focus { outline: none; border-color: var(--accent-purple); background: rgba(124, 58, 237, 0.05); }

/* Select Customizado */
.lead-form select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    width: 100%; padding: 18px; padding-right: 45px;
    background-color: rgba(8, 4, 21, 0.6); 
    border: 1px solid var(--glass-border); border-radius: 12px;
    color: var(--text-white); font-size: 16px; 
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 20px;
    margin-bottom: 15px;
}
.lead-form select:focus { outline: none; border-color: var(--accent-purple); background-color: rgba(5, 2, 17, 0.9); }
.lead-form select option { background-color: #050211; color: white; padding: 15px; font-size: 15px; border: none; }

/* FAQ */
.faq-section { padding: 100px 8%; display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.faq-header h2 { font-size: 42px; margin-bottom: 15px; line-height: 1.1; }
.faq-header h2 span { color: var(--accent-purple); display: block; }
.faq-header p { color: var(--text-gray); max-width: 400px; }

.faq-item { margin-bottom: 15px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--accent-purple); transform: translateX(5px); }
.faq-item.active { border-color: var(--accent-purple); background: rgba(255, 255, 255, 0.05); transform: none; }

.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; color: var(--text-white); }
.faq-icon { font-size: 24px; color: var(--accent-purple); transition: transform 0.3s ease; line-height: 1; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 25px; }
.faq-answer p { padding-bottom: 25px; color: var(--text-gray); font-size: 15px; line-height: 1.6; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 15px; }

/* BOTÕES ROXOS */
.btn-primary, .btn-form-submit {
    background: var(--grad-main); color: white; border-radius: 12px;
    font-weight: 800; text-transform: uppercase; border: none;
    transition: var(--transition); text-align: center; letter-spacing: 1px;
}
.btn-primary { padding: 18px 45px; display: inline-block; }
.btn-form-submit { width: 100%; padding: 20px; margin-top: 10px; font-size: 15px; }

@keyframes softPulseGlow { 
    0%, 100% { box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2); } 
    50% { box-shadow: 0 12px 45px rgba(124, 58, 237, 0.4); transform: translateY(-3px); } 
}
.btn-primary:hover, .btn-form-submit:hover { animation: softPulseGlow 3s infinite ease-in-out; }

/* =========================================
   11. FOOTER E REVEAL
   ========================================= */
footer { padding: 80px 8% 40px; border-top: 1px solid var(--glass-border); text-align: center; background: linear-gradient(to top, rgba(5,2,17,1), rgba(5,2,17,0)); }
.footer-logo { width: 120px; margin: 0 auto 25px; opacity: 0.9; }

.instagram-link { 
    display: inline-flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.05); 
    padding: 12px 28px; border-radius: 50px; color: white; border: 1px solid var(--glass-border); 
    transition: var(--transition); font-weight: 600;
}
.instagram-link img { width: 22px; }
.instagram-link:hover { border-color: var(--accent-purple); transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); }

.copyright { margin-top: 50px; font-size: 12px; color: rgba(180, 172, 197, 0.4); letter-spacing: 2px; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 1s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   12. MODAIS DE SUCESSO E ERRO
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 2, 17, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: rgba(20, 10, 40, 0.95);
    padding: 40px; border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    text-align: center; max-width: 450px; width: 90%;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }

.modal-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.modal-icon svg { width: 40px; height: 40px; stroke-dasharray: 100; stroke-dashoffset: 100; }

.modal-content h2 { font-size: 28px; margin-bottom: 10px; color: white; }
.modal-content p { color: var(--text-gray); font-size: 16px; line-height: 1.5; margin-bottom: 30px; }

.btn-modal {
    padding: 15px 40px; border-radius: 50px; font-weight: 700;
    font-size: 16px; width: 100%; transition: 0.3s;
}
.btn-modal:hover { transform: translateY(-2px); }

/* Tema Sucesso */
.modal-icon.success { background: rgba(124, 58, 237, 0.1); border: 1px solid var(--accent-purple); box-shadow: 0 0 20px var(--accent-purple); }
.modal-icon.success svg { color: var(--accent-purple); }
.btn-modal.success { background: var(--grad-main); color: white; }
.btn-modal.success:hover { box-shadow: 0 0 20px rgba(124, 58, 237, 0.5); }

/* Tema Erro */
.modal-icon.error { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; box-shadow: 0 0 20px #ef4444; }
.modal-icon.error svg { color: #ef4444; }
.btn-modal.error { background: linear-gradient(135deg, #ef4444, #b91c1c); color: white; }
.btn-modal.error:hover { box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }

.modal-overlay.active .modal-icon svg { animation: drawCheck 0.6s 0.3s forwards ease-in-out; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* =========================================
   13. RESPONSIVIDADE
   ========================================= */
@media (max-width: 900px) { 
    .contact-section { grid-template-columns: 1fr; gap: 50px; padding: 60px 5%; } 
    .stats-section { flex-direction: column; gap: 40px; }
    .faq-section { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 38px; }
    .marquee-content span { font-size: 11px; margin-right: 30px; }
    .lead-form-container { padding: 30px; }
    
    .timeline-line { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 0; margin-bottom: 20px; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-item.left .timeline-content, .timeline-item.right .timeline-content { text-align: left; align-items: flex-start; }
    .timeline-item.left::after, .timeline-item.right::after { left: 11px; right: auto; }
    .step-number { font-size: 80px; top: -10px; right: 10px; left: auto !important; }
}