:root {
    --primary: #d4af37; /* Gold */
    --primary-glow: rgba(212, 175, 55, 0.6);
    --secondary: #f9d976; /* Lighter gold */
    --bg-dark: #050505; /* Black */
    --bg-panel: rgba(15, 15, 15, 0.7);
    --text-main: #ffffff;
    --text-muted: #f4f4f4; /* Branco mais claro para leitura */
    --border-color: rgba(212, 175, 55, 0.3);
    --transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
}

h1, h2, h3, h4, .logo {
    font-family: 'Orbitron', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(3, 5, 10, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.4s ease, background 0.4s ease;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(3, 5, 10, 0.98);
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 2px;
    transition: 0.4s ease;
}

.header-logo img {
    height: 65px;
}

.header.scrolled .logo {
    font-size: 22px;
}

.header.scrolled .header-logo img {
    height: 45px;
}

.logo img {
    filter: brightness(1.4) contrast(1.15) drop-shadow(0 0 15px var(--primary-glow));
    transition: 0.3s;
}

.logo img:hover {
    filter: brightness(1.6) contrast(1.2) drop-shadow(0 0 25px var(--primary-glow));
}

.highlight {
    color: var(--primary);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary-glow);
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 80%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

/* Glitch Effect on Title */
.glitch-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.glitch {
    font-size: 70px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero p {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 500;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: transparent;
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: rgba(0, 85, 255, 0.1);
    box-shadow: inset 0 0 20px var(--primary-glow);
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 30px;
    animation: bounce 2s infinite;
    z-index: 2;
}

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

/* Badges & Titles */
section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* About Section */
.about {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050810 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    padding: 50px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.stats-grid {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary); /* Gold for stats */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Radar Animation for visual */
.about-visuals {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(0, 85, 255, 0.1) inset;
}

.tech-circle i {
    font-size: 60px;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.circle-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: 3px solid var(--primary);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Testimonials */
.testimonials {
    background: linear-gradient(180deg, #050810 0%, var(--bg-dark) 100%);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
    justify-content: center;
    gap: 40px;
}
.video-card {
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.video-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.85);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    padding-left: 5px;
    transition: 0.3s;
    pointer-events: none;
    box-shadow: 0 0 15px var(--primary-glow);
    z-index: 2;
}
.video-wrapper.is-playing .play-overlay {
    opacity: 0;
}
.video-card video {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    outline: none;
    display: block;
}
.video-card h3 {
    font-size: 20px;
    color: var(--secondary);
    letter-spacing: 1px;
}
.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 85, 255, 0.2);
}

.service-card:hover .card-glow {
    width: 200px;
    height: 200px;
    opacity: 0.5;
}

.icon-main {
    font-size: 50px;
    color: var(--secondary); /* Gold icons for authority */
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transition: 0.3s;
}

.service-card:hover .icon-main {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-muted);
}

/* Scanner line effect on hover */
.scanner-line {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .scanner-line {
    opacity: 1;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: -10px; }
    50% { top: 100%; }
    100% { top: -10px; }
}

/* Footer */
.footer {
    background-color: #010204;
    padding-top: 80px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 18px;
}

.footer-contact h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Tactical WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    text-decoration: none;
    z-index: 100;
    transition: var(--transition);
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Scroll Reveal Animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Load Animations */
.fade-up {
    animation: fadeUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav ul { 
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(3, 5, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transition: 0.4s ease;
        border-bottom: 1px solid var(--border-color);
    }
    .nav ul.active {
        left: 0;
    }
    .nav ul li {
        margin: 15px 0;
    }
    .mobile-menu { display: block; }
    .glitch { font-size: 40px; }
    .hero p { font-size: 18px; }
    .hero-actions { flex-direction: column; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 40px;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-contact p {
        justify-content: center;
    }
    .about-text { padding: 30px; }
    .fleet-gallery { grid-template-columns: 1fr; }
}

/* Why Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.why-card {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.why-card i {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}
.why-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}
.why-card p {
    color: var(--text-muted);
    font-size: 15px;
}
.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

/* Reviews Carousel */
.reviews {
    background-color: var(--bg-dark);
}
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}
.reviews-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    padding-bottom: 20px;
}
.reviews-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.review-card {
    min-width: 320px;
    max-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 30px;
    text-align: left;
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.quote-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}
.review-text {
    font-size: 16px;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}
.review-author {
    font-size: 18px;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
}
.review-role {
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fleet Section */
.fleet {
    background: linear-gradient(0deg, var(--bg-dark) 0%, #050810 100%);
}
.fleet-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.fleet-item {
    padding: 10px;
    border-radius: 12px;
}
.image-placeholder {
    width: 100%;
    height: 350px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition);
}
.image-placeholder i {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--primary);
    opacity: 0.7;
}
.image-placeholder:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}
@media (max-width: 768px) {
    .fleet-gallery { grid-template-columns: 1fr; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--primary-glow);
    border-radius: 12px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-text h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
}

.cookie-text p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    color: var(--text-muted);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    transition: 0.3s;
}

.cookie-text a:hover {
    color: var(--secondary);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

/* Exit Intent Pop-up */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    backdrop-filter: blur(5px);
}

.exit-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup-content {
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-popup-overlay.show .exit-popup-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.popup-icon {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--primary-glow);
}

.exit-popup-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.exit-popup-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 16px;
}

.popup-btn {
    width: 100%;
    display: block;
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.tactical-form .form-group {
    margin-bottom: 20px;
}

.tactical-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-input::placeholder {
    color: #666;
}

select.form-input option {
    background-color: #111;
    color: #fff;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .tactical-form .form-row {
        grid-template-columns: 1fr;
    }
    .form-container {
        padding: 20px;
    }
}
