/* ===== Nos Produits – Frontend Styles ===== */

.np-section {
  background-color: #090909;
  color: #f5f5f5;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  padding: 110px 24px 120px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.np-section *,
.np-section *::before,
.np-section *::after {
  box-sizing: border-box;
}

/* Ambient top glow */
.np-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 90, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.np-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.np-header {
  margin-bottom: 60px;
  max-width: 800px;
}

.np-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.np-eyebrow-line {
  width: 32px;
  height: 2px;
  background: #ff5a00;
  border-radius: 2px;
  flex-shrink: 0;
}

.np-eyebrow-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff5a00;
  margin: 0;
}

.np-heading {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 750px;
  color: #f5f5f5;
}

.np-subheading {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #8d8d8d;
  max-width: 560px;
  margin: 0;
}

/* ===== Grid ===== */
.np-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ===== Card ===== */
.np-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, #151515, #0d0d0d);
  padding: 26px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 350ms ease-out, border-color 350ms ease-out, box-shadow 350ms ease-out;
}

.np-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 75% 15%, rgba(255, 90, 0, 0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 350ms ease-out;
  pointer-events: none;
  z-index: 0;
}

.np-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 0, 0.55);
  box-shadow: 0 12px 40px -12px rgba(255, 90, 0, 0.15);
}

.np-card:hover::after {
  opacity: 1;
}

/* ===== Number ===== */
.np-number {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  font-weight: 500;
  color: #ff5a00;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  opacity: 0.85;
  transition: text-shadow 350ms ease-out, opacity 350ms ease-out;
}

.np-card:hover .np-number {
  opacity: 1;
  text-shadow: 0 0 12px rgba(255, 90, 0, 0.4);
}

/* ===== Body ===== */
.np-body {
  position: relative;
  z-index: 2;
}

.np-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: #f5f5f5;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.np-features {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #8d8d8d;
  margin: 0;
}

.np-feature-sep {
  color: rgba(255, 90, 0, 0.4);
  margin: 0 7px;
  font-weight: 500;
}

/* ===== Hover arrow ===== */
.np-arrow {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 350ms ease-out, transform 350ms ease-out, border-color 350ms ease-out, background-color 350ms ease-out;
  z-index: 2;
}

.np-arrow svg {
  color: #ff5a00;
}

.np-card:hover .np-arrow {
  opacity: 1;
  transform: translate(0, 0);
  border-color: #ff5a00;
  background-color: rgba(255, 90, 0, 0.1);
}

/* ===== Product Image ===== */
.np-image-wrap {
  width: 100%;
  flex: 0 0 auto;
  margin: 16px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.np-product-image {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center center;
  max-width: 100%;
  transition: filter 350ms ease-out, transform 350ms ease-out;
}

.np-card:hover .np-product-image {
  filter: brightness(1.05);
}

/* ===== Responsive via inline CSS (Elementor responsive controls inject their own) ===== */

@media (max-width: 1024px) {
  .np-heading { font-size: 48px; }
}

@media (max-width: 768px) {
  .np-section { padding: 70px 20px; }
  .np-header { margin-bottom: 40px; }
  .np-heading { font-size: 40px; }
  .np-subheading { font-size: 16px; }
}

@media (max-width: 520px) {
  .np-heading { font-size: 38px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .np-card,
  .np-card::after,
  .np-number,
  .np-arrow,
  .np-product-image,
  .deco-rings::before,
  .deco-rings::after,
  .deco-rings .ring,
  .deco-diagonal .dline,
  .deco-grid .gcell,
  .deco-crosshair .ch-h,
  .deco-crosshair .ch-v,
  .deco-crosshair .ch-dot,
  .deco-crosshair .ch-corner,
  .deco-glow .glow-orb,
  .deco-glow .glow-ring,
  .deco-glow .glow-bar {
    transition: none !important;
  }
  .np-card:hover { transform: none; }
}
