/* ACAÊ v39 — refinamentos pontuais de acessibilidade, notícias e menu mobile. */

/* Botão flutuante de acessibilidade mais enxuto e totalmente arredondado. */
html body.site-tech .a11y-launcher{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  gap:0!important;
  justify-content:center!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.24)!important;
  background:linear-gradient(135deg,#075ea6,#2e86bb)!important;
  color:#fff!important;
  box-shadow:0 9px 24px rgba(20,79,119,.20)!important;
}
html body.site-tech .a11y-launcher span{
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  font-size:1rem!important;
  line-height:1!important;
}
html body.site-tech .a11y-launcher:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 12px 28px rgba(20,79,119,.25)!important;
}
html body.site-tech .a11y-panel{
  bottom:54px!important;
}

/* Notícias: garante texto branco no botão "Ler notícia" em todos os estados. */
html body[data-cms-page="noticias"] main .news-card-actions a,
html body[data-cms-page="noticias"] main .news-card-actions a:visited,
html body[data-cms-page="noticias"] main .news-card-actions a:hover,
html body[data-cms-page="noticias"] main .news-card-actions a:focus-visible{
  color:#fff!important;
}
html body[data-cms-page="noticias"] main .news-card-actions a *{
  color:inherit!important;
}

/* Menu mobile: hambúrguer clássico, limpo e reconhecível como em sites convencionais. */
@media(max-width:1180px){
  html body.site-tech .neo-menu-toggle{
    display:flex!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:10px!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    box-shadow:none!important;
    cursor:pointer!important;
  }
  html body.site-tech .neo-menu-toggle span{
    display:block!important;
    width:24px!important;
    height:2px!important;
    margin:0!important;
    flex:0 0 2px!important;
    border-radius:999px!important;
    background:#123d5a!important;
    transition:transform .2s ease,opacity .2s ease,background .2s ease!important;
    transform-origin:center!important;
  }
  html body.site-tech .neo-menu-toggle:hover,
  html body.site-tech .neo-menu-toggle:focus-visible{
    background:rgba(29,104,145,.07)!important;
  }
  html body.site-tech .neo-menu-toggle:hover span{
    background:#0a6c9f!important;
  }
  html body.site-tech.menu-open .neo-menu-toggle span:nth-child(1),
  html body.menu-open.site-tech .neo-menu-toggle span:nth-child(1){
    transform:translateY(7px) rotate(45deg)!important;
  }
  html body.site-tech.menu-open .neo-menu-toggle span:nth-child(2),
  html body.menu-open.site-tech .neo-menu-toggle span:nth-child(2){
    opacity:0!important;
  }
  html body.site-tech.menu-open .neo-menu-toggle span:nth-child(3),
  html body.menu-open.site-tech .neo-menu-toggle span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg)!important;
  }
}

@media(max-width:700px){
  html body.site-tech .a11y-widget{
    right:10px!important;
    bottom:12px!important;
  }
  html body.site-tech .a11y-launcher{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
  }
  html body.site-tech .a11y-launcher span{
    font-size:.96rem!important;
  }
  html body.site-tech .a11y-panel{
    bottom:52px!important;
  }
  html body.site-tech .neo-menu-toggle{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:9px!important;
  }
  html body.site-tech .neo-menu-toggle span{
    width:23px!important;
  }
}
