/* ====================================================================
   Page Champions — basket97.com/champions/{saison}
   Styles dédiés : hero du haut + cards régionaux Guymargua + Top
   Performance Antilles-Guyane + cards départementaux par dept.
   ==================================================================== */

.ch-page {
  background: #f7f8fa;
  padding-bottom: 50px;
  position: relative;
  z-index: 1;
}
.ch-page::after {
  content: ''; display: block; clear: both;
}

/* HERO compact navy + trophée doré */
.ch-hero {
  background: linear-gradient(135deg, #021b43 0%, #0e1a35 100%);
  color: #fff; padding: 24px 0 30px; text-align: center;
  position: relative; overflow: hidden;
}
.ch-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #ff5801 0%, #ffc107 50%, #ff5801 100%);
}
.ch-hero__back {
  position: absolute; top: 16px; left: 20px; color: rgba(255,255,255,0.7);
  font-size: 12px; text-decoration: none;
}
.ch-hero__back:hover { color: #ffc107; }
.ch-hero__center { max-width: 700px; margin: 0 auto; }
.ch-hero__icon {
  font-size: 38px; color: #ffc107; display: block; margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(255,193,7,0.3);
}
.ch-hero__title { font-size: 28px; font-weight: 800; margin: 0; letter-spacing: 0.5px; }
.ch-hero__title span { color: #ffc107; }
.ch-hero__sub { font-size: 13px; opacity: 0.6; margin: 4px 0 0; }

/* Body sur fond clair */
.ch-body { padding-top: 30px; }
.ch-empty {
  text-align: center; padding: 60px 20px; color: #8d96a3;
  background: #fff; border-radius: 12px; border: 1px dashed #e4e8ee;
}
.ch-empty i { font-size: 48px; color: #d4d8df; display: block; margin-bottom: 12px; }
.ch-empty p { margin: 0; font-size: 14px; }

.ch-section { margin-bottom: 32px; }
.ch-section__title {
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: #6c757d; margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid #e4e8ee;
}
.ch-section__title i { margin-right: 6px; color: #adb5bd; }
.ch-section__title--gold { color: #b8860b; border-bottom-color: #ffc107; }
.ch-section__title--gold i { color: #ffc107; }

/* RÉGIONAUX Guymargua — cards or premium */
.ch-regional-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ch-rcard {
  position: relative; padding: 28px 20px 20px; text-align: center;
  background: linear-gradient(160deg, #fff8e1 0%, #fff 100%);
  border: 2px solid #ffc107; border-radius: 14px;
  box-shadow: 0 4px 18px rgba(255,193,7,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.ch-rcard:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,193,7,0.28); }
.ch-rcard--fem {
  background: linear-gradient(160deg, #fff0f6 0%, #fff 100%);
  border-color: #d63384;
  box-shadow: 0 4px 18px rgba(214,51,132,0.15);
}
.ch-rcard--fem:hover { box-shadow: 0 8px 28px rgba(214,51,132,0.25); }
.ch-rcard__ribbon {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #ffc107; color: #021b43; font-size: 10px; font-weight: 800;
  padding: 4px 14px; border-radius: 12px; text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}
.ch-rcard--fem .ch-rcard__ribbon { background: #d63384; color: #fff; }
.ch-rcard__trophy { font-size: 26px; color: #ffc107; opacity: 0.5; margin-bottom: 8px; }
.ch-rcard--fem .ch-rcard__trophy { color: #d63384; }
.ch-rcard__logo {
  width: 80px; height: 80px; border-radius: 50%; background: #fff;
  margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border: 3px solid #fff;
}
.ch-rcard__logo img { width: 75%; height: 75%; object-fit: contain; }
.ch-rcard__logo span { font-size: 20px; font-weight: 800; color: #021b43; }
.ch-rcard__name { font-size: 22px; font-weight: 900; color: #021b43; margin-bottom: 2px; }
.ch-rcard__dept { font-size: 12px; color: #6c757d; margin-bottom: 8px; }
.ch-rcard__score { font-size: 13px; color: #495057; padding: 6px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.ch-rcard__score strong { color: #b8860b; font-weight: 800; }
.ch-rcard--fem .ch-rcard__score strong { color: #d63384; }
.ch-rcard__link {
  display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600;
  color: #6c757d; text-decoration: none; padding: 4px 10px; border-radius: 12px;
  background: #f1f3f5; transition: all 0.15s;
}
.ch-rcard__link:hover { background: #021b43; color: #fff; }

/* TOP PERFORMANCE PLAYOFFS ANTILLES-GUYANE — 4 cards individuelles */
.ch-stars-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ch-star {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 12px;
  border: 1px solid #e8ecf2;
  padding: 14px 16px;
  text-decoration: none; color: inherit;
  transition: all 0.2s;
  position: relative; overflow: hidden;
}
.ch-star::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #ff5801 0%, #ffc107 100%);
}
.ch-star--shooter::before { background: linear-gradient(90deg, #16baff 0%, #021b43 100%); }
.ch-star--fem::before { background: linear-gradient(90deg, #d63384 0%, #ff85c0 100%); }
.ch-star--fem.ch-star--shooter::before { background: linear-gradient(90deg, #d63384 0%, #16baff 100%); }
.ch-star:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); color: inherit; }

.ch-star__head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.ch-star__head .fa {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff; background: #ff5801;
}
.ch-star--shooter .ch-star__head .fa { background: #16baff; }
.ch-star--fem .ch-star__head .fa { background: #d63384; }
.ch-star__label {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px;
  color: #021b43;
}
.ch-star__zone {
  margin-left: auto; font-size: 9px; font-weight: 700;
  color: #6c757d; padding: 2px 8px; background: #f1f3f5; border-radius: 10px;
  text-transform: uppercase; letter-spacing: 1px;
}

.ch-star__body { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ch-star__photo {
  width: 56px; height: 56px; border-radius: 50%;
  background: #f0f2f5; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 3px solid #ffc107;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.ch-star--shooter .ch-star__photo { border-color: #16baff; }
.ch-star--fem .ch-star__photo { border-color: #d63384; }
.ch-star__photo img { width: 100%; height: 100%; object-fit: cover; }
.ch-star__photo span { font-size: 16px; font-weight: 800; color: #021b43; }
.ch-star__info { flex: 1; min-width: 0; }
.ch-star__name {
  font-size: 16px; font-weight: 900; color: #021b43; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-star__club {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: #6c757d; font-weight: 600; margin-top: 3px;
}
.ch-star__club img { width: 16px; height: 16px; object-fit: contain; }
.ch-star__club small { color: #adb5bd; font-weight: 500; }

.ch-star__stat {
  padding-top: 10px; border-top: 1px solid #f0f2f5;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.ch-star__value { font-size: 30px; font-weight: 900; line-height: 1; color: #ff5801; }
.ch-star--shooter .ch-star__value { color: #16baff; }
.ch-star--fem .ch-star__value { color: #d63384; }
.ch-star__unit {
  font-size: 11px; font-weight: 700; color: #6c757d;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.ch-star__total { margin-left: auto; font-size: 11px; color: #adb5bd; font-weight: 600; }

/* DÉPARTEMENTAUX — bandeau dept + grille de hero cards */
.ch-dept-block { margin-bottom: 28px; }
.ch-dept-block__header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; margin-bottom: 14px;
  background: #021b43; color: #fff; border-radius: 6px;
  border-left: 4px solid #ff5801;
}
.ch-dept-block__header .fa { color: #ff5801; }
.ch-dept-block__name { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.ch-dept-block__nick { font-size: 11px; opacity: 0.5; margin-left: auto; }

.ch-champ-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* HERO CARD — thème clair, accents colorés */
.ch-champ {
  position: relative; overflow: hidden;
  background: #fff;
  border-radius: 14px; padding: 18px 20px 16px;
  border: 1px solid #e8ecf2;
  box-shadow: 0 4px 14px rgba(2,27,67,0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ch-champ::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #ff5801 0%, #ffc107 100%);
}
.ch-champ--fem::before { background: linear-gradient(180deg, #d63384 0%, #ff85c0 100%); }
.ch-champ:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(2,27,67,0.1); border-color: #ffc107; }
.ch-champ--fem:hover { border-color: #d63384; }

.ch-champ__bg-trophy {
  position: absolute; right: -20px; bottom: -30px;
  font-size: 180px; opacity: 0.05; pointer-events: none;
  color: #ffc107;
}
.ch-champ--fem .ch-champ__bg-trophy { color: #d63384; }

.ch-champ__top {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 14px; position: relative; z-index: 1;
}
.ch-champ__cat {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 12px; border-radius: 12px;
  background: #fff8e1; color: #b8860b; border: 1px solid #ffe082;
}
.ch-champ--fem .ch-champ__cat { background: #fff0f6; color: #d63384; border-color: #ffc6e0; }

.ch-champ__finale {
  font-size: 10px; font-weight: 800; color: #b8860b;
  padding: 4px 12px; border-radius: 12px;
  background: #fff8e1; border: 1px solid #ffe082;
  text-transform: uppercase; letter-spacing: 1px;
}
.ch-champ__finale strong { font-size: 13px; color: #b8860b; margin-left: 5px; letter-spacing: 0; }
.ch-champ--fem .ch-champ__finale { background: #fff0f6; border-color: #ffc6e0; color: #d63384; }
.ch-champ--fem .ch-champ__finale strong { color: #d63384; }

.ch-champ__club {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.ch-champ__logo {
  flex-shrink: 0;
  width: 80px; height: 80px; border-radius: 50%;
  background: #fff; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 3px solid #ffc107;
  box-shadow: 0 4px 14px rgba(255,193,7,0.3);
}
.ch-champ--fem .ch-champ__logo { border-color: #d63384; box-shadow: 0 4px 14px rgba(214,51,132,0.25); }
.ch-champ__logo img { width: 100%; height: 100%; object-fit: contain; }
.ch-champ__logo span { font-size: 22px; font-weight: 800; color: #021b43; }
.ch-champ__name { flex: 1; min-width: 0; }
.ch-champ__name small {
  display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  color: #ff5801; font-weight: 700; margin-bottom: 2px;
}
.ch-champ--fem .ch-champ__name small { color: #d63384; }
.ch-champ__name h3 {
  margin: 0; font-size: 26px; font-weight: 900; line-height: 1.1;
  color: #021b43; letter-spacing: 0.3px; word-break: break-word;
}

/* Stat cards dans la card champion */
.ch-champ__stats {
  display: grid; gap: 8px; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.ch-stat {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #fafbfd;
  border: 1px solid #eef0f4;
  border-left: 3px solid transparent;
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: all 0.15s;
  position: relative;
}
.ch-stat:hover { background: #fff; color: inherit; transform: translateX(2px); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.ch-stat--scorer { border-left-color: #ff5801; }
.ch-stat--scorer:hover { border-color: #ffd6c2; border-left-color: #ff5801; background: #fffaf6; }
.ch-stat--shooter { border-left-color: #16baff; }
.ch-stat--shooter:hover { border-color: #c2e9fa; border-left-color: #16baff; background: #f6fcff; }
.ch-champ--fem .ch-stat--shooter { border-left-color: #d63384; }
.ch-champ--fem .ch-stat--shooter:hover { border-color: #ffc6e0; border-left-color: #d63384; background: #fff5fa; }

.ch-stat__photo {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; background: #f0f2f5;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.ch-stat__photo img { width: 100%; height: 100%; object-fit: cover; }
.ch-stat__photo span { font-size: 13px; font-weight: 800; color: #021b43; }
.ch-stat__body { flex: 1; min-width: 0; line-height: 1.25; }
.ch-stat__label {
  font-size: 9px; text-transform: uppercase; letter-spacing: 1px;
  color: #6c757d; font-weight: 700;
}
.ch-stat__label .fa { margin-right: 3px; }
.ch-stat--scorer .ch-stat__label .fa { color: #ff5801; }
.ch-stat--shooter .ch-stat__label .fa { color: #16baff; }
.ch-champ--fem .ch-stat--shooter .ch-stat__label .fa { color: #d63384; }
.ch-stat__name {
  font-size: 13px; font-weight: 700; color: #021b43;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-stat__club {
  font-size: 10px; font-weight: 600; color: #6c757d; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-stat__value {
  font-size: 20px; font-weight: 900; color: #ff5801;
  flex-shrink: 0; align-self: center;
  text-align: right; line-height: 1.05;
}
.ch-stat__value small {
  font-size: 9px; font-weight: 600; color: #6c757d;
  display: block; margin-top: -2px;
}
/* Sous-info (total ou moyenne secondaire) — discret en gris clair */
.ch-stat__value .ch-stat__sub {
  display: block; font-size: 10px; font-weight: 600;
  color: #adb5bd; margin-top: 4px; letter-spacing: 0.2px;
}
.ch-stat--shooter .ch-stat__value { color: #16baff; }
.ch-champ--fem .ch-stat--shooter .ch-stat__value { color: #d63384; }

.ch-champ__foot {
  display: flex; gap: 8px;
  position: relative; z-index: 1;
  padding-top: 12px;
  border-top: 1px solid #f0f2f5;
  margin-top: 4px;
}

/* Top scoreur sous chaque card régionale Guymargua */
.ch-tscorer {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; margin-top: 12px;
  background: #fff; border: 1px solid rgba(255,193,7,0.3); border-radius: 8px;
  text-decoration: none; color: inherit; transition: all 0.15s;
}
.ch-tscorer:hover { background: rgba(255,193,7,0.1); color: inherit; border-color: #ffc107; transform: translateY(-1px); }
.ch-rcard--fem .ch-tscorer { border-color: rgba(214,51,132,0.3); }
.ch-rcard--fem .ch-tscorer:hover { background: rgba(214,51,132,0.08); border-color: #d63384; }
.ch-tscorer + .ch-tscorer { margin-top: 6px; }
.ch-tscorer > .fa { color: #ff5801; flex-shrink: 0; font-size: 14px; }
.ch-tscorer--shooter > .fa { color: #16baff; }
.ch-tscorer--shooter .ch-tscorer__info small { color: #16baff; }
.ch-tscorer__photo {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  background: #f0f2f5; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ch-tscorer__photo img { width: 100%; height: 100%; object-fit: cover; }
.ch-tscorer__photo span { font-size: 12px; font-weight: 800; color: #021b43; }
.ch-tscorer__info { flex: 1; min-width: 0; text-align: left; line-height: 1.25; }
.ch-tscorer__info small {
  display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px;
  color: #ff5801; font-weight: 700;
}
.ch-tscorer__info strong {
  font-size: 12px; color: #021b43; display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-tscorer__info span { font-size: 10px; color: #6c757d; }

/* Boutons de partage WhatsApp / Facebook */
.ch-share {
  display: flex; gap: 6px; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.06);
  align-items: center;
}
.ch-share__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #fff; text-decoration: none; font-size: 13px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ch-share__btn:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.ch-share__btn--wa { background: #25d366; }
.ch-share__btn--fb { background: #1877f2; }
.ch-share__btn--sm { width: 24px; height: 24px; font-size: 11px; }

/* Responsive */
@media (max-width: 768px) {
  .ch-champ-grid { grid-template-columns: 1fr; }
  .ch-regional-grid { grid-template-columns: 1fr; }
  .ch-stars-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ch-dept-block__nick { display: none; }
}
@media (max-width: 600px) {
  .ch-stars-grid { grid-template-columns: 1fr; }
  .ch-star__photo { width: 48px; height: 48px; }
  .ch-star__name { font-size: 15px; }
  .ch-star__value { font-size: 26px; }
}
@media (max-width: 576px) {
  .ch-hero__title { font-size: 22px; }
  .ch-hero__sub { font-size: 12px; }
  .ch-rcard__name { font-size: 18px; }
  .ch-rcard { padding: 24px 14px 16px; }
  .ch-champ { padding: 14px 16px; }
  .ch-champ__top { flex-wrap: wrap; }
  .ch-champ__cat { font-size: 9px; padding: 3px 10px; }
  .ch-champ__finale { font-size: 9px; padding: 4px 10px; }
  .ch-champ__finale strong { font-size: 13px; }
  .ch-champ__club { gap: 12px; }
  .ch-champ__logo { width: 60px; height: 60px; padding: 3px; border-width: 2px; }
  .ch-champ__name h3 { font-size: 20px; }
  .ch-champ__name small { font-size: 9px; }
  .ch-stat { padding: 8px 10px; gap: 8px; }
  .ch-stat__photo { width: 32px; height: 32px; }
  .ch-stat__name { font-size: 12px; }
  .ch-stat__value { font-size: 15px; }
  .ch-tscorer { padding: 6px 8px; }
  .ch-tscorer__photo { width: 28px; height: 28px; }
  .ch-section__title { font-size: 12px; }
  .ch-dept-block__name { font-size: 12px; }
}
