/* ============================================
   ACTUALITÉS PAGE STYLES
   News/blog listing page
   ============================================ */

/* Hero Section */
.actualites-hero {
  padding: 160px 24px 80px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid background */
.actualites-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(115, 115, 115, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 115, 115, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}

.actualites-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;

  /* Gradient shimmer effect */
  background: linear-gradient(
    110deg,
    var(--grey-900) 0%,
    var(--grey-900) 40%,
    rgba(255, 107, 74, 0.4) 45%,
    rgba(255, 107, 74, 0.6) 50%,
    rgba(255, 107, 74, 0.4) 55%,
    var(--grey-900) 60%,
    var(--grey-900) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 200% center;
  }
  50% {
    background-position: 0% center;
  }
}

.actualites-hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--grey-600);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Actualités Container */
.actualites-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* Actualité Item */
.actualite-item {
  border-bottom: 1px solid var(--grey-200);
  padding: 40px 0;
  transition: all 0.3s ease;
}

.actualite-item:first-child {
  padding-top: 0;
}

.actualite-item:hover {
  transform: translateX(8px);
}

.actualite-date {
  font-size: 14px;
  color: var(--orange-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.actualite-date::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--orange-500);
  border-radius: 50%;
}

.actualite-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.actualite-excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-600);
  margin-bottom: 20px;
}

/* Category Tags */
.actualite-category {
  display: inline-block;
  font-size: 12px;
  color: var(--grey-600);
  background: var(--grey-100);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-reparations {
  background: rgba(255, 107, 74, 0.1);
  color: var(--orange-600);
}

.category-tech {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.category-entreprise {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.category-conseils {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

/* Empty State (for future use) */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--grey-500);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 16px;
  color: var(--grey-500);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .actualites-hero {
    padding: 140px 24px 60px;
  }

  .actualites-container {
    padding: 60px 24px 80px;
  }

  .actualite-item {
    padding: 32px 0;
  }

  .actualite-item:hover {
    transform: translateX(4px);
  }
}
