/* Enhanced Call Button Styles - Premium VTC/Taxi Theme */
:root {
  --gold-primary: #d4af37;
  --gold-secondary: #fcd469;
  --gold-dark: #8a6d3b;
  --dark-accent: #111;
  --shadow-gold: rgba(212, 175, 55, 0.4);
}

/* Pulse Animation for Static Buttons */
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.enhanced-call-btn {
  animation: pulse-gold 2s infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Larger, premium CTA — header + hero + section CTAs */
.header-btn.enhanced-call-btn,
a.btn.header-btn.enhanced-call-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 28px !important;
  min-height: 44px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  border-radius: 999px !important;
  box-shadow:
    0 10px 32px rgba(212, 175, 55, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
  text-decoration: none !important;
  gap: 0.35em;
}

.hero__caption .header-btn.btn2Style.enhanced-call-btn {
  padding: 16px 30px !important;
  min-height: 48px !important;
  font-size: 1rem !important;
  letter-spacing: 0.06em !important;
  box-shadow:
    0 12px 40px rgba(212, 175, 55, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
}

.taxis-verts-area .header-btn.enhanced-call-btn,
.taxis-verts-area a.header-btn.btn2Style.enhanced-call-btn {
  box-shadow:
    0 10px 32px rgba(39, 174, 96, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}

.enhanced-call-btn:hover {
  transform: scale(1.06) translateY(-2px) !important;
  filter: brightness(1.12);
  box-shadow:
    0 14px 40px rgba(212, 175, 55, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
}

.taxis-verts-area .enhanced-call-btn:hover {
  box-shadow:
    0 14px 40px rgba(46, 204, 113, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
}

.enhanced-call-btn:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.85);
  outline-offset: 3px;
}

/* Floating Call Button */
.floating-call-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(212, 175, 55, 0.5);
  z-index: 99999;
  cursor: pointer;
  animation: floating-pulse 2.5s infinite;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
}

.floating-call-btn i {
  font-size: 34px;
  line-height: 1;
}

.floating-call-btn .wa-fallback {
  display: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

@keyframes floating-pulse {
  0% { box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 0 0 rgba(212, 175, 55, 0.7); }
  50% { box-shadow: 0 15px 40px rgba(0,0,0,0.7), 0 0 0 20px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 0 0 rgba(212, 175, 55, 0); }
}

.floating-call-btn:hover {
  transform: scale(1.15) rotate(10deg);
  filter: brightness(1.2);
}

.floating-call-btn::after {
  content: "Besoin d'un chauffeur ?";
  position: absolute;
  right: 95px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1d24;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.floating-call-btn:hover::after {
  opacity: 1;
  visibility: visible;
  right: 100px;
}

@media (max-width: 768px) {
  .floating-call-btn {
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    font-size: 26px;
  }
  .floating-call-btn::after {
      display: none; /* Hide tooltip on mobile to avoid clutter */
  }
}
