﻿/* Topo do site 4.0, grupo G06: o topo 1 do 6.0 já é o desenho do 4.0; só sem o botão do modo noturno, que o 4.0 não tem */

body.layout-modern .themeMenuHeader73,
body.layout-modern .header-top .theme-toggle-top { display: none !important; }

/* jazz: faixa vermelha com o logo no centro e menu escuro centralizado embaixo, como no 4.0 (01/12) */
@media (min-width: 992px) {
    html body.layout-modern .header-top { display: none !important; }
    html body.layout-modern .site-header,
    html body.layout-modern.is-scrolled .site-header { height: auto !important; min-height: 0 !important; padding: 0 !important; margin-bottom: 0 !important; background: var(--menuBgColor) !important; box-shadow: none !important; }
    html body.layout-modern .site-header-inner { display: flex !important; flex-direction: column; align-items: stretch; height: auto !important; max-width: none !important; padding: 0 !important; }
    html body.layout-modern .site-header .site-logo { display: flex !important; justify-content: center; width: 100%; margin: 0 !important; padding: 0; float: none !important; background: var(--headerBgColor); }
    html body.layout-modern .site-header .site-logo img { max-height: 125px; width: auto; }
    html body.layout-modern .site-header .navbar { position: static !important; width: 100%; display: flex; justify-content: center; margin: 0 !important; background: var(--menuBgColor) !important; }
    html body.layout-modern .site-header .navbar,
    html body.layout-modern .main-navigation,
    html body.layout-modern .main-navigation > ul { height: auto !important; min-height: 0 !important; }
    html body.layout-modern .main-navigation { float: none !important; margin: 0 auto !important; }
    html body.layout-modern .main-navigation > ul { display: flex; justify-content: center; }
    html body.layout-modern .site-header .main-navigation > ul > li > a { height: 54px !important; line-height: 54px !important; padding: 0 16px !important; font-size: 17px !important; color: var(--menuColor) !important; text-transform: none; }
    html body.layout-modern .main-navigation > ul > li.mobile,
    html body.layout-modern .main-navigation > ul > li.telefoneMenuHeader,
    html body.layout-modern .header3-fones-menu { display: none !important; }
    .main-navigation li:has(> a[href*="/Veiculos"]) { order: 1; }
    .main-navigation li:has(> a[href$="/VendaSeuVeiculo"]) { order: 2; }
    .main-navigation li:has(> a[href$="/Empresa"]) { order: 3; }
    .main-navigation li:has(> a[href$="/locacao"]) { order: 4; }
    .main-navigation li:has(> a[href$="/Financiamento"]) { order: 5; }
    .main-navigation li:has(> a[href$="/Contato"]) { order: 6; }
    html body.layout-modern .site-header .main-navigation > ul > li > a:hover,
    html body.layout-modern .site-header .main-navigation > ul > li.menu-ativo > a { color: var(--menuColor) !important; background: rgba(255,255,255,.08) !important; border-bottom-color: transparent !important; }
    html body.layout-modern .site-header .navbar { height: 54px !important; min-height: 54px !important; padding: 0 !important; }
    html body.layout-modern .site-header .main-navigation { padding: 0 !important; }
    html body.layout-modern .site-header-inner { gap: 0 !important; }
    /* o topo não fica preso ao descer a página (o 4.0 rola junto) */
    html body.layout-modern .site-header,
    html body.layout-modern.is-scrolled .site-header { position: relative !important; top: auto !important; }
    html body.layout-modern .site-header .header-right { display: none !important; }
    html body.layout-modern .main-navigation > ul { margin: 0 !important; padding: 0 !important; }
    html body.layout-modern.header-layout-1 .site-header .main-navigation > ul > li.menu-ativo > a,
    html body.layout-modern .site-header .main-navigation > ul > li.menu-ativo:not(.telefoneMenuHeader) > a { color: var(--menuColor) !important; }
    /* ícones do menu, como no 4.0 */
    html body.layout-modern .site-header .main-navigation > ul > li > a::before { display: inline-block !important; position: static !important; margin-right: 7px; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 16px; width: auto; height: auto; background: none; opacity: 1; transform: none; color: var(--menuColor); }
    .main-navigation a[href*="/Veiculos"]::before,
    .main-navigation a[href$="/VendaSeuVeiculo"]::before,
    .main-navigation a[href$="/locacao"]::before { content: "\f1b9" !important; }
    .main-navigation a[href$="/Contato"]::before { content: "\f0e0" !important; }
    html body.layout-modern .site-header .main-navigation a[href$="/Empresa"]::before,
    html body.layout-modern .site-header .main-navigation a[href$="/Financiamento"]::before { content: "" !important; width: 15px; height: 15px; vertical-align: -2px; background: var(--menuColor); -webkit-mask: var(--jzIcone) no-repeat center / contain; mask: var(--jzIcone) no-repeat center / contain; }
    .main-navigation a[href$="/Empresa"] { --jzIcone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3 0h10v16H9v-3H7v3H3zM5 2v2h2V2zm4 0v2h2V2zM5 6v2h2V6zm4 0v2h2V6zM5 10v2h2v-2zm4 0v2h2v-2z'/%3E%3C/svg%3E"); }
    .main-navigation a[href$="/Financiamento"] { --jzIcone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 2h14v12H1zM2.5 4v1.5H4V4zm3 0v1.5h7V4zm-3 3.25v1.5H4v-1.5zm3 0v1.5h7v-1.5zm-3 3.25V12H4v-1.5zm3 0V12h7v-1.5z'/%3E%3C/svg%3E"); }
}

/* chamada do financiamento do 4.0 (01/12) */
.fichaFinanciamento .jz-seguro { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 20px; background: #e8f5e9; color: #1b7a32; font-weight: 700; font-size: 13px; }
