/* ========================================
   Damazul Auto Center - Premium Dark Theme
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

:root {
    --red-primary: #E3000F;    
    --red-hover: #B3000C;
    
    --bg-main: #061019;       
    --bg-dark: #0B1927;       
    --bg-card: #112133;       
    --bg-white: #FFFFFF;
    
    --text-main: #F8FAFC;     
    --text-muted: #94A3B8;    

    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(227, 0, 15, 0.5); 
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 30px rgba(227, 0, 15, 0.15);
    
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--bg-white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-red { color: var(--red-primary); text-shadow: 0 0 10px rgba(227,0,15,0.3); }
.text-muted { color: var(--text-muted); }
.bg-dark { background-color: var(--bg-dark); }

/* ========================================
   Botões
   ======================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; border-radius: 50px; font-weight: 800; font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px;
    transition: var(--transition); cursor: pointer; border: none;
}

.btn-red { background-color: var(--red-primary); color: var(--bg-white); box-shadow: 0 4px 15px rgba(227, 0, 15, 0.3); }
.btn-red:hover { background-color: var(--red-hover); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(227, 0, 15, 0.5); }

.btn-outline { background-color: rgba(255,255,255,0.05); border: 2px solid var(--border-color); color: var(--bg-white); }
.btn-outline:hover { border-color: var(--red-primary); color: var(--bg-white); transform: translateY(-3px); background: rgba(227, 0, 15, 0.1);}

.btn-dark { background-color: #000; color: var(--bg-white); }
.btn-dark:hover { background-color: #111; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.4); }

.btn-outline-light { background-color: transparent; border: 2px solid var(--bg-white); color: var(--bg-white); }
.btn-outline-light:hover { background-color: var(--bg-white); color: var(--red-primary); transform: translateY(-3px); }

.btn-full { width: 100%; }

.btn-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-weight: 700; font-size: 0.95rem; transition: var(--transition); margin-top: 15px;}
.btn-link:hover { gap: 13px; color: var(--red-primary); }

/* ========================================
   Header e Navegação
   ======================================== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(6, 16, 25, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color); transition: var(--transition);
}
.header.scrolled { padding: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; transition: var(--transition); }

.logo { 
    height: auto; 
    max-height: 95px; 
    width: auto;
    max-width: 350px; 
    object-fit: contain; 
    transition: var(--transition);
}

.header.scrolled .logo { max-height: 65px; }

.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { font-weight: 600; color: var(--text-main); font-size: 0.9rem; font-family: 'Montserrat', sans-serif; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px;}
.nav-menu a:hover { color: var(--red-primary); }

.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-main); transition: var(--transition);}
.nav-phone i { color: var(--red-primary); }
.nav-phone:hover { color: var(--red-hover); }

.btn-whatsapp-nav {
    padding: 10px 24px; background: var(--red-primary); color: var(--bg-white);
    border-radius: 50px; font-weight: 700; font-size: 0.85rem; font-family: 'Montserrat', sans-serif; text-transform: uppercase; transition: var(--transition);
}
.btn-whatsapp-nav:hover { background: var(--red-hover); color: var(--bg-white); box-shadow: 0 4px 15px rgba(227, 0, 15, 0.4);}

.nav-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1001; }
.nav-toggle span { width: 30px; height: 3px; background: var(--bg-white); transition: var(--transition); border-radius: 2px;}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: url('https://images.pexels.com/photos/3806249/pexels-photo-3806249.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(6,16,25,1) 0%, rgba(6,16,25,0.7) 100%); z-index: 1; }

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
    padding-top: 180px; 
    padding-bottom: 80px; 
    color: var(--bg-white);
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px;
    background: rgba(227, 0, 15, 0.1); border: 1px solid var(--red-primary);
    border-radius: 50px; font-size: 0.85rem; color: var(--bg-white); font-weight: 700; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px;
}

.hero-title { font-size: clamp(3rem, 5vw, 5rem); margin-bottom: 25px; line-height: 1.1; font-weight: 900; text-transform: uppercase; letter-spacing: -1px;}
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; font-weight: 400; max-width: 650px;}
.hero-buttons { display: flex; gap: 20px; margin-bottom: 20px; }

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding-top: 30px; 
    margin-top: 50px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.stat-num {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--red-primary);
    line-height: 1;
}
.stat-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* ========================================
   Cards de Validação
   ======================================== */
.validation-cards-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 60px;
}
.validation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.val-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.val-card.highlight {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: var(--bg-white);
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(227,0,15,0.2);
}
.val-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}
.val-card.highlight:hover {
    transform: scale(1.03) translateY(-5px);
}
.val-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--red-primary);
}
.val-card.highlight .val-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}
.val-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 800;
}
.val-card.highlight h3 {
    color: var(--bg-white);
}
.val-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.val-card.highlight p {
    color: rgba(255,255,255,0.9);
}

/* ========================================
   Seções Comuns
   ======================================== */
.section-label { font-size: 0.85rem; font-weight: 800; letter-spacing: 2px; color: var(--red-primary); text-transform: uppercase; margin-bottom: 15px; font-family: 'Montserrat', sans-serif;}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 15px; text-transform: uppercase; font-weight: 900;}
.section-title-left { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 25px; text-transform: uppercase; font-weight: 900;}
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 50px; }

/* ========================================
   Sobre Nós
   ======================================== */
.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text strong { color: var(--bg-white); font-weight: 700;}

.about-features { display: flex; gap: 30px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-color);}
.about-feature { display: flex; align-items: flex-start; gap: 15px; }
.feature-icon { width: 50px; height: 50px; background: rgba(227,0,15,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--red-primary); font-size: 1.5rem; }
.about-feature h4 { font-size: 1.1rem; margin-bottom: 5px; font-weight: 800;}
.about-feature span { font-size: 0.85rem; color: var(--text-muted); }

.about-image-wrapper { position: relative; }
.about-image-wrapper img { border-radius: 16px; border: 1px solid var(--border-color); }
.about-seal { position: absolute; bottom: -30px; right: -30px; width: 130px; height: 130px; border-radius: 50%; background: var(--red-primary); padding: 10px; box-shadow: var(--shadow-hover); display: flex; justify-content: center; align-items: center; text-align: center; border: 6px solid var(--bg-main);}
.seal-content .number { display: block; font-size: 3rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: var(--bg-white); line-height: 1;}
.seal-content .text { font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: var(--bg-white); letter-spacing: 2px;}

/* ========================================
   Serviços Automotivos
   ======================================== */
.services-section { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.service-card {
    background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft); transition: var(--transition); display: flex; flex-direction: column; position: relative;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border-hover); box-shadow: var(--shadow-hover);}

.card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    font-family: 'Montserrat', sans-serif;
    z-index: 1;
    transition: var(--transition);
}
.service-card:hover .card-number { color: rgba(227, 0, 15, 0.1); }

.service-image { 
    position: relative; 
    height: 220px; 
    background-color: #1A2838; 
    display: flex; justify-content: center; align-items: center; overflow: hidden; 
    z-index: 2; border-bottom: 1px solid var(--border-color);
}
.service-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: var(--transition); }
.service-card:hover .service-image img { transform: scale(1.05); opacity: 1; }

.service-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
.service-info h4 { font-size: 1.25rem; margin-bottom: 12px; text-transform: uppercase; font-weight: 800;}
.service-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

/* ========================================
   Área de Cobertura
   ======================================== */
.coverage-section { padding: 80px 0; background: var(--bg-card); border-y: 1px solid var(--border-color);}
.coverage-flex { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center;}
.coverage-text h2 { font-size: 2.5rem; margin-bottom: 20px; }

.location-tags { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px;}
.location-tags span { background: rgba(255,255,255,0.05); padding: 12px 24px; border-radius: 50px; font-weight: 600; font-family: 'Montserrat', sans-serif; border: 1px solid var(--border-color); font-size: 0.9rem;}
.location-tags span i { color: var(--red-primary); margin-right: 8px;}

.coverage-img { border-radius: 16px; border: 1px solid var(--border-color); }

/* ========================================
   Contato, Formulário e Mapa
   ======================================== */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.contact-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 35px; }
.contact-icon { width: 55px; height: 55px; border-radius: 12px; background: rgba(227,0,15,0.1); display: flex; align-items: center; justify-content: center; color: var(--red-primary); font-size: 1.4rem; }
.contact-label { display: block; font-size: 0.75rem; font-weight: 800; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase;}
.contact-item strong { display: block; font-size: 1.1rem; color: var(--text-main); margin-bottom: 4px; }

.contact-map-wrapper {
    margin-top: 40px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.contact-form-wrapper { background: var(--bg-card); padding: 40px; border-radius: 16px; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); position: relative;}
.contact-form-wrapper::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red-primary); border-radius: 16px 16px 0 0;}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; font-family: 'Montserrat', sans-serif;}
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 0.95rem; transition: var(--transition); background: rgba(0,0,0,0.2); color: var(--text-main);}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--red-primary); background: rgba(0,0,0,0.4); }

/* ========================================
   CTA Pre-Footer
   ======================================== */
.cta-pre-footer {
    background-color: var(--red-primary);
    padding: 60px 0;
    color: var(--bg-white);
}
.cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cta-text h2 {
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 900;
}
.cta-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
}
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer { background: #040A10; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }

.footer-logo { width: 220px; margin-bottom: 25px;}
.footer-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 25px; line-height: 1.7; max-width: 400px;}

.footer-social { display: flex; gap: 15px; }
.footer-social a { width: 45px; height: 45px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-main); transition: var(--transition); }
.footer-social a:hover { background: var(--red-primary); border-color: var(--red-primary); transform: translateY(-3px); }

.footer-col h4 { font-family: 'Montserrat', sans-serif; color: var(--bg-white); font-size: 1.1rem; letter-spacing: 1px; margin-bottom: 25px; font-weight: 800;}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); transition: var(--transition); font-size: 0.95rem; font-weight: 500;}
.footer-col ul li a:hover { color: var(--red-primary); padding-left: 5px; }

.footer-contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 15px;}
.footer-contact-list i { color: var(--red-primary); font-size: 1.1rem;}

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--text-muted); }

/* ========================================
   WhatsApp Float
   ======================================== */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 999; }
.whatsapp-btn { width: 65px; height: 65px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2.2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.5); transition: var(--transition); animation: pulse-green 2s infinite;}
.whatsapp-btn:hover { transform: scale(1.1); }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ========================================
   Scroll Reveal
   ======================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   Responsivo
   ======================================== */
@media (max-width: 991px) {
    .about-grid, .contact-grid, .coverage-flex { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .validation-grid { grid-template-columns: 1fr; }
    .validation-cards-section { margin-top: 40px; }
    .val-card.highlight { transform: none; }
    .val-card.highlight:hover { transform: translateY(-5px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .cta-flex { flex-direction: column; text-align: center; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons a { width: 100%; }
    
    .contact-map-wrapper { height: 300px; }
    
    /* Menu Mobile */
    .logo { max-height: 75px; max-width: 250px; }
    .header.scrolled .logo { max-height: 60px; }
    .nav-right { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu { 
        position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-main); 
        flex-direction: column; padding: 30px; gap: 25px; border-bottom: 1px solid var(--border-color); 
        transition: var(--transition); z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(-10px);
    }
    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

@media (max-width: 768px) {
    .hero { padding-top: 160px; padding-bottom: 80px; text-align: center; }
    .hero-badge { margin: 0 auto 25px;}
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-seal { right: 0; bottom: -20px;}
}