*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(247, 168, 208, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(242, 95, 175, 0.18), transparent 50%),
    var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wl-promo);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--wl-pink);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.wl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wl-shell {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Tipografia */
.wl-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0 0 var(--space-3);
  color: var(--wl-cherry);
  text-transform: uppercase;
}

.wl-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wl-promo);
  margin: 0 0 var(--space-2);
}

.wl-lead {
  font-size: var(--text-md);
  color: var(--color-muted);
  max-width: 38rem;
  margin: 0 0 var(--space-5);
}

.wl-signature {
  font-family: var(--font-detail);
  font-size: var(--text-lg);
  color: var(--wl-pink);
}

/* Header */
.wl-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 246, 250, 0.86);
  border-bottom: 1px solid var(--color-border);
}

.wl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.wl-brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--wl-cherry);
}

.wl-brand__mark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--wl-pink);
}

.wl-brand__sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.wl-nav {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

.wl-nav a {
  text-decoration: none;
  color: var(--wl-cherry);
  font-weight: 500;
  font-size: var(--text-sm);
}

.wl-nav a:hover,
.wl-nav a[aria-current="page"] {
  color: var(--wl-promo);
}

.wl-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.wl-setor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--wl-cherry);
  background: var(--wl-blush);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}

.wl-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--wl-white);
  border: 1px solid var(--color-border);
  color: var(--wl-cherry);
  text-decoration: none;
}

.wl-cart-link__count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--wl-promo);
  color: var(--wl-white);
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wl-nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
  color: var(--wl-cherry);
  cursor: pointer;
}

@media (min-width: 860px) {
  .wl-nav {
    display: flex;
  }
  .wl-nav-toggle {
    display: none;
  }
}

.wl-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: var(--wl-cloud);
  border-bottom: 1px solid var(--color-border);
}

/* Hero */
.wl-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) 0 var(--space-7);
  background: var(--grad-magic-pink);
}

.wl-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 135, 207, 0.35), transparent 65%);
  pointer-events: none;
}

.wl-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.wl-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* Hero com arte oficial — full-bleed + parallax */
.wl-hero--art {
  --hero-h: min(92vh, 56rem);
  padding: 0;
  min-height: var(--hero-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #c41e7a;
}

.wl-hero--art::after {
  display: none;
}

.wl-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.wl-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
  /* evita suavização excessiva em upscale */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.wl-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(42, 11, 29, 0.18) 0%, transparent 28%),
    linear-gradient(180deg, transparent 48%, rgba(255, 246, 250, 0.55) 78%, var(--wl-cloud) 100%);
}

.wl-hero__dock {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max-w));
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-7);
  max-width: 34rem;
}

.wl-hero--art .wl-lead {
  color: var(--wl-cherry);
  text-shadow: 0 1px 0 rgba(255, 246, 250, 0.65);
  margin-bottom: var(--space-4);
}

.wl-hero--art .wl-btn--outline {
  background: rgba(255, 246, 250, 0.92);
  border-color: transparent;
  color: var(--wl-promo);
}

.wl-hero--art .wl-hero__cta {
  margin-top: 0;
}

@media (max-width: 700px) {
  .wl-hero--art {
    --hero-h: min(70vh, 36rem);
  }

  .wl-hero__media {
    inset: 0;
  }

  .wl-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 16% center;
    /* sem parallax no mobile: evita faixa vazia nas bordas */
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-hero__media img {
    height: 100%;
    transform: none;
    will-change: auto;
  }
}

/* Main / Footer */
.wl-main {
  padding: var(--space-7) 0;
  min-height: 50vh;
}

.wl-footer {
  margin-top: auto;
  padding: var(--space-6) 0;
  background: var(--wl-blush-soft);
  border-top: 1px solid var(--color-border);
}

.wl-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
}

.wl-footer p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* Motion */
@keyframes wl-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wl-pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 36, 133, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(216, 36, 133, 0); }
}

.wl-rise {
  animation: wl-rise 0.7s ease both;
}

.wl-rise-delay-1 { animation-delay: 0.1s; }
.wl-rise-delay-2 { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
