/* CSS Reset e Variáveis Core */
:root {
    --primary: #FFB300; /* Amarelo Trator/Maquinário Pesado */
    --primary-hover: #E5A100;
    --dark: #121212;
    --dark-surface: #1E1E1E;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--font-body);
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 800;
    line-height: 1.2;
}

p {
    margin-bottom: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.highlight { color: var(--primary); }
.relative { position: relative; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 80px;
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.logo-sos {
    color: var(--white);
    background-color: var(--dark);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    display: inline-block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-list a {
    font-weight: 500;
    color: var(--gray-dark);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.nav-list a:hover {
    color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 10px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--dark) 0%, #2A2A2A 100%);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Se tiver uma imagem de fundo, seria adicionada aqui e o opacity ajustado */
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
}

.hero-content {
    max-width: 650px;
    color: var(--white);
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 179, 0, 0.15);
    border: 1px solid rgba(255, 179, 0, 0.3);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: #CCCCCC;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-medium);
    font-size: 1.125rem;
}

/* Services */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid #EEEEEE;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 179, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--dark);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin: 0;
}

/* Diferenciais / Features */
.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.features-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.features-desc {
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 40px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.feature-icon-check {
    min-width: 32px;
    height: 32px;
    background-color: var(--dark);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.feature-content strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark);
    display: block;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--gray-medium);
    margin: 0;
}

.features-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #1E1E1E 0%, #333333 100%);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.features-image::before {
    content: '100% Legalizado \A e Consciente';
    white-space: pre;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    font-weight: 800;
}

.features-image::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.2;
    filter: blur(40px);
}

/* CTA Overlay */
.cta-section {
    background-color: var(--primary);
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--dark);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.cta-section .btn:hover {
    background-color: var(--gray-dark);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-brand p {
    color: #999;
    max-width: 400px;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-link {
    display: block;
    color: #999;
    margin-bottom: 12px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

/* WhatsApp Floating Button */
.floating-wa {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1) translateY(-4px);
    background-color: #20BA56;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Responsividade */
@media (max-width: 992px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .features-image {
        height: 400px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        padding: 40px 24px;
        gap: 40px;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        font-size: 1.25rem;
        gap: 32px;
    }

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Updates for Images and Phone Nav */
.nav-contact { display: flex; align-items: center; gap: 24px; }
.nav-phone { font-weight: 700; font-size: 1.1rem; color: var(--dark); font-family: var(--font-heading); }
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid var(--primary); }
.service-card-body { padding: 32px; flex-grow: 1; display: flex; flex-direction: column; }
.service-card:hover .service-card-img { transform: scale(1.05); transition: var(--transition); }
@media (max-width: 768px) { .nav-contact { flex-direction: column; } }
