/* Reset e Configurações Básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e31e24;
    --dark-red: #b71c1c;
    --light-red: #ff5252;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --black: #000000;
    --shadow: rgba(227, 30, 36, 0.3);
    --gradient: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
    cursor: none; /* Esconde o cursor padrão */
}

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

/* Cursor personalizado - Carro */
#car-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 20px;
    color: var(--primary-red);
    font-size: 20px;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

/* Canvas para fumaça */
#smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(227, 30, 36, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-gray);
    text-shadow: 0 2px 4px rgba(227, 30, 36, 0.2);
}

.logo i {
    color: var(--primary-red);
    margin-right: 10px;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(227, 30, 36, 0.3));
}

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

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover {
    color: var(--primary-red);
    background: rgba(227, 30, 36, 0.05);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Compensar altura do header fixo */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.glitch-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-gray);
    border-color: var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

/* Elementos flutuantes */
.floating-elements {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.element {
    position: absolute;
    color: var(--primary-red);
    font-size: 3rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: -100px;
    left: 0;
    animation-delay: 0s;
}

.element-2 {
    top: 0;
    left: 100px;
    animation-delay: 2s;
}

.element-3 {
    top: 100px;
    left: -50px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-dark {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-gray);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sobre Nós */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.about-image {
    display: flex;
    justify-content: center;
}

.tech-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.tech-circle i {
    font-size: 4rem;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(227, 30, 36, 0); }
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(227, 30, 36, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(227, 30, 36, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.3);
}

.service-card.featured {
    border-color: var(--primary-red);
    background: rgba(227, 30, 36, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(51, 51, 51, 0.8);
}

.service-features i {
    color: var(--primary-red);
}

/* Política e Termos */
.policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h3,
.terms-content h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-red);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.policy-content h3:first-child,
.terms-content h3:first-child {
    margin-top: 0;
}

.policy-content p,
.terms-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Contato */
.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--dark-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Formulário */
.contact-form {
    background: rgba(227, 30, 36, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(227, 30, 36, 0.3);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(227, 30, 36, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--dark-gray);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.2);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(51, 51, 51, 0.7);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 0.5rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Botão WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border-top: 2px solid rgba(227, 30, 36, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        align-items: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}