:root {
    --primary: #1A1A1A;
    --accent: #FF3D00; /* Vibrant accent color inspired by logo fragments */
    --bg-light: #F9F9F9;
    --text-main: #2D2D2D;
    --text-muted: #666666;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Satoshi', sans-serif;
}

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

html {
    scroll-behavior: initial; /* Lenis handles this */
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

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

.section-padding { padding: 120px 0; }
.section-padding-large { padding: 160px 0; }
.light-bg { background-color: var(--bg-light); }
.dark-ish-bg { background-color: #F0F0F0; }

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: var(--primary);
}

h1 { font-size: clamp(3.5rem, 8vw, 6rem); margin-bottom: 30px; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 25px; }

.sub-title {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.center { text-align: center; justify-content: center; }

/* Buttons */
.btn-cta {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-cta.primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-cta.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: #333;
}

.btn-cta.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-cta.secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 15px 0;
    background-color: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo { 
    margin-right: auto; 
}

.logo img { 
    height: 45px; 
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

#navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1); /* Faz o logo ficar branco se o fundo for muito escuro, ou remova se o logo for colorido */
}

.nav-links { 
    display: flex; 
    flex-direction: row;
    gap: 30px; 
    margin-right: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white) !important;
    opacity: 0.8;
}

#navbar.scrolled .nav-links a {
    color: var(--primary) !important;
}

.nav-links a:hover { opacity: 1; color: var(--accent) !important; }

.nav-cta {
    background-color: var(--accent);
    color: var(--white);
    padding: 12px 25px !important;
    font-size: 0.9rem !important;
}

.nav-cta:hover {
    background-color: var(--white);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: 
        linear-gradient(rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 20%, rgba(0,0,0,0.2) 80%, rgba(0,0,0,0.6) 100%),
        url('images/hero-van.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#three-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-content { 
    max-width: 900px; 
    padding: 0 10%; 
    z-index: 1; 
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-content h1 {
    color: var(--white);
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0.95;
    color: var(--white);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 44px;
    border: 2px solid var(--white);
    opacity: 0.5;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

/* Stats Section */
#stats {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-block;
}

.stat-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-top: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* History Section */
.history-image {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.history-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 105%;
    height: 105%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    opacity: 0.1;
    filter: blur(40px);
    border-radius: 50%;
    z-index: -1;
}

.history-image img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 8px solid var(--white);
    transition: var(--transition);
}

.history-image:hover img {
    transform: scale(1.02) rotate(-1deg);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

.service-card {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    opacity: 1; /* Ensure visible by default */
}

.service-card:hover {
    border-color: var(--accent);
    background-color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.service-card .icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.1;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 { font-size: 1.8rem; margin-bottom: 15px; }

/* Differentials */
#differentials {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 140px 0;
}

.diff-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/differentials-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.relative { position: relative; }
.white-text { color: var(--white); }

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    z-index: 1;
}

.diff-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.diff-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255, 61, 0, 0.2);
}

.diff-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 61, 0, 0.3);
}

.diff-icon svg { width: 35px; height: 35px; }

.diff-item h3 { color: var(--white); margin-bottom: 15px; }
.diff-item p { opacity: 0.8; font-size: 1.05rem; }

/* Portfolio Marquee */
.no-overflow { overflow: hidden; }
.marquee-wrapper { margin-top: 60px; position: relative; }
.marquee {
    display: flex;
    gap: 30px;
    width: max-content;
}

.marquee-item {
    width: 400px;
    height: 300px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.marquee-item:hover img { transform: scale(1.05); }

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 25px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    background: #F8F8F8;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

/* Social Floating */
.floating-social {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 15px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.1);
}

.social-btn svg { width: 30px; height: 30px; }

.social-btn.whatsapp { 
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.social-btn.instagram { 
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-btn:hover { 
    transform: scale(1.15) rotate(10deg); 
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

/* Footer */
#main-footer {
    padding: 100px 0 40px;
    background-color: #0d0d0d;
    color: var(--white);
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--white);
    opacity: 0.7;
    font-size: 1rem;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.brand-col .footer-logo {
    height: 50px;
    margin-bottom: 25px;
}

.footer-tagline {
    opacity: 0.7;
    margin-bottom: 30px;
    max-width: 250px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a svg { width: 18px; height: 18px; }

.footer-socials a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    opacity: 0.8;
    margin-bottom: 25px;
}

.contact-list li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    opacity: 0.6;
}

.mobile-menu-toggle { 
    display: none; 
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

#navbar.scrolled .mobile-menu-toggle span {
    background-color: var(--primary);
}

/* Mobile Menu Active State */
.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--white) !important; }
.menu-open .mobile-menu-toggle span:nth-child(2) { transform: translateY(-0.0px) rotate(-45deg); background-color: var(--white) !important; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-2, .services-grid, .diff-grid, .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1000;
        margin-right: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.8rem !important;
        color: var(--white) !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content h1 { 
        font-size: 3rem; 
        text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }
    .hero-content p { 
        font-size: 1.1rem; 
        text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }
    .hero-btns { flex-direction: column; gap: 15px; }
    .hero-btns .btn-cta { width: 100%; text-align: center; }
    
    .logo img {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Animations */
.reveal-text { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.parallax-img { transition: transform 0.1s ease-out; }
