/* LLM Monitor - Styles personnalisés */

/* Import Google Sans */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

/* Variables CSS du design system */
:root {
  --color-primary: #17233c;
  --color-secondary: #2e4f62;
  --color-tertiary: #4c9783;
}

/* Styles shadcn de base */
* {
  border-color: hsl(214.3 31.8% 91.4%);
}

body {
  font-feature-settings: "rlig" 1, "calt" 1;
}

/* Focus ring style shadcn */
.focus-ring:focus-visible {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
}

/* Transition smooth pour accordéon */
details[open] summary svg {
  transform: rotate(180deg);
}

details summary svg {
  transition: transform 0.2s ease-in-out;
}

/* Animation barres de progression */
@keyframes progressFill {
  from { width: 0; }
}

.progress-bar {
  animation: progressFill 1s ease-out forwards;
}

/* Placeholder images */
.img-placeholder {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.875rem;
}

/* Backgrounds maquette */
.bg-hero-gradient {
  background: linear-gradient(90deg, #16233C 0%, #315C5F 50%, #4B9683 100%);
}

.bg-section-gradient {
  background: linear-gradient(90deg, #16233C 0%, #4B9683 100%);
}

.bg-solid-dark {
  background: #16233C;
}

.bg-gray-light {
  background: #F7F8F9;
}

/* Marqueur de sections observées pour les animations internes */
.slide-in-section {
  /* Plus d'animation globale de section (fade + déplacement vertical) */
}

.slide-in-section.visible {
  /* Utilisé uniquement comme déclencheur pour les animations internes (slide-in-left/right) */
}

/* Animation slide-in spécifique depuis la droite pour les visuels */
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-section.visible .slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

/* Animation slide-in spécifique depuis la gauche pour les visuels */
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-section.visible .slide-in-left {
  opacity: 1;
  transform: translateX(0);
}
