/* ============ BASE ============ */
:root {
  --bg: #140a26;
  --bg-2: #1c0f36;
  --card: #1f1140;
  --line: rgba(201, 168, 255, .14);
  --lilac: #c9a8ff;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --pink: #f0abfc;
  --text: #f4efff;
  --muted: #b3a6cf;
  --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============ LOGO D CURSIVO ============ */
.logo-d {
  font-family: "Great Vibes", cursive;
  font-size: 54px; line-height: 1;
  display: inline-block; padding: 0 .14em;
  background: linear-gradient(160deg, #fff 10%, var(--lilac) 45%, var(--violet) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(167, 139, 250, .55));
}
.logo-d.small { font-size: 64px; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 48px);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20, 10, 38, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 8px;
}
.nav .logo-d { opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
.nav.scrolled .logo-d { opacity: 1; transform: none; }
.nav-links { display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 9px 16px; border-radius: 999px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(201,168,255,.12); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  padding: 10px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,255,.35); }

/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden;
  isolation: isolate;
}
.sky {
  position: absolute; inset: 0; z-index: -12;
  background:
    radial-gradient(ellipse 50% 40% at 50% 44%, rgba(240,171,252,.28), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(139,92,246,.6), transparent 70%),
    linear-gradient(180deg, #07030f 0%, #170a33 30%, #3a1c78 60%, #7b4fd0 85%, #a77ff0 100%);
}
/* aurora: faixas de luz roxa/rosa se mexendo no céu */
.aurora { position: absolute; inset: -10% -10% 30% -10%; z-index: -11; pointer-events: none; filter: blur(50px); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 60%; height: 34%; left: 5%; top: 18%; background: #a855f7; animation: aur1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 50%; height: 26%; right: 0; top: 8%; background: #ec4899; opacity: .6; animation: aur2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 45%; height: 22%; left: 35%; top: 34%; background: #6366f1; opacity: .7; animation: aur1 26s ease-in-out infinite alternate-reverse; }
@keyframes aur1 { to { transform: translate(18%, 10%) rotate(8deg) scaleX(1.2); } }
@keyframes aur2 { to { transform: translate(-22%, 14%) rotate(-10deg) scaleX(.85); } }

.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -10; }
.moon {
  position: absolute; z-index: -9; top: 13%; right: 15%;
  width: 104px; height: 104px; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fff 0%, #f4ecff 42%, #cdb6ff 100%);
  box-shadow: 0 0 50px 14px rgba(233,213,255,.45), 0 0 180px 70px rgba(167,139,250,.28);
  will-change: transform;
}
.moon span { /* crateras sutis */
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 62% 30%, rgba(160,130,220,.28) 0 9%, transparent 10%),
    radial-gradient(circle at 40% 64%, rgba(160,130,220,.22) 0 12%, transparent 13%),
    radial-gradient(circle at 70% 66%, rgba(160,130,220,.18) 0 6%, transparent 7%);
}
.layer {
  position: absolute; left: -5%; bottom: 0; width: 110%; height: 80%;
  will-change: transform; pointer-events: none;
}
.m-far  { z-index: -7; }
.m-mid  { z-index: -4; height: 72%; }
.m-near { z-index: -2; height: 64%; }

/* logo gigante */
.hero-logo {
  position: absolute; z-index: -6; left: 0; right: 0; top: 13%;
  display: grid; place-items: center; pointer-events: none; will-change: transform;
}
.hero-logo > * { grid-area: 1 / 1; transform: scale(var(--s, 1)); }
.big-d {
  font-family: "Great Vibes", cursive;
  font-size: clamp(260px, 34vw, 50vh);
  line-height: 1.1; padding: .1em .2em 0;
  background: linear-gradient(170deg, #ffffff 0%, #f3eaff 30%, #c9a8ff 60%, rgba(167,139,250,.45) 90%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(240,171,252,.45)) drop-shadow(0 0 80px rgba(139,92,246,.5));
  animation: surgir 1.6s cubic-bezier(.2,.8,.2,1) both;
  position: relative;
}
.big-d::after { /* reflexo de luz passando */
  content: "D"; position: absolute; inset: 0; padding: .1em .2em 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.95) 48%, transparent 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brilho 6s ease-in-out 1.6s infinite;
}
@keyframes brilho { 0% { background-position: 130% 0; } 45%, 100% { background-position: -130% 0; } }
@keyframes surgir { from { opacity: 0; transform: translateY(50px) scale(.9); filter: blur(12px); } }
.halo {
  width: clamp(260px, 36vw, 480px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,171,252,.35), rgba(139,92,246,.18) 45%, transparent 70%);
  animation: pulsar 5s ease-in-out infinite;
}
@keyframes pulsar { 50% { opacity: .55; } }

/* ---- nuvens do céu ---- */
.clouds { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.clouds-back  { z-index: -5; }
.clouds-front { z-index: -3; }
.cloud {
  position: absolute; left: 0; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%, var(--cc, #fff) 0%, var(--cc, #fff) 30%, rgba(255,255,255,0) 68%);
  filter: url(#nuvem);
  will-change: transform;
}
.c1 { width: 520px; height: 200px; top: 30%; --cc: #f6efff; opacity: .5; animation: drift 90s linear infinite -10s; }
.c2 { width: 380px; height: 150px; top: 20%; --cc: #e6d8ff; opacity: .3; animation: drift 120s linear infinite -70s; }
.c3 { width: 640px; height: 230px; top: 42%; --cc: #fbf7ff; opacity: .45; animation: drift 100s linear infinite -55s; }
.c4 { width: 820px; height: 280px; top: 56%; --cc: #efe4ff; opacity: .7; animation: drift 70s linear infinite -5s; }
.c5 { width: 700px; height: 240px; top: 62%; --cc: #ffffff; opacity: .55; animation: drift 80s linear infinite -45s; }
.c6 { width: 900px; height: 300px; top: 52%; --cc: #e2d2ff; opacity: .55; animation: drift 95s linear infinite -75s; }
@keyframes drift { from { transform: translateX(-60vw); } to { transform: translateX(120vw); } }

.hero-content {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 15%;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; padding: 0 20px;
  animation: fadeUp 1.2s .6s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.hero-kicker {
  font-family: "Great Vibes", cursive; font-size: clamp(34px, 4.4vw, 50px);
  color: #efe4ff; text-shadow: 0 0 24px rgba(201,168,255,.8), 0 2px 10px rgba(20,10,38,.6);
}

.btn-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--violet-2), var(--violet) 55%, #6d28d9);
  color: #fff;
  box-shadow: 0 10px 30px rgba(139,92,246,.45), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); animation: varrer 4s ease-in-out 2s infinite;
}
@keyframes varrer { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(139,92,246,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:active { transform: scale(.97); }

/* ============ DIVISÓRIA: MAR DE NUVENS ============ */
.mar-nuvens {
  position: relative; z-index: 5; height: 260px; margin-top: -170px; margin-bottom: -60px;
  pointer-events: none; overflow: hidden;
}
.onda { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; will-change: transform; }
.o1 { animation: mar 90s linear infinite; }
.o2 { animation: mar 60s linear infinite reverse; }
.o3 { animation: mar 40s linear infinite; }
@keyframes mar { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brilhos { position: absolute; inset: 0; }
.brilhos i {
  position: absolute; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px rgba(240,171,252,.8);
  animation: subir 8s ease-in-out infinite;
  opacity: 0;
}
@keyframes subir {
  0% { opacity: 0; transform: translateY(20px) scale(.5); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) scale(1.1); }
}

/* ============ VITRINE ============ */
.vitrine { position: relative; z-index: 6; max-width: 1240px; margin: 0 auto; padding: 40px clamp(14px, 4vw, 40px) 100px; scroll-margin-top: 40px; }
.vitrine-head { text-align: center; margin-bottom: 30px; }
.vitrine-head h2 {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(52px, 8vw, 96px); letter-spacing: .01em; text-transform: uppercase; line-height: .95;
  background: linear-gradient(180deg, #fff, var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vitrine-head p { color: var(--muted); margin-top: 10px; }

.tabs {
  position: sticky; top: 76px; z-index: 20;
  display: flex; gap: 4px; width: fit-content; max-width: 100%;
  margin: 0 auto 40px; padding: 6px; border-radius: 999px;
  background: rgba(28,15,54,.85); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.tab {
  position: relative; z-index: 1; white-space: nowrap;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--muted);
  transition: color .3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.tab.active { color: #fff; }
.tab-ico { font-size: 15px; }
.l-short { display: none; }
.tab-pill {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-2), var(--violet) 60%, #6d28d9);
  box-shadow: 0 6px 22px rgba(139,92,246,.5);
  transition: left .45s cubic-bezier(.65,0,.25,1), width .45s cubic-bezier(.65,0,.25,1);
}

.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* ============ CARD: fundo roxo + brilho roxo atrás da roupa recortada ============ */
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .45s;
  opacity: 0; transform: translateY(26px);
  animation: cardIn .6s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes cardIn { to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-8px); border-color: rgba(201,168,255,.45); box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 0 60px rgba(139,92,246,.25); }
.card.destaque { animation: cardIn .6s forwards, destaque 1.4s ease-in-out .4s 3; }
@keyframes destaque { 50% { box-shadow: 0 0 0 3px var(--lilac), 0 0 60px rgba(201,168,255,.7); } }

.card-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at var(--gx, 50%) var(--gy, 45%), rgba(240,171,252,.18), transparent 45%),
    radial-gradient(circle at 50% 45%, #4a2a95 0%, #2b1760 45%, #170b33 85%);
}
.card-glow { /* círculo de luz roxa atrás da peça */
  position: absolute; z-index: -1; left: 50%; top: 47%; width: 72%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(196,160,255,.55) 0%, rgba(139,92,246,.35) 40%, transparent 70%);
  filter: blur(8px);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.card:hover .card-glow { transform: translate(-50%, -50%) scale(1.15); }
.card-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 9%;
  filter: drop-shadow(0 0 14px rgba(167,139,250,.75)) drop-shadow(0 0 2px rgba(240,220,255,.9)) drop-shadow(0 14px 18px rgba(10,4,25,.55));
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card-media img { transform: scale(1.07) translateY(-2%); }
.card-vazio { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; opacity: .5; }

.badge-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--text); color: var(--bg);
}
.badge-store {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px;
  background: rgba(20,10,38,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; gap: 6px;
}
.badge-store::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, #fff); }

.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-price { font-family: "Anton", sans-serif; font-size: 22px; letter-spacing: .02em; color: var(--lilac); }
.card-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 999px;
  background: rgba(201,168,255,.12); border: 1px solid rgba(201,168,255,.3);
  transition: background .25s, color .25s, border-color .25s;
}
.card:hover .card-btn { background: var(--text); color: var(--bg); border-color: var(--text); }
.card-link { position: absolute; inset: 0; z-index: 3; }
.card:active { transform: scale(.98); }

.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }

/* ============ CTA TIKTOK ============ */
.cta-tiktok { padding: 0 clamp(14px, 4vw, 40px) 90px; }
.cta-inner {
  max-width: 1160px; margin: 0 auto; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 38px clamp(24px, 4vw, 52px); border-radius: 30px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(240,171,252,.25), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(139,92,246,.4), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.cta-inner > div { flex: 1; min-width: 220px; }
.cta-inner h3 { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .01em; text-transform: uppercase; }
.cta-inner p { color: var(--muted); margin-top: 6px; }
.cta-d {
  font-family: "Great Vibes", cursive; font-size: 110px; line-height: .8; padding: 0 .1em;
  background: linear-gradient(160deg, #fff, var(--lilac), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 20px rgba(167,139,250,.5));
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 46px 20px calc(36px + env(safe-area-inset-bottom)); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.footer-links { display: flex; gap: 22px; font-weight: 600; font-size: 14px; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.copy { font-size: 12px; color: #6f6390; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ CELULAR ============ */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .logo-d { font-size: 46px; }
  .nav-cta { padding: 9px 15px; }
  .moon { width: 58px; height: 58px; top: 10%; right: 7%; }
  .hero-logo { top: 17%; }
  .big-d { font-size: clamp(200px, 60vw, 340px); }
  .halo { width: 70vw; }
  .layer { left: -35%; width: 170%; }
  .m-far { height: 66%; } .m-mid { height: 58%; } .m-near { height: 50%; }
  .hero-content { bottom: 17%; }
  .c1 { width: 260px; height: 100px; top: 28%; opacity: .5; }
  .c2 { width: 200px; height: 80px;  top: 18%; opacity: .3; }
  .c3 { width: 300px; height: 110px; top: 40%; opacity: .45; }
  .c4 { width: 380px; height: 140px; top: 56%; opacity: .55; }
  .c5 { width: 320px; height: 120px; top: 64%; opacity: .45; }
  .c6 { width: 400px; height: 150px; top: 50%; opacity: .4; }
  .mar-nuvens { height: 220px; margin-top: -170px; margin-bottom: -40px; }
  .onda { width: 400%; }
  .o1 { animation-duration: 70s; } .o2 { animation-duration: 50s; } .o3 { animation-duration: 34s; }

  .vitrine { padding-top: 24px; }
  .tabs { top: 66px; width: 100%; margin-bottom: 22px; }
  .tab { flex: 1; justify-content: center; padding: 11px 8px; font-size: 13px; gap: 6px; }
  .l-full { display: none; } .l-short { display: inline; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { border-radius: 18px; }
  .card-body { padding: 11px 12px 13px; gap: 6px; }
  .card-name { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-price { font-size: 19px; }
  .card-btn { display: none; }
  .badge-store { font-size: 10px; padding: 4px 8px; bottom: 8px; left: 8px; gap: 5px; }
  .badge-store::before { width: 6px; height: 6px; }
  .badge-tag { top: 8px; left: 8px; font-size: 9px; padding: 5px 8px; }
  .cta-inner { flex-direction: column; text-align: center; padding: 30px 22px; }
  .cta-d { font-size: 90px; }
}
@media (max-width: 360px) { .tab-ico { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
