/* =========================================================
   Bloc home "Coupe du Monde 2026" (promo SEO)
   - Isolé du reste de la home, prefixe .wc26-
   - Compatible thème clair / sombre ([data-theme="dark"])
   - Responsive, aucun overflow horizontal
   ========================================================= */

.wc26-promo {
  padding: 26px 0 8px;
}

.wc26-promo__inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: stretch;
  border-radius: 20px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0.03) 55%, rgba(16, 185, 129, 0.07) 100%),
    #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.wc26-promo__head,
.wc26-promo__matches {
  min-width: 0;
}

.wc26-promo__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e40af;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.22);
  padding: 5px 11px;
  border-radius: 999px;
}

.wc26-promo__head h2 {
  margin: 0.55rem 0 0.4rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.wc26-promo__lead {
  color: var(--muted);
  margin: 0 0 1.1rem;
  max-width: 48ch;
}

.wc26-promo__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wc26-promo__matches {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.wc26-promo__matches-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.wc26-promo__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wc26-promo__list li {
  margin: 0;
}

.wc26-match__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.wc26-match__link:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  text-decoration: none;
}

.wc26-match__link:active {
  transform: translateY(1px);
}

.wc26-match__teams {
  font-weight: 650;
}

.wc26-match__meta {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Thème sombre ---------- */

[data-theme="dark"] .wc26-promo__inner {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.14) 0%, rgba(30, 64, 175, 0.10) 55%, rgba(16, 185, 129, 0.08) 100%),
    #111c30;
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .wc26-promo__chip {
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.35);
}

[data-theme="dark"] .wc26-promo__matches {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .wc26-match__link {
  background: #16233a;
  border-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .wc26-match__link:hover {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.40);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .wc26-promo__inner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .wc26-promo__ctas .btn {
    width: 100%;
  }
}
