.cowboy-podium__wrapper {
  background-image: url("./assets/img/azae_cowboy_podium_background.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 60px;
  box-sizing: border-box;
}

.cowboy-podium__cloud-separator {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.cowboy-podium_pole {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  min-width: 1830px !important;
  z-index: 1;
}

.cowboy-podium__container {
  width: 100%;
  max-width: 1440px;
  z-index: 2;
}

/* ---------- TITRE ---------- */
.cowboy-podium__title-container {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.cowboy-podium_sign_desktop {
  min-width: 1200px !important;
}

.cowboy-podium_sign_mobile {
  min-width: 350px !important;
  display: none;
}

.cowboy-podium__title {
  font-size: clamp(24px, 3vw, 48px) !important;
  font-family: "CowboyFont" !important;
  font-weight: 500 !important;
  position: absolute;
  left: 50%;
  top: 175px;
  transform: translateX(-50%);
  width: fit-content;
  white-space: nowrap;
}

.cowboy-podium__title span {
  color: var(--cowboy-site-color);
  font-family: inherit !important;
}

/* ---------- STATS ---------- */
.cowboy-podium__stats-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-bottom: 130px;
  margin-top: 400px;
}

.cowboy-podium__stats-container {
  width: 50%;
}

.cowboy-podium__stats-title-sourire-container {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: flex-start;
}

.cowboy-podium__stats-title-sourire {
  margin-top: 10px;
}

.cowboy-podium__stats-title {
  font-size: clamp(24px, 3vw, 28px) !important;
}

.cowboy-podium__stats-text {
  font-size: clamp(18px, 3vw, 16px);
  padding-bottom: 40px;
}

.cowboy-podium__stats-card {
  background: var(--cowboy-background-color-light);
  padding: 25px;
  border-radius: 8px;
  width: fit-content;
}

.cowboy-podium__stats-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cowboy-podium__stats-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cowboy-podium__stats-card-list::marker {
  color: var(--cowboy-site-color);
}

.cowboy-podium__stats-card-list-items {
  font-size: 16px;
}

.cowboy-podium__stats-card-list-items::marker {
  color: var(--cowboy-site-color);
}

.cowboy-podium__stats-card-list-items span {
  font-size: 18px;
  color: var(--cowboy-site-color);
  font-weight: 600;
}

/* ---------- PALIERS ---------- */
.cowboy-podium__bag-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 50%;
  gap: 30px;
}

.cowboy-podium__bag {
  width: 40%;
}

/* Barre de progression */

.cowboy-podium__progress-wrapper {
  position: relative;
  display: flex;
  width: 60%;
}

/* BARRE */
.cowboy-podium__progress-track {
  position: relative;
  width: 6px;
  height: 260px;
  background-color: #d6d6d6;
  border-radius: 3px;
}

/* REMPLISSAGE */
.cowboy-podium__progress-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: var(--cowboy-site-color);
  border-radius: 3px;
  transition: height 0.6s ease;
}

/* POINTS */
.cowboy-podium__progress-step {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #cfcfcf;
  z-index: 3;
}

.cowboy-podium__progress-step.is-active {
  background-color: var(--cowboy-site-color);
}

/* LABELS */
.cowboy-podium__progress-labels {
  position: relative;
  width: 100%;
  height: 260px;
}

.cowboy-podium__label {
  position: absolute;
  left: 30px;
  transform: translateY(50%);
}

.cowboy-podium__label strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.cowboy-podium__label span {
  font-size: 16px;
}

/* ---------- CLASSEMENT ---------- */

.cowboy-podium__classement-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-bottom: 150px;
}

.cowboy-podium__classement-scene {
  position: relative;
  width: 50%;
  height: fit-content;
}

.cowboy-podium__classement-img {
  width: 100%;
  height: auto;
  display: block;
}

.cowboy-podium__classement-img-pancarte {
  position: absolute;

  /* 🔑 boîte stable */
  height: 23%; /* ajuste selon la hauteur visuelle de la pancarte */
  width: 26%;

  display: flex;
  align-items: center; /* centrage vertical */
  justify-content: center; /* centrage horizontal */

  text-align: center;
  font-weight: 600;
  line-height: 1.1;

  font-size: clamp(14px, 1.4vw, 18px);

  /* gestion des textes longs */
  box-sizing: border-box;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Pancarte gauche */
.cowboy-podium__classement-img-pancarte.pancarte--1 {
  top: 24%;
  left: 2%;
}

/* Pancarte centre */
.cowboy-podium__classement-img-pancarte.pancarte--2 {
  top: 18%;
  left: 34%;
}

/* Pancarte droite */
.cowboy-podium__classement-img-pancarte.pancarte--3 {
  top: 35%;
  left: 68%;
}

.cowboy-podium__classement-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
}

.cowboy-podium__classement-title {
  font-size: clamp(24px, 3vw, 28px) !important;
}

.cowboy-podium__classement-text {
  font-size: clamp(18px, 3vw, 16px);
  padding-bottom: 20px;
}

.cowboy-podium__classement-card {
  background: var(--cowboy-background-color-light);
  padding: 25px;
  border-radius: 8px;
  width: fit-content;
}

.cowboy-podium__classement-card-title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 15px;
}

.cowboy-podium__classement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0px;
}

.cowboy-podium__classement-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cowboy-podium__classement-items-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cowboy-podium__classement-rank-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
}

.cowboy-podium__classement-items-points {
  color: var(--cowboy-site-color);
  font-weight: 600;
}

/* Responsive */

@media (max-width: 1024px) {
  .cowboy-podium__wrapper {
    background: #fbddbb;
    padding: 0 20px;
  }

  .cowboy-podium__stats-wrapper {
    flex-direction: column;
    margin-bottom: 100px;
  }

  .cowboy-podium__stats-container {
    width: 100%;
  }

  .cowboy-podium__bag-container {
    width: 100%;
    flex-direction: column;
    gap: 60px;
  }

  .cowboy-podium__bag {
    width: 70%;
  }

  .cowboy-podium__progress-wrapper {
    width: 100%;
  }

  .cowboy-podium__classement-wrapper {
    flex-direction: column-reverse;
  }

  .cowboy-podium__classement-scene {
    width: 100%;
  }

  .cowboy-podium__classement-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .cowboy-podium_sign_desktop {
    display: none;
  }

  .cowboy-podium_sign_mobile {
    display: block;
  }

  .cowboy-podium__title {
    text-align: center;
    white-space: initial;
    width: 300px;
    top: 50px;
  }

  .cowboy-podium__stats-wrapper {
    margin-top: 200px;
  }

  .cowboy-podium__stats-card {
    width: 100%;
  }

  .cowboy-podium__classement-card {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cowboy-podium__wrapper {
    width: 100%;
  }
}
