/* ── Reveal — entrada padrão (translateY) ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reveal da esquerda ── */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ── Reveal escala ── */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ── Stagger delays ── */
.reveal[data-delay="1"],
.reveal-left[data-delay="1"],
.reveal-scale[data-delay="1"] { transition-delay: 100ms; }

.reveal[data-delay="2"],
.reveal-left[data-delay="2"],
.reveal-scale[data-delay="2"] { transition-delay: 200ms; }

.reveal[data-delay="3"],
.reveal-left[data-delay="3"],
.reveal-scale[data-delay="3"] { transition-delay: 300ms; }

.reveal[data-delay="4"],
.reveal-left[data-delay="4"],
.reveal-scale[data-delay="4"] { transition-delay: 400ms; }

.reveal[data-delay="5"],
.reveal-left[data-delay="5"],
.reveal-scale[data-delay="5"] { transition-delay: 500ms; }

.reveal[data-delay="6"],
.reveal-left[data-delay="6"],
.reveal-scale[data-delay="6"] { transition-delay: 600ms; }

/* ── Hero split-text ── */
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-line.hero-line--visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-line:nth-child(1) { transition-delay: 100ms; }
.hero-line:nth-child(2) { transition-delay: 300ms; }
.hero-line:nth-child(3) { transition-delay: 500ms; }

/* ── Animação folha crescendo ── */
@keyframes leaf-grow {
  from {
    stroke-dashoffset: 400;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.botanical-ornament path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: leaf-grow 2s ease forwards;
}

.botanical-ornament path:nth-child(2) { animation-delay: 0.2s; }
.botanical-ornament path:nth-child(3) { animation-delay: 0.4s; }
.botanical-ornament path:nth-child(4) { animation-delay: 0.6s; }
.botanical-ornament path:nth-child(5) { animation-delay: 0.8s; }
.botanical-ornament path:nth-child(6) { animation-delay: 1s; }
.botanical-ornament path:nth-child(7) { animation-delay: 1.1s; }

/* ── Respeitar prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .parallax-leaf {
    transform: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .botanical-ornament path {
    stroke-dashoffset: 0;
    opacity: 0.09;
    animation: none;
  }
}
