/* Renovari V9.9.4 — cabeçalho único em Home, Locação e Equipamentos.
   Tamanho, recuos, logo, menus e CTA reproduzem a Home aprovada.
   CSS carregado por último, após ajustes locais de cada página. */
body .rv-header.rv-smart-header {
  background:#fff!important;
  border-bottom:1px solid #e9ece9!important;
}
body .rv-header.rv-smart-header .rv-header-inner {
  width:min(1550px,calc(100% - 100px));
  max-width:none;
  height:86px;
  min-height:86px;
  display:flex;
  align-items:center;
  gap:23px;
}
body .rv-header.rv-smart-header .rv-logo {
  flex:0 0 auto;
  display:flex;
  margin-right:auto;
  align-items:center;
}
body .rv-header.rv-smart-header .rv-logo img {
  width:203px;
  height:auto;
  max-height:66px;
  display:block;
  object-fit:contain;
}
body .rv-header.rv-smart-header .rv-menu {
  display:flex;
  align-items:center;
  margin-left:auto;
  gap:30px;
}
body .rv-header.rv-smart-header .rv-menu a {
  font-family:'IBM Plex Sans',Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  letter-spacing:0;
  line-height:1.4;
  color:#142125!important;
  position:relative;
  padding:30px 0;
  border:none;
  white-space:nowrap;
}
/* Mesmo destaque ativo da Home, agora no item da página corrente. */
body .rv-header.rv-smart-header .rv-menu a::after,
body.home .rv-header.rv-smart-header .rv-menu a:first-child:not([aria-current="page"])::after {display:none;}
body .rv-header.rv-smart-header .rv-menu a[aria-current="page"]::after {
  content:'';
  display:block;
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  width:27px;
  height:3px;
  background:#efbe38;
}
body .rv-header.rv-smart-header .rv-btn-header {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  background:#f7c643!important;
  color:#132126!important;
  border:0!important;
  border-radius:0!important;
  min-height:54px;
  padding:0 23px;
  font-family:'IBM Plex Sans',Arial,sans-serif;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  gap:16px;
  box-shadow:none;
  transform:none;
}
body .rv-header.rv-smart-header .rv-btn-header:hover{background:#ffdb65!important;}
body .rv-header.rv-smart-header .rv-mobile-menu{display:none;}
@media(max-width:1350px){
 body .rv-header.rv-smart-header .rv-header-inner{width:calc(100% - 64px)}
 body .rv-header.rv-smart-header .rv-menu{gap:17px}
}
@media(max-width:1060px){
 body .rv-header.rv-smart-header .rv-logo img{width:165px}
 body .rv-header.rv-smart-header .rv-menu a{font-size:11px!important}
 body .rv-header.rv-smart-header .rv-menu{gap:12px}
 body .rv-header.rv-smart-header .rv-btn-header{font-size:11px;padding:0 14px}
}
@media(max-width:850px){
 body .rv-header.rv-smart-header .rv-header-inner{
   width:calc(100% - 32px);
   height:76px;
   min-height:76px;
 }
 body .rv-header.rv-smart-header .rv-logo img{width:170px;max-height:62px}
 body .rv-header.rv-smart-header .rv-mobile-menu{
   display:inline-flex;
   align-items:center;
   justify-content:center;
   position:relative;
   z-index:2;
   margin-left:auto;
   padding:9px;
   color:#142125;
   background:#fff;
   border:1px solid #e2e9e2;
   border-radius:5px;
 }
 body .rv-header.rv-smart-header .rv-menu {
   display:none;
   position:absolute;
   top:75px;
   left:0;
   right:0;
   flex-direction:column;
   align-items:stretch;
   gap:0;
   margin:0;
   padding:15px 22px 21px;
   background:#fff;
   box-shadow:0 18px 26px #101f2429;
   max-height:calc(100dvh - 76px);
   overflow-y:auto;
 }
 body .rv-header.rv-smart-header .rv-menu.is-open{display:flex}
 body .rv-header.rv-smart-header .rv-menu a {
   display:block;
   padding:13px 4px;
   font-size:13px!important;
   border-bottom:1px solid #e5ebe6;
 }
 body .rv-header.rv-smart-header .rv-menu a[aria-current="page"]::after{display:none}
 body .rv-header.rv-smart-header .rv-menu a[aria-current="page"] {color:#996d16!important;}
 body .rv-header.rv-smart-header .rv-btn-header{display:none!important}
}
@media(max-width:560px){
 body .rv-header.rv-smart-header .rv-header-inner{width:calc(100% - 24px);gap:10px}
 body .rv-header.rv-smart-header .rv-logo img{width:145px}
 body .rv-header.rv-smart-header .rv-mobile-menu{padding:7px}
}


/* V9.9.6 — Header mobile unificado em todas as páginas.
   Regras com maior especificidade para substituir styles herdados da locação. */
@media(max-width:850px){
  html body .rv-header.rv-smart-header {display:block!important;background:#fff!important;}
  html body .rv-header.rv-smart-header .rv-header-inner {
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    justify-content:space-between!important;position:relative!important;
    width:calc(100% - 32px)!important;height:76px!important;min-height:76px!important;
    max-width:none!important;margin-left:auto!important;margin-right:auto!important;
    padding:0!important;gap:14px!important;
  }
  html body .rv-header.rv-smart-header .rv-logo {
    display:flex!important;align-items:center!important;flex:0 1 auto!important;
    margin:0 auto 0 0!important;min-width:0!important;max-width:calc(100% - 64px)!important;
  }
  html body .rv-header.rv-smart-header .rv-logo img {
    width:170px!important;max-width:100%!important;max-height:62px!important;
    height:auto!important;object-fit:contain!important;display:block!important;
  }
  html body .rv-header.rv-smart-header .rv-mobile-menu {
    display:inline-flex!important;visibility:visible!important;opacity:1!important;
    flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
    width:44px!important;height:44px!important;min-width:44px!important;
    padding:8px!important;margin:0!important;color:#142125!important;
    background:white!important;border:1px solid #e2e9e2!important;border-radius:5px!important;
    position:relative!important;z-index:4!important;
  }
  html body .rv-header.rv-smart-header .rv-mobile-menu svg {
    width:22px!important;height:22px!important;stroke:currentColor!important;
    display:block!important;visibility:visible!important;opacity:1!important;
  }
  html body .rv-header.rv-smart-header .rv-menu {
    display:none!important;position:absolute!important;top:75px!important;left:0!important;right:0!important;
    flex-direction:column!important;align-items:stretch!important;gap:0!important;
    margin:0!important;padding:15px 22px 21px!important;background:#fff!important;
    box-shadow:0 18px 26px #101f2429!important;max-height:calc(100dvh - 76px)!important;
    overflow-y:auto!important;z-index:3!important;
  }
  html body .rv-header.rv-smart-header .rv-menu.is-open {display:flex!important;}
  html body .rv-header.rv-smart-header .rv-btn-header {display:none!important;}
}
@media(max-width:560px){
  html body .rv-header.rv-smart-header .rv-header-inner {width:calc(100% - 24px)!important;gap:10px!important;}
  html body .rv-header.rv-smart-header .rv-logo img{width:145px!important;}
}

/* V9.9.7 — manter apenas o menu no cabeçalho mobile.
   Não altera o WhatsApp flutuante global (#rv-wa-fab) nem links de contato no conteúdo. */
@media (max-width:850px) {
  html body.home .rv-header .rv6-header-wa,
  html body .rv-header.rv-smart-header .rv6-header-wa,
  html body .rv-header.rv-smart-header .rv-header-wa,
  html body .rv-header.rv-smart-header .rv-header-whatsapp,
  html body .rv-header.rv-smart-header .rv-whatsapp-header,
  html body .rv-header.rv-smart-header .rv-header-inner > a[href*="wa.me/"]:not(.rv-btn-header),
  html body .rv-header.rv-smart-header .rv-header-inner > a[href*="api.whatsapp.com/"]:not(.rv-btn-header) {
    display:none!important;
    visibility:hidden!important;
  }
}
