/* Coachix V2 — Newsroom & Articles */

/* Hero newsroom */
.newsroom-hero { padding: 60px 0 30px; }
.newsroom-hero .lead { max-width: 720px; }

/* Filtres */
.newsroom-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 24px 0 36px;
  border-bottom: 2px solid var(--border-strong);
  margin-bottom: 48px;
}
.nr-filter {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
}
.nr-filter:hover { background: var(--text); color: var(--bg); }
.nr-filter.active { background: var(--orange); color: var(--bg); border-color: var(--orange); }

/* Featured (article à la une) */
.nr-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
  border: 2px solid var(--text);
  padding: 36px;
  margin-bottom: 60px;
  background: var(--bg-card);
  position: relative;
}
.nr-featured::before {
  content: 'À la une';
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--orange);
  color: var(--bg);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nr-featured-visual {
  background: linear-gradient(135deg, var(--text) 0%, #000033 100%);
  color: var(--bg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.nr-featured-visual::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: var(--orange);
  border-radius: 50%;
  bottom: -120px;
  right: -120px;
  opacity: 0.6;
}
.nr-featured-visual .tag {
  position: relative; z-index: 2;
  display: inline-block;
  background: var(--orange);
  color: var(--bg);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: max-content;
}
.nr-featured-visual .quote {
  position: relative; z-index: 2;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 34px;
  line-height: 1.15;
  margin-top: 30px;
}
.nr-featured-content h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.nr-featured-content h2 a { color: var(--text); text-decoration: none; }
.nr-featured-content h2 a:hover { color: var(--orange); }
.nr-featured-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nr-featured-content .excerpt { font-size: 15.5px; line-height: 1.7; color: var(--text-dim); margin-bottom: 24px; }

@media (max-width: 768px) {
  .nr-featured { grid-template-columns: 1fr; padding: 24px; }
  .nr-featured-visual .quote { font-size: 24px; }
}

/* Grille articles */
.nr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.nr-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.nr-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--text);
}

.nr-card-visual {
  height: 180px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-strong);
}
.nr-card-visual svg { width: 100%; height: 100%; display: block; }

.nr-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nr-card-tag {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  padding: 5px 10px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  width: max-content;
}
.nr-card-tag.tag-analyse { background: var(--orange); }
.nr-card-tag.tag-cas-usage { background: #33FF99; }
.nr-card-tag.tag-pedagogie { background: #0068AB; }
.nr-card-tag.tag-conformite { background: #35B3E1; }
.nr-card-tag.tag-innovation { background: var(--text); }

.nr-card h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.nr-card h3 a { color: var(--text); text-decoration: none; }
.nr-card h3 a:hover { color: var(--orange); }

.nr-card-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.nr-card-meta {
  display: flex; gap: 14px;
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.nr-card-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* Page article */
.article-header {
  padding: 50px 0 24px;
}
.article-meta-top {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 20px;
}
.article-meta-top .article-tag {
  background: var(--orange);
  color: var(--bg);
  padding: 4px 12px;
}
.article-header h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 24px;
}
.article-header .lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 780px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

.article-author-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  margin: 32px 0 0;
  font-size: 14px;
}
.article-avatar {
  width: 44px; height: 44px;
  background: var(--text);
  color: var(--orange);
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 18px;
  border-radius: 50%;
}
.article-author-meta { color: var(--text-dim); }
.article-author-meta strong { display: block; color: var(--text); font-weight: 700; }

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 0 80px;
}
.article-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 56px 0 16px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 22px;
}
.article-body h2::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 26px;
  background: var(--orange);
}
.article-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 36px 0 12px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 22px;
}
.article-body p strong { font-weight: 800; }
.article-body a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.article-body blockquote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.3;
  border-left: 4px solid var(--orange);
  padding: 8px 0 8px 28px;
  margin: 36px 0;
  color: var(--text);
}
.article-body ul {
  list-style: none; padding-left: 0; margin: 16px 0 28px;
}
.article-body ul li {
  position: relative; padding-left: 28px;
  font-size: 17px; line-height: 1.78;
  margin-bottom: 10px;
}
.article-body ul li::before {
  content: ''; position: absolute;
  left: 0; top: 13px;
  width: 16px; height: 2px;
  background: var(--orange);
}
.article-body .article-callout {
  background: var(--bg-2);
  border-left: 4px solid var(--orange);
  padding: 22px 26px;
  margin: 32px 0;
}
.article-body .article-callout strong:first-child {
  display: block;
  color: var(--orange);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin-bottom: 8px;
}
.article-body .article-key-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 36px 0;
}
.article-body .article-stat {
  border: 2px solid var(--text);
  padding: 22px 18px;
  text-align: center;
}
.article-body .article-stat-value {
  font-size: 34px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}
.article-body .article-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 700;
}

.article-share {
  display: flex; gap: 10px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border-strong);
  align-items: center;
}
.article-share span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--text-faint); margin-right: 8px; }
.article-share a {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.article-share a:hover { background: var(--text); color: var(--bg); padding: 0; }

/* Articles connexes */
.article-related {
  background: var(--bg-2);
  padding: 60px 0;
  border-top: 2px solid var(--border-strong);
}
.article-related h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* CTA bottom */
.article-cta {
  border: 2px solid var(--text);
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  background: var(--bg-card);
}
.article-cta h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.article-cta p {
  font-size: 15.5px;
  color: var(--text-dim);
  margin-bottom: 22px;
}
