/* V19.13 — fundos fotográficos realistas e premium para o Centro Técnico */

/* Home institucional: Centro Técnico no mesmo nível visual dos cards principais */
.center-tech-entry-panel{
  background-image:
    linear-gradient(90deg,rgba(0,0,0,.97) 0%,rgba(0,0,0,.90) 36%,rgba(0,0,0,.58) 67%,rgba(0,0,0,.24) 100%),
    radial-gradient(circle at 76% 18%,rgba(246,198,77,.18),transparent 32%),
    url('https://images.unsplash.com/photo-1758640920659-0bb864175983?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=78&w=2200')!important;
  background-position:center,center,center 48%!important;
  background-size:cover,cover,cover!important;
  background-repeat:no-repeat!important;
}
.center-tech-entry-panel:before{
  background:
    linear-gradient(115deg,rgba(246,198,77,.12),transparent 42%),
    radial-gradient(circle at 18% 20%,rgba(246,198,77,.18),transparent 31%)!important;
}
.center-tech-entry-panel:after{
  background:linear-gradient(90deg,transparent 0%,transparent 58%,rgba(246,198,77,.10) 100%)!important;
}

/* Centro Técnico: cards com fotografias realistas, overlay editorial e leitura premium */
.center-tech-home .category-grid{gap:15px!important}
.center-tech-home .category-card{
  --real-photo:none;
  min-height:228px!important;
  padding:20px 20px 18px!important;
  justify-content:flex-end!important;
  border-color:rgba(246,198,77,.30)!important;
  background:#080808!important;
  box-shadow:0 22px 56px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.center-tech-home .category-card::before{
  inset:0!important;
  border-radius:inherit!important;
  background-image:
    linear-gradient(180deg,rgba(2,2,2,.15) 0%,rgba(2,2,2,.26) 35%,rgba(2,2,2,.90) 100%),
    linear-gradient(92deg,rgba(2,2,2,.78) 0%,rgba(2,2,2,.42) 52%,rgba(2,2,2,.10) 100%),
    var(--real-photo)!important;
  background-size:cover!important;
  background-position:var(--photo-position,center)!important;
  filter:saturate(.92) contrast(1.06) brightness(.88)!important;
  opacity:1!important;
  transform:scale(1.015)!important;
}
.center-tech-home .category-card::after{
  background:rgba(5,5,5,.60)!important;
  border-color:rgba(246,198,77,.52)!important;
  color:#ffe7a1!important;
}
.center-tech-home .category-card:hover::before,
.center-tech-home .category-card:focus-visible::before{
  transform:scale(1.075)!important;
  filter:saturate(1.04) contrast(1.08) brightness(.96)!important;
}
.center-tech-home .category-icon{
  position:absolute!important;
  top:17px!important;
  left:18px!important;
  width:44px!important;
  height:44px!important;
  margin:0!important;
  color:#ffe19a!important;
  background:rgba(5,5,5,.48)!important;
  border:1px solid rgba(255,224,151,.46)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.15)!important;
  backdrop-filter:blur(8px)!important;
}
.center-tech-home .category-card h3{
  max-width:86%!important;
  margin:0 0 7px!important;
  font-size:19px!important;
  line-height:1.14!important;
  text-shadow:0 3px 18px rgba(0,0,0,.96)!important;
}
.center-tech-home .category-card p{
  max-width:88%!important;
  margin:0 0 9px!important;
  color:#ededed!important;
  font-size:10.8px!important;
  line-height:1.48!important;
  text-shadow:0 3px 14px rgba(0,0,0,.98)!important;
}
.center-tech-home .category-meta{
  color:#f7d47d!important;
  font-size:8.6px!important;
  text-shadow:0 2px 11px rgba(0,0,0,.98)!important;
}

.center-tech-home .theme-courses{
  --real-photo:url('https://images.unsplash.com/photo-1769794371055-54436b54577e?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=74&w=1800');
  --photo-position:center 58%;
}
.center-tech-home .theme-ebooks{
  --real-photo:url('https://images.unsplash.com/photo-1727363995163-d67ccdb408e2?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=74&w=1800');
  --photo-position:center 48%;
}
.center-tech-home .theme-planilhas{
  --real-photo:url('https://images.unsplash.com/photo-1784729553968-07da5d7b7c99?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=74&w=1800');
  --photo-position:center 50%;
}
.center-tech-home .theme-modelos{
  --real-photo:url('https://assets.lummi.ai/assets/QmauG9jWXHWQwsT67RECxcGubA1rV23ZrZ1AJX5zKPduN7?auto=format&w=1280');
  --photo-position:center 53%;
}
.center-tech-home .theme-ferramentas{
  --real-photo:url('https://images.unsplash.com/photo-1525547719571-a2d4ac8945e2?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=74&w=1800');
  --photo-position:center 55%;
}
.center-tech-home .theme-equipamentos{
  --real-photo:url('https://images.unsplash.com/photo-1774509655380-dfc9ea34f604?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=74&w=1800');
  --photo-position:center 47%;
}
.center-tech-home .theme-livros{
  --real-photo:url('https://images.unsplash.com/photo-1508060793788-7d5f1c40c4ba?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=74&w=1800');
  --photo-position:center 48%;
}

/* Materiais gratuitos: mesma linguagem fotográfica, sem o antigo nome Acesso Livre */
.center-tech-home .free-hub-panel{
  min-height:148px!important;
  border-color:rgba(246,198,77,.32)!important;
  background:#070707!important;
  box-shadow:0 22px 56px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.center-tech-home .free-hub-panel::before{
  background-image:
    linear-gradient(90deg,rgba(2,2,2,.92) 0%,rgba(2,2,2,.68) 48%,rgba(2,2,2,.18) 100%),
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.66)),
    url('https://assets.lummi.ai/assets/QmbeSNdEre9iCjc1jxMWUBYzFabVnsZwhzG5K5qb9f96gu?auto=format&w=1280')!important;
  background-size:cover!important;
  background-position:center 52%!important;
  filter:saturate(.95) contrast(1.05) brightness(.86)!important;
}
.center-tech-home .free-hub-panel:hover::before,
.center-tech-home .free-hub-panel:focus-visible::before{
  transform:scale(1.065)!important;
  filter:saturate(1.05) contrast(1.07) brightness(.94)!important;
}
.center-tech-home .free-hub-panel small{color:#f3cd77!important}
.center-tech-home .free-hub-panel strong{color:#fff!important;font-size:1.24rem!important}
.center-tech-home .free-hub-panel em{color:#e4e4e4!important;text-shadow:0 2px 12px rgba(0,0,0,.92)!important}
.center-tech-home .free-hub-panel b{color:#ffe095!important}
.center-tech-home .free-hub-icon{
  background:rgba(5,5,5,.52)!important;
  color:#ffe098!important;
  border-color:rgba(246,198,77,.46)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.34)!important;
}

@media(max-width:1050px){
  .center-tech-home .category-card{min-height:215px!important}
}
@media(max-width:760px){
  .center-tech-entry-panel{background-position:center,center,62% center!important}
  .center-tech-home .category-card{min-height:202px!important}
  .center-tech-home .free-hub-panel{min-height:142px!important}
}
@media(max-width:560px){
  .center-tech-entry-panel{background-position:center,center,68% center!important}
  .center-tech-home .category-card{min-height:196px!important}
  .center-tech-home .category-card h3{font-size:17.5px!important}
  .center-tech-home .category-card p{font-size:10.5px!important;max-width:92%!important}
  .center-tech-home .free-hub-panel{min-height:154px!important}
}
@media(prefers-reduced-motion:reduce){
  .center-tech-home .category-card::before,
  .center-tech-home .free-hub-panel::before{transition:none!important}
}
