/* ==========================================================================
   EN FÉLINE COMPAGNIE - DYNAMIC FLOATING ANIMATIONS & STYLING
   ========================================================================== */

/* --- Gentle Ambient Keyframes --- */
@keyframes floatSlow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes floatSway {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  33% {
    transform: translate3d(5px, -8px, 0) rotate(2deg);
  }
  66% {
    transform: translate3d(-4px, -4px, 0) rotate(-1.5deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes ballPlay {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-10px) rotate(90deg);
  }
  70% {
    transform: translateY(-3px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

@keyframes catBreathe {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
}

/* Floating Layer Container */
.floating-decor-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-item {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
  filter: drop-shadow(0 8px 20px rgba(45, 38, 33, 0.12));
  transition: transform 0.4s ease;
}

.floating-site-cat {
  width: 140px;
  height: auto;
  animation: catBreathe 6s ease-in-out infinite;
}

.pos-hero-bottom-left {
  bottom: 0;
  left: 2%;
  max-width: 130px;
}

/* Wave Dividers */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  transform: translateZ(0);
}

.wave-divider svg, .wave-divider img {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: auto;
  vertical-align: bottom;
}

.wave-top {
  margin-top: -1px;
}

.wave-bottom {
  margin-bottom: -2px;
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Guarantee that all above-the-fold & hero content is immediately visible (no scroll required) */
.hero-content,
.hero-media,
.hero .reveal-on-scroll,
.page-hero-inner,
.page-hero-banner .reveal-on-scroll,
.city-hero-content,
.city-hero-media,
.city-hero-grid .reveal-on-scroll,
.page-top-header {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}

.delay-100 { transition-delay: 0.08s; }
.delay-200 { transition-delay: 0.16s; }
.delay-300 { transition-delay: 0.24s; }
.delay-400 { transition-delay: 0.32s; }

/* Interactive Hover */
.hover-lift {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

.shine-button {
  position: relative;
  overflow: hidden;
}

.shine-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.8s ease-in-out;
}

.shine-button:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* --- Dynamic CTA Interactive Buttons --- */
@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 0 12px 32px rgba(0, 0, 0, 0.25);
  }
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-12deg); }
  20%, 40%, 60%, 80% { transform: rotate(12deg); }
}

.btn-cta-dynamic {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff !important;
  color: var(--primary) !important;
  font-weight: 800 !important;
  padding: 1.05rem 2.2rem !important;
  border-radius: var(--radius-full) !important;
  font-size: 1.08rem !important;
  text-decoration: none;
  animation: ctaGlow 3s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-cta-dynamic:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
  color: var(--accent) !important;
}

.btn-cta-dynamic .cta-arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn-cta-dynamic:hover .cta-arrow {
  transform: translateX(6px);
}

.btn-phone-dynamic {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(8px);
  padding: 1.05rem 2rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 1.08rem !important;
  text-decoration: none;
  transition: all 0.3s ease !important;
}

.btn-phone-dynamic:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: #ffffff !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-phone-dynamic:hover .phone-icon-anim {
  display: inline-block;
  animation: phoneRing 0.8s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
