html {
  scroll-behavior: smooth;
}

/* WordPress: evitar que estilos do core “vazem” na landing antes/durante o Tailwind */
body.cedig-landing {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #414042;
  -webkit-font-smoothing: antialiased;
}
body.cedig-landing .cedig-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.cedig-landing .cedig-gallery > li {
  margin: 0;
  padding: 0;
}
body.admin-bar header.sticky {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar header.sticky {
    top: 46px;
  }
}

html.cedig-js .cedig-reveal:not(.cedig-reveal-visible) {
  opacity: 0;
  transform: translateY(18px);
}
.cedig-reveal {
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.cedig-reveal.cedig-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
html.cedig-js .cedig-gallery:not(.cedig-reveal-visible) > li {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}
.cedig-gallery > li {
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.cedig-gallery.cedig-reveal-visible > li:nth-child(1) { transition-delay: 0.04s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(2) { transition-delay: 0.08s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(3) { transition-delay: 0.12s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(4) { transition-delay: 0.16s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(5) { transition-delay: 0.2s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(6) { transition-delay: 0.24s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(7) { transition-delay: 0.28s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(8) { transition-delay: 0.32s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(9) { transition-delay: 0.36s; }
.cedig-gallery.cedig-reveal-visible > li:nth-child(10) { transition-delay: 0.4s; }
.cedig-gallery.cedig-reveal-visible > li {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@keyframes cedig-hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.cedig-hero-item {
  opacity: 0;
  animation: cedig-hero-in 0.68s ease-out forwards;
}
.cedig-hero-item--1 { animation-delay: 0.06s; }
.cedig-hero-item--2 { animation-delay: 0.14s; }
.cedig-hero-item--3 { animation-delay: 0.22s; }
.cedig-hero-item--4 { animation-delay: 0.3s; }
.cedig-hero-item--5 { animation-delay: 0.38s; }
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.cedig-js .cedig-reveal:not(.cedig-reveal-visible),
  html.cedig-js .cedig-gallery:not(.cedig-reveal-visible) > li,
  .cedig-reveal,
  .cedig-gallery > li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .animate-cedig-float,
  .animate-cedig-orb { animation: none !important; }
  .cedig-hero-item { animation: none !important; opacity: 1 !important; }
  .opacity-0 { opacity: 1 !important; }
}
