.section-resultats {
  max-width: 1200px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

.resultats-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

#seasonSelect {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
}

.result-row {
  display: flex;
  align-items: center;
  padding: 18px 28px;
  margin-bottom: 14px;
  border-radius: 18px;
    gap: 14px;
  background: rgba(255,255,255,0.06);
}

.result-date {
  width: 6em;
  flex-shrink: 0;
  opacity: 0.8;
}

.result-title {
  flex: 1;
}

.result-links a {
  color: rgb(216, 216, 216);
}

.resultats-card {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 8px 8px rgba(0,0,0,0.35);
}

/* CONTAINER */
.custom-select {
  position: relative;
  width: 180px;
  font-size: 14px;
  user-select: none;
}

/* TRIGGER */
.select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  cursor: pointer;
  transition: 0.25s ease;
}

.select-trigger:hover {
  background: rgba(255,255,255,0.12);
}

.chevron {
  opacity: 0.6;
  transition: 0.3s ease;
}

/* ROTATION */
.custom-select.open .chevron {
  transform: rotate(180deg);
}

/* DROPDOWN */
.select-options {
  position: absolute;
  top: 120%;
  left: 0;
  right: 0;

  background: linear-gradient(
    145deg,
    rgb(30, 40, 50),
    rgb(20, 30, 40)
  );

  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 8px 8px rgba(0,0,0,0.4);

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: 0.25s ease;
}

/* OPEN STATE */
.custom-select.open .select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* OPTION */
.select-option {
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.select-option:hover {
  background: rgba(255,255,255,0.08);
}

.select-option.active {
  background: rgba(58,166,201,0.2);
}

.section-resultats {
  position: relative;
}

.resultats-header {
  position: absolute;
  top: 150px;
  right: 24px;
}

.result-links {
  display: flex;
  gap: 18px;
}

.icon-link {
  position: relative;
  font-size: 20px;
  text-decoration: none;
  transition: 0.25s ease;
  cursor: pointer;
}
/* TOOLTIP */
.icon-link::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  right: 50%;
  transform: translateX(50%);
  white-space: nowrap;

  background: rgba(20,30,40,0.95);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;

  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.icon-link:hover::after {
  opacity: 1;
  transform: translateX(50%) translateY(-4px);
}

.icon-link.disabled {
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  text-shadow: none;
}

.result-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-links .icon-link + .icon-link {
  position: relative;
  padding-left: 14px;
}

.result-links .icon-link + .icon-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 18px;
  background: rgba(255,255,255,0.15);
}

.icon-link.disabled {
  filter: grayscale(100%) brightness(0.7);
  cursor: not-allowed;
  pointer-events: none;
}

.custom-select {
  position: relative;
  z-index: 1000;
}

.select-options {
  z-index: 1100;
}

.select-trigger{
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.274);
}

@media (max-width: 992px) {

  .section-resultats{
    padding-left: 0;
    padding-right: 0;
  }

  .resultats-card{
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 0;
  }

  /* RESET absolute */
  .resultats-header {
    position: static;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }

  .page-title{
    margin-bottom: 1em;
  }

  /* 🔥 SELECT MOBILE PLUS LARGE */
  .custom-select {
    width: 240px;              /* plus large */
  }

  .select-trigger {
    padding: 16px 22px;        /* plus haut */
    font-size: 16px;           /* texte plus gros */
    border-radius: 999px;
  }

  .chevron {
    font-size: 14px;
  }

  .result-date {
    font-size: 13px;
    opacity: 0.7;
  }

  .result-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
  }

  .result-row {
    padding: 14px 18px;
    gap: 14px;
  }

  .cta-content {
    flex-direction: column;      /* empile verticalement */
    align-items: center;         /* centre horizontalement */
    text-align: center;          /* centre le texte */
    gap: 25px;
  }

  .cta-text h3 {
    text-align: center;
  }

  .cta-text p {
    text-align: center;
  }

  .cta-button {
    margin-top: 10px;
    align-self: center;
  }

  .resultats-cta{
    border-radius: 0 !important;
  }
}

.resultats-cta {
  margin-top: 50px;
  padding: 40px;
  border-radius: 28px;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  box-shadow: 0 8px 8px rgba(0,0,0,0.35);
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-text h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.cta-text p {
  opacity: 0.75;
  line-height: 1.5;
  max-width: 600px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 999px;

  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;

  transition: 0.25s ease;
}

.cta-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 8px rgba(58, 166, 201, 0.18);
}
