/* Animations — Les Femmes Pétillantes (palette logo) */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes logo-glow {
  0%, 100% {
    filter: drop-shadow(0 8px 24px rgba(74, 25, 66, 0.12))
      drop-shadow(0 0 0 rgba(212, 35, 122, 0));
  }
  50% {
    filter: drop-shadow(0 12px 32px rgba(212, 35, 122, 0.2))
      drop-shadow(0 0 40px rgba(201, 169, 98, 0.15));
  }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -8px) scale(1.05); }
  66% { transform: translate(-8px, 10px) scale(0.95); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes line-grow {
  from { transform: scaleX(0); opacity: 0.5; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes cta-attention-soft {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(74, 25, 66, 0.14);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 35, 122, 0.22);
  }
}

.carousel-cadran--hero .hero-cta-row .btn-primary {
  animation: cta-attention-soft 3.2s ease-in-out infinite;
}

.carousel-cadran.is-cta.is-slide-active .btn-carousel-mini.btn-primary {
  animation: cta-attention-soft 2.8s ease-in-out 1.15s infinite;
}

.home-cta-final .btn-primary {
  animation: cta-attention-soft 3.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-cadran--hero .hero-cta-row .btn-primary,
  .carousel-cadran.is-cta.is-slide-active .btn-carousel-mini.btn-primary,
  .home-cta-final .btn-primary {
    animation: none !important;
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Fond décoratif hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  animation: orb-drift 14s ease-in-out infinite;
}

.hero-orb--fuchsia {
  width: min(320px, 50vw);
  height: min(320px, 50vw);
  background: radial-gradient(circle, rgba(212, 35, 122, 0.35), transparent 70%);
  top: -5%;
  right: 5%;
  animation-duration: 16s;
}

.hero-orb--sage {
  width: min(280px, 45vw);
  height: min(280px, 45vw);
  background: radial-gradient(circle, rgba(122, 158, 142, 0.4), transparent 70%);
  bottom: 10%;
  left: -5%;
  animation-delay: -4s;
  animation-duration: 18s;
}

.hero-orb--gold {
  width: min(200px, 35vw);
  height: min(200px, 35vw);
  background: radial-gradient(circle, rgba(201, 169, 98, 0.35), transparent 70%);
  top: 40%;
  left: 35%;
  animation-delay: -7s;
  animation-duration: 20s;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  animation: fade-up 0.9s ease-out both, float-soft 5s ease-in-out 1s infinite;
}

.hero-logo {
  animation: logo-glow 4s ease-in-out infinite;
}

.hero-copy .slogan {
  background: linear-gradient(
    90deg,
    var(--fuchsia-soft),
    var(--fuchsia),
    var(--gold),
    var(--fuchsia-soft)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

.hero-copy h1 {
  animation: fade-up 0.85s ease-out 0.15s both;
}

.hero-copy .lead {
  animation: fade-up 0.85s ease-out 0.3s both;
}

.hero-copy .btn-row {
  animation: fade-up 0.85s ease-out 0.45s both;
}

/* Apparition au scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease-out,
    transform 0.65s ease-out;
}

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

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

.reveal.is-visible .section-head .line,
.reveal.is-visible > .line {
  transform-origin: center;
  animation: line-grow 0.8s ease-out both;
}

.cards .card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(74, 25, 66, 0.14);
}

.cards .card.reveal:nth-child(1) { transition-delay: 0.05s; }
.cards .card.reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .card.reveal:nth-child(3) { transition-delay: 0.15s; }
.cards .card.reveal:nth-child(4) { transition-delay: 0.2s; }
.cards .card.reveal:nth-child(5) { transition-delay: 0.25s; }
.cards .card.reveal:nth-child(6) { transition-delay: 0.3s; }
.cards .card.reveal:nth-child(7) { transition-delay: 0.35s; }
.cards .card.reveal:nth-child(8) { transition-delay: 0.4s; }
.cards .card.reveal:nth-child(9) { transition-delay: 0.45s; }

.symbol-block {
  position: relative;
  overflow: hidden;
}

.symbol-block::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    120deg,
    var(--gold),
    var(--fuchsia),
    var(--turquoise),
    var(--gold)
  );
  background-size: 300% 300%;
  animation: gradient-shift 8s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.cta {
  background: linear-gradient(
    135deg,
    var(--prune) 0%,
    var(--fuchsia-soft) 45%,
    var(--fuchsia) 70%,
    var(--prune-dark) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 10s ease infinite;
}

.contact-item {
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--fuchsia) 0%, var(--fuchsia-soft) 100%);
  background-size: 200% 200%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-position 0.4s ease;
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 22px rgba(212, 35, 122, 0.45);
}

.site-header {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--fuchsia);
  box-shadow: 0 4px 20px rgba(74, 25, 66, 0.1);
}

.brand img {
  transition: transform 0.35s ease;
}

.brand:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.main-nav a {
  transition: color 0.25s ease, border-color 0.25s ease;
}

.home-hub .slogan:not(.hero-slogan-creative) {
  background: linear-gradient(
    90deg,
    var(--fuchsia-soft),
    var(--fuchsia),
    var(--gold),
    var(--fuchsia-soft)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  line-height: 1.45;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.carousel-cadran--hero .hero-slogan-creative {
  background: linear-gradient(90deg, #2a1526, #4a1942, #9b2d6e, #4a1942);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55));
}

.logo-foot-wrap {
  width: min(168px, 42vw);
  height: min(168px, 42vw);
  margin: 0 auto 1.25rem;
}

.logo-foot-wrap .logo-foot {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border-radius: 50%;
  animation: logo-pulse 2.8s ease-in-out infinite, logo-glow 4s ease-in-out infinite;
}

.logo-foot-wrap .orbit {
  animation: splash-spin 5.5s linear infinite;
  border-style: solid;
  border-width: 2px;
  opacity: 0.85;
}

.logo-foot-wrap .orbit-2 {
  animation-duration: 9s;
  animation-direction: reverse;
}

/* Bandeau couleurs charte */
.color-strip {
  display: flex;
  height: 4px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 2rem;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible .color-strip {
  opacity: 1;
  transform: scaleX(1);
}

.color-strip span {
  flex: 1;
}

.color-strip .c-prune { background: var(--prune); }
.color-strip .c-fuchsia { background: var(--fuchsia); }
.color-strip .c-gold { background: var(--gold); }
.color-strip .c-sage { background: var(--sage); }
.color-strip .c-turquoise { background: var(--turquoise); }

.preview-logo {
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(145deg, #fff 0%, #f8f2f6 100%);
  border: 1px solid rgba(212, 35, 122, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.preview-logo:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(74, 25, 66, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-orb {
    display: none;
  }
}
