/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3b82f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.logo::before {
    display: none; /* Remove o emoji do caminhão */
}

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

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

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #3b82f6;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu ul {
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transform: translateX(10px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23334155" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(50px) translateY(50px); }
}

.hero-content {
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: #3b82f6;
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-elements {
    position: relative;
    width: 400px;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    bottom: 20px;
    left: 20px;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    display: block;
}

.stat-label {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2rem;
}

.about-text p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 500;
}

.features-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 1rem;
    background: #dcfce7;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Coverage Box */
.coverage-box {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
}

.coverage-box h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.coverage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coverage-icon {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

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

.contact h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.contact-subtitle {
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.contact-item::before {
    content: attr(data-icon);
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: #0f172a;
    padding: 2rem 0;
    text-align: center;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Mobile Navigation */
    .nav-links {
        display: none;
    }

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

    .logo {
        font-size: 1.4rem;
    }

    .logo-img {
        height: 45px;
    }

    .logo::before {
        display: none;
    }

    /* Mobile Hero */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: calc(100vh - 120px);
        align-content: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Mobile floating elements */
    .floating-elements {
        width: 250px;
        height: 200px;
        margin: 1rem auto 0;
        position: relative;
    }

    .floating-card {
        padding: 0.8rem;
        position: absolute;
        font-size: 0.85rem;
    }

    .floating-card:nth-child(1) {
        top: 0;
        right: 0;
        width: 80px;
        height: 60px;
    }

    .floating-card:nth-child(2) {
        bottom: 0;
        left: 0;
        width: 80px;
        height: 60px;
    }

    .floating-card:nth-child(3) {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90px;
        height: 70px;
        z-index: 2;
    }

    .stat-number {
        font-size: 1.2rem;
        line-height: 1;
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    /* Mobile Services */
    .services {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Mobile About */
    .about {
        padding: 4rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .features-list {
        margin: 1.5rem 0;
    }

    .features-list li {
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
        align-items: flex-start;
    }

    /* Mobile Coverage */
    .coverage-box {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .coverage-box h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .coverage-item {
        padding: 0.5rem;
    }

    .coverage-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    /* Mobile Contact */
    .contact {
        padding: 4rem 0;
    }

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

    .contact h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-item div {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .contact-form p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* Mobile footer */
    footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 1.7rem;
        padding: 0 0.5rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .floating-elements {
        width: 200px;
        height: 150px;
        margin: 0.5rem auto 0;
    }

    .floating-card {
        padding: 0.6rem;
    }

    .floating-card:nth-child(1),
    .floating-card:nth-child(2) {
        width: 70px;
        height: 50px;
    }

    .floating-card:nth-child(3) {
        width: 75px;
        height: 55px;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .coverage-box {
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .contact-form {
        padding: 1rem;
        margin: 0;
    }

    .about-text h2,
    .contact h2 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        max-width: 260px;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-content {
        gap: 1rem;
    }

    .floating-elements {
        display: none;
    }
}

/* Scroll to top button styles */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

/* Mobile scroll to top adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Loading and performance optimizations */
.loaded {
    opacity: 1;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before {
        animation: none;
    }
    
    .floating-card {
        animation: none;
    }
    
    .logo::before {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #ffffff;
    }
    
    .btn-secondary {
        border: 2px solid #3b82f6;
    }
    
    .service-card {
        border: 1px solid #64748b;
    }
}

/* Print styles */
@media print {
    header,
    .floating-elements,
    .scroll-to-top,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .services,
    .about,
    .contact {
        padding: 2rem 0;
    }
    
    .service-card,
    .coverage-box,
    .contact-form {
        box-shadow: none;
        border: 1px solid #64748b;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
}

/* Additional mobile touch improvements */
@media (max-width: 768px) {
    /* Ensure touch targets are at least 44px */
    .nav-links a,
    .mobile-menu a,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve tap targets spacing */
    .cta-buttons > * {
        margin: 0.5rem 0;
    }
    
    /* Better mobile form elements if added later */
    input,
    textarea,
    select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Dark mode support (optional for future) */
@media (prefers-color-scheme: dark) {
    /* This could be expanded if dark mode is needed */
    .services {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }
    
    .service-card {
        background: #334155;
        color: #e2e8f0;
    }
    
    .service-card h3 {
        color: #ffffff;
    }
}