/* ============================================
   🎨 HOMEPAGE - CUSTOM CSS
   Style: Sombre minimaliste premium
   ============================================ */

/* 1. ANIMATION D'APPARITION
   Les cartes apparaissent en cascade au chargement */
#information-widgets,
#services {
  animation: fadeInUp 0.6s ease-out;
}

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

/* 2. CARTES DE SERVICES - Effet glassmorphism subtil */
#services .service-card,
.services-group .service-card {
  background: rgba(30, 41, 59, 0.4) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. HOVER - Soulèvement + glow discret */
#services .service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.4); /* teal */
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(20, 184, 166, 0.15);
}

/* 4. TITRES DE CATÉGORIES - Plus aérés et raffinés */
.services-group h2,
h2.services-group-name {
  font-weight: 300 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem !important;
  opacity: 0.7;
  margin-bottom: 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

/* 5. WIDGETS DU HAUT - Look unifié */
#information-widgets > div {
  background: rgba(30, 41, 59, 0.3) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.75rem 1.25rem !important;
}

/* 6. PASTILLES DE STATUT - Plus visibles et animées */
.status-dot {
  box-shadow: 0 0 8px currentColor;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* 7. SCROLLBAR - Discrète et élégante */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 184, 166, 0.4);
}

/* 8. ICÔNES DE SERVICES - Légère élévation au survol */
.service-card img {
  transition: transform 0.3s ease;
}
.service-card:hover img {
  transform: scale(1.08);
}

/* 9. TYPOGRAPHIE - Affinage du rendu */
body {
  font-feature-settings: "ss01", "cv01", "cv11"; /* ligatures fines */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 10. DESCRIPTIONS - Plus discrètes pour hiérarchie claire */
.service-card .description {
  opacity: 0.55;
  font-size: 0.75rem;
  font-weight: 300;
}