/* Reset básico para limpar a sujeira dos navegadores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- CABEÇALHO E MENU --- */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #d32f2f; /* Cor de destaque (vermelho pneu/industrial) */
}

/* Lógica do Menu Mobile sem JavaScript */
.menu-toggle { display: none; }
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

/* --- BANNER PRINCIPAL (HERO) --- */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Escurece a imagem para ler o texto */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 1.2em;
    font-weight: 300;
}

/* --- SERVIÇOS E PRODUTOS (GRID) --- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-logo {
    max-height: 50px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #222;
}

.service-card p {
    color: #666;
    font-size: 0.95em;
}

/* --- RODAPÉ --- */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-whatsapp img {
    height: 40px;
    transition: transform 0.3s;
}

.footer-whatsapp img:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE (CELULARES) --- */
@media (max-width: 768px) {
    .menu-icon { display: block; }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu a {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid #f1f1f1;
    }

    /* Abre o menu quando o ícone invisível é clicado (Puro CSS) */
    .menu-toggle:checked ~ .nav-menu {
        display: flex;
    }

    .hero-text h1 { font-size: 2em; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px;}
}