/**
 * SimCrise - Orientation System
 * Index Page Orientation
 * 
 * Description: Système orientation guide avec cartes, badges et états hover/active/disabled
 * Usage: Importé pour guide d'orientation pédagogique
 * Version: 1.0.0
 */

/* Styles pour le guide d'orientation */
.orientation-option {
  transition: all 0.3s ease !important;
}

.orientation-option:hover {
  transform: scale(1.05) !important;
}

/* Badge orientation responsive */
.orientation-badge {
  max-width: calc(100% - 40px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pastille titre responsive pour éviter le débordement */
@media (max-width: 600px) {
  .orientation-badge {
    position: static !important; /* Pas de position absolue sur mobile */
    transform: none !important;
    margin: -12px auto 16px auto;
    display: block;
    text-align: center;
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
    width: fit-content;
    max-width: 90%;
    animation: none !important; /* Pas d'animation sur mobile */
  }
  
  #orientation-guide {
    padding-top: 16px !important; /* Moins de padding en haut */
  }
}

@media (max-width: 480px) {
  .orientation-badge {
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
  }
}

/* 🖼️ Image en-tête pleine largeur sur mobile */
@media (max-width: 768px) {
  .logo-container {
    margin-left: -20px !important; /* Compense le padding de la card */
    margin-right: -20px !important;
    margin-bottom: 24px !important;
    width: calc(100% + 40px) !important; /* Largeur totale */
  }
  
  .logo-container img {
    width: 100% !important;
    border-radius: 0 !important; /* Pas de rayon sur les bords */
    max-height: 200px !important; /* Hauteur contrôlée */
  }
}

/* Styles responsive pour  orientation options (déjà dans mobile.css mais répétés pour complétude) */
@media (max-width: 768px) {
  .orientation-option {
    padding: 16px !important;
    min-height: 160px !important;
  }
  
  .orientation-option h3 {
    font-size: 1.05rem !important;
  }
  
  .orientation-option p {
    font-size: 0.8rem !important;
    height: 35px !important;
  }
}

@media (max-width: 600px) {
  .orientation-option {
    padding: 18px !important;
    min-height: 150px !important;
  }
  
  .orientation-option h3 {
    font-size: 1.1rem !important;
  }
  
  .orientation-option p {
    font-size: 0.85rem !important;
    height: 40px !important;
  }
}

/* Bottom buttons pour les outils avancés */
.bottom-buttons {
  margin-top: 48px;
  padding: 32px 0;
  border-top: 2px solid var(--line);
  text-align: center;
}

.bottom-buttons h3 {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.bottom-buttons-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bottom-buttons-grid {
    flex-direction: column;
    align-items: center;
  }
}
