.mascotte-proxi {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascotte-proxi[hidden] { display: none !important; }

.mascotte-proxi.mascotte-show {
  opacity: 1;
  transform: translateY(0);
}

.mascotte-bubble {
  position: relative;
  background: #ffffff;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.08);
  max-width: 250px;
  padding: 12px 14px;
  pointer-events: auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mascotte-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  transition: background 0.15s ease, color 0.15s ease;
}

.mascotte-close:hover { background: #e2e8f0; color: #1a1a1a; }
.mascotte-close:focus-visible { outline: 2px solid #dc2626; outline-offset: 2px; }

.mascotte-eyebrow {
  color: #dc2626;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.mascotte-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #042C53;
  line-height: 1.3;
  margin-bottom: 6px;
}

.mascotte-message {
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 10px;
}

.mascotte-message strong { color: #1a1a1a; font-weight: 700; }

.mascotte-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mascotte-cta-primary {
  display: inline-block;
  background: #dc2626;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  text-align: center;
  transition: background 0.15s ease;
}

.mascotte-cta-primary:hover { background: #b91c1c; }

.mascotte-cta-secondary {
  font-size: 10.5px;
  color: #64748b;
  text-decoration: underline;
  text-align: center;
  cursor: pointer;
}

.mascotte-cta-secondary:hover { color: #1a1a1a; }

.mascotte-character {
  flex-shrink: 0;
  pointer-events: none;
}

.mascotte-character svg {
  display: block;
  width: 76px;
  height: 92px;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.18));
}

@media (max-width: 600px) {
  .mascotte-proxi {
    bottom: 12px;
    right: 12px;
    max-width: 280px;
    gap: 4px;
  }
  .mascotte-bubble { padding: 10px 12px; max-width: 210px; }
  .mascotte-character svg { width: 60px; height: 72px; }
  .mascotte-title { font-size: 12px; }
  .mascotte-message { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .mascotte-proxi { transition: opacity 0.2s ease; transform: none; }
  .mascotte-proxi.mascotte-show { transform: none; }
}
