/* 
    Punisher Monitoramento - Design System
    Colors: Tactical Red, Deep Black, Clean White
    Typography: Montserrat (Body), Impact-style Sans-Serif (Headers)
*/

:root {
    --primary: #C41200; /* Tactical Red */
    --primary-glow: rgba(196, 18, 0, 0.4);
    --secondary: #000000; /* Deep Black */
    --accent: #E51A00; /* Bright Red for hover */
    --text-light: #FFFFFF;
    --text-dark: #1A1A1A;
    --gray-dark: #121212;
    --gray-mid: #2A2A2A;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --red-glass: rgba(196, 18, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Montserrat', sans-serif; /* Using heavy weights for Impact-like feel */
    --container-width: 1200px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Utility Classes */
.text-accent { color: var(--primary); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: black;
}

.glow-effect {
    box-shadow: 0 0 15px var(--primary-glow);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--primary-glow); }
    to { box-shadow: 0 0 20px var(--primary-glow); }
}

/* Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    border-bottom: 1px solid var(--primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-light);
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1541888040775-69fca7513ff0?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Differentials */
.diferenciais {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.diff-card {
    background: var(--gray-dark);
    padding: 40px;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.diff-card:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-10px);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.diff-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.diff-card p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    overflow: hidden;
    transition: var(--transition);
}

.service-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-content {
    padding: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 4px;
    margin-top: -60px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.service-card h3 {
    margin: 20px 0 10px;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Patrol Section (Banner Vigia) */
.banner-patrulhamento .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.patrol-badge {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.patrol-features {
    margin: 30px 0;
}

.patrol-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.image-wrapper {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    border: 1px solid var(--glass-border);
}

/* About / Por que a Punisher? */
.sobre-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-image img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--primary);
}

.lead-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Social Proof */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(196, 18, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Footer */
.footer {
    background: #080808;
    padding: 80px 0 40px;
    border-top: 1px solid var(--gray-mid);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--gray-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.social-icons a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-mid);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .sobre-grid, .banner-patrulhamento .container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links { display: none; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .stats-container { flex-direction: column; gap: 20px; }
}
