:root {
  --cadran-color2: #a93226;
  --number-color2: #c1440e;
  --hour-color2: darkorange;
  --minute-color2: orange;
  --second-color2: white;
  --text-color2: red;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
}

.wrapper2 {
  position: relative;
  width: 150px; /* Taille réduite à 30% */
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bar-seconds2,
.number-hours2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.bar-seconds2 span {
  position: absolute;
  transform: rotate(calc(var(--index) * 6deg));
  inset: -6px;
  text-align: center;
}

.bar-seconds2 span p {
  display: inline-block;
  width: 2px;
  height: 4px;
  background: var(--cadran-color2);
  border-radius: 2px;
  /*box-shadow: 0 0 3px var(--cadran-color2);*/
}

.bar-seconds2 span:nth-child(5n) p {
  width: 2px;
  height: 8px;
  transform: translateY(0.5px);
}

.number-hours2 span {
  position: absolute;
  transform: rotate(calc(var(--index) * 30deg));
  inset: 12px; /* rapproché de 12px vers l'intérieur */
  text-align: center;
}

.number-hours2 span p {
  font-size: 16px; /* légèrement réduit aussi */
  color: var(--number-color2);
  /*text-shadow: 0 0 3px var(--number-color2);*/
  transform: rotate(calc(var(--index) * -30deg));
}

.hands-box2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* STYLE POUR LES AIGUILLES */

.hands-box2 .hand2 {
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

.hands-box2 .hand2 i {
  display: inline-block;
  transform-origin: bottom;
  border-radius: 50%;
  /*box-shadow: 0 0 3px var(--cadran-color2);*/
}

/* Hours */
.hands-box2 .hours2 {
  width: 80px; /* 320 * 0.3 */
  height: 80px;
}
.hands-box2 .hours2 i {
  width: 4px; /* 8px * 0.3 * 0.9 ≈ 2.2px */
  height: 60px; /* 160px * 0.3 * 0.9 ≈ 43px */
  background: var(--hour-color2);
}

/* Minutes */
.hands-box2 .minutes2 {
  width: 120px;
  height: 120px;
}
.hands-box2 .minutes2::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--minute-color2);
  border-radius: 50%;
  /*box-shadow: 0 0 2px var(--minute-color2);*/
}
.hands-box2 .minutes2 i {
  width: 4px;
  height: 80px;
  background: var(--minute-color2);
}

/* Seconds */
.hands-box2 .seconds2 {
  width: 135px;
  height: 135px;
}
.hands-box2 .seconds2::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--second-color2);
  border-radius: 50%;
  /*box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);*/
}
.hands-box2 .seconds2 i {
  width: 2px;
  height: 90px; /* (240+70) * 0.3 * 0.9 ≈ 77px */
  background: var(--second-color2);
  box-shadow: none;
}

.utc-label2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(0px, -18px);
  font-size: 14px;
  font-weight: bold;
  color: var(--text-color2); /* ou la couleur de ton choix */
}
