*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.ORTIR-container {
  width: 100%;
  max-width: 900px;
  margin: 0px auto;
  padding: 0px;
}
.ORACLES-TIRAGES {
  position: relative;
  width: 100%;
}
.tir8-centre, .tir8-intro, .tir8-etape, .tir8-love-meter {
  width: 100%;
  max-width: 100%;
}
.tir8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #b18b54, #e4c98d);
  color: #24172d;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: .30s ease;
}
.tir8-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}
.center8 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}
.tir8-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px 0;
}
.tir8-centre {
  width: 100%;
  max-width: 650px;
  margin: auto;
}
.tir8-intro-image {
width:min(420px,100%);
  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;

  /* Important */
  box-sizing: border-box;
}
#tir8-intro-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.tir8-intro-titre {
  margin: 15px 0 25px;
  font-size: 30px;
  font-weight: 700;
  color: #f6ecd3;
}
.tir8-intro.tir8-hide {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: .6s;
}
.tir8-etape {
  display: none;
  width: 100%;
  text-align: center;
}
.tir8-etape.tir8-active {
  display: block;
}
.tir8-coeur-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 60px 0;
}
.tir8-femme, .tir8-homme {
  font-family: Arial, sans-serif;
  font-size: 55px;
  font-weight: 900;
  opacity: .65;
}
.tir8-heart {
  font-size: 90px;
  color: #ff3b5c;
  animation: tir8Beat 1.2s infinite;
}
@keyframes tir8Beat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.tir8-explication {
  width: 100%;
  max-width: 760px;
  margin: 30px auto 30px;
  padding: 0 15px;
  text-align: center;
  line-height: 1.7;
  color: #f3e8cb;
}
.tir8-infoBar {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #f5e7bf;
  text-align: center;
}
.tir8-card {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 25px 15px;
}
.tir8-input-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: .35s;
}
.tir8-input-row:focus-within {
  border-color: rgba(228, 201, 141, .60);
  box-shadow:
    0 0 0 3px rgba(228, 201, 141, .12), 0 10px 25px rgba(0, 0, 0, .25);
}
.tir8-input-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4c98d, #b18b54);
  color: #2a1d35;
  font-size: 30px;
  font-weight: bold;
}
.tir8-input {
  flex: 1;
  width: 100%;
  padding: 14px 8px;
  border: none;
  outline: none;
  background: transparent;
  color: #f7edd3;
  font-size: 17px;
  font-family: inherit;
  text-align: center;
}
.tir8-input::placeholder {
  color: rgba(255, 255, 255, .45);
}
.tir8-input.tir8-error {
  animation: tir8Shake .35s;
}
@keyframes tir8Shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}
.tir8-resume {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  margin: 0px auto;
  flex-wrap: wrap; 
}
.tir8-personne {
  display: flex;
  align-items: center;
  gap: 18px;

max-width: 420px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(228, 201, 141, .18);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .20), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: .35s;
}
.tir8-personne:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 201, 141, .35);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}
.tir8-logo {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4c98d, #b18b54);
  color: #2b1d35;
  font-size: 32px;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, .25), 0 8px 18px rgba(0, 0, 0, .28);
}
.tir8-personne-info {
  flex: 1;
}
.tir8-personne-nom {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.tir8-personne-expression {
  font-size: 14px;
  color: #d7c59a;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.tir8-personne-valeur {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffcb77, #ff9b54);
  color: #2b1d35;
  font-size: 20px;
  font-weight: 800;
}
.tir8-love-meter {
  width: 100%;
  max-width: 100%;
  margin: 0px auto 0;
  text-align: center;
  overflow: hidden;
}
.tir8-love-title {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  color: #f5e7bf;
}
.tir8-gauge-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 16/10;
}
.tir8-gauge-container svg {
  display: block;
  width: 100%;
  height: 100%;
}
.tir8-track, .tir8-progress {
  fill: none;
  stroke-width: 22;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tir8-track {
  stroke: rgba(255, 255, 255, .08);
}
.tir8-progress {
  stroke: url(#tir8-loveGradient);
  transition: stroke-dashoffset 1.8s ease;
}
.tir8-big-heart {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  pointer-events: none;
}
.tir8-score {
  position: absolute;
  left: 50%;
  top: 77%;
  transform: translate(-50%, -50%);
  font-size: 62px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(255, 80, 140, .40);
}
.tir8-status {
  position: absolute;
  left: 50%;
  top: 96%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 340px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 220, 235, .95);
  text-align: center;
}
.tir8-interpretation {
  width: 100%;
  max-width: 650px;
  margin: 25px auto 0;
  padding: 0 15px;
  line-height: 1.7;
  text-align: center;
  color: #f4ebd3;
}
.tir8-scale-clean {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
  margin: 10px auto 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.tir8-love-meter::after {
  content: "";
  display: block;
  height: 0px;
}
.tir8-floating-heart {
  position: absolute;
  pointer-events: none;
  animation: tir8Float 3s linear forwards;
}
@keyframes tir8Float {
  from {
    opacity: 1;
    transform: translateY(0) scale(.8);
  }
  to {
    opacity: 0;
    transform: translateY(-180px) scale(1.6);
  }
}
@media (max-width:768px) {
  .ORTIR-container {
    padding: 0px;
  }
  .tir8-intro {
    padding: 20px 0;
  }
  .tir8-intro-image {
    max-width: 240px;
  }
  .tir8-intro-titre {
    font-size: 24px;
  }
  .tir8-coeur-zone {
    flex-direction: column;
    gap: 18px;
    margin: 25px 0;
  }
  .tir8-heart {
    font-size: 72px;
  }
  .tir8-femme, .tir8-homme {
    font-size: 48px;
  }
  .tir8-card {
    padding: 20px 0;
  }
  .tir8-input-row {
    gap: 12px;
    padding: 10px 12px;
  }
  .tir8-input-icon {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }
  .tir8-input {
    font-size: 16px;
    padding: 12px 4px;
  }
  .tir8-personne {
    max-width: 100%;
    padding: 16px;
    gap: 14px;
  }
  .tir8-logo {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
  .tir8-personne-nom {
    font-size: 20px;
  }
  .tir8-gauge-container {
    max-width: 100%;
  }
  .tir8-big-heart {
    top: 55%;
    font-size: 50px;
  }
  .tir8-score {
    top: 72%;
    font-size: 42px;
  }
  .tir8-status {
    top: 92%;
    max-width: 280px;
    font-size: 12px;
  }
  .tir8-scale-clean {
    font-size: 12px;
    margin-top: 6px;
  }
  .tir8-centre, .tir8-etape, .tir8-love-meter {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}
@media (max-width:480px) {
  .ORTIR-container {
    padding: 0px;
  }
  .tir8-intro-image {
    max-width: 200px;
  }
  .tir8-intro-titre {
    font-size: 22px;
  }
  .tir8-heart {
    font-size: 62px;
  }
  .tir8-femme, .tir8-homme {
    font-size: 42px;
  }
  .tir8-input {
    font-size: 15px;
  }
  .tir8-logo {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  .tir8-big-heart {
    font-size: 42px;
  }
  .tir8-score {
    font-size: 34px;
  }
  .tir8-status {
    width: 92%;
    font-size: 11px;
    line-height: 1.4;
  }
  .tir8-scale-clean {
    font-size: 11px;
  }
  .tir8-btn {
    width: 100%;
    max-width: 320px;
  }
	 .tir8-resume {
    flex-direction: column;
    align-items: center;
  }

  .tir8-personne {
    width: 100%;
    max-width: 100%;
  }
}