/* Hero branco + Dani à direita + animações */

#root .bg-\[\#0b1220\] {
  background-color: #fff !important;
}

#root section.relative.flex.flex-col.overflow-hidden {
  isolation: isolate;
  background-color: #fff !important;
  border-bottom-color: rgb(15 23 42 / 0.08) !important;
  color: #0f172a;
}

#root section.relative.flex.flex-col.overflow-hidden .bg-black {
  background-color: #fff !important;
}

@media (min-width: 768px) {
  #root section.relative.flex.flex-col.overflow-hidden .bg-black {
    background-color: transparent !important;
  }
}

#root section.relative.flex.flex-col.overflow-hidden img[alt="Logo da formação"] {
  filter: drop-shadow(0 2px 8px rgb(15 23 42 / 0.12));
}

/* Some o véu preto original e o blob laranja */
#root section.relative.flex.flex-col.overflow-hidden > div[aria-hidden]:nth-of-type(2),
#root section.relative.flex.flex-col.overflow-hidden > .rounded-full {
  display: none !important;
}

#root section.relative.flex.flex-col.overflow-hidden h1 {
  color: #0b1220 !important;
  text-shadow: none !important;
}

#root section.relative.flex.flex-col.overflow-hidden h1 .text-conecta-orange {
  color: #d97706 !important;
}

#root section.relative.flex.flex-col.overflow-hidden h1 + p {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

#root section.relative.flex.flex-col.overflow-hidden p,
#root section.relative.flex.flex-col.overflow-hidden .text-text-light\/80,
#root section.relative.flex.flex-col.overflow-hidden .text-text-light\/60,
#root section.relative.flex.flex-col.overflow-hidden .text-white\/80 {
  color: #334155 !important;
  text-shadow: none !important;
}

#root section.relative.flex.flex-col.overflow-hidden .border-white\/10 {
  border-color: rgb(15 23 42 / 0.12) !important;
  background-color: #f8fafc !important;
}

#root section.relative.flex.flex-col.overflow-hidden a.bg-conecta-orange {
  color: #fff !important;
}

/* Desktop: foto landscape com a Dani já à direita — preenche o hero */
@media (min-width: 768px) {
  #root section.relative.flex.flex-col.overflow-hidden > div[aria-hidden]:first-of-type {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  #root section.relative.flex.flex-col.overflow-hidden > div[aria-hidden]:first-of-type .bg-cover {
    background-image: url("/funds.webp?v=12") !important;
    background-size: 150% auto !important;
    background-position: 92% 32% !important;
    background-repeat: no-repeat !important;
    filter: none;
  }

  #root section.relative.flex.flex-col.overflow-hidden h1 + p {
    font-size: 15.5px !important;
    line-height: 1.48 !important;
  }
}

/* Mobile: Dani à direita da faixa */
@media (max-width: 767px) {
  #root section.relative.flex.flex-col.overflow-hidden .order-first .relative.isolate {
    background-color: #fff !important;
  }

  #root section.relative.flex.flex-col.overflow-hidden h1 {
    text-align: center !important;
  }

  #root section.relative.flex.flex-col.overflow-hidden .order-first .bg-cover {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-image: url("/funds.webp?v=12") !important;
    background-size: 165% auto !important;
    background-position: 88% 28% !important;
    background-repeat: no-repeat !important;
  }

  #root section.relative.flex.flex-col.overflow-hidden .order-first .absolute.inset-0:not(.bg-cover) {
    background: none !important;
  }

  #root section.relative.flex.flex-col.overflow-hidden .order-first::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 72%,
      rgb(255 255 255 / 0.5) 90%,
      #fff 100%
    );
  }
}

/* Entrada */
html.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(1.15rem);
  will-change: opacity, transform;
}

.reveal.is-visible {
  animation: reveal-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0ms);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal:not(.is-visible),
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
