/* V39 — Final bugfix por prints: menu/hover/alinhamento/CTA */
:root{
  --v39-gold:#ffae13;
  --v39-gold-light:#ffe08a;
  --v39-cream:#f4ead6;
  --v39-nav:#05080f;
}

/* NAV GLOBAL: corrige cortes, sobreposição da logo e hover bugado */
html body .nav{
  height:82px!important;
  min-height:82px!important;
  max-height:none!important;
  padding:0!important;
  overflow:visible!important;
  background:linear-gradient(180deg,rgba(4,8,14,.98),rgba(5,9,15,.94))!important;
  border-bottom:1px solid rgba(255,174,19,.15)!important;
  box-shadow:0 10px 34px rgba(0,0,0,.34)!important;
}
html body .nav .content-area{
  height:82px!important;
  min-height:82px!important;
  width:min(1600px,calc(100% - 56px))!important;
  max-width:1600px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
}
html body .nav__logo{
  width:92px!important;
  min-width:92px!important;
  height:68px!important;
  margin:0 42px 0 0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 92px!important;
  position:relative!important;
  z-index:3!important;
  overflow:visible!important;
}
html body .nav__logo img{
  width:82px!important;
  max-width:82px!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
  transform:none!important;
  filter:drop-shadow(0 0 13px rgba(150,93,255,.45))!important;
}
html body .nav__links{
  height:82px!important;
  min-height:82px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:clamp(30px,2.35vw,56px)!important;
  margin:0!important;
  padding:0!important;
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:visible!important;
}
html body .nav__links-item{
  position:relative!important;
  height:82px!important;
  min-height:82px!important;
  width:auto!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  overflow:visible!important;
  transform:none!important;
}
html body .nav__links-item a{
  position:relative!important;
  height:82px!important;
  min-height:82px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:rgba(244,234,214,.86)!important;
  font-family:Arial, Helvetica, sans-serif!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.145em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  background:transparent!important;
  border-radius:0!important;
  text-shadow:none!important;
  transform:none!important;
  transition:color .2s ease,text-shadow .2s ease!important;
  overflow:visible!important;
}
html body .nav__links-item a::after,
html body .nav__links-item a::before,
html body .nav__links-item::before{
  display:none!important;
  content:none!important;
  opacity:0!important;
}
html body .nav__links-item::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  bottom:16px!important;
  width:0!important;
  height:2px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,transparent,var(--v39-gold),var(--v39-gold-light),var(--v39-gold),transparent)!important;
  box-shadow:0 0 14px rgba(255,174,19,.72)!important;
  transform:translateX(-50%)!important;
  opacity:0!important;
  transition:width .22s ease,opacity .22s ease!important;
  pointer-events:none!important;
}
html body .nav__links-item:hover a,
html body .nav__links-item.active a{
  color:var(--v39-gold-light)!important;
  background:transparent!important;
  text-shadow:0 0 12px rgba(255,174,19,.36)!important;
  transform:none!important;
}
html body .nav__links-item:hover::after,
html body .nav__links-item.active::after{
  width:58px!important;
  opacity:1!important;
}

/* Idioma e botões alinhados sem sobrepor DOWNLOAD */
html body .nav__langs{
  height:82px!important;
  min-height:82px!important;
  margin:0 24px 0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}
html body .nav__langs-current{
  height:46px!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0!important;
}
html body .nav__langs-current-name{
  line-height:1!important;
  white-space:nowrap!important;
}
html body .nav .button,
html body .nav-login-btn{
  height:46px!important;
  min-height:46px!important;
  min-width:146px!important;
  padding:0 26px!important;
  margin:0 0 0 16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  line-height:1!important;
  border-radius:999px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
}
html body .nav .button::before,
html body .nav-login-btn::before,
html body .nav .button::after,
html body .nav-login-btn::after{
  display:none!important;
  content:none!important;
}
html body .nav .button span,
html body .nav-login-btn span{
  display:inline-block!important;
  line-height:1!important;
  padding:0!important;
  margin:0!important;
  white-space:nowrap!important;
  letter-spacing:.14em!important;
  font-weight:950!important;
}
html body .nav .button:hover,
html body .nav-login-btn:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 15px 34px rgba(255,164,0,.24),0 0 0 4px rgba(255,174,19,.08)!important;
  filter:brightness(1.04)!important;
}

/* HERO: corrige respiro do botão e remove retângulo escuro do hover */
html body .header-main{
  overflow:hidden!important;
  min-height:clamp(800px,90vh,980px)!important;
}
html body .header__box.roi-hero-art-wrap{
  overflow:visible!important;
  padding-bottom:clamp(170px,18vh,230px)!important;
}
html body .roi-hero-art .button.big,
html body .roi-hero-art__brand .button.big{
  min-height:64px!important;
  height:64px!important;
  padding:0 56px!important;
  margin:30px auto 72px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  overflow:hidden!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
  transform:none!important;
}
html body .roi-hero-art .button.big::before,
html body .roi-hero-art .button.big::after,
html body .roi-hero-art__brand .button.big::before,
html body .roi-hero-art__brand .button.big::after{
  display:none!important;
  content:none!important;
}
html body .roi-hero-art .button.big span,
html body .roi-hero-art__brand .button.big span{
  line-height:1.05!important;
  white-space:normal!important;
  text-align:center!important;
  padding:0!important;
  margin:0!important;
}
html body .roi-hero-art .button.big:hover,
html body .roi-hero-art__brand .button.big:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.05)!important;
  box-shadow:0 20px 50px rgba(255,166,0,.30),0 0 0 5px rgba(255,174,19,.09)!important;
}

/* Cards de novidades: impede cortes visuais em bordas/hover */
html body .pro-news-card,
html body .v21-news-card{
  overflow:hidden!important;
  background-position:center!important;
}
html body .pro-news-card:hover,
html body .v21-news-card:hover{
  transform:translateY(-2px)!important;
}

/* Flutuantes limpos */
html body .cursor-dot,
html body .cursor-ring,
html body #cursorDot,
html body #cursorRing,
html body .yellow-float,
html body .old-floating-dot,
html body .floating-cta,
html body .pro-floating-cta{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
html body .back-to-top,
html body .back-to-top-v23,
html body [data-back-to-top]{right:28px!important;bottom:132px!important;z-index:96!important;}
html body .floating-discord,
html body .floating-discord-v24,
html body .float-discord,
html body [data-floating-discord]{right:28px!important;bottom:54px!important;z-index:95!important;}

@media (max-width:1500px){
  html body .nav .content-area{width:calc(100% - 40px)!important;}
  html body .nav__logo{width:76px!important;min-width:76px!important;flex-basis:76px!important;margin-right:30px!important;}
  html body .nav__logo img{width:68px!important;max-width:68px!important;}
  html body .nav__links{gap:clamp(22px,1.65vw,38px)!important;}
  html body .nav__links-item a{font-size:14px!important;letter-spacing:.12em!important;}
  html body .nav .button,html body .nav-login-btn{min-width:132px!important;padding:0 20px!important;margin-left:12px!important;}
  html body .nav__langs{margin-right:14px!important;}
}
@media (max-width:1280px){
  html body .nav__links{gap:20px!important;}
  html body .nav__links-item a{font-size:13px!important;letter-spacing:.08em!important;}
  html body .nav__logo{margin-right:20px!important;}
  html body .nav .button,html body .nav-login-btn{min-width:118px!important;padding:0 16px!important;}
}
@media (max-width:1120px){
  html body .nav__links{display:none!important;}
  html body .nav__logo{margin-right:auto!important;}
  html body .nav__open-links{display:flex!important;}
}
@media (max-width:768px){
  html body .nav{height:74px!important;min-height:74px!important;}
  html body .nav .content-area{height:74px!important;min-height:74px!important;width:calc(100% - 24px)!important;}
  html body .nav__logo{height:58px!important;width:62px!important;min-width:62px!important;flex-basis:62px!important;}
  html body .nav__logo img{width:58px!important;max-width:58px!important;}
  html body .nav__langs{height:74px!important;margin-right:8px!important;}
  html body .nav .button,html body .nav-login-btn{height:42px!important;min-height:42px!important;min-width:92px!important;padding:0 12px!important;font-size:12px!important;margin-left:8px!important;}
  html body .roi-hero-art .button.big,html body .roi-hero-art__brand .button.big{height:auto!important;min-height:58px!important;padding:0 34px!important;margin-bottom:92px!important;}
}
