/* ============================================
   MICHOU - HOMMAGE
   Styles principaux
   ============================================ */

/* Variables et réinitialisation */
:root {
  --blue-electric: #00a8ff;
  --blue-neon: #0084ff;
  --blue-glow: #3fc3ff;
  --blue-night: #0b1026;
  --blue-deep: #05081a;
  --blue-card: #111835;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.85);
  --white-muted: rgba(255, 255, 255, 0.55);
  --black: #050508;
  --gray: #1a1f35;
  --gray-light: #2a3048;
  --gradient-hero: linear-gradient(135deg, #05081a 0%, #0b1026 50%, #0d1a3d 100%);
  --gradient-glow: radial-gradient(circle at 20% 30%, rgba(0, 132, 255, 0.25) 0%, transparent 45%),
                   radial-gradient(circle at 80% 70%, rgba(0, 168, 255, 0.18) 0%, transparent 45%);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 132, 255, 0.25);
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--blue-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--blue-night);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue-neon), var(--blue-electric));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-electric);
}

/* Layout de base */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  background: linear-gradient(90deg, var(--white) 0%, var(--blue-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--white-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: padding var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 8, 26, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  position: relative;
  z-index: 1001;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-neon), var(--blue-electric));
  border-radius: 4px;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white-soft);
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue-electric);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Bouton hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition-base);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.open .hamburger {
  background: transparent;
}

.nav-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 1.5rem 6rem;
  background: var(--gradient-hero), var(--gradient-glow);
  overflow: hidden;
}

.hero-decoration,
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 132, 255, 0.25);
  box-shadow: 0 0 60px rgba(0, 132, 255, 0.15);
  animation: float 8s ease-in-out infinite;
}

.c1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  animation-duration: 10s;
}

.c2 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  right: -10%;
  border-color: rgba(0, 168, 255, 0.18);
  animation-duration: 14s;
  animation-delay: -2s;
}

.c3 {
  width: 180px;
  height: 180px;
  top: 55%;
  left: 20%;
  border-color: rgba(0, 132, 255, 0.12);
  animation-duration: 12s;
  animation-delay: -4s;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: pulse 6s ease-in-out infinite;
}

.h1 {
  width: 220px;
  height: 220px;
  background: var(--blue-neon);
  top: 15%;
  right: 20%;
  animation-duration: 7s;
}

.h2 {
  width: 160px;
  height: 160px;
  background: var(--blue-electric);
  bottom: 25%;
  left: 10%;
  animation-duration: 9s;
  animation-delay: -3s;
}

.h3 {
  width: 120px;
  height: 120px;
  background: #2a6bff;
  top: 45%;
  right: 8%;
  animation-duration: 11s;
  animation-delay: -1.5s;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--blue-electric);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px var(--blue-glow);
  animation: particleDrift linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-glow);
  background: rgba(0, 132, 255, 0.1);
  border: 1px solid rgba(0, 132, 255, 0.25);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 10rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -3px;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #3fc3ff 55%, #0084ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(0, 132, 255, 0.35);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--white-soft);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-neon), var(--blue-electric));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 132, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 132, 255, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
}

.portrait-placeholder {
  width: 260px;
  height: 320px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-muted);
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px dashed rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-portrait {
  width: 320px;
  height: 420px;
  background: linear-gradient(145deg, rgba(0, 132, 255, 0.08), rgba(255,255,255,0.03));
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.visual-ring {
  position: absolute;
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}

.r1 {
  width: 420px;
  height: 420px;
  inset: -50px;
  z-index: -1;
}

.r2 {
  width: 520px;
  height: 520px;
  inset: -100px;
  border-color: rgba(0, 168, 255, 0.12);
  animation-delay: 1s;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--white-muted);
}

.arrow {
  width: 20px;
  height: 30px;
  border: 2px solid var(--blue-electric);
  border-radius: 12px;
  position: relative;
}

.arrow::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--blue-electric);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* ============================================
   Animations d'apparition
   ============================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ============================================
   Section Qui est Michou ?
   ============================================ */
.about {
  background: var(--blue-night);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image .portrait-placeholder.large {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  font-size: 1.1rem;
  background: linear-gradient(160deg, rgba(0, 132, 255, 0.08), rgba(255,255,255,0.02));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.about-content p {
  color: var(--white-soft);
  margin-bottom: 1rem;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.info-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 132, 255, 0.12);
  border-color: rgba(0, 168, 255, 0.25);
}

.info-card h4 {
  font-size: 1.05rem;
  color: var(--blue-glow);
  margin-bottom: 0.35rem;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--white-muted);
  margin: 0;
}

/* ============================================
   Section Parcours
   ============================================ */
.journey {
  background: var(--blue-deep);
}

.timeline {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
  padding: 0 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-neon), var(--blue-electric), transparent);
  border-radius: 1px;
  z-index: 0;
}

.timeline-item {
  flex: 1;
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}

.timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-neon), var(--blue-electric));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(0, 132, 255, 0.4);
  margin-bottom: 1.25rem;
  position: absolute;
  top: 0;
  left: 0;
}

.timeline-body {
  padding-left: 0;
  padding-top: 5rem;
}

.timeline-period {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue-glow);
  margin-bottom: 0.4rem;
  background: rgba(0, 132, 255, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.timeline-body p {
  font-size: 0.95rem;
  color: var(--white-muted);
}

/* ============================================
   Section Statistiques
   ============================================ */
.stats {
  background: var(--gradient-hero), var(--gradient-glow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 2.2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 132, 255, 0.15);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-glow), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  color: var(--white-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.stats-note {
  text-align: center;
  color: var(--white-muted);
  font-size: 0.85rem;
  margin-top: 2rem;
  font-style: italic;
}

/* ============================================
   Section Moments forts
   ============================================ */
.moments {
  background: var(--blue-night);
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.moment-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.moment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 132, 255, 0.12);
}

.moment-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-neon), var(--blue-electric));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.moment-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.moment-card p {
  color: var(--white-muted);
  font-size: 0.95rem;
}

/* ============================================
   Section Galerie
   ============================================ */
.gallery {
  background: var(--blue-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.08), rgba(255,255,255,0.03));
  color: var(--white-muted);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-item figcaption {
  padding: 1rem;
  text-align: center;
  color: var(--white-soft);
  font-size: 0.95rem;
}

/* ============================================
   Section Vidéos
   ============================================ */
.videos {
  background: var(--blue-night);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.12), rgba(10, 20, 50, 0.6));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0, 132, 255, 0.05), transparent 60%);
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 16px solid var(--white);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(0, 132, 255, 0.5));
}

.video-label {
  font-size: 0.85rem;
  color: var(--white-muted);
  position: relative;
  z-index: 1;
}

.video-card h3 {
  padding: 1.25rem 1.25rem 0.25rem;
  font-size: 1.1rem;
  color: var(--white);
}

.video-card p {
  padding: 0 1.25rem 1.25rem;
  color: var(--white-muted);
  font-size: 0.92rem;
}

/* ============================================
   Section Hommage
   ============================================ */
.tribute {
  background: var(--gradient-hero);
}

.tribute-content {
  max-width: 800px;
  margin: 2.5rem auto 0;
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.tribute-content p {
  color: var(--white-soft);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tribute-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--blue-glow);
  margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 3rem 0;
  background: var(--blue-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer p {
  color: var(--white-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ============================================
   Animations keyframes
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.12); }
}

@keyframes particleDrift {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  10% { opacity: 0.8; }
  90% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-40vh) scale(1.2); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 0.3; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 8px); opacity: 0.5; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    order: -1;
  }

  .stats-grid,
  .moments-grid,
  .gallery-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background: rgba(5, 8, 26, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 4rem 0;
  }

  .timeline {
    flex-direction: column;
    padding-left: 2rem;
  }

  .timeline::before {
    top: 1rem;
    bottom: 1rem;
    left: 2.75rem;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--blue-neon), var(--blue-electric), transparent);
  }

  .timeline-item {
    padding-top: 0;
    padding-left: 4rem;
    padding-bottom: 2.5rem;
  }

  .timeline-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.2rem;
  }

  .timeline-body {
    padding-top: 0;
  }

  .stats-grid,
  .moments-grid,
  .gallery-grid,
  .videos-grid,
  .about-cards {
    grid-template-columns: 1fr;
  }

  .tribute-content {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1025px) {
  .hero-visual {
    display: block;
  }
}

/* Visuels générés */
.art-avatar {
  display: block;
  width: 100%;
  height: 100%;
}

.art-thumb {
  display: block;
  width: 75%;
  height: 75%;
  max-width: 120px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.portrait-placeholder {
  border: none;
}

.video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-thumbnail::before {
  z-index: 1;
}

.play-icon {
  z-index: 2;
}

.real-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Améliorations d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}
