/* ═══════════════════════════════════════════════════════
   🌍 PUBLIC-MAP — Hero WITHOUT video
   Premium static animated background (map-prime inspired clean look)
   ═══════════════════════════════════════════════════════ */

/* Kill any leftover video layers (JS-injected dual stack, overlays, etc.) */
.hero-video,
.hero-video-stack,
.hero-video-overlay,
.hero-watermark-mask,
.hero-vignette,
#heroVideo, #heroVidA, #heroVidB,
.hero-matrix, .hero-dust, .hero-steam,
.hero-scan, .hero-flare, .hero-network,
#sceneTint, #sceneIndicator {
  display: none !important;
}

/* ─── CROSSFADING IMAGE SLIDESHOW (map-prime style — no video) ─── */
.hero-novideo {
  position: relative;
  overflow: clip;
  background: #050B18;
  max-width: 100vw;
  contain: paint;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
  max-width: 100vw;
  contain: paint;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  /* Each slide fades in/out over a 21s cycle (3 slides × 7s each) */
  animation: heroSlideFade 21s linear infinite, heroKenBurns 21s ease-in-out infinite;
  will-change: opacity, transform;
  transform-origin: center;
}
/* PUBLIC-MAP hero — photo équipe marketing (image unique) */
.hero-slide-1,
.hero-slide-2,
.hero-slide-3 {
  background-image: url("assets/images/map-prime-hero/hero_team.jpg");
}
.hero-slide-1 { animation-delay: 0s; }
.hero-slide-2 { animation-delay: -7s; }
.hero-slide-3 { animation-delay: -14s; }
@keyframes heroSlideFade {
  0%    { opacity: 0; }
  4%    { opacity: 1; }
  29%   { opacity: 1; }
  38%   { opacity: 0; }
  100%  { opacity: 0; }
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.04); }
  38%  { transform: scale(1.12); }
  100% { transform: scale(1.04); }
}

/* map-prime style dark gradient overlay (dark left → clear right) */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(5,11,24,.96) 0%, rgba(6,13,28,.85) 36%, rgba(8,20,40,.55) 68%, rgba(10,26,51,.42) 100%),
    radial-gradient(ellipse 90% 80% at 15% 10%, rgba(27, 91, 255, .18) 0%, transparent 55%);
  pointer-events: none;
}

/* Aurora flowing light — soft, premium, never aggressive */
.hero-novideo .hero-aurora {
  position: absolute;
  z-index: 1;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 90%;
  background: radial-gradient(ellipse at center,
    rgba(27, 91, 255, .28) 0%,
    rgba(77, 123, 255, .12) 35%,
    transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  animation: heroAuroraFloat 16s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-novideo .hero-aurora-2 {
  top: auto;
  bottom: -25%;
  left: auto;
  right: -10%;
  width: 65%;
  height: 85%;
  background: radial-gradient(ellipse at center,
    rgba(0, 184, 255, .20) 0%,
    rgba(27, 91, 255, .10) 40%,
    transparent 70%);
  animation: heroAuroraFloat2 20s ease-in-out infinite;
}
@keyframes heroAuroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .85; }
  50%      { transform: translate(8%, 6%) scale(1.12); opacity: 1; }
}
@keyframes heroAuroraFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .7; }
  50%      { transform: translate(-7%, -5%) scale(1.15); opacity: 1; }
}

/* Subtle tech grid overlay */
.hero-novideo .hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(27, 91, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 91, 255, .045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-novideo .hero-ambient-glow,
.hero-novideo .hero-map,
.hero-novideo .hero-glow { z-index: 2; }
.hero-novideo .hero-content { z-index: 5; position: relative; }

/* ─── TRUST BADGES (map-prime style, clean SVG icons) ─── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 30px;
}
.hero-novideo .hero-trust-item,
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF !important;
  letter-spacing: .005em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.hero-trust-item .ht-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35));
}
.hero-trust-item:hover {
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .hero-trust {
    gap: 12px 18px;
    margin-top: 22px;
  }
  .hero-trust-item {
    font-size: 12px;
    gap: 7px;
  }
  .hero-trust-item .ht-svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-novideo .hero-aurora,
  .hero-slide {
    animation: none !important;
  }
  /* Keep the first slide visible when motion is reduced */
  .hero-slide-1 { opacity: 1 !important; }
  .hero-slide-2, .hero-slide-3 { opacity: 0 !important; }
}
