/* Love in 3D — ateliê escuro, coral (Love) + violeta (3D). Paleta: marketing/love-in-3d/IDENTIDADE-MARCA.md */
:root {
  --ink: #140E17;
  --ink-2: #1C1322;
  --ink-3: #261A2E;
  --line: rgba(255, 240, 245, .12);
  --text: #FBF6F5;
  --soft: #C9BFCB;
  --faint: #8C8496;
  --love: #E14C67;
  --love-2: #FF7A90;
  --volt: #7A5CFF;
  --volt-2: #5B3FE0;
  --ok: #4FD6A0;
  --r: 22px;
  --f-display: "Fraunces", Georgia, serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* grão de filme */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--love-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.02; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 5vw, 62px); }
em { font-style: italic; background: linear-gradient(90deg, var(--love-2), var(--volt)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
p { margin: 0; }
section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; transition: background .3s, backdrop-filter .3s; }
.nav.solid { background: rgba(20, 14, 23, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--f-display); font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.logo i { font: 700 11px var(--f-mono); font-style: normal; padding: 4px 7px; border-radius: 7px; background: var(--volt-2); letter-spacing: .06em; }
.logo b { color: var(--love-2); font-weight: 700; }
.links { display: flex; gap: 6px; align-items: center; }
.links a { padding: 8px 14px; border-radius: 99px; color: var(--soft); font-size: 15px; transition: .2s; }
.links a:hover, .links a[aria-current] { color: var(--text); background: rgba(255,255,255,.07); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 8px 12px; font: inherit; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ink-2); padding: 12px 20px 20px; display: none; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 14px; font-size: 18px; }
}

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 99px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font: 600 16px var(--f-body); transition: transform .2s, box-shadow .25s, background .2s; }
.btn.primary { background: linear-gradient(120deg, var(--love), var(--volt-2)); color: #fff; box-shadow: 0 10px 40px -10px rgba(225, 76, 103, .7); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(122, 92, 255, .8); }
.btn.ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn.ghost:hover { background: rgba(255,255,255,.09); }
.btn.small { padding: 10px 18px; font-size: 14px; }

/* hero */
.hero { min-height: 100svh; padding: 120px 0 60px; display: grid; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 78% 40%, rgba(122, 92, 255, .30), transparent 70%),
  radial-gradient(45% 45% at 15% 85%, rgba(225, 76, 103, .22), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 108px); margin: 18px 0 24px; }
.hero p.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--soft); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stage { position: relative; aspect-ratio: 1 / 1.05; min-height: 380px; }
#hero3d { position: absolute; inset: 0; }
#hero3d canvas { width: 100%; height: 100%; display: block; }
.hud { position: absolute; left: 4%; bottom: 6%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(20,14,23,.6); backdrop-filter: blur(8px); }
.hud .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; box-shadow: 0 0 12px var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 20px; }
.ticker { display: flex; gap: 32px; overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 14px 0; color: var(--faint); }
.ticker span { animation: slide 34s linear infinite; display: flex; gap: 32px; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .stage { min-height: 340px; order: -1; margin-top: 10px; } .hero { padding-top: 96px; } }

/* passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; counter-reset: s; }
.step { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--ink-2), transparent); counter-increment: s; }
.step::before { content: "0" counter(s); font: 700 13px var(--f-mono); color: var(--love-2); }
.step h3 { font-size: 26px; margin: 18px 0 8px; }
.step p { color: var(--soft); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* catálogo */
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 28px; }
.chip { padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--soft); cursor: pointer; font: 500 15px var(--f-body); transition: .2s; }
.chip:hover { color: var(--text); border-color: var(--faint); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; display: flex; flex-direction: column; transform-style: preserve-3d; }
.card:hover { transform: translateY(-6px); border-color: rgba(255, 122, 144, .5); box-shadow: 0 30px 60px -30px rgba(122, 92, 255, .55); }
.card .ph { aspect-ratio: 4/3.6; overflow: hidden; background: var(--ink-3); position: relative; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.card:hover .ph img { transform: scale(1.06); }
.card .ph.art { display: grid; place-items: center; font: 700 56px var(--f-display); color: rgba(255,255,255,.9);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, transparent 2px 7px), linear-gradient(135deg, var(--love), var(--volt-2)); }
.card .tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(20,14,23,.72); backdrop-filter: blur(6px); font: 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.15; }
.card p { color: var(--soft); font-size: 14.5px; flex: 1; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.price { font: 700 20px var(--f-display); }
.price small { display: block; font: 11px var(--f-mono); color: var(--faint); letter-spacing: .06em; }
.card .mwlink { font-size: 13px; color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }
.card .mwlink:hover { color: var(--love-2); }
.note { margin-top: 28px; color: var(--faint); font-size: 14px; }

/* faixa makerworld */
.mw { background: linear-gradient(180deg, transparent, var(--ink-2) 20%, var(--ink-2) 80%, transparent); }
.mw .box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.search { display: flex; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--ink); margin: 26px 0 16px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 17px var(--f-body); padding: 0 18px; outline: 0; }
.search input::placeholder { color: var(--faint); }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.sugg a { padding: 7px 14px; font-size: 14px; border: 1px dashed var(--line); border-radius: 99px; color: var(--soft); }
.sugg a:hover { border-color: var(--love-2); color: var(--text); }
.flow { display: grid; gap: 14px; }
.flow div { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink); }
.flow b { font: 700 13px var(--f-mono); color: var(--volt); padding-top: 3px; }
.flow span { color: var(--soft); font-size: 15.5px; }
.flow strong { color: var(--text); display: block; font-weight: 600; }
@media (max-width: 900px) { .mw .box { grid-template-columns: 1fr; } }

/* teaser de acompanhamento + formulários */
.track-box { border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 64px); background:
  radial-gradient(70% 90% at 100% 0%, rgba(122, 92, 255, .25), transparent 60%), var(--ink-2); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .track-box { grid-template-columns: 1fr; } }
.code-form { display: flex; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--ink); }
.code-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 600 17px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 0 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font: 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea, .field select { background: var(--ink); border: 1px solid var(--line); border-radius: 14px; color: var(--text); padding: 14px 16px; font: 16px var(--f-body); }

/* rodapé */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; }

/* revelação */
.rv { opacity: 0; transform: translateY(28px); }
.no-js .rv, .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .ticker span { animation: none; } * { transition: none !important; } }

/* páginas internas */
.page { padding-top: 140px; min-height: 80svh; }
.page h1 { font-size: clamp(40px, 6vw, 84px); margin: 14px 0 18px; }
.lead { color: var(--soft); font-size: 19px; max-width: 38em; }

/* acompanhamento */
.panel { border: 1px solid var(--line); border-radius: 28px; background: var(--ink-2); padding: clamp(22px, 4vw, 44px); margin-top: 36px; }
.panel-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: start; }
.panel-top h2 { font-size: clamp(28px, 4vw, 44px); }
.badge { padding: 7px 14px; border-radius: 99px; font: 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(79,214,160,.12); color: var(--ok); border: 1px solid rgba(79,214,160,.3); }
.timeline { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 28px 44px; color: var(--faint); }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li i { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--ink-2); }
.timeline li.done { color: var(--text); } .timeline li.done i { background: var(--ok); border-color: var(--ok); } .timeline li.done::before { background: var(--ok); }
.timeline li.now { color: var(--text); } .timeline li.now i { border-color: var(--love-2); box-shadow: 0 0 0 6px rgba(225,76,103,.2); animation: pulse 1.6s infinite; background: var(--love); }
.timeline strong { display: block; font-size: 18px; } .timeline small { font-size: 14px; }
.live { margin-top: 12px; display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 24px; border-radius: 22px; background: var(--ink); border: 1px solid var(--line); }
.ring { position: relative; width: 160px; height: 160px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring .bg { stroke: var(--ink-3); } .ring .fg { stroke: url(#g); transition: stroke-dashoffset .8s; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 38px var(--f-display); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.stats div span { display: block; font: 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.stats div strong { font: 600 22px var(--f-display); }
@media (max-width: 560px) { .live { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.msg { margin-top: 18px; color: var(--soft); min-height: 1.6em; }
.msg.err { color: var(--love-2); }
