/* Site público — fundo animado em toda a página */

html {
  scroll-behavior: smooth;
}

.public-home,
body.public-home,
body.login-page.public-home {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(232, 160, 176, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(146, 186, 168, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 214, 186, 0.35), transparent 45%),
    linear-gradient(180deg, #fff5f7 0%, #f3f8f5 48%, #fff8f2 100%);
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .public-home,
  body.public-home,
  body.login-page.public-home {
    background-attachment: fixed;
  }
}

.public-wrap.public-home {
  background: transparent;
}

.sp-live-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(196, 92, 122, 0.16) 0%, transparent 42%),
    linear-gradient(25deg, rgba(122, 158, 142, 0.18) 0%, transparent 40%);
}

.public-wrap,
.site-public,
.sp-rsvp-shell,
.login-page .login-card {
  position: relative;
  z-index: 1;
}

.site-public {
  overflow-x: clip;
  color: #3a2730;
}

.sp-hero {
  position: relative;
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 3.25rem 1.25rem 1.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .sp-hero {
    min-height: 72svh;
    padding: 4rem 1.25rem 2rem;
  }
}

.sp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.72;
  animation: spFloat 9s ease-in-out infinite;
  will-change: transform;
}
.sp-blob-a {
  width: min(58vw, 440px);
  height: min(58vw, 440px);
  left: -14%;
  top: 6%;
  background: radial-gradient(circle, rgba(232, 140, 164, 0.75), transparent 68%);
}
.sp-blob-b {
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  right: -12%;
  top: 38%;
  background: radial-gradient(circle, rgba(130, 178, 156, 0.7), transparent 68%);
  animation-delay: -3s;
}
.sp-blob-c {
  width: min(40vw, 280px);
  height: min(40vw, 280px);
  left: 28%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(255, 210, 170, 0.6), transparent 70%);
  animation-delay: -5.5s;
}
.sp-blob-d {
  width: min(34vw, 240px);
  height: min(34vw, 240px);
  right: 18%;
  top: 8%;
  background: radial-gradient(circle, rgba(232, 170, 190, 0.55), transparent 70%);
  animation-delay: -7s;
  animation-duration: 11s;
}

.sp-petal {
  position: absolute;
  top: 0;
  width: 22px;
  height: 34px;
  background: #c45c7a;
  opacity: 0.75;
  border-radius: 80% 0 55% 50% / 55% 0 80% 50%;
  animation: spDrift 12s linear infinite;
  will-change: transform, opacity;
  z-index: 2;
}
.sp-petal-1 { left: 8%;  animation-duration: 11s; animation-delay: 0s; }
.sp-petal-2 { left: 22%; width: 18px; height: 28px; background: #7a9e8e; animation-duration: 14s; animation-delay: -2s; }
.sp-petal-3 { left: 38%; width: 16px; height: 26px; background: #e8aa82; animation-duration: 13s; animation-delay: -4.5s; }
.sp-petal-4 { left: 55%; width: 20px; height: 32px; background: #9e3f5c; animation-duration: 15s; animation-delay: -1s; }
.sp-petal-5 { left: 72%; width: 17px; height: 27px; background: #5f8a78; animation-duration: 12.5s; animation-delay: -6s; }
.sp-petal-6 { left: 88%; width: 15px; height: 24px; background: #d4899c; animation-duration: 16s; animation-delay: -3.5s; }

.sp-hero-content {
  max-width: 40rem;
  animation: spRise 0.9s cubic-bezier(.2,.8,.2,1) both;
}

.sp-kicker,
.sp-section-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9e3f5c;
}

.sp-brand {
  margin: 0.35rem 0 0.1rem;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 14vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #9e3f5c 0%, #c45c7a 40%, #5f8a78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sp-tagline {
  margin: 0.35rem 0 0;
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  color: #56786b;
}

.sp-gest {
  display: inline-block;
  margin: 0.85rem 0 0;
  padding: 0.35rem 0.9rem;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: #9e3f5c;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 92, 122, 0.22);
  border-radius: 999px;
}

.sp-journey {
  padding-top: 0.25rem;
  padding-bottom: 1.5rem;
}

.sp-journey-card {
  text-align: center;
  padding: 1.35rem 1.2rem 1.25rem;
  background: rgba(255, 252, 251, 0.72);
  border: 1px solid rgba(196, 92, 122, 0.14);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(58, 39, 48, 0.06);
  backdrop-filter: blur(8px);
}

.sp-journey-title {
  margin: 0.25rem 0 0.25rem !important;
  font-size: clamp(1.35rem, 4vw, 1.85rem) !important;
  background: linear-gradient(120deg, #9e3f5c 0%, #c45c7a 45%, #5f8a78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sp-journey-sub {
  margin: 0 0 0.95rem;
  font-weight: 700;
  color: #7a6670;
  font-size: 0.9rem;
}

.sp-journey-track {
  height: 16px;
  margin: 0;
  background: rgba(158, 63, 92, 0.1);
  box-shadow: inset 0 1px 2px rgba(58, 39, 48, 0.06);
}

.sp-journey-track > span {
  background: linear-gradient(90deg, #c45c7a 0%, #e8a4b5 45%, #7a9e8e 100%);
  box-shadow: 0 0 18px rgba(196, 92, 122, 0.35);
  position: relative;
}

.sp-journey-track > span::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.sp-journey-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a8790;
}

.sp-journey-meta strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: #9e3f5c;
}

.sp-lead {
  margin: 1.1rem auto 0;
  max-width: 28rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
  color: #5c4550;
}

.sp-when {
  display: inline-block;
  margin: 1.25rem 0 0;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #9e3f5c;
  border-bottom: 2px solid rgba(196, 92, 122, 0.35);
  padding-bottom: 0.2rem;
}

.sp-cta { margin-top: 1.25rem; }

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #c45c7a, #9e3f5c);
  box-shadow: 0 14px 30px rgba(158, 63, 92, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.sp-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }

.sp-band {
  padding: 2.25rem 1.25rem;
  position: relative;
}
@media (min-width: 768px) {
  .sp-band { padding: 2.75rem 1.25rem; }
}
.sp-band:nth-child(even) {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,248,245,0.28));
}

.sp-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  animation: spRise 0.7s ease both;
}

.sp-band h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  color: #3a2730;
}

.sp-text {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.6;
  color: #5c4550;
}

.sp-count {
  margin: 1.4rem 0 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.25rem;
  color: #56786b;
}
.sp-count span {
  font-size: 2.4rem;
  font-weight: 700;
  color: #9e3f5c;
  margin-right: 0.25rem;
}

.sp-confirm {
  background: transparent;
}

.sp-fraldas {
  background: transparent;
}

.sp-split-copy {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
@media (min-width: 760px) {
  .sp-split-copy { grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; }
}

.sp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}
.sp-sizes span {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  min-width: 3.2rem;
  text-align: center;
  padding: 0.7rem 0.9rem;
  color: #56786b;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(122, 158, 142, 0.28);
  border-radius: 18px;
  animation: spRise 0.6s ease both;
}
.sp-sizes span:nth-child(2) { animation-delay: 0.05s; }
.sp-sizes span:nth-child(3) { animation-delay: 0.1s; }
.sp-sizes span:nth-child(4) { animation-delay: 0.15s; }
.sp-sizes span:nth-child(5) { animation-delay: 0.2s; }

.sp-faq { margin-top: 1.2rem; display: grid; gap: 0.65rem; }
.sp-faq details {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 39, 48, 0.08);
  border-radius: 18px;
  padding: 0.95rem 1.1rem;
  transition: border-color 0.15s;
}
.sp-faq details[open] { border-color: rgba(196, 92, 122, 0.3); }
.sp-faq summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  color: #3a2730;
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq details p {
  margin: 0.65rem 0 0;
  color: #5c4550;
  font-weight: 600;
  line-height: 1.5;
}

.sp-notes {
  background: transparent;
}

.sp-quotes {
  margin-top: 1.3rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .sp-quotes { grid-template-columns: 1fr 1fr; }
}
.sp-quotes blockquote {
  margin: 0;
  padding: 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  border-top: 3px solid #c45c7a;
  box-shadow: 0 16px 36px rgba(58, 39, 48, 0.06);
}
.sp-quotes p {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
  color: #3a2730;
}
.sp-quotes cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-weight: 800;
  font-size: 0.85rem;
  color: #7a9e8e;
}

.sp-footer {
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  color: #7a6670;
  font-weight: 600;
}
.sp-footer p { margin: 0; }
.sp-footer p + p { margin-top: 0.35rem; }
.sp-brand-mini {
  margin: 0 0 0.35rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #c45c7a;
}
.sp-credit {
  margin-top: 1.15rem !important;
  font-size: 0.84rem;
  font-weight: 700;
  color: #9a8790;
  letter-spacing: 0.02em;
}
.sp-credit strong {
  color: #7a6670;
  font-weight: 800;
}
.sp-heart {
  display: inline-block;
  color: #c45c7a;
  margin: 0 0.15rem;
  animation: spHeart 1.6s ease-in-out infinite;
}
@keyframes spHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* RSVP público — mesma atmosfera */
.sp-rsvp-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 2.5rem;
  position: relative;
  z-index: 1;
}
.sp-rsvp-card {
  width: min(520px, 100%);
  padding: 1.75rem 1.4rem 1.6rem;
  background: rgba(255, 252, 251, 0.9);
  border: 1px solid rgba(196, 92, 122, 0.14);
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(58, 39, 48, 0.08);
  backdrop-filter: blur(10px);
  animation: spRise 0.55s ease both;
}
.sp-rsvp-card .sp-brand-mini { font-size: 1.15rem; margin-bottom: 0.15rem; }
.sp-rsvp-card h1 {
  font-family: var(--font-display), Georgia, serif;
  text-align: center;
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
}
.sp-rsvp-card .rsvp-fralda {
  background: linear-gradient(135deg, rgba(196,92,122,0.14), rgba(122,158,142,0.14));
}

.rsvp-mimos {
  margin: 1.1rem 0 0;
  padding: 1rem 1.05rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 158, 142, 0.25);
  border-radius: 18px;
}
.rsvp-mimos-title {
  margin: 0 0 .35rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #56786b;
}
.rsvp-pix-key {
  margin: .4rem 0 .55rem;
  font-weight: 800;
  font-size: 1.02rem;
  word-break: break-all;
  color: #9e3f5c;
}

@keyframes spFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}
@keyframes spDrift {
  0%   { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.9; }
  50%  { transform: translate3d(28px, 50vh, 0) rotate(95deg); opacity: 0.85; }
  100% { transform: translate3d(-18px, 105vh, 0) rotate(200deg); opacity: 0; }
}
@keyframes spRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .sp-blob, .sp-petal, .sp-hero-content, .sp-inner, .sp-rsvp-card, .sp-sizes span, .sp-heart {
    animation: none !important;
  }
  .sp-petal { opacity: 0.55; top: 12%; }
  .sp-petal-2 { top: 28%; }
  .sp-petal-3 { top: 44%; }
  .sp-petal-4 { top: 18%; }
  .sp-petal-5 { top: 56%; }
  .sp-petal-6 { top: 70%; }
}
