/* =========================================================================
   AS Simba Kamikaze de Kolwezi — thème du site public
   Couleurs issues du logo : rouge lion, blanc, argent, noir profond
   ========================================================================= */
:root {
  --simba-red: #b3201a;
  --simba-red-dark: #7d130f;
  --simba-red-light: #e0473f;
  --simba-silver: #c9ccd1;
  --simba-black: #111214;
  --simba-ink: #1d1f23;
  --simba-muted: #6b7078;
  --simba-bg: #f5f5f6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 18, 20, .08);
  --bs-primary: var(--simba-red);
  --bs-primary-rgb: 179, 32, 26;
  --bs-link-color: var(--simba-red);
  --bs-link-hover-color: var(--simba-red-dark);
}

body { font-family: "Inter", system-ui, sans-serif; background: var(--simba-bg); color: var(--simba-ink); }
h1, h2, h3, h4, h5, .display-font { font-family: "Oswald", "Inter", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
a { text-decoration: none; }
img { max-width: 100%; }

.btn-simba { background: var(--simba-red); color: #fff; border: 0; font-weight: 600; letter-spacing: .03em; }
.btn-simba:hover, .btn-simba:focus { background: var(--simba-red-dark); color: #fff; }
.btn-outline-simba { border: 2px solid var(--simba-red); color: var(--simba-red); font-weight: 600; }
.btn-outline-simba:hover { background: var(--simba-red); color: #fff; }
.text-simba { color: var(--simba-red) !important; }
.bg-simba { background: var(--simba-red) !important; }
.bg-ink { background: var(--simba-black) !important; }

/* --- Barre supérieure & navigation ----------------------------------------- */
.topbar { background: var(--simba-black); color: #bbb; font-size: .82rem; }
.topbar a { color: #ddd; }
.topbar a:hover { color: #fff; }
.live-pill { background: var(--simba-red); color: #fff; border-radius: 99px; padding: .15rem .7rem; font-weight: 600; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: .35rem; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.navbar-simba { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.06); }
/* Logo : blason « suspendu » qui déborde sous la barre, réduit au défilement */
.navbar-simba { transition: padding .3s, box-shadow .3s; }
.brand-simba { display: flex; align-items: center; gap: .8rem; padding: 0; margin-right: 1.2rem; }
.brand-crest { position: relative; display: block; width: 58px; height: 54px; }
.brand-crest img { position: absolute; left: 0; top: -6px; width: auto; height: 82px; z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(17,18,20,.28)); transform-origin: 50% 20%;
  transition: height .3s, top .3s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.brand-simba:hover .brand-crest img { transform: rotate(-5deg) scale(1.06); }
.brand-text { display: block; border-left: 3px solid var(--simba-red); padding-left: .75rem; line-height: 1.05; }
.brand-text strong { font-family: "Oswald"; font-size: 1.45rem; font-weight: 700; color: var(--simba-red); display: block; text-transform: uppercase; letter-spacing: .02em; }
.brand-text small { display: block; color: var(--simba-ink); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-top: .15rem; }
.brand-text em { display: block; font-style: normal; color: var(--simba-muted); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.navbar-simba.is-scrolled { box-shadow: 0 4px 22px rgba(0,0,0,.12); }
.navbar-simba.is-scrolled .brand-crest img { height: 56px; top: -1px; }
@media (max-width: 575px) {
  .brand-crest { width: 46px; height: 46px; }
  .brand-crest img, .navbar-simba.is-scrolled .brand-crest img { height: 60px; top: -4px; }
  .brand-text strong { font-size: 1.2rem; }
  .brand-text em { display: none; }
}
@media (prefers-reduced-motion: reduce) { .brand-crest img { transition: none; } }
.navbar-simba .nav-link { font-weight: 600; color: var(--simba-ink); text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; padding: .5rem .7rem !important; position: relative; }
.navbar-simba .nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--simba-red); transform: scaleX(0); transition: transform .25s; }
.navbar-simba .nav-link:hover::after, .navbar-simba .nav-link.active::after { transform: scaleX(1); }
.navbar-simba .nav-link.active, .navbar-simba .nav-link:hover { color: var(--simba-red); }
.cart-badge { font-size: .65rem; }

/* --- Carrousel d'accueil : photos HD plein écran --------------------------- */
.hero { position: relative; background: var(--simba-black); }
.hero .carousel-item { height: min(90vh, 860px); min-height: 520px; overflow: hidden; background: var(--simba-black); }
.hero-media, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; transform: scale(1.14); will-change: transform; }
/* Effet « Ken Burns » : zoom lent + léger panoramique, différent pour chaque slide */
.hero .carousel-item.active .hero-img { animation: kb-in 9s ease-out forwards; }
.hero .carousel-item.kb-2.active .hero-img { animation-name: kb-left; }
.hero .carousel-item.kb-3.active .hero-img { animation-name: kb-right; }
@keyframes kb-in { from { transform: scale(1.16) } to { transform: scale(1.02) } }
@keyframes kb-left { from { transform: scale(1.14) translateX(2.5%) } to { transform: scale(1.04) translateX(-1%) } }
@keyframes kb-right { from { transform: scale(1.14) translateX(-2.5%) } to { transform: scale(1.04) translateX(1%) } }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.hero .carousel-item.active .hero-bg { transform: scale(1); }
.hero-bg.fallback-1 { background: radial-gradient(circle at 75% 40%, #d6342c 0%, var(--simba-red-dark) 45%, #1a0605 100%); }
.hero-bg.fallback-2 { background: linear-gradient(120deg, #111 0%, #3a0c09 55%, var(--simba-red) 100%); }
.hero-bg.fallback-3 { background: radial-gradient(circle at 20% 70%, #6e6f73 0%, #2a2b2e 45%, #0c0c0d 100%); }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.55) 38%, rgba(10,10,12,.05) 72%),
  linear-gradient(0deg, rgba(10,10,12,.9) 0%, rgba(10,10,12,0) 38%),
  linear-gradient(180deg, rgba(10,10,12,.45) 0%, rgba(10,10,12,0) 18%); }
.hero-overlay::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--simba-red); }
.hero-watermark { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); height: min(70%, 400px); opacity: .95; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(-50%) } 50% { transform: translateY(calc(-50% - 14px)) } }
@media (max-width: 1199px) { .hero-watermark { right: 2%; opacity: .16; animation: none; } }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; max-width: 680px; padding-bottom: 90px; }
.hero-content .kicker { display: inline-flex; align-items: center; gap: .6rem; color: #fff; letter-spacing: .28em; font-size: .78rem; font-weight: 600; text-transform: uppercase; }
.kicker-logo { height: 34px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.hero-content h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: .98; margin: .8rem 0 1rem; text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.hero-content h1 span { color: var(--simba-red-light); }
.hero-content p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #e6e6e6; max-width: 560px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero .carousel-item.active .hero-content > * { animation: slideUp .9s both; }
.hero .carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero .carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero .carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .45s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) } to { opacity: 1; transform: none } }
.hero-credit { position: absolute; right: 14px; top: 12px; z-index: 3; font-size: .68rem; color: rgba(255,255,255,.55); }
/* Indicateurs : barres de progression titrées */
.hero-nav { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 6; }
.hero-indicators { display: flex; gap: 1rem; justify-content: flex-start; }
.hero-indicators [data-bs-target] { flex: 1; max-width: 240px; width: auto; height: auto; text-indent: 0; background: none; border: 0; margin: 0; padding: 0 0 .7rem; opacity: .6; text-align: left; color: #fff; position: relative; transition: opacity .3s; }
.hero-indicators [data-bs-target]:hover, .hero-indicators .active { opacity: 1; }
.hero-indicators .num { font-family: "Oswald"; font-size: .95rem; margin-right: .5rem; color: var(--simba-red-light); }
.hero-indicators .lbl { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.hero-indicators .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.28); border-radius: 2px; overflow: hidden; }
.hero-indicators .bar::after { content: ""; position: absolute; inset: 0; background: var(--simba-red-light); transform: scaleX(0); transform-origin: left; }
.hero-indicators .active .bar::after { animation: progress 7s linear forwards; }
.hero:hover .hero-indicators .active .bar::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1) } }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); color: #fff; backdrop-filter: blur(4px); transition: all .2s; }
.hero-arrow:hover { background: var(--simba-red); border-color: var(--simba-red); }
@media (max-width: 767px) {
  .hero .carousel-item { height: 86vh; min-height: 560px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(10,10,12,.95) 0%, rgba(10,10,12,.55) 50%, rgba(10,10,12,.25) 100%); }
  .hero-content { justify-content: flex-end; padding-bottom: 150px; }
  .hero-indicators .lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero .carousel-item.active .hero-img { animation: none; transform: none; } }

/* --- Bandeau match (prochain / dernier résultat) -------------------------- */
.match-strip { margin-top: -60px; position: relative; z-index: 5; }
.match-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; height: 100%; border-top: 4px solid var(--simba-red); }
.match-card .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--simba-muted); font-weight: 700; }
.team-name { font-family: "Oswald"; text-transform: uppercase; font-size: 1.05rem; }
.team-crest { width: 56px; height: 56px; object-fit: contain; }
.crest-placeholder { width: 56px; height: 56px; border-radius: 50%; background: #e9eaec; display: inline-flex; align-items: center; justify-content: center; font-family: "Oswald"; color: var(--simba-muted); font-size: 1.2rem; }
.score { font-family: "Oswald"; font-size: 2.6rem; line-height: 1; }
.score-sep { color: var(--simba-red); }
.outcome { display: inline-block; width: 26px; height: 26px; border-radius: 6px; color: #fff; font-weight: 700; text-align: center; line-height: 26px; font-size: .8rem; }
.outcome-V { background: #1f8a4c; } .outcome-N { background: #8a8d93; } .outcome-D { background: var(--simba-red); }
.countdown span { display: inline-block; min-width: 54px; background: var(--simba-black); color: #fff; border-radius: 8px; padding: .3rem .2rem; text-align: center; margin-right: 4px; font-family: "Oswald"; font-size: 1.3rem; }
.countdown small { display: block; font-size: .6rem; font-family: "Inter"; color: #aaa; text-transform: uppercase; }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-title h2 { margin: 0; font-size: 2rem; position: relative; padding-left: 1rem; }
.section-title h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; background: var(--simba-red); border-radius: 3px; }
.section-dark { background: var(--simba-black); color: #eee; }
.section-dark .section-title h2 { color: #fff; }
.section-red { background: linear-gradient(120deg, var(--simba-red-dark), var(--simba-red)); color: #fff; }

.page-header { background: linear-gradient(110deg, rgba(17,18,20,.95) 30%, rgba(125,19,15,.92)), url("../img/logo.bc0b57610310.png") right -60px center / 380px no-repeat, var(--simba-black); color: #fff; padding: 3.5rem 0 3rem; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-header .breadcrumb a { color: var(--simba-silver); }
.page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: #888; }

/* --- Cartes ---------------------------------------------------------------- */
.card-simba { border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: transform .25s, box-shadow .25s; height: 100%; }
.card-simba:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(17,18,20,.14); }
.card-simba .thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--simba-red-dark), var(--simba-black)); overflow: hidden; }
.card-simba .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-simba:hover .thumb img { transform: scale(1.06); }
.card-simba .thumb .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.card-simba .thumb .ph img { width: 34%; height: auto; object-fit: contain; opacity: .35; }
.card-simba .tag { position: absolute; left: 12px; top: 12px; background: var(--simba-red); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; padding: .25rem .6rem; border-radius: 6px; letter-spacing: .05em; }
.card-simba .card-body h3, .card-simba .card-body h5 { font-size: 1.1rem; line-height: 1.3; }
.card-simba a.stretched-link { color: inherit; }
.meta { color: var(--simba-muted); font-size: .82rem; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(179,32,26,.92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 0 0 8px rgba(255,255,255,.18); transition: transform .25s; }
.card-simba:hover .play-btn { transform: scale(1.12); }

.featured-article { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--simba-black); color: #fff; display: flex; align-items: end; box-shadow: var(--shadow); }
.featured-article img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.featured-article .content { position: relative; padding: 2rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); width: 100%; }

/* Évènements */
.event-row { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); align-items: center; transition: transform .2s; }
.event-row:hover { transform: translateX(4px); }
.date-box { min-width: 72px; text-align: center; background: var(--simba-red); color: #fff; border-radius: 10px; padding: .45rem .3rem; font-family: "Oswald"; line-height: 1.1; }
.date-box .d { font-size: 1.8rem; display: block; }
.date-box .m { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* Joueurs */
.player-card { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #2a2b2f, var(--simba-black)); color: #fff; aspect-ratio: 3/4; box-shadow: var(--shadow); transition: transform .3s; display: block; }
.player-card:hover { transform: translateY(-6px); color: #fff; }
.player-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player-card .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Oswald"; font-size: 4.5rem; color: rgba(255,255,255,.12); }
.player-card .number { position: absolute; top: 10px; right: 14px; font-family: "Oswald"; font-size: 3rem; color: var(--simba-red-light); text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.player-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
.player-card .info .first { font-size: .85rem; color: #ccc; }
.player-card .info .last { font-family: "Oswald"; font-size: 1.35rem; text-transform: uppercase; }
.player-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--simba-red); }

/* Boutique */
.product-card .thumb { aspect-ratio: 1/1; background: linear-gradient(160deg, #f0f0f2, #dfe0e3); }
.product-card .thumb .ph img { opacity: .5; }
.price { font-family: "Oswald"; font-size: 1.3rem; color: var(--simba-red); }
.price-old { white-space: nowrap; text-decoration: line-through; color: var(--simba-muted); font-size: .9rem; margin-left: .4rem; }
.size-option input { display: none; }
.size-option span { display: inline-block; min-width: 46px; text-align: center; padding: .45rem .6rem; border: 2px solid #ddd; border-radius: 8px; cursor: pointer; font-weight: 600; }
.size-option input:checked + span { border-color: var(--simba-red); background: var(--simba-red); color: #fff; }

/* Direct */
.live-board { background: radial-gradient(circle at 50% 0%, #2c2d31, var(--simba-black)); color: #fff; border-radius: var(--radius); padding: 2rem 1rem; box-shadow: var(--shadow); }
.live-board .score { font-size: clamp(3rem, 9vw, 5.5rem); }
.live-board .team-name { font-size: clamp(1rem, 2.6vw, 1.6rem); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid #eee; align-items: center; }
.timeline .min { font-family: "Oswald"; color: var(--simba-red); min-width: 44px; font-size: 1.1rem; }
.timeline li.opp { flex-direction: row-reverse; text-align: right; }

/* Calendrier */
.cal { width: 100%; table-layout: fixed; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cal th { background: var(--simba-black); color: #fff; text-align: center; padding: .6rem; font-family: "Oswald"; font-weight: 400; text-transform: uppercase; }
.cal td { height: 108px; vertical-align: top; border: 1px solid #eee; padding: .35rem; font-size: .8rem; }
.cal td.out { background: #fafafa; color: #bbb; }
.cal td.today { background: #fff4f3; }
.cal td.today .day { background: var(--simba-red); color: #fff; border-radius: 50%; }
.cal .day { display: inline-block; width: 26px; height: 26px; text-align: center; line-height: 26px; font-weight: 700; }
.cal .item { display: block; margin-top: 3px; padding: 2px 6px; border-radius: 5px; font-size: .72rem; color: #fff; background: var(--simba-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .item.match { background: var(--simba-red); }

/* Forum & votes */
.forum-cat { background: #fff; border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: center; }
.forum-cat .icon { width: 52px; height: 52px; border-radius: 12px; background: #fdecea; color: var(--simba-red); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.post { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; }
.post .author { width: 170px; border-right: 1px solid #eee; padding: 1rem; text-align: center; flex-shrink: 0; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--simba-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: "Oswald"; font-size: 1.3rem; object-fit: cover; }
.post.hidden-post { opacity: .5; }
@media (max-width: 575px) { .post { flex-direction: column; } .post .author { width: auto; border-right: 0; border-bottom: 1px solid #eee; display: flex; gap: .7rem; align-items: center; text-align: left; } }
.poll-option { display: block; border: 2px solid #e4e5e7; border-radius: 10px; padding: .8rem 1rem; cursor: pointer; transition: border-color .2s; }
.poll-option:hover { border-color: var(--simba-red-light); }
.poll-option input { accent-color: var(--simba-red); margin-right: .6rem; }
.poll-bar { height: 10px; border-radius: 6px; background: #eee; overflow: hidden; }
.poll-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--simba-red), var(--simba-red-light)); }

/* Paiement */
.pay-option input { display: none; }
.pay-option .box { border: 2px solid #e1e2e5; border-radius: var(--radius); padding: 1.2rem; text-align: center; cursor: pointer; transition: all .2s; background: #fff; height: 100%; }
.pay-option input:checked + .box { border-color: var(--simba-red); box-shadow: 0 0 0 4px rgba(179,32,26,.12); }
.pay-logo { font-family: "Oswald"; font-size: 1.5rem; font-weight: 600; }
.pay-logo.mpesa { color: #e60000; } .pay-logo.airtel { color: #ed1c24; }
.spinner-ring { width: 72px; height: 72px; border: 6px solid #f1d6d4; border-top-color: var(--simba-red); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg) } }

/* Billet */
.ticket { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; max-width: 760px; margin: auto; }
.ticket .left { background: linear-gradient(160deg, var(--simba-red), var(--simba-red-dark)); color: #fff; padding: 1.6rem; flex: 1; position: relative; }
.ticket .right { padding: 1.4rem; text-align: center; border-left: 2px dashed #ddd; width: 240px; }
@media (max-width: 575px) { .ticket { flex-direction: column; } .ticket .right { width: auto; border-left: 0; border-top: 2px dashed #ddd; } }

/* Classements */
.standings-head { background: var(--simba-black); color: #fff; padding: .9rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.standings { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.standings th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--simba-muted); padding: .7rem .5rem; border-bottom: 2px solid #eee; text-align: center; white-space: nowrap; }
.standings th:nth-child(2) { text-align: left; }
.standings td { padding: .6rem .5rem; border-bottom: 1px solid #f0f0f2; text-align: center; white-space: nowrap; }
.standings td.team { text-align: left; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.standings td.team img { width: 26px; height: 26px; object-fit: contain; }
.standings td.pts { font-family: "Oswald"; font-size: 1.1rem; }
.standings .rank { display: inline-block; width: 26px; height: 26px; line-height: 26px; border-radius: 6px; font-weight: 700; font-size: .8rem; background: #f0f1f3; }
.standings tr.zone-top td:first-child { box-shadow: inset 4px 0 0 #1f8a4c; }
.standings tr.zone-top .rank { background: #e3f4ea; color: #1f8a4c; }
.standings tr.zone-bottom td:first-child { box-shadow: inset 4px 0 0 var(--simba-red); }
.standings tr.zone-bottom .rank { background: #fbe5e3; color: var(--simba-red); }
.standings tr.is-simba td { background: #fff1ef; }
.standings tr.is-simba td.team span { color: var(--simba-red); }
.standings tr:hover td { background: #fafafb; }
.standings.compact td { padding: .45rem .5rem; }
.crest-mini { width: 26px; height: 26px; border-radius: 50%; background: #e9eaec; color: var(--simba-muted); display: inline-flex; align-items: center; justify-content: center; font-family: "Oswald"; font-size: .8rem; flex-shrink: 0; }
.small-outcome { width: 20px; height: 20px; line-height: 20px; font-size: .65rem; margin-right: 2px; }
.standings-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; padding: .7rem 1.2rem; font-size: .78rem; color: var(--simba-muted); border-top: 1px solid #f0f0f2; background: #fff; }
.standings-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
.dot.top { background: #1f8a4c; } .dot.bottom { background: var(--simba-red); } .dot.simba { background: #ffd9d4; border: 1px solid var(--simba-red-light); }
.simba-rank-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 1.6rem; color: #fff; background: linear-gradient(150deg, var(--simba-red), var(--simba-red-dark) 60%, #2a0806); box-shadow: var(--shadow); }
.simba-rank-card .bg-logo { position: absolute; right: -40px; bottom: -30px; width: 220px; opacity: .12; }
.simba-rank-card .label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 700; }
.simba-rank-card .big { font-family: "Oswald"; font-size: 5rem; line-height: 1; }
.simba-rank-card .big sup { font-size: 1.6rem; top: -2.2rem; }
.simba-rank-card .stat-box { background: rgba(0,0,0,.22); border-radius: 10px; padding: .5rem .2rem; }
.simba-rank-card .stat-box strong { display: block; font-family: "Oswald"; font-size: 1.5rem; }
.simba-rank-card .stat-box small { font-size: .68rem; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* Pied de page */
.footer { background: var(--simba-black); color: #a9acb2; padding-top: 4rem; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer a { color: #a9acb2; }
.footer a:hover { color: #fff; }
.footer .social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: #23252a; align-items: center; justify-content: center; color: #fff; margin-right: .4rem; transition: background .2s; }
.footer .social a:hover { background: var(--simba-red); }
.footer-bottom { border-top: 1px solid #23252a; padding: 1.2rem 0; margin-top: 3rem; font-size: .85rem; }
.partners img { max-height: 60px; filter: grayscale(1); opacity: .7; transition: all .2s; }
.partners img:hover { filter: none; opacity: 1; }

/* Formulaires */
.form-control:focus, .form-select:focus { border-color: var(--simba-red-light); box-shadow: 0 0 0 .2rem rgba(179,32,26,.15); }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.prose { font-size: 1.05rem; line-height: 1.8; }
.prose p { margin-bottom: 1.2rem; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-watermark, .hero-bg { animation: none; transition: none; } }

/* --- Articles : partage, image principale, galerie, visionneuse -------------- */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.share-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--simba-muted); margin-right: .2rem; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; transition: transform .2s, filter .2s; text-decoration: none; }
.share-btn:hover, .share-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.share-btn.facebook { background: #1877f2; } .share-btn.whatsapp { background: #25d366; } .share-btn.x { background: #111; }
.share-btn.telegram { background: #229ed9; } .share-btn.linkedin { background: #0a66c2; } .share-btn.email { background: #6b7078; }
.share-btn.copy, .share-btn.native { background: var(--simba-red); } .share-btn.copy.done { background: #198754; }
.share-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; background: #fff;
  border-left: 4px solid var(--simba-red); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.article-hero img { max-height: 620px; object-fit: cover; cursor: zoom-in; }
.article-hero figcaption, .lb-cap { font-size: .85rem; color: var(--simba-muted); margin-top: .5rem; font-style: italic; }
.lb-cap { color: #ddd; text-align: center; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); grid-auto-rows: 160px; grid-auto-flow: dense; gap: .6rem; }
.article-gallery .gallery-link { position: relative; overflow: hidden; border-radius: 12px; display: block; cursor: zoom-in; background: #ddd; }
.article-gallery .gallery-link.big { grid-column: span 2; grid-row: span 2; }
.article-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-gallery .gallery-link:hover img { transform: scale(1.07); }
.article-gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .6rem .45rem; font-size: .75rem; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); }
#lightbox .modal-content { box-shadow: none; }
#lightbox .carousel-item img { max-height: 82vh; max-width: 100%; border-radius: 8px; }
#lightbox + .modal-backdrop, .modal-backdrop.show { --bs-backdrop-opacity: .9; }
@media (max-width: 575px) { .article-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } .article-gallery .gallery-link.big { grid-column: span 2; grid-row: span 1; } }
