/* ===== PAGE LES JEUX ===== */

/* HERO */
.jeux-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  background: #4a6b1f;
}

.jeux-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/labyrinthe-fond.png');
  background-repeat: repeat;
  background-size: 600px;
  opacity: 0.06;
}

.jeux-hero-content {
  position: relative;
  z-index: 1;
  padding: 30px 40px 30px 20px;
  max-width: 1200px;
  width: 100%;
}

.jeux-hero-label {
  font-family: 'Luckiest Guy', cursive;
  color: #eba946;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.jeux-hero h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(60px, 10vw, 120px);
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}

.jeux-hero-sub {
  font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 10px;
}

.jeux-hero-tag {
  margin-top: 18px;
  font-size: 16px;
  color: #eba946;
  font-style: italic;
}

/* NAV RAPIDE */
.jeux-nav {
  display: flex;
}

.jeux-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  text-decoration: none;
  color: white;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.jeux-nav-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.jeux-nav-emoji {
  font-size: 32px;
}

.jeux-nav-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(14px, 2vw, 20px);
  text-align: center;
  letter-spacing: 0.5px;
}

.jeux-nav-age {
  font-size: 13px;
  background: rgba(0,0,0,0.18);
  padding: 3px 10px;
  border-radius: 20px;
}

/* SECTION JEU */
.jeu-section {
  border-bottom: 4px solid rgba(0,0,0,0.06);
}

.jeu-header {
  padding: 40px 30px;
  color: white;
}

.jeu-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.jeu-numero {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 1;
  opacity: 0.25;
  flex-shrink: 0;
}

.jeu-titre {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(28px, 4vw, 56px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.jeu-accroche {
  font-size: clamp(16px, 1.5vw, 20px);
  opacity: 0.9;
}

.jeu-badge {
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(0,0,0,0.2);
  color: white;
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(14px, 1.5vw, 20px);
  padding: 10px 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* BODY DU JEU */
.jeu-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 30px 60px;
}

/* TEXTE IMMERSIF */
.jeu-immersif {
  background: #fffdf8;
  border-left: 5px solid #eba946;
  padding: 30px 35px;
  border-radius: 0 16px 16px 0;
  margin-bottom: 40px;
}

.jeu-immersif-label {
  font-family: 'Luckiest Guy', cursive;
  color: #eba946;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.jeu-immersif blockquote {
  margin: 0;
}

.jeu-immersif blockquote p {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
  color: #2c2418;
  margin-bottom: 10px;
  font-style: italic;
}

.jeu-immersif blockquote p:last-child {
  margin-bottom: 0;
}

/* GRILLE INFOS */
.jeu-infos-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

.jeu-explicatif h3,
.jeu-pratique h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(20px, 2vw, 28px);
  color: #2c2418;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.jeu-explicatif p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.jeu-pratique {
  background: #fff;
  border: 3px solid;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.jeu-pratique ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jeu-pratique ul li {
  font-size: clamp(15px, 1.1vw, 18px);
  color: #333;
  line-height: 1.4;
}

/* MISSION (jeu familles) */
.jeu-mission {
  margin-top: 24px;
  border-top: 2px dashed rgba(138,184,68,0.3);
  padding-top: 20px;
}

/* COMMENT JOUER / MODES */
.jeu-comment-jouer,
.jeu-modes {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid rgba(0,0,0,0.06);
}

.jeu-comment-jouer h3,
.jeu-modes h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(17px, 1.5vw, 22px);
  color: #2c2418;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.jeu-comment-jouer ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: step;
}

.jeu-comment-jouer ul li {
  counter-increment: step;
  font-size: clamp(15px, 1.1vw, 17px);
  color: #444;
  padding-left: 28px;
  position: relative;
}

.jeu-comment-jouer ul li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  background: #d43977;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 2px;
}

.jeu-modes p {
  font-size: clamp(15px, 1.1vw, 17px);
  color: #444;
  margin-bottom: 8px;
}

/* POINT FORT */
.jeux-pointfort {
  background: #1a3c1a;
  text-align: center;
  padding: 40px 20px;
}

.jeux-pointfort-inner {
  max-width: 700px;
  margin: 0 auto;
}

.jeux-pointfort-inner p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* CTA FINAL */
.jeux-cta {
  background: #eba946;
  text-align: center;
  padding: 80px 30px;
  color: white;
}

.jeux-cta h2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(36px, 5vw, 70px);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.jeux-cta p {
  font-size: clamp(17px, 1.4vw, 22px);
  margin-bottom: 30px;
  opacity: 0.9;
}

.jeux-cta-btn {
  background: #1a3c1a;
  color: white;
  font-size: 20px;
  padding: 18px 40px;
  border-radius: 14px;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {

  .jeux-hero {
    margin-top: 96px;
    min-height: 320px;
  }

  .jeux-nav {
    flex-direction: column;
  }

  .jeux-nav-item {
    flex-direction: row;
    justify-content: flex-start;
    padding: 18px 20px;
    gap: 16px;
  }

  .jeux-nav-emoji {
    font-size: 26px;
  }

  .jeu-header {
    padding: 24px 16px;
  }

  .jeu-header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .jeu-numero {
    font-size: 50px;
  }

  .jeu-badge {
    margin-left: 0;
  }

  .jeu-body {
    padding: 30px 16px 40px;
  }

  .jeu-immersif {
    padding: 20px;
  }

  .jeu-infos-grid {
    grid-template-columns: 1fr;
  }

  .jeux-cta {
    padding: 50px 20px;
  }
}
