/* --- VARIÁVEIS E RESET --- */
:root {
    --primary: #D32F2F;
    /* Vermelho Pellegrino - Força e Liderança */
    --primary-hover: #b71c1c;
    --secondary: #1a237e;
    /* Azul Escuro - Profissionalismo */
    --dark-bg: #101010;
    /* Preto Fundo */
    --card-bg: #1c1c1c;
    /* Cinza Grafite */
    --text-light: #f5f5f5;
    --text-gray: #b0b0b0;
    --border-color: #333;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    --gradient: linear-gradient(135deg, var(--primary), #ff5252);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TIPOGRAFIA --- */
h1,
h2,
h3 {
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--primary);
    margin: 15px auto 0;
    transform: skew(-20deg);
}

span.highlight {
    color: var(--primary);
}

/* --- COMPONENTES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Russo One', sans-serif;
    letter-spacing: 1px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-hover);
    transition: left 0.3s ease;
    z-index: -1;
    transform: skewX(-20deg);
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
}

.section-padding {
    padding: 90px 0;
}

/* --- HEADER --- */
header {
    background-color: rgba(16, 16, 16, 0.95);
    border-bottom: 3px solid var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 2rem;
    color: #fff;
    font-family: 'Russo One', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 2px;
}

.logo i {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1983&auto=format&fit=crop');
    /* Imagem de carro/estrada */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 45px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CATEGORIAS (GRID) --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.category-card {
    background-color: var(--card-bg);
    border-bottom: 3px solid transparent;
    border-radius: 6px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.category-card:hover {
    transform: translateY(-10px);
    background-color: #252525;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.15);
}

.cat-icon {
    font-size: 3.5rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    transition: color 0.3s;
}

.category-card:hover .cat-icon {
    color: var(--primary);
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.category-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* --- SOBRE A EMPRESA --- */
.about-section {
    background: linear-gradient(to right, #141414, #1a1a1a);
    position: relative;
    border-top: 1px solid #222;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 1.05rem;
}

.features-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary);
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: -20px 20px 0px rgba(211, 47, 47, 0.2);
}

/* --- LOCALIZAÇÃO & CONTATO --- */
.contact-section {
    background: #0a0a0a;
    position: relative;
}

.contact-wrapper {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 50px;
    background: #181818;
    border-right: 1px solid #222;
}

.info-header h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
}

.info-item {
    margin-bottom: 35px;
    display: flex;
    align-items: flex-start;
}

.icon-box {
    background: rgba(211, 47, 47, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cnpj-tag {
    display: inline-block;
    background: #222;
    padding: 8px 15px;
    border-radius: 4px;
    color: #888;
    font-family: monospace;
    font-size: 0.9rem;
    border: 1px solid #333;
    margin-top: 10px;
}

.map-container {
    position: relative;
    height: 100%;
    min-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* --- FOOTER --- */
footer {
    background: #050505;
    padding: 50px 0 20px;
    text-align: center;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: 'Russo One';
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: #222;
    color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    color: #555;
    font-size: 0.85rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    width: 100%;
    max-width: 600px;
}

/* --- ANIMAÇÕES --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }

    .about-img {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .navbar .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: #151515;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        border-bottom: 2px solid var(--primary);
        transform: translateY(-150%);
        transition: 0.4s;
        z-index: 999;
    }

    .navbar .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 30px;
    }

    .btn {
        width: 100%;
    }
}