/* ===== VARIABLES CSS ===== */
:root {
  --primary-blue: #001A54;
  --secondary-blue: #0FD2FF;
  --accent-blue: #2563eb;
  --dark-blue: #0c1638;
  --primary-red: #dc3545;
  --secondary-red: #ef4444;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --success-green: #10b981;
  --warning-orange: #f59e0b;
  --danger-red: #ef4444;
  --shadow-light: 0 2px 10px rgba(0, 26, 84, 0.08);
  --shadow-medium: 0 4px 20px rgba(0, 26, 84, 0.12);
  --shadow-strong: 0 8px 30px rgba(0, 26, 84, 0.15);
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
}

/* ===== RESET ET BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;    /* ✅ Assure la hauteur minimum */
  width: 100%;
  overflow-x: hidden;   /* ✅ Évite le scroll horizontal */
  overflow-y: auto;     /* ✅ Permet le scroll vertical si nécessaire */
  font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

/* ===== CONTAINER PRINCIPAL ===== */
.slide-container {
  position: relative;
  width: 100vw;
  min-height: 100vh; /* ✅ Hauteur minimum garantie */
  height: 100vh;
  overflow: hidden;
  background: var(--bg-light); /* ✅ Background de secours */
}

/* ===== SLIDES DE BASE ===== */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh; /* ✅ Hauteur minimum garantie */
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: var(--bg-white); /* ✅ Background par défaut */
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* ✅ Scroll interne si contenu déborde */
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.prev {
  transform: translateX(-100%);
}

/* ===== PAGE DE GARDE ===== */
.welcome-slide {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--secondary-blue) 100%);
  background-attachment: fixed; /* ✅ Background fixe */
  background-size: cover; /* ✅ Couvre tout l'espace */
  background-repeat: no-repeat; /* ✅ Pas de répétition */
  color: white;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh; /* ✅ Hauteur minimum garantie */
}

.welcome-slide::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(15, 210, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.welcome-content {
  max-width: 900px;
  text-align: center;
  z-index: 2;
  position: relative;
}

.logo-container {
  margin-bottom: 2rem;
}

.welcome-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  drop-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.welcome-logo-normal {
  height: 80px;
  width: auto;
  drop-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.welcome-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.welcome-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 500;
}

.welcome-description {
  margin-bottom: 3rem;
  line-height: 1.7;
}

.welcome-description p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.welcome-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-large);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.feature-icon {
  font-size: 1.5rem;
}

.welcome-pillars {
  margin-bottom: 2rem;
}

.welcome-pillars h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-medium);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.pillar-item:hover {
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 1.5rem;
}

.company-footer {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: var(--radius-large);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
}

/* ===== SLIDES DE CONTENU ===== */
.content-slide {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.slide-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-medium);
  min-height: 80px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.slide-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin: 0;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.slide-counter {
  background: rgba(15, 210, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(15, 210, 255, 0.3);
}

.company-badge {
  font-size: 0.8rem;
  opacity: 0.9;
}

.slide-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  background: var(--bg-light);
}

/* ===== SECTION DÉFINITION ===== */
.definition-section {
  /*background: linear-gradient(135deg, var(--secondary-blue) 0%, #67e8f9 100%);
  border: 3px solid var(--primary-blue);
  border-radius: var(--radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-medium);*/
  margin-bottom: 2rem;
  text-align: center;
  
}

.definition-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 26, 84, 0.1);
}

.definition-text {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 500;
  /*max-width: 900px;*/
  margin: 0 auto;
  text-align: justify;
}

/* ===== DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background: var(--bg-white);
  border: 2px solid var(--secondary-blue);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: .2rem;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card-header {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, #67e8f9 100%);
  color: var(--primary-blue);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 2px solid var(--secondary-blue);
}

.card-icon {
  font-size: 1.5rem;
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.card-content {
  padding: 1.5rem;
}

.chart-container {
  position: relative;
  height: 200px;
  margin-bottom: 1rem;
}

.chart-container canvas {
  max-width: 100% !important;
  max-height: 100% !important;
}

.chart-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.9);
  border-radius: var(--radius-medium);
}

.fallback-content {
  text-align: center;
  color: var(--text-medium);
}

.fallback-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.fallback-content p {
  font-size: 0.9rem;
  margin: 0;
}

.chart-note {
  font-size: 0.9rem;
  color: var(--text-medium);
  text-align: center;
  line-height: 1.4;
}

.highlight {
  color: var(--warning-orange);
  font-weight: 600;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  font-size: 0.85rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  padding: 1rem;
  border-radius: var(--radius-medium);
  text-align: center;
  color: white;
  box-shadow: var(--shadow-light);
}

.stat-item.red {
  background: linear-gradient(135deg, var(--danger-red), #dc2626);
}

.stat-item.orange {
  background: linear-gradient(135deg, var(--warning-orange), #d97706);
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.95;
  line-height: 1.2;
}

.human-factor {
  background: rgba(15, 210, 255, 0.1);
  border: 1px solid var(--secondary-blue);
  border-radius: var(--radius-medium);
  padding: 1rem;
  line-height: 1.4;
}

.human-factor strong {
  color: var(--primary-blue);
  font-weight: bold;
  /* display: block; -- commenté pour un meilleur rendu inline */
  /* margin-bottom: 0.5rem; -- supprimé pour éviter les espaces */
}

.human-factor p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* ===== SECTION CAS RÉCENTS ===== */
.cases-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border: 2px solid var(--warning-orange);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  margin-top: .2rem;
}

.cases-header {
  background: var(--warning-orange);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cases-icon {
  font-size: 1.5rem;
}

.cases-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.cases-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem;
  
}

.cases-column h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--secondary-blue);
  padding-bottom: 0.5rem;
}

.cases-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cases-list li {
  background: rgba(255, 255, 255, 0.8);
  padding: 0.8rem;
  border-radius: var(--radius-small);
  border-left: 3px solid var(--secondary-blue);
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cases-list strong {
  color: var(--primary-blue);
}

/* ===== STYLES POUR COLONNES ROUGES (DANGERS) ===== */
.cases-column-red h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--secondary-red);
  padding-bottom: 0.5rem;
}

.cases-list-red {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cases-list-red li {
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  padding: 0.8rem;
  border-radius: var(--radius-small);
  border-left: 3px solid var(--secondary-red);
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cases-list-red li:hover {
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.cases-list-red strong {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.slide-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--secondary-blue);
  transition: width 0.6s ease;
  width: 0%;
  box-shadow: 0 0 10px rgba(15, 210, 255, 0.5);
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* ===== NAVIGATION ===== */
.navigation {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

.nav-btn {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  min-width: 140px;
  text-decoration: none;
}

.nav-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.nav-btn:disabled {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .cases-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .slide-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-left {
    justify-content: center;
  }
  
  .slide-content {
    padding: 1rem;
  }
  
  .welcome-features {
    flex-direction: column;
    align-items: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .navigation {
    bottom: 1rem;
    right: 1rem;
    flex-direction: column;
  }
  
  .nav-btn {
    min-width: 120px;
    padding: 0.8rem 1.5rem;
	
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .welcome-content {
    padding: 1rem;
  }
  
  .feature-item,
  .pillar-item {
    justify-content: center;
  }
  
  .slide-title {
    font-size: 1.2rem;
  }
  
  .header-logo {
    height: 30px;
  }
}
/* ===== CSS POUR PAGE DE GARDE VOLET 2 ===== */

/* Variables si pas déjà définies */
:root {
  --primary-blue: #001A54;
  --secondary-blue: #0FD2FF;
  --dark-blue: #0c1638;
  --radius-medium: 12px;
  --radius-large: 20px;
}

/* ===== PAGE DE GARDE VOLET ===== */
.welcome-slide {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--secondary-blue) 100%);
  color: white;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.welcome-slide::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(15, 210, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.welcome-content {
  max-width: 900px;
  text-align: center;
  z-index: 2;
  position: relative;
}

.logo-container {
  margin-bottom: 2rem;
}

.welcome-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  drop-shadow: 0 4px 8px rgba(0, 0, 0, 0.3));
}

.welcome-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.welcome-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 500;
}

.welcome-description {
  margin-bottom: 3rem;
  line-height: 1.7;
}

.welcome-description p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.welcome-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-large);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.feature-icon {
  font-size: 1.5rem;
}

.welcome-pillars {
  margin-bottom: 2rem;
}

.welcome-pillars h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-medium);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.pillar-item:hover {
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 1.5rem;
}

.company-footer {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: var(--radius-large);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .welcome-features {
    flex-direction: column;
    align-items: center;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .welcome-content {
    padding: 1rem;
  }
  
  .feature-item,
  .pillar-item {
    justify-content: center;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== STYLES POUR LES SCÉNARIOS ===== */

/* Texte de scénario avec mise en forme spéciale */
.scenario-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.scenario-text p {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-medium);
  border-left: 4px solid var(--primary-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mots clés catastrophiques en rouge et gras */
.danger-text {
  color: var(--primary-red) !important;
  font-weight: 800 !important;
  background: rgba(220, 53, 69, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Animation subtle pour attirer l'attention */
.danger-text:hover {
  background: rgba(220, 53, 69, 0.2);
  transform: scale(1.02);
  transition: all 0.2s ease;
}

/* Style pour les jours de la semaine */
.scenario-text strong {
  color: var(--primary-blue);
  font-size: 1.05em;
}

/* Responsive pour les scénarios */
@media (max-width: 768px) {
  .scenario-text {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .scenario-text p {
    padding: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .danger-text {
    font-size: 0.95em;
  }
}


/* ===== CSS SPÉCIFIQUE POUR PAGE DE GARDE VOLET 2 ===== */

.volet-intro {
/*  max-width: 800px;*/
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}

.volet-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.volet-icon {
  font-size: 4rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(2px 2px 4px rgba(0, 26, 84, 0.3));
}

.volet-text {
  font-size: 1.5rem;
  font-weight: 800;
  /*color: var(--primary-blue);*/
  letter-spacing: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 26, 84, 0.2);
}

.volet-text-fin {
  font-size: 3.5rem;
  font-weight: 800;
  /*color: var(--primary-blue);*/
  letter-spacing: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 26, 84, 0.2);
}
.volet-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 26, 84, 0.15);
}

.volet-description {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--text-medium);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 500;
}

.volet-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.topic-item {
  background: linear-gradient(135deg, var(--bg-white), #f8fafc);
  border: 2px solid var(--secondary-blue);
  border-radius: var(--radius-large);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.topic-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(15, 210, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.topic-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-blue);
}

.topic-item:hover::before {
  left: 100%;
}

.topic-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(1px 1px 2px rgba(0, 26, 84, 0.3));
}

.topic-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-align: center;
  line-height: 1.3;
}

.volet-objectives {
  background: linear-gradient(135deg, rgba(15, 210, 255, 0.05), rgba(15, 210, 255, 0.1));
  border: 2px solid var(--secondary-blue);
  border-radius: var(--radius-large);
  padding: 2rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-light);
}

.volet-objectives h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid var(--secondary-blue);
  padding-bottom: 0.5rem;
}

.objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.objectives-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
  font-weight: 500;
}

.objectives-list li::before {
  content: "✅";
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ===== RESPONSIVE POUR VOLET 2 ===== */
@media (max-width: 768px) {
  .volet-intro {
    padding: 2rem 0;
  }
  
  .volet-number {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .volet-icon {
    font-size: 3rem;
  }
  
  .volet-text {
    font-size: 2rem;
  }
  
  .volet-topics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .topic-item {
    padding: 1rem 0.5rem;
  }
  
  .topic-icon {
    font-size: 2rem;
  }
  
  .topic-label {
    font-size: 0.9rem;
  }
  
  .volet-objectives {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .volet-topics {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  
  .objectives-list li {
    font-size: 0.9rem;
  }
}

.welcome-title-blue {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color : var (--text-dark);
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* ===== STYLES POUR SLIDE FÉLICITATIONS ===== */

/* Style spécial pour le numéro de volet en mode célébration */
.volet-number.celebration {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: bold;
  animation: celebrate 3s ease-in-out infinite alternate;
}

@keyframes celebrate {
  0% { transform: scale(0.8); }
  100% { transform: scale(1.5); }
}

/* Conteneur pour les actions principales */
.completion-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 100%;
}

/* Cartes d'action */
.action-card {
  background: white;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 26, 84, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 26, 84, 0.15);
}

.quiz-card {
  border-color: var(--wissal-blue-light);
}

.quiz-card:hover {
  border-color: var(--wissal-blue);
}

.charter-card {
  border-color: var(--wissal-green);
}

.charter-card:hover {
  border-color: #16a34a;
}

/* En-tête des cartes d'action */
.action-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.action-icon {
  font-size: 1.5rem;
}

.action-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--wissal-blue-dark);
  font-weight: 600;
}

/* Description des actions */
.action-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--wissal-blue-dark);
  margin: 0.8rem 0 1.2rem 0;
  opacity: 0.9;
}

/* Boutons d'action */
.action-button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  color: white;
}

.quiz-button {
  background: linear-gradient(135deg, var(--wissal-blue), var(--wissal-blue-dark));
}

.quiz-button:hover {
  background: linear-gradient(135deg, var(--wissal-blue-dark), #000d2e);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 26, 84, 0.3);
}

.charter-button {
  background: linear-gradient(135deg, var(--wissal-green), #16a34a);
}

.charter-button:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

/* Message final */
.final-message {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  border-left: 4px solid var(--wissal-blue-light);
}

.message-content h3 {
  margin: 0 0 1rem 0;
  color: var(--wissal-blue);
  font-size: 1.1rem;
  text-align: center;
}

.message-content p {
  margin: 0 0 1rem 0;
  line-height: 1.5;
  text-align: center;
  color: var(--wissal-blue-dark);
  font-size: 0.95rem;
}

.contact-info {
  text-align: center;
  font-size: 0.85rem;
  color: var(--wissal-grey-dark);
  font-style: italic;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 26, 84, 0.1);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .completion-actions {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .action-card {
    padding: 1rem;
  }
  
  .action-header h3 {
    font-size: 1rem;
  }
  
  .action-description {
    font-size: 0.85rem;
  }
  
  .action-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .final-message {
    padding: 1.2rem;
  }
  
  .message-content h3 {
    font-size: 1rem;
  }
  
  .message-content p {
    font-size: 0.9rem;
  }
  
  .contact-info {
    font-size: 0.8rem;
  }
}