/* ========================================
   VARIÁVEIS E RESET
   ======================================== */
:root {
    --primary: #0056b3;
    --green: #28a745;
    --footer: #111111;
    --light-bg: #f4f6f9;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */
header { 
    background-color: var(--primary); 
    padding: 12px 0;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
}

.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap;
}

.logo { 
    color: white; 
    font-size: 1.6rem;
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: -1px; 
    margin-right: 20px;
}
.logo span { color: var(--green); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-links a { 
    color: white; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.95rem;
    transition: 0.3s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--green); }

.btn-nav { 
    background-color: var(--green); 
    padding: 10px 20px; 
    border-radius: 5px; 
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.btn-nav:hover { 
    background-color: #218838; 
    color: white; 
    transform: translateY(-2px);
}

.menu-toggle { 
    display: none; 
    font-size: 2rem; 
    color: white; 
    cursor: pointer; 
    margin-left: auto;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero { 
    position: relative; 
    height: 85vh; 
    display: flex; 
    align-items: center; 
    color: white; 
    overflow: hidden; 
    background-color: #000; 
}
.hero-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: 0; 
}
.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%); 
    z-index: 1; 
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 900; 
    margin-bottom: 20px; 
    line-height: 1.1; 
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9); 
}
.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    max-width: 500px; 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9); 
}

/* ========================================
   BOTÕES GERAIS
   ======================================== */
.btn { 
    display: inline-block; 
    padding: 15px 30px; 
    border-radius: 5px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    text-transform: uppercase; 
    transition: 0.3s; 
    margin-right: 15px; 
}
.btn-green { 
    background: linear-gradient(135deg, var(--green), #218838); 
    color: white; 
    border: none;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    transition: all 0.3s ease;
}
.btn-green:hover { 
    background: linear-gradient(135deg, #218838, #1e7e34); 
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.35);
}
.btn-outline { 
    background-color: transparent; 
    color: white; 
    border: 2px solid white; 
}
.btn-outline:hover { 
    background-color: white; 
    color: black; 
}

/* ========================================
   COUNTDOWN SECTION
   ======================================== */
.countdown-section { 
    background-color: var(--primary); 
    color: white; 
    text-align: center; 
    padding: 50px 20px; 
}
.countdown-section h3 { 
    font-size: 1.8rem; 
    margin-bottom: 30px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}
.countdown-boxes { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
}
.countdown-box { 
    background: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.3); 
    padding: 20px; 
    border-radius: 8px; 
    min-width: 100px; 
    font-size: 1.2rem; 
    font-weight: bold; 
}
.countdown-box span { 
    display: block; 
    font-size: 3rem; 
    font-weight: 900; 
    color: var(--green); 
}

/* ========================================
   SEÇÕES E TÍTULOS
   ======================================== */
.section-title { 
    text-align: center; 
    margin-bottom: 50px; 
}
.section-title h2 { 
    font-size: 2.5rem; 
    color: #333; 
}
.section-title p { 
    color: #666; 
    margin-top: 10px; 
    font-size: 1.1rem; 
}

/* ========================================
   GRID DE PRODUTOS
   ======================================== */
.veiculos-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

/* Cards de Produtos */
.carro-card { 
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}
.carro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #c41e3a), var(--green, #28a745));
    opacity: 0;
    transition: opacity 0.3s;
}
.carro-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.carro-card:hover::before { opacity: 1; }
.carro-card img { 
    height: 220px; 
    width: 100%; 
    object-fit: cover;
    transition: transform 0.4s ease;
}
.carro-card:hover img { transform: scale(1.03); }

.carro-info { 
    padding: 25px; 
    position: relative; 
}
.carro-badge { 
    position: absolute; 
    top: -15px; 
    right: 20px; 
    background: linear-gradient(135deg, #dc3545, #c82333); 
    color: white; 
    padding: 8px 16px; 
    border-radius: 25px; 
    font-weight: 700; 
    font-size: 0.85rem; 
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.carro-info h3 { 
    font-size: 1.5rem; 
    color: #2c3e50; 
    margin-top: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}
.carro-info p { 
    font-size: 1rem; 
    color: #5a6b7c; 
    margin-top: 10px;
    line-height: 1.5;
}
.carro-info .btn-green {
    padding: 12px 20px;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.2);
    width: 100%;
}

/* Seção de Produtos */
#produtos {
    background: #fafafa;
    padding: 80px 0;
}
#produtos .section-title h2 {
    color: var(--primary);
    font-weight: 800;
}
#produtos .btn-green {
    padding: 18px 40px;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* ========================================
   VÍDEO SECTION
   ======================================== */
.video-section { 
    background-color: #1a1a1a; 
    padding: 80px 0; 
}
.video-section .section-title h2 { 
    color: #ffffff; 
    font-weight: 800; 
}
.video-section .section-title p { 
    color: #e0e0e0; 
    font-size: 1.2rem; 
}
.video-wrapper { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    max-width: 900px; 
    margin: 0 auto; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 0 30px rgba(0,0,0,0.5); 
}
.video-wrapper iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

/* ========================================
   FOOTER
   ======================================== */
footer { 
    background-color: var(--footer); 
    color: white; 
    padding: 40px 0; 
    text-align: center; 
}
footer p { color: #ccc; }

/* ========================================
   PÁGINAS DE CADASTRO/LOGIN
   ======================================== */
.cadastro-container { 
    display: flex; 
    height: 100vh; 
}
.cadastro-left { 
    flex: 1; 
    background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80'); 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
}
.cadastro-left-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.4)); 
}
.cadastro-left-content { 
    position: relative; 
    z-index: 2; 
}
.cadastro-right { 
    flex: 1; 
    background-color: white; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 40px; 
}
.form-box { 
    width: 100%; 
    max-width: 450px; 
}
.form-box h2 { 
    font-size: 2rem; 
    margin-bottom: 10px; 
    color: #333; 
}
.form-group { 
    margin-bottom: 20px; 
}
.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #555; 
}
.form-group input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    font-size: 1rem; 
}
.form-group input:focus { 
    outline: none; 
    border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(0,86,179,0.1); 
}
.btn-submit { 
    width: 100%; 
    padding: 15px; 
    background-color: var(--green); 
    color: white; 
    border: none; 
    border-radius: 5px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s; 
    text-transform: uppercase; 
}
.btn-submit:hover { 
    background-color: #218838; 
}
.checkbox-group { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    margin-bottom: 25px; 
}
.checkbox-group input[type="checkbox"] { 
    margin-top: 5px; 
    width: auto; 
}
.checkbox-group label { 
    font-size: 0.9rem; 
    color: #666; 
}
.checkbox-group a { 
    color: var(--primary); 
    font-weight: bold; 
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section { 
    background-color: var(--light-bg); 
    padding: 80px 0; 
}
.faq-section .section-title h2 { 
    color: #333; 
}
.faq-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
}
.faq-item { 
    background: white; 
    padding: 25px; 
    border-radius: 8px; 
    box-shadow: var(--shadow); 
    border-top: 4px solid var(--green); 
}
.faq-item h3 { 
    font-size: 1.2rem; 
    color: var(--primary); 
    margin-bottom: 10px; 
}
.faq-item p { 
    font-size: 1rem; 
    color: #555; 
    line-height: 1.5; 
}

/* ========================================
   BOTÃO WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.whatsapp-float:hover { 
    transform: scale(1.1); 
}
.whatsapp-float img { 
    width: 40px; 
    height: 40px; 
}

/* ========================================
   BADGES
   ======================================== */
.badge { 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    color: white; 
    display: inline-block; 
    text-transform: uppercase;
}
.badge-novo { background: #17a2b8; }
.badge-contatado { background: #28a745; }
.badge-aprovado { background: #007bff; }
.badge-cancelado { background: #6c757d; }

/* ========================================
   RESPONSIVO (MOBILE)
   ======================================== */
@media (max-width: 992px) {
    .menu-toggle { 
        display: block; 
    }
    
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0;
        background-color: var(--primary); 
        width: 100%; 
        padding: 20px; 
        gap: 15px;
        text-align: center; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .nav-links a { 
        margin: 5px 0; 
        display: block; 
        font-size: 1.1rem;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active { 
        display: flex; 
    }
    
    .btn-nav {
        margin-top: 10px;
        width: 100%;
        display: block;
    }
    
    /* Ajustes gerais mobile */
    .hero h1 { 
        font-size: 2.2rem; 
    }
    .hero p { 
        font-size: 1rem; 
    }
    .btn { 
        padding: 12px 20px; 
        font-size: 0.9rem; 
        margin-right: 10px;
    }
    .countdown-boxes { 
        gap: 10px; 
    }
    .countdown-box { 
        min-width: 80px; 
        padding: 15px;
        font-size: 1rem;
    }
    .countdown-box span { 
        font-size: 2rem; 
    }
}

@media (max-width: 480px) {
    .hero h1 { 
        font-size: 1.8rem; 
    }
    .section-title h2 { 
        font-size: 1.8rem; 
    }
    .carro-card img { 
        height: 180px; 
    }
}