/* =============================================
   LIZINOX — Stylesheet (BASE & GLOBALS)
   Cores: #004d40 (verde-escuro), #e0e0e0, #fff
   Cores: #00bfa5 (Menta esmeralda), #eaeaea, #fff
   ============================================= */

/* --- Reset & Base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #004d40;
  --green-mid:  #00695c;
  --green-light:#00897b;
  --green-glow: rgba(0, 77, 64, 0.15);
  --gray:       #e0e0e0;
  --gray-mid:   #9e9e9e;
  --gray-dark:  #424242;
  --white:      #ffffff;
  --off-white:  #f5f5f5;
  --black:      #111111;

  --font-body:  'Poppins', system-ui, sans-serif;
  --font-serif: 'Poppins', system-ui, sans-serif;
  --font-heading-weight: 600;

  --radius:     12px;
  --radius-lg:  24px;
  --radius-pill: 9999px;
  --transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.15);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.03);
  --shadow-md:  0 12px 38px rgba(0,0,0,0.06);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.12);
  --neon-glow:  0 8px 30px rgba(0, 191, 165, 0.12), 0 1px 0 rgba(0, 191, 165, 0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.page-home {
  background: #000000;
  color: rgba(255, 255, 255, 0.65);
}

body.page-sub {
  background: #ffffff;
  color: var(--gray-dark);
}

.neon-glow {
  box-shadow: var(--neon-glow) !important;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hide-sm { display: inline; }

/* --- Reveal animations -------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons ------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::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.35) 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;
}
.btn:hover::before {
  transform: translate(120%, 120%) rotate(30deg);
}
.btn--primary {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 50%, #64748b 100%) !important;
  color: #0c0d0f !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 
    0 4px 12px 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);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  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;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #a6b5c9 50%, #78889e 100%) !important;
  transform: translateY(-2px);
  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;
}
.btn--outline {
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}
.btn--ghost {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn--sm { padding: 10px 20px; font-size: 0.82rem; }
.btn--full { width: 100%; justify-content: center; }

/* --- Section typography ------------------------- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-label--light { color: rgba(255,255,255,0.6); }
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
}
.section-title--light { color: var(--white); }
.section-header { margin-bottom: 56px; text-align: center; }
.section-header--light { margin-bottom: 56px; text-align: center; }

/* --- Image placeholders ------------------------- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.img-placeholder--hero {
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
}
.img-placeholder--about {
  aspect-ratio: 1/1;
}
.img-placeholder--wide {
  aspect-ratio: 16/5;
  margin-top: 64px;
}
.img-placeholder__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-mid);
}
.img-placeholder__inner svg {
  width: 64px;
  height: 64px;
}
.img-placeholder__inner span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* =============================================
   TECH BLUEPRINTS & GLASS PANELS (CSS Premium)
   ============================================= */
.img-placeholder--hero {
  border: 1px solid rgba(0, 255, 204, 0.2) !important;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 77, 64, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.img-placeholder--hero:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.tech-label {
  position: absolute;
  bottom: 20px;
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 3;
}

.about-laser-scanner {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffcc, transparent);
  box-shadow: 0 0 15px #00ffcc;
  z-index: 2;
  animation: laserScanSlow 5s infinite ease-in-out;
}

@keyframes laserScanSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(400px); }
}

.tech-blueprint--anim {
  animation: spinSlow 30s infinite linear;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.cnc-interface-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-size: 15px 15px;
  background-image: 
    linear-gradient(to right, #00ffcc 1px, transparent 1px),
    linear-gradient(to bottom, #00ffcc 1px, transparent 1px);
}

.cnc-screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 77, 64, 0.4) 0%, transparent 80%);
}

/* Estilos de Ícones Vetoriais para cada Produto */
.product-vector-icon {
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 8px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-vector-icon {
  transform: scale(1.1) translateY(-4px);
}

.product-vector-icon--tubos {
  background: 
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.7) 1px, transparent 20px),
    linear-gradient(135deg, #cbd5e1, #64748b);
  border-radius: 50%;
  border: 4px solid #94a3b8;
  box-shadow: 
    inset 0 4px 10px rgba(0,0,0,0.3),
    0 8px 20px rgba(0,0,0,0.15);
}
.product-vector-icon--tubos::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50%; height: 50%;
  background: #1e293b;
  border-radius: 50%;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.product-vector-icon--chapas {
  background: linear-gradient(90deg, #64748b 0%, #cbd5e1 30%, #475569 70%, #cbd5e1 100%);
  border-radius: 8px;
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
}
.product-vector-icon--chapas::before {
  content: '';
  position: absolute;
  top: 15%; left: 15%;
  right: 15%; bottom: 15%;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
}

.product-vector-icon--perfis {
  background: #475569;
  clip-path: polygon(0 0, 100% 0, 100% 25%, 65% 25%, 65% 75%, 100% 75%, 100% 100%, 0 100%, 0 75%, 35% 75%, 35% 25%, 0 25%);
  box-shadow: inset 0 0 15px rgba(255,255,255,0.15);
  border: 2px solid #94a3b8;
}

.product-vector-icon--arames {
  background: transparent;
  border: 3px solid #cbd5e1;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
}
.product-vector-icon--arames::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 3px dashed #94a3b8;
  border-radius: 50%;
  animation: spinSlow 15s infinite linear;
}
.product-vector-icon--arames::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 2px solid #64748b;
  border-radius: 50%;
}

.product-vector-icon--pecas {
  background: #64748b;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.product-vector-icon--pecas::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 35%; height: 35%;
  background: #1e293b;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
}
.product-vector-icon--pecas::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 6px dotted #cbd5e1;
  border-radius: 50%;
  animation: spinSlow 10s infinite linear;
}

.product-vector-icon--tanques {
  background: linear-gradient(to right, #475569 0%, #cbd5e1 50%, #1e293b 100%);
  border-radius: 12px 12px 6px 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}
.product-vector-icon--tanques::before {
  content: '';
  position: absolute;
  top: 15%; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 70%;
  background: rgba(0, 255, 204, 0.45);
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
  border-radius: 4px;
}

/* =============================================
   RESPONSIVO GLOBAL
   ============================================= */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__badge { bottom: 12px; right: 12px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
