/* ============================================================
   VEILLE.CSS — Page Veille Techno (thèmes + page détail)
   ============================================================ */

/* ---- Grille des 3 thèmes ---- */
.veille-themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

a {
  text-decoration: none;
}

.veille-theme-card {
  background: var(--dark2);
  border: 1px solid var(--gray);
  padding: 48px 36px;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.veille-theme-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.veille-theme-card:hover           { background: var(--dark); border-color: var(--gray2); transform: translateY(-6px); }
.veille-theme-card:hover::after    { transform: scaleX(1); }

.vtc-icon  { font-size: 36px; line-height: 1; }
.vtc-num {
  position: absolute;
  top: 20px; right: 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}
.vtc-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
}
.vtc-desc {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray-text);
  text-transform: uppercase;
  line-height: 1.8;
}
.vtc-count {
  margin-top: auto;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vtc-count::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--red);
}
.vtc-arrow {
  position: absolute;
  bottom: 28px; right: 28px;
  font-size: 22px;
  color: var(--red);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}
.veille-theme-card:hover .vtc-arrow { opacity: 1; transform: translateX(0); }

/* ---- Page détail articles ---- */
.veille-detail-wrapper {
  min-height: 100vh;
  padding: 120px 60px 80px;
}

.veille-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gray-text);
  text-transform: uppercase;
  cursor: none;
  margin-bottom: 56px;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
}
.veille-back:hover              { color: var(--red); }
.veille-back-arrow              { font-size: 16px; transition: transform 0.2s; }
.veille-back:hover .veille-back-arrow { transform: translateX(-4px); }

.veille-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray);
}
.veille-detail-icon  { font-size: 48px; margin-bottom: 16px; }
.veille-detail-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}
.veille-detail-desc {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-top: 8px;
}
.veille-detail-count {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: rgba(192,17,31,0.12);
  line-height: 1;
  flex-shrink: 0;
}

/* ---- Liste des articles ---- */
.veille-articles-list { display: flex; flex-direction: column; }

.veille-article-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--dark2);
  transition: all 0.25s;
  cursor: none;
}
.veille-article-row:first-child          { border-top: 1px solid var(--dark2); }
.veille-article-row:hover                { padding-left: 12px; }
.veille-article-row:hover .var-title     { color: var(--red-light); }

.var-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  text-align: right;
  padding-top: 4px;
}
.var-content  { display: flex; flex-direction: column; gap: 10px; }
.var-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.var-date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
}
.var-source {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gray2);
  text-transform: uppercase;
}
.var-source::before { content: '· '; color: var(--gray); }
.var-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.1;
  transition: color 0.2s;
}
.var-excerpt {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.85;
  max-width: 680px;
}
.var-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.var-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 3px 10px;
  background: rgba(192,17,31,0.1);
  color: var(--red);
  border: 1px solid rgba(192,17,31,0.25);
  text-transform: uppercase;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .veille-themes-grid    { grid-template-columns: 1fr; }
  .veille-detail-wrapper { padding: 100px 24px 60px; }
}
