* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#tir20Application {
  width: 100%;
  max-width: 950px;
  margin: auto;
}
.tir20Cache {
  display: none;
}
/* BLOCS PRINCIPAUX */
.tir20IntroBox, .tir20QuizBox, .tir20ResultatBox {
  background: #2f2242;
  padding: 22px;
  color: #ece2c5;
}
.tir20IntroBox {
  text-align: center;
}
.tir20ImageAccueil {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-radius: 12px;
  border: 2px solid #d8b247;
}
#tir20Titre {
  text-align: center;
  margin: 20px 0;
  color: #f1e7c5;
  font-size: 40px;
}
#tir20TexteIntro {
  text-align: center;
  color: #ece2c5;
  font-size: 18px;
  line-height: 1.6;
  margin: 15px auto 25px;
}
#tir20Quiz {
  width: 100%;
}
.tir20QuizBox {
  padding: 18px 22px;
}
.tir20BarreProgression {
  width: 100%;
  height: 10px;
  background: #4a355f;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 8px;
}
.tir20ProgressionInterne {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8a6534, #d8b247);
  border-radius: 20px;
  transition: .5s;
}
/* Texte progression */
#tir20Progression {
  text-align: center;
  font-size: 15px;
  color: #d8b247;
  font-weight: bold;
  margin-bottom: 10px;
}
#tir20QuestionTitre {
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  color: #f1e7c5;
  margin-bottom: 8px;
}
#tir20QuestionDescription {
  max-width: 720px;
  margin: 0 auto 12px;
  text-align: center;
  color: #ece2c5;
  font-size: 16px;
  line-height: 1.35;
}
/* IMAGE QUESTION */
#tir20QuestionImage {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  border-radius: 12px;
  border: 3px solid #d8b247;
}
#tir20Choix {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.tir20CarteChoix {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  background: #4b355d;
  border: 1px solid #7d6498;
  border-radius: 10px;
  cursor: pointer;
  transition: .25s;
  box-shadow:
    0 3px 8px rgba(0, 0, 0, .25);
}
.tir20CarteChoix:hover {
  background: #61437a;
  border-color: #d8b247;
  transform: translateY(-2px);
}
.tir20CarteChoix.tir20Selection {
  background: linear-gradient(180deg, #d8b247, #b88934);
  border-color: #f0d37d;
}
/* Texte choix */
.tir20CarteTexte {
  flex: 1;
  padding: 0;
  margin: 0;
  color: #f5ebd0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}
.tir20CarteChoix.tir20Selection .tir20CarteTexte {
  color: #3d2b12;
}
#tir20Choix {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}
.tir20CarteChoix {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #4b355d;
  border: 1px solid #7d6498;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, .25);
}
.tir20CarteChoix:hover {
  background: #604277;
  border-color: #d8b247;
  transform: translateY(-2px);
}
.tir20CarteTexte {
  color: #f1e7c5;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}
.tir20CarteChoix.tir20Selection {
  background:
    linear-gradient(180deg, #d8b247, #b88934);
  border-color: #f0d37d;
  box-shadow:
    0 0 15px rgba(216, 178, 71, .45);
  transform: scale(1.02);
}
.tir20CarteChoix.tir20Selection .tir20CarteTexte {
  color: #3d2b12;
}
.tir20CarteChoix::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-right: 12px;
  border-radius: 50%;
  border: 1px solid #d8b247;
  flex-shrink: 0;
}
.tir20CarteChoix.tir20Selection::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1e7c5;
  color: #6b4b18;
  font-weight: bold;
}
.tir20CarteChoix img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.tir20Navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}
.tir20Navigation button {
  position: relative;
  overflow: hidden;
  background: #a166b2;
  color: #f1e7c5;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-family: Georgia, serif;
  font-size: 16px;
  cursor: pointer;
  transition: .3s;
}
.tir20Navigation button:hover {
  background: #814d8d;
  transform: translateY(-2px);
  box-shadow:
    0 8px 15px rgba(0, 0, 0, .2);
}
.tir20BarreProgression {
  width: 100%;
  height: 10px;
  background: #352442;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 8px;
}
.tir20ProgressionInterne {
  height: 100%;
  width: 0%;
  background:
    linear-gradient(90deg, #8a6534, #d8b247);
  border-radius: 20px;
  transition:
    width .5s ease;
}
#tir20Progression {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #d8b247;
  margin-bottom: 8px;
}
.tir20NouvelleQuestion {
  animation:
    tir20PageTourne .5s ease;
}
@keyframes tir20PageTourne {
  from {
    opacity: 0;
    transform:
      translateX(25px);
  }
  to {
    opacity: 1;
    transform:
      translateX(0);
  }
}
.tir20Apparition {
  animation:
    tir20FadeIn .6s ease forwards;
}
@keyframes tir20FadeIn {
  from {
    opacity: 0;
    transform:
      translateY(20px);
  }
  to {
    opacity: 1;
    transform:
      translateY(0);
  }
}
#tir20QuestionImage {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 10px auto;
  border-radius: 12px;
  border: 3px solid #d8b247;
  background: #fff;
}
.tir20Separation {
  width: 120px;
  height: 2px;
  background: #d8b247;
  margin: 20px auto;
}
#tir20Rapport {
  width: 100%;
  max-width: 900px;
  margin: 15px auto 0;
}
#tir20Resultat h2 {
  color: #f1e7c5;
  text-align: center;
  font-size: 34px;
  margin: 0px;
  line-height: 1.2;
}
.tir20SectionRapport {
  background: #362747;
  border: 1px solid #d8b247;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, .30);
}
.tir20TitreSection {
  margin: 0;
  padding: 18px 10px;
  text-align: center;
  background: #49335e;
  color: #f1e7c5;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  border-bottom:
    1px solid #d8b247;
}
.tir20BlocResultat {
  padding: 12px 18px;
  border-bottom:
    1px solid rgba(216, 178, 71, .25);
}
.tir20BlocResultat:last-child {
  border-bottom: none;
}
.tir20BlocResultat h3, .tir20Question {
  color: #f1e7c5;
  font-size: 20px;
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 8px;
}
.tir20ChoixUtilisateur {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  margin-bottom: 8px;
  background: #56406b;
  border:
    1px solid #d8b247;
  border-radius: 20px;
  color: #f1e7c5;
  font-size: 14px;
  line-height: 1.2;
}
/* texte "Votre choix" */
.tir20ChoixUtilisateur span {
  color: #d8b247;
  font-weight: bold;
}
/* choix sélectionné */
.tir20ChoixUtilisateur strong {
  color: #fff4d0;
  font-weight: 600;
}
.tir20TexteResultat, .tir20Interpretation {
  color: #eee4c9;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 6px;
}
.tir20Encart {
  background: #362747;
  border:
    1px solid #d8b247;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 18px;
  text-align: center;
}
.tir20Encart h2 {
  color: #f1e7c5;
  font-size: 26px;
  margin-bottom: 8px;
}
.tir20Encart p {
  color: #eee4c9;
  font-size: 16px;
  line-height: 1.5;
}
.tir20Encart strong {
  color: #f5d675;
}
.tir20Conseil {
  background: #362747;
  border:
    1px solid #d8b247;
  border-radius: 12px;
  padding: 18px;
  margin-top: 18px;
}
.tir20Conseil h2 {
  color: #f1e7c5;
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}
.tir20Conseil p {
  color: #eee4c9;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.tir20ListeQualites {
  list-style: none;
  padding: 0;
}
.tir20ListeQualites li {
  padding: 8px 0;
  color: #eee4c9;
  border-bottom:
    1px solid rgba(216, 178, 71, .2);
}
.tir20ListeQualites li::before {
  content: "✦";
  color: #d8b247;
  margin-right: 8px;
}
.tir20IntroBox, .tir20QuizBox, .tir20ResultatBox {
  background: transparent;
  padding: 18px;
}
#tir20Titre, #tir20Resultat h2, #tir20QuestionTitre, .tir20TitreSection, .tir20Conseil h2, .tir20Encart h2 {
  color: #f1e7c5;
  font-family: Georgia, serif;
}
.tir20QuizBox {
  padding: 0px;
}
.tir20BarreProgression {
  height: 9px;
  margin: 0 0 8px 0;
}
#tir20Progression {
  margin: 0 0 8px 0;
  font-size: 14px;
}
#tir20QuestionTitre {
  margin: 0 0 6px 0;
  font-size: 20px;
  line-height: 1.2;
}
#tir20QuestionDescription {
  margin: 0 auto 10px auto;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.35;
}
#tir20QuestionImage {
  margin: 8px auto;
}
#tir20Choix {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}
.tir20CarteChoix {
  display: flex;
  align-items: center;
  padding: 0px;
  min-height: 40px;
  background: #4b355d;
  border: 1px solid #80679a;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}
.tir20CarteChoix:hover {
  background: #604276;
  border-color: #d8b247;
}
.tir20CarteTexte {
  padding: 0;
  margin: 0;
  color: #f1e7c5;
  font-size: 15px;
  line-height: 1.25;
}
.tir20CarteChoix.tir20Selection {
  background: linear-gradient(180deg, #d8b247, #b88934);
  border-color: #f0d37d;
}
.tir20CarteChoix.tir20Selection .tir20CarteTexte {
  color: #3d2b12;
}
#tir20Rapport {
  margin: 15px auto 0;
  max-width: 900px;
}
.tir20SectionRapport {
  margin-bottom: 12px;
  background: #3b2b4f;
  border: 1px solid #d8b247;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, .25);
}
.tir20TitreSection {
  padding: 8px 12px;
  margin: 0;
  background: #4a355f;
  border-bottom: 1px solid #d8b247;
  font-size: 26px;
  text-align: center;
}
.tir20BlocResultat {
  padding: 12px 16px;
  border-bottom:
    1px solid rgba(216, 178, 71, .18);
}
.tir20Question {
  margin-bottom: 6px;
  color: #f1e7c5;
  font-size: 20px;
}
.tir20ChoixUtilisateur {
  padding: 4px 10px;
  margin-bottom: 8px;
  background: #523c69;
  border: 1px solid #d8b247;
  border-radius: 20px;
  color: #f1e7c5;
  font-size: 13px;
}
.tir20ChoixUtilisateur span {
  color: #d8b247;
}
.tir20ChoixUtilisateur strong {
  color: #fff7dc;
}
.tir20Interpretation, .tir20TexteResultat {
  color: #ece2c5;
  font-size: 15px;
  line-height: 1.55;
}
.tir20Encart {
  padding: 15px;
  margin-bottom: 15px;
  background: #3b2b4f;
  border: 1px solid #d8b247;
}
.tir20Encart h2 {
  font-size: 25px;
  margin-bottom: 8px;
}
.tir20Encart p {
  color: #ece2c5;
  line-height: 1.5;
}
.tir20Conseil {
  padding: 16px;
  margin-top: 15px;
  background: #3b2b4f;
  border: 1px solid #d8b247;
}
.tir20Conseil h2 {
  font-size: 26px;
  margin-bottom: 8px;
}
.tir20Conseil p {
  color: #ece2c5;
  line-height: 1.55;
}
@media(max-width:600px) {
  .tir20QuizBox {
    padding: 12px;
  }
  #tir20QuestionTitre {
    font-size: 24px;
  }
  #tir20QuestionDescription {
    font-size: 15px;
  }
  .tir20TitreSection {
    font-size: 22px;
  }
  .tir20BlocResultat {
    padding: 10px;
  }
}
#tir20Rapport {
  max-width: 900px;
  margin: 20px auto 0;
}
#tir20Resultat h2 {
  color: #f1e7c5;
  text-align: center;
  font-size: 36px;
  margin: 0px;
}
.tir20SectionRapport {
  background: #3b2b4f;
  border: 1px solid #d8b247;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow:
    0 5px 18px rgba(0, 0, 0, .30);
}
.tir20TitreSection {
  margin: 0;
  padding: 12px 15px;
  background: #4a355f;
  border-bottom: 1px solid #d8b247;
  color: #f1e7c5;
  font-size: 26px;
  text-align: center;
  line-height: 1.2;
}
.tir20BlocResultat {
  padding: 12px 18px;
  border-bottom:
    1px solid rgba(216, 178, 71, .20);
}
.tir20BlocResultat:last-child {
  border-bottom: none;
}
.tir20Question {
  color: #f1e7c5;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}
.tir20ChoixUtilisateur {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 8px;
  background: #503868;
  border:
    1px solid #d8b247;
  border-radius: 20px;
  color: #f7f0d8;
  font-size: 14px;
  line-height: 1.2;
}
.tir20ChoixUtilisateur span {
  color: #d8b247;
  font-weight: 600;
  margin-right: 5px;
}
.tir20ChoixUtilisateur strong {
  color: #fff7dc;
}
.tir20TexteResultat, .tir20Interpretation {
  color: #ece2c5;
  font-size: 16px;
  line-height: 1.55;
}
.tir20Encart {
  background: #3b2b4f;
  border:
    1px solid #d8b247;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 18px;
  text-align: center;
}
.tir20Encart h2 {
  color: #f1e7c5;
  font-size: 26px;
  margin-bottom: 8px;
}
.tir20Encart p {
  color: #ece2c5;
  line-height: 1.5;
}
.tir20Encart strong {
  color: #f5d675;
}
.tir20Conseil {
  background: #3b2b4f;
  border:
    1px solid #d8b247;
  border-radius: 12px;
  padding: 18px;
  margin-top: 20px;
}
.tir20Conseil h2 {
  color: #f1e7c5;
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
}
.tir20Conseil p {
  color: #ece2c5;
  line-height: 1.6;
  margin-bottom: 8px;
}
.tir20Ornement {
  width: 120px;
  height: 2px;
  background: #d8b247;
  margin: 18px auto;
}
.tir20SectionRapport {
  animation:
    tir20RapportArrive .6s ease;
}
@keyframes tir20RapportArrive {
  from {
    opacity: 0;
    transform:
      translateY(20px);
  }
  to {
    opacity: 1;
    transform:
      translateY(0);
  }
}
@media screen and (max-width:600px) {
  #tir20Resultat h2 {
    font-size: 28px;
  }
  .tir20TitreSection {
    font-size: 22px;
    padding: 10px;
  }
  .tir20BlocResultat {
    padding: 10px 12px;
  }
  .tir20Question {
    font-size: 18px;
  }
  .tir20TexteResultat, .tir20Interpretation {
    font-size: 15px;
    line-height: 1.5;
  }
  .tir20Encart, .tir20Conseil {
    padding: 14px;
  }
}
.tir20IntroBox{
    text-align:center;
}

.btntir{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
}








/* ==========================
   Optimisation mobile
========================== */
@media screen and (max-width:600px) {

#tir20BtnCommencer {
      margin-bottom: 80px !important;
}
	
	.tir20Navigation {
      margin-bottom: 80px !important;
}


.tir20Conseil {
      margin-bottom: 80px !important;
}
	
    .tir20BarreProgression {
        display: none;
    }


    #tir20Progression {
        margin-bottom: 12px;
        font-size: 14px;
        font-weight: normal;
    }


    .tir20CarteTexte,
    .tir20Question,
    .tir20BlocResultat h3,
    .tir20ChoixUtilisateur strong,
    .tir20ChoixUtilisateur span {
        font-weight: normal;
    }


    .tir20Navigation {
        gap: 8px;
    }

    .tir20Navigation button {
        flex: 1;
        padding: 8px 10px;
        font-size: 14px;
        white-space: nowrap;
    }


    #tir20BtnPrecedent {
        padding: 8px;
    }
}
