html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.gold-shine {
  background: linear-gradient(115deg, #A85E0C, #FFE08A 46%, #D89A1D 72%, #A85E0C);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.orb {
  background:
    radial-gradient(circle at 45% 45%, #fff 0 18%, transparent 19%),
    conic-gradient(from 218deg, transparent 0 12%, #EF83A8 18%, #FFD2DC 30%, transparent 36% 45%, #D89A1D 53%, #FFE08A 63%, transparent 73%);
  box-shadow: 0 24px 55px rgba(168, 94, 12, .16);
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 2px solid rgba(216, 154, 29, .65);
  border-left-color: transparent;
  border-radius: 9999px;
  transform: rotate(-30deg);
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
  animation: testimonial-in .45s ease both;
}

.testimonial-dot {
  width: .65rem;
  height: .65rem;
  border-radius: 9999px;
  background: rgba(168, 94, 12, .24);
  transition: width .2s ease, background .2s ease;
}

.testimonial-dot.is-active {
  width: 2.25rem;
  background: #D89A1D;
}

@keyframes testimonial-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-slide.is-active { animation: none; }
}

.orb::after {
  inset: 33%;
  border-color: rgba(239, 131, 168, .72);
  border-right-color: transparent;
  transform: rotate(42deg);
}

/* CTA: declared here so their contrast remains stable with the Tailwind CDN. */
a[class*="bg-gradient-to-r"] {
  background: linear-gradient(105deg, #A85E0C 0%, #D89A1D 43%, #FFE08A 58%, #D89A1D 76%, #A85E0C 100%) !important;
  color: #FFFAF4 !important;
  border-color: #FFE08A !important;
  box-shadow: 0 12px 24px rgba(168, 94, 12, .24) !important;
}

a[class*="border-golddeep/"],
a[class*="border-[#FFE08A]"] {
  background: #FFFAF4 !important;
  color: #48223B !important;
  border-color: rgba(168, 94, 12, .48) !important;
  box-shadow: 0 9px 20px rgba(72, 34, 59, .10);
}

a[class*="bg-gradient-to-r"]:hover,
a[class*="border-golddeep/"]:hover,
a[class*="border-[#FFE08A]"]:hover {
  transform: translateY(-1px);
}

/* Keep the learning area rich and distinct from the ivory sections. */
#formations {
  background:
    radial-gradient(circle at 82% 18%, rgba(239, 131, 168, .42), transparent 27%),
    radial-gradient(circle at 72% 82%, rgba(216, 154, 29, .22), transparent 30%),
    linear-gradient(135deg, #48223B 0%, #63324E 56%, #7A3A58 100%) !important;
  color: #FFFAF4 !important;
}

#formations p,
#formations li {
  color: rgba(255, 250, 244, .82) !important;
}

#formations aside {
  background: rgba(255, 250, 244, .10) !important;
  border-color: rgba(255, 224, 138, .42) !important;
  box-shadow: 0 18px 45px rgba(20, 7, 15, .18);
}

#seances article > span[aria-hidden="true"] {
  background: #D89A1D !important;
}

@media (max-width: 1023px) {
  #menuButton {
    display: grid !important;
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 1;
    min-width: 2.75rem;
    min-height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(168, 94, 12, .35);
    border-radius: 9999px;
    background: rgba(255, 250, 244, .94);
    color: #48223B !important;
    font-size: 1.2rem !important;
    line-height: 1;
  }
}
