/* ============ Achou Comprou · tema ============ */
:root {
  --bg: #07080d;
  --bg-2: #0d0f17;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .08);
  --border-hi: rgba(255, 230, 0, .45);
  --text: #eef0f7;
  --muted: #8d94a8;
  --yellow: #ffe600;
  --amber: #ffb400;
  --cyan: #2ee6ff;
  --violet: #7b5cff;
  --green: #22e39a;
  --red: #ff5470;
  --grad: linear-gradient(120deg, #fff36b 0%, #ffe600 35%, #ffb400 100%);
  --grad-cool: linear-gradient(120deg, var(--cyan), var(--violet));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: #111; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Fundo tecnológico ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: float 18s ease-in-out infinite alternate; }
.glow.g1 { width: 520px; height: 520px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(255, 214, 0, .55), transparent 70%); }
.glow.g2 { width: 620px; height: 620px; top: 120px; right: -220px; background: radial-gradient(circle, rgba(123, 92, 255, .45), transparent 70%); animation-delay: -6s; }
@keyframes float { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #15130a; box-shadow: 0 8px 24px -8px rgba(255, 200, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(255, 200, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .5); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .18); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 10px; }
.w100 { width: 100%; }

/* ---------- Topo ---------- */
.topbar { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.topbar.scrolled { background: rgba(7, 8, 13, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--border); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font: 800 20px/1 var(--font-display); letter-spacing: -.02em; }
.brand-name b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topnav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 14px; color: var(--muted); }
.topnav a:not(.btn):hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 56px; text-align: center; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: clamp(140px, 18vw, 200px); height: auto; margin-bottom: 28px; filter: drop-shadow(0 12px 40px rgba(196, 164, 97, .25)); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--muted);
  backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 227, 154, .6); animation: ping 2s infinite; display: inline-block; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 227, 154, 0); } }
.hero h1 {
  font: 800 clamp(40px, 7vw, 84px)/1.02 var(--font-display); letter-spacing: -.045em;
  margin: 26px 0 18px; text-wrap: balance;
}
.lead { max-width: 600px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); margin: 0 0 34px; }

.search {
  display: flex; align-items: center; gap: 10px; width: min(640px, 100%);
  padding: 8px 8px 8px 20px; border-radius: 18px; background: rgba(13, 15, 23, .75);
  border: 1px solid var(--border); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 230, 0, 0);
  backdrop-filter: blur(12px); transition: box-shadow .25s, border-color .25s;
}
.search:focus-within { border-color: var(--border-hi); box-shadow: var(--shadow), 0 0 0 5px rgba(255, 230, 0, .1); }
.search .ico { color: var(--muted); width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: 0; color: var(--text); font: 500 16px var(--font); }
.search input::placeholder { color: #6b7286; }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 0; margin: 30px 0 0; color: var(--muted); font-size: 14px; }
.hero-stats li { display: inline-flex; align-items: center; gap: 8px; }
.hero-stats strong { color: var(--text); font-family: var(--font-display); }
.hero-stats .ico { color: var(--yellow); }

/* ---------- Seções ---------- */
.section { padding: 40px 0; scroll-margin-top: 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font: 700 clamp(24px, 3vw, 32px)/1.15 var(--font-display); letter-spacing: -.03em; margin: 4px 0 0; }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }

.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.mini-search:focus-within { border-color: var(--border-hi); }
.mini-search .ico { color: var(--muted); width: 16px; height: 16px; }
.mini-search input { background: none; border: 0; outline: 0; color: var(--text); font: 500 14px var(--font); width: 180px; }
select {
  height: 40px; padding: 0 36px 0 14px; border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238d94a8' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--border); color: var(--text); font: 500 14px var(--font); appearance: none; cursor: pointer;
}
select option { background: var(--bg-2); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--muted); transition: .2s;
}
.chip small { opacity: .6; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .2); }
.chip.on { background: rgba(255, 230, 0, .12); border-color: var(--border-hi); color: var(--yellow); }

/* ---------- Cards de produto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 18px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #2a2e3b transparent; }
.rail .card { scroll-snap-align: start; }

.card {
  position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--border); overflow: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 230, 0, .7), transparent 40%, transparent 60%, rgba(123, 92, 255, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8), 0 0 40px -12px rgba(255, 214, 0, .25); }
.card:hover::before { opacity: 1; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; background: var(--bg-2); color: #3a3f50; }
.noimg .ico { width: 48px; height: 48px; }
.tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; font: 700 12px/1 var(--font); }
.tag-off { background: var(--green); color: #04261a; }
.tag-badge { background: #111420; color: var(--yellow); border: 1px solid rgba(255, 230, 0, .35); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.card-cat { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-title { font: 600 15px/1.4 var(--font); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card-note { margin: 0; font-size: 13px; color: var(--muted); font-style: italic; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { display: flex; flex-direction: column; margin-top: auto; padding-top: 4px; }
.card-price s { color: var(--muted); font-size: 14px; text-decoration-thickness: 1.5px; }
.card-price .checked { color: #5d6478; font-size: 11px; margin-top: 2px; }
.card-desc { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-drop { background: #ff5470; color: #fff; animation: pulse-drop 2s ease-in-out infinite; }
@keyframes pulse-drop { 50% { box-shadow: 0 0 0 4px rgba(255, 84, 112, .25); } }
.card-price strong { font: 700 24px/1.15 var(--font-display); letter-spacing: -.02em; }
.card-price strong.soft { font-size: 18px; color: var(--muted); }
.ship { font-size: 13px; font-weight: 600; color: var(--green); }
.btn-buy { margin-top: 6px; height: 42px; width: 100%; border-radius: 12px; background: rgba(255, 230, 0, .1); color: var(--yellow); border: 1px solid rgba(255, 230, 0, .25); font-weight: 600; font-size: 14px; }
.card:hover .btn-buy { background: var(--grad); color: #15130a; border-color: transparent; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { width: 40px; height: 40px; margin: 0 auto 10px; color: #3a3f50; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.step::after { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 0, .14), transparent 70%); }
.step-n { font: 800 14px var(--font-display); background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font: 700 20px var(--font-display); margin: 10px 0 6px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Rodapé ---------- */
.footer { margin-top: 60px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, .25); }
.footer-in { display: flex; justify-content: space-between; gap: 40px; padding: 40px 0; flex-wrap: wrap; }
.footer-in > div:first-child { max-width: 560px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-size: 14px; }
.footer-links a:hover { color: var(--yellow); }

/* ---------- Páginas legais ---------- */
.legal { max-width: 860px; padding: 40px 0 20px; }
.legal h1 { font: 800 clamp(30px, 5vw, 44px)/1.1 var(--font-display); letter-spacing: -.03em; margin: 8px 0 6px; }
.legal h2 { font: 700 21px var(--font-display); margin: 36px 0 10px; scroll-margin-top: 90px; }
.legal p, .legal li { color: #c5cad8; }
.legal a:not(.btn), .linklike { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { padding-left: 20px; }
.legal .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; margin: 12px 0; }
.legal .table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal .table th, .legal .table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal .table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.legal .table tr:last-child td { border-bottom: 0; }
.legal code { font-size: 13px; color: var(--yellow); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.toc a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--muted) !important; text-decoration: none !important; }
.toc a:hover { color: var(--text) !important; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-links .linklike { color: inherit; text-decoration: none; font-size: 14px; text-align: right; }
.footer-links .linklike:hover { color: var(--yellow); }
.footer a[href^="mailto"] { color: var(--yellow); }

/* ---------- Aviso de cookies, convite de alertas e aviso rápido ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; }
.consent-in {
  width: min(880px, 100%); display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 18px;
  background: rgba(13, 15, 23, .94); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.consent p { margin: 0; font-size: 14px; color: #c5cad8; }
.consent a { color: var(--yellow); text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; flex: none; }

.push-prompt {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(380px, calc(100% - 32px)); display: flex; gap: 14px;
  padding: 18px; border-radius: 18px; background: rgba(13, 15, 23, .96); border: 1px solid rgba(255, 230, 0, .35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px -10px rgba(255, 214, 0, .3); animation: pop .35s cubic-bezier(.2, .8, .2, 1);
}
.push-prompt strong { font-family: var(--font-display); }
.push-prompt p { margin: 6px 0 12px; font-size: 13px; color: #c5cad8; }
.push-ico { font-size: 28px; line-height: 1; }
.push-actions { display: flex; gap: 8px; }
.push-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; padding: 12px 18px; border-radius: 12px;
  background: #15182a; border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 14px; max-width: calc(100% - 32px);
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.no-js .reveal, .no-io .reveal { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .topnav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 32px; }
  .search { padding-left: 14px; }
  .search .btn { padding: 0 14px; }
  .controls, .mini-search { width: 100%; }
  .mini-search input { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px; }
  .card-price strong { font-size: 19px; }
  .card-title { font-size: 14px; }
  .btn-buy { font-size: 12px; height: 38px; }
  .footer-links { align-items: flex-start; }
  .footer-links .linklike { text-align: left; }
  .consent-in { flex-direction: column; align-items: stretch; gap: 12px; }
  .consent-actions .btn { flex: 1; }
  .push-prompt { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
