/* --- RESET E VARIÁVEIS GERAIS --- */
:root {
    --primary-color: #CC0000; /* Vermelho Lamarca */
    --secondary-color: #111111; /* Preto */
    --text-color: #444444;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary {
    color: var(--primary-color);
}

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #aa0000;
    border-color: #aa0000;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* --- HEADER --- */
#header {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    color: #ddd;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.btn-destaque {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
}

.btn-destaque:hover {
    background: #aa0000;
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION (CAPA) --- */
#hero {
    height: 100vh;
    background-image: url('imagens/capa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title-main {
    display: block;
    font-size: 5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- SEÇÃO SOBRE NÓS --- */
#sobre {
    padding: 100px 0;
    background-color: var(--white);
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-imagem img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.sobre-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #111;
}

.sobre-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.box-planejamento {
    background: #f9f9f9;
    border-left: 5px solid #CC0000;
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.box-planejamento h3 {
    font-family: 'Montserrat', sans-serif;
    color: #111;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.box-planejamento p {
    font-size: 1rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

/* Metodologia Grid */
.metodologia-wrapper {
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.metodologia-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #111;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.metod-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.metod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: #CC0000;
}

.metod-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f0f0f0;
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    z-index: 0;
}

.metod-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #CC0000;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.metod-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* --- SEÇÃO COBERTURA --- */
#cobertura {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.cobertura-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cobertura-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.stat-item small {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
    display: block;
}

.cobertura-mapa img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* --- SEÇÃO FORMATOS --- */
#formatos {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.card {
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.bg-gray { background-color: #f4f4f4; }
.bg-black { background-color: #111; color: white; }
.bg-white { background-color: #fff; border-color: #ddd; }

.card-icon {
    height: 80px;
    width: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    max-height: 100%;
    max-width: 100%;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.bg-black h3 { color: var(--primary-color); }

.card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
}

.card-link:hover {
    text-decoration: underline;
}

/* --- SEÇÃO MARCAS EM MOVIMENTO --- */
#marcas-movimento {
    padding: 60px 0;
    background: #f4f4f4;
    overflow: hidden;
}

#marcas-movimento h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #111;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.slider-viewport {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    will-change: transform;
}

.slider-item {
    width: 33.333%;
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.slider-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.slider-item img:hover {
    transform: scale(1.02);
}

/* --- RODAPÉ --- */
#contato {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    height: 40px;
    width: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* --- RESPONSIVIDADE (MENU MOBILE) --- */
@media (max-width: 992px) {
    .hero-title-main { font-size: 4rem; }
    .sobre-container, .cobertura-layout { grid-template-columns: 1fr; }
    .sobre-imagem { order: -1; margin-bottom: 30px; }
    .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { 
        display: block; 
        z-index: 1100; /* CORREÇÃO: Garante que o ícone fique acima do menu */
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -280px; 
        width: 280px; 
        height: 100vh;
        flex-direction: column;
        padding: 40px;
        transition: 0.3s;
        display: flex;
        justify-content: flex-start;
        background: rgba(0,0,0,0.95);
        z-index: 1050; /* CORREÇÃO: Garante que o menu fique acima do conteúdo */
    }

    /* CORREÇÃO: !important para garantir que a regra sobrescreva o right: -280px */
    .nav-menu.active { right: 0 !important; }
    
    .nav-menu ul { 
        flex-direction: column; 
        width: 100%;
    }
    
    .nav-menu ul li {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-title-main { font-size: 3rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    
    .slider-item { 
        width: 100%; 
        flex: 0 0 100%;
    }
}