/* Hero — Save the Date, logo, placa e data (tema Cinderela) */

:root {
  --hero-ink: #3a4f66;
  --hero-salmon: #b08098;
  --hero-salmon-deep: #2f4258;
}

/* Save the Date — mais escuro que o .ornament-divider padrão */
.hero-section .hero-save-the-date {
  color: #2a3d52;
}

.hero-section .hero-save-the-date span {
  color: #2a3d52;
  font-weight: 600;
}

.hero-section .hero-save-the-date::before,
.hero-section .hero-save-the-date::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--hero-salmon) 18%,
    #a8c8e8 50%,
    var(--hero-salmon) 82%,
    transparent 100%
  );
  height: 1px;
  max-width: 150px;
  opacity: 0.55;
}

/* Textos do hero — contraste reforçado */
.hero-section .hero-intro,
.hero-section .hero-intro-muted {
  color: var(--hero-salmon-deep);
}

.hero-section .hero-intro-muted {
  opacity: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 12px rgba(255, 255, 255, 0.7),
    0 1px 3px rgba(47, 66, 88, 0.18);
}

/* Aura atrás do logo (entre overlay e PNG) */
.hero-section .hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin: 0.5rem auto 1rem;
}

.hero-section .hero-logo-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 175%;
  height: 140%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    #fff 0%,
    rgba(255, 255, 255, 0.95) 28%,
    rgba(255, 255, 255, 0.75) 48%,
    rgba(255, 255, 255, 0.4) 65%,
    transparent 78%
  );
  filter: blur(28px);
  animation: hero-glow-pulse 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-section .hero-logo-particles {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 175%;
  height: 140%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.hero-section .hero-logo-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  box-shadow:
    0 0 8px 2px rgba(255, 255, 255, 1),
    0 0 16px 4px rgba(255, 255, 255, 0.85);
  animation: hero-particle-float 5.5s ease-in-out infinite;
  opacity: 0;
}

.hero-section .hero-logo-particles span.is-gold {
  background: rgba(242, 220, 160, 0.95);
  box-shadow:
    0 0 8px 2px rgba(235, 205, 130, 0.85),
    0 0 16px 4px rgba(212, 175, 100, 0.45);
}

.hero-section .hero-logo-particles span:nth-child(1) { left: 12%; top: 18%; animation-delay: 0s; }
.hero-section .hero-logo-particles span:nth-child(2) { left: 78%; top: 14%; animation-delay: 0.4s; width: 4px; height: 4px; }
.hero-section .hero-logo-particles span:nth-child(3) { left: 22%; top: 42%; animation-delay: 0.9s; width: 3px; height: 3px; }
.hero-section .hero-logo-particles span:nth-child(4) { left: 85%; top: 38%; animation-delay: 1.3s; }
.hero-section .hero-logo-particles span:nth-child(5) { left: 8%; top: 62%; animation-delay: 1.7s; width: 4px; height: 4px; }
.hero-section .hero-logo-particles span:nth-child(6) { left: 70%; top: 58%; animation-delay: 2.1s; width: 3px; height: 3px; }
.hero-section .hero-logo-particles span:nth-child(7) { left: 45%; top: 8%; animation-delay: 0.6s; width: 4px; height: 4px; }
.hero-section .hero-logo-particles span:nth-child(8) { left: 55%; top: 72%; animation-delay: 2.5s; }
.hero-section .hero-logo-particles span:nth-child(9) { left: 30%; top: 78%; animation-delay: 1.1s; width: 3px; height: 3px; }
.hero-section .hero-logo-particles span:nth-child(10) { left: 90%; top: 68%; animation-delay: 2.9s; width: 4px; height: 4px; }
.hero-section .hero-logo-particles span:nth-child(11) { left: 18%; top: 28%; animation-delay: 3.2s; width: 3px; height: 3px; }
.hero-section .hero-logo-particles span:nth-child(12) { left: 62%; top: 22%; animation-delay: 3.6s; }
.hero-section .hero-logo-particles span:nth-child(13) { left: 35%; top: 15%; animation-delay: 0.3s; width: 4px; height: 4px; }
.hero-section .hero-logo-particles span:nth-child(14) { left: 68%; top: 35%; animation-delay: 1.0s; }
.hero-section .hero-logo-particles span:nth-child(15) { left: 15%; top: 55%; animation-delay: 1.8s; width: 3px; height: 3px; }
.hero-section .hero-logo-particles span:nth-child(16) { left: 82%; top: 55%; animation-delay: 2.4s; width: 4px; height: 4px; }
.hero-section .hero-logo-particles span:nth-child(17) { left: 48%; top: 65%; animation-delay: 3.0s; }
.hero-section .hero-logo-particles span:nth-child(18) { left: 28%; top: 48%; animation-delay: 3.8s; width: 3px; height: 3px; }

@keyframes hero-glow-pulse {
  0%,
  100% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes hero-particle-float {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.6);
  }
  20% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: translateY(-18px) scale(1);
  }
  80% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(-36px) scale(0.4);
  }
}

/* Isola o blend do logo para o glow ficar atrás, sem lavar o PNG */
.hero-section .hero-logo-blend {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.hero-section .hero-logo {
  display: block;
  width: min(280px, 72vw);
  margin: 0 auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 8px 28px rgba(90, 122, 154, 0.25));
}

@media (min-width: 768px) {
  .hero-section .hero-logo {
    width: min(360px, 50vw);
  }
}

/* Data no card — mesmo tom suave do nome Samara (text-gold) */
.hero-section .hero-plaque__datetime {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45))
    drop-shadow(0 2px 10px rgba(90, 122, 154, 0.22));
  letter-spacing: 0.02em;
  line-height: 1.2;
  max-width: 14ch;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .hero-section .hero-plaque__datetime {
    max-width: none;
  }
}

/* Placa “Noite Encantada / data” */
.hero-section .hero-plaque {
  position: relative;
  background: linear-gradient(
    155deg,
    rgba(248, 252, 255, 0.96) 0%,
    rgba(232, 242, 252, 0.94) 45%,
    rgba(248, 236, 242, 0.95) 100%
  );
  border: 1.5px solid rgba(168, 200, 232, 0.55);
  box-shadow:
    0 0 0 1px rgba(168, 200, 232, 0.35),
    0 0 0 6px rgba(196, 160, 180, 0.14),
    0 18px 48px -12px rgba(61, 81, 102, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -12px 32px rgba(168, 200, 232, 0.1);
  animation: none;
}

.hero-section .hero-plaque::before,
.hero-section .hero-plaque::after {
  border-color: #c9a46a;
  border-width: 2px;
  width: 42px;
  height: 42px;
}

.hero-section .hero-plaque__frame {
  pointer-events: none;
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(168, 200, 232, 0.55);
  outline: 1px solid rgba(196, 160, 180, 0.32);
  outline-offset: 4px;
}

.hero-section .hero-plaque__frame::before,
.hero-section .hero-plaque__frame::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 200, 232, 0.75) 20%,
    rgba(196, 160, 180, 0.9) 50%,
    rgba(168, 200, 232, 0.75) 80%,
    transparent
  );
}

.hero-section .hero-plaque__frame::before {
  top: 0;
}

.hero-section .hero-plaque__frame::after {
  bottom: 0;
}

.hero-section .hero-ornament-line {
  color: var(--hero-ink);
}

.hero-section .hero-plaque__label {
  color: var(--hero-ink);
  font-weight: 600;
  letter-spacing: 0.45em;
  position: relative;
  z-index: 1;
}

.hero-section .hero-plaque__title {
  position: relative;
  z-index: 1;
  line-height: 1.25;
}

/* Passarinhos topo — 15% mais rápido que animate-drift (8s → ~6.96s) */
.animate-drift-fast {
  animation: drift 6.96s ease-in-out infinite;
}
