/* ── CURSOR ── */
html, body, *, *::before, *::after {
  cursor: none !important;
}

#custom-cursor {
  position: fixed;
  top: -100px;      /* ← hors écran au départ */
  left: -100px;     /* ← hors écran au départ */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  animation: tricolore 2.1s steps(1) infinite;
}
@keyframes tricolore {
  0%   { background: #002395; }
  33%  { background: #FFFFFF; }
  66%  { background: #ED2939; }
}

#custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(2.5);
}


/* ── HERO VIDEO MP4 ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Mobile */
@media (max-width: 768px) {
  #hero {
    height: 100svh;
  }
  
  .hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* iOS fix */
@supports (padding: max(0px)) {
  #hero {
    height: -webkit-fill-available;
  }
}

#hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* augmente jusqu'à 0.7 pour plus d'effet */
  z-index: 1;
}

#hero video {
  opacity: 0.30; /* entre 0.3 et 0.6 selon le rendu voulu */
}


/* Correction About mobile */
@media (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
  
  .about-body {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* ── NEWS SCROLL ── */
.news-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.news-scroll::-webkit-scrollbar {
  height: 4px;
}

.news-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.news-scroll::-webkit-scrollbar-thumb {
  background: #7ec8e3;
  border-radius: 4px;
}

/* NEWS mobile */
@media (max-width: 768px) {
  #news {
    padding-left: 0;
    padding-right: 0;
  }
  
  .news-scroll {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }
}

/* Indicateur de scroll sur mobile */
.scroll-hint-indicator {
  display: none;
  text-align: center;
  margin-top: 0.75rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  animation: bounce 1.5s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@media (max-width: 768px) {
  .scroll-hint-indicator {
    display: block;
  }
}