/* ============================================
   MR Engenharia – Tema Claro Premium
   ============================================ */

:root {
  --logo-primary: #E8611A;
  --logo-secondary: #2D2D2D;
  --bg-main: #FFFFFF;
  --bg-surface: #F8F9FA;
  --text-dark: #1F2937;
  --border-light: #E5E7EB;
}

body {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-dark);
}

/* Scrollbar Refinada */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--logo-primary);
}

/* Header Navbar */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}
.header.scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-light);
}

/* Links do menu */
.nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #6B7280;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--logo-primary);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--logo-primary);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active-link {
  color: var(--logo-secondary);
}
.nav-link.active-link::after {
  width: 100%;
  background-color: var(--logo-secondary);
}

/* Botão Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.btn--primary {
  background: var(--logo-primary);
  color: #FFFFFF;
  padding: 0.9rem 2.2rem;
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #D15515;
}
.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: 1rem;
}

/* Hamburger Animado */
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--logo-secondary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  transform: translateY(-10px);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Overlay Busca */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Kits Tabs */
.kits-tab {
  color: #6B7280;
  transition: all 0.3s ease;
  background: transparent;
}
.kits-tab.active {
  background: var(--logo-secondary);
  color: #FFF;
  border-color: var(--logo-secondary);
}
.kits-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.kits-panel.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Range Slider Premium */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: var(--logo-primary);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(232, 97, 26, 0.3);
  border: 4px solid #FFFFFF;
  transition: transform 0.2s;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* Estilos de Produtos Importados (Caso haja) */
.product-img-wrap {
  padding: 2.5rem;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  border-radius: 1rem 1rem 0 0;
}
.product-info {
  padding: 1.8rem;
  background: var(--bg-surface);
  border-radius: 0 0 1rem 1rem;
}
.product-name {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  line-height: 1.4;
}
.pix-value {
  color: var(--logo-primary);
  font-weight: 800;
  font-size: 1.6rem;
}

/* Adjustments for Dynamic Product Card */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}
/* Padronizar cards de produtos */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 16px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.kits-panel { display: none; } .kits-panel.active { display: block; }
