/* ======================================================================
   STYLE.CSS - MASTER STYLESHEET
   PROJETO: CLASSIFICADOS [PRODUÇÃO DIAMANTE]
   ÚLTIMA ATUALIZAÇÃO: FEV/2026
   ====================================================================== */

/* =========================================
   0. VARIÁVEIS GLOBAIS (THEME SYSTEM)
   ========================================= */
:root {
    /* Cores Principais (Brand) */
    --primary-color: #FFED00;       /* Amarelo Elétrico */
    --primary-hover: #fff;          /* Hover padrão */
    --secondary-color: #fff;        /* Texto secundário/destaque */
    
    /* Cores de Fundo (Dark Mode) */
    --bg-body: #050505;             /* Fundo da página */
    --bg-card: #111111;             /* Fundo dos cards/seções */
    --bg-card-hover: #161616;       /* Fundo hover */
    --bg-input: #0a0a0a;            /* Fundo de inputs */
    --bg-overlay: rgba(0, 0, 0, 0.95);
    
    /* Cores de Texto e Bordas */
    --text-main: #eeeeee;
    --text-muted: #aaaaaa;
    --border-color: #222222;
    --border-hover: #444444;
    
    /* Cores Funcionais */
    --success-green: #25D366;       /* WhatsApp/Sucesso */
    --error-red: #ff5555;           /* Erro/Delete */
    --google-red: #DB4437;
    
    /* Fontes */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================
   1. CONFIGURAÇÕES BASE E ANIMAÇÕES
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* AJUSTE: Remove contorno de foco e prepara o feedback de clique */
a, button, .tag, .btn-auth-submit, .btn-calculadora-home {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
    outline: none !important;
}

/* FEEDBACK TÁTIL */
a:active, button:active, .tag:active, .btn-auth-submit:active, .btn-calculadora-home:active {
    transform: scale(0.96);
    transition: transform 0.1s;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 50% 0%, rgba(255, 237, 0, 0.05) 0%, transparent 60%), linear-gradient(180deg, #111 0%, #000 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.05;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ANIMAÇÃO DO RAIO */
@keyframes bolt-glow {
    0%, 40% { filter: drop-shadow(0 0 5px rgba(255, 237, 0, 0.6)); color: var(--primary-color); transform: scale(1); }
    47%, 53% { filter: drop-shadow(0 0 20px var(--primary-color)) brightness(1.6); color: #fff; transform: scale(1.15); }
    60%, 100% { filter: drop-shadow(0 0 5px rgba(255, 237, 0, 0.6)); color: var(--primary-color); transform: scale(1); }
}

/* =========================================
   2. HEADER E LOGO
   ========================================= */
.main-wrapper { max-width: 1100px; margin: 0 auto; background: var(--bg-card); min-height: 100vh; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.content { padding: 25px; }

header { background: var(--bg-input); padding: 30px 20px 10px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; position: relative; z-index: 100; }
.logo-box { display: flex; flex-direction: column; align-items: center; }

.logo { display: flex; align-items: center; font-size: 45px; font-weight: 900; text-transform: uppercase; font-family: var(--font-heading) !important; color: #fff; letter-spacing: -1px; text-decoration: none; }
.logo i { color: var(--primary-color); margin-right: 12px; filter: drop-shadow(0 0 5px rgba(255, 237, 0, 0.5)); animation: bolt-glow 2s ease-in-out infinite; }

.ponto-net { color: var(--primary-color) !important; margin-left: 0px; }
.logo-slogan { margin-top: 6px; font-size: 16px; font-weight: 600; letter-spacing: 2px; color: var(--primary-color); text-transform: uppercase; }

.user-actions { display: flex; align-items: center; gap: 12px; }
.user-actions a { font-size: 14px; font-weight: 700; color: #ccc; text-transform: uppercase; }
.user-actions a:hover { color: var(--primary-color); }

.btn-login-quadrado { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #1a1a1a; color: #fff; border: 1px solid #333; border-radius: 6px; font-size: 18px !important; }
.btn-anunciar { height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 25px; color: #000 !important; font-size: 13px; font-weight: 900; border-radius: 8px; background: linear-gradient(135deg, var(--primary-color) 0%, #FFF566 50%, var(--primary-color) 100%); box-shadow: 0 4px 15px rgba(255, 237, 0, 0.4); text-transform: uppercase; letter-spacing: 1px; animation: pulse-glow 2s infinite; }

/* Botões Header Logado */
.btn-header-painel { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; font-size: 13px; font-weight: 800; color: #fff !important; transition: 0.3s; letter-spacing: 0.5px; }
.btn-header-painel:hover { background: var(--border-color); border-color: var(--primary-color); color: var(--primary-color) !important; }

.btn-header-sair { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; background: rgba(255, 85, 85, 0.05); border: 1px solid rgba(255, 85, 85, 0.2); border-radius: 6px; font-size: 13px; font-weight: 800; color: var(--error-red) !important; gap: 8px; transition: 0.3s; }
.btn-header-sair:hover { background: var(--error-red); color: #000 !important; border-color: var(--error-red); }

@media(max-width: 600px) {
    .btn-header-painel, .btn-header-sair { height: 36px; padding: 0 12px; font-size: 11px; }
}

/* =========================================
   3. BARRA E FILTROS (CORREÇÃO STICKY VITAL)
   ========================================= */
.localizacao-bar { width: 100%; background: var(--bg-input); padding: 5px 15px 20px 15px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; border-bottom: 2px solid; border-image: linear-gradient(to right, transparent, var(--primary-color), transparent) 1; box-shadow: 0 10px 20px rgba(0,0,0,0.5); z-index: 10; }
.localizacao-bar select { background: #1c1c1c; color: #fff; border: 1px solid #444; padding: 0 10px; border-radius: 6px; font-size: 15px; width: 160px; height: 40px; transition: 0.3s; }
.localizacao-bar select:focus { border-color: var(--primary-color); outline: none; }
.localizacao-bar button { background: var(--primary-color) !important; height: 40px; width: 50px; color: #000 !important; border-radius: 6px; border: none; cursor: pointer; transition: 0.3s; }
.localizacao-bar button:hover { background: #fff !important; transform: scale(1.05); }

.filters { padding: 10px; background: rgba(22, 22, 22, 0.95); }
.filter-group { margin-bottom: 10px; }
.filter-label { color: var(--primary-color); font-weight: 700; margin-bottom: 10px; display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; }
.tags-container { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: #1a1a1a; color: #aaa; padding: 7px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; border: 1px solid #333; }
.tag:hover, .tag.active { background: var(--primary-color); color: #000; border-color: var(--primary-color); }

/* Animação e Barra de Progresso */
@keyframes barra-progresso { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

#catalogo-container { 
    transition: opacity 0.3s ease; 
    position: relative; 
    min-height: 400px; 
    /* MOD: Alterado para visible para permitir Sticky Sidebar */
    overflow: visible; 
}
#catalogo-container.loading { opacity: 0.6; pointer-events: none; }
#catalogo-container.loading::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--primary-color); box-shadow: 0 0 10px rgba(255, 237, 0, 0.5); animation: barra-progresso 1s linear infinite; border: none; border-radius: 0; z-index: 100; }

/* =========================================
   4. CARDS E GRID
   ========================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.no-results { grid-column: 1/-1; text-align: center; padding: 80px 20px; background: var(--bg-card); border-radius: 15px; border: 2px dashed var(--border-color); }
.card { background: #1c1c1c; border: 1px solid #333; border-radius: 8px; overflow: hidden; position: relative; display: flex; flex-direction: column; height: 100%; animation: fadeInUp 0.5s ease backwards; }
.card:hover { border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(0,0,0,0.4); transform: translateY(-3px); }
.card-img-box { position: relative; height: 180px; width: 100%; overflow: hidden; }
.card-img { height: 100%; width: 100%; object-fit: cover; background: #000; transition: 0.3s; }
.card:hover .card-img { filter: brightness(1.1); }
.card-body { padding: 15px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.6em; }
.card-info { font-size: 12px; color: #888; margin-bottom: 10px; }
.card-price { font-size: 20px; font-weight: 800; color: var(--primary-color); margin-bottom: 12px; display: block; }
.card-loc { margin-top: auto; font-size: 11px; color: #666; display: flex; align-items: center; gap: 5px; border-top: 1px solid var(--border-color); padding-top: 10px; }

.badge-destaque { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 9px; font-weight: 900; padding: 3px 7px; border-radius: 3px; background: var(--primary-color); color: #000; }
.badge-info-overlay { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.badge-tag { background: rgba(0,0,0,0.8); color: var(--primary-color); font-size: 9px; padding: 2px 6px; border: 1px solid rgba(255, 237, 0, 0.5); backdrop-filter: blur(4px); }
.badge-blindado { background: #000; color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 3px; border: 1px solid #444; font-weight: 900; }

.pagination { text-align: center; margin-top: 40px; padding-bottom: 20px; }
.page-link { display: inline-block; padding: 8px 15px; background: #1a1a1a; color: #fff; border: 1px solid #333; margin: 0 3px; border-radius: 4px; }
.page-link:hover, .page-link.active { background: var(--primary-color); color: #000; border-color: var(--primary-color); }

/* =========================================
   5. LOGIN E LOADING
   ========================================= */
body.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding-bottom: 0; background: var(--bg-body); }
.auth-wrapper { width: 100%; max-width: 400px; padding: 20px; z-index: 10; }
.auth-box { background: var(--bg-card); width: 100%; border-radius: 12px; border: 1px solid #333; overflow: hidden; box-shadow: 0 0 40px rgba(0,0,0,0.8); }
.auth-tabs { display: flex; background: var(--bg-input); border-bottom: 1px solid #333; }
.auth-tab { flex: 1; padding: 20px; text-align: center; cursor: pointer; font-weight: bold; color: #666; transition: 0.3s; border-bottom: 2px solid transparent; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.auth-tab.active { color: var(--primary-color); background: var(--bg-card-hover); border-bottom-color: var(--primary-color); }
.form-section { display: none; padding: 30px; animation: fadeIn 0.3s ease; }
.form-section.active { display: block; }
.auth-input { width: 100%; padding: 14px; background: var(--bg-input); border: 1px solid #444; color: #fff; border-radius: 6px; font-size: 15px; transition: 0.3s; }
.auth-input:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 10px rgba(255, 237, 0, 0.2); }
.btn-auth-submit { width: 100%; padding: 16px; background: var(--primary-color); color: #000; border: none; border-radius: 8px; font-size: 16px; font-weight: 900; cursor: pointer; margin-top: 10px; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.radio-group { display: flex; gap: 15px; margin-bottom: 15px; }
.radio-label { display: flex; align-items: center; gap: 5px; cursor: pointer; color: #ccc; font-size: 13px; }
.radio-label input { accent-color: var(--primary-color); }
.alert { padding: 12px; border-radius: 6px; font-size: 13px; margin-bottom: 20px; text-align: center; font-weight: bold; }
.alert-error { background: rgba(255, 85, 85, 0.2); color: var(--error-red); border: 1px solid var(--error-red); }
.alert-success { background: rgba(85, 255, 85, 0.2); color: #55ff55; border: 1px solid #55ff55; }

/* =========================================
   6. PAINEL DE CONTROLE (VERSÃO FINAL)
   ========================================= */
.painel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.painel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

/* Switch e Controles */
.switch-container { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.03); padding: 12px; border-radius: 8px; margin-bottom: 15px; border: 1px solid var(--border-color); }
.switch-label { font-size: 11px; font-weight: 900; color: #888; text-transform: uppercase; }
.switch { position: relative; display: inline-block; width: 44px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--success-green); }
input:checked + .slider:before { transform: translateX(22px); }

/* Cards Anúncio Painel */
.ad-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
.ad-card:hover { border-color: #444; }
.ad-body { padding: 20px; flex-grow: 1; }
.ad-title { font-size: 14px; font-weight: bold; color: #fff; margin-bottom: 10px; line-height: 1.4; height: 2.8em; overflow: hidden; }
.ad-price { color: var(--primary-color); font-weight: 900; font-size: 20px; display: block; }
.painel-thumb-box { width: 100%; height: 160px; background: #000; overflow: hidden; position: relative; }
.painel-thumb { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

.tabs-nav { display: flex; gap: 5px; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 10px; justify-content: center; }
.tab-btn { background: #222; color: #888; border: none; padding: 12px 25px; cursor: pointer; border-radius: 6px; font-weight: bold; transition: 0.3s; font-size: 12px; text-transform: uppercase; }
.tab-btn:hover, .tab-btn.active { background: var(--primary-color); color: #000; }

.btn-approve { background: var(--success-green); color: #000; font-size: 11px; width: 100%; height: 35px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.btn-delete { background: transparent; border: 1px solid var(--error-red); color: var(--error-red); font-size: 11px; width: 100%; height: 35px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.btn-delete:hover { background: var(--error-red); color: #fff; }

.btn-view-ad { background: #1a1a1a; color: #fff; border: 1px solid #333; padding: 8px; font-size: 11px; font-weight: 800; text-align: center; border-radius: 6px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; transition: 0.3s; }
.btn-view-ad:hover { background: var(--primary-color); color: #000 !important; border-color: var(--primary-color); }

.st-pendente { background: var(--primary-color); color: #000; font-weight: 900; }
.st-pausado { background: #444; color: #fff; font-weight: 900; }

.admin-grid-news { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.admin-box { background: #1a1a1a; padding: 25px; border-radius: 10px; border: 1px solid #333; }
.admin-input { width: 100%; padding: 12px; background: #222; border: 1px solid #444; color: #fff; border-radius: 5px; margin-bottom: 15px; font-size: 14px; }
.google-badge { background: #fff; color: #000; padding: 10px 15px; border-radius: 8px; font-size: 10px; font-weight: 900; text-transform: uppercase; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.google-badge i { color: var(--google-red); font-size: 16px; }
.admin-empty { padding: 40px; border: 1px dashed #333; border-radius: 12px; text-align: center; color: #fff; font-weight: bold; }

@media (max-width: 900px) {
    .admin-grid-news { grid-template-columns: 1fr; }
    .tabs-nav { flex-wrap: wrap; }
    .tab-btn { flex: 1; text-align: center; }
}


/* =========================================
   7. DETALHES E FOTOS
   ========================================= */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; margin-top: 20px; }
.gallery-container { width: 100%; }
.main-img-box { width: 100%; height: 500px; background: #000; border-radius: 12px; overflow: hidden; border: 1px solid #333; position: relative; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.main-img-box img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain !important; transition: transform 0.4s ease; }
.main-img-box:hover img { transform: scale(1.05); }

.thumb-list { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.thumb-list::-webkit-scrollbar { display: none; }
.thumb-item { width: 80px; height: 60px; border-radius: 6px; flex-shrink: 0; background: #000; opacity: 0.6; cursor: pointer; border: 2px solid transparent; overflow: hidden; position: relative; }
.thumb-item.active { opacity: 1; border-color: var(--primary-color); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); height: fit-content; }
.badge-status { background: #222; color: #888; border: 1px solid #333; padding: 4px 10px; border-radius: 4px; font-size: 11px; }
.vehicle-title { color: #fff; font-size: 26px; margin: 15px 0 5px 0; line-height: 1.2; font-weight: 800; }
.location-text { color: #888; margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.d-price { font-size: 36px; color: var(--primary-color); font-weight: 900; margin-bottom: 20px; display: block; }

.btn-whatsapp { background: var(--success-green); color: #fff; width: 100%; display: flex; align-items: center; justify-content: center; padding: 18px; border-radius: 10px; font-weight: bold; font-size: 18px; gap: 10px; text-decoration: none; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2); transition: 0.3s; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0; }
.spec-item { background: #161616; padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); }
.spec-label { font-size: 9px; color: #666; text-transform: uppercase; display: block; margin-bottom: 4px; font-weight: 700; }
.spec-value { font-size: 14px; color: #fff; font-weight: bold; }

/* Bloco Vendedor */
.seller-card { background: #161616; padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); margin-top: 20px; }
.seller-header { display: flex; align-items: flex-start; gap: 15px; }
.seller-avatar { width: 50px; height: 50px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); border: 1px solid #333; font-size: 20px; flex-shrink: 0; }
.seller-name { color: #fff; font-weight: 800; font-size: 16px; line-height: 1.2; }
.pj-info { margin-top: 6px; font-size: 13px; color: #aaa; display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.seller-since { font-size: 11px; color: #555; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

.desc-box { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; }
.desc-title { font-size: 16px; color: #fff; font-weight: bold; margin-bottom: 10px; display: block; }
.desc-text { color: #aaa; font-size: 14px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }

/* Modais */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.98); z-index: 99999; justify-content: center; align-items: center; }
.modal-overlay.open { display: flex; }
.modal-img { max-width: 100%; max-height: 100%; object-fit: contain; }

.plans-wrapper { max-width: 500px; margin: 40px auto; padding: 20px; text-align: center; }
.plan-card-promo { background: var(--bg-card); border: 2px solid var(--primary-color); border-radius: 20px; padding: 40px; position: relative; animation: pulse-yellow 2s infinite; }
@keyframes pulse-yellow { 0% { box-shadow: 0 0 0 0 rgba(255, 237, 0, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(255, 237, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 237, 0, 0); } }
.promo-badge { background: var(--primary-color); color: #000; padding: 5px 20px; border-radius: 20px; font-size: 11px; font-weight: 900; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); text-transform: uppercase; }
.price-tag { font-size: 48px; font-weight: 900; color: #fff; margin: 20px 0; }
.price-tag span { font-size: 16px; color: #666; text-decoration: line-through; margin-right: 10px; }
.plan-features { list-style: none; padding: 0; text-align: left; color: #ccc; margin-bottom: 30px; font-size: 14px; }
.plan-features li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.plan-features li i { color: var(--primary-color); width: 15px; }
.btn-gratis-promo { width: 100%; padding: 20px; background: var(--primary-color); color: #000; border: none; border-radius: 12px; font-weight: 900; font-size: 16px; cursor: pointer; text-transform: uppercase; transition: 0.3s; }
.btn-gratis-promo:hover { transform: scale(1.03); background: #fff; }

/* =========================================
   8. FORMULÁRIOS
   ========================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 15px; }
.photo-slot { position: relative; background: #0a0a0a; border: 2px dashed var(--border-color); aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333; transition: 0.3s; }
.photo-slot.main-photo { grid-column: span 5; aspect-ratio: 16/7; }
.photo-slot:hover { border-color: var(--primary-color); color: #fff; background: #161616; }
.photo-slot i { position: absolute; z-index: 1; font-size: 20px; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; display: none; }
img:not([src]), img[src=""] { display: none !important; }
.label-main { grid-column: span 5; background: var(--bg-card); padding: 10px; border-radius: 6px; font-size: 11px; color: var(--primary-color); font-weight: bold; text-align: center; border: 1px solid var(--border-color); text-transform: uppercase; }
.input-wrapper { position: relative; }
.input-suffix { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #666; font-size: 12px; font-weight: 900; pointer-events: none; }
.form-section-title { color: var(--primary-color); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; margin: 35px 0 15px 0; display: flex; align-items: center; gap: 10px; }
.form-section-title::after { content: ""; flex-grow: 1; height: 1px; background: linear-gradient(to right, #333, transparent); }
.photo-badge { position: absolute; bottom: 10px; left: 10px; z-index: 3; background: rgba(0,0,0,0.8); color: var(--primary-color); font-size: 10px; padding: 4px 10px; border-radius: 4px; font-weight: bold; text-transform: uppercase; }
.input-container { position: relative; }
.input-unit { position: absolute; right: 15px; top: 12px; color: #444; font-weight: bold; font-size: 12px; }
.checkbox-card { display: inline-flex; align-items: center; cursor: pointer; gap: 12px; color: #eee; background: #1a1a1a; padding: 12px 20px; border-radius: 8px; border: 1px solid #333; transition: 0.2s; }
.checkbox-card:hover { border-color: #444; background: #222; }
.progress-wrapper { display: none; margin: 30px 0; background: #0a0a0a; padding: 20px; border-radius: 10px; border: 1px solid var(--border-color); }
.progress-info { display: flex; justify-content: space-between; margin-bottom: 10px; }
.progress-bg { width: 100%; background: #222; height: 8px; border-radius: 4px; overflow: hidden; }
.progress-fill { width: 0%; background: linear-gradient(90deg, var(--primary-color), #fff); height: 100%; transition: width 0.3s; }
.photo-slot input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* =========================================
   9. FOOTER E ELEMENTOS FINAIS
   ========================================= */
.main-footer { background: #050505; color: #fff; padding: 80px 0 0 0; margin-top: 100px; border-top: 2px solid var(--primary-color); }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding: 0 20px 60px 20px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }

.logo-footer { font-size: 28px; color: #fff; text-decoration: none; font-weight: 900; display: block; margin-bottom: 20px; font-family: var(--font-heading) !important; letter-spacing: -1px; text-transform: uppercase; }
.logo-footer span { color: var(--primary-color); }
.logo-footer i { color: var(--primary-color); margin-right: 8px; filter: drop-shadow(0 0 5px rgba(255, 237, 0, 0.5)); animation: bolt-glow 2s ease-in-out infinite; }

.footer-about { color: #888; line-height: 1.6; font-size: 14px; margin-bottom: 25px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 35px; height: 35px; background: var(--bg-card); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 5px; transition: 0.3s ease; text-decoration: none; }
.footer-social a:hover { background: var(--primary-color); color: #000; transform: translateY(-3px); }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a { color: #aaa; text-decoration: none; font-size: 14px; transition: 0.2s; }
.footer-links li a:hover { color: var(--primary-color); padding-left: 5px; }

.security-seals { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.seal-item { background: var(--bg-card); padding: 12px; border-radius: 8px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-color); }
.seal-item i { color: var(--success-green); font-size: 18px; }
.seal-item span { color: #888; font-size: 10px; line-height: 1.2; font-weight: bold; text-transform: uppercase; }

.footer-bottom { background: #000; padding: 25px 20px; border-top: 1px solid #111; }
.footer-bottom-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; color: #444; font-size: 12px; }
.footer-info { display: flex; gap: 20px; }

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }

/* =========================================
   10. RESPONSIVIDADE (FIX: SIDEBAR DIAMANTE)
   ========================================= */
@media (min-width: 1024px) {
    .main-wrapper { 
        max-width: 1300px; 
    }

    #catalogo-container { 
        display: grid; 
        grid-template-columns: 280px 1fr; 
        gap: 30px; 
        padding: 30px; 
        /* CRÍTICO: Impede que a sidebar estique conforme o grid de anúncios aumenta */
        align-items: start; 
    }

    .filters { 
        position: -webkit-sticky; 
        position: sticky; 
        top: 20px; 
        max-height: calc(100vh - 40px); 
        overflow-y: auto; 
        background: #1a1a1a; 
        border: 1px solid #222; 
        border-radius: 10px; 
        /* REFORÇO: Garante que ela mantenha sua altura intrínseca */
        align-self: start; 
    }
}

@media (max-width: 992px) { .footer-container { grid-template-columns: 1fr 1fr; } }

@media (max-width: 900px) {
    .main-wrapper { width: 100% !important; max-width: 100% !important; border: none !important; }
    .content { padding: 15px !important; }
    .detail-grid { display: block !important; }
    .main-img-box { width: 100% !important; height: 280px !important; margin: 0 !important; border-radius: 12px !important; border: 1px solid #333 !important; display: block !important; background: transparent !important; }
    .main-img-box img { width: 100% !important; height: 100% !important; object-fit: cover !important; transform: scale(1.03); }
    .detail-info { margin-top: 20px; padding: 20px !important; width: 100% !important; background: transparent; border: none; }
    .spec-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .vehicle-title { font-size: 24px; }
    .d-price { font-size: 32px; }
    .modal-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 24px; }
}

@media(max-width: 600px) {
    html, body { width: 100%; overflow-x: hidden; position: relative; }
    .main-wrapper { width: 100% !important; max-width: 100vw !important; overflow-x: hidden; border: none !important; }
    .content { padding: 15px; width: 100%; box-sizing: border-box; }
    .logo { font-size: 38px !important; text-align: center; }

    .localizacao-bar { flex-wrap: nowrap !important; gap: 5px; padding: 10px 8px !important; justify-content: center !important; width: 100% !important; box-sizing: border-box; }
    .localizacao-bar select { flex: 1 !important; min-width: 0 !important; font-size: 11px; height: 38px; padding: 0 5px; }
    .localizacao-bar button { width: 38px !important; height: 38px !important; flex-shrink: 0; }

    .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; }
    .card-img-box { height: 130px; }
    .card-body { align-items: flex-start; padding: 12px 10px; }
    .card-title { font-size: 13px; height: 2.6em; text-align: left; width: 100%; }
    .card-price { font-size: 16px; text-align: left; width: 100%; margin-bottom: 5px; }
    .card-loc { justify-content: flex-start; padding-top: 8px; width: 100%; }

    .footer-container { display: flex !important; flex-wrap: wrap !important; padding: 0 10px !important; gap: 30px 0 !important; width: 100% !important; box-sizing: border-box; }
    .footer-col { flex: 0 0 50% !important; max-width: 50% !important; margin: 0 !important; padding: 0 !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
    .footer-col:first-child, .footer-col:last-child { flex: 0 0 100% !important; max-width: 100% !important; }

    .footer-links { padding: 0 !important; margin: 0 !important; list-style: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; width: 100% !important; }
    .footer-links li { margin: 0 0 8px 0 !important; padding: 0 !important; width: 100% !important; text-align: center !important; }
    .footer-links li a { display: block !important; width: 100% !important; padding: 5px 0 !important; margin: 0 !important; text-align: center !important; }

    .footer-col h4 { width: 100% !important; margin-bottom: 15px !important; text-align: center !important; }
    .logo-footer, .footer-social { justify-content: center !important; display: flex; width: 100%; }

    .security-seals { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; justify-content: center !important; width: fit-content !important; margin: 0 auto !important; }

    .footer-bottom-content { flex-direction: column; gap: 10px; text-align: center; width: 100%; }

    .painel-header { flex-direction: column; text-align: center; gap: 20px; }
    .painel-grid { grid-template-columns: 1fr; }
    .ad-status-bar { padding: 15px 20px; font-size: 12px; }
    .toggle-icon { font-size: 55px !important; margin-right: -5px; }
    .form-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .photo-slot.main-photo, .label-main { grid-column: span 3 !important; }
    .photo-slot.main-photo { aspect-ratio: 16/9; }
}

@media(max-width: 400px) { .grid { grid-template-columns: 1fr; } .card-img-box { height: 200px; } .localizacao-bar select { font-size: 10px; } }

/* =========================================
   11. ESTILOS DO BLOG E NOTÍCIAS
   ========================================= */
.site-header { background: #000; padding: 15px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.article-wrapper { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.article-header { text-align: left; margin-bottom: 30px; }
.article-meta { color: var(--primary-color); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; margin-bottom: 10px; display: block; }
.article-title { font-size: 2.8rem; color: #fff; line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.share-bar { display: flex; gap: 10px; margin-bottom: 30px; }
.btn-share { padding: 8px 15px; border-radius: 4px; font-size: 0.9rem; font-weight: bold; text-decoration: none; display: flex; align-items: center; gap: 5px; transition: 0.2s; cursor: pointer; border: none; }
.btn-whatsapp-share { background: var(--success-green); color: #fff; }
.btn-whatsapp-share:hover { background: #1ebc57; }
.btn-copy { background: #333; color: #fff; }
.btn-copy:hover { background: #444; }

.hero-image { width: 100%; max-width: 600px; height: 250px; object-fit: cover; display: block; margin: 0 auto 40px auto; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); border: 1px solid var(--border-color); }

.article-content { font-size: 1.15rem; line-height: 1.8; color: #ccc; }
.article-content p { margin-bottom: 25px; }
.article-content h2 { color: var(--primary-color); margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; }
.article-content ul, .article-content ol { margin-bottom: 25px; padding-left: 25px; color: #ccc; }
.article-content li { margin-bottom: 10px; }
.article-content a { color: var(--primary-color); text-decoration: underline; }

.related-section { background: var(--bg-card); padding: 60px 0; margin-top: 80px; border-top: 1px solid var(--border-color); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.related-card { background: #1a1a1a; border-radius: 8px; overflow: hidden; border: 1px solid #333; transition: 0.3s; }
.related-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.related-img { width: 100%; height: 160px; object-fit: cover; }
.related-body { padding: 15px; }
.related-title { font-size: 1.1rem; color: #fff; margin: 0; line-height: 1.4; }
.related-date { font-size: 0.8rem; color: #666; margin-bottom: 8px; display: block; }

@media (max-width: 768px) {
    .article-title { font-size: 2rem; }
    .article-wrapper { margin-top: 20px; }
    .hero-image { height: 250px; }
}

/* =========================================
   12. ESTILOS DA LISTA DO BLOG (blog.php)
   ========================================= */
.blog-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.card-noticia { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; }
.card-noticia:hover { transform: translateY(-8px); border-color: var(--primary-color); }
.card-noticia img { width: 100%; height: 200px; object-fit: cover; }
.card-noticia-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card-noticia-date { color: var(--primary-color); font-size: 0.8rem; font-weight: bold; margin-bottom: 10px; text-transform: uppercase; }
.card-noticia-title { color: #fff; font-size: 1.25rem; margin-bottom: 15px; line-height: 1.4; }
.card-noticia-excerpt { color: #aaa; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

.btn-ler-noticia { margin-top: auto; color: #fff; text-decoration: none; font-weight: bold; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-ler-noticia i { flex-shrink: 0; }
.btn-ler-noticia:hover { color: var(--primary-color); }

/* =========================================
   13. ESTILOS DAS NOTÍCIAS (GRID COMPACTO)
   ========================================= */
#catalogo-container + section { border-top: 1px solid var(--border-color); padding-top: 40px !important; }

.card-noticia { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; height: 100%; }
.card-noticia:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.card-noticia a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }

.card-noticia img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.card-noticia-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }

.card-noticia-date { color: #666; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.card-noticia-title { color: #fff; font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0 0 15px 0; }
.btn-ler-noticia { color: var(--primary-color); font-size: 12px; font-weight: bold; text-transform: uppercase; margin-top: auto; display: flex; align-items: center; gap: 5px; }

@media (max-width: 768px) {
    .section-blog, .legal-content-box { padding: 0 15px !important; margin-top: 30px !important; }
    .card-noticia { margin-bottom: 15px; }
    .card-noticia img { height: 160px; }
}

/* =========================================
   14. PÁGINAS INSTITUCIONAIS / TOP TICKER
   ========================================= */
.top-ticker-wrapper { background: var(--primary-color); color: #000; width: 100%; height: 34px; overflow: hidden; position: relative; border-bottom: 1px solid #c9bb00; display: flex; align-items: center; z-index: 200; }
.ticker-track { display: flex; gap: 50px; white-space: nowrap; animation: ticker-scroll 25s linear infinite; }
.top-ticker-wrapper:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.ticker-item i { font-size: 14px; color: #000; }

@keyframes ticker-scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

@media (max-width: 600px) { .ticker-track { animation-duration: 15s; } }

.legal-container { max-width: 800px; margin: 60px auto; padding: 40px; background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-color); }
.legal-container h1 { color: #fff; font-size: 32px; margin-bottom: 10px; font-family: var(--font-heading); }
.legal-container h2 { color: var(--primary-color); font-size: 20px; margin-top: 30px; margin-bottom: 15px; border-bottom: 1px solid #222; padding-bottom: 10px; }
.legal-container p { margin-bottom: 15px; color: #aaa; font-size: 15px; line-height: 1.6; }

.last-update { background: var(--primary-color); color: #000; font-size: 11px; font-weight: 900; padding: 6px 15px; border-radius: 4px; text-transform: uppercase; display: inline-block; margin-bottom: 30px; letter-spacing: 0.5px; box-shadow: 0 4px 10px rgba(255, 237, 0, 0.2); }
.highlight-box { background: #1a1a1a; padding: 20px; border-left: 4px solid var(--primary-color); border-radius: 4px; margin: 25px 0; }
.highlight-box strong { color: #fff; }

.main-page-header { margin-bottom: 60px; text-align: center; background: transparent; border: none; }
.main-logo-box { display: flex; justify-content: center; align-items: center; font-size: 55px; pointer-events: none; gap: 10px; color: var(--primary-color); }
.main-logo-box span { color: #fff; font-weight: bold; }
.main-footer-clean { padding: 60px 20px; text-align: center; border-top: 1px solid #222; margin-top: 40px; }
.btn-back-home { color: #444; font-size: 13px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; transition: color 0.3s; }
.btn-back-home:hover { color: var(--primary-color); }

/* =========================================
   15. PRIVACIDADE
   ========================================= */
.legal-container ul { margin-bottom: 20px; padding-left: 20px; color: #aaa; }
.legal-container ul li { margin-bottom: 10px; list-style-type: disc; }
.secure-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(37, 211, 102, 0.1); padding: 10px 20px; border-radius: 50px; border: 1px solid var(--success-green); color: var(--success-green); font-size: 11px; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   17. CALCULADORA DE ECONOMIA (DIAMANTE)
   ========================================= */
.calc-page-body { background: #050505; color: #eee; }
.calc-header { margin-bottom: 60px; text-align: center; }
.slogan-calc { color: var(--primary-color) !important; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; margin-top: 10px; }

/* O Card Principal */
.calc-card { 
    background: var(--bg-card); padding: 45px; border-radius: 24px; border: 1px solid var(--border-color); 
    max-width: 850px; margin: 0 auto; box-shadow: 0 30px 70px rgba(0,0,0,0.7); 
    position: relative; overflow: hidden; animation: fadeIn 0.6s ease-out;
}
.calc-card::before { 
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; 
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent); opacity: 0.3; 
}
.calc-card-header { text-align: center; margin-bottom: 40px; }
.calc-main-title { font-family: var(--font-heading); font-weight: 900; color: #fff; font-size: 28px; text-transform: uppercase; letter-spacing: -1px; margin: 0; }
.calc-sub-title { color: #bbb; font-size: 14px; margin-top: 10px; }

/* Grid de Inputs e Labels */
.dual-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 30px; }
.dual-input-row.spacing-bottom { margin-bottom: 40px; }

.label-heavy { font-size: 11px; font-weight: 900; text-transform: uppercase; display: block; margin-bottom: 12px; letter-spacing: 1px; color: #bbb !important; }
.label-sm-heavy { font-size: 10px; font-weight: 900; text-transform: uppercase; display: block; margin-bottom: 10px; color: #bbb !important; }

/* Inputs Customizados */
.input-km-hero { 
    width: 100%; padding: 20px; background: #080808; border: 1px solid #333; 
    color: var(--primary-color); border-radius: 12px; font-size: 24px; font-weight: 900; 
    text-align: center; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.input-field-dark { 
    width: 100%; padding: 15px; background: #080808; border: 1px solid #333; 
    color: #fff; border-radius: 10px; font-weight: 700; transition: 0.3s; 
}
.input-km-hero:focus, .input-field-dark:focus { 
    border-color: var(--primary-color); outline: none; background: #0c0c0c; 
    box-shadow: 0 0 20px rgba(255, 237, 0, 0.1); transform: translateY(-2px); 
}
.input-hint { color: #777; font-size: 11px; margin-top: 5px; display: block; }

/* Bloco de Resultado (Ouro) */
.result-box-gold { 
    background: linear-gradient(135deg, var(--primary-color) 0%, #E6D500 100%); color: #000; 
    padding: 40px; border-radius: 20px; text-align: center; position: relative; 
    overflow: hidden; box-shadow: 0 15px 35px rgba(255, 237, 0, 0.2); transition: transform 0.3s ease; 
}
.result-box-gold:hover { transform: scale(1.01); }
.res-label-main { font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 2px; display: block; opacity: 0.8; }
.res-value-hero { 
    font-size: 56px; font-weight: 900; display: block; margin: 10px 0; 
    font-family: var(--font-heading); letter-spacing: -2px; 
    text-shadow: 0 0 20px rgba(255, 237, 0, 0.2); 
}
.res-hr { margin: 25px 0; border-top: 1px solid rgba(0,0,0,0.15); }

.res-footer-grid { display: flex; justify-content: space-around; align-items: center; }
.res-label-sm { font-weight: 900; text-transform: uppercase; font-size: 10px; display: block; opacity: 0.7; }
.res-value-sm { font-size: 24px; font-weight: 900; }
.res-separator { width: 1px; height: 30px; background: rgba(0,0,0,0.1); }

/* CTA e Footer da Calculadora */
.cta-box-calc { margin-top: 40px; text-align: center; padding: 35px; border: 2px dashed #222; border-radius: 20px; background: rgba(255,255,255,0.02); }
.cta-text { color: #bbb; font-size: 15px; margin-bottom: 25px; line-height: 1.6; }
.btn-anunciar-calc i { margin-left: 10px; }

.calc-page-footer { margin-top: 80px; padding: 40px 20px; border-top: 1px solid #111; text-align: center; }
.btn-back-portal { color: #888; text-decoration: none; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.btn-back-portal:hover { color: var(--primary-color); }

/* Responsividade Diamante */
@media (max-width: 768px) {
    .calc-card { padding: 30px 20px; border-radius: 0; border: none; background: transparent; box-shadow: none; }
    .calc-main-title { font-size: 24px; }
    .dual-input-row { grid-template-columns: 1fr; gap: 20px; }
    .res-value-hero { font-size: 42px; }
    .res-footer-grid { flex-direction: column; gap: 20px; }
    .res-separator { display: none; }
    .btn-anunciar-calc { width: 100%; padding: 22px; font-size: 12px; }
}

/* =========================================
   18. ESTILOS FINAIS DA NOTÍCIA (GOLD MASTER V2)
   ========================================= */
.page-noticia { background-color: #050505; color: #e0e0e0; }
.article-wrapper { max-width: 800px; margin: 0 auto; padding: 0 20px; width: 100%; }
.site-header { background: #000; border-bottom: 1px solid var(--border-color); padding: 15px 0; margin-bottom: 30px; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }

.article-meta { color: var(--primary-color); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.article-meta::after { content: ""; flex-grow: 1; height: 1px; background: rgba(255, 237, 0, 0.2); }
.article-title { color: #fff; font-size: 36px; line-height: 1.2; font-weight: 900; font-family: var(--font-heading); margin-bottom: 10px; }
.article-date { font-size: 13px; color: #888; margin-bottom: 20px; }

.share-box { margin: 25px 0; padding: 15px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }

.btn-share { background: #222; color: #ccc; border: 1px solid #333; padding: 10px 20px; border-radius: 6px; font-size: 12px; font-weight: bold; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; text-decoration: none; cursor: pointer; }
.btn-share:hover { background: var(--primary-color); color: #000; border-color: var(--primary-color); }
.btn-whatsapp-share { background: rgba(37, 211, 102, 0.1); color: var(--success-green); border-color: rgba(37, 211, 102, 0.3); }
.btn-whatsapp-share:hover { background: var(--success-green); color: #fff; }

.full-width-container { width: 100%; margin: 20px 0 40px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); background: #000; }
.full-width-img { width: 100%; height: auto; display: block; }

.article-body { font-size: 18px; line-height: 1.8; color: #ccc; font-family: 'Segoe UI', sans-serif; }
.article-body p { margin-bottom: 25px; text-align: left; }
.article-body h2 { color: var(--primary-color); font-size: 24px; margin-top: 40px; margin-bottom: 20px; font-weight: 800; border-left: 4px solid var(--primary-color); padding-left: 15px; }
.article-body ul { margin-bottom: 25px; padding-left: 20px; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: var(--primary-color); text-decoration: underline; }

.article-footer-nav { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); text-align: center; }
.btn-back-blog { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; background: var(--primary-color); color: #000; font-weight: 900; font-size: 14px; border-radius: 8px; text-transform: uppercase; text-decoration: none; transition: 0.3s; }
.btn-back-blog:hover { background: #fff; transform: translateY(-3px); }

.related-section { margin-top: 60px; padding: 50px 0; background: #0a0a0a; border-top: 1px solid var(--border-color); }
.related-heading { text-align: center; color: #fff; font-size: 16px; font-weight: 900; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; border-left: none; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.related-card { background: #161616; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: 0.3s; }
.related-card img { width: 100%; height: 160px; object-fit: cover; opacity: 0.8; }
.related-card:hover img { opacity: 1; }
.related-body { padding: 15px; }
.related-title { font-size: 14px; color: #fff; line-height: 1.4; font-weight: 700; margin: 0; }

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 15px; text-align: center; }
    .article-title { font-size: 26px; line-height: 1.3; }
    .article-body { font-size: 17px; line-height: 1.7; }
    .share-box { flex-direction: column; align-items: stretch; gap: 10px; }
    .share-box div { display: flex; flex-direction: column; gap: 10px; width: 100%; }
    .btn-share { justify-content: center; width: 100%; padding: 12px; }
    .related-grid { grid-template-columns: 1fr; }
    .btn-back-blog { width: 100%; justify-content: center; }
    .article-wrapper, .blog-container { padding: 0 20px !important; }
}

/* =========================================
   19. PÁGINA DE ERRO 404 (REVISÃO DIAMANTE)
   ========================================= */
.error-page-body { background-color: #050505 !important; }

.error-wrapper { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 80vh; 
    padding: 20px; 
}

.error-card { 
    background: var(--bg-card); 
    padding: 80px 40px; 
    border-radius: 24px; 
    border: 1px solid var(--border-color); 
    max-width: 700px; 
    width: 100%;
    text-align: center; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.8); 
    position: relative;
    overflow: hidden;
}

/* Efeito de marca d'água no fundo do card */
.error-code-bg { 
    font-family: var(--font-heading); 
    font-size: 180px; 
    font-weight: 900; 
    color: rgba(255, 237, 0, 0.03); 
    line-height: 1; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 1; 
    user-select: none; 
}

.error-icon { 
    font-size: 85px; 
    color: var(--primary-color); 
    margin-bottom: 30px; 
    position: relative; 
    z-index: 2; 
    filter: drop-shadow(0 0 15px rgba(255, 237, 0, 0.3));
}

.error-title { 
    font-family: var(--font-heading); 
    font-weight: 900; 
    color: #fff; 
    font-size: 36px; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    position: relative; 
    z-index: 2; 
    letter-spacing: -1px;
}

.error-text { 
    color: #bbb; 
    font-size: 18px; 
    line-height: 1.6; 
    margin-bottom: 45px; 
    position: relative; 
    z-index: 2; 
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-footer { 
    border-top: 1px solid var(--border-color); 
    padding-top: 45px; 
    position: relative; 
    z-index: 2;
}

.link-secondary-box { 
    margin-top: 30px; 
}

.link-secondary-gold { 
    color: #888; 
    text-decoration: none; 
    font-size: 12px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    transition: 0.3s; 
}

.link-secondary-gold:hover { 
    color: var(--primary-color); 
}

/* Responsividade Diamante */
@media (max-width: 600px) {
    .error-card { padding: 60px 20px; border-radius: 0; border: none; background: transparent; }
    .error-code-bg { font-size: 120px; }
    .error-title { font-size: 26px; }
    .error-text { font-size: 16px; }
    .error-icon { font-size: 60px; }
}

/* =========================================
   20. TELA DE CHECKOUT (CONFIRMAÇÃO FINAL)
   ========================================= */
.checkout-page { 
    background: #050505; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 100vh; 
}

.checkout-wrapper { 
    width: 100%; 
    max-width: 450px; 
    padding: 20px; 
}

.checkout-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    padding: 40px 30px; 
    border-radius: 20px; 
    text-align: center; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}

.checkout-card .icon-box { 
    width: 70px; 
    height: 70px; 
    background: rgba(255, 237, 0, 0.1); 
    color: var(--primary-color); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 20px; 
    font-size: 28px; 
    border: 1px solid rgba(255, 237, 0, 0.2); 
}

.checkout-title { 
    font-family: var(--font-heading); 
    font-weight: 900; 
    color: #fff; 
    font-size: 24px; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}

.checkout-desc { 
    color: #888; 
    font-size: 14px; 
    line-height: 1.5; 
    margin-bottom: 25px; 
}

/* Padronizado com o novo checkout.php */
.price-display-box { 
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 12px;
    font-size: 42px; 
    font-weight: 900; 
    color: #fff; 
    margin-bottom: 25px; 
    font-family: var(--font-heading); 
}

.benefit-list { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 30px 0; 
    text-align: left; 
    background: #161616; 
    padding: 20px; 
    border-radius: 12px; 
}

.benefit-list li { 
    font-size: 13px; 
    color: #aaa; 
    margin-bottom: 10px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.benefit-list li:last-child { margin-bottom: 0; }
.benefit-list li i { color: var(--primary-color); font-size: 14px; width: 18px; text-align: center; }

.btn-primary-checkout { 
    width: 100%; 
    padding: 18px; 
    background: var(--primary-color); 
    color: #000; 
    border: none; 
    border-radius: 10px; 
    font-weight: 900; 
    font-size: 15px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    cursor: pointer; 
    transition: 0.3s; 
}

.btn-primary-checkout:hover { 
    background: #fff; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(255, 237, 0, 0.2); 
}

.checkout-footer-nav { margin-top: 20px; }
.checkout-footer-nav a { 
    color: #555; 
    font-size: 12px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.3s; 
}

.checkout-footer-nav a:hover { color: var(--error-red); }

/* Alerta de erro (Substitui o style inline do PHP) */
.checkout-alert-error { 
    color: var(--error-red); 
    font-size: 13px; 
    margin-bottom: 20px; 
    background: rgba(255, 85, 85, 0.1); 
    padding: 12px; 
    border-radius: 8px; 
    border: 1px solid var(--error-red); 
    font-weight: bold;
}

@media (max-width: 480px) { 
    .checkout-card { padding: 30px 20px; } 
    .price-display-box { font-size: 32px; } 
}

/* =========================================
   21. COMPLEMENTO DE LOGIN (ALINHAMENTO)
   ========================================= */
body.login-page { background: #050505; justify-content: center; align-items: center; }
.auth-header {
    text-align: center;
    margin-bottom: 20px;
    /* Força a remoção do fundo e do padding herdados do header principal */
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}
.auth-title { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 5px; font-family: var(--font-heading); }
.auth-desc { color: #888; font-size: 14px; margin-bottom: 30px; }
.g-btn-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; margin: 20px 0; min-height: 50px; }
.auth-box { padding: 40px 30px; text-align: center; box-shadow: 0 0 30px rgba(255, 237, 0, 0.05); }
.auth-box.loading { opacity: 0.5; pointer-events: none; filter: grayscale(1); transition: 0.3s; }
@media (max-width: 480px) { .auth-box { padding: 30px 20px; margin: 0 15px; } .auth-title { font-size: 20px; } }
.auth-footer { 
    margin-top: 25px; 
    font-size: 11px; 
    color: #888; 
    text-align: center; 
    line-height: 1.4; 
}

.auth-footer i { 
    margin-right: 8px; 
}

/* Estado de carregamento controlado 100% pelo CSS (Sync login.php) */
.auth-box.loading-state { 
    opacity: 0.5; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
}


/* =========================================================================================================
   DIVISOR DE REFATORAÇÃO 2026
   Abaixo desta linha estão as NOVAS classes padronizadas.
   NÃO altere a ordem das classes acima desta linha para evitar quebra de cascata.
   ========================================================================================================= */

/* =========================================
   22. REFATORAÇÃO HOME (NOVAS CLASSES 2026)
   ========================================= */

/* --- Helpers de Texto e Ícones --- */
.text-highlight { color: var(--primary-color); }
.text-success { color: var(--success-green); margin-left: 5px; font-weight: bold; }
.text-important { color: var(--primary-color) !important; }
.icon-bolt-yellow { color: var(--primary-color); margin-right: 5px; }
.icon-loc-yellow { color: var(--primary-color); margin-right: 4px; }

/* --- Header de Conteúdo (Flexbox) --- */
.content-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; gap: 15px; flex-wrap: wrap; }
.page-title { color: #fff; font-family: var(--font-heading); font-size: 18px; margin: 0; font-weight: 700; }
.results-count { font-size: 12px; color: #aaa; text-transform: uppercase; font-weight: 900; margin-top: 5px; letter-spacing: 1px; }

.sort-select { padding: 10px 15px; background: #0a0a0a; color: #fff; border: 1px solid #333; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; outline: none; transition: 0.3s; }
.sort-select:hover, .sort-select:focus { border-color: var(--primary-color); }

/* --- Estado de "Nenhum Resultado" --- */
.no-results-container { grid-column: 1/-1; text-align: center; padding: 60px 20px; background: var(--bg-card); border: 2px dashed var(--border-color); border-radius: 12px; }
.no-results-icon { font-size: 40px; color: #333; margin-bottom: 20px; }
.no-results-title { color: #fff; font-family: var(--font-heading); margin-bottom: 15px; }
.btn-reset-filters { margin-top: 10px; display: inline-block; }

/* --- Paginação (Dots) --- */
.pagination-dots { color: #444; padding: 10px; font-weight: bold; }

/* --- Nova Seção Promocional (Calculadora Home) --- */
.section-promo { max-width: 1200px; margin: 60px auto 40px auto; padding: 0 20px; }
.promo-box { background: linear-gradient(135deg, #111 0%, #050505 100%); border: 1px solid var(--border-color); border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.promo-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary-color), transparent); opacity: 0.3; }

.promo-text-col { flex: 1; min-width: 300px; }
.promo-label { color: var(--primary-color); font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; display: block; margin-bottom: 10px; }
.promo-title { color: #fff; font-size: 2.2rem; margin: 0 0 15px 0; line-height: 1.2; font-family: var(--font-heading); font-weight: 800; }
.promo-desc { color: #aaa; font-size: 1.1rem; margin: 0; max-width: 500px; line-height: 1.5; }
.promo-action-col { text-align: center; }

.btn-calc-cta { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-color); color: #000; padding: 18px 40px; border-radius: 50px; font-weight: 900; text-decoration: none; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(255, 237, 0, 0.2); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-calc-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 237, 0, 0.4); background: #fff; }
.promo-note { margin-top: 15px; color: #666; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; }
.btn-calc-cta i { margin-left: 10px; }

/* --- Seção Blog Home (Grid Limpo) --- */
.section-blog { max-width: 1200px; margin: 50px auto; padding: 0 20px; }
.section-title-yellow { color: var(--primary-color); font-size: 24px; margin-bottom: 25px; border-left: 4px solid var(--primary-color); padding-left: 15px; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }

/* --- Rodapé Extras --- */
.footer-desc { color: #aaa; font-size: 13px; line-height: 1.6; margin-top: 10px; }
.copyright-text { font-size: 11px; color: #888; margin: 0; letter-spacing: 0.5px; }
.copyright-sub { opacity: 0.6; }

/* --- Ajustes Mobile para as Novas Classes --- */
@media (max-width: 768px) {
    /* Mantém os ajustes da Promoção */
    .promo-box { flex-direction: column; text-align: center; padding: 30px 20px; }
    .promo-text-col { min-width: 100%; }
    .promo-title { font-size: 1.8rem; }
    .btn-calc-cta { width: 100%; padding: 16px; font-size: 1rem; }

    /* CORREÇÃO AQUI: Alinhamento Horizontal do Header */
    .content-header-flex { 
        flex-direction: row !important; /* Força lado a lado */
        align-items: center !important; 
        justify-content: space-between;
        gap: 10px !important; /* Espaço menor */
        flex-wrap: nowrap !important; /* Não deixa quebrar linha */
    }

    /* Ajusta o container do título para não empurrar o select */
    .content-header-flex > div {
        flex: 1; 
        min-width: 0; 
        margin-right: 5px;
    }

    /* Reduz levemente fontes para caber tudo na mesma linha */
    .page-title { font-size: 15px !important; line-height: 1.1; margin-bottom: 2px; }
    .results-count { font-size: 10px !important; margin: 0; }

    /* Compacta o Select para ficar na direita */
    .sort-select { 
        width: auto !important; /* Tamanho automático, NÃO 100% */
        font-size: 11px !important;
        padding: 8px 25px 8px 10px !important; /* Ajuste interno */
        height: 36px; /* Altura fixa para alinhar */
        flex-shrink: 0; /* Garante que ele não suma */
        background-position: right 8px center !important;
        max-width: 140px; /* Limite de largura visual */
    }
}

/* =========================================
   23. PÁGINA DE DETALHES (REVISÃO 2026)
   ========================================= */
.detail-page-body { background: #050505; color: #eee; }

.btn-back { color: #bbb; text-decoration: none; font-weight: 800; font-size: 12px; transition: color 0.3s; }
.btn-back:hover { color: var(--primary-color); }

.not-found-box { text-align: center; padding: 100px 20px; }
.not-found-icon { font-size: 50px; color: #333; margin-bottom: 20px; }
.not-found-title { color: #fff; font-family: var(--font-heading); }
.not-found-text { color: #888; }
.btn-not-found { display: inline-block; margin-top: 20px; }

/* --- Galeria e Imagens --- */
.main-img-box { position: relative; border-radius: 15px; overflow: hidden; border: 1px solid var(--border-color); cursor: zoom-in; background: #000; }

.view-img { width: 100%; height: auto; display: block; transition: opacity 0.2s; }
.view-img.loading-img { opacity: 0.4; filter: blur(2px); } /* Efeito de carregamento via CSS */

.zoom-hint { position: absolute; bottom: 15px; right: 15px; background: rgba(0,0,0,0.8); color: #fff; padding: 8px 15px; border-radius: 50px; font-size: 11px; font-weight: bold; pointer-events: none; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); display: flex; align-items: center; gap: 5px; }

.thumbs-container { margin-top: 15px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }

.thumb-item { border: 2px solid #333; transition: all 0.2s ease; border-radius: 8px; cursor: pointer; }
.thumb-item.active { border-color: var(--primary-color); opacity: 1; }

.thumb-img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; display: block; }

/* --- Descrição --- */
.desc-box { margin-top: 30px; }
.desc-title-yellow { color: var(--primary-color); font-family: var(--font-heading); font-size: 20px; text-transform: uppercase; font-weight: 900; }
.desc-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 15px;
    white-space: pre-line;
    /* A mágica acontece aqui */
    word-break: break-word;
}

/* --- Badges e Títulos --- */
.badges-row { display: flex; gap: 10px; margin-bottom: 15px; }
.badge-id { background: #222; color: #bbb; font-size: 10px; padding: 4px 8px; border-radius: 4px; font-weight: 800; }
.badge-type { background: rgba(255,237,0,0.1); color: var(--primary-color); font-size: 10px; padding: 4px 8px; border-radius: 4px; font-weight: 800; border: 1px solid rgba(255,237,0,0.2); }

.vehicle-title-lg { font-family: var(--font-heading); font-weight: 900; font-size: 2.2rem; color: #fff; margin-bottom: 10px; line-height: 1.1; }
.location-text-lg { color: #bbb; font-size: 15px; font-weight: 600; }
.price-display-lg { font-size: 2.8rem; font-weight: 900; color: var(--primary-color); margin: 25px 0; letter-spacing: -1px; }

/* --- Botão WhatsApp (CSS Clean) --- */
.btn-whatsapp-lg { background: var(--success-green); color: #fff; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px; border-radius: 15px; font-weight: 900; text-decoration: none; margin-bottom: 30px; font-size: 16px; transition: transform 0.2s ease; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2); }
.btn-whatsapp-lg:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
.btn-whatsapp-lg i { font-size: 24px; margin-right: 5px; } /* Controle do ícone aqui */

/* --- Especificações --- */
.spec-grid-box { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; background: var(--bg-card); padding: 25px; border-radius: 20px; border: 1px solid var(--border-color); }
.spec-label-sm { display: block; font-size: 10px; text-transform: uppercase; font-weight: 900; margin-bottom: 6px; letter-spacing: 1px; color: #bbb !important; }
.spec-val-bold { color: #fff; font-weight: 800; }

.blind-alert-box { grid-column: 1 / -1; margin-top: 5px; background: rgba(37,211,102,0.05); padding: 10px; border-radius: 10px; border: 1px solid rgba(37,211,102,0.1); }
.blind-alert-text { color: var(--success-green); font-weight: 800; font-size: 13px; }

/* --- Vendedor --- */
.seller-box-detail { margin-top: 20px; background: #0a0a0a; border: 1px solid var(--border-color); padding: 20px; border-radius: 20px; }
.seller-header-flex { display: flex; align-items: center; gap: 15px; }
.seller-avatar-circle { width: 55px; height: 55px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 24px; border: 1px solid #333; }
.seller-name-lg { color: #fff; font-weight: 900; font-size: 16px; }
.seller-since-sm { color: #777; font-size: 11px; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.seller-cnpj { color: #bbb; font-size: 11px; margin-top: 6px; font-weight: 600; }

/* --- Modal --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); display: none; justify-content: center; align-items: center; z-index: 9999; }
.modal-overlay.open { display: flex; }
.modal-img { max-width: 95%; max-height: 95vh; object-fit: contain; box-shadow: 0 0 50px rgba(0,0,0,1); }
.modal-close-btn { position: absolute; top: 25px; right: 25px; color: #fff; font-size: 45px; cursor: pointer; font-weight: 100; line-height: 1; }

@media (max-width: 600px) { 
    .vehicle-title-lg { font-size: 1.8rem; } 
    .price-display-lg { font-size: 2.2rem; } 
    .btn-whatsapp-lg { font-size: 14px; } 
}

/* =========================================
   24. PÁGINA ANUNCIAR (FORMULÁRIOS 2026)
   ========================================= */
.ad-form-box { max-width: 850px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 15px; padding: 30px; }

.user-data-header { background: rgba(255,237,0,0.05); padding: 25px; border-radius: 12px; border: 1px solid #333; margin-bottom: 30px; }
.user-data-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.user-data-title { color: var(--primary-color); margin: 0; font-size: 16px; font-weight: 800; text-transform: uppercase; }
.user-email-badge { background: rgba(255,255,255,0.05); color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 11px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.1); }
.icon-lock-yellow { color: var(--primary-color); font-size: 10px; }

.input-locked { background: #1a1a1a !important; color: #888 !important; cursor: not-allowed; border-color: #222 !important; }
.tech-highlight-box { background: #161616; padding: 15px; border-radius: 8px; border: 1px solid #333; margin-bottom: 20px; }
.label-tech { color: var(--primary-color) !important; font-weight: 900 !important; }

/* --- Upload de Fotos (Ajuste Fino 2026) --- */
.upload-section { margin-top: 30px; }
.upload-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 15px; }

.upload-slot { 
    position: relative; 
    background: #0a0a0a; 
    border: 2px dashed #333; 
    aspect-ratio: 1; 
    border-radius: 12px; 
    overflow: hidden; 
    cursor: pointer; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    color: #555; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-slot:hover { 
    border-color: var(--primary-color); 
    color: var(--primary-color); 
    background: rgba(255, 237, 0, 0.02); 
    transform: translateY(-2px);
}

.upload-slot.main-photo { 
    grid-column: span 5; 
    aspect-ratio: 16/7; 
    border-style: solid; 
    border-color: #444; 
}

/* Imagem de Prévia com animação */
.preview-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 2; 
    display: none; 
}
.preview-img.show { 
    display: block !important; 
    animation: fadeIn 0.4s ease;
}

.upload-icon { font-size: 24px; z-index: 1; transition: 0.3s; }
.upload-icon.hide-element { display: none !important; }

.badge-cover { 
    position: absolute; 
    bottom: 15px; 
    left: 15px; 
    z-index: 3; 
    background: var(--primary-color); 
    color: #000; 
    font-size: 10px; 
    padding: 4px 12px; 
    border-radius: 4px; 
    font-weight: 900; 
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* --- Campos Adicionais --- */
.form-group-spacing { margin-top: 20px; }
.desc-area { height: 100px; resize: vertical; }

.checkbox-wrapper { margin: 20px 0; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; color: #fff; font-weight: 600; }
.checkbox-input { width: 18px; height: 18px; accent-color: var(--primary-color); }
.btn-submit-full { width: 100%; margin-top: 20px; }

/* Helper Global para o JS */
.hide-element { display: none !important; }

/* --- Responsividade --- */
@media (max-width: 600px) {
    .upload-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .upload-slot.main-photo { grid-column: span 3; aspect-ratio: 16/9; }
    .user-data-flex { flex-direction: column; align-items: flex-start; }
    .ad-form-box { padding: 20px; }
}

/* =========================================
   25. PAINEL DO USUÁRIO (ADMIN 2026)
   ========================================= */
.painel-title { color: #fff; font-weight: 800; margin: 0; }
.section-profile { max-width: 600px; margin: 0 auto; }

.ad-card-painel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
.ad-card-painel:hover { border-color: #444; }

.painel-thumb-box { position: relative; width: 100%; height: 160px; background: #000; overflow: hidden; }
.status-badge { position: absolute; top: 10px; left: 10px; font-size: 9px; font-weight: 900; padding: 4px 8px; border-radius: 4px; }

/* BRIDGE CLASSES (Para o novo PHP) */
.status-badge.st-online { background: var(--success-green); color: #fff; font-weight: 900; }
.status-badge.st-pausado { background: #444; color: #fff; font-weight: 900; }
.status-badge.st-pendente { background: var(--primary-color); color: #000; font-weight: 900; }

.ad-body-painel { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.ad-price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.expire-alert { font-size: 11px; margin-top: 8px; font-weight: bold; }

.action-buttons-grid { margin-top: 15px; display: flex; flex-direction: column; gap: 8px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.btn-edit { display: flex; align-items: center; justify-content: center; height: 35px; padding: 0 18px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; font-size: 11px; font-weight: 800; color: #fff !important; text-transform: uppercase; transition: 0.3s; text-decoration: none; }
.btn-edit:hover { background: #222; border-color: var(--primary-color); color: var(--primary-color) !important; }

.btn-remove-full { border: none; width: 100%; cursor: pointer; background: transparent; border: 1px solid var(--error-red); color: var(--error-red); font-size: 11px; height: 35px; border-radius: 6px; font-weight: bold; text-transform: uppercase; transition: 0.3s; }
.btn-remove-full:hover { background: var(--error-red); color: #fff; }

.profile-title { color: var(--primary-color); margin-bottom: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.input-readonly { opacity: 0.6; background: #222 !important; cursor: not-allowed; }
.btn-save-profile { width: 100%; border: none; margin-top: 10px; }

.danger-zone { border-color: #511; margin-top: 30px; background: rgba(50,0,0,0.2); }
.danger-title { color: var(--error-red); margin-bottom: 10px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.danger-desc { font-size: 12px; color: #bbb; margin-bottom: 15px; }
.btn-delete-account { width: 100%; border-color: var(--error-red); }

.alert-box-success { padding: 15px; background: rgba(37, 211, 102, 0.1); border: 1px solid var(--success-green); color: var(--success-green); border-radius: 8px; margin-bottom: 20px; text-align: center; font-weight: bold; }
.alert-box-error { padding: 15px; background: #331111; border: 1px solid var(--error-red); color: var(--error-red); border-radius: 8px; margin-bottom: 20px; text-align: center; font-weight: bold; }

/* =========================================
   26. PÁGINA EDITAR (GERENCIADOR 2026)
   ========================================= */
.edit-wrapper { max-width: 850px; margin: 40px auto; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; }
.edit-header-badge { text-align: center; margin-bottom: 30px; }
.badge-yellow-pill { background: var(--primary-color); color: #000; padding: 6px 20px; border-radius: 30px; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

.error-box { color: var(--error-red); background: rgba(255,85,85,0.1); padding: 15px; border-radius: 8px; border: 1px solid var(--error-red); margin-bottom: 25px; font-weight: bold; display: flex; align-items: center; gap: 10px; }
.tech-box-edit { background: rgba(255,237,0,0.05); padding: 20px; border-radius: 10px; border: 1px solid #333; margin-bottom: 25px; }
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

.photos-separator { margin-top: 35px; border-top: 1px solid #222; padding-top: 25px; }
.photo-slot-edit { position: relative; background: #0a0a0a; border: 2px dashed #222; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.photo-slot-edit:hover { border-color: var(--primary-color); }

.main-slot-lg { height: 240px; margin-bottom: 15px; }
.gallery-grid-edit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-slot-sm { height: 120px; }
.img-preview-fill { width: 100%; height: 100%; object-fit: cover; }

.btn-remove-photo { position: absolute; top: 5px; right: 5px; background: rgba(255, 50, 50, 0.9); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; z-index: 10; border: 1px solid #fff; transition: 0.2s; }
.btn-remove-photo:hover { transform: scale(1.1); }

.desc-area-edit { height: 140px; resize: vertical; }
.checkbox-blindado-box { margin: 30px 0; }
.checkbox-blindado-label { display: flex; align-items: center; gap: 12px; cursor: pointer; color: #fff; background: #1a1a1a; padding: 15px; border-radius: 8px; border: 1px solid #333; transition: 0.3s; }
.checkbox-blindado-label:hover { border-color: #444; }
.btn-save-edit { width: 100%; height: 60px; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; }

/* Controladores Globais (Sync JS) */
.show-flex { display: flex !important; }
.show-block { display: block !important; }
.hide-element { display: none !important; }

@media(max-width: 600px) {
    .edit-wrapper { padding: 20px; margin: 20px auto; }
    .gallery-grid-edit { grid-template-columns: repeat(2, 1fr); }
    .form-row-grid { grid-template-columns: 1fr; gap: 15px; }
}


/* No style.css - Seção 26 (PÁGINA EDITAR) */

/* Badge da Capa (Ajuste Diamante) */
.photo-badge-edit {
   position: absolute;
   bottom: 10px;
   left: 10px;
   z-index: 3;
   background: var(--primary-color);
   color: #000;
   font-weight: 900;
   font-size: 10px;
   padding: 4px 10px;
   border-radius: 4px;
   text-transform: uppercase;
}

/* Espaçamento dos blocos */
.edit-section-spacing {
   margin-top: 30px;
}

/* Estilo do Checkbox Blindado */
.input-check-gold {
   width: 20px;
   height: 20px;
   accent-color: var(--primary-color);
   cursor: pointer;
}

.label-text-gold {
   font-weight: 700;
   font-size: 13px;
   text-transform: uppercase;
}

/* =========================================
   27. PÁGINA DE BLOG (NOTÍCIAS 2026)
   ========================================= */
.blog-page-body { background: #050505; color: #eee; }
.blog-header { margin-bottom: 60px; text-align: center; }
.slogan-text { color: var(--primary-color) !important; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; margin-top: 10px; }

/* Breadcrumb purificado */
.breadcrumb-nav { max-width: 1200px; margin: 0 auto 30px; padding: 0 20px; font-size: 11px; color: #bbb; text-transform: uppercase; font-weight: 800; letter-spacing: 0.5px; }
.breadcrumb-link { color: #bbb; text-decoration: none; transition: color 0.3s; }
.breadcrumb-link:hover { color: #fff; }
.breadcrumb-active { color: var(--primary-color); }
.breadcrumb-sep { margin: 0 10px; color: #444; }

/* Estado Vazio */
.empty-blog-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 40px; color: #333; margin-bottom: 20px; }
.empty-title { color: #fff; font-family: var(--font-heading); }
.empty-desc { color: #888; }

/* Grid e Layout de Cards */
.blog-grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }

.blog-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 15px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.blog-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }

.card-img-wrapper { height: 220px; overflow: hidden; position: relative; background: #0a0a0a; }
.card-img-cover { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.blog-card:hover .card-img-cover { transform: scale(1.05); }

.date-badge { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.8); color: var(--primary-color); font-size: 10px; font-weight: 900; padding: 5px 10px; border-radius: 4px; backdrop-filter: blur(5px); border: 1px solid rgba(255,237,0,0.2); }

.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-title { color: #fff; font-size: 1.3rem; margin: 0 0 15px 0; font-family: var(--font-heading); font-weight: 800; line-height: 1.3; }
.blog-excerpt { color: #bbb; font-size: 14px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.read-more-btn { color: var(--primary-color); font-weight: 900; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; margin-top: auto; }

/* Paginação Diamond */
.pagination-container { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 60px; }
.pagination-btn { padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 800; transition: 0.3s; border: 1px solid #222; background: #111; color: #bbb; }
.pagination-btn:hover { border-color: var(--primary-color); color: #fff; }
.pagination-btn.active { background: var(--primary-color); color: #000; border-color: var(--primary-color); }
.pagination-dots { color: #444; padding: 0 5px; font-weight: bold; }

/* Rodapé do Blog purificado */
.blog-footer-cta { margin-top: 80px; padding: 60px 20px; border-top: 1px solid #111; text-align: center; }
.btn-cta-vehicles { background: rgba(255,237,0,0.05); border: 1px solid #333; color: #fff; text-decoration: none; padding: 18px 35px; border-radius: 50px; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; transition: 0.3s; display: inline-flex; align-items: center; gap: 12px; }
.btn-cta-vehicles:hover { background: rgba(255,237,0,0.15); border-color: var(--primary-color); color: var(--primary-color); }
.btn-cta-vehicles i { color: var(--primary-color); font-size: 14px; }

/* Media Queries Consolidadas */
@media (max-width: 600px) {
    .blog-grid-layout { grid-template-columns: 1fr; }
    .card-img-wrapper { height: 200px; }
    .blog-header { margin-bottom: 40px; }
    .blog-title { font-size: 1.2rem; }
}

/* =========================================
   28. PÁGINA GLOSSÁRIO (DICIONÁRIO 2026)
   ========================================= */
.glossary-page-body { background: #050505; color: #eee; font-family: 'Inter', sans-serif; }
.glossary-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

/* Cabeçalho e Identidade */
.glossary-header { margin-bottom: 60px; text-align: center; }
.glossary-slogan { 
    color: var(--primary-color) !important; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 12px; 
    margin-top: 10px; 
}

/* Navegação Breadcrumb (Eliminação de Inline) */
.breadcrumb-nav-glossary { 
    margin-bottom: 40px; 
    font-size: 11px; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.gloss-bread-link { color: #888; text-decoration: none; transition: 0.3s; }
.gloss-bread-link:hover { color: #fff; }
.gloss-bread-sep { margin: 0 10px; color: #444; }
.gloss-bread-active { color: var(--primary-color); }

/* Estados Vazios */
.glossary-empty-state { text-align: center; padding: 100px 20px; color: #555; }
.glossary-empty-icon { font-size: 50px; margin-bottom: 25px; opacity: 0.3; }
.glossary-empty-title { color: #fff; font-family: var(--font-heading); font-weight: 900; margin-bottom: 10px; }

/* Grid de Termos Técnicos */
.glossary-grid-layout { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px; 
}

/* Card do Glossário */
.glossario-card-item { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    padding: 35px; 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}
.glossario-card-item:hover { 
    border-color: var(--primary-color); 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(255, 237, 0, 0.08); 
}

.termo-title-main { 
    color: var(--primary-color); 
    font-family: var(--font-heading); 
    font-weight: 900; 
    font-size: 1.6rem; 
    margin: 0 0 15px 0; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.termo-desc-preview { 
    color: #aaa; 
    line-height: 1.7; 
    font-size: 1rem; 
    margin-bottom: 30px; 
}

/* Botões de Ação */
.btn-glossary-action { 
    text-align: center; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    background: rgba(255, 237, 0, 0.1); 
    color: var(--primary-color); 
    padding: 15px; 
    border-radius: 10px; 
    font-weight: 900; 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: 0.3s; 
}
.btn-glossary-action i { font-size: 10px; transition: 0.3s; }
.btn-glossary-action:hover { background: var(--primary-color); color: #000; }
.btn-glossary-action:hover i { transform: translateX(5px); }

/* Rodapé de Navegação */
.glossary-footer-nav { 
    margin-top: 100px; 
    padding: 60px 0; 
    border-top: 1px solid #1a1a1a; 
    text-align: center; 
}
.btn-glossary-return { 
    color: #888; 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    transition: color 0.3s; 
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-glossary-return:hover { color: var(--primary-color); }

/* Responsividade Otimizada */
@media (max-width: 768px) {
    .glossary-grid-layout { grid-template-columns: 1fr; }
    .glossary-container { padding: 20px; }
    .termo-title-main { font-size: 1.4rem; }
    .glossario-card-item { padding: 25px; }
}

/* =========================================
   29. PÁGINA CONTATO (PADRÃO INSTITUCIONAL)
   ========================================= */
/* Nota: O Header e Breadcrumb herdam estilos das seções 27 e 31 para manter a unidade visual */

.contact-grid-layout { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    gap: 30px; 
    margin-top: 10px;
    animation: fadeIn 0.5s ease-out;
}

.contact-card { 
    padding: 45px; 
    border-radius: 20px; 
    border: 1px solid var(--border-color); 
    background: var(--bg-card);
    transition: 0.3s;
}
.contact-card:hover { border-color: #333; }

/* Títulos e Tipografia */
.contact-title { font-family: var(--font-heading); font-weight: 900; color: #fff; font-size: 2.2rem; margin-bottom: 20px; letter-spacing: -1px; }
.contact-desc { color: #888; margin-bottom: 40px; line-height: 1.6; font-size: 1.05rem; }

.contact-item-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.contact-text-val { color: #eee; font-size: 1rem; font-weight: 600; }

.icon-yellow-marker { color: var(--primary-color); font-size: 18px; margin-top: 5px; width: 25px; text-align: center; }
.contact-label { display: block; font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; margin-bottom: 4px; }

/* Card de Destaque WhatsApp */
.zap-card-style { 
    background: linear-gradient(145deg, #161616 0%, #0a0a0a 100%); 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    border-color: rgba(37, 211, 102, 0.1);
}

.zap-icon-circle { 
    width: 80px; height: 80px; background: rgba(37, 211, 102, 0.1); color: var(--success-green); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    margin-bottom: 25px; font-size: 40px; border: 1px solid rgba(37, 211, 102, 0.2); 
    transition: 0.3s;
}
.zap-card-style:hover .zap-icon-circle { transform: scale(1.1); color: #fff; background: var(--success-green); }

.zap-title { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; margin-bottom: 10px; }
.zap-desc { color: #666; font-size: 0.95rem; margin-bottom: 30px; line-height: 1.4; }

/* Botão WhatsApp Diamond */
.btn-whatsapp-gold { 
    background: var(--success-green); color: #fff; text-decoration: none; padding: 20px 30px; 
    border-radius: 12px; font-weight: 900; font-size: 1.1rem; width: 100%; 
    display: flex; align-items: center; justify-content: center; gap: 12px; 
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-whatsapp-gold:hover { background: #20b857; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3); }

/* Responsividade */
@media (max-width: 850px) {
    .contact-grid-layout { grid-template-columns: 1fr; gap: 25px; }
    .contact-card { padding: 30px; }
    .contact-title { font-size: 1.8rem; }
}


/* =========================================
   30. PÁGINAS LEGAIS (TERMOS/PRIVACIDADE)
   ========================================= */
.legal-content-box { max-width: 850px; margin: 40px auto; background: var(--bg-card); padding: 50px 40px; border-radius: 20px; border: 1px solid var(--border-color); }
.update-date-badge { background: rgba(255, 237, 0, 0.1); color: var(--primary-color); padding: 6px 15px; border-radius: 50px; font-size: 11px; font-weight: 900; text-transform: uppercase; margin-bottom: 30px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 237, 0, 0.2); }

.legal-title-main { font-family: var(--font-heading); font-weight: 900; color: #fff; margin-bottom: 25px; font-size: 38px; line-height: 1.1; }
.legal-section-title { color: var(--primary-color); font-size: 22px; margin: 40px 0 20px; font-family: var(--font-heading); font-weight: 800; border-left: 4px solid var(--primary-color); padding-left: 20px; }
.legal-text { color: #aaa; line-height: 1.8; margin-bottom: 20px; font-size: 16px; text-align: justify; }

.security-warning-box { background: rgba(255, 237, 0, 0.05); border: 1px dashed var(--primary-color); padding: 25px; border-radius: 12px; margin: 35px 0; }
.warning-header { color: var(--primary-color); display: block; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }
.warning-text { margin: 0; font-size: 14px; color: #eee; line-height: 1.6; }

.legal-list { padding-left: 20px; margin-bottom: 20px; }
.legal-list-item { color: #aaa; margin-bottom: 10px; line-height: 1.6; }

.legal-footer-note { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); color: #555; font-size: 14px; }
.link-gold { color: var(--primary-color); text-decoration: none; font-weight: bold; transition: 0.3s; }
.link-gold:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .legal-content-box { padding: 30px 20px; border-radius: 0; border: none; margin-top: 0; }
    .legal-title-main { font-size: 28px; }
    .legal-section-title { font-size: 18px; }
}

/* =========================================
   31. PÁGINA DE LEITURA (REVISÃO DIAMANTE)
   ========================================= */
.page-noticia { background-color: #050505; color: #e0e0e0; }

/* Header Centralizado - Correção de Eixo */
.page-noticia .site-header { 
    background: #000; 
    border-bottom: 1px solid var(--border-color); 
    padding: 30px 0; 
}
.page-noticia .header-inner { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
}
.page-noticia .logo-slogan { 
    color: var(--primary-color); 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 12px; 
    margin: 0;
}

/* Estrutura e Tipografia */
.article-wrapper { max-width: 800px; margin: 0 auto; padding: 60px 20px; width: 100%; }
.article-title { color: #fff; font-size: 46px; line-height: 1.1; font-weight: 900; font-family: var(--font-heading); margin-bottom: 40px; letter-spacing: -1.5px; }
.article-meta { color: var(--primary-color); font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

/* Corpo da Notícia (Inteligência para Conteúdo do Banco) */
.article-body { font-size: 19px; line-height: 1.8; color: #ccc; }
.article-body p { margin-bottom: 25px; }
.article-body h2, .article-body h3 { color: var(--primary-color); margin: 45px 0 20px; font-family: var(--font-heading); font-weight: 900; }
.article-body ul, .article-body ol { margin: 20px 0 30px 30px; }
.article-body li { margin-bottom: 12px; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; border: 1px solid var(--border-color); }

/* Navegação e Breadcrumb */
.breadcrumb-sep { margin: 0 8px; color: #444; }
.breadcrumb-link { color: #bbb; text-decoration: none; transition: 0.3s; }
.breadcrumb-link:hover { color: #fff; }
.breadcrumb-active { color: var(--primary-color); font-weight: 800; }

/* Media e Social */
.full-width-container { width: 100%; margin-bottom: 45px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 25px 50px rgba(0,0,0,0.6); }
.full-width-img { width: 100%; height: auto; display: block; }

.share-box { text-align: center; margin-top: 50px; padding: 40px; background: #0a0a0a; border-radius: 20px; border: 1px solid #111; }
.share-btn-zap { background: var(--success-green); color: #fff; padding: 18px 35px; border-radius: 50px; text-decoration: none; font-weight: 900; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; font-size: 14px; }
.share-btn-zap:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }

/* Rodapé de Leitura */
.main-footer-clean { padding: 60px 20px; background: #000; border-top: 1px solid #111; text-align: center; }
.footer-copyright-text { color: #aaa; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.8; }

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .article-title { font-size: 32px; }
    .article-body { font-size: 17px; }
    .page-noticia .logo { font-size: 30px !important; }
}

/* =========================================================================================================
   32. ADMIN CORE & TABELAS
   ========================================================================================================= */

.admin-page-body { background: #050505; color: #eee; font-family: 'Inter', sans-serif; }
.admin-wrapper-main { max-width: 1280px; margin: 0 auto; padding: 20px; }

/* Header e Brand */
.admin-top-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.admin-logo-brand { font-family: var(--font-heading); font-weight: 900; font-size: 22px; }
.admin-logo-brand i { color: var(--primary-color); margin-right: 5px; }
.admin-logo-brand .highlight-core { color: var(--primary-color); }
.admin-logout-btn { color: var(--error-red); font-weight: 900; text-decoration: none; font-size: 12px; text-transform: uppercase; transition: 0.3s; }
.admin-logout-btn:hover { filter: brightness(1.2); }

/* Alertas */
.admin-alert-success { background: var(--success-green); color: #000; padding: 15px; border-radius: 8px; margin: 20px 0; font-weight: 900; text-align: center; text-transform: uppercase; font-size: 12px; }

/* Navegação */
.admin-nav-tabs { display: flex; gap: 10px; margin: 30px 0; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; flex-wrap: wrap; }
.admin-nav-tabs .nav-btn { background: #111; color: #888; border: 1px solid var(--border-color); padding: 12px 20px; border-radius: 8px; cursor: pointer; font-weight: 800; font-size: 11px; text-transform: uppercase; transition: 0.3s; }
.admin-nav-tabs .nav-btn:hover, .admin-nav-tabs .nav-btn.active { background: var(--primary-color); color: #000; border-color: var(--primary-color); }

/* Tabelas Administrativas */
.admin-table-core { width: 100%; border-collapse: collapse; background: #111; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); margin-bottom: 30px; }
.admin-table-core th { background: #161616; padding: 15px; text-align: left; font-size: 10px; text-transform: uppercase; color: #666; letter-spacing: 1px; border-bottom: 1px solid var(--border-color); }
.admin-table-core td { padding: 15px; border-bottom: 1px solid var(--border-color); font-size: 13px; color: #aaa; }
.admin-table-core .td-id { color: #555; font-weight: 800; }
.admin-table-core .td-expire { color: var(--primary-color); font-weight: bold; }
.admin-table-core .empty-state-msg { text-align: center; padding: 50px; color: #444; font-weight: 700; }

/* Botões e Links de Ação */
.preview-link { color: var(--primary-color); font-size: 11px; text-decoration: none; font-weight: 700; }
.preview-link:hover { text-decoration: underline; }
.btn-approve-action { background: rgba(37, 211, 102, 0.1); color: var(--success-green); border: 1px solid rgba(37, 211, 102, 0.2); padding: 10px 15px; border-radius: 4px; font-size: 10px; font-weight: 900; cursor: pointer; transition: 0.3s; }
.btn-approve-action:hover { background: var(--success-green); color: #000; }
.btn-trash-action { background: none; border: none; color: var(--error-red); cursor: pointer; font-size: 14px; transition: 0.3s; }
.btn-trash-action:hover { transform: scale(1.2); }

/* Formulários Admin */
.admin-form-container { background: #111; padding: 30px; border-radius: 15px; border: 1px solid var(--border-color); margin-bottom: 40px; }
.admin-form-title { color: var(--primary-color); margin-bottom: 25px; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; font-family: var(--font-heading); }
.admin-input-field { width: 100%; padding: 14px; background: #080808; border: 1px solid #333; color: #fff; border-radius: 8px; margin-bottom: 20px; font-family: inherit; transition: 0.3s; }
.admin-input-field:focus { border-color: var(--primary-color); outline: none; }
.admin-textarea-field { width: 100%; padding: 14px; background: #080808; border: 1px solid #333; color: #fff; border-radius: 8px; margin-bottom: 20px; font-family: inherit; resize: vertical; }
.admin-textarea-field.blog-area { min-height: 300px; }
.admin-textarea-field.term-area { min-height: 120px; }
.admin-grid-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.admin-label-hint { font-size: 11px; color: #888; display: block; margin-bottom: 8px; text-transform: uppercase; font-weight: 700; }
.btn-admin-save { background: var(--primary-color); color: #000; font-weight: 900; border: none; padding: 18px 30px; border-radius: 8px; cursor: pointer; text-transform: uppercase; width: 100%; transition: 0.3s; letter-spacing: 1px; }
.btn-admin-save:hover { background: #fff; transform: translateY(-2px); }

/* Helpers */
.text-white { color: #fff !important; }
.inline-form { display: inline; }

/* =========================================
   33. ACESSIBILIDADE & ESTADOS
   ========================================= */
/* Elemento invisível para leitores de tela */
.sr-announcer-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Feedback visual de carregamento AJAX */
#catalogo-container.ajax-loading-state {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Utilitários de Estado */
.card-paused { opacity: 0.7; filter: grayscale(0.5); }
.admin-empty-full { grid-column: 1 / -1; text-align: center; padding: 40px; color: #888; border: 2px dashed #333; border-radius: 12px; }

/* Helpers de Texto */
.text-danger { color: var(--error-red) !important; }
.text-muted { color: #888 !important; }
.text-important { color: var(--primary-color) !important; }

/* Visibilidade Dinâmica */
.show-flex { display: flex !important; }
.show-block { display: block !important; }
.hide-element { display: none !important; }

/* Lock de Scroll para Modais */
.body-no-scroll { overflow: hidden !important; }

/* =========================================
   34. SCROLLBAR PERSONALIZADA
   ========================================= */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
    border: 1px solid #111;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* =========================================
   35. COMPLEMENTO FINAL (BOTÕES DE AÇÃO)
   ========================================= */
.btn-submit-ad {
    background: var(--success-green);
    color: #fff;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-submit-ad:hover {
    background: #20b857;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-submit-ad:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Ajuste fino para os selects no mobile */
select.auth-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFED00%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

/* =========================================
   36. GLOSSÁRIO DETALHE (SYNC DIAMANTE)
   ========================================= */
.term-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.term-category-label {
    color: #888;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
    display: inline-block;
    margin-bottom: 15px;
}

.term-article-view .blog-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -2px;
    margin-top: 10px;
    text-transform: uppercase;
}

.term-cta-box {
    margin-top: 60px;
    padding: 50px 30px;
    background: linear-gradient(145deg, #161616 0%, #0a0a0a 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.term-cta-box:hover {
    border-color: rgba(255, 237, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.cta-text {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .term-article-view .blog-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .term-cta-box {
        padding: 40px 20px;
    }
}

/* =========================================
   37. UNIFICAÇÃO MOBILE DIAMANTE (FINAL)
   ========================================= */
@media (max-width: 768px) {
    /* 1. CONTAINERS */
    .blog-container, 
    .glossary-container, 
    .legal-content-box, 
    .article-wrapper,
    .term-box-mobile {
        padding: 0 15px !important;
        margin-top: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .legal-content-box {
        padding: 35px 20px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        background: #0a0a0a !important; 
        margin-bottom: 30px !important;
    }

    /* 2. TIPOGRAFIA */
    .article-title, 
    .legal-title-main, 
    .term-title, 
    .contact-title,
    .termo-header-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        text-align: left !important;
        letter-spacing: -0.5px !important;
        word-wrap: break-word;
    }

    /* 3. GRIDS */
    .blog-grid-layout, 
    .glossary-grid-layout, 
    .contact-grid-layout, 
    .related-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* 4. LEITURA */
    .article-body, 
    .legal-text, 
    .termo-desc-preview {
        font-size: 17px !important;
        line-height: 1.75 !important;
        color: #ccc !important;
    }

    /* 5. BOTÕES */
    .btn-ler-noticia, 
    .btn-glossary-action, 
    .btn-whatsapp-gold, 
    .btn-back-blog, 
    .btn-back-simple,
    .btn-anunciar-full,
    .share-btn-zap {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 18px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
        text-transform: uppercase;
        font-weight: 900;
    }

    /* 6. IMAGENS */
    .full-width-container {
        margin: 20px -20px 30px -20px !important;
        width: calc(100% + 40px) !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 400px) {
    .article-title, .legal-title-main, .term-title { font-size: 22px !important; }
    .legal-content-box { padding: 25px 15px !important; }
}

/* =========================================
   38. LANDING PAGE CAPTAÇÃO (SIMETRIA DIAMANTE)
   ========================================= */
.cap-container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; }

/* --- Identidade Visual (Animação do Raio em TODO o site) --- */
.logo i, .trust-title-logo i, .footer-brand i, .seal-icon-lg i.fa-bolt { 
    animation: bolt-glow 2s ease-in-out infinite; 
    color: var(--primary-color); 
}
.ponto-net { color: var(--primary-color); }

/* --- Logos da Landing Page (Ajuste específico para não quebrar o topo) --- */
.trust-title-logo, .footer-brand { 
    font-family: var(--font-heading); 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: -1px; 
    color: #fff; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
}

/* --- Hero Section (Impacto Desktop) --- */
.cap-hero { 
    text-align: center; padding: 120px 20px; 
    background: radial-gradient(circle at 50% 0%, rgba(255,237,0,0.12) 0%, transparent 70%); 
    border-bottom: 1px solid var(--border-color);
}
.cap-title { font: 900 4rem var(--font-heading); color: #fff; margin-bottom: 25px; line-height: 1.05; letter-spacing: -2px; }
.cap-subtitle { font-size: 1.3rem; color: #aaa; max-width: 650px; margin: 0 auto 45px; line-height: 1.6; }

/* --- Botão Principal --- */
.btn-cap-main { 
    background: var(--primary-color); color: #000; font: 900 1.4rem var(--font-heading); 
    padding: 22px 60px; border-radius: 50px; text-transform: uppercase; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 10px 30px rgba(255, 237, 0, 0.2); display: inline-flex; align-items: center; gap: 12px; 
}
.btn-cap-main:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(255, 237, 0, 0.4); background: #fff; }

/* --- Grids Desktop (3 Colunas) --- */
.cap-steps, .cap-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 100px 0; }
.step-item { position: relative; text-align: center; padding: 20px; }
.step-number { font: 900 6rem var(--font-heading); color: rgba(255,237,0,0.05); position: absolute; top: -30px; left: 50%; transform: translateX(-50%); }
.step-content { position: relative; z-index: 2; }
.step-content h3, .benefit-item h3 { color: var(--primary-color); font: 800 1.2rem var(--font-heading); text-transform: uppercase; margin-bottom: 10px; }

.benefit-item { 
    background: linear-gradient(145deg, var(--bg-card), #080808); 
    border: 1px solid var(--border-color); padding: 50px 35px; border-radius: 24px; 
    text-align: center; transition: 0.3s ease; 
}
.benefit-item:hover { border-color: var(--primary-color); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.benefit-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 25px; display: block; }

/* --- Confiança & Selos (2 Colunas Desktop) --- */
.cap-trust-section { background: #0a0a0a; border-radius: 40px 40px 0 0; padding: 100px 20px; border-top: 1px solid var(--border-color); text-align: center; }
.trust-title { color: #fff; font: 900 2.5rem var(--font-heading); margin-bottom: 60px; text-transform: uppercase; }
.security-seals-vertical { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1000px; margin: 0 auto; }

.seal-card-lg { 
    background: #111; border: 1px solid #222; padding: 35px; border-radius: 20px; 
    display: flex; align-items: center; gap: 25px; transition: 0.3s; text-align: left;
}
.seal-card-lg:hover { border-color: var(--primary-color); background: #161616; }
.seal-icon-lg { font-size: 3rem; color: var(--primary-color); flex-shrink: 0; }
.seal-label { font: 700 0.8rem var(--font-body); color: #888; text-transform: uppercase; }
.seal-highlight { font: 900 1.3rem var(--font-body); color: #fff; text-transform: uppercase; }

/* --- FAQ & CTA Final --- */
.cap-faq { max-width: 850px; margin: 100px auto; }
.faq-item { background: #111; border: 1px solid #222; border-radius: 16px; margin-bottom: 20px; padding: 30px; text-align: left; }
.faq-item h3 { color: #fff; font-size: 1.1rem; display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.cap-final-cta { text-align: center; background: linear-gradient(180deg, transparent, rgba(255,237,0,0.03)); padding: 120px 20px; border-top: 1px solid var(--border-color); }

/* --- Footer Premium --- */
.footer-diamond { background: #050505; border-top: 1px solid #1a1a1a; padding: 80px 20px; text-align: center; }
.footer-nav-row { display: flex; justify-content: center; gap: 30px; margin: 30px 0 40px; }
.footer-nav-row a { color: #888; font: 800 0.9rem var(--font-body); text-transform: uppercase; text-decoration: none; letter-spacing: 1px; transition: 0.2s; }
.footer-nav-row a:hover { color: var(--primary-color); }
.social-row { display: flex; gap: 20px; justify-content: center; margin-bottom: 20px; }
.social-icon { color: #444; font-size: 24px; transition: 0.3s; }
.social-icon:hover { color: var(--primary-color); transform: translateY(-3px); }
.btn-footer-back { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-color); font: 800 11px var(--font-body); text-transform: uppercase; border: 1px solid #333; padding: 12px 30px; border-radius: 30px; transition: 0.3s; text-decoration: none; }
.btn-footer-back:hover { background: var(--primary-color); color: #000; border-color: var(--primary-color); }

/* --- Mobile Responsivo --- */
@media (max-width: 992px) {
    .cap-steps, .cap-benefits, .security-seals-vertical { grid-template-columns: 1fr; }
    .cap-title { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .cap-hero { padding: 80px 20px; }
    .cap-title { font-size: 2.2rem; }
    .btn-cap-main { width: 100%; justify-content: center; font-size: 1.1rem; }
    .step-number { font-size: 4rem; }
}