﻿/* ══════════════════════════════════════════
   DAILY CHALLENGE
══════════════════════════════════════════ */
.daily-challenge {
  background: var(--red);
  color: white;
  padding: 2rem 4rem;
  text-align: center;
}
.daily-challenge h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.daily-challenge button {
  margin: 0.5rem;
}
/* ══════════════════════════════════════════
   HOME: STATS BAR
══════════════════════════════════════════ */
.stats-bar {
  background: var(--dk);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 2.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.sb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 1rem;
  min-width: 0;
}
.sb-item:last-child {
  border-right: none;
}
.sb-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.8rem;
  color: var(--wht);
  line-height: 1;
}
.sb-num span {
  color: var(--red);
}
.sb-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.3rem;
  text-align: center;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem;
    gap: 0;
  }
  .sb-item {
    padding: 1rem 0.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .sb-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }
  .sb-item:nth-last-child(-n+1):nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
  }
  .sb-item:last-child {
    border-bottom: none;
  }
  .sb-num {
    font-size: 2.2rem;
  }
  .sb-lbl {
    letter-spacing: 0.12em;
  }
}

/* ══════════════════════════════════════════
   HOME: TEASER FEATURES
══════════════════════════════════════════ */
.teaser-strip {
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.teaser-strip.reverse {
  direction: rtl;
}
.teaser-strip.reverse > * {
  direction: ltr;
}
.teaser-visual {
  background: var(--dk);
  border: 1px solid rgba(255, 255, 255, 0.05);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}
.teaser-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(232, 0, 29, 0.06),
    transparent 70%
  );
}
.teaser-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 6rem;
  color: rgba(232, 0, 29, 0.08);
  line-height: 1;
  position: absolute;
  bottom: -0.5rem;
  right: 1rem;
  user-select: none;
}

/* Dans home.css — corriger le hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 4rem 5rem;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════
   HOME: BANNIERE
══════════════════════════════════════════ */

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../../assets/media/hero/banniere.webp");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  opacity: 0.22;
  filter: grayscale(20%);
}

/* Compteurs repositionnés en bas à droite */
.hero-counters {
  position: absolute; /* ← absolu dans le hero */
  right: 4rem;
  bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
  z-index: 1;
}
