/* ===== SECTION BEMA OMNI ===== */

.omni-section {
  background: linear-gradient(135deg, #2E86DE 0%, #1e40af 100%) !important;
  padding: 240px 0 240px 0 !important;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

/* Widgets Introduction */
.omni-widgets-intro {
  text-align: right;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  width: 100%;
}

/* Logo de réouverture Bema Omni */
.omni-reopen-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4xl);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(0.8);
  margin-bottom: var(--spacing-xl);
}

.omni-reopen-logo.show {
  opacity: 1;
  transform: scale(1);
}

.omni-reopen-logo:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.bema-reopen-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
}

.omni-reopen-logo:hover .bema-reopen-img {
  transform: rotate(360deg);
}

.reopen-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.widgets-intro-text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.click-animation {
  display: inline-block;
  font-size: 1.5rem;
  margin-left: var(--spacing-sm);
  /* Animation désactivée */
}

@keyframes clickPulse {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.2) rotate(10deg); 
    opacity: 1;
  }
}

/* Effets de fond animés - DÉSACTIVÉS */

@keyframes omniFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, -20px) rotate(1deg); }
  50% { transform: translate(20px, -10px) rotate(-1deg); }
  75% { transform: translate(-10px, 20px) rotate(0.5deg); }
}

@keyframes omniShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.omni-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

/* Header de la section */
.omni-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
}

.omni-title {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  /* Titre "Bema Omni" en blanc pur */
}

.omni-subtitle {
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

/* Interface Omni Glassmorphisme */
.omni-interface {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: var(--spacing-3xl);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  /* Animation désactivée */
}

@keyframes omniGlow {
  0% { 
    box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 0 rgba(255, 255, 255, 0.1);
  }
  100% { 
    box-shadow: 
      0 25px 80px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      0 0 40px rgba(255, 255, 255, 0.2);
  }
}

/* Effet de brillance animé - DÉSACTIVÉ */

@keyframes omniSweep {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
  100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

/* Contenu de l'interface - Layout en grille */
.omni-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: start;
}

/* Colonne gauche - Cartes de fonctionnalités */
.omni-features-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

/* Colonne droite - Carte KPI */
.omni-kpi-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}

/* Ancien contenu - maintenant inutilisé */
.omni-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  align-items: center;
}

/* Header au-dessus de l'encadré */
.omni-header-outside {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.omni-header-outside .omni-title {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.omni-header-outside .omni-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

/* Ancien header à droite - maintenant inutilisé */
.omni-header-right {
  align-self: flex-end;
  text-align: right;
  margin-bottom: var(--spacing-2xl);
  max-width: 500px;
}

.omni-header-right .omni-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.omni-header-right .omni-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Repositionnement de la preview à droite */
.omni-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* Styles pour les anciennes features - maintenant dans omni-features-column */
.omni-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.omni-feature {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.omni-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.omni-feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.omni-feature:hover::before {
  transform: scaleX(1);
}

.omni-feature-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.omni-feature-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  backdrop-filter: blur(10px);
}

.omni-feature h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.omni-feature p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Mockup/Preview de l'interface */
.omni-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.omni-mockup {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: var(--spacing-3xl);
  width: 100%;
  max-width: 500px;
  min-height: 400px;
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: omniFloat 6s ease-in-out infinite;
}

.omni-mockup-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.omni-mockup-dots {
  display: flex;
  gap: var(--spacing-xs);
}

.omni-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  text-align: center;
  flex: 1;
  margin-bottom: var(--spacing-md);
}

.omni-mockup-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.omni-mockup-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 60px;
}

.omni-mockup-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.omni-mockup-item-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), #1e40af);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.omni-mockup-item-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Bouton Demander une Démo - Sous la card */
.omni-demo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
  z-index: 3;
}

.demo-btn {
  background: #FFFFFF;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: var(--spacing-lg) var(--spacing-2xl);
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  position: relative;
  overflow: hidden;
  animation: demoButtonBreathing 3s ease-in-out infinite;
}

.demo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.demo-btn i {
  display: none;
}

@keyframes playButtonPulse {
  0%, 100% { 
    transform: scale(1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% { 
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }
}

.demo-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(46, 134, 222, 0.4);
}

.demo-btn:hover i {
  animation: playButtonSpin 0.6s ease-in-out;
}

@keyframes playButtonSpin {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
  100% { transform: scale(1) rotate(360deg); }
}

.demo-btn:hover::before {
  left: 100%;
}

.demo-btn:active {
  transform: translateY(-1px);
}

.demo-btn i {
  font-size: 1.2rem;
  animation: demoIconSpin 4s linear infinite;
}

/* Animation bouton démo - Respiration */
@keyframes demoButtonBreathing {
  0%, 100% { 
    transform: scale(1) translateZ(0);
    -webkit-transform: scale(1) translateZ(0);
    box-shadow: 
      0 8px 25px rgba(255, 255, 255, 0.2),
      0 4px 16px rgba(0, 0, 0, 0.1),
      0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% { 
    transform: scale(1.05) translateZ(0);
    -webkit-transform: scale(1.05) translateZ(0);
    box-shadow: 
      0 12px 35px rgba(255, 255, 255, 0.3),
      0 6px 20px rgba(46, 134, 222, 0.2),
      0 0 25px rgba(255, 255, 255, 0.4);
  }
}

@keyframes demoIconSpin {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(90deg); }
  50% { transform: rotate(180deg); }
  75% { transform: rotate(270deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .omni-container {
    padding: 0 var(--spacing-lg);
    gap: var(--spacing-xl);
  }
  
  .omni-content-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
  }
  
  .omni-kpi-column {
    order: -1; /* KPI en haut sur mobile */
  }
  
  .omni-features-column {
    order: 1; /* Features en bas sur mobile */
  }
  
  .omni-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .omni-header-outside {
    margin-bottom: var(--spacing-2xl);
  }
  
  .omni-header-right {
    align-self: center;
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .omni-section {
    padding: var(--spacing-3xl) 0;
  }
  
  /* DÉSACTIVER ANIMATIONS LOURDES SUR MOBILE POUR PERFORMANCE */
  .omni-mockup,
  .omni-mockup-item,
  .omni-widgets-intro,
  .demo-btn {
    animation: none !important;
    will-change: auto !important;
  }
  
  .omni-mockup-item:hover {
    transform: none !important;
  }
  
  /* Simplifier les transitions */
  * {
    transition-duration: 0.2s !important;
  }
  
  .omni-container {
    padding: 0 var(--spacing-lg);
    gap: var(--spacing-lg);
  }
  
  .omni-content-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .omni-features-column {
    gap: var(--spacing-lg);
  }
  
  .omni-interface {
    padding: var(--spacing-2xl);
  }
  
  .omni-header-outside {
    margin-bottom: var(--spacing-xl);
  }
  
  .omni-header-outside .omni-title {
    font-size: clamp(2.5rem, 7vw, 3rem);
  }
  
  .omni-header-outside .omni-subtitle {
    font-size: 1.1rem;
  }
  
  .omni-header-right {
    align-self: center;
    text-align: center;
    margin-bottom: var(--spacing-xl);
  }
  
  .omni-header-right .omni-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  
  .omni-header-right  .omni-subtitle {
    font-size: 1rem;
  }
  
  .omni-mockup {
    max-width: 100%;
    min-height: auto;
  }
  
  .omni-mockup-item {
    min-height: 50px;
    padding: var(--spacing-md);
    gap: var(--spacing-md);
  }
  
  .omni-widgets-intro {
    margin: var(--spacing-md) 0;
  }
  
  .widgets-intro-text {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .omni-mockup-item-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .omni-mockup-item-text {
    font-size: 1rem;
  }
  
  .demo-btn {
    width: 100%;
    justify-content: center;
  }
}

/* iPhone SE et petits écrans */
@media (max-width: 375px) {
  .omni-container {
    padding: 0 var(--spacing-md);
  }
  
  .omni-interface {
    padding: var(--spacing-lg);
  }
}

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
  .omni-container {
    max-width: 1200px;
  }
  
  .omni-content-grid {
    gap: var(--spacing-5xl);
  }
  
  .omni-features-column {
    gap: var(--spacing-2xl);
  }
  
  .omni-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .omni-title {
    font-size: clamp(3.5rem, 4vw, 4rem);
  }
  
  .omni-mockup {
    max-width: 550px;
    min-height: 450px;
  }
  
  .omni-mockup-item {
    min-height: 70px;
  }
  
  .omni-mockup-item-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  
  .omni-mockup-item-text {
    font-size: 1.2rem;
  }
}

/* Tablette (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .omni-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
  }
  
  .omni-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 700px;
    margin: 0 auto;
  }
  
  .omni-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  .omni-subtitle {
    font-size: 1.2rem;
  }
}

/* Ultra Wide (1600px+) */
@media (min-width: 1600px) {
  .omni-container {
    max-width: 1400px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .omni-section {
    padding: var(--spacing-2xl) var(--spacing-md);
  }
  
  .omni-container {
    padding: 0 var(--spacing-sm);
  }
  
  .omni-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 100%;
  }
  
  .omni-feature {
    padding: var(--spacing-lg);
    margin: 0;
  }
  
  .omni-feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .omni-stat-value {
    font-size: 2.5rem;
  }
  
  .omni-modal-header h3 {
    font-size: 1.3rem;
  }
  .omni-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .omni-subtitle {
    font-size: 1rem;
    padding: 0 var(--spacing-sm);
  }
}

/* Animations d'entrée */
@keyframes omniSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.omni-interface {
  animation: omniSlideUp 0.8s ease-out;
}

.omni-feature {
  animation: omniSlideUp 0.8s ease-out;
}

.omni-feature:nth-child(1) { animation-delay: 0.1s; }
.omni-feature:nth-child(2) { animation-delay: 0.2s; }
.omni-feature:nth-child(3) { animation-delay: 0.3s; }
.omni-feature:nth-child(4) { animation-delay: 0.4s; }

/* Interactivité des statistiques */
.interactive-stat {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.interactive-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.interactive-stat:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(46, 134, 222, 0.2);
}

.interactive-stat:hover::before {
  opacity: 1;
}

.interactive-stat:active {
  transform: scale(0.98);
}

/* ===== MODALES STATISTIQUES GLASSMORPHIQUES ===== */
.omni-stat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.omni-stat-modal.active {
  display: flex;
}

.omni-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.omni-modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: modalSlideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideUp {
  from { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.omni-modal-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.omni-feature-icon {
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Analytics Avancées - Noir avec icône blanche */
.omni-feature:nth-child(1) .omni-feature-icon {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #ffffff !important;
}

/* Gestion Multi-Entités - Vert */
.omni-feature:nth-child(2) .omni-feature-icon {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

/* Carte Interactive - Bleu Primaire Bema */
.omni-feature:nth-child(3) .omni-feature-icon {
  background: linear-gradient(135deg, #2E86DE 0%, #1e40af 100%);
}

/* Sécurité Enterprise - Rouge Sombre */
.omni-feature:nth-child(4) .omni-feature-icon {
  background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
}

/* Logo Bema cliquable */
.bema-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bema-logo-clickable {
  text-align: center;
  cursor: pointer;
  padding: var(--spacing-xl);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.bema-logo-clickable:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.bema-logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
  animation: logoBreath 3s ease-in-out infinite;
}

.logo-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes logoBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Animation de clic sur les widgets */
.interactive-stat {
  transition: all 0.2s ease;
  cursor: pointer;
}

.interactive-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.omni-modal-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), #1e40af);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(46, 134, 222, 0.3);
}

.omni-modal-header h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  flex: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.omni-modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--white);
}

.omni-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: scale(1.1);
}

.omni-stat-main {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.omni-stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--spacing-sm);
}

.omni-stat-trend {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.omni-stat-trend.positive {
  color: #10b981;
}

.omni-stat-trend.negative {
  color: #ef4444;
}

.omni-stat-trend.neutral {
  color: rgba(255, 255, 255, 0.8);
}

.omni-stat-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.omni-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.detail-value {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive modales */
@media (max-width: 768px) {
  .omni-modal-content {
    padding: var(--spacing-2xl);
    margin: var(--spacing-md);
  }
  
  .omni-stat-value {
    font-size: 2.5rem;
  }
  
  .omni-modal-header h3 {
    font-size: 1.3rem;
  }
}

/* ===== BOUTONS APPLE STYLE MACOS ===== */
.omni-mockup-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.omni-control {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  flex: none !important;
}

.omni-control:hover {
  transform: scale(1.2) !important;
}

.omni-control.red {
  background: #ff5f57 !important;
}

.omni-control.red:hover::after {
  content: '×';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #8b0000;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
}

.omni-control.yellow {
  background: #ffbd2e !important;
}

.omni-control.yellow:hover::after {
  content: '−';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #8b6914;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
}

.omni-control.green {
  background: #28ca42 !important;
}

.omni-control.green:hover::after {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0f5132;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
}

/* ===== TITRE BEMA OMNI DANS LA CARD ===== */
.omni-mockup-title {
  color: #FFFFFF !important;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  flex: 1;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* ===== TEXTE RESPONSIVE ===== */
.widgets-intro-text {
  white-space: normal;
  display: block;
  text-align: center;
}

@media (min-width: 768px) {
  .widgets-intro-text {
    white-space: nowrap;
    display: inline-block;
  }
}
