/*
Theme Name: VôCar Theme
Theme URI: https://vocar.com.br
Author: Equipe VôCar
Description: Tema exclusivo VôCar (Versão 15.0 - Analytics & Comparador Inteligente)
Version: 15.0
*/

/* --- 1. VARIÁVEIS & DESIGN SYSTEM --- */
:root {
    /* Cores da Marca */
    --accent: #2ECC71;
    --accent-hover: #27ae60;
    
    /* Paleta Premium (Slate) */
    --primary-dark: #0F172A;    /* Preto Azulado (Mais moderno) */
    --primary-grey: #334155;    /* Cinza Escuro */
    --text-main: #334155;       /* Texto Corpo */
    --text-light: #64748B;      /* Texto Suave */
    
    /* Fundos */
    --bg-page: #F1F5F9;         /* Fundo da Página */
    --bg-card: #FFFFFF;         /* Branco */
    --bg-input: #F8FAFC;        /* Input */
    --border-color: #E2E8F0;    /* Bordas Sutis */
    
    /* Acabamento */
    --white: #ffffff;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
body { background-color: var(--bg-page); font-family: var(--font-body); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-dark); font-weight: 700; letter-spacing: -0.025em; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* --- 2. COMPONENTES GLOBAIS --- */
.logo-header { height: 40px; width: auto; }
.logo-footer { height: 50px; width: auto; margin-bottom: 20px; opacity: 0.9; }
.logo-sidebar { height: 32px; width: auto; margin: 0 auto; display: block; }

/* Botões */
.btn-primary {
    background: var(--accent); color: #fff; padding: 14px 32px; border-radius: 50px;
    font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25); border: none; cursor: pointer; transition: 0.3s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(46, 204, 113, 0.35); }

.btn-secondary-outline {
    background: transparent; color: var(--primary-dark); padding: 12px 24px; border-radius: 50px;
    font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 2px solid var(--border-color); cursor: pointer; transition: 0.3s; width: 100%;
}
.btn-secondary-outline:hover { border-color: var(--primary-dark); background: var(--primary-dark); color: #fff; }

.btn-nav {
    background: var(--primary-dark); color: #fff !important; padding: 10px 24px; border-radius: 6px;
    font-weight: 600; font-size: 14px; transition: 0.3s;
}
.btn-nav:hover { background: var(--accent); box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3); }

/* --- 3. HEADER --- */
.site-header { background: var(--bg-card); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; height: 80px; display: flex; align-items: center; box-shadow: var(--shadow-sm); }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--primary-dark); }
.main-nav a:hover { color: var(--accent); }

/* --- 4. HOME PAGE & HERO (BANNER OTIMIZADO) --- */
.hero-section {
    padding: 140px 0 180px; 
    background-size: cover; background-position: center; position: relative;
    background-image: linear-gradient(rgba(15,23,42,0.4), rgba(15,23,42,0.4)); 
}
.hero-content h1 { 
    color: #fff; font-size: 56px; margin-bottom: 16px; line-height: 1.1; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.8); 
}
.hero-content p { 
    font-size: 20px; color: rgba(255,255,255,0.95); margin-bottom: 0; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.8); 
}

/* Busca Flutuante */
.relative-container { position: relative; }
.search-float-box {
    background: var(--bg-card); margin-top: -90px; padding: 32px; border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); position: relative; z-index: 10; border: 1px solid var(--border-color);
}
.search-form-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 160px; gap: 20px; align-items: end; }
.search-group label {
    display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
    color: var(--text-light); margin-bottom: 8px; letter-spacing: 0.5px;
}
.search-input, .search-select {
    width: 100%; height: 52px; padding: 0 16px; background: var(--bg-input);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    font-size: 15px; color: var(--primary-dark); font-weight: 600; transition: 0.2s;
}
.search-input:focus, .search-select:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15); }
.btn-search-hero {
    width: 100%; height: 52px; background: var(--accent); color: #fff; border: none;
    border-radius: var(--radius-md); font-weight: 700; cursor: pointer; font-size: 16px;
    display: flex; align-items: center; justify-content: center; gap: 8px; text-transform: uppercase;
}
.btn-search-hero:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3); }

/* Ícones Categorias */
.cat-icons-grid { display: flex; justify-content: center; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.cat-icon-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; cursor: pointer; }
.icon-circle {
    width: 90px; height: 90px; border-radius: 50%; border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
    background: var(--bg-card); box-shadow: var(--shadow-sm); transition: 0.3s;
}
.icon-circle img { width: 48px; height: auto; transition: 0.3s; opacity: 0.6; filter: grayscale(100%); }
.cat-icon-item span { font-weight: 700; color: var(--primary-dark); font-size: 15px; }
.cat-icon-item:hover .icon-circle { border-color: var(--accent); background: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.cat-icon-item:hover .icon-circle img { filter: brightness(0) invert(1); opacity: 1; }

/* --- 5. GRID DE VEÍCULOS --- */
.section-padding { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; margin-bottom: 10px; }
.veiculos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; width: 100%; }
.veiculo-card {
    background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border-color); transition: all 0.3s ease; box-shadow: var(--shadow-sm);
}
.veiculo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.card-img-link { display: block; position: relative; height: 240px; overflow: hidden; }
.card-img-link img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.img-hover { opacity: 0; z-index: 2; } .img-main { opacity: 1; z-index: 1; }
.veiculo-card:hover .img-hover { opacity: 1; }
.veiculo-card:hover .card-img-link img { transform: scale(1.05); }
.badge-destaque {
    position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff;
    padding: 6px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; z-index: 3;
}
.card-content { padding: 24px; }
.card-title { font-size: 20px; margin-bottom: 8px; color: var(--primary-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.card-specs { font-size: 14px; color: var(--text-light); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.card-price { font-size: 24px; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; letter-spacing: -0.5px; }
.btn-card {
    display: block; width: 100%; text-align: center; padding: 14px; border: 1px solid var(--border-color);
    color: var(--primary-dark); border-radius: var(--radius-md); font-weight: 700; transition: 0.3s; background: transparent;
}
.btn-card:hover { border-color: var(--primary-dark); background: var(--primary-dark); color: #fff; }

/* === NOVO BOTÃO DE COMPARAR (TOGGLE) === */
.compare-wrapper { display: flex; align-items: center; }
.btn-toggle-compare {
    background: transparent; color: var(--text-light); border: 1px solid var(--border-color);
    border-radius: 50px; padding: 6px 16px; font-size: 12px; font-weight: 700; cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; gap: 6px;
}
.btn-toggle-compare:hover { border-color: var(--primary-dark); color: var(--primary-dark); }
.btn-toggle-compare.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Botão Compartilhar na Single */
.btn-share {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    background-color: var(--bg-card); color: var(--text-main); font-size: 16px; font-weight: 600;
    padding: 16px; border-radius: var(--radius-md); width: 100%; transition: 0.3s; margin-top: 12px;
    border: 1px solid var(--border-color); text-decoration: none; cursor: pointer;
}
.btn-share:hover { background: #e2e8f0; color: var(--primary-dark); }

/* === BARRA DE COMPARAÇÃO FLUTUANTE === */
#barra-comparacao {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999;
    background: #fff; border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); padding: 20px 0;
    display: none; transform: translateY(100%); transition: transform 0.4s ease;
}
#barra-comparacao.visible { display: block; transform: translateY(0); }
.compare-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.compare-left { display: flex; align-items: center; gap: 20px; }
.compare-items { display: flex; gap: 12px; }
.mini-compare-item { 
    position: relative; width: 60px; height: 60px; border-radius: 8px; overflow: hidden; 
    border: 2px solid var(--border-color); background: #f1f5f9;
}
.mini-compare-item img { width: 100%; height: 100%; object-fit: cover; }
.mini-compare-item .btn-remove-compare {
    position: absolute; top: 0; right: 0; background: rgba(0,0,0,0.5); color: #fff;
    width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 12px; cursor: pointer; transition: 0.2s;
}
.mini-compare-item .btn-remove-compare:hover { background: #ef4444; }
.btn-cancelar-compare {
    background: #fef2f2; color: #ef4444; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid #fee2e2; cursor: pointer; font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.btn-cancelar-compare:hover { background: #ef4444; color: #fff; }
.btn-compare-action { 
    background: var(--primary-dark); color: #fff; border: none; padding: 12px 30px; 
    border-radius: 50px; font-weight: 700; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-compare-action:hover { background: var(--accent); }

/* === MODAL COMPARAÇÃO INTELIGENTE === */
#modal-comparacao {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.9); z-index: 10000; display: none;
    align-items: center; justify-content: center; padding: 20px;
}
.modal-content-compare {
    background: #fff; width: 100%; max-width: 1100px; max-height: 90vh;
    overflow-y: auto; border-radius: 16px; padding: 40px; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 28px; cursor: pointer; color: var(--text-light); }
.modal-title { font-size: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Tabela Otimizada */
.tabela-comparativa { width: 100%; border-collapse: separate; border-spacing: 0; }
.tabela-comparativa th { text-align: left; padding: 20px; background: #f8fafc; color: var(--text-light); font-weight: 600; width: 200px; border-bottom: 1px solid var(--border-color); }
.tabela-comparativa td { padding: 20px; text-align: center; border-bottom: 1px solid var(--border-color); vertical-align: middle; color: var(--primary-dark); }
.tabela-comparativa tr:last-child td, .tabela-comparativa tr:last-child th { border-bottom: none; }
.compare-card-header img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.compare-card-header a { font-weight: 700; color: var(--primary-dark); font-size: 15px; line-height: 1.3; display: block; }
.th-head { border-top-left-radius: 12px; }

/* --- 6. SINGLE (DETALHES) --- */
.detalhes-grid { display: grid; grid-template-columns: 60% 1fr; gap: 50px; align-items: start; }
.palco-foto-principal {
    width: 100%; height: 500px; background-color: #f1f5f9; border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color);
}
.palco-foto-principal img { width: 100%; height: 100%; object-fit: contain; }
.miniaturas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 12px; margin-bottom: 40px; }
.miniatura-item {
    height: 70px; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
    border: 2px solid transparent; opacity: 0.7; transition: 0.2s;
}
.miniatura-item img { width: 100%; height: 100%; object-fit: cover; }
.miniatura-item.ativa, .miniatura-item:hover { border-color: var(--accent); opacity: 1; }
.card-flutuante {
    background: var(--bg-card); padding: 32px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); border: 1px solid var(--border-color); position: sticky; top: 120px;
}
.titulo-detalhe { font-size: 32px; line-height: 1.1; margin-bottom: 10px; color: var(--primary-dark); }
.preco-detalhe { font-size: 40px; color: var(--accent); font-weight: 800; letter-spacing: -1px; }
.divisor { height: 1px; background: var(--border-color); margin: 24px 0; }
.lista-especificacoes li {
    display: flex; justify-content: space-between; padding: 14px 0;
    border-bottom: 1px dashed var(--border-color); font-size: 15px; color: var(--text-light);
}
.lista-especificacoes li strong { color: var(--primary-dark); font-weight: 600; }
.btn-whatsapp-full {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    background-color: #25D366; color: white; font-size: 18px; font-weight: 700; padding: 18px;
    border-radius: var(--radius-md); width: 100%; transition: 0.3s; margin-top: 24px; text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp-full:hover { background-color: #1ebc57; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
.btn-simular {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    background-color: var(--bg-input); color: var(--text-main); font-size: 16px; font-weight: 600;
    padding: 16px; border-radius: var(--radius-md); width: 100%; transition: 0.3s; margin-top: 12px;
    border: 1px solid var(--border-color); text-decoration: none;
}
.btn-simular:hover { background: #e2e8f0; color: var(--primary-dark); }

/* --- 7. ESTOQUE (FILTROS LATERAL & BANNER FIX) --- */
.page-header-estoque { 
    background-color: var(--primary-dark); color: #fff; padding: 80px 0; text-align: center; margin-bottom: 60px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    background-size: cover; background-position: center; min-height: 250px;
    display: flex; flex-direction: column; justify-content: center;
}
.layout-estoque { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; }

.sidebar-filtros { position: sticky; top: 100px; z-index: 80; }
.card-filtro {
    background: var(--bg-card); padding: 25px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); border: 1px solid var(--border-color);
}
.header-filtro { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.header-filtro h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.limpar-topo { color: #ef4444; font-size: 12px; font-weight: 700; text-transform: uppercase; }

.grupo-filtro { margin-bottom: 25px; }
.grupo-filtro label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 13px; color: var(--text-light); text-transform: uppercase; }
.grupo-filtro select, .custom-input-search { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; background-color: var(--bg-input); font-size: 15px; color: var(--primary-dark); font-weight: 600; }
.custom-input-search:focus, .grupo-filtro select:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1); }

/* Sliders */
html body .noUi-target { height: 5px !important; border: none !important; background: #e2e8f0 !important; box-shadow: none !important; }
html body .noUi-connect { background: var(--accent) !important; }
html body .noUi-horizontal .noUi-handle {
    width: 20px !important; height: 20px !important; right: -10px !important; top: -8px !important;
    border-radius: 50% !important; background: #fff !important; border: 2px solid var(--accent) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; cursor: grab;
}
html body .noUi-handle::before, html body .noUi-handle::after { display: none !important; }
.btn-filtrar { display: none; }
.valores-slider { margin-top: 12px; color: var(--primary-dark); font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; }
.sem-resultados { text-align: center; padding: 60px; background: var(--white); border: 1px dashed #ccc; color: #7f8c8d; border-radius: 12px; }

/* Elementos Mobile (Escondidos no Desktop) */
.mobile-filter-trigger { display: none; margin-bottom: 20px; }
.filtros-mobile-header { display: none; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.filtros-mobile-header h3 { font-size: 20px; margin: 0; }
#btn-close-filtros { font-size: 28px; cursor: pointer; color: var(--text-light); }
.btn-filtrar-mobile { display: none; }

/* --- 8. PAINEL ADMINISTRATIVO --- */
.painel-wrapper { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 40px 20px; max-width: 1300px; margin: 0 auto; min-height: 90vh; }
.sidebar-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px 20px; box-shadow: var(--shadow-card); border: 1px solid var(--border-color); position: sticky; top: 100px; height: fit-content; }
.user-profile { text-align: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); }
.user-name { display: block; font-weight: 700; color: var(--primary-dark); font-size: 16px; }
.user-role { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-top: 4px; display: block; }
.nav-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 8px; color: var(--text-light); font-weight: 600; margin-bottom: 6px; transition: 0.2s; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { background: var(--bg-input); color: var(--accent); }
.nav-links a.logout { color: #ef4444; border-top: 1px solid var(--border-color); margin-top: 24px; padding-top: 24px; border-radius: 0; }
.nav-links a.logout:hover { background: transparent; color: #dc2626; }
.kpi-card { background: var(--bg-card); padding: 24px; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.kpi-value { font-size: 32px; font-weight: 800; color: var(--primary-dark); }
.tabela-estoque-wrapper { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: var(--shadow-sm); }
.tabela-estoque { width: 100%; border-collapse: collapse; }
.tabela-estoque th { background: var(--bg-input); color: var(--text-light); font-weight: 700; font-size: 12px; text-transform: uppercase; padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--border-color); }
.tabela-estoque td { padding: 16px 24px; border-bottom: 1px solid var(--border-color); color: var(--primary-dark); vertical-align: middle; }
.btn-icon { display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--bg-input); color: var(--text-light); margin-right: 8px; transition: 0.2s; }
.btn-icon:hover { background: #e2e8f0; color: var(--primary-dark); }
.form-container { background: var(--bg-card); border-radius: 16px; box-shadow: var(--shadow-card); border: 1px solid var(--border-color); overflow: hidden; margin-bottom: 40px; }
.form-section { padding: 40px; border-bottom: 1px solid var(--border-color); }
.form-section:last-child { border-bottom: none; }
.section-title { font-size: 18px; color: var(--primary-dark); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.section-indicator { width: 4px; height: 24px; background: var(--accent); border-radius: 4px; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.full-width { grid-column: span 2; }
.input-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.custom-input, .custom-select, .custom-textarea { width: 100%; padding: 14px 16px; background-color: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 15px; color: var(--primary-dark); font-weight: 500; transition: 0.2s; font-family: var(--font-body); }
.custom-input:focus, .custom-select:focus, .custom-textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1); }
.custom-textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; gap: 16px; padding: 24px 40px; background: var(--bg-input); border-top: 1px solid var(--border-color); border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; margin-top: -1px; }
.btn-save { padding: 14px 32px; border: none; background: var(--primary-dark); border-radius: 8px; font-weight: 700; color: #fff; cursor: pointer; transition: 0.3s; font-size: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.btn-save:hover { background: var(--accent); transform: translateY(-2px); }
.btn-cancel { padding: 14px 24px; border: 1px solid var(--border-color); background: #fff; border-radius: 8px; font-weight: 600; color: var(--text-light); text-decoration: none; display: inline-block; }
.upload-zone { border: 2px dashed #cbd5e0; border-radius: var(--radius-md); background-color: #f8fafc; padding: 40px; text-align: center; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.upload-zone:hover { border-color: var(--accent); background-color: #f0fdf4; }
.photo-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.photo-card { position: relative; aspect-ratio: 1; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.btn-remove-photo { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; background: rgba(255,255,255,0.9); color: #ef4444; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid #fff; font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.btn-remove-photo:hover { background: #ef4444; color: #fff; }
div[data-name*="foto"] { display: inline-block; width: 23%; margin-right: 2%; margin-bottom: 20px; vertical-align: top; clear: none !important; }
div[data-name*="foto"]:nth-of-type(4n) { margin-right: 0; }
.acf-form-hidden, .acf-field-image { display: none !important; }
.color-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.color-picker-wrapper { display: flex; align-items: center; gap: 15px; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-input); }
.color-picker-input { width: 40px; height: 40px; border: none; background: none; cursor: pointer; border-radius: 50%; overflow: hidden; padding: 0; }
.banner-preview-area { width: 100%; height: 200px; background-color: #f3f4f6; border: 2px dashed var(--border-color); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-light); cursor: pointer; background-size: cover; background-position: center; }
.banner-preview-area.has-image { border-style: solid; border-color: var(--accent); }
.site-footer { background: var(--primary-dark); color: #888; padding: 80px 0 0; margin-top: 80px; }
.footer-bottom { background: #000; padding: 24px 0; text-align: center; font-size: 13px; border-top: 1px solid #222; }
.badge-vendido { position: absolute; top: 16px; left: 16px; background: #dc2626; color: #fff; padding: 6px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; z-index: 5; box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4); }
.card-vendido { opacity: 0.9; }
.card-vendido .card-price { color: #64748b; }
.palco-foto-principal.img-vendida { position: relative; }
.overlay-vendido { position: absolute; top: 20px; left: 20px; background: rgba(220, 38, 38, 0.95); color: #fff; padding: 8px 20px; font-size: 14px; font-weight: 800; text-transform: uppercase; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); pointer-events: none; z-index: 10; }
.preco-detalhe.preco-vendido { color: #64748b; text-decoration: none; }
.veiculo-header-mobile { display: none; }
.section-depoimentos { background: var(--white); }
.depoimentos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-depoimento { background: var(--bg-input); padding: 30px; border-radius: 16px; border: 1px solid var(--border-color); }
.card-depoimento p { font-style: italic; color: var(--text-light); margin-bottom: 20px; }
.cliente-info { display: flex; align-items: center; gap: 12px; }
.avatar-cliente { width: 50px; height: 50px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 18px; }
.section-cta-venda { background: var(--primary-dark); color: #fff; text-align: center; border-radius: 24px; padding: 60px 20px; margin: 80px 0; position: relative; overflow: hidden; }
.section-cta-venda h2 { color: #fff; font-size: 36px; margin-bottom: 15px; }
.section-cta-venda p { font-size: 18px; color: #cbd5e1; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-cta-white { background: #fff; color: var(--primary-dark); padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 16px; display: inline-block; transition: 0.3s; }
.btn-cta-white:hover { background: var(--accent); color: #fff; }

/* --- 11. MEDIA QUERIES (OTIMIZAÇÃO MOBILE TOTAL) --- */
@media (max-width: 900px) {
    .desktop-only { display: none !important; } /* Esconde Comparador no Mobile */
    
    /* Layout Geral */
    .container { padding: 0 20px; }
    .painel-wrapper { grid-template-columns: 1fr; padding: 20px; }
    
    /* Header & Hero */
    .site-header { height: 70px; }
    .logo-header { height: 32px; }
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 16px; }
    .search-float-box { margin-top: -40px; padding: 20px; }
    .search-form-grid { grid-template-columns: 1fr; gap: 15px; }
    .btn-search-hero { width: 100%; margin-top: 10px; }

    /* --- FILTROS MOBILE (GAVETA) --- */
    .mobile-filter-trigger { display: block; }
    .layout-estoque { grid-template-columns: 1fr; gap: 30px; }
    
    .sidebar-filtros {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: #fff; z-index: 2000; padding: 20px;
        overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease;
        box-shadow: none; margin: 0; border-radius: 0;
    }
    .sidebar-filtros.open { transform: translateX(0); }
    
    .card-filtro { box-shadow: none; border: none; padding: 0; }
    .filtros-mobile-header { display: flex; }
    .btn-filtrar-mobile { 
        display: block; width: 100%; padding: 15px; background: var(--accent); 
        color: #fff; border: none; border-radius: 8px; font-weight: bold; font-size: 16px; margin-top: 20px;
    }

    /* Grid */
    .veiculos-grid { grid-template-columns: 1fr; gap: 24px; }
    
    /* Single Page */
    .detalhes-grid { grid-template-columns: 1fr; gap: 30px; }
    .palco-foto-principal { height: 250px; }
    .card-flutuante { position: relative; top: 0; padding: 24px; }
    .veiculo-header-mobile { display: block; margin-bottom: 20px; }
    .veiculo-header-mobile h1 { font-size: 24px; line-height: 1.2; }
    .titulo-detalhe.desktop-only { display: none; }
    .badge-vendido-single { display: inline-block; background: #dc2626; color: #fff; padding: 4px 10px; font-size: 10px; font-weight: 800; border-radius: 4px; margin-top: 5px; }
    .overlay-vendido { top: 10px; left: 10px; font-size: 12px; padding: 6px 14px; }

    /* Painel Mobile */
    .input-grid, .photo-preview-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .form-actions { flex-direction: column-reverse; }
    .btn-save, .btn-cancel { width: 100%; justify-content: center; height: 50px; }
    
    /* Menu Mobile */
    .mobile-toggle { display: flex; cursor: pointer; flex-direction: column; gap: 5px; }
    .mobile-toggle span { width: 25px; height: 3px; background-color: var(--primary-dark); }
    .main-nav { 
        position: fixed; top: 0; right: -100%; width: 85%; max-width: 300px; 
        height: 100vh; background: var(--white); box-shadow: -5px 0 15px rgba(0,0,0,0.1); 
        padding: 80px 30px; transition: 0.3s ease-in-out; z-index: 1000; 
        display: flex; flex-direction: column;
    }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }
    .main-nav a { font-size: 18px; display: block; width: 100%; padding: 10px 0; border-bottom: 1px solid #eee; }
    .site-header.menu-aberto .main-nav { right: 0; }
    
    /* Fix Upload Mobile */
    div[data-name*="foto"] { width: 48%; margin-right: 4%; margin-bottom: 10px; }
    div[data-name*="foto"]:nth-of-type(2n) { margin-right: 0; }
}

/* Bloqueio de Scroll quando menu aberto */
body.no-scroll { overflow: hidden; }

/* ==================================================
12. FOOTER PREMIUM (V17.0)
================================================== 
*/
.site-footer-premium {
    background-color: var(--primary-dark); /* Cor base escura */
    color: #cbd5e1; /* Texto cinza claro suave */
    padding: 80px 0 0;
    margin-top: 80px;
    font-size: 14px;
    border-top: 1px solid #1e293b; /* Borda sutil no topo */
}

.footer-grid-premium {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}

/* Coluna 1: Marca */
.logo-footer-premium {
    height: 45px;
    width: auto;
    margin-bottom: 25px;
}
.footer-desc {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 350px;
}
.footer-social-premium {
    display: flex;
    gap: 12px;
}
.footer-social-premium a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e293b; /* Fundo do ícone */
    border-radius: 50%;
    color: #fff;
    transition: 0.3s all ease;
    border: 1px solid #334155;
}
.footer-social-premium a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Widgets e Títulos */
.widget-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}
.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent); /* Verde da marca */
    border-radius: 2px;
}

/* Coluna 2: Links */
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}
.footer-links a span.dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
}
.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}
.footer-links a:hover span.dashicons {
    opacity: 1;
}

/* Coluna 3: Contato */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-contact-list .icon-box {
    color: var(--accent);
    font-size: 20px;
    margin-top: 2px;
}
.footer-contact-list .info-box {
    display: flex;
    flex-direction: column;
}
.footer-contact-list .label {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.footer-contact-list .value-text,
.footer-contact-list .value-link {
    color: #e2e8f0;
    font-weight: 500;
    line-height: 1.4;
}
.footer-contact-list .value-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Copyright Bar */
.footer-copyright {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    font-size: 12px;
    color: #64748b;
}
.copyright-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}
.legal-links .dot {
    width: 4px;
    height: 4px;
    background: #475569;
    border-radius: 50%;
}

/* Responsividade do Footer */
@media (max-width: 900px) {
    .footer-grid-premium {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
        gap: 40px;
        text-align: center;
    }
    .footer-desc {
        margin: 0 auto 30px; /* Centralizar texto */
    }
    .footer-social-premium {
        justify-content: center;
    }
    .widget-title {
        display: inline-block; /* Para o sublinhado funcionar centralizado */
    }
    .title-underline {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links a {
        justify-content: center; /* Centralizar links */
    }
    .footer-contact-list li {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .copyright-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==================================================
   13. HEADER & HERO DARK PREMIUM (V17.2 - Fix Layout)
   ================================================== */
:root {
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-900: #064e3b;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* --- HEADER TRANSPARENTE --- */
.site-header-premium {
    position: absolute;
    top: 0; left: 0; width: 100%; z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
    background: transparent;
    transition: 0.3s;
}
.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 30px; /* FIX: Adicionado GAP para evitar colisão */
}

/* Logo Fix */
.logo { flex-shrink: 0; } /* FIX: Impede a logo de ser esmagada */
.logo-box { display: block; text-decoration: none; }
.img-logo-fix { 
    height: 40px; 
    width: auto; 
    display: block; 
    max-width: 180px; /* FIX: Limita largura para não empurrar o menu */
}

/* Menu Desktop */
.nav-premium { flex-grow: 1; } /* Ocupa o espaço central */
.nav-premium ul { 
    display: flex; 
    gap: 25px; /* Espaço entre links */
    margin: 0; 
    justify-content: center; /* Centraliza o menu na tela */
    list-style: none; /* Garante que não tenha bolinhas */
}
.nav-premium a { 
    color: #e5e7eb; /* Cor mais clara para contraste */
    font-size: 14px; 
    font-weight: 500; 
    transition: 0.2s; 
    text-decoration: none;
    white-space: nowrap; /* FIX: Impede quebra de linha no texto */
}
.nav-premium a:hover { color: var(--emerald-500); }

/* Ações Header */
.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    flex-shrink: 0; /* Impede botões de sumirem */
}
.btn-lock { color: #9ca3af; font-size: 18px; transition: 0.2s; }
.btn-lock:hover { color: #fff; }
.btn-whatsapp-premium {
    background: var(--emerald-600); color: #fff !important; padding: 8px 20px;
    border-radius: 50px; font-size: 13px; font-weight: 600;
    display: flex; align-items: center; gap: 8px; text-decoration: none;
    border: 1px solid rgba(16, 185, 129, 0.5); box-shadow: 0 4px 15px rgba(6, 78, 59, 0.4);
}
.btn-whatsapp-premium:hover { background: var(--emerald-500); transform: translateY(-2px); }

/* --- HERO SECTION DARK (COMPACTADO) --- */
.hero-premium {
    position: relative;
    min-height: 600px; /* Altura fixa mínima */
    height: 75vh; 
    display: flex; align-items: center;
    background-size: cover; background-position: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(17,24,39,0.80) 100%);
    z-index: 1;
}
.hero-container { position: relative; z-index: 2; padding-top: 40px; }

.badge-hero {
    display: inline-flex; align-items: center; padding: 5px 12px;
    background: rgba(6, 78, 59, 0.4); border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px; color: #34d399; font-size: 11px; font-weight: 600;
    text-transform: uppercase; margin-bottom: 15px;
}
.dot-pulse {
    width: 6px; height: 6px; background: var(--emerald-500);
    border-radius: 50%; margin-right: 8px; animation: pulse 2s infinite;
}
.hero-title-premium {
    font-size: 48px; color: #fff; line-height: 1.1; font-weight: 800; margin-bottom: 15px;
}
.text-gradient {
    background: linear-gradient(to right, #34d399, #2dd4bf);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 16px; color: #9ca3af; max-width: 550px;
    margin-bottom: 25px; border-left: 3px solid var(--emerald-500); padding-left: 15px;
}
.hero-btns { display: flex; gap: 12px; }
.btn-hero-primary {
    background: var(--emerald-600); color: #fff; padding: 12px 28px;
    border-radius: 8px; font-weight: 700; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.5); border: none; cursor: pointer; text-decoration: none;
}
.btn-hero-outline {
    background: rgba(255,255,255,0.05); color: #fff; border: 1px solid #4b5563;
    padding: 12px 28px; border-radius: 8px; font-weight: 600; backdrop-filter: blur(4px); cursor: pointer; text-decoration: none;
}
.btn-hero-primary:hover, .btn-hero-outline:hover { transform: translateY(-3px); }

/* --- BUSCA FLUTUANTE DARK (COMPACTADA) --- */
.search-container-premium {
    position: relative; z-index: 10;
    margin-top: -80px; margin-bottom: 30px; padding: 0 24px;
}
.search-card-dark {
    background: var(--gray-900); border: 1px solid var(--gray-800);
    border-radius: 12px; padding: 25px; max-width: 1100px; margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.search-grid-dark {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 140px;
    gap: 15px; align-items: end;
}
.label-dark {
    display: block; color: #9ca3af; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px;
}
.input-dark-wrapper {
    position: relative; background: var(--gray-800); border-radius: 6px; transition: 0.2s;
}
.input-dark-wrapper:focus-within { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4); border-color: var(--emerald-500); }
.icon-input { position: absolute; left: 12px; top: 12px; color: #6b7280; font-size: 16px; }
.input-dark, .select-dark {
    width: 100%; background: transparent; border: 1px solid var(--gray-800);
    color: #e5e7eb; padding: 10px 10px 10px 36px; border-radius: 6px; font-size: 14px;
}
.select-dark { padding-left: 10px; appearance: none; cursor: pointer; }
.select-dark option { background: var(--gray-800); }
.btn-search-premium {
    width: 100%; height: 42px; background: var(--emerald-600); color: #fff;
    border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 6px;
    font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-search-premium:hover { background: var(--emerald-500); box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }

/* Mobile */
@media (max-width: 900px) {
    .site-header-premium { position: relative; background: #000; padding: 10px 0; }
    .nav-premium, .header-actions { display: none; }
    .mobile-toggle { display: flex; filter: invert(1); }
    .hero-premium { min-height: auto; height: auto; padding: 60px 0 100px; }
    .hero-title-premium { font-size: 32px; }
    .hero-btns { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
    .search-container-premium { margin-top: -60px; padding: 15px; background: transparent; margin-bottom: 0; }
    .search-card-dark { padding: 20px; }
    .search-grid-dark { grid-template-columns: 1fr; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
/* ==================================================
   14. PÁGINA FINANCIAMENTO SPLIT (V21 - Mobile Clean & Desktop Ajustado)
   ================================================== */

/* Header Compacto */
.fin-header-compact {
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.fin-header-compact::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}
.fin-header-compact h1 { color: #fff; margin-bottom: 5px; font-size: 32px; position: relative; z-index: 2; }
.fin-header-compact p { color: #94a3b8; font-size: 16px; position: relative; z-index: 2; }

/* Wrapper Principal */
.fin-main-wrapper {
    background: #f1f5f9;
    min-height: 80vh;
    padding: 60px 0;
    overflow-x: hidden;
}

/* Split Layout Grid */
.fin-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Coluna Esquerda: Formulário */
.fin-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 10;
}
.fin-card-header { margin-bottom: 30px; text-align: left; }
.step-badge {
    display: inline-block;
    background: #e0f2fe; color: #0284c7;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    padding: 4px 10px; border-radius: 50px; margin-bottom: 10px;
}
.step-badge.success { background: #dcfce7; color: #166534; }
.fin-card-header h2 { font-size: 28px; margin-bottom: 5px; color: var(--primary-dark); }
.fin-card-header p { color: #64748b; font-size: 14px; }

/* Inputs Premium */
.input-group-premium { margin-bottom: 20px; }
.input-group-premium label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.input-wrapper { position: relative; }
.input-wrapper span { position: absolute; left: 14px; top: 14px; color: #94a3b8; font-size: 18px; }
.input-wrapper input, .input-wrapper select {
    width: 100%; padding: 12px 12px 12px 42px; border: 1px solid #cbd5e1;
    border-radius: 10px; font-size: 15px; color: #1e293b; background: #f8fafc; transition: 0.2s;
}
.input-wrapper input:focus, .input-wrapper select:focus {
    background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}
.currency-symbol { font-size: 14px !important; top: 15px !important; font-weight: 600; }
.suggestion-link { color: var(--accent); cursor: pointer; text-decoration: underline; margin-left: 5px; }

/* Botões */
.btn-fin-action {
    width: 100%; background: var(--primary-dark); color: #fff; padding: 16px;
    border-radius: 10px; font-size: 16px; font-weight: 700; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.2s;
}
.btn-fin-action:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Resultado Box */
.result-box { margin-top: 30px; padding: 24px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; }
.result-header { text-align: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed #cbd5e1; }
.big-price { font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -1px; }
.result-details { font-size: 14px; margin-bottom: 20px; }
.detail-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: #64748b; }
.detail-row strong { color: #1e293b; }
.detail-row.highlight { background: #e2e8f0; padding: 8px; border-radius: 6px; color: #1e293b; font-weight: 700; }
.btn-whatsapp-result {
    width: 100%; background: #25D366; color: #fff; padding: 14px;
    border-radius: 8px; border: none; font-weight: 700; font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-whatsapp-result:hover { background: #1ebc57; }
.disclaimer { font-size: 10px; color: #94a3b8; text-align: center; margin-top: 15px; }

/* Coluna Direita: Personagem */
.fin-character-col {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.character-wrapper {
    position: relative;
    width: 100%;
    /* DESKTOP FIX: Reduzido de 500px para 320px (Mais discreto) */
    max-width: 320px; 
}
.character-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}
.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* Responsividade Mobile (Otimizada para Conversão) */
@media (max-width: 900px) {
    /* Layout em coluna única */
    .fin-split-layout { 
        display: block; /* Remove o grid para empilhar limpo */
    }
    
    /* MOBILE FIX: Remove o personagem para focar no formulário e evitar cortes */
    .fin-character-col { 
        display: none; 
    }
    
    .fin-card { 
        padding: 30px 20px; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
        border: 1px solid #e2e8f0;
        min-height: auto; 
    }
    
    .fin-main-wrapper { 
        padding: 40px 0; 
        background: #f1f5f9; 
    }
    
    /* Header um pouco mais compacto no mobile */
    .fin-header-compact {
        padding: 100px 0 40px;
    }
    .fin-header-compact h1 { font-size: 26px; }
}

/* ==================================================
   15. PAINEL ADMINISTRATIVO DARK (V22)
   ================================================== */

/* --- TELA DE LOGIN PREMIUM --- */
.login-page-bg {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(to right, #111827, #1f2937); /* Fundo Dark */
    padding: 20px;
    padding-top: 100px; /* Espaço pro Header */
}
.login-card-premium {
    background: #1f2937; /* Cinza Escuro */
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
    width: 100%; max-width: 400px;
    text-align: center;
    color: #fff;
}
.login-card-premium h2 { color: #fff !important; font-size: 24px; margin-bottom: 20px; }

/* Overrides do Formulário WP Padrão */
#loginform p { margin-bottom: 15px; }
#loginform label { display: block; color: #9ca3af; font-size: 12px; margin-bottom: 5px; text-align: left; font-weight: 600; text-transform: uppercase; }
#loginform input[type="text"], 
#loginform input[type="password"] {
    width: 100%; padding: 12px; 
    background: #111827; border: 1px solid #374151; 
    color: #fff; border-radius: 8px; font-size: 14px;
    outline: none; transition: 0.2s;
}
#loginform input[type="text"]:focus, 
#loginform input[type="password"]:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
#loginform input[type="submit"] {
    width: 100%; background: var(--emerald-600); color: white; border: none; 
    padding: 14px; border-radius: 8px; font-weight: 700; cursor: pointer; 
    font-size: 15px; transition: 0.2s; margin-top: 10px;
}
#loginform input[type="submit"]:hover { background: var(--emerald-500); transform: translateY(-2px); }
.login-remember { font-size: 13px; color: #9ca3af; text-align: left; margin-top: 10px; display: block; }

/* --- SIDEBAR DARK --- */
.sidebar-card {
    background: #1f2937 !important; /* Sidebar Escura */
    border: 1px solid #374151 !important;
    color: #e5e7eb;
}
.user-profile { border-bottom: 1px solid #374151 !important; }
.user-name { color: #fff !important; }
.user-role { color: #9ca3af !important; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 4px; }
.avatar { 
    background: var(--emerald-600) !important; 
    color: #fff !important; 
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* Links da Sidebar */
.nav-links a {
    color: #9ca3af !important;
    transition: 0.2s;
    border: 1px solid transparent;
}
.nav-links a:hover {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
}
.nav-links a.active {
    background: var(--emerald-600) !important;
    color: #fff !important;
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.nav-links a.logout { color: #ef4444 !important; border-top: 1px solid #374151 !important; }
.nav-links a.logout:hover { background: #fee2e2 !important; color: #b91c1c !important; }

/* --- CONTEÚDO DO PAINEL --- */
.painel-wrapper {
    margin-top: 100px; /* Compensa o Header Fixo */
}
/* Cards internos (Dashboard, Forms) */
.form-container, .kpi-card, .tabela-estoque-wrapper {
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

/* ==================================================
   16. ESTOQUE PREMIUM (V24 - Banner, Container & Pagination)
   ================================================== */

/* Banner do Estoque */
.page-header-estoque-premium {
    padding: 140px 0 60px; /* Compensa header fixo */
    text-align: center;
    color: #fff;
    margin-bottom: 0; /* Remove margem inferior para colar no container */
}
.page-header-estoque-premium h1 { font-size: 40px; margin-bottom: 10px; color: #fff; }
.page-header-estoque-premium p { font-size: 18px; color: #cbd5e1; }

/* Layout Geral (Dentro do Container) */
.layout-estoque-premium {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: #fff; /* Fundo branco interno */
    border-radius: 16px; /* Borda arredondada no container */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra suave */
    overflow: hidden; /* Para o border-radius funcionar */
    border: 1px solid #e5e7eb;
}
@media (min-width: 1024px) {
    .layout-estoque-premium { flex-direction: row; }
}

/* Sidebar */
.sidebar-premium {
    background: #fff;
    border-right: 1px solid #e5e7eb;
    width: 100%;
    z-index: 40;
}
@media (min-width: 1024px) {
    .sidebar-premium {
        width: 280px; /* Largura fixa */
        flex-shrink: 0;
        background: #f9fafb; /* Diferenciação sutil */
    }
}

.filter-header { padding: 24px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.filter-title { font-size: 16px; font-weight: 700; color: #111827; display: flex; align-items: center; gap: 10px; }
.filter-body { padding: 24px; }
.filter-group { margin-bottom: 24px; }
.filter-label { display: block; font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; margin-bottom: 8px; }

/* Inputs */
.input-premium-wrapper { position: relative; }
.input-premium-wrapper .dashicons { position: absolute; right: 10px; top: 10px; color: var(--emerald-500); }
.input-premium, .select-premium {
    width: 100%; background-color: #fff; border: 1px solid #d1d5db;
    border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #374151;
}
.input-premium:focus, .select-premium:focus { border-color: var(--emerald-500); outline: none; }
.btn-clean-filters {
    width: 100%; background: #fff; border: 1px solid #d1d5db; color: #374151;
    padding: 12px; border-radius: 8px; font-weight: 700; font-size: 13px;
    text-transform: uppercase; cursor: pointer; transition: 0.2s;
}
.btn-clean-filters:hover { background: #111827; color: #fff; }
.slider-values { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 700; }

/* Conteúdo Principal */
.main-content-premium { flex: 1; padding: 30px; }
.results-header { margin-bottom: 30px; }
.results-count { color: #6b7280; font-size: 14px; }
.results-count span { color: var(--emerald-600); font-weight: 700; }

/* GRID (Limitado a 3 Colunas) */
.vehicle-grid-premium {
    display: grid;
    /* Ajuste responsivo: 1 col mobile, 2 col tablet, 3 col desktop */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
@media (min-width: 1280px) {
    /* Força 3 colunas em telas grandes, não mais */
    .vehicle-grid-premium {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.card-premium {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    overflow: hidden; transition: 0.3s; display: flex; flex-direction: column;
}
.card-premium:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--emerald-500); }
.card-img-box { position: relative; height: 200px; overflow: hidden; }
.card-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card-premium:hover .card-img-box img { transform: scale(1.05); }
.badge-offer {
    position: absolute; top: 10px; right: 10px; background: #111827; color: #fff;
    font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px;
}
.badge-sold { background: #dc2626; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-title-p { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 4px; display:block; }
.card-subtitle-p { font-size: 12px; font-weight: 600; color: #9ca3af; text-transform: uppercase; margin-bottom: 16px; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.spec-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4b5563; }
.spec-item .dashicons { color: var(--emerald-500); font-size: 16px; }
.card-footer-p { margin-top: auto; border-top: 1px solid #f3f4f6; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.price-label { font-size: 10px; color: #9ca3af; display: block; }
.price-value { font-size: 20px; font-weight: 800; color: #111827; }
.btn-card-arrow { width: 36px; height: 36px; background: #111827; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.btn-card-arrow:hover { background: var(--emerald-600); }

/* --- PAGINAÇÃO ESTILIZADA --- */
.paginacao-premium {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.paginacao-premium .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.paginacao-premium .page-numbers:hover {
    border-color: var(--emerald-500);
    color: var(--emerald-500);
}
.paginacao-premium .page-numbers.current {
    background: var(--emerald-600);
    color: #fff;
    border-color: var(--emerald-600);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.paginacao-premium .page-numbers.dots {
    border: none;
    background: transparent;
}

/* Mobile */
.mobile-filter-bar { display: none; padding: 16px; background: #fff; border-bottom: 1px solid #e5e7eb; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 30; }
@media (max-width: 1023px) {
    .layout-estoque-premium { border-radius: 0; border: none; background: transparent; }
    .sidebar-premium { position: fixed; top: 0; left: 0; height: 100%; width: 280px; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 10px 0 20px rgba(0,0,0,0.1); }
    .sidebar-premium.open { transform: translateX(0); }
    .main-content-premium { padding: 20px 0; }
    .mobile-filter-bar { display: flex; }
    .vehicle-grid-premium { grid-template-columns: 1fr; }
    .overlay-mobile { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 35; display: none; }
    .overlay-mobile.visible { display: block; }
}

/* ==================================================
   17. SINGLE VEÍCULO PREMIUM (V26 - Selo PNG Clean)
   ================================================== */

/* Layout Geral */
.single-page-wrapper {
    background-color: #f9fafb;
    min-height: 100vh;
    padding-bottom: 80px;
}
.single-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 1024px) {
    .single-grid { grid-template-columns: 2fr 1.2fr; }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    color: #9ca3af;
    font-size: 13px;
    display: flex; gap: 8px; align-items: center;
}
.breadcrumbs a { color: #6b7280; font-weight: 500; }
.breadcrumbs a:hover { color: var(--emerald-600); }
.breadcrumbs span { color: #374151; font-weight: 600; }

/* --- COLUNA VISUAL (ESQUERDA) --- */

/* Galeria Principal */
.gallery-container {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    height: 400px;
}
@media (min-width: 768px) { .gallery-container { height: 500px; } }

.gallery-main-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.3s ease;
}

/* NOVO: Selo Vendido (PNG) */
.sold-badge-img {
    position: absolute;
    top: 20px;
    right: 20px; /* Canto Superior Direito */
    width: 160px; /* Tamanho do carimbo */
    height: auto;
    z-index: 20;
    pointer-events: none; /* Permite clicar na foto se precisar */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); /* Sombra para destacar do fundo */
}

/* Badge Blindado/Novo (Opcional) */
.badge-feature {
    position: absolute; top: 20px; left: 20px;
    background: var(--emerald-600); color: #fff;
    font-size: 11px; font-weight: 700; padding: 6px 12px;
    border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 5;
}

/* Grid Miniaturas */
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}
.thumb-item {
    height: 70px; border-radius: 8px; overflow: hidden;
    cursor: pointer; position: relative;
    border: 2px solid transparent; transition: 0.2s;
    background: #e5e7eb;
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.2s; }
.thumb-item:hover { border-color: var(--emerald-500); }
.thumb-item:hover img, .thumb-item.active img { opacity: 1; }
.thumb-item.active { border-color: var(--emerald-500); }

/* Descrição Box */
.desc-box {
    background: #fff; padding: 32px;
    border-radius: 16px; border: 1px solid #e5e7eb;
    margin-bottom: 40px;
}
.desc-title {
    font-size: 18px; font-weight: 800; color: #111827;
    margin-bottom: 16px; border-bottom: 1px solid #f3f4f6; padding-bottom: 10px;
}
.desc-content { color: #4b5563; line-height: 1.8; font-size: 15px; }

/* --- COLUNA DADOS (DIREITA STICKY) --- */
.sidebar-sticky { position: sticky; top: 100px; }

.data-card {
    background: #fff; padding: 32px;
    border-radius: 16px; border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
}

.vehicle-title {
    font-size: 28px; font-weight: 800; color: #111827;
    line-height: 1.2; margin-bottom: 8px;
}
.vehicle-subtitle { color: #6b7280; font-size: 14px; margin-bottom: 24px; }

.price-box { margin-bottom: 30px; }
.price-label { font-size: 11px; text-transform: uppercase; color: #9ca3af; font-weight: 700; display: block; }
.price-tag { font-size: 42px; font-weight: 800; color: var(--emerald-600); letter-spacing: -1px; }
.price-tag.sold { color: #9ca3af; text-decoration: line-through; font-size: 32px; }
.sold-alert { color: #ef4444; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* Grid de Specs Lateral */
.specs-sidebar-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px;
}
.spec-box {
    background: #f9fafb; padding: 12px; border-radius: 8px;
    display: flex; align-items: center; gap: 12px;
}
.spec-box i, .spec-box .dashicons {
    color: var(--emerald-600); font-size: 20px; width: 20px; height: 20px;
}
.spec-info span { display: block; font-size: 10px; color: #9ca3af; font-weight: 700; text-transform: uppercase; }
.spec-info strong { display: block; font-size: 14px; color: #1f2937; }

/* Botões de Ação */
.action-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; border-radius: 12px; font-weight: 700; font-size: 16px;
    margin-bottom: 12px; text-decoration: none; transition: 0.2s; border: none; cursor: pointer;
}
.btn-whatsapp-main {
    background: var(--emerald-600); color: #fff;
    box-shadow: 0 10px 20px -5px rgba(5, 150, 105, 0.4);
}
.btn-whatsapp-main:hover { background: var(--emerald-500); transform: translateY(-2px); }
.btn-simular-main {
    background: #fff; border: 2px solid #e5e7eb; color: #374151;
}
.btn-simular-main:hover { border-color: #1f2937; color: #1f2937; }
.btn-share-simple {
    background: transparent; color: #9ca3af; font-size: 13px; font-weight: 600;
    margin-top: 10px; width: 100%; text-align: center; cursor: pointer; display: block;
}
.btn-share-simple:hover { color: var(--emerald-600); }

/* Box Admin */
.admin-tools-box {
    margin-top: 24px; padding: 20px;
    background: #fffbeb; border: 1px solid #fcd34d; border-radius: 12px;
}
.admin-title { color: #92400e; font-size: 11px; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.admin-btns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-admin-pdf {
    background: #fff; border: 1px solid #d97706; color: #d97706;
    padding: 8px; border-radius: 6px; font-size: 11px; font-weight: 700;
    text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-admin-pdf:hover { background: #fef3c7; }

/* Mobile */
.mobile-title-block { display: none; margin-bottom: 20px; }
@media (max-width: 1023px) {
    .mobile-title-block { display: block; }
    .desktop-title-block { display: none; }
    .gallery-container { height: 300px; }
    .thumbnails-grid { grid-template-columns: repeat(4, 1fr); }
    .single-grid { gap: 30px; }
    /* Ajuste selo mobile */
    .sold-badge-img { width: 100px; top: 10px; right: 10px; }
}

/* NOVO: Selo Vendido (PNG) - V27 Ajuste Canto Inferior */
.sold-badge-img {
    position: absolute;
    /* Removemos top e right antigos */
    bottom: 0; /* Cola na borda inferior */
    right: 0;  /* Cola na borda direita */
    width: 180px; /* Aumentei um pouco para dar destaque ao personagem */
    height: auto;
    z-index: 20;
    pointer-events: none; 
    /* Sombra suave para destacar do fundo da foto */
    filter: drop-shadow(-5px -5px 10px rgba(0,0,0,0.3)); 
}

/* Onde estava: .sold-badge-img { width: 100px; top: 10px; right: 10px; } */

/* Mude para: */
.sold-badge-img { width: 120px; top: auto; bottom: 0; right: 0; }



/* ==================================================
   18. AJUSTES MOBILE PREMIUM (V28 - Final Polish)
   ================================================== */

@media (max-width: 1023px) {

    /* --- 1. AJUSTE DE TEXTOS DO BANNER (HERO) --- */
    
    /* Home Hero */
    .hero-premium {
        min-height: auto;
        padding: 100px 0 60px; /* Mais espaço no topo pro header */
        text-align: center; /* Centraliza tudo no mobile */
    }
    .hero-title-premium {
        font-size: 32px !important; /* Reduz de 48px para 32px */
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 15px !important;
        border-left: none; /* Remove a barra lateral verde no mobile */
        padding-left: 0;
        margin-bottom: 30px;
    }
    .hero-btns {
        flex-direction: column; /* Botões um embaixo do outro */
        gap: 15px;
    }
    .btn-hero-primary, .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }

    /* Banners Internos (Estoque / Financiamento) */
    .page-header-estoque-premium, 
    .fin-header-compact {
        padding: 110px 0 50px !important;
        text-align: center;
    }
    .page-header-estoque-premium h1, 
    .fin-header-compact h1 {
        font-size: 28px !important; /* Reduz títulos internos */
        line-height: 1.2;
    }
    .page-header-estoque-premium p, 
    .fin-header-compact p {
        font-size: 14px !important;
        padding: 0 20px; /* Evita texto colado na borda */
    }

    /* --- 2. SINGLE PAGE: CARD DE DADOS NO MOBILE --- */
    
    .single-page-wrapper {
        padding-bottom: 40px;
    }
    
    /* Força o visual de "Card Branco" na coluna de dados no mobile */
    .data-card {
        background: #fff !important;
        padding: 24px !important;
        border-radius: 16px !important;
        box-shadow: 0 5px 25px rgba(0,0,0,0.08) !important;
        border: 1px solid #e5e7eb !important;
        margin-top: 20px; /* Separa da descrição */
    }
    
    /* Ajuste do Título Mobile */
    .mobile-title-block {
        display: block;
        margin-bottom: 15px;
        text-align: left;
    }
    .desktop-title-block { display: none; }
    
    .vehicle-title { font-size: 24px !important; }
    
    /* Galeria Mobile */
    .gallery-container { height: 280px !important; }
    
    /* Selo Vendido Mobile (Ajuste Fino) */
    .sold-badge-img {
        width: 110px !important;
        bottom: -5px !important; /* Levemente para fora */
        right: -5px !important;
    }

    /* --- 3. CARDS DE LISTAGEM (ESTOQUE) --- */
    
    /* Garante que o grid seja 1 coluna, mas mantenha o visual */
    .vehicle-grid-premium {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .card-premium {
        background: #fff !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important; /* Sombra visível */
        border: 1px solid #e5e7eb !important;
    }
    
    /* Ajuste da imagem do card no mobile para não ficar gigante */
    .card-img-box {
        height: 220px !important;
    }

    /* --- OUTROS --- */
    
    /* Busca Flutuante Mobile */
    .search-container-premium {
        margin-top: -40px !important; /* Sobe menos no mobile */
        padding: 0 15px;
    }
    .search-card-dark {
        padding: 20px !important;
    }
    .search-grid-dark {
        gap: 15px;
    }
    
    /* Personagem Financiamento */
    .fin-character-col { display: none !important; } /* Esconde boneco no mobile */
    .fin-split-layout { display: block !important; }
}

/* AJUSTE RELACIONADOS SINGLE V29 */
/* No Desktop: Relacionados ocupam a primeira coluna (embaixo da descrição) */
@media (min-width: 1024px) {
    .relacionados-wrapper {
        grid-column: 1; /* Força ficar na esquerda */
    }
}



