.tir10-hidden {
  display: none !important;
}
.tir10-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tir10-intro {
  min-height: 100vh;
  justify-content: center;
}
.tir10-intro-image {
  max-width: 420px;
	 margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(214, 180, 106, .7);
  border-radius: 18px;
  box-shadow:
    0 0 30px rgba(214, 180, 106, .25),
    0 15px 40px rgba(0, 0, 0, .45);
  line-height: 0;
}
.tir10-intro-image img {
  display: block;
  width: 100%;
  height: auto;
}
.tir16-intro-texte {
  margin: 25px auto 25px 0;
  max-width: 520px;
  line-height: 1.5;
  font-size: 18px;
  color: #ddd;
}
.tir10-btn {
  padding: 12px 18px;
  background: #d4af37;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}
.tir10-theme {
  padding: 30px;
  text-align: center;
}
.tir10-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.tir10-themeCard {
  width: 130px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #333;
  transition: .3s;
}
.tir10-themeCard:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
}
.tir10-themeCard img {
  width: 100%;
}
.tir10-themeCard span {
  display: block;
  padding: 8px;
}
.tir10-bar {
  margin: 30px auto;
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 18px;
  background: #111827;
  padding: 18px;
  font-size: 20px;
  text-align: center;
  color: #d4af37;
}
.tir10-stage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}
.tir10-card, .tir10-topCard, .tir10-resultCard {
  border: 1px solid #d4af37;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(212, 175, 55, .15);
}
.tir10-card {
  width: 80px;
  height: 128px;
  background: url("images/dos.jpg") center/cover;
  cursor: pointer;
  transition:
    transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid #d4af37;
}
.tir10-card:hover {
  transform: translateY(-12px) scale(1.06);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, .6), 0 0 18px rgba(212, 175, 55, .55);
  border-color: #f6d365;
  z-index: 10;
}
.tir10-selectedTop {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 30px;
  padding: 15px;
  min-height: 232px;
  align-items: flex-start;
}
.tir10-slot{
    width:120px;
    height:200px;
    border:2px dashed rgba(212,175,55,.5);
    border-radius:14px;
}
.tir10-topCard {
  width: 120px;
  height: 200px;
  perspective: 1000px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .6);
}
.tir10-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .7s;
}
.tir10-flip .tir10-inner {
  transform: rotateY(180deg);
}
.tir10-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
}
.tir10-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tir10-back {
  transform: rotateY(180deg);
}
.tir10-labels {
  display: flex;
  justify-content: center;
  gap: 145px;
  font-size: 28px;
  color: #e6c06a;
  font-family: Georgia, serif;
}
.tir10-result {
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  padding: 20px;
}
.tir10-resultCard {
  background: linear-gradient(180deg, #151c2f, #0d111d);
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 18px;
  padding: 28px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .03);
  transition: .35s;
  position: relative;
  overflow: hidden;
}
.tir10-resultCard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(255, 255, 255, .05), transparent);
  opacity: 0;
  transition: .5s;
}
.tir10-resultCard:hover {
  transform: translateY(-8px);
  border-color: #d4af37;
  box-shadow:
    0 25px 45px rgba(0, 0, 0, .65), 0 0 18px rgba(212, 175, 55, .2);
}
.tir10-resultCard:hover::before {
  opacity: 1;
}
.tir10-title {
  text-align: center;
  color: #f2d27d;
  font-size: 26px;
  font-family: Georgia, serif;
  margin-bottom: 30px;
  letter-spacing: 1px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212, 175, 55, .2);
}
.tir10-section {
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.tir10-tag {
  display: block;
  color: #e8c46b;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}
.tir10-section p {
  color: #d7d7d7;
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
}
.tir10-key {
  max-width: 1100px;
  margin: 50px auto;
  padding: 25px 35px;
  border-radius: 20px;
  background: linear-gradient(180deg, #182338, #111827);
  border: 1px solid rgba(212, 175, 55, .4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font-size: 18px;
  line-height: 1.8;
}
.tir10-key h3 {
  color: #f2d27d;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}
.tir10-intro {
  min-height: auto;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.tir10-bar {
  margin: 0px;
  padding: 10px;
  font-size: 18px;
}
.tir10-stage {
  padding: 10px 20px;
  gap: 8px;
}
.tir10-selectedTop {
  gap: 40px;
}
.tir10-labels {
  margin-bottom: 15px;
  font-size: 24px;
  gap: 93px;
}
.tir10-card {
  width: 70px;
  height: 112px;
}
.tir10-topCard {
  width: 120px;
  height: 200px;
}
.tir10-stage, .tir10-selectedTop, .tir10-labels, .tir10-bar {
  transition: all 0.3s ease;
}
.tir10-resultCard {
  padding: 18px 20px;
}
.tir10-title {
  margin-bottom: 12px;
  font-size: 22px;
}
.tir10-section {
  margin-bottom: 12px;
  padding-bottom: 10px;
}
.tir10-tag {
  margin-bottom: 6px;
  font-size: 16px;
}
.tir10-section p {
  margin: 0;
  line-height: 1.2;
  font-size: 14px;
}
@media (max-width: 768px) {
  .tir10-bar {
    width: 95%;
    font-size: 16px;
    padding: 10px;
  }
  .tir10-labels {
    flex-direction: column;
    gap: 8px;
    font-size: 18px;
    margin-bottom: 10px;
  }
  .tir10-selectedTop {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .tir10-topCard {
    width: 120px;
    height: 200px;
  }
  .tir10-stage {
    gap: 6px;
    padding: 10px;
  }
  .tir10-card {
    width: 55px;
    height: 88px;
  }
  .tir10-result {
    grid-template-columns: 1fr; 
    margin: 10px;
    padding: 5px;
    gap: 12px;
  }
  .tir10-resultCard {
    padding: 14px;
  }
  .tir10-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .tir10-section {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  .tir10-section p {
    font-size: 14px;
    line-height: 1.3;
  }
  .tir10-tag {
    font-size: 14px;
    margin-bottom: 4px;
  }
}
@media (max-width: 768px) {
  .tir10-labels {
    flex-direction: row; 
    justify-content: center;
    gap: 65px; 
    font-size: 16px;
    margin-bottom: 10px;
  }
  .tir10-topCard {
    width: 110px; 
    height: 170px; 
  }
  .tir10-face img {
    object-fit: cover;
  }
   .tir10-selectedTop {
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  .tir10-selectedTop {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: flex-start;
    gap: 8px !important;
    overflow-x: auto;
    margin-bottom: 5px !important;
  }
  .tir10-labels {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
  }
  .tir10-topCard {
    flex: 0 0 auto; 
  }

    .tir10-topCard,
    .tir10-slot{
        width:85px;
        height:130px;
    }

    .tir10-selectedTop{
        height:150px;      /* adapte la hauteur du conteneur */
        gap:8px;
    }
	
	 .tir10-grid{
        gap:10px;
    }

    .tir10-themeCard{
        width:90px;
        border-radius:10px;
    }

    .tir10-themeCard span{
        padding:6px 4px;
        font-size:13px;
    }

    .tir10-theme h3{
        font-size:20px;
        margin-bottom:15px;
    }

}
@media (max-width: 768px) {
  /* espace sous les résultats */
  .tir10-result, .tir10-stage, .tir10-theme, .tir10-intro, .tir10-main {
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
  }
  /* sécurité globale du bloc principal */
  .tir10-result, .tir10-stage, .tir10-theme, .tir10-intro, .tir10-main {
    padding-bottom: 40px !important;
  }
}