/* =========================
   GLOBAL
========================= */
.triaxe-chronologie-slider {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 16px 20px;
  position: relative;
}

/* =========================
   TIMER
========================= */
.triaxe-timer-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.triaxe-clock {
  width: min(100%, 360px);
  background: linear-gradient(180deg, #143844 0%, #062734 100%);
  border-radius: 18px;
  padding: 10px;
  box-shadow: none;
}

.triaxe-clock-inner {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.16) 0%,
    rgba(255,255,255,0.04) 18%,
    #000 42%,
    #000 100%
  );
  border-radius: 12px;
  padding: 8px 10px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.triaxe-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.triaxe-digit {
  position: relative;
  width: 36px;
  height: 68px;
}

.triaxe-segment {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
}

.triaxe-segment.on {
  background: linear-gradient(180deg, #ff6a5f 0%, #ff2c20 75%);
  box-shadow: 0 0 10px rgba(255, 40, 30, 0.4);
}

.triaxe-seg-a,
.triaxe-seg-d,
.triaxe-seg-g {
  width: 58%;
  height: 10%;
  left: 21%;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}

.triaxe-seg-a { top: 0; }
.triaxe-seg-g { top: 45%; }
.triaxe-seg-d { bottom: 0; }

.triaxe-seg-b,
.triaxe-seg-c,
.triaxe-seg-e,
.triaxe-seg-f {
  width: 16%;
  height: 34%;
  clip-path: polygon(0 10%, 50% 0, 100% 10%, 100% 90%, 50% 100%, 0 90%);
}

.triaxe-seg-b { top: 6%; right: 0; }
.triaxe-seg-c { bottom: 6%; right: 0; }
.triaxe-seg-e { bottom: 6%; left: 0; }
.triaxe-seg-f { top: 6%; left: 0; }

.triaxe-colon {
  width: 12px;
  height: 68px;
  position: relative;
}

.triaxe-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff6a5f 0%, #ff2c20 75%);
  left: 50%;
  transform: translateX(-50%);
}

.triaxe-dot.top { top: 20px; }
.triaxe-dot.bottom { top: 40px; }

/* =========================
   SLIDE
========================= */
.triaxe-slide-area {
  position: relative;
}

.triaxe-slide-card {
  background: #fff;
  padding: 18px;
  box-shadow: none;
  border: none;
}

.triaxe-slide-title {
  text-align: center;
  color: #e4a62d;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.triaxe-slide-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.triaxe-slide-subtitle .red {
  color: #ef5b50;
}

.triaxe-slide-text {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.3em;
  margin-bottom: 15px;
}

.triaxe-slide-image-wrap {
  text-align: center;
  margin-bottom: 10px;
}

.triaxe-slide-image {
  max-width: 620px;
  width: 100%;
}

.triaxe-slide-caption {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.triaxe-slide-reference {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* =========================
   NAVIGATION
========================= */
.triaxe-nav {
  position: absolute;
  top: 50%;
  left: -110px;
  right: -110px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.triaxe-nav button {
	  pointer-events: auto;
	  background: #e4b042;
	  color: #fff;
	  border: none;
	  padding: 15px 20px;
	  border-radius: 6px;
	  font-weight: 700;
	  cursor: pointer;
	  border:2px solid #e4b042;
	  font-size:18px;
}

.triaxe-nav button:hover{
	background: #1e5964;
	border:2px solid #1e5964;
}

.triaxe-nav button:disabled {
  opacity: 0.5;
}

/* =========================
   IMAGE CLIQUABLE (POPUP)
========================= */
.triaxe-image-popup-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.triaxe-image-popup-link:hover .triaxe-slide-image {
  opacity: 0.85;
  outline: 3px solid #1aa0c8;
  outline-offset: 3px;
}

.triaxe-image-popup-texte {
  display: block;
  margin-top: 7px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1aa0c8;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.triaxe-image-popup-link:hover .triaxe-image-popup-texte {
  color: #062734;
}

/* =========================
   SAVIEZ-VOUS QUE (NOUVEAU)
========================= */
.triaxe-slide-extra-html {
  margin-top: 24px;
}

.tri-saviez-vous-que {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 560px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
}

.tri-saviez-vous-que:hover {
  text-decoration: none;
}

.tri-saviez-vous-image {
  flex: 0 0 auto;
}

.tri-saviez-vous-img {
  width: 78px;
}

.tri-saviez-vous-info {
  text-align: left;
}

.tri-saviez-vous-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0px;
  font-family: 'Habit', Helvetica, Arial, Lucida, sans-serif;
  color: #5EBABC !important;
  line-height: 1.3em;
}

.tri-saviez-vous-lien {
  font-size: 1.15rem;
}

.tri-saviez-vous-more {
  color: #feb92b;
  font-weight: 700;
	transition:0.2s ease-in-out !important;
}

.tri-saviez-vous-que:hover .tri-saviez-vous-more {
	color: black !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width:981px) and (max-width:1179px){
	.triaxe-chronologie-slider{
		max-width: 755px !important;
	}
	.triaxe-slide-image{
		max-width: 570px !important;
	}
}

@media (max-width: 980px) {
  .triaxe-nav {
    position: static;
    transform: none;
    margin-top: 18px;
  }
}

@media (max-width:767px){
	.triaxe-slide-card{
		padding:0px !important;
	}
	.tri-saviez-vous-title{
		font-size: 1.2rem !important;
		line-height:1.2em !important;
	}
	.tri-saviez-vous-lien, .tri-saviez-vous-more{
		font-size:15px !important;
		line-height:1.2em !important;
	}
	
	.triaxe-nav button {
		padding: 10px 15px !important;
		font-size: 16px !important;
	}
}

@media (max-width: 560px) {
  .triaxe-clock {
    width: 300px;
  }

  .triaxe-digit {
    width: 25px;
    height: 45px;
  }

  .tri-saviez-vous-img {
    width: 58px;
  }
}