:root{
  --bg:#ffffff;
  --panel:#f7faf8;
  --text:#111;
  --muted:#666;
  --green:#05a12d;
  --border:rgba(0,0,0,.10);
  --shadow:0 14px 40px rgba(0,0,0,.08);
  --r-lg:18px;
  --r-md:12px;
  --r-pill:999px;
  --t:160ms ease-out;
}




*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  padding:22px;
}

.app{
  max-width:1200px;
  margin:0 auto;
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:18px;
}

.app-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  margin-bottom:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.dot{
  width:10px;height:10px;border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 3px rgba(5,161,45,.12);
}

.title{margin:0;font-size:18px}
.subtitle{margin:3px 0 0;color:var(--muted);font-size:13px}

.header-controls{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:360px;
}

.label{
  font-size:11px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.select{
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 10px;
  background:var(--bg);
  color:var(--text);
  font-size:13px;
  outline:none;
}

.select:focus-visible{
  border-color: rgba(5,161,45,.65);
  box-shadow: 0 0 0 4px rgba(5,161,45,.12);
}

.layout{
  display:grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 0.85fr);
  gap:14px;
}

.left, .right{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  padding:12px;
}

.left-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.vehicle-label{
  font-size:13px;
  font-weight:600;
}

.view-switch{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.view-btn{
  border:1px solid var(--border);
  background:var(--bg);
  border-radius:var(--r-pill);
  padding:8px 12px;
  font-size:12px;
  cursor:pointer;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.view-btn.is-active{
  border-color: rgba(5,161,45,.70);
  box-shadow: 0 0 0 4px rgba(5,161,45,.10);
}

.view-btn:active{transform: translateY(1px);}

.image-wrap{
  position:relative;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--bg);
  padding:10px;
  overflow:hidden;
}

.vehicle-img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}

.hotspots{
  position:absolute;
  inset:10px; /* acompanha o padding da image-wrap */
}

/* Hotspot 100% invisível SEMPRE */
.hotspot{
  position:absolute;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
/*
  border: 2px solid rgba(255, 0, 0, .85) !important;
  background: rgba(255, 0, 0, .12) !important;
  border-radius: 10px;*/
}

/* remove qualquer borda/outline no clique */
.hotspot:focus,
.hotspot:focus-visible{
  outline:none;
  box-shadow:none;
}

/* Tooltip */
.tooltip{
  position:absolute;
  left:0; top:0;
  transform:translate(-9999px,-9999px);
  opacity:0;
  pointer-events:none;
  transition:opacity var(--t);
  background:var(--bg);
  border:1px solid rgba(5,161,45,.55);
  border-radius:12px;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  padding:10px 12px;
  min-width:240px;
  z-index:10;
}

.tooltip.is-visible{opacity:1;}

.tooltip-title{
  font-size:13px;
  color:var(--text);
  padding:8px 0;
  border-top:1px solid rgba(5,161,45,.35);
  border-bottom:1px solid rgba(5,161,45,.35);
}

.hint{
  margin:10px 2px 0;
  font-size:11px;
  color:var(--muted);
}

/* Painel */
.panel-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:8px;
}

.panel-label{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.panel-title{
  font-size:16px;
  font-weight:600;
  margin-top:3px;
}

.pill{
  border:1px solid rgba(5,161,45,.55);
  color:var(--green);
  background:rgba(5,161,45,.06);
  padding:6px 10px;
  border-radius:var(--r-pill);
  font-size:11px;
  white-space:nowrap;
}

.panel{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  padding:10px;
}

.placeholder{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.row{
  display:none;
  margin-top:10px;
  gap:10px;
  justify-content:space-between;
  font-size:12px;
  border-top:1px dashed rgba(0,0,0,.10);
  padding-top:10px;
}

.row-stack{
  flex-direction:column;
  align-items:flex-start;
}

.row-label{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
}

.row-value{
  text-align:right;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
  max-width:72%;
}

.badge{
  border:1px solid rgba(5,161,45,.55);
  background:rgba(5,161,45,.06);
  border-radius:var(--r-pill);
  padding:6px 10px;
  font-size:11px;
}

.divider{
  height:1px;
  background:rgba(0,0,0,.08);
  margin:12px 0 0;
  display:none;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}

.tag{
  border:1px solid rgba(5,161,45,.55);
  background:rgba(5,161,45,.06);
  color:var(--text);
  border-radius:var(--r-pill);
  padding:6px 10px;
  font-size:11px;
}

.note{
  margin-top:6px;
  font-size:11px;
  color:var(--muted);
}


/* Botões de autenticação */
/* Botões de autenticação */
.auth-container {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.guest-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-separator {
  color: #666;
  font-size: 13px;
  font-weight: 500;
  padding: 0 4px;
}

.btn-auth {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-enter {
  background: transparent;
  color: #1b5e20;
  border: 2px solid #1b5e20;
}

.btn-enter:hover {
  background: #1b5e20;
  color: white;
}

.btn-register {
  background: #1b5e20;
  color: white;
}

.btn-register:hover {
  background: #2e7d32;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.btn-logout {
  background: transparent;
  color: #1b5e20;
  border: 2px solid #1b5e20;
}

.btn-logout:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  color: white;
}

.user-menu {
  display: none;
  align-items: center;
  gap: 12px;
}

.user-name {
  color: #1b5e20;
  font-weight: 600;
  font-size: 13px;
}



:root{
  --vf-header-bg: #1F4A2C;
  --vf-white: #ffffff;
  --vf-white-80: rgba(255,255,255,.82);
  --vf-white-18: rgba(255,255,255,.18);
  --vf-white-26: rgba(255,255,255,.26);
  --vf-shadow: 0 18px 40px rgba(0,0,0,.22);

  --vf-container: 1200px;
  --vf-header-h: 72px; /* header não cresce */
  --vf-pad-x: 20px;
  --vf-radius: 12px;
  --vf-focus: 0 0 0 3px rgba(255,255,255,.28);
}

html, body{
  width: 100%;
  margin: 0;
  padding: 0;
}

*{ box-sizing: border-box; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; }


.vf-container{
  width: min(var(--vf-container), calc(100% - (var(--vf-pad-x) * 2)));
  margin: 0 auto;
}

.vf-header{
  width: 100%;
  left: 0;
  right: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--vf-header-h);
  background: var(--vf-header-bg);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  overflow: visible;
}

.vf-header__inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
}

/* Logo: visualmente grande, sem aumentar o header */
.vf-brand{
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding-right: 26px;         /* separa logo do menu */
  flex: 0 0 auto;
}

.vf-brand__logo{
  height: 176px;
  width: auto;
  display: block;
  object-fit: contain;

  /* mantém header com altura fixa, mas deixa a logo maior */
  transform: translateY(var(--vf-logo-drop));
}

/* Menu desktop */
.vf-nav{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px; /* não gruda */
}

.vf-nav__link{
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--vf-radius);
  color: var(--vf-white-80);
  letter-spacing: .2px;
  transition: background .14s ease, color .14s ease;
  outline: none;
}

.vf-nav__link:hover{
  background: rgba(255,255,255,.14);
  color: var(--vf-white);
}

.vf-nav__link:focus-visible{
  box-shadow: var(--vf-focus);
}

/* Ativo (Catálogo) */
.vf-nav__link[aria-current="page"]{
  color: var(--vf-white);
  background: var(--vf-white-18);
  box-shadow: inset 0 0 0 1px var(--vf-white-26);
}

/* Burger (só mobile) */
.vf-burger{
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 48px;
  border-radius: var(--vf-radius);
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: var(--vf-white);
  cursor: pointer;
}

.vf-burger:hover{ background: rgba(255,255,255,.18); }
.vf-burger:focus-visible{ box-shadow: var(--vf-focus); }

.vf-burger__lines{
  width: 20px;
  height: 2px;
  background: var(--vf-white);
  position: relative;
  border-radius: 999px;
}

.vf-burger__lines::before,
.vf-burger__lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--vf-white);
  border-radius: 999px;
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}

.vf-burger__lines::before{ top: -6px; }
.vf-burger__lines::after{ top: 6px; }

/* Backdrop mobile */
.vf-navBackdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
}


.app{margin-top: 50px;}


:root{
  --vf-select-border: #d1d5db;
  --vf-select-focus: #05a12d;
  --vf-select-hover: #f3f4f6;
  --vf-select-selected: #e8f5e9;
  --vf-select-text: #1f2937;
  --vf-select-placeholder: #9ca3af;
  --vf-select-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.vf-custom-select{
  position: relative;
  width: 100%;
  max-width: 600px;
}

/* Trigger (campo clicável) */
.vf-select-trigger{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid var(--vf-select-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
  min-height: 48px;
}

.vf-select-trigger:hover{
  border-color: var(--vf-select-focus);
  box-shadow: 0 4px 12px rgba(5,161,45,.1);
}

.vf-custom-select.open .vf-select-trigger{
  border-color: var(--vf-select-focus);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 0 3px rgba(5,161,45,.08);
}

.vf-select-value{
  color: var(--vf-select-text);
  font-size: 15px;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 12px;
}

.vf-select-value.placeholder{
  color: var(--vf-select-placeholder);
  font-weight: 400;
}

.vf-select-arrow{
  transition: transform .25s ease;
  color: #6b7280;
  flex-shrink: 0;
}

.vf-custom-select.open .vf-select-arrow{
  transform: rotate(180deg);
}

/* Dropdown */
.vf-select-dropdown{
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid var(--vf-select-focus);
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--vf-select-shadow);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all .25s ease;
  max-height: 0;
  overflow: hidden;
}

.vf-custom-select.open .vf-select-dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 420px;
}

/* Campo de busca */
.vf-search-box{
  position: relative;
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fafafa;
}

.vf-search-icon{
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.vf-search-input{
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all .2s ease;
  background: #fff;
}

.vf-search-input:focus{
  border-color: var(--vf-select-focus);
  box-shadow: 0 0 0 3px rgba(5,161,45,.08);
}

.vf-search-input::placeholder{
  color: var(--vf-select-placeholder);
}

/* Lista de opções */
.vf-options-list{
  list-style: none;
  margin: 0;
  padding: 8px 0;
  max-height: 320px;
  overflow-y: auto;
}

.vf-options-list::-webkit-scrollbar{
  width: 8px;
}

.vf-options-list::-webkit-scrollbar-track{
  background: #f1f1f1;
  border-radius: 4px;
}

.vf-options-list::-webkit-scrollbar-thumb{
  background: #c1c1c1;
  border-radius: 4px;
}

.vf-options-list::-webkit-scrollbar-thumb:hover{
  background: #a8a8a8;
}

.vf-option{
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--vf-select-text);
  transition: background .15s ease;
  border-left: 3px solid transparent;
}

.vf-option:hover{
  background: var(--vf-select-hover);
  border-left-color: var(--vf-select-focus);
}

.vf-option.selected{
  background: var(--vf-select-selected);
  border-left-color: var(--vf-select-focus);
  font-weight: 600;
  color: var(--vf-select-focus);
}

.vf-option.hidden{
  display: none;
}

.vf-no-results{
  padding: 24px 16px;
  text-align: center;
  color: var(--vf-select-placeholder);
  font-size: 14px;
}

/* Responsivo */
@media (max-width: 768px){
  .vf-select-dropdown{
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
  }
  
  .vf-custom-select.open .vf-select-dropdown{
    max-height: 70vh;
  }
  
  .vf-options-list{
    max-height: calc(70vh - 80px);
  }
}


/* Filtros do catálogo */
.filters{
  display:flex;
  gap:10px;
  margin-top:8px;
}
.filter-group{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:160px;
}
@media (max-width:900px){
  .filters{
    flex-direction:row;
    flex-wrap:wrap;
  }
  .filter-group{
    min-width:0;
    flex:1 1 150px;
  }
}


/* ===== Catálogo header (card branco) ===== */
.app-header{
  display: grid;
  grid-template-columns: minmax(260px, 460px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

/* bolinha verde + títulos */
.brand{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  flex: 0 0 auto;
  margin-top: 7px; /* alinha com o H1 */
  box-shadow: 0 0 0 3px rgba(5,161,45,.12);
}
.brand-text .title{ margin: 0; }
.brand-text .subtitle{ margin: 3px 0 0; }

/* toolbar (Kit + Configuração + Aberturas) */
.catalog-toolbar{
  margin-left: auto;
  width: 100%;
  max-width: 100%;
  display: grid;

  /* 1 linha quando couber */
  grid-template-columns: minmax(0, 1fr) 220px 220px;
  gap: 12px;
  align-items: end;
}
.catalog-toolbar .field{
  min-width: 0;
}
.catalog-toolbar .field:first-child{
  flex: 1 1 420px; /* Kit cresce mais */
  min-width: 320px;
}
.catalog-toolbar .select,
.catalog-toolbar .vf-custom-select{
  width: 100%;
  max-width: none;
}

@media (max-width: 1200px){
  .catalog-toolbar{
    grid-template-columns: 1fr 1fr;
  }
}


/* ===== Auth no cabeçalho verde ===== */
.vf-header__inner{
  gap: 12px;
}
.vf-nav{
  flex: 1 1 auto;
}
.auth-container--header{
  margin-left: auto;
  display: flex;
  align-items: center;
}

.auth-container--header .btn-auth{
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.35);
  white-space: nowrap;
}

.auth-container--header .btn-enter,
.auth-container--header .btn-logout{
  background: rgba(255,255,255,.10);
  color: #fff;
}

.auth-container--header .btn-register{
  background: #fff;
  color: #0f6a2b;
  border-color: rgba(255,255,255,.75);
}

.auth-container--header .auth-separator{
  color: rgba(255,255,255,.8);
}
.auth-container--header .user-name{
  color: rgba(255,255,255,.92);
}

/* links + auth dentro do nav */
.vf-nav{
  display: flex;
  align-items: center;
  gap: 10px;
}
.vf-navLinks{
  display: flex;
  align-items: center;
  gap: 30px;
}
.vf-navAuth{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* botões no header */
.vf-navAuth .btn-auth{
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.35);
  white-space: nowrap;
}
.vf-navAuth .btn-enter,
.vf-navAuth .btn-logout{
  background: rgba(255,255,255,.10);
  color: #fff;
}
.vf-navAuth .btn-register{
  background: #fff;
  color: #0f6a2b;
  border-color: rgba(255,255,255,.75);
}
.vf-navAuth .auth-separator{ color: rgba(255,255,255,.8); }
.vf-navAuth .user-name{ color: rgba(255,255,255,.92); }

.app-header{
  grid-template-columns: 1fr;  /* tudo vira uma coluna */
}

.catalog-toolbar{
  margin-left: 0;
  max-width: 100%;
}


.vf-search-box{
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fafafa;
}

.vf-search-row{
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.vf-maker-select{
  height: 42px;
  padding: 0 10px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  outline: none;
}

.vf-maker-select:focus{
  border-color: var(--vf-select-focus);
  box-shadow: 0 0 0 3px rgba(5,161,45,.08);
}

/* input com ícone dentro (mantém seu visual atual) */
.vf-search-inputWrap{
  position: relative;
  min-width: 0;
}

.vf-search-icon{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.vf-search-input{
  width: 100%;
  height: 42px;
  padding: 10px 12px 10px 40px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.vf-search-input:focus{
  border-color: var(--vf-select-focus);
  box-shadow: 0 0 0 3px rgba(5,161,45,.08);
}

/* mobile: se precisar, reduz a coluna da montadora */
@media (max-width: 420px){
  .vf-search-row{ grid-template-columns: 130px minmax(0, 1fr); }
}
