/* ─── Za3Za3 Tournois Plugin v1.0.0 ─── */

.zt-section {
  --zt-g:   #7ED84B;
  --zt-g2:  #9AEC5C;
  --zt-gd:  #4A8A1F;
  --zt-bg:  #080C08;
  --zt-bg2: #0E140E;
  --zt-bg3: #111811;
  --zt-sur: #141C14;
  --zt-t:   #E8F0E0;
  --zt-td:  #7A9070;
  --zt-tm:  #3A4E32;
}

/* ── SECTION ── */
.zt-section {
  background: var(--zt-bg2);
  padding: 80px 24px;
  font-family: 'Outfit', sans-serif;
  color: var(--zt-t);
  box-sizing: border-box;
}

.zt-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── EN-TÊTE ── */
.zt-header {
  text-align: center;
  margin-bottom: 48px;
}

.zt-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--zt-g);
  border: 1px solid var(--zt-gd);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.zt-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--zt-t);
  margin: 0 0 12px;
  line-height: 1.1;
}

.zt-green { color: var(--zt-g); }

.zt-sub {
  font-size: 15px;
  color: var(--zt-td);
  margin: 0;
}

/* ── ONGLETS ── */
.zt-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.zt-tab {
  background: var(--zt-sur);
  border: 1px solid var(--zt-tm);
  color: var(--zt-td);
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  transition: all .2s;
}

.zt-tab:hover,
.zt-tab.active {
  background: var(--zt-g);
  border-color: var(--zt-g);
  color: #000;
  font-weight: 600;
}

/* ── GRILLE ── */
.zt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* ── CARTE ── */
.zt-card {
  background: var(--zt-sur);
  border: 1px solid var(--zt-tm);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.zt-card:hover {
  border-color: var(--zt-g);
  transform: translateY(-3px);
}

.zt-card.zt-hidden { display: none; }

.zt-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--zt-bg3);
  flex-shrink: 0;
}

.zt-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.zt-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* STATUT */
.zt-statut {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

.statut-avenir  { background: rgba(126,216,75,.15); color: #9AEC5C; border: 1px solid #4A8A1F; }
.statut-encours { background: rgba(251,146,60,.15);  color: #FB923C; border: 1px solid #92400E; }
.statut-termine { background: rgba(100,100,100,.15); color: #7A9070; border: 1px solid #3A4E32; }

.zt-jeu {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--zt-td);
}

.zt-card-titre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--zt-t);
  margin: 0;
  line-height: 1.2;
}

.zt-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.zt-meta-item {
  font-size: 12px;
  color: var(--zt-td);
  background: var(--zt-bg3);
  border-radius: 6px;
  padding: 3px 8px;
}

.zt-card-desc {
  font-size: 13px;
  color: var(--zt-td);
  line-height: 1.5;
  margin: 4px 0 0;
}

/* ── BOUTON REJOINDRE ── */
.zt-btn-rejoindre {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 20px;
  background: var(--zt-g);
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
  align-self: flex-start;
}

.zt-btn-rejoindre:hover {
  background: var(--zt-g2);
  color: #000;
  text-decoration: none;
}

/* ── CTA ── */
.zt-cta { text-align: center; }

.zt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  background: var(--zt-g);
  color: #000;
  transition: background .2s;
  border: none;
}

.zt-btn:hover {
  background: var(--zt-g2);
  color: #000;
  text-decoration: none;
}

/* ── ÉTAT VIDE ── */
.zt-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--zt-td);
}

.zt-empty span { font-size: 48px; display: block; margin-bottom: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .zt-section { padding: 60px 16px; }
  .zt-grid { grid-template-columns: 1fr; }
}
