.page-index {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: url('/images/wallpaper.webp') center / cover no-repeat;
  filter: contrast(1.05) brightness(0.9);
}

/* Dégradé de couleur flouté (l'image reste nette) */
.page-index::after {
  content: '';
  position: absolute;
  inset: -20px;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 124, 0.2) 0%,
      rgba(0, 0, 124, 0.4) 40%,
      rgba(0, 0, 124, 0.85) 100%
    ),
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 124, 0.6) 100%
    );
  filter: blur(12px);
  z-index: 0;
}

/* Texture overlay */
.page-index::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/filtre_arg.jpg') center / cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.hero-date {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  color: #ffd400;
  letter-spacing: 4px;
  line-height: 1;
  animation: fadeUp 0.8s ease both;
}

/* ===== COUNTDOWN ===== */
.countdown {
  display: flex;
  gap: clamp(16px, 4vw, 48px);
  align-items: flex-start;
  animation: fadeUp 0.8s 0.15s ease both;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.countdown-number {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: #ffd400;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 12px;
}

.countdown-label {
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}


/* ===== HERO CTA ===== */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(32px, 5vh, 56px);
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1.5px solid #ffd400;
  background: transparent;
  color: #ffd400;
  font-family: 'Classica', sans-serif;
  font-size: clamp(0.82rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.hero-cta-btn:hover {
  background: #ffd400;
  color: #00007C;
  transform: scale(1.04);
  box-shadow: 0 0 32px rgba(255, 212, 0, 0.35);
}

.btn-arrow {
  display: inline-block;
  font-style: normal;
  transition: transform 0.2s ease;
}

.hero-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.2s ease forwards;
}

.scroll-hint-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 212, 0, 0.7), transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
  transform-origin: top;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 0.7; }
  50%       { transform: scaleY(0.5); opacity: 0.2; }
}

@media (max-width: 1024px) {

  /* ── Hero ── */
  .hero-content {
    margin-top: 0;
    gap: 24px;
    padding: 0 20px;
    text-align: center;
  }

  .hero-date {
    font-size: clamp(3.8rem, 18vw, 6rem);
    letter-spacing: 2px;
  }

  .countdown {
    gap: clamp(12px, 5vw, 28px);
  }

  .countdown-number {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
    text-underline-offset: 8px;
  }

  .countdown-label {
    font-size: clamp(0.55rem, 2.2vw, 0.75rem);
    letter-spacing: 0.5px;
  }

}

@media (max-width: 480px) {

  /* ── Hero CTA ── */
  .hero-cta-btn {
    padding: 16px 32px;
    font-size: 0.82rem;
    letter-spacing: 2px;
  }

  /* ── Hero ── */
  .hero-date {
    font-size: clamp(3.2rem, 20vw, 5rem);
  }

  .countdown {
    gap: clamp(10px, 4vw, 20px);
  }

  .countdown-number {
    font-size: clamp(2rem, 12vw, 3rem);
  }

}

/* ===== SECTION PRATIQUE ===== */
.index-pratique-section {
  background: #000026;
  padding: 80px 6vw 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pratique-item {
  padding: 44px 0;
}

.pratique-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.pratique-label {
  font-family: 'Classica', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #FFDE00;
  display: block;
  margin-bottom: 14px;
}

.pratique-value {
  font-family: 'Classica', sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.pratique-value span {
  color: #FFDE00;
}

.pratique-sub {
  font-family: 'Classica', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pratique-cta {
  padding-top: 52px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.pratique-link {
  font-family: 'Classica', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.pratique-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* ── Animations scroll ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== BOUTON CTA BILLETS ===== */
.index-cta-btn {
  display: block;
  width: 100%;
  padding: 28px 40px;
  background: #83F379;
  color: #00007c;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  font-family: 'Classica', sans-serif;
  letter-spacing: 5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.index-cta-btn:hover {
  background: #2AC255;
  transform: translateY(-2px);
}

/* ===== SECTION LINEUP INDEX ===== */
.index-lineup-section {
  background: #fff;
  padding: 72px 6vw 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  border-top: 4px solid #FFDE00;
}

.index-lineup-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.index-lineup-eyebrow {
  font-family: 'Classica', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.index-lineup-title {
  font-family: 'Classica', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  color: #000026;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 0.85;
}

.index-lineup-line2 {
  display: block;
  margin-left: clamp(1.5rem, 6vw, 5rem);
  color: #00007C;
}

.index-lineup-more {
  font-family: 'Classica', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00007C;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid #FFDE00;
  transition: color 0.2s;
}

.index-lineup-more:hover { color: #000026; }

/* Grille 3 colonnes */
.index-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1100px;
}

/* Flip card */
.index-flip-card {
  aspect-ratio: 3 / 4;
  cursor: pointer;
  perspective: 1000px;
}

.index-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.index-flip-inner.flipped {
  transform: rotateY(180deg);
}

.index-flip-clone {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.index-flip-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 38, 0.78);
  z-index: 899;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.index-flip-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.index-flip-front,
.index-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  overflow: hidden;
}

.index-flip-back {
  transform: rotateY(180deg);
}

.index-flip-front img,
.index-flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.index-flip-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.index-flip-name {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.index-flip-time {
  color: #ffd400;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Responsive lineup */
@media (max-width: 900px) {
  .index-lineup-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .index-lineup-section {
    padding: 48px 5vw 56px;
    gap: 32px;
  }

  .index-lineup-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .index-cta-btn {
    padding: 22px 24px;
    font-size: 0.9rem;
    letter-spacing: 3px;
  }

  /* Pratique */
  .index-pratique-section {
    padding: 56px 5vw 56px;
  }

  .pratique-item {
    padding: 32px 0;
  }

  .pratique-value {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .pratique-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 36px;
  }
}

@media (max-width: 480px) {
  .index-lineup-section {
    padding: 40px 16px 48px;
    gap: 24px;
  }

  .index-lineup-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pratique-value {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .pratique-sub {
    font-size: 0.7rem;
  }
}