/* ==========================================================================
   DIGITAL SENTINEL - SECTION PANORAMA INTERPOL (AFRIQUE CONNECTÉE & EXPOSÉE)
   Palette Stricte : NOIR (#111), DORÉ (#FFB800), BLANC (#FFF)
   Fond de Section : BLANC (Alternance parfaite avec la section Mission noire)
   ========================================================================== */

.interpol-panorama-section {
  position: relative;
  background-color: #ffffff !important; /* Fond Blanc préservé pour l'alternance */
  padding: 85px 0 95px 0 !important;
  color: #111111 !important;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Lueur d'ambiance dorée très subtile sur fond blanc */
.interpol-panorama-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(255, 184, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.panorama-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* En-tête de section */
.panorama-header {
  text-align: center;
  margin-bottom: 50px;
}

.panorama-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111111;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid #FFB800;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.15);
}

.panorama-badge .line {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #FFB800;
}

.panorama-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #111111 !important; /* Noir profond */
  letter-spacing: -0.5px;
  margin: 0;
}

.panorama-title .highlight {
  color: #FFB800 !important; /* Doré éclatant */
}

/* ==========================================================================
   GRILLE DES 4 CARTES HOLOGRAPHIQUES (NOIR & DORÉ & BLANC)
   ========================================================================== */
.cyber-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 35px;
}

/* Carte Individuelle : Base Commune */
.cyber-stat-card {
  position: relative;
  background: #111111;
  border-radius: 18px;
  padding: 28px 26px;
  border: 1.5px solid rgba(255, 184, 0, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ligne supérieure */
.cyber-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFB800, transparent);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   CARTE 1 : STYLE NOIR LUXE (Texte blanc pur, chiffres or)
   ========================================================================== */
.cyber-stat-card.card-style-noir {
  background: #111111 !important;
  border: 1.5px solid rgba(255, 184, 0, 0.4) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22), 0 0 20px rgba(255, 184, 0, 0.08) !important;
}

.cyber-stat-card.card-style-noir .stat-badge-tag {
  color: #FFB800 !important;
  background: rgba(255, 184, 0, 0.12) !important;
  border: 1px solid rgba(255, 184, 0, 0.4) !important;
}

.cyber-stat-card.card-style-noir .stat-protocol-code {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.cyber-stat-card.card-style-noir .stat-icon-wrapper {
  background: #FFB800 !important;
  color: #111111 !important;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.35) !important;
}

.cyber-stat-card.card-style-noir .stat-num {
  color: #FFB800 !important;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.3) !important;
}

/* Texte de description en BLANC PUR pour une lisibilité parfaite */
.cyber-stat-card.card-style-noir .stat-desc,
.cyber-stat-card .stat-desc {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  margin: 0 0 16px 0 !important;
}

.cyber-stat-card.card-style-noir .stat-progress-track {
  background: rgba(255, 255, 255, 0.15) !important;
}

.cyber-stat-card.card-style-noir .stat-progress-fill {
  background: #FFB800 !important;
}

.cyber-stat-card.card-style-noir:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: #FFB800 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 184, 0, 0.3) !important;
}

/* ==========================================================================
   CARTES 2 & 3 : STYLE BLANC PRESTIGE (Fond blanc, texte noir très lisible)
   ========================================================================== */
.cyber-stat-card.card-style-blanc {
  background: #ffffff !important;
  border: 2px solid #FFB800 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 0 18px rgba(255, 184, 0, 0.12) !important;
}

.cyber-stat-card.card-style-blanc::before {
  background: linear-gradient(90deg, transparent, #111111, transparent) !important;
}

.cyber-stat-card.card-style-blanc .stat-badge-tag {
  color: #FFB800 !important;
  background: #111111 !important;
  border: 1px solid #111111 !important;
}

.cyber-stat-card.card-style-blanc .stat-protocol-code {
  color: #111111 !important;
  font-weight: 700 !important;
}

.cyber-stat-card.card-style-blanc .stat-icon-wrapper {
  background: #111111 !important;
  color: #FFB800 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
}

.cyber-stat-card.card-style-blanc .stat-num {
  color: #111111 !important;
  text-shadow: none !important;
}

.cyber-stat-card.card-style-blanc .stat-desc {
  color: #111111 !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  margin: 0 0 16px 0 !important;
}

.cyber-stat-card.card-style-blanc .stat-progress-track {
  background: rgba(0, 0, 0, 0.1) !important;
}

.cyber-stat-card.card-style-blanc .stat-progress-fill {
  background: #FFB800 !important;
}

.cyber-stat-card.card-style-blanc:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: #111111 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14), 0 0 25px rgba(255, 184, 0, 0.25) !important;
}

.cyber-stat-card.card-style-blanc:hover .stat-icon-wrapper {
  background: #FFB800 !important;
  color: #111111 !important;
}

/* ==========================================================================
   CARTE 4 : STYLE DORÉ ÉCLATANT (Fond doré, texte noir puissant)
   ========================================================================== */
.cyber-stat-card.card-style-dore {
  background: linear-gradient(145deg, #FFB800 0%, #F5A600 100%) !important;
  border: 2px solid #111111 !important;
  box-shadow: 0 15px 35px rgba(255, 184, 0, 0.35), 0 0 20px rgba(0, 0, 0, 0.1) !important;
}

.cyber-stat-card.card-style-dore::before {
  background: linear-gradient(90deg, transparent, #ffffff, transparent) !important;
}

.cyber-stat-card.card-style-dore .stat-badge-tag {
  color: #FFB800 !important;
  background: #111111 !important;
  border: 1px solid #111111 !important;
}

.cyber-stat-card.card-style-dore .stat-protocol-code {
  color: #111111 !important;
  font-weight: 800 !important;
}

.cyber-stat-card.card-style-dore .stat-icon-wrapper {
  background: #111111 !important;
  color: #FFB800 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

.cyber-stat-card.card-style-dore .stat-num {
  color: #111111 !important;
  text-shadow: none !important;
}

.cyber-stat-card.card-style-dore .stat-desc {
  color: #111111 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  margin: 0 0 16px 0 !important;
}

.cyber-stat-card.card-style-dore .stat-progress-track {
  background: rgba(0, 0, 0, 0.15) !important;
}

.cyber-stat-card.card-style-dore .stat-progress-fill {
  background: #111111 !important;
}

.cyber-stat-card.card-style-dore:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 35px rgba(255, 184, 0, 0.5) !important;
}

.cyber-stat-card.card-style-dore:hover .stat-icon-wrapper {
  background: #ffffff !important;
  color: #111111 !important;
}

/* Barre de Télémétrie supérieure de chaque carte */
.stat-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.stat-badge-tag {
  font-family: 'Inter', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 6px;
  color: #FFB800;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stat-badge-tag .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFB800;
  box-shadow: 0 0 8px #FFB800;
  animation: blinkDotGold 1.4s infinite alternate;
}

.stat-protocol-code {
  font-family: 'Inter', monospace;
  font-size: 0.68rem;
  letter-spacing: 1px;
}

/* Corps de la carte */
.stat-card-body {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

/* Boîte d'Icône */
.stat-icon-wrapper {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.stat-content-wrapper {
  flex: 1;
}

/* Chiffre Clé */
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  letter-spacing: -1px;
}

/* Jauge d'impact */
.stat-progress-track {
  width: 100%;
  height: 4px;
  border-radius: 10px;
  overflow: hidden;
}

.stat-progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

/* Coins tactiques HUD en or */
.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #FFB800;
  border-style: solid;
  opacity: 0.65;
  pointer-events: none;
}
.card-hud-tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.card-hud-br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

/* ==========================================================================
   BARRE DE SOURCE INTERPOL OFFICIELLE (NOIR & DORÉ)
   ========================================================================== */
.panorama-source-bar {
  text-align: right;
  margin-top: 25px;
}

.interpol-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  border: 1.5px solid #FFB800;
  padding: 10px 22px;
  border-radius: 30px;
  color: #FFB800;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.interpol-capsule:hover {
  background: #FFB800;
  color: #111111;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
  transform: translateY(-2px);
}

.interpol-capsule i {
  font-size: 1rem;
}

@keyframes blinkDotGold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

/* ==========================================================================
   RESPONSIVE : SMARTPHONES & TABLETTES
   ========================================================================== */
@media (max-width: 868px) {
  .cyber-stats-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .panorama-title {
    font-size: 1.55rem !important;
  }

  .stat-card-body {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .stat-num {
    font-size: 2.3rem;
  }

  .panorama-source-bar {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .interpol-panorama-section {
    padding: 60px 0 70px 0 !important;
  }

  .stat-card-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .stat-card-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-icon-wrapper {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .stat-desc {
    font-size: 0.88rem;
  }

  .interpol-capsule {
    font-size: 0.76rem;
    padding: 7px 14px;
    width: 100%;
    justify-content: center;
  }
}
