/* =============================================
   LIZINOX — Texturas de Aço Inox (Reutilizável)
   ============================================= */

/* Classe base para aplicar o visual físico de Chapa de Aço Inox Granulada */
.steel-texture {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 50%, #64748b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #0c0d0f !important;
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* O granulado de alta resolução e precisão física da chapa de metal via SVG Noise */
.steel-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12; /* Ajustado para dar a textura de metal escovado granular */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1; /* Mantém atrás do conteúdo de texto/botão */
}

/* Textura para elementos escuros, se necessário (Aço Carbono / Inox Escuro) */
.steel-texture--dark {
  background: linear-gradient(135deg, #475569 0%, #334155 50%, #1e293b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
}
.steel-texture--dark::after {
  opacity: 0.08;
}

/* Efeito de Reflexo Metálico Dinâmico sob Hover para qualquer elemento .steel-texture */
.steel-texture-hover {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition) !important;
}

.steel-texture-hover::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 200%; height: 200%;
  background: linear-gradient(
    45deg, 
    rgba(255, 255, 255, 0) 42%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(255, 255, 255, 0) 58%
  );
  transform: rotate(30deg);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  pointer-events: none;
}

.steel-texture-hover:hover::before {
  transform: translate(120%, 120%) rotate(30deg);
}

.steel-texture-hover:hover {
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 
    0 10px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}
