/* --- Configurações Globais e Variáveis --- */
:root {
    --cor-laranja: #F57C00; /* Tom de laranja profissional, próximo da máquina */
    --cor-laranja-hover: #E67E22;
    --cor-texto: #333;
    --cor-texto-claro: #555;
    --cor-fundo: #FFFFFF;
    --cor-fundo-claro: #f8f9fa;
    --cor-borda: #e9ecef;
    --font-principal: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-principal);
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--cor-laranja);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cor-texto-claro);
    margin-bottom: 40px;
}

.bg-light {
    background-color: var(--cor-fundo-claro);
}

/* --- Botões --- */
.btn-main, .btn-header {
    background-color: var(--cor-laranja);
    color: var(--cor-fundo);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-main:hover, .btn-header:hover {
    background-color: var(--cor-laranja-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Cabeçalho (Header) --- */
.header {
    width: 100%;
    background-color: var(--cor-fundo);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.2rem;
    color: var(--cor-texto);
    font-weight: 500;
}
.logo strong {
    font-weight: 700;
    color: var(--cor-laranja);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--cor-texto-claro);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:not(.btn-menu)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-laranja);
    transition: width 0.3s ease;
}

.nav-menu a:hover:not(.btn-menu) {
    color: var(--cor-texto);
}

.nav-menu a:hover:not(.btn-menu)::after {
    width: 100%;
}

.nav-menu .btn-menu {
    display: none; /* Só aparece no mobile */
}

.btn-header {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--cor-texto);
    cursor: pointer;
}

/* --- Seção Principal (Hero) --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('escavadeira. SD17E.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cor-fundo);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Escurece a imagem de fundo */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px; /* Compensa o header fixo */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

/* --- Seção Serviços --- */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.servico-item {
    background-color: var(--cor-fundo);
    padding: 30px;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.servico-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.servico-item i {
    font-size: 2.5rem;
    color: var(--cor-laranja);
}

.servico-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cor-texto);
}

/* --- Seção Características --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.feature-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.feature-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: none;
}

.feature-content li {
    font-size: 1.1rem;
    color: var(--cor-texto-claro);
    margin-bottom: 10px;
    position: relative;
}

.feature-content li::before {
    content: '✓';
    color: var(--cor-laranja);
    font-weight: bold;
    position: absolute;
    left: -25px;
}

.feature-content p {
    margin-bottom: 30px;
    color: var(--cor-texto-claro);
}

/* --- Seção Contato --- */
.contato-info {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.2rem;
}

.contato-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contato-info i {
    color: var(--cor-laranja);
    font-size: 1.5rem;
}

.contato-info a {
    color: var(--cor-texto-claro);
    transition: color 0.3s ease;
}

.contato-info a:hover {
    color: var(--cor-laranja);
}

/* --- Rodapé (Footer) --- */
.footer {
    background-color: var(--cor-texto);
    color: #aaa;
    padding: 30px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer p {
    font-size: 0.9rem;
}

.footer-links a {
    color: #aaa;
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cor-fundo);
}

/* --- Responsividade (Mobile) --- */

@media (max-width: 992px) {
    .section h2, .feature-content h2 {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .feature-image {
        max-width: 500px;
        margin: 0 auto;
    }
    .feature-content {
        text-align: center;
    }
    .feature-content h2 {
        text-align: center;
    }
    .feature-content ul {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* --- Menu Mobile --- */
    .nav-menu {
        position: fixed;
        top: 70px; /* Altura do header */
        right: -100%; /* Começa escondido */
        width: 80%;
        height: 100vh;
        background-color: var(--cor-fundo);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
    }

    .nav-menu.active {
        right: 0; /* Mostra o menu */
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }
    .nav-menu a {
        font-size: 1.1rem;
    }
    .nav-menu .btn-menu {
        display: block;
        background-color: var(--cor-laranja);
        color: var(--cor-fundo);
        padding: 10px;
        text-align: center;
        border-radius: 5px;
        width: 100%;
    }
    .nav-menu .btn-menu:hover {
        background-color: var(--cor-laranja-hover);
        color: var(--cor-fundo);
    }
    .nav-menu a:hover:not(.btn-menu)::after {
        width: 0; /* Remove efeito de sublinhado no mobile */
    }

    .btn-header {
        display: none; /* Esconde botão principal no header */
    }

    .menu-toggle {
        display: block; /* Mostra o ícone "hambúrguer" */
    }

    /* --- Outras Seções --- */
    .hero {
        min-height: 500px;
        height: 70vh;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section {
        padding: 60px 0;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Classe para Animação (ScrollReveal) --- */
.reveal {
    visibility: hidden;
}