﻿:root {
    --bg-color: #F5F5F7;
    --card-bg: #ffffff;
    --text-color: #1D1D1F;
    --text-muted: #86868B;
    --accent-primary: #FF7A30; /* Gearshift Orange */
    --accent-secondary: #1D1D1F; /* Almost Black */
    --border-color: #E5E5E5;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --blue-cautelar: #2563eb;
    --orange-vistoria: #ea580c;
    --success-green: #10b981;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo, .stat-val, .vehicle-name {
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 16px 30px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; text-transform: uppercase; color: var(--accent-secondary); }
.logo span { color: var(--accent-primary); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { color: var(--text-color); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); white-space: nowrap; }
.nav-link:hover { color: var(--accent-primary); }
.btn {
    padding: 12px 28px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
    cursor: pointer; transition: var(--transition); text-decoration: none; border: none; display: inline-block;
    white-space: nowrap;
}
.btn-primary { background: var(--accent-primary); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 122, 48, 0.25); filter: brightness(1.05); }
.btn-secondary { background: white; color: var(--accent-secondary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: #f8fafc; border-color: #cbd5e1; }

/* ===== HERO SPLIT LAYOUT ===== */
.hero-section {
    padding: 100px 0 20px;
}
.hero-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 580px;
    background-image: linear-gradient(to right, rgba(29,29,31,0.88) 0%, rgba(29,29,31,0.80) 100%), url('/static/hero_bmw.png');
    background-size: cover;
    background-position: center;
}

/* LEFT PANEL */
.hero-left {
    background: transparent;
    display: flex;
    align-items: center;
}
.hero-left-inner {
    padding: 60px 50px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 30px;
    background: rgba(255,122,48,0.15); color: #FF7A30;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    margin-bottom: 22px; letter-spacing: 0.8px; border: 1px solid rgba(255,122,48,0.3);
}
h1 { font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 18px; color: #ffffff; }
h1 span { color: var(--accent-primary); }
.hero-left-inner p { font-size: 1rem; color: #d1d5db; max-width: 440px; line-height: 1.6; font-weight: 400; margin-bottom: 32px;}
.hero-left-inner strong { color: #fff; }

/* SEARCH (inside hero) */
.search-wrap { max-width: 480px; }
.search-glass {
    background: rgba(255,255,255,0.97);
    border: none;
    border-radius: 100px; padding: 6px 6px 6px 20px; display: flex; align-items: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2); transition: var(--transition);
}
.search-glass:focus-within { box-shadow: 0 8px 30px rgba(255, 122, 48, 0.25); }
.search-icon { color: var(--accent-primary); font-size: 1.1rem; margin-right: 12px; }
.search-glass input { background: transparent; border: none; color: #1D1D1F; font-size: 0.95rem; flex: 1; outline: none; padding: 10px 0; font-family: 'Poppins', sans-serif; font-weight: 500;}
.search-glass input::placeholder { color: #9ca3af; font-weight: 400; }
.btn-search { background: var(--accent-primary); color: white; border-radius: 100px; font-weight: 700; padding: 10px 22px; font-size: 0.88rem; cursor: pointer; transition: var(--transition); border: none; white-space: nowrap; }
.btn-search:hover { filter: brightness(1.1); box-shadow: 0 4px 14px rgba(255,122,48,0.35); }

.search-info { margin-top: 8px; margin-left: 16px; font-size: 0.78rem; font-weight: 500; }
.alert-hidden { opacity: 0; pointer-events: none; }
.alert-visible { opacity: 1; }
.alert-visible.error { color: #fca5a5; }

/* HERO STATS */
.hero-stats {
    display: flex; align-items: center; gap: 24px;
    margin-top: 28px;
}
.hero-stat { text-align: left; }
.hero-stat-val { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -1px; font-family: 'Poppins', sans-serif; }
.hero-stat-lbl { display: block; font-size: 0.7rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-top: 4px; }
.hero-stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* RIGHT PANEL: Featured — inside the dark hero box */
.hero-right {
    background: transparent;
    padding: 36px 28px 36px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.featured-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
}
.featured-label {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: #FF7A30;
    display: flex; align-items: center; gap: 6px;
}
.featured-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow: hidden;
    justify-content: center;
}
/* Dark glass cards inside the hero */
.card.featured-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: none;
}
.card.featured-card:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-2px);
    box-shadow: none;
}
.featured-card .car-img { height: 90px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.08); }
.featured-card .card-body { padding: 10px 14px 8px; }
.featured-card .card-footer { padding: 8px 14px 12px; background: transparent; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center;}
.featured-card .vehicle-name { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.featured-card .vehicle-specs { font-size: 0.72rem; color: #9ca3af; display: flex; gap: 5px; align-items: center; }
.featured-card .card-metrics { display: flex; justify-content: space-between; font-size: 0.68rem; color: #9ca3af; margin-bottom: 6px; font-weight: 500; }
.featured-card .metric.highlight { color: #34d399; }
.featured-card .plate-box { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.15); padding: 2px 7px; border-radius: 4px; font-size: 0.72rem; font-family: monospace; font-weight: 700; }
.featured-card .price-lbl { display: block; font-size: 0.58rem; color: #9ca3af; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 2px; }
.featured-card .price-val { font-size: 0.92rem; font-weight: 800; color: #fff; }
.featured-card .btn-primary { background: var(--accent-primary); color: white; padding: 6px 12px; font-size: 0.72rem; border-radius: 8px; font-weight: 700; border: none; cursor: pointer; transition: var(--transition); }
.featured-card .btn-primary:hover { filter: brightness(1.1); }
.featured-card .badge-blue { background: rgba(37,99,235,0.25); color: #93c5fd; border: 1px solid rgba(37,99,235,0.3); }
.featured-card .badge-orange { background: rgba(234,88,12,0.25); color: #fdba74; border: 1px solid rgba(234,88,12,0.3); }
.featured-card .badge { white-space: nowrap; padding: 4px 8px; font-size: 0.62rem; }

/* Featured badge on car image */
.featured-tag {
    position: absolute; bottom: 10px; right: 10px; z-index: 2;
    background: rgba(255,122,48,0.9); color: white; font-size: 0.62rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
    padding: 4px 10px; border-radius: 30px; backdrop-filter: blur(4px);
}
.tag-impecavel {
    background: linear-gradient(135deg, rgba(99,102,241,0.95), rgba(168,85,247,0.95));
}

/* Skeleton loader — dark theme (inside hero) */
.card-skeleton { pointer-events: none; background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 16px; overflow: hidden; }
.sk-img { height: 90px; background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.sk-body { padding: 12px 16px; }
.sk-line { height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; margin-bottom: 10px; }
.sk-line.lg { width: 70%; } .sk-line.md { width: 50%; } .sk-line.sm { width: 35%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* No featured state */
.no-featured { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.no-featured i { font-size: 2rem; margin-bottom: 10px; opacity: 0.4; display: block; }
.no-featured p { font-size: 0.9rem; }

/* Results Section */
.results-section { padding: 30px 0 50px; }
.section-title { margin-bottom: 20px; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; }
.section-title h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; color: var(--accent-secondary); }
.section-title p { color: var(--text-muted); font-size: 0.95rem; max-width: 600px;}
.section-filters .btn-secondary { padding: 10px 20px; font-size: 0.9rem; font-weight: 600; border-radius: 12px;}

.loading-state { text-align: center; padding: 60px; color: var(--text-muted); font-size: 1.1rem; font-weight: 500; }

/* Grid & Cards */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d1d5db; }

.card-header { padding: 24px 24px 16px; border-bottom: 1px solid #f3f4f6; }

.car-img {
    height: 220px;
    background-color: #f3f4f6;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}
.car-img::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}
.car-img .card-badges { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 8px; }

.badge { padding: 6px 12px; border-radius: 6px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-blue { background: #eff6ff; color: var(--blue-cautelar); border: 1px solid #bfdbfe; }
.badge-orange { background: #fff7ed; color: var(--orange-vistoria); border: 1px solid #fed7aa; }
.card-metrics { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.metric.highlight { color: var(--success-green); }

.card-body { padding: 20px 24px; }
.vehicle-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; color: var(--accent-secondary); }
.vehicle-specs { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.dot { font-size: 0.5rem; opacity: 0.4; }
.plate-box { background: #f3f4f6; padding: 4px 10px; border-radius: 6px; font-family: 'Courier New', Courier, monospace; font-size: 0.95rem; font-weight: bold; color: var(--accent-secondary); border: 1px solid #e5e7eb; }

.card-footer { padding: 20px 24px; background: #fafafa; border-top: 1px solid #f3f4f6; display: flex; justify-content: space-between; align-items: center; }
.price-lbl { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; font-weight: 800; margin-bottom: 4px; letter-spacing: 0.5px; }
.price-val { font-size: 1.5rem; font-weight: 900; color: var(--accent-secondary); }
.btn-buy { padding: 10px 18px; font-size: 0.85rem; background: white; color: var(--accent-secondary); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.btn-buy:hover { background: #f9fafb; border-color: #d1d5db; }

/* CTA Box */
.cta-box {
    background: white; border: 1px solid var(--border-color);
    border-radius: 24px; padding: 50px; text-align: center;
    max-width: 700px; margin: 40px auto 0; box-shadow: var(--shadow-md);
}
.cta-box.hidden { display: none; }
.cta-icon { font-size: 3rem; color: #d1d5db; margin-bottom: 24px; }
.cta-box h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; color: var(--accent-secondary); }
.cta-box p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; line-height: 1.6;}
.cta-actions { display: flex; justify-content: center; gap: 15px; margin-top: 32px; flex-wrap: wrap;}

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 40px 0 20px; background: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand p { color: var(--text-muted); margin-top: 15px; max-width: 320px; font-weight: 500;}
.footer-links h4, .footer-legal h4 { font-size: 1rem; font-weight: 800; margin-bottom: 24px; text-transform: uppercase; color: var(--accent-secondary); letter-spacing: 0.5px;}
.footer-links a, .footer-legal a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; transition: var(--transition); font-weight: 500;}
.footer-links a:hover, .footer-legal a:hover { color: var(--accent-primary); }
.fee-notice { margin-top: 24px; padding: 16px; background: #f9fafb; border-radius: 12px; border: 1px solid #e5e7eb; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;}
.footer-bottom { text-align: center; color: #9ca3af; font-size: 0.85rem; padding-top: 15px; border-top: 1px solid #f3f4f6; font-weight: 500;}

/* ===== PAGE HERO (shared across inner pages) ===== */
.page-hero {
    padding: 130px 0 50px;
    background: linear-gradient(135deg, rgba(29,29,31,0.96) 0%, rgba(29,29,31,0.88) 100%), url('/static/hero_bmw.png');
    background-size: cover; background-position: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.page-hero h1 span { color: var(--accent-primary); }
.page-hero p { color: #9ca3af; font-size: 1rem; max-width: 520px; line-height: 1.6; }
.page-hero .hero-badge { margin-bottom: 16px; }

/* ===== AUTH / LOGIN ===== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-color); padding: 100px 20px 40px; }
.auth-card { background: white; border-radius: 24px; padding: 48px; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; border: 1px solid var(--border-color); }
.auth-logo { font-size: 1.5rem; font-weight: 800; color: var(--accent-secondary); margin-bottom: 8px; display: block; letter-spacing: -1px; text-transform: uppercase; }
.auth-logo span { color: var(--accent-primary); }
.auth-title { font-size: 1.4rem; font-weight: 800; color: var(--accent-secondary); margin-bottom: 6px; }
.auth-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.auth-footer { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 0.88rem; }
.auth-footer a { color: var(--accent-primary); font-weight: 600; text-decoration: none; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }

/* ===== FORM ELEMENTS (shared) ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--text-color); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 12px;
    font-size: 0.95rem; font-family: 'Poppins', sans-serif; color: var(--text-color);
    background: #fafafa; transition: var(--transition); outline: none; box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent-primary); background: white; box-shadow: 0 0 0 3px rgba(255,122,48,0.1); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2386868B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 5px; }
.btn-block { width: 100%; text-align: center; padding: 14px; font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.col-full { grid-column: 1 / -1; }
.form-row { display: flex; gap: 12px; align-items: center; }

/* ===== VENDER PAGE ===== */
.vender-section { padding: 40px 0 60px; }
.form-card { background: white; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 20px; }
.form-card-title { font-size: 1rem; font-weight: 800; color: var(--accent-secondary); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.step-num { background: var(--accent-primary); color: white; width: 26px; height: 26px; border-radius: 50%; font-size: 0.75rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.type-toggle { display: flex; gap: 12px; }
.type-btn { flex: 1; padding: 14px; border: 2px solid var(--border-color); border-radius: 12px; background: white; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.type-btn.active, .type-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: rgba(255,122,48,0.04); }
.price-preview { background: linear-gradient(135deg, #1D1D1F, #2a2a2c); border-radius: 16px; padding: 24px; }
.price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 0.9rem; }
.price-row:last-child { border-bottom: none; padding-top: 14px; }
.price-row .lbl { color: #9ca3af; }
.price-row .val { color: white; font-weight: 700; }
.price-row.total .val { color: var(--accent-primary); font-size: 1.2rem; }
.upload-zone { border: 2px dashed var(--border-color); border-radius: 16px; padding: 40px 24px; text-align: center; cursor: pointer; transition: var(--transition); background: #fafafa; }
.upload-zone:hover { border-color: var(--accent-primary); background: rgba(255,122,48,0.02); }
.upload-zone i { font-size: 2.2rem; color: var(--text-muted); margin-bottom: 12px; display: block; }
.upload-zone p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.upload-zone strong { color: var(--accent-primary); }
.vender-sidebar { position: sticky; top: 90px; }
.info-box { background: white; border-radius: 16px; padding: 24px; border: 1px solid var(--border-color); margin-bottom: 16px; }
.info-box h4 { font-size: 0.9rem; font-weight: 800; color: var(--accent-secondary); margin-bottom: 14px; }
.info-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: var(--text-muted); }
.info-item i { color: var(--accent-primary); margin-top: 2px; flex-shrink: 0; }
.vender-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }

/* ===== DIRETÓRIO PAGE ===== */
.directory-section { padding: 40px 0 60px; }
.directory-search { background: white; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.company-card { background: white; border-radius: 16px; padding: 24px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); }
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d1d5db; }
.company-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.company-name { font-size: 1rem; font-weight: 800; color: var(--accent-secondary); line-height: 1.3; }
.company-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 30px; white-space: nowrap; flex-shrink: 0; }
.badge-empresa { background: #eff6ff; color: var(--blue-cautelar); border: 1px solid #bfdbfe; }
.badge-autonomo { background: #fff7ed; color: var(--orange-vistoria); border: 1px solid #fed7aa; }
.company-info { display: flex; flex-direction: column; gap: 7px; font-size: 0.85rem; color: var(--text-muted); }
.company-info-row { display: flex; align-items: center; gap: 8px; }
.company-info-row i { width: 14px; color: var(--accent-primary); font-size: 0.8rem; }
.company-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color); display: flex; gap: 8px; }

/* ===== COMPRAR / SEARCH PAGE ===== */
.comprar-search-box { background: white; border-radius: 20px; padding: 28px 32px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); margin-bottom: 36px; }
.comprar-search-box .search-glass { max-width: 600px; background: var(--bg-color); border: 1px solid var(--border-color); box-shadow: none; }
.comprar-search-box .search-glass:focus-within { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(255,122,48,0.1); }
.comprar-search-box .search-glass input { color: var(--text-color); }
.comprar-search-box .search-icon { color: var(--accent-primary); }
.filter-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.filter-chip { padding: 7px 16px; border-radius: 30px; border: 1px solid var(--border-color); background: white; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--text-muted); font-family: 'Poppins', sans-serif; white-space: nowrap; }
.filter-chip:hover, .filter-chip.active { border-color: var(--accent-primary); color: var(--accent-primary); background: rgba(255,122,48,0.05); }

/* ===== REPORT DETAIL PAGE ===== */
.report-detail-section { padding: 40px 0 60px; }
.report-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.report-main-img { width: 100%; border-radius: 20px; height: 360px; background-size: cover; background-position: center; background-color: #f3f4f6; position: relative; overflow: hidden; }
.report-main-img::after { content:''; position:absolute; inset:0; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%); }
.report-badges-top { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; gap: 8px; }
.report-title { font-size: 1.8rem; font-weight: 800; color: var(--accent-secondary); margin: 20px 0 6px; }
.report-specs-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); flex-wrap: wrap; margin-bottom: 20px; }
.report-feature-list { margin-top: 20px; }
.report-feature { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f3f4f6; font-size: 0.9rem; color: var(--text-muted); }
.report-feature:last-child { border-bottom: none; }
.report-feature i { color: var(--accent-primary); width: 16px; }
.report-feature .ok { color: var(--success-green); }
.purchase-box { background: white; border-radius: 20px; padding: 28px; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); position: sticky; top: 90px; }
.purchase-box h3 { font-size: 1rem; font-weight: 800; color: var(--accent-secondary); margin-bottom: 20px; }
.purchase-price-lbl { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; font-weight: 800; letter-spacing: 0.5px; }
.purchase-price-val { font-size: 2.2rem; font-weight: 900; color: var(--accent-secondary); margin: 4px 0 20px; letter-spacing: -1px; }
.purchase-features { margin-bottom: 24px; }
.purchase-feature { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid #f9fafb; }
.purchase-feature:last-child { border-bottom: none; }
.purchase-feature i { color: var(--success-green); }
.blur-preview { border-radius: 12px; overflow: hidden; margin-bottom: 20px; position: relative; }
.blur-preview img { width: 100%; display: block; filter: blur(10px); transform: scale(1.08); opacity: 0.6; }
.blur-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(29,29,31,0.5); }
.blur-overlay i { font-size: 2rem; color: white; margin-bottom: 8px; }
.blur-overlay p { color: white; font-size: 0.82rem; font-weight: 600; text-align: center; margin: 0; padding: 0 12px; }

/* ===== PROSE (privacidade / termos) ===== */
.prose-section { padding: 50px 0 60px; }
.prose-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.prose-nav { position: sticky; top: 90px; background: white; border-radius: 16px; padding: 20px; border: 1px solid var(--border-color); }
.prose-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: var(--transition); margin-bottom: 2px; }
.prose-nav a:hover, .prose-nav a.active { color: var(--accent-primary); background: rgba(255,122,48,0.06); }
.prose-body h2 { font-size: 1.2rem; font-weight: 800; color: var(--accent-secondary); margin: 36px 0 12px; padding-top: 12px; border-top: 1px solid var(--border-color); }
.prose-body h2:first-child { margin-top: 0; border-top: none; }
.prose-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem; }
.prose-body ul { padding-left: 20px; color: var(--text-muted); line-height: 2; font-size: 0.95rem; margin-bottom: 14px; }
.prose-body li { margin-bottom: 4px; }

/* ===== RESPONSIVE (inner pages) ===== */
@media (max-width: 900px) {
    .vender-layout { grid-template-columns: 1fr; }
    .vender-sidebar { position: static; }
    .company-grid { grid-template-columns: 1fr 1fr; }
    .report-layout { grid-template-columns: 1fr; }
    .purchase-box { position: static; }
    .prose-layout { grid-template-columns: 1fr; }
    .prose-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .company-grid { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr; }
    .type-toggle { flex-direction: column; }
    .page-hero { padding: 140px 0 40px; }
}

/* Utils */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
@keyframes animateIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: animateIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }

/* ===== RESPONSIVE ===== */

/* Nav short/full text switching */
.nav-short { display: none; }
.nav-full { display: inline; }

@media (max-width: 900px) {
    /* Navbar */
    .nav-short { display: inline; }
    .nav-full { display: none; }
    .nav-hide-sm { display: none; }
    .nav-links { gap: 18px; }
    .btn { padding: 10px 18px; }

    /* Hero */
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-left-inner {
        padding: 50px 30px 40px;
    }
    .hero-right {
        padding: 0 24px 40px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    /* Cards: 2 colunas lado a lado, sem scroll horizontal */
    .featured-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        flex: none;
        overflow: visible;
        justify-content: unset;
    }
    .card.featured-card {
        min-width: unset;
        flex-shrink: unset;
    }
    .hero-stats { gap: 18px; }
}

@media (max-width: 900px) {
    .car-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; width: 100%; box-sizing: border-box; overflow-x: hidden; }
    .hero-section { padding: 115px 0 20px; }
    .vender-section, .directory-section, .report-detail-section, .prose-section, .dashboard-section { padding-top: 110px; }
    .hero-split { overflow: hidden; width: 100%; border-radius: 16px; }
    .hero-left-inner { padding: 30px 20px 24px; }
    .hero-right { padding: 0 20px 24px; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; box-sizing: border-box; overflow: hidden; }
    h1 { font-size: 1.6rem; word-break: break-word; }
    .hero-stat-val { font-size: 1.4rem; }
    .nav-links { gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
    .nav-container { flex-direction: column; gap: 8px; padding: 10px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .car-grid { grid-template-columns: 1fr; gap: 16px; }
    .featured-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; overflow: hidden; width: 100%; }
    .search-wrap { border-radius: 100px; width: 100%; max-width: 100%; margin: 0 auto; box-sizing: border-box; }
    .search-glass { flex-direction: column; border-radius: 16px; padding: 12px; width: 100%; box-sizing: border-box; }
    .search-glass input { text-align: center; margin-bottom: 8px; width: 100%; box-sizing: border-box; }
    .btn-search { width: 100%; border-radius: 10px; }
    .hero-stats { flex-wrap: wrap; gap: 12px; justify-content: center; }
    .hero-stat-sep { display: none; }
    .hero-stat { flex: 1; min-width: 40%; text-align: center; }
}
