/* =================================================================== */
/* Reset e Estilos Base - TEMA TIMES SQUARE                            */
/* =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-background: #0a0a1a; /* Fundo noite escura */
    --color-surface: #1a1a2e; /* Superfície dos cartões */
    --color-text: #e0e0e0; /* Texto principal claro */
    --color-primary: #ff00ff; /* Magenta Néon */
    --color-secondary: #00f6ff; /* Ciano Elétrico */
    --color-gray: #9a9a9a;
    --color-white: #ffffff;
    --shadow-neon-primary: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary), 0 0 15px var(--color-primary);
    --shadow-neon-secondary: 0 0 5px var(--color-secondary), 0 0 10px var(--color-secondary), 0 0 15px var(--color-secondary);
    --text-shadow-neon-primary: 0 0 7px rgba(255, 0, 255, 0.9);
    --text-shadow-neon-secondary: 0 0 7px rgba(0, 246, 255, 0.9);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

#interactive-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Coloca o canvas atrás de todo o conteúdo */
}


/* =================================================================== */
/* Cabeçalho e Navegação                                               */
/* =================================================================== */
header {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 246, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(to right, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-secondary);
    text-shadow: var(--text-shadow-neon-secondary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 28px;
    height: 2px;
    background-color: var(--color-text);
    display: block;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

body.nav-open .hamburger { background-color: transparent; }
body.nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
body.nav-open .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* =================================================================== */
/* Seção Hero                                                          */
/* =================================================================== */
.hero {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-text .highlight {
    background: linear-gradient(to right, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--color-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-neon-primary);
    text-shadow: 0 0 5px var(--color-white);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 8px var(--color-primary), 0 0 20px var(--color-primary), 0 0 30px var(--color-primary);
}

/* Hero - Animação de Texto */
.hero-image-container {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 246, 255, 0.3);
    background-color: #000;
    display: flex;
    align-items: center;
    padding: 2rem;
    font-family: 'Courier New', Courier, monospace;
}

#typing-animation-container {
    color: #00f6ff;
    font-size: 1.5rem;
    text-align: left;
    text-shadow: 0 0 5px var(--color-secondary);
}

.cursor {
    display: inline-block;
    width: 12px;
    height: 1.7rem;
    background-color: var(--color-secondary);
    animation: blink 1s infinite;
    margin-left: 5px;
    vertical-align: middle;
    box-shadow: var(--shadow-neon-secondary);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =================================================================== */
/* Estilos Gerais de Seção                                             */
/* =================================================================== */
main {
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
    text-align: center;
}

#oqfazemos, #time, #clientes, #contato-form-section {
    background-color: var(--color-surface);
    border-top: 1px solid rgba(0, 246, 255, 0.1);
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
}
#processo, #valores, #porque-peritech {
    background-color: var(--color-background);
}

h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--color-secondary);
    text-shadow: 0 0 8px rgba(0, 246, 255, 0.6); /* Efeito Néon mais nítido */
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.grid, .service-grid, .pricing-grid, .team-grid {
    display: grid;
    gap: 2rem;
}

/* =================================================================== */
/* Seções Específicas                                                  */
/* =================================================================== */

/* Seção "O Que Fazemos" */
.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
    background: var(--color-background);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: left;
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}
.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background-color: rgba(0, 246, 255, 0.1);
    color: var(--color-secondary);
}
.service-icon-wrapper svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--color-text); }
.service-card p { font-size: 1rem; color: var(--color-gray); }

/* Seção "Porque Nós" - Mais Perceptível */
#porque-peritech {
    background: radial-gradient(ellipse at center, rgba(26, 26, 46, 0.5) 0%, var(--color-background) 70%);
}
#porque-peritech h2 {
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
}
#porque-peritech .section-subtitle {
    color: var(--color-text);
    font-size: 1.3rem;
}
.pain-point-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.pain-point-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.pain-point-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
    border-color: var(--color-primary);
}
.pain-point-icon {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}
.pain-point-icon svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 5px var(--color-primary));
}
.pain-point-card h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(0, 246, 255, 0.5);
}
.pain-point-card p {
    color: var(--color-gray);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}
.pain-point-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
.pain-point-link:hover {
    color: var(--color-primary);
    text-shadow: var(--text-shadow-neon-primary);
    transform: translateX(5px);
}

/* Seção "Processo de Criação" */
.process-steps-container { counter-reset: step; }
.process-step {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 246, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    counter-increment: step;
}
.process-step:last-child { margin-bottom: 0; }
.process-step:nth-child(even) { flex-direction: row-reverse; }
.process-image-wrapper { flex: 1; }
.process-image-wrapper img { width: 100%; border-radius: 16px; }
.process-text-wrapper { flex: 1; text-align: left; position: relative; z-index: 1; }
.process-text-wrapper::before {
    content: '0' counter(step);
    position: absolute;
    z-index: -1;
    font-size: 10rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    top: -50px;
}
.process-step:nth-child(odd) .process-text-wrapper::before { left: -50px; }
.process-step:nth-child(even) .process-text-wrapper::before { right: -50px; }
.process-step-number { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--color-primary); text-shadow: var(--text-shadow-neon-primary); }
.process-text-wrapper h3 { font-family: 'Baloo 2', sans-serif; font-size: 2.5rem; margin-bottom: 1rem; color: var(--color-secondary); }
.process-text-wrapper p { font-size: 1.1rem; color: var(--color-gray); }

/* Seção Clientes com Mockups */
#clientes h2 {
     background: linear-gradient(to right, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.client-scroller-wrapper { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent); mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent); }
.client-logos { display: flex; flex-wrap: nowrap; gap: 2.5rem; width: max-content; animation: scroll 40s linear infinite; }
.client-scroller-wrapper:hover .client-logos { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo-item { 
    height: 120px; 
    width: 220px; 
    flex-shrink: 0; 
    background: var(--color-background); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
    transition: all 0.3s ease; 
    overflow: hidden;
}
.client-logo-item img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.4) contrast(1.2); 
    transition: all 0.3s ease; 
}
.client-logo-item:hover { 
    border-color: var(--color-secondary); 
    box-shadow: 0 0 15px rgba(0, 246, 255, 0.3);
}
.client-logo-item:hover img { 
    filter: none; 
    transform: scale(1.05);
}

/* Seção Time */
.team-grid { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.team-member-card { 
    background-color: var(--color-background);
    padding: 2.5rem 2rem; 
    border-radius: 20px; 
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    align-items: center; 
}
.team-member-card:hover { transform: translateY(-10px); border-color: var(--color-primary); box-shadow: 0 0 20px rgba(255, 0, 255, 0.3); }
.team-member-card img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 4px solid var(--color-surface); }
.team-member-card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--color-secondary); text-shadow: 0 0 5px var(--color-secondary); }
.team-member-card p { font-weight: 600; margin-bottom: 1.5rem; color: var(--color-primary); }
.linkedin-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background-color: transparent; border: 1px solid var(--color-secondary); color: var(--color-secondary); border-radius: 50%; text-decoration: none; transition: all 0.3s ease; }
.linkedin-button:hover { background-color: var(--color-secondary); color: var(--color-background); box-shadow: var(--shadow-neon-secondary); transform: scale(1.1); }
.linkedin-button svg { width: 20px; height: 20px; }

/* Seção Valores */
#valores { background-color: var(--color-background); }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.pricing-card {
    background: var(--color-surface);
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 246, 255, 0.3);
    border-color: var(--color-secondary);
}
.pricing-icon { margin: 0 auto 1.5rem; height: 60px; width: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.pricing-icon svg { width: 32px; height: 32px; }
.pricing-card h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 0.75rem; }
.card-description { color: var(--color-gray); margin-bottom: 2rem; min-height: 50px; }
.price-wrapper { display: flex; justify-content: center; align-items: flex-start; margin-bottom: 0.5rem; font-weight: 700; }
.price-currency { font-size: 1.5rem; margin-top: 0.5rem; margin-right: 0.25rem; }
.price-amount { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 4rem; line-height: 1; }
.price-period { font-size: 0.9rem; color: var(--color-gray); margin-bottom: 2rem; }
.feature-list { list-style: none; text-align: left; margin-bottom: 2.5rem; flex-grow: 1; }
.feature-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.feature-list .check-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-secondary); }
.pricing-card .cta-button { margin-top: auto; width: 100%; color: var(--color-white); border: none; padding: 1rem; font-size: 1.1rem; }

.popular-badge { position: absolute; top: 18px; right: -45px; padding: 6px 40px; font-weight: 700; font-size: 0.9rem; transform: rotate(45deg); background-color: var(--color-primary); color: var(--color-white); }
.essential-plan .pricing-icon { background-color: rgba(0, 246, 255, 0.1); }
.essential-plan .pricing-icon svg { color: var(--color-secondary); }
.essential-plan h3, .essential-plan .price-wrapper { color: var(--color-secondary); }
.essential-plan .cta-button { background-color: var(--color-secondary); box-shadow: var(--shadow-neon-secondary); }
.professional-plan { transform: scale(1.05); border-color: var(--color-primary); }
.professional-plan:hover { transform: translateY(-12px) scale(1.07); box-shadow: 0 0 25px rgba(255, 0, 255, 0.4); border-color: var(--color-primary); }
.professional-plan .pricing-icon { background-color: rgba(255, 0, 255, 0.1); }
.professional-plan .pricing-icon svg { color: var(--color-primary); }
.professional-plan h3, .professional-plan .price-wrapper { color: var(--color-primary); }
.professional-plan .cta-button { background-color: var(--color-primary); }
.premium-plan .pricing-icon { background-color: rgba(0, 246, 255, 0.1); }
.premium-plan .pricing-icon svg { color: var(--color-secondary); }
.premium-plan h3, .premium-plan .price-wrapper { color: var(--color-secondary); }
.premium-plan .cta-button { background-color: var(--color-secondary); box-shadow: var(--shadow-neon-secondary); }

/* Seção Contato */
.contact-form-container { max-width: 650px; margin: 0 auto; background: var(--color-background); padding: 3.5rem; border-radius: 20px; border: 1px solid rgba(255, 0, 255, 0.2); }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--color-text); }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 1rem; transition: all 0.3s ease; background-color: var(--color-surface); color: var(--color-text); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(229, 89, 0, 0.2); }
.form-group textarea { min-height: 150px; resize: vertical; }
.contact-form-container .cta-button { width: 100%; }
#form-status { margin-top: 1rem; padding: 0.75rem; border-radius: 8px; text-align: center; font-weight: 600; display: none; }
#form-status.success { background-color: rgba(0, 246, 255, 0.1); color: var(--color-secondary); }
#form-status.error { background-color: rgba(255, 0, 255, 0.1); color: var(--color-primary); }

/* Botão WhatsApp */
.whatsapp-button { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px #25d366; z-index: 1001; transition: all 0.2s ease; text-decoration: none; }
.whatsapp-button img { width: 60%; height: 60%; }
.whatsapp-button:hover { transform: scale(1.1); }

/* Rodapé */
footer { background: #000; color: var(--color-white); padding: 4rem 0 2rem; border-top: 1px solid rgba(0, 246, 255, 0.2); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; text-align: left; }
.footer-section h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--color-white); }
.footer-section p, .footer-section a { color: var(--color-gray); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s ease; display: block; }
.footer-section a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; text-align: center; color: var(--color-gray); font-size: 0.9rem; }

/* Animações */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--delay, 0s); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Media Queries para Responsividade */
@media (max-width: 1023px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }
    body.nav-open .nav-links {
        right: 0;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .nav-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text p { font-size: 1.1rem; }
    #typing-animation-container { font-size: 1.1rem; }
    .cursor { height: 1.3rem; }
    h2 { font-size: 2.2rem; }
    .section-subtitle { font-size: 1.1rem; }
    .process-step, .process-step:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    .process-text-wrapper { text-align: center; }
    .process-text-wrapper h3 { font-size: 2rem; }
    .professional-plan {
        transform: scale(1); /* Reset scale for mobile */
    }
     .professional-plan:hover {
        transform: translateY(-12px) scale(1.02);
    }
}
