/* ============================================================
   AJUSTES DE DESKTOP (a partir de 641px)
   Carregado por último nas 3 páginas. Nada aqui altera o
   celular (<= 640px), que continua com o mobile-perf.css.
   ============================================================ */

/* ============================================================
   1) MINHAS FERRAMENTAS (#soft-skills)
      Mantida como estava: dock de ícones + painel de destaque.
   ============================================================ */

/* ============================================================
   2) MENU LAYERS (#layersPanel) — nas 3 páginas.
      - aberto: mais estreito
      - fechado: "chamado" (abre um pouco e volta) a cada 5s
      - sempre inteiro na tela, sem barra de rolagem, com a
        altura total reduzida por escala (zoom)
   ============================================================ */
@media (min-width: 641px) {

  #layersPanel.lp{
    --pw: min(250px, calc(100vw - 64px)) !important;
    zoom: .86;
    max-height: none !important;
  }

  /* O painel deixa de ter rolagem interna: o conteúdo aparece por inteiro. */
  #layersPanel.lp .lp-inner{
    max-height: none !important;
    overflow: visible !important;
    scrollbar-width: none;
  }
  #layersPanel.lp .lp-inner::-webkit-scrollbar{
    width: 0;
    height: 0;
    display: none;
  }

  /* O transform do painel é !important no plin.css, então o chamado
     é feito pelo right, que a animação consegue mover de verdade. */
  @keyframes lpPeekDesk{
    0%, 62%, 100%{right: 0px;}
    74%{right: 18px;}
    86%{right: 0px;}
    93%{right: 8px;}
  }
  #layersPanel.lp:not(.is-open){
    animation: lpPeekDesk 5s ease-in-out infinite !important;
  }
  /* Ao passar o mouse (ou focar), o chamado pausa e a aba fica à mão. */
  #layersPanel.lp:not(.is-open):hover,
  #layersPanel.lp:not(.is-open):focus-within{
    animation: none !important;
  }
}

/* Telas mais baixas: reduz um pouco mais para caber inteiro. */
@media (min-width: 641px) and (max-height: 700px){
  #layersPanel.lp{zoom: .8;}
}
@media (min-width: 641px) and (max-height: 640px){
  #layersPanel.lp{zoom: .74;}
}

@media (min-width: 641px) and (prefers-reduced-motion: reduce){
  #layersPanel.lp:not(.is-open){animation: none !important;}
}

/* ============================================================
   3) ORÇAMENTO — divisórias decorativas fora também no desktop.
   ============================================================ */
body > main > div.orc-divider{
  display: none !important;
}
