/* ═══════════════════════════════════════════════════════════════════════════
   VEILLE TECHNO — News cards grid + filters + source badges
   ═══════════════════════════════════════════════════════════════════════════ */

.veille-section {
  padding: 4rem 0 6rem;
}

/* ─── Filters ─── */
.veille-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.veille-filter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: transparent;
  color: var(--text-secondary, #94a3b8);
  cursor: pointer;
  transition: all 0.2s;
}

.veille-filter:hover {
  border-color: var(--purple);
  color: var(--text-primary);
}

.veille-filter.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--purple);
  color: var(--purple);
}

/* ─── Cards Grid ─── */
.veille-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.veille-card {
  background: rgba(139, 92, 246, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.veille-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.06);
  transform: translateY(-2px);
}

.veille-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.veille-card__source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.veille-card__source--security {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.veille-card__source--web3 {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.veille-card__source--dev {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.veille-card__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary, #64748b);
}

.veille-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.veille-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.veille-card__title a:hover {
  color: var(--purple);
}

.veille-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.6;
  flex: 1;
}

.veille-card__tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.veille-card__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  color: var(--text-secondary, #94a3b8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Loading / Empty ─── */
.veille-loading,
.veille-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary, #94a3b8);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .veille-grid {
    grid-template-columns: 1fr;
  }
}
