/* ===== ACTUALITES PAGE ===== */
.actualite-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.actualite-category {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(223, 26, 80, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-gray) 25%, var(--border-light) 50%, var(--bg-gray) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  height: 320px;
  border-radius: var(--radius);
}

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

/* ===== SERVICES PAGE ANCHOR OFFSET ===== */
#ingenierie, #bim {
  scroll-margin-top: 80px;
}

/* ===== A-PROPOS PAGE ===== */
#pdg {
  scroll-margin-top: 80px;
}

#valeurs {
  scroll-margin-top: 80px;
}

/* ===== CONTACT PAGE RESPONSIVE ===== */
@media (max-width: 576px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 25px 20px;
  }
}

/* ===== REALISATIONS EMPTY STATE ===== */
.realisations-grid p,
.actualites-grid p {
  grid-column: 1 / -1;
}

/* ===== SMOOTH TRANSITIONS FOR FILTER ===== */
.realisation-card,
.actualite-card {
  animation: fadeInCard 0.4s ease;
}

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BREADCRUMB (future use) ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-body);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--text-light);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(223, 26, 80, 0.3);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(223, 26, 80, 0.4);
}
