/* ═══════════════════════════════════════════════
   NEWS / ACTUALITÉS SECTION
═══════════════════════════════════════════════ */

.news-section {
padding: 100px 48px;
    position: relative;
    overflow: hidden;
    background: var(--bg2);
}

.news-section::before{
    /*content:"";
    position:absolute;
    inset:0;
    background:url('../images/news_section.png') center center/cover no-repeat;
    opacity:.45;
    mix-blend-mode:normal;
    z-index:0;
    pointer-events:none;*/
    
       content: '';
  position: absolute;
  inset: 0;
  /*background: url('../images/section_services.png') center / cover no-repeat;*/
  background: url('../images/diversite.png') center / cover no-repeat;
  /*opacity: 1;*/
  opacity: 0.9;
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.news-section::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.06);
    z-index:1;
    pointer-events:none;
}



.dark .news-section::before,
.dark .news-section::after {
  display: none;
}

/* ─── CONTAINER ─── */
.news-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ─── HEADER ─── */
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 8px;
}

.news-header-left { flex: 1; }

.news-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.news-eyebrow-line {
  width: 50px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.news-eyebrow-text {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
}

.news-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.news-header h2 em {
  color: var(--gold);
  font-style: italic;
}

.news-header-sub {
  font-size: 13px;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.6;
  font-weight: 300;
}

.news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid #980F1E;
  /*border-radius: 6px;*/
  /*color: var(--gold);*/
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  /*background: transparent;*/
  
  
      background: #980F1E;
    color: #fff;
    border: 2px solid #7B0F18;
    border-radius: 50px;



}

.news-view-all:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: #980F1E;
  gap: 14px;
}

/* ─── GRID ─── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ─── CARD ─── */
.news-card {
  background: var(--card);
  border: 1.5px solid #980F1E;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;

  box-shadow:
    0 6px 0px rgba(152,15,30,0.25),
    0 8px 20px rgba(152,15,30,0.20),
    0 0 15px rgba(152,15,30,0.15);

  transition:
    transform 0.40s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.40s ease,
    border-color 0.40s ease;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.news-card:hover {
  transform: translateY(-10px) rotateX(6deg) scale(1.02);
  border-color: #980F1E;

  box-shadow:
    0 6px 0px rgba(152,15,30,0.4),
    0 8px 20px rgba(152,15,30,0.35),
    0 0 15px rgba(152,15,30,0.3);
}

.news-card:hover::before { opacity: 1; }

/* ─── CARD IMAGE ─── */
.news-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--bg3);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease;
}

.news-card:hover .news-card-image img { transform: scale(1.06); }

.news-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(201, 168, 76, 0.9);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  
    

}

/* ─── CARD BODY ─── */
.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text3);
}

.news-card-date,
.news-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-date svg,
.news-card-author svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.news-card:hover h3 { color: var(--gold); }

.news-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 18px;
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s ease;
}

.news-card:hover .news-card-link { gap: 12px; }

.news-card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-link svg { transform: translateX(4px); }

/* ─── FEATURED CARD ─── */
.news-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.news-card.featured .news-card-image { aspect-ratio: 16 / 6; }
.news-card.featured h3              { font-size: 28px; }
.news-card.featured .news-card-excerpt { font-size: 15px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card.featured { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 680px) {
  .news-section   { padding: 60px 24px; }
  .news-grid      { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }
  .news-card.featured h3 { font-size: 22px; }
}
/* ─── CONCOURS badge — distinct from default gold ─── */
.news-card-category.concours {
  background: rgba(45, 212, 191, 0.92);
  color: #0a2a28;
}
