/* Hero background */
.hero-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?...');
  background-size: cover;
  background-position: center;
}

/* Floating CTA Button */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 4rem;
  height: 4rem;
  background-color: #5FAD41;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  color: white;
  font-size: 1.5rem;
  animation: float 2s ease-in-out infinite;
  transition: background-color 0.2s ease;
}

.floating-cta:hover {
  background-color: #4C8C39; /* foncé au survol */
  animation-play-state: paused;
}

/* Keyframes pour l'effet "flotter" */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Testimonials hover effect */
.testimonial-card {
  transition: all 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Gallery hover effect */
.gallery-item {
  transition: all 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

/* FAQ Styles & Toggle */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  transition: max-height 0.3s ease-in;
}

.faq-toggle i {
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle i {
  transform: rotate(180deg);
}

/* Icon bubble utility */
.icon-bubble {
  border-radius: 50%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu animations */
@media (max-width: 767px) {
  #mobile-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute; 
    top: 100%;
    left: 0;
    right: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    transform: translateY(-10px);
    pointer-events: none;
    z-index: 30;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    padding: 1rem;
  }
    
  #mobile-menu.flex {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
  }
}
