/* Variáveis de Cores e Estilo Moderno */
:root {
    --bg-color: #f8f9fa;
    --text-dark: #1f1f1f;
    --text-light: #6c757d;
    --primary-red: #e60000;
    --primary-red-hover: #cc0000;
    --dark-bg: #0a0a0a;
    --card-bg: #ffffff;
    --shadow-suave: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(230, 0, 0, 0.08);
    --input-shadow-focus: 0 6px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset Básico e Remoção de Text-Decoration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a, button {
    text-decoration: none !important;
    outline: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Topbar */
.topbar { background-color: #1a1a1a; color: #bbb; font-size: 13px; padding: 8px 5%; }
.topbar-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.topbar-info span, .topbar-hours span { margin-right: 20px; }
.topbar i { color: var(--primary-red); margin-right: 5px; }

/* Header e Navegação */
header {
    background-color: var(--dark-bg);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.logo { color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 12px; letter-spacing: -0.5px; }
.logo i { color: var(--primary-red); }

/* REGRA ADICIONADA PARA A IMAGEM DA LOGO */
.logo img {
    height: 155px; /* Define uma altura fixa para a barra não estourar */
    width: auto;  /* Mantém a proporção da imagem */
    object-fit: contain; /* Garante que a imagem se encaixe perfeitamente */
    display: block;
}

/* Sidebar Menu, Mobile Toggle e Overlay (Invisíveis no Desktop) */
.menu-toggle, .close-menu, .menu-overlay, .social-sidebar { display: none; }

nav ul { list-style: none; display: flex; gap: 15px; }
nav ul li a { color: #ccc; font-weight: 500; cursor: pointer; padding: 10px 20px; border-radius: 30px; transition: var(--transition); font-size: 15px; }
nav ul li a:hover, nav ul li a.active { background-color: rgba(230, 0, 0, 0.15); color: var(--primary-red); }

.social-header a { color: #fff; margin-left: 15px; font-size: 18px; transition: var(--transition); display: inline-block; }
.social-header a:hover { transform: translateY(-3px); color: var(--primary-red); }

/* Main Content */
main { flex: 1; padding: 60px 5%; max-width: 1400px; margin: 0 auto; width: 100%; }

.tab-content { display: none; animation: fadeIn 0.6s ease-out forwards; opacity: 0; transform: translateY(20px); }
.tab-content.active { display: block; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 38px; font-weight: 800; color: var(--dark-bg); margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 16px; max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* Botões Modernos */
.btn-red, .btn-dark {
    padding: 16px 32px; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer;
    transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-red { background-color: var(--primary-red); color: #fff; box-shadow: 0 10px 25px rgba(230, 0, 0, 0.25); }
.btn-red:hover { background-color: var(--primary-red-hover); transform: translateY(-4px); box-shadow: 0 15px 30px rgba(230, 0, 0, 0.35); }
.btn-dark { background-color: var(--dark-bg); color: #fff; }
.btn-dark:hover { background-color: #222; transform: translateY(-4px); }
.w-100 { width: 100%; }

/* --- HERO SECTION --- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.badge { display: inline-block; background: rgba(230, 0, 0, 0.1); color: var(--primary-red); padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 25px; }
.hero-text h1 { font-size: 58px; line-height: 1.1; margin-bottom: 25px; color: var(--dark-bg); letter-spacing: -1px; }
.hero-text h1 span { color: var(--primary-red); }
.hero-text p { color: var(--text-light); font-size: 18px; margin-bottom: 35px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 20px; }

.hero-image-placeholder {
    background: linear-gradient(135deg, #111, #2a2a2a); border-radius: 30px; height: 500px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); position: relative; overflow: hidden;
}
.hero-image-placeholder::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(230,0,0,0.2), transparent); }
.hero-image-placeholder i { font-size: 90px; color: var(--primary-red); margin-bottom: 20px; z-index: 1; }
.hero-image-placeholder h2 { z-index: 1; font-size: 28px; }
.hero-image-placeholder p { z-index: 1; color: #aaa; margin-top: 10px; }

/* Marquee Brands */
.brands-banner { background-color: var(--dark-bg); color: #fff; padding: 20px 0; border-radius: 16px; overflow: hidden; white-space: nowrap; margin-bottom: 80px; box-shadow: var(--shadow-suave); }
.marquee { display: inline-block; animation: scrollMarquee 25s linear infinite; font-size: 18px; letter-spacing: 1px; }
.marquee span { color: var(--primary-red); margin-right: 30px; font-weight: 600; }
.marquee strong { margin: 0 20px; font-weight: 700; color: #ddd; }
@keyframes scrollMarquee { 0% { transform: translateX(50%); } 100% { transform: translateX(-100%); } }

/* CAR ANIMATION (Carro Esportivo) */
.car-animation-container { position: relative; width: 100%; height: 100px; margin-bottom: 80px; overflow: hidden; border-bottom: 5px dashed #d1d5db; }
.animated-car { position: absolute; bottom: 5px; left: -150px; animation: driveCar 4s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.wind-effect { position: absolute; bottom: 25px; left: -180px; font-size: 25px; color: #ccc; animation: driveCar 4s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: 0.05s; }
.wind-effect-2 { position: absolute; bottom: 45px; left: -130px; font-size: 15px; color: #bbb; animation: driveCar 4s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: 0.1s; }
@keyframes driveCar { 0% { transform: translateX(-150px); } 100% { transform: translateX(calc(100vw + 200px)); } }

/* Diferenciais, Sobre, Processo e Depoimentos */
.features-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-bottom: 100px; }
.feature-box { background: var(--card-bg); padding: 40px 30px; border-radius: 24px; text-align: center; box-shadow: var(--shadow-suave); transition: var(--transition); }
.feature-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.feature-box i { font-size: 40px; color: var(--primary-red); margin-bottom: 20px; }
.feature-box h3 { font-size: 22px; color: var(--dark-bg); margin-bottom: 10px; font-weight: 700; }
.feature-box p { color: var(--text-light); font-size: 15px; line-height: 1.6; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 100px; }
.about-content h2 { font-size: 36px; margin-bottom: 20px; color: var(--dark-bg); }
.about-content p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; font-size: 16px; }
.about-image { background: #e9ecef; border-radius: 24px; height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #adb5bd; box-shadow: inset 0 0 20px rgba(0,0,0,0.05); }
.about-image i { font-size: 70px; margin-bottom: 20px; }

.process-section { margin-bottom: 100px; text-align: center; }
.process-section h2 { font-size: 36px; margin-bottom: 50px; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.step { background: var(--card-bg); padding: 30px; border-radius: 20px; box-shadow: var(--shadow-suave); position: relative; z-index: 1; }
.step-number { width: 50px; height: 50px; background: var(--primary-red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: -55px auto 20px; box-shadow: 0 5px 15px rgba(230,0,0,0.3); }
.step h4 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-light); font-size: 14px; }

.testimonials-section { margin-bottom: 100px; text-align: center; }
.testimonials-section h2 { font-size: 36px; margin-bottom: 50px; color: var(--dark-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--card-bg); padding: 40px; border-radius: 24px; box-shadow: var(--shadow-suave); text-align: left; position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: 20px; right: 30px; font-size: 90px; color: rgba(230, 0, 0, 0.05); font-family: serif; line-height: 1; }
.stars i { color: #FFD700; font-size: 16px; margin-bottom: 20px; }
.testimonial-card p { color: var(--text-light); font-style: italic; margin-bottom: 25px; line-height: 1.7; font-size: 15px; }
.testimonial-card h4 { color: var(--dark-bg); font-weight: 700; font-size: 18px; }
.testimonial-card span { color: var(--primary-red); font-size: 13px; font-weight: 600; }

.cta-banner { background: linear-gradient(135deg, var(--dark-bg), #222); border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.cta-content h2 { font-size: 36px; margin-bottom: 20px; color: #fff; }
.cta-content p { font-size: 18px; color: #ccc; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- SERVIÇOS --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 35px; }
.service-card { background: var(--card-bg); padding: 40px; border-radius: 24px; box-shadow: var(--shadow-suave); transition: var(--transition); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.icon-box { width: 70px; height: 70px; background: rgba(230, 0, 0, 0.08); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; transition: var(--transition); }
.service-card:hover .icon-box { background: var(--primary-red); transform: rotate(-5deg); }
.icon-box i { font-size: 30px; color: var(--primary-red); transition: var(--transition); }
.service-card:hover .icon-box i { color: #fff; }
.service-card h3 { font-size: 22px; margin-bottom: 20px; color: var(--dark-bg); font-weight: 700; }
.service-list { list-style: none; margin-bottom: 30px; flex: 1; }
.service-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--text-light); font-size: 15px; }
.service-list li i { color: #25d366; font-size: 14px; }
.price-badge { background: #f1f3f5; color: var(--dark-bg); padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; text-align: center; border-left: 4px solid var(--primary-red); }

/* FAQ Accordion */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border-radius: 16px; margin-bottom: 15px; box-shadow: var(--shadow-suave); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 25px 30px; background: none; border: none; font-size: 18px; font-weight: 600; color: var(--dark-bg); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--primary-red); }
.faq-question i { transition: transform 0.3s ease; }
.faq-question.active i { transform: rotate(180deg); color: var(--primary-red); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #fafafa; }
.faq-answer p { padding: 0 30px 25px; color: var(--text-light); line-height: 1.7; font-size: 15px; }

/* --- GALERIA MINIMALISTA --- */
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border: none; background: transparent; color: var(--text-light); font-weight: 600; font-size: 15px; cursor: pointer; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { color: var(--primary-red); border-bottom: 2px solid var(--primary-red); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.gallery-item-min { background: var(--card-bg); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-suave); transition: var(--transition); border: 1px solid #f0f0f0; }
.gallery-item-min:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.img-placeholder { height: 200px; background: #e9ecef; display: flex; align-items: center; justify-content: center; color: #adb5bd; font-size: 40px; transition: var(--transition); }
.gallery-item-min:hover .img-placeholder { background: rgba(230,0,0,0.05); color: var(--primary-red); }
.item-info { padding: 20px; }
.item-info h4 { font-size: 16px; color: var(--dark-bg); margin-bottom: 5px; font-weight: 700; }
.item-info span { font-size: 13px; color: var(--text-light); }

/* --- CONTATO E FORMULÁRIO --- */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form-wrapper { background: var(--card-bg); padding: 50px 40px; border-radius: 24px; box-shadow: var(--shadow-suave); }
.contact-form-wrapper h3 { font-size: 26px; margin-bottom: 35px; color: var(--dark-bg); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 14px; color: var(--dark-bg); }

.form-group input, .form-group textarea, .custom-select {
    width: 100%; padding: 16px 20px; border: none; outline: none; border-radius: 14px; background-color: #f4f6f8; font-size: 15px; color: var(--text-dark); box-shadow: inset 0 2px 5px rgba(0,0,0,0.02); transition: var(--transition); -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .custom-select:focus { background-color: #fff; box-shadow: var(--input-shadow-focus); transform: translateY(-2px); }
.custom-select { cursor: pointer; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat, repeat; background-position: right .7em top 50%, 0 0; background-size: .65em auto, 100%; }

.info-card { display: flex; gap: 25px; margin-bottom: 40px; align-items: flex-start; }
.info-icon { width: 60px; height: 60px; background: #fff; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 24px; box-shadow: var(--shadow-suave); flex-shrink: 0; }
.info-card h4 { font-size: 18px; margin-bottom: 10px; color: var(--dark-bg); font-weight: 700; }
.info-card p { color: var(--text-light); line-height: 1.7; font-size: 15px; }
.btn-map { font-size: 14px; color: var(--primary-red); font-weight: 600; display: inline-block; margin-top: 10px; }

/* Botão Flutuante WhatsApp */
.whatsapp-float { position: fixed; width: 65px; height: 65px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50%; text-align: center; font-size: 35px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); }

/* --- FOOTER MINIMALISTA --- */
footer { background: var(--dark-bg); padding: 50px 5% 20px; color: #fff; margin-top: auto; }
.footer-minimal { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto 30px; border-bottom: 1px solid #222; padding-bottom: 30px; }
.footer-brand-min h3 { color: var(--primary-red); font-size: 22px; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; }
.footer-brand-min p { color: #888; font-size: 14px; }
.footer-social-min a { color: #fff; margin-left: 15px; font-size: 20px; transition: var(--transition); }
.footer-social-min a:hover { color: var(--primary-red); transform: translateY(-3px); display: inline-block; }
.footer-bottom { text-align: center; color: #666; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.dev-credits { color: #888; }
.dev-credits strong { color: var(--primary-red); font-weight: 600; }

/* ==========================================
   RESPONSIVIDADE (MOBILE SIDEBAR)
   ========================================== */
@media (max-width: 992px) {
    /* AJUSTE DA LOGO NO MOBILE */
    .logo img {
        height: 65px; /* Altura reduzida para não estourar a tela. */
    }

    .topbar { display: none; }
    .hero, .contact-container, .about-section { grid-template-columns: 1fr; }
    .hero-text, .about-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image-placeholder { height: 350px; }
    
    /* Ativa Sidebar Lateral */
    .menu-toggle { display: block; font-size: 26px; color: #fff; cursor: pointer; }
    .social-header { display: none; }
    
    nav#sidebarMenu {
        position: fixed; top: 0; right: -100%; width: 50%; height: 100vh;
        background-color: var(--dark-bg); flex-direction: column; justify-content: flex-start;
        padding: 80px 30px; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5); z-index: 1001;
    }
    
    nav#sidebarMenu.active { right: 0; }
    nav ul { flex-direction: column; gap: 25px; }
    nav ul li a { font-size: 18px; display: block; }
    
    .close-menu { display: block; position: absolute; top: 25px; right: 25px; font-size: 28px; color: #fff; cursor: pointer; }
    .menu-overlay.active { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.6); z-index: 999; }
    
    .social-sidebar { display: flex; gap: 20px; margin-top: 40px; }
    .social-sidebar a { color: #fff; font-size: 22px; }
    
    .footer-minimal { flex-direction: column; text-align: center; gap: 20px; }
    .footer-social-min a { margin: 0 10px; }
}

@media (max-width: 576px) {
    nav#sidebarMenu { width: 75%; }
    .hero-text h1 { font-size: 42px; }
}