/* ─── Za3Za3 Actus & Bons plans Plugin v1.0.0 ─── */

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

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

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

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

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

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

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

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

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

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

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

/* ── GRILLE ── */
.za-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

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

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

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

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

.za-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: var(--za-bg2);
}

.za-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── TOP ROW (badge + date) ── */
.za-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.za-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(126,216,75,.15);
  color: #9AEC5C;
  border: 1px solid var(--za-gd);
}

.za-date {
  font-size: 11px;
  color: var(--za-td);
}

/* ── TITRE ── */
.za-card-titre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--za-t);
  margin: 0;
  line-height: 1.15;
}

/* ── EXTRAIT ── */
.za-card-extrait {
  font-size: 13px;
  color: var(--za-td);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ── ACTIONS ── */
.za-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.za-btn-lien {
  display: inline-block;
  padding: 9px 20px;
  background: var(--za-g);
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}

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

.za-btn-lire {
  display: inline-block;
  padding: 9px 20px;
  background: transparent;
  color: var(--za-g);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--za-gd);
  cursor: pointer;
  transition: all .2s;
}

.za-btn-lire:hover {
  background: rgba(126,216,75,.1);
  color: var(--za-g2);
}

/* ── CONTENU DÉROULANT ── */
.za-card-contenu {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--za-tm);
  font-size: 14px;
  color: var(--za-td);
  line-height: 1.7;
}

.za-card-contenu p { margin-bottom: 10px; }
.za-card-contenu p:last-child { margin-bottom: 0; }
.za-card-contenu a { color: var(--za-g); }
.za-card-contenu a:hover { color: var(--za-g2); }
.za-card-contenu strong { color: var(--za-t); }

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

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

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