/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --bg-color: #000000;
    --text-white: #ffffff;
    --text-light-gray: #f0f0f0;
    --text-dark-gray: #333333;
    --accent-green: #007637; /* Verde escuro do design */
    --hover-green: #00a04a; /* Verde mais claro para hover */
    --silver-start: #ffffff;
    --silver-end: #d1d1d1;
    --header-height: 90px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--text-white);
    color: var(--text-dark-gray);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- CABEÇALHO (HEADER) --- */
.main-header {
    background-color: var(--bg-color);
    color: var(--text-white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo-container {
    flex: 0 0 auto;
}

.main-logo {
    height: 70px; /* Ajuste conforme necessário */
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-green);
}

.btn-emergency {
    background-color: var(--accent-green);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-emergency:hover {
    background-color: var(--hover-green);
}

.btn-emergency i {
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 500;
}

.phone-number {
    font-size: 14px;
    font-weight: 700;
}

/* --- SEÇÃO HERO (DESTAQUE) --- */
.hero-section {
    background-image: url('assets/hero-truck.jpg'); /* Overlay escuro + Imagem */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax opcional */
    color: var(--text-white);
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

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

.hero-text p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* --- BOTÕES --- */
.btn {
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.btn-green {
    background-color: var(--accent-green);
    color: var(--text-white);
}

.btn-green:hover {
    background-color: var(--hover-green);
}

.btn-silver {
    background: linear-gradient(180deg, var(--silver-start) 0%, var(--silver-end) 100%);
    color: var(--text-dark-gray);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-silver:hover {
    background: var(--silver-end);
}

/* --- SEÇÃO DE SERVIÇOS --- */
.services-section {
    padding: 80px 0;
    background-color: var(--text-white);
}

.section-title {
    text-align: center;
    color: var(--accent-green);
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-green);
    margin: 10px auto 0;
}

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

.service-card {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: 0.3s;
    background-color: var(--text-white);
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--accent-green);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 50px;
    color: var(--accent-green);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.card-icon i {
    line-height: 1;
}

.card-icon .small-icon {
    font-size: 20px;
    color: var(--text-dark-gray);
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: var(--text-white);
    padding: 2px;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark-gray);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-card p {
    font-size: 14px;
    color: #666;
}

/* --- SEÇÃO DE IDIOMAS --- */
.language-section {
    padding: 60px 0;
    background-color: var(--text-light-gray);
    border-top: 1px solid #eaeaea;
}

.language-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flags-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.flags-container img {
    width: 60px; /* Ajuste o tamanho da bandeira */
    height: auto;
    border: 2px solid var(--text-white);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.language-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark-gray);
    margin-bottom: 15px;
}

.language-text p {
    font-size: 14px;
    color: #666;
}

.language-text a {
    color: var(--accent-green);
    text-decoration: underline;
}

/* --- RODAPÉ (FOOTER) --- */
.main-footer {
    background-color: var(--bg-color);
    color: #bbb;
    padding: 80px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 100px;
    width: auto;
}

.footer-contact h4 {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: var(--text-white);
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    border-radius: 5px;
    color: #bbb;
    font-size: 18px;
}

.social-icon:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

/* --- MEDIA QUERIES (RESPONSIVIDADE) --- */

/* Celulares e Tablets em Retrato (Até 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .main-logo {
        height: 50px;
    }

    .main-nav {
        display: none; /* Esconde o menu original */
    }

    /* Opcional: Adicionar um ícone de menu hambúrguer aqui se necessário */

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-social {
        justify-content: center;
    }
}