/* Ajustes front LINTEC - header fixo, hovers e animações sutis */

:root{
  --lintec-yellow: #fabb00;
  --lintec-black: #000000;
  --lintec-red: #db001a;
  --lintec-gray: #696a6c;
  --lintec-white: #ffffff;
  --lintec-accent: var(--lintec-yellow);
  --lintec-dark: var(--lintec-black);
  --lintec-soft-shadow: 0 16px 38px rgba(20, 35, 55, 0.14);
}

/* Header principal fixo: substitui o header menor que aparecia no scroll */
.main-header.header-style-three.lintec-main-header-fixed{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: var(--lintec-white);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transform: translateZ(0);
  transition: box-shadow .28s ease, transform .28s ease;
}

.main-header.header-style-three.lintec-main-header-fixed.lintec-header-scrolled{
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.lintec-header-spacer{
  display: block;
  width: 100%;
  height: 0;
}

/* Garante que o header menor/clonado não apareça mesmo se algum plugin tentar ativá-lo */
.main-header.header-style-three .sticky-header,
.main-header.header-style-three.fixed-header .sticky-header{
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Refinos do header principal fixo */
.header-style-three .header-top,
.header-bottom{
  transition: background-color .28s ease, box-shadow .28s ease, padding .28s ease;
}

.header-top .search-box .form-group input[type='search']{
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.header-top .search-box .form-group input[type='search']:focus{
  background: rgba(255,255,255,.28);
  box-shadow: inset 0 -2px 0 rgba(255,255,255,.45);
}

.header-contact-link,
.header-bottom .bottom-inner .category-list > li .name,
.header-bottom .bottom-inner .category-list > li .name p,
.header-bottom .bottom-inner .category-list > li > ul > li a,
.main-footer .links-list li a,
.produtos-link-orcamento,
.produtos-clear-filter{
  transition: color .25s ease, opacity .25s ease, transform .25s ease;
}

.header-contact-link:hover,
.main-footer .links-list li a:hover,
.produtos-link-orcamento:hover,
.produtos-clear-filter:hover{
  color: var(--lintec-accent) !important;
}

.header-bottom .bottom-inner .category-list > li{
  transition: background-color .25s ease, color .25s ease;
}

.header-bottom .bottom-inner .category-list > li:hover{
  background: rgba(250, 187, 0, .09);
}

.header-bottom .bottom-inner .category-list > li:hover .name p{
  color: var(--lintec-black);
  transform: translateY(-1px);
}

.header-bottom .bottom-inner .category-list > li > ul{
  transition: opacity .25s ease, visibility .25s ease, margin-top .25s ease, transform .25s ease;
  transform: translateY(8px);
}

.header-bottom .bottom-inner .category-list > li:hover > ul{
  transform: translateY(0);
}

/* Hovers globais de botões */
.theme-btn,
button[type='submit'],
button[type='button'],
.header-top .search-box .form-group button[type='submit'],
.main-footer .subscribe-widget .form-group button,
.produtos-search-field button,
.produtos-filter-title,
.produtos-category-link,
.produtos-subcategory-link,
.grid-view,
.list-view,
.close-btn,
.scroll-to-top,
.whatsapp-float{
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}

.theme-btn{
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  will-change: transform;
}

.theme-btn:hover,
.theme-btn:focus{
  transform: translateY(-3px);
  box-shadow: var(--lintec-soft-shadow);
}

.theme-btn:active,
button[type='submit']:active,
button[type='button']:active,
.whatsapp-float:active{
  transform: translateY(-1px) scale(.98);
}

button[type='submit']:hover,
button[type='button']:hover,
.produtos-search-field button:hover,
.main-footer .subscribe-widget .form-group button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.header-top .search-box .form-group button[type='submit']:hover{
  color: var(--lintec-white);
  transform: translateY(-1px) scale(1.08);
  box-shadow: none;
}

.main-footer .subscribe-widget .form-group button:hover,
.produtos-search-field button:hover{
  background: var(--lintec-dark) !important;
  color: var(--lintec-white) !important;
}

.produtos-filter-title:hover,
.produtos-category-link:hover,
.produtos-subcategory-link:hover{
  border-color: var(--lintec-accent) !important;
  background: rgba(250, 187, 0, .16) !important;
  color: var(--lintec-dark) !important;
  transform: translateX(3px);
}

.produtos-category-link.active:hover,
.produtos-subcategory-link.active:hover{
  background: var(--lintec-dark) !important;
  color: var(--lintec-white) !important;
}

.grid-view:hover,
.list-view:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.11);
  background: rgba(250, 187, 0, .16);
}

.whatsapp-float:hover{
  transform: translateY(-4px) scale(1.03);
}

/* Animações de carregamento das seções */
.lintec-reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

.lintec-reveal.lintec-reveal-left{
  transform: translateX(-26px);
}

.lintec-reveal.lintec-reveal-right{
  transform: translateX(26px);
}

.lintec-reveal.lintec-reveal-scale{
  transform: translateY(20px) scale(.985);
}

.lintec-reveal.is-visible,
.lintec-reveal.lintec-reveal-left.is-visible,
.lintec-reveal.lintec-reveal-right.is-visible,
.lintec-reveal.lintec-reveal-scale.is-visible{
  opacity: 1;
  transform: translate(0,0) scale(1);
}

.lintec-stagger > *{
  transition-delay: calc(var(--lintec-stagger-index, 0) * 60ms);
}

/* Pequenos microinteractions em cards/blocos importantes */
.shop-block-two .inner-box,
.shop-block-seven .inner-box,
.news-block-one .inner-box,
.downloads-category-section,
.comparador-picker,
.comparador-content,
.orcamento-produto-card,
.orcamento-form-card,
.contact-section .form-inner,
.contact-section .map-inner{
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.shop-block-two .inner-box:hover,
.shop-block-seven .inner-box:hover,
.news-block-one .inner-box:hover,
.comparador-picker:hover,
.comparador-content:hover,
.orcamento-produto-card:hover,
.orcamento-form-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(20,35,55,.12);
}

@media (max-width: 991px){
  .main-header.header-style-three.lintec-main-header-fixed{
    position: relative !important;
    box-shadow: none !important;
  }

  .lintec-header-spacer{
    display: none !important;
    height: 0 !important;
  }

  .lintec-reveal,
  .lintec-reveal.lintec-reveal-left,
  .lintec-reveal.lintec-reveal-right,
  .lintec-reveal.lintec-reveal-scale{
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce){
  .lintec-reveal,
  .lintec-reveal.lintec-reveal-left,
  .lintec-reveal.lintec-reveal-right,
  .lintec-reveal.lintec-reveal-scale,
  .theme-btn,
  button,
  a,
  img{
    transition: none !important;
    animation: none !important;
  }

  .lintec-reveal{
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Correção de contraste nos contatos do header */
.main-header .header-top .menu-right-content .header-contact-link{
  padding: 6px 10px;
  border-radius: 40px;
  background: transparent;
  transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.main-header .header-top .menu-right-content .header-contact-link:hover,
.main-header .header-top .menu-right-content .header-contact-link:focus{
  color: #000000 !important;
  background: rgba(255, 255, 255, .36);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
}

.main-header .header-top .menu-right-content .header-contact-link:hover i,
.main-header .header-top .menu-right-content .header-contact-link:focus i,
.main-header .header-top .menu-right-content .header-contact-link:hover span,
.main-header .header-top .menu-right-content .header-contact-link:focus span{
  color: #000000 !important;
}

/* Ícones para itens com submenu */
.lintec-menu-arrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  font-size: 11px;
  line-height: 1;
  color: currentColor;
  transition: transform .25s ease, color .25s ease;
}

.main-menu .navigation > li.dropdown > a{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-right: 0;
}

.main-menu .navigation > li.dropdown > a:before{
  display: none !important;
}

.main-menu .navigation > li.dropdown:hover > a .lintec-menu-arrow,
.main-menu .navigation > li.dropdown.current > a .lintec-menu-arrow{
  transform: rotate(180deg);
}

.main-menu .navigation > li > ul > li.dropdown > a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.main-menu .navigation > li > ul > li.dropdown:hover > a .lintec-menu-arrow{
  transform: translateX(3px);
}

.header-bottom .bottom-inner .category-list > li.category-dropdown .name{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.header-bottom .bottom-inner .category-list > li.category-dropdown .name p{
  margin: 0;
}

.header-bottom .bottom-inner .category-list > li.category-dropdown:hover .name .lintec-menu-arrow,
.header-bottom .bottom-inner .category-list > li.category-dropdown.current .name .lintec-menu-arrow{
  transform: rotate(180deg);
}

/* Paleta oficial LINTEC aplicada por cima do template */
body{
  color: var(--lintec-gray);
  background: var(--lintec-white);
}

h1, h2, h3, h4, h5, h6,
.sec-title h2,
.main-menu .navigation > li > a,
.header-bottom .bottom-inner .category-list > li .name p{
  color: var(--lintec-black);
}

a,
.shop-block-two .inner-box .lower-content h4 a,
.main-footer .links-list li a{
  color: var(--lintec-black);
}

a:hover,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a,
.shop-block-two .inner-box .lower-content h4 a:hover,
.main-footer .links-list li a:hover{
  color: var(--lintec-red) !important;
}

.theme-btn,
.theme-btn.btn-one,
button[type='submit'],
.produtos-search-field button,
.main-footer .subscribe-widget .form-group button{
  background: var(--lintec-yellow) !important;
  border-color: var(--lintec-yellow) !important;
  color: var(--lintec-black) !important;
}

.theme-btn:hover,
.theme-btn.btn-one:hover,
button[type='submit']:hover,
.produtos-search-field button:hover,
.main-footer .subscribe-widget .form-group button:hover{
  background: var(--lintec-red) !important;
  border-color: var(--lintec-red) !important;
  color: var(--lintec-white) !important;
}

.theme-btn:hover *,
.theme-btn.btn-one:hover *,
button[type='submit']:hover *,
.produtos-search-field button:hover *,
.main-footer .subscribe-widget .form-group button:hover *{
  color: var(--lintec-white) !important;
}

.header-contact-link:hover,
.header-contact-link:focus{
  background: var(--lintec-white) !important;
  color: var(--lintec-black) !important;
}

.produtos-category-link.active,
.produtos-subcategory-link.active,
.comparador-table th{
  background: var(--lintec-black) !important;
  border-color: var(--lintec-black) !important;
  color: var(--lintec-white) !important;
}

.produtos-category-pill,
.orcamento-produto-card > span,
.comparador-selected-card span,
.comparador-grupo h4{
  background: rgba(250, 187, 0, .18) !important;
  color: var(--lintec-black) !important;
}

.page-title,
.produtos-page,
.orcamento-rapido-section,
.politica-page,
.downloads-page{
  background-color: rgba(105, 106, 108, .06);
}

/* Correção de contraste do rodapé após padronização global de links */
.main-footer{
  background: var(--lintec-black) !important;
  color: rgba(255, 255, 255, .82);
}

.main-footer p,
.main-footer .contact-widget .widget-content .info li,
.footer-bottom p{
  color: rgba(255, 255, 255, .78) !important;
}

.main-footer .widget-title h4{
  color: var(--lintec-white) !important;
}

.main-footer a,
.main-footer .links-list li a,
.main-footer .contact-widget .widget-content .info li a,
.footer-bottom p a,
.footer-bottom .footer-card li a{
  color: rgba(255, 255, 255, .78) !important;
}

.main-footer a:hover,
.main-footer .links-list li a:hover,
.main-footer .contact-widget .widget-content .info li a:hover,
.footer-bottom p a:hover,
.footer-bottom .footer-card li a:hover{
  color: var(--lintec-yellow) !important;
}

.main-footer .subscribe-widget .form-group button,
.main-footer .subscribe-widget .form-group button i{
  color: var(--lintec-black) !important;
}

.main-footer .subscribe-widget .form-group button:hover,
.main-footer .subscribe-widget .form-group button:hover i{
  color: var(--lintec-white) !important;
}

