/* Atmosfera global — boutique artesanal */

body {
  position: relative;
  background-color: var(--bg);
  background-image: var(--gradient-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-blobs::before,
.page-blobs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.page-blobs::before {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: -8%;
  left: -10%;
  background: rgba(245, 182, 212, 0.45);
}

.page-blobs::after {
  width: min(45vw, 360px);
  height: min(45vw, 360px);
  bottom: 10%;
  right: -8%;
  background: rgba(245, 182, 212, 0.28);
}

.page-blobs__blue {
  position: absolute;
  width: min(35vw, 280px);
  height: min(35vw, 280px);
  top: 40%;
  left: 55%;
  border-radius: 50%;
  filter: blur(50px);
  background: rgba(245, 182, 212, 0.35);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.glow-lavender {
  position: relative;
}

.glow-lavender::before {
  content: "";
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle, rgba(245, 182, 212, 0.45), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.glow-pink::before {
  background: radial-gradient(circle, rgba(245, 182, 212, 0.35), transparent 65%);
}

.float-gentle {
  animation: floatGentle 10s ease-in-out infinite;
}

.fade-in-soft {
  animation: fadeInSoft 0.8s ease both;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  opacity: 0.7;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  max-width: 8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
}

.section-divider img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.badge-playful {
  font-family: var(--font-accent);
  font-weight: 500;
}

.scrapbook-frame {
  position: relative;
  padding: var(--space-5);
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(245, 182, 212, 0.35);
  box-shadow: var(--shadow-soft);
}

.scrapbook-frame::before {
  content: "";
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  width: 1.25rem;
  height: 1.25rem;
  background: url("/assets/illustrations/doodle-star.svg") center / contain no-repeat;
  opacity: 0.45;
}

.sparkle-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
  background: url("/assets/illustrations/doodle-star.svg") center / contain no-repeat;
}

.sparkle-deco--1 { width: 1.5rem; height: 1.5rem; top: 12%; left: 8%; }
.sparkle-deco--2 { width: 1rem; height: 1rem; top: 22%; right: 12%; }
.sparkle-deco--3 { width: 1.25rem; height: 1.25rem; bottom: 18%; left: 15%; }

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInSoft {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .float-gentle {
    animation: none;
  }
}
