/* ============================================================
   CROSSFIT ALBI — PREMIUM LAYER v4.1
   Micro-interactions · Hover states · Animations
   ============================================================ */

/* ── SHINE SWEEP on buttons ───────────────────────────────── */
.btn__shine {
  position: absolute;
  top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-20deg);
  z-index: 1;
  pointer-events: none;
}
.btn:hover .btn__shine { animation: shineSweep .85s var(--ease-out); }
@keyframes shineSweep { to { left: 160%; } }

/* ── PROGRAM CARD hover glow ──────────────────────────────── */
.prog-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 0%, rgba(180,22,5,.06), transparent 60%);
  opacity: 0; transition: opacity .38s; pointer-events: none;
}
.prog-card:hover::before { opacity: 1; }

/* ── PRICE CARD hero highlight ────────────────────────────── */
.price-card--hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.12), transparent 55%);
  pointer-events: none;
}
.price-card__badge {
  animation: badgeFloat 3.2s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(-4px); }
}

/* ── GALLERY arrow icon ───────────────────────────────────── */
.gallery__item::after {
  content: '↗';
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; font-size: .9rem;
  opacity: 0;
  transform: scale(.5) rotate(-20deg);
  transition: opacity .38s var(--ease-out), transform .38s var(--ease-out);
  z-index: 2;
}
.gallery__item:hover::after { opacity: 1; transform: scale(1) rotate(0); }

/* ── COACH red glow on hover ──────────────────────────────── */
.coach::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(180,22,5,.28), transparent 58%);
  opacity: 0; transition: opacity .38s; pointer-events: none;
}
.coach:hover::after { opacity: 1; }

/* ── FLOATING CTA pulse ring ──────────────────────────────── */
#floatCta .btn { box-shadow: 0 10px 28px -6px rgba(180,22,5,.6); }
#floatCta .btn::before {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid var(--red);
  animation: ctaRing 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaRing {
  0%   { transform: scale(1);    opacity: .65; }
  100% { transform: scale(1.28); opacity: 0; }
}

/* ── PRICING CTA band watermark ───────────────────────────── */
.pricing__cta-band::after {
  content: '2 SEANCES';
  position: absolute; bottom: -18px; left: 16px;
  font-family: var(--font-display); font-size: 6rem; font-weight: 900;
  color: rgba(255,255,255,.035); pointer-events: none; white-space: nowrap;
}

/* ── HERO badge core pulse ────────────────────────────────── */
.hero__badge-core {
  animation: corePulse 5s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(255,255,255,.12); }
  50%       { box-shadow: 0 0 0 16px rgba(255,255,255,.0); }
}

/* ── COMMUNITY pill icon ──────────────────────────────────── */
.community__pill-icon { transition: transform .32s var(--ease-out); }
.community__pill:hover .community__pill-icon { transform: scale(1.1) rotate(-5deg); }

/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
