/* ============================================================
   COMPRE VEÍCULOS - CSS Principal
   Genai Tec Ltda - Identidade Visual Neurociência
   Paleta: Azul (confiança) + Laranja (conversão) + Verde (ação)
   ============================================================ */

:root {
    --primary: #1a3a5c;
    --primary-light: #2d6da8;
    --primary-dark: #0f2440;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --card: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --transition: all 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar-brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; color: var(--primary); font-weight: 700; }
.navbar-brand i { color: var(--accent); font-size: 1.5rem; }
.navbar-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { padding: 0.5rem 0.75rem; border-radius: var(--radius); color: var(--text); font-size: 0.875rem; font-weight: 500; transition: var(--transition); white-space: nowrap; }
.nav-link:hover { background: var(--bg-alt); color: var(--primary); }
.nav-link i { margin-right: 0.25rem; }
.btn-nav-primary { background: var(--accent); color: #fff !important; }
.btn-nav-primary:hover { background: var(--accent-hover); color: #fff !important; }
.btn-nav-outline { border: 1px solid var(--primary); color: var(--primary) !important; }
.navbar-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.navbar-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); }
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO ============ */
.hero {
    position: relative; padding: 8rem 0 4rem; margin-top: 64px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff; overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat; opacity: 0.3; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; }
.text-accent { color: var(--accent); }

/* Hero Search */
.hero-search { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid rgba(255,255,255,0.2); }
.search-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.search-field { flex: 1; min-width: 150px; }
.search-field .form-select { background: #fff; color: var(--text); }

/* ============ STATS BAR ============ */
.stats-bar { background: var(--card); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.stat-item, .stat-card { text-align: center; }
.stat-number { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.stat-label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }

/* ============ SECTIONS ============ */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.section-header h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }

.page-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); color: #fff; padding: 6rem 0 2rem; margin-top: 64px; text-align: center; }
.page-header h1 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-header p { opacity: 0.9; }

/* ============ VEHICLE GRID ============ */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.vehicle-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); position: relative; border: 1px solid var(--border); }
.vehicle-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.vehicle-card-link { display: block; color: inherit; }
.vehicle-card-img { position: relative; height: 200px; overflow: hidden; background: var(--bg-alt); }
.vehicle-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.vehicle-card:hover .vehicle-card-img img { transform: scale(1.05); }
.vehicle-card-body { padding: 1rem; }
.vehicle-card-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vehicle-card-info { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.75rem; }
.vehicle-card-info i { color: var(--primary-light); }
.vehicle-card-price { margin-bottom: 0.5rem; }
.price-current { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.price-old { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; margin-right: 0.5rem; }
.vehicle-card-loja { font-size: 0.8rem; color: var(--text-light); }
.vehicle-card-actions { position: absolute; top: 0.5rem; right: 0.5rem; display: flex; gap: 0.25rem; }
.btn-icon { width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 0.9rem; }
.btn-fav { background: rgba(255,255,255,0.9); color: var(--danger); }
.btn-fav:hover, .btn-fav.active { background: var(--danger); color: #fff; }
.btn-compare { background: rgba(255,255,255,0.9); color: var(--primary); }
.btn-compare:hover, .btn-compare.active { background: var(--primary); color: #fff; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.badge-destaque { background: var(--accent); color: #fff; position: absolute; top: 0.5rem; left: 0.5rem; }
.badge-verificado { background: var(--success); color: #fff; }
.badge-verificado-sm { background: var(--success); color: #fff; font-size: 0.65rem; padding: 0.15rem 0.35rem; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* ============ CITIES GRID ============ */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.city-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; transition: var(--transition); color: var(--text); }
.city-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--primary); }
.city-icon { font-size: 2rem; color: var(--primary-light); margin-bottom: 0.5rem; }
.city-card h3 { font-size: 1rem; font-weight: 600; }
.city-count { font-size: 0.8rem; color: var(--text-light); }

/* ============ CTA SECTION ============ */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; text-align: center; padding: 4rem 0; }
.cta-content h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 1rem; }
.cta-content p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: 0.875rem; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; line-height: 1.4; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--primary-light); color: var(--primary); }
.btn-outline-light { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; }
.form-input, .form-select { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; font-family: var(--font); transition: var(--transition); background: var(--card); color: var(--text); }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(45,109,168,0.15); }
.form-select-sm { padding: 0.375rem 0.625rem; font-size: 0.8rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
textarea.form-input { resize: vertical; }

/* ============ SEARCH LAYOUT ============ */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
.filters-sidebar { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; height: fit-content; position: sticky; top: 80px; }
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.filter-group { margin-bottom: 1rem; }
.filter-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.25rem; display: block; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.results-sort { display: flex; align-items: center; gap: 0.5rem; }
.results-count { font-size: 0.85rem; color: var(--text-light); }
.filters-toggle-mobile { display: none; }

/* ============ DETAIL PAGE ============ */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.5rem; flex-wrap: wrap; padding-top: 5rem; }
.breadcrumb a { color: var(--primary-light); }
.breadcrumb i { font-size: 0.6rem; }
.detail-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); margin-bottom: 0.75rem; }
.gallery-main-img { width: 100%; height: 400px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.5rem; overflow-x: auto; }
.gallery-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius); cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary-light); }
.detail-header { margin-bottom: 1rem; }
.detail-header h1 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.detail-badges { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.detail-price-box { background: var(--bg-alt); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.price-main { font-size: 1.75rem; font-weight: 800; color: var(--primary); display: block; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.spec-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.spec-item i { color: var(--primary-light); width: 20px; text-align: center; }
.spec-label { color: var(--text-light); margin-right: 0.25rem; }
.detail-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.lead-form-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.lead-form-box h3 { margin-bottom: 1rem; }
.detail-loja-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; }
.loja-mini { display: flex; align-items: center; justify-content: space-between; color: var(--text); }
.detail-description { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 2rem; }
.detail-description h2 { font-size: 1.25rem; margin-bottom: 1rem; }

/* ============ LOJA PAGE ============ */
.loja-hero { padding: 6rem 0 2rem; margin-top: 64px; color: #fff; text-align: center; position: relative; }
.loja-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.loja-hero-content { position: relative; z-index: 1; }
.loja-avatar { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; overflow: hidden; }
.loja-avatar img { width: 100%; height: 100%; object-fit: cover; }
.loja-meta { display: flex; gap: 1.5rem; justify-content: center; margin-top: 0.75rem; font-size: 0.9rem; }
.loja-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.loja-info-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 80px; }
.loja-info-card h3 { margin-bottom: 1rem; }
.lojas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.loja-card-mini { display: flex; align-items: center; gap: 0.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; transition: var(--transition); color: var(--text); }
.loja-card-mini:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }

/* ============ PLANOS ============ */
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.plano-card { background: var(--card); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: var(--transition); position: relative; }
.plano-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); }
.plano-destaque { border-color: var(--accent); transform: scale(1.02); }
.plano-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 0.25rem 1rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.plano-nome { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.plano-modalidade { font-size: 0.8rem; color: var(--text-light); margin-bottom: 1rem; text-transform: uppercase; }
.plano-preco { margin-bottom: 1.5rem; }
.preco-valor { font-size: 2rem; font-weight: 800; color: var(--primary); }
.preco-periodo { font-size: 0.85rem; color: var(--text-light); }
.plano-features { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.plano-features li { padding: 0.5rem 0; border-bottom: 1px solid var(--bg-alt); font-size: 0.9rem; }
.plano-features i { margin-right: 0.5rem; color: var(--success); }

/* ============ STEPS ============ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; position: relative; }
.step-number { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; }
.step-icon { color: var(--primary-light); margin-bottom: 1rem; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ============ ANUNCIAR ============ */
.anunciar-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.benefit-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.benefit-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.9rem; color: var(--text-light); }
.anunciar-form-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }

/* ============ COMPARE ============ */
.compare-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); color: #fff; padding: 0.75rem 0; z-index: 999; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); }
.compare-bar-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.compare-table-wrapper { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; }
.compare-table th, .compare-table td { padding: 1rem; border-bottom: 1px solid var(--border); text-align: center; }
.compare-table th { background: var(--bg-alt); min-width: 200px; }
.compare-table td:first-child { background: var(--bg-alt); font-weight: 600; text-align: left; }
.compare-img { width: 180px; height: 120px; object-fit: cover; border-radius: var(--radius); margin-bottom: 0.5rem; }
.compare-title { display: block; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }

/* ============ AUTH ============ */
.auth-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem 2rem; background: var(--bg-alt); }
.auth-box { background: var(--card); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; text-align: center; }
.auth-box-wide { max-width: 700px; text-align: left; }
.auth-box h1 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.5rem; }
.auth-box > p { color: var(--text-light); margin-bottom: 1.5rem; }
.auth-links { margin-top: 1.5rem; font-size: 0.85rem; }
.auth-links a { color: var(--primary-light); display: block; margin-bottom: 0.5rem; }

/* ============ ADMIN ============ */
.admin-topbar { background: var(--primary-dark); color: #fff; padding: 0; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.admin-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.admin-brand { color: #fff; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.admin-topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.admin-user { font-size: 0.85rem; opacity: 0.9; }
.admin-main { padding-top: 72px; padding-bottom: 2rem; }

/* ============ PANEL TABS ============ */
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; margin-top: 3%; }
.panel-header h1 { font-family: var(--font-heading); }
.panel-tabs { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); padding-bottom: 0; }
.panel-tab { padding: 0.75rem 1rem; background: none; border: none; cursor: pointer; font-weight: 500; font-size: 0.85rem; color: var(--text-light); transition: var(--transition); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; font-family: var(--font); }
.panel-tab:hover { color: var(--primary); }
.panel-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.panel-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.admin-tab { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1rem; }

/* ============ TABLES ============ */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--bg-alt); padding: 0.75rem; text-align: left; font-size: 0.8rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; border-bottom: 2px solid var(--border); }
.data-table td { padding: 0.75rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.data-table tr:hover { background: var(--bg-alt); }
.lead-novo { background: #fef3c7 !important; }

/* ============ ALERTS ============ */
.alert { padding: 1rem; border-radius: var(--radius); font-size: 0.9rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ============ FAQ ============ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-item h3 { padding: 1rem; cursor: pointer; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.faq-item h3:hover { background: var(--bg-alt); }
.faq-item p { max-height: 0; overflow: hidden; padding: 0 1rem; transition: all 0.3s ease; }
.faq-item.active p { max-height: 200px; padding: 0 1rem 1rem; }
.faq-item.active h3 i { transform: rotate(90deg); }

/* ============ FOTOS ============ */
.fotos-preview, .fotos-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
.foto-item { position: relative; width: 100px; height: 75px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.foto-item img { width: 100%; height: 100%; object-fit: cover; }
.btn-remove-foto { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--danger); color: #fff; border: none; cursor: pointer; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; }

/* ============ AVALIACOES ============ */
.avaliacoes-list { display: flex; flex-direction: column; gap: 1rem; }
.avaliacao-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.avaliacao-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.stars { color: var(--warning); }

/* ============ FOOTER ============ */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 3rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h3, .footer-col h4 { color: #fff; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); padding: 0.25rem 0; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.footer-social a:hover { background: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; text-align: center; font-size: 0.8rem; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 4px 12px rgba(37,211,102,0.4); z-index: 998; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ============ LOADING ============ */
.loading-spinner { text-align: center; padding: 3rem; color: var(--text-light); }
.empty-state { text-align: center; padding: 3rem; color: var(--text-light); }
.empty-state i { margin-bottom: 1rem; display: block; }
.empty-state h3 { color: var(--text); margin-bottom: 0.5rem; }

/* ============ PAGINATION ============ */
.pagination { display: flex; gap: 0.25rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary-light); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .navbar-toggle { display: flex; }
    .navbar-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--card); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
    .navbar-menu.active { display: flex; }
    .hero-title { font-size: 1.75rem; }
    .search-row { flex-direction: column; }
    .search-layout { grid-template-columns: 1fr; }
    .filters-sidebar { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 999; overflow-y: auto; border-radius: 0; }
    .filters-sidebar.active { display: block; }
    .filters-toggle-mobile { display: inline-flex; }
    .detail-layout { grid-template-columns: 1fr; }
    .gallery-main-img { height: 250px; }
    .specs-grid { grid-template-columns: 1fr; }
    .loja-layout { grid-template-columns: 1fr; }
    .anunciar-layout { grid-template-columns: 1fr; }
    .vehicle-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .planos-grid { grid-template-columns: 1fr; }
    .plano-destaque { transform: none; }
    .panel-tabs { flex-wrap: nowrap; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-topbar-right { gap: 0.25rem; }
    .admin-user { display: none; }
}

@media (max-width: 480px) {
    .hero { padding: 6rem 0 2rem; }
    .hero-title { font-size: 1.5rem; }
    .vehicle-grid { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
