/* ═══════════════════════════════════════════════════════════════════
   ZenithStruct Top Hero Section — Grid Frame Edition (Image collée 12)
   ═══════════════════════════════════════════════════════════════════ */

/* Header / Navbar Styling — Boxed Rectangle within the Grid Zone (Image collée 12) */
.zenith-nav-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 1272px;
  max-width: calc(100% - 48px);
  height: 68px;
  z-index: 1000;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 7, 9, 0.85) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  font-family: 'Inter', sans-serif !important;
}

.zenith-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  border: none !important;
  outline: none !important;
}

.zenith-nav-logo span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  opacity: 1 !important;
}

.zenith-nav-logo-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2b2d35, #141518);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.zenith-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zenith-nav-menu a {
  color: #c0c4ce;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.zenith-nav-menu a:hover {
  color: #ffffff;
}

.zenith-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zenith-btn-telecharger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #000000 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none !important;
}

.zenith-btn-telecharger:hover {
  background-color: #e4e6ea;
  transform: translateY(-1px);
}

.zenith-btn-decouvrir {
  display: inline-flex;
  align-items: center;
  background-color: rgba(18, 19, 22, 0.7);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: 'Inter', sans-serif !important;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.zenith-btn-decouvrir:hover {
  border-color: #ffffff;
  background-color: rgba(35, 38, 44, 0.9);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════
   Top Hero Viewport & Grid Frame (Image collée 9)
   ═══════════════════════════════════════════════════════════════════ */

.zenith-top-hero {
  width: 100%;
  min-height: 100vh;
  background-color: #060709;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 82px;
  color: #ffffff;
}

/* Star Dust Arc Background */
.zenith-hero-dust-arc {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(1.5px 1.5px at 20% 55%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 42% 62%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 58% 52%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 46%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(2px 2px at 80% 40%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 88% 34%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 94% 28%, rgba(255, 255, 255, 0.7), transparent);
  opacity: 0.9;
}

.zenith-hero-arc-svg {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  height: 400px;
  pointer-events: none;
  opacity: 0.45;
}

/* ═══════════════════════════════════════════════════════════════════
   The Dashed Grid Frame (Exact to Image collée 12 & 9)
   ═══════════════════════════════════════════════════════════════════ */
.zenith-hero-grid-box {
  width: 1272px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  border-left: 1px dashed rgba(255, 255, 255, 0.16);
  border-right: 1px dashed rgba(255, 255, 255, 0.16);
  border-top: none;
  position: relative;
  z-index: 5;
  padding: 56px 44px 0;
  box-sizing: border-box;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 48px;
  align-items: start;
}

/* Tagline spans both columns */
.zenith-hero-tagline {
  grid-column: 1 / -1;
}

/* Left column: title + subtitle + CTA */
.zenith-hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Right column: dot-matrix counter */
.zenith-hero-right-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 0;
  padding-bottom: 12px;
  align-self: end;
}

/* ═══════════════════════════════════════════════════════════════════
   Dot-Matrix LED Counter (Image collée 13) — "114.2K"
   ═══════════════════════════════════════════════════════════════════ */
.zenith-dotmatrix-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  box-shadow: none;
  position: relative;
  overflow: visible;
  min-width: 0;
}

/* Remove ::before ambient glow */
.zenith-dotmatrix-card::before {
  display: none;
}

.zenith-dotmatrix-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(46, 204, 113, 0.55);
  align-self: flex-end;
}

/* The dot-matrix display canvas */
.zenith-dotmatrix-display {
  display: grid;
  /* columns set by JS */
  gap: 3px;
}

.zenith-dot {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: rgba(20, 60, 35, 0.35);
  transition: background 0.08s ease;
}

.zenith-dot.on {
  background: #2ecc71;
  box-shadow: 0 0 5px rgba(46, 204, 113, 0.8), 0 0 12px rgba(46, 204, 113, 0.35);
}

.zenith-dotmatrix-sublabel {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(46, 204, 113, 0.35);
  align-self: flex-end;
}

@keyframes zenithDotPulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1; }
}

.zenith-dotmatrix-card .zenith-dot.on {
  animation: zenithDotPulse 3s ease-in-out infinite;
}


.zenith-top-hero-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0 0 28px 0;
  max-width: 880px;
}

.zenith-top-hero-title span {
  display: block;
}

.zenith-top-hero-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  font-weight: 400;
  line-height: 1.6;
  color: #9ba1a6;
  margin: 0 0 36px 0;
  max-width: 600px;
}

.zenith-top-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #000000 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.zenith-top-hero-cta:hover {
  background-color: #eaecef;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

/* ═══════════════════════════════════════════════════════════════════
   ZenithStruct — Giant Scintillant Horizon (Coupé en bas)
   ═══════════════════════════════════════════════════════════════════ */

.zenith-hero-cut-stage {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: clamp(110px, 20vw, 240px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  user-select: none;
  margin-top: 40px;
}

.zenith-hero-giant-word {
  font-family: 'Inter Display', 'Inter', -apple-system, sans-serif !important;
  font-size: clamp(5.5rem, 19vw, 18.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.74;
  margin: 0;
  padding: 0;
  text-align: center;
  display: inline-block;
  white-space: nowrap;
  
  /* Scintillant metallic reflection */
  background: linear-gradient(
    115deg,
    #131417 0%,
    #1a1c22 22%,
    #2a2e38 38%,
    #5a6170 47%,
    #ffffff 50%,
    #9aa2b4 54%,
    #2a2e38 64%,
    #1a1c22 78%,
    #131417 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: zenithGleam 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.08));
}

@media (max-width: 992px) {
  .zenith-nav-menu {
    display: none;
  }
  .zenith-nav-header {
    padding: 0 20px;
  }
  .zenith-top-hero {
    padding-top: 82px;
  }
  .zenith-hero-grid-box {
    width: calc(100% - 48px);
    padding: 36px 20px 0;
    grid-template-columns: 1fr;
    gap: 36px 0;
  }
  .zenith-hero-right-col {
    justify-content: flex-start;
  }
  .zenith-dotmatrix-card {
    min-width: 0;
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .zenith-nav-header {
    top: 8px;
    height: 58px;
    padding: 0 14px;
    max-width: calc(100% - 24px);
  }
  .zenith-btn-decouvrir {
    display: none;
  }
  .zenith-btn-telecharger {
    padding: 8px 14px;
    font-size: 0.7rem;
  }
  .zenith-hero-grid-box {
    width: calc(100% - 24px);
    padding: 28px 16px 0;
  }
  .zenith-top-hero {
    padding-top: 66px;
  }
}
