/* ENO Live Chat Widget */
#eno-chat-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9985;
  font-family: inherit; /* DA 2026-06-12: cascade depuis les globals Elementor (Montserrat) */
}

#eno-chat-button {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a961, #ffd700);
  border: 3px solid #0a0a0a;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
#eno-chat-button:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(201,169,97,0.5);
}
.eno-chat-button-icon {
  font-size: 28px;
  position: relative;
  z-index: 2;
}
.eno-chat-button-pulse {
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 50%;
  background: rgba(201,169,97,0.5);
  animation: enoChatPulse 2s infinite;
  z-index: 1;
}
@keyframes enoChatPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
#eno-chat-button.open .eno-chat-button-pulse {
  display: none;
}

/* PANEL — DA revamp : glassmorphisme sombre (2026-07-15) */
#eno-chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  left: auto;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: rgba(15,15,17,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: enoChatIn 0.3s ease-out;
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}
@keyframes enoChatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.eno-chat-header {
  background: transparent;
  color: #f4f1ea;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.eno-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #b19b62;
  color: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}
.eno-chat-title {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.eno-chat-title strong {
  font-family: 'Funnel Display', system-ui, sans-serif;
  font-size: 15px;
  color: #fff;
}
.eno-chat-title span {
  font-size: 11px;
  color: #b3ada2;
  display: flex;
  align-items: center;
  gap: 4px;
}
.eno-chat-title span::before {
  content: '●';
  color: #4ade80;
  font-size: 10px;
  animation: enoChatBlink 2s infinite;
}
@keyframes enoChatBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
#eno-chat-panel .eno-chat-close {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.6);
  width: 32px !important;
  min-width: 0 !important;
  height: 32px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
#eno-chat-panel .eno-chat-close:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #fff;
}

.eno-chat-body {
  padding: 18px;
}
.eno-chat-message {
  background: rgba(255,255,255,0.05);
  border: none;
  border-left: 2px solid #b29b62;
  padding: 12px 14px;
  border-radius: 10px;
  border-top-left-radius: 4px;
  font-size: 13px;
  color: #f4f1ea;
  margin-bottom: 14px;
  line-height: 1.5;
}
.eno-chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.eno-chat-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none !important;
  color: #f4f1ea !important;
  transition: all 0.2s;
}
.eno-chat-option:hover {
  border-color: #b29b62;
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.eno-chat-icon {
  font-size: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b19b62;
  border-radius: 50%;
  flex-shrink: 0;
}
.eno-chat-option strong {
  font-size: 13px;
  display: block;
  color: #fff;
}
.eno-chat-option small {
  font-size: 11px;
  color: #b3ada2;
}

@media (max-width: 480px) {
  #eno-chat-widget {
    bottom: 16px;
    right: 16px;
    left: auto;
  }
  #eno-chat-panel {
    width: calc(100vw - 32px);
  }
}
