/* ==========================================================================
   JordanX Store — style.css
   Paleta: preto frio, azul elétrico e violeta. Casca com as artes azuis da loja.
   Tipografia: Manrope (texto) + JetBrains Mono (rótulos e números).
   ========================================================================== */

:root {
  --bg: #05060b;
  --surf: #0a0c13;
  --card: #0f121c;
  --card-2: #141826;

  --ink: #ffffff;
  --ink2: #ccd2e4;
  --dim: #878ea3;
  --faint: #5f6679;

  --line: rgba(255, 255, 255, 0.07);
  --line2: rgba(255, 255, 255, 0.14);

  --blue: #0b9dff;
  --blue-hi: #57c9ff;
  --violet: #7d5cff;
  --a1: #0b8dff;
  --a2: #00c6ff;
  --btn1: #0a63c9;
  --btn2: #0b86e0;
  --glow: rgba(20, 150, 255, 0.5);

  --ok: #5be49b;
  --warn: #ffb84d;
  --danger: #ff4a4a;

  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Clash Display", "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --wrap: 1280px;
  --header-h: 78px;
  --radius: 20px;
  --radius-s: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body > main { flex: 1 0 auto; }

/* Campo ambiente — deriva lenta por trás de tudo (o pedido do fundo vivo).
   Fixo, em camada negativa: o fundo opaco vem do html, então nada cobre. */
body::before {
  content: ""; position: fixed; inset: -35%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 22% 18%, rgba(63, 123, 255, 0.13), transparent 70%),
    radial-gradient(38% 42% at 82% 76%, rgba(125, 92, 255, 0.10), transparent 70%),
    radial-gradient(50% 40% at 62% 6%, rgba(63, 123, 255, 0.07), transparent 72%);
  animation: fieldDrift 52s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes fieldDrift {
  from { transform: translate3d(-3%, -2%, 0) rotate(-1.4deg); }
  to   { transform: translate3d(3%, 2.5%, 0) rotate(1.4deg); }
}

/* Grão fino: disfarça banding dos gradientes e dá textura de impressão */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* Barra de rolagem no tom da loja */
* { scrollbar-width: thin; scrollbar-color: #232a3d transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2436; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2b334a; }

::selection { background: var(--blue); color: #04060d; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img, svg, a { -webkit-user-drag: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 14px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 300; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 14px; }

.wrap { width: min(100% - 80px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 900px; }

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }
.section--navy { background: linear-gradient(180deg, var(--bg), var(--surf) 45%, var(--bg)); }
section[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ==========================================================================
   Rótulo mono — o detalhe que dá cara de produto real
   ========================================================================== */
.mono { font-family: var(--font-mono); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink2);
}
.kicker b {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-hi);
  box-shadow: 0 0 0 4px rgba(63, 123, 255, 0.16), 0 0 14px 2px rgba(63, 123, 255, 0.55);
}

/* Máscara de entrada dos títulos */
.ln { display: block; overflow: hidden; padding: 0.1em 0 0.16em; margin: -0.1em 0 -0.16em; }
.ln > span { display: block; }

.section-head { max-width: 660px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.025em; }
.section-head p { margin-top: 12px; color: var(--dim); font-size: 15px; line-height: 1.6; }

.section-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-bar h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); letter-spacing: -0.025em; }
.section-bar p { margin-top: 10px; font-size: 15px; color: var(--dim); }
@media (max-width: 760px) { .section-bar { flex-direction: column; align-items: stretch; } }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 14px;
  font-weight: 800; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.btn--primary {
  background: linear-gradient(135deg, var(--btn1), var(--btn2));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 16px 38px -18px var(--glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 22px 48px -18px var(--glow);
}
.btn--light { background: #fff; color: #000; }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--line2); color: var(--ink2); font-weight: 700; }
.btn--ghost:hover {
  border-color: rgba(122, 166, 255, 0.55);
  background: rgba(63, 123, 255, 0.09);
  color: #fff;
}
.btn--block { width: 100%; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 11px; }
.btn--lg { height: 58px; font-size: 16px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Varredura de brilho no botão de ação */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-110%);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:not([disabled]):hover::after { transform: translateX(110%); transition: transform .7s var(--ease-snap); }
}

/* Seta que avança no hover — CTAs principais */
.btn__arrow { display: inline-block; font-weight: 700; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.link-btn { font-weight: 700; font-size: 13.5px; color: var(--dim); transition: color .2s; }
.link-btn:hover {
  color: #fff;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(122, 166, 255, 0.75);
}
.link-btn--lg { font-size: 14.5px; }
.text-link {
  display: inline-block; color: var(--blue-hi); font-weight: 700; font-size: 14px;
  transition: color .2s, transform .3s var(--ease);
}
.text-link:hover { color: #fff; transform: translateX(3px); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 7, 12, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .38s var(--ease); }
/* Colapsa ao rolar — o site "assenta" em vez de ficar estático no topo */
.site-header.is-scrolled { background: rgba(5, 6, 11, 0.94); box-shadow: 0 24px 48px -34px rgba(0, 0, 0, 0.95); }
.site-header.is-scrolled .site-header__inner { height: 62px; }
.site-header.is-scrolled .brand img { height: 38px; }
.reading-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); transform: scaleX(0); transform-origin: left; }

.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; transition: transform .4s var(--ease); }
.brand:hover { transform: translateY(-1px); }
.brand img { height: 46px; width: auto; max-width: 168px; object-fit: contain; transition: height .38s var(--ease); }
.brand__name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; }
.brand__name b { color: var(--blue-hi); }

.nav { display: flex; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 15px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: var(--dim);
  transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: var(--card); }
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--blue-hi);
  transform: scaleX(0); transform-origin: left;
  transition: transform .34s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line2); border-radius: 12px;
  transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: rgba(107, 165, 255, 0.5); background: rgba(59, 130, 255, 0.08); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 800;
}
.cart-badge[hidden] { display: none; }
.cart-badge.is-bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% 12%, rgba(125, 92, 255, 0.15), transparent 62%),
    radial-gradient(680px 460px at 8% 6%, rgba(63, 123, 255, 0.13), transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
/* Aurora que segue o cursor pelo hero — leve, sem poluição */
.hero__spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.hero__spot::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 130, 255, 0.13), rgba(125, 92, 255, 0.05) 42%, transparent 68%);
  transform: translate3d(var(--sx, 60%), var(--sy, 35%), 0);
  transition: opacity .6s var(--ease), transform .55s var(--ease);
  will-change: transform;
}
.hero__spot[hidden] { display: none; }
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 40px; align-items: center;
  padding-block: clamp(52px, 7vw, 96px) clamp(56px, 7vw, 96px);
}
.hero__titlewrap { position: relative; margin: 18px 0 22px; }
.hero__title {
  font-size: clamp(3.8rem, 7.6vw, 6.8rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 0.92;
  margin: 0; position: relative; z-index: 1;
}
.hero__title .accent { color: var(--blue-hi); }
.hero__title .ln > span { perspective: 900px; }
.hero__char { display: inline-block; transform-origin: 50% 100%; }
html.anim .hero__char { animation: typeReveal .95s var(--ease-lux) backwards; animation-delay: calc(.12s + var(--char, 0) * 38ms); }
@keyframes typeReveal {
  from { opacity: 0; transform: translate3d(0, 105%, 0) rotateX(-65deg) rotateZ(4deg); }
  to { opacity: 1; transform: none; }
}

.hero__sub { font-size: clamp(1.08rem, 2vw, 1.35rem); font-weight: 600; color: var(--ink2); max-width: 480px; line-height: 1.45; }
.hero__text { margin-top: 10px; color: var(--dim); max-width: 460px; font-size: 15px; }
.hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero__selos { display: flex; gap: 10px 22px; margin-top: 30px; flex-wrap: wrap; font-size: 12px; color: var(--dim); }
.hero__selos span { display: flex; align-items: center; gap: 8px; }
.hero__selos span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: none; }

/* Palco: leque de artes flutuando */
.palco { position: relative; height: 500px; isolation: isolate; }
.palco::before {
  content: ""; position: absolute; inset: 12% -4% -2% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 58% 55%, rgba(11, 157, 255, .1), transparent 67%);
}
.palco__c { position: absolute; width: min(58%, 340px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 44px 90px -38px rgba(0, 0, 0, 0.95); }
.palco__c img { width: 100%; height: 100%; object-fit: cover; }
.palco__c--1 { right: 46%; top: 0; }
.palco__c--2 { right: 22%; top: 76px; }
.palco__c--3 { right: 0; top: 150px; z-index: 3; }

/* Entrada escalonada */
html.anim .rise > * { animation: rise .8s var(--ease) backwards; }
.rise > :nth-child(2) { animation-delay: .08s; }
.rise > :nth-child(3) { animation-delay: .16s; }
.rise > :nth-child(4) { animation-delay: .24s; }
.rise > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
html.anim .rise > .hero__titlewrap,
html.anim .rise > .hero__sub { animation: none; }
html.anim .hero .hero__sub.split.visto .w > span { animation-delay: calc(.38s + var(--word, 0) * 30ms); }
html.anim .rise > .hero__text { animation-delay: .55s; }
html.anim .rise > .hero__cta { animation-delay: .68s; }
html.anim .rise > .hero__selos { animation-delay: .8s; }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .palco { width: 100%; height: 500px; max-width: 560px; margin: 28px auto 0; }
}
@media (max-width: 700px) {
  .palco { height: calc((100vw - 36px) * .44 + 112px); margin-top: 28px; }
  .palco__c { width: 44%; }
  .palco__c--1 { right: 44%; }
  .palco__c--2 { right: 20%; top: 48px; }
  .palco__c--3 { top: 92px; }
}

/* ==========================================================================
   Tópicos de compra — quatro blocos independentes, sem faixa de ponta a ponta
   ========================================================================== */
.trust { border: 0; background: none; padding-block: 4px 20px; }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust__list li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 38px;
  align-content: start; gap: 14px; padding: 24px 22px 26px; min-width: 0;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 20, 33, .7), rgba(10, 12, 19, .5));
  transition: background .4s, border-color .35s, transform .45s var(--ease);
}
.trust__list li::after { content: ""; position: absolute; bottom: -1px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.trust__list li > div { grid-column: 1; grid-row: 1; }
.trust__list svg { grid-column: 2; grid-row: 1; width: 38px; height: 38px; padding: 8px; flex: none; margin-top: 0; color: var(--blue-hi); background: rgba(11, 157, 255, .06); border: 1px solid rgba(87, 201, 255, .14); border-radius: 11px; transition: transform .45s var(--ease), background .35s, border-color .35s; }
@media (hover: hover) and (pointer: fine) {
  .trust__list li:hover { border-color: rgba(87, 201, 255, .2); transform: translateY(-4px); }
  .trust__list li:hover::after { transform: scaleX(1); }
  .trust__list li:hover svg { transform: translateY(-3px) rotate(-4deg); background: rgba(11, 157, 255, .12); border-color: rgba(87, 201, 255, .35); }
}
.trust__list small { display: block; margin-bottom: 14px; font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-hi); }
.trust__list strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; max-width: 215px; }
.trust__list span { display: block; margin-top: 10px; color: var(--dim); font-size: 12px; line-height: 1.6; max-width: 230px; }
@media (max-width: 1100px) { .trust__list li { padding-inline: 18px; gap: 10px; } .trust__list strong { font-size: 17px; } }
@media (max-width: 960px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list li { padding: 24px 22px; }
}
@media (max-width: 560px) {
  .trust__list { gap: 12px; }
  .trust__list li { padding-block: 22px; padding-inline: 16px; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .trust__list li > div { grid-row: 2; }
  .trust__list svg { grid-column: 1; grid-row: 1; width: 34px; height: 34px; margin-bottom: 14px; }
  .trust__list small { font-size: 8px; margin-bottom: 8px; }
  .trust__list strong { font-size: 17px; }
  .trust__list span { font-size: 11px; margin-top: 8px; }
}

/* ==========================================================================
   Cards de jogo (categorias) — hover revela o gradiente
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.cat-card {
  position: relative; overflow: hidden; display: block;
  border-radius: var(--radius); background: var(--surf); border: 1px solid var(--line);
  padding: 24px; min-height: 300px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "topo logo" "nome logo" "preco logo" "chips chips" "cta cta";
  grid-template-rows: auto auto auto 1fr auto; column-gap: 18px; text-align: left;
  transition: border-color .35s, transform .45s var(--ease), background .35s;
}
.cat-card > :not(.cat-card__art) { position: relative; z-index: 1; }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none;
  background: linear-gradient(105deg, var(--a1) 0, var(--a2) 100%);
  transition: opacity .45s var(--ease);
}
.cat-card:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.92), 0 0 50px -22px rgba(90, 120, 255, 0.55);
}
.cat-card:hover::before { opacity: 1; }

.cat-card__art { position: absolute; inset: 0; z-index: 0; }
.cat-card__art .media { position: absolute; inset: 0; aspect-ratio: auto !important; }
.cat-card__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 20, 0.2) 0%, rgba(11, 13, 20, 0.94) 78%);
}

.cat-card__top { grid-area: topo; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.cat-card__name { grid-area: nome; display: block; margin-top: 14px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; color: #fff; transition: color .35s; }
.cat-card__from { grid-area: preco; margin-top: 12px; }
.cat-card__from small { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.cat-card__from b { display: block; margin-top: 5px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; transition: color .35s; }

.cat-card__logo { grid-area: logo; align-self: center; justify-self: end; height: 76px; display: flex; align-items: center; }
.cat-card__logo .media { position: static; width: 118px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); }
.cat-card__logo img { transition: transform .5s var(--ease), filter .35s; }
.cat-card:hover .cat-card__logo img { transform: scale(1.06); }

.cat-card__chips { grid-area: chips; align-self: start; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.cat-card__chips span {
  height: 26px; padding: 0 10px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line);
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink2);
  transition: background .3s, border-color .3s, color .3s;
}
.cat-card:hover .cat-card__chips span { background: rgba(6, 7, 12, 0.14); border-color: rgba(6, 7, 12, 0.22); color: #06070c; }

.cat-card__cta {
  grid-area: cta; margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 6px 0 16px; border-radius: 14px; border: 1px solid var(--line2);
  font-size: 14px; font-weight: 800; color: #fff;
  transition: background .3s, border-color .3s, color .3s;
}
.cat-card__cta i {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--card); font-style: normal; font-size: 16px;
  transition: background .3s, color .3s, transform .35s var(--ease-lux);
}
.cat-card:hover .cat-card__cta { background: #06070c; border-color: #06070c; color: #fff; }
.cat-card:hover .cat-card__cta i { background: var(--blue); color: #fff; transform: translateX(2px); }

@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cat-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .cat-card { padding: 20px; min-height: 260px; } }

/* ==========================================================================
   Filtros (chips)
   ========================================================================== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 11px;
  border: 1px solid var(--line2); color: var(--dim);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: all .2s;
}
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.04); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar .filters { margin-bottom: 0; }
.toolbar__right { display: flex; align-items: center; gap: 14px; }
.result-count { color: var(--dim); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

.input {
  height: 44px; padding: 0 14px; width: 220px;
  background: var(--card); border: 1px solid var(--line2); border-radius: 12px;
  color: #fff; font: inherit; font-size: 14px;
  transition: border-color .2s;
}
.input::placeholder { color: var(--faint); }
.input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(63, 123, 255, 0.18);
}
/* 16px no celular: evita o zoom automático do iOS ao tocar no campo */
@media (max-width: 760px) { .input { font-size: 16px; } }

.cat-banner { margin-bottom: 24px; padding: 20px 22px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); }
.cat-banner h2 { font-size: 1.3rem; }
.cat-banner p { margin-top: 6px; color: var(--dim); font-size: 14px; }

/* ==========================================================================
   Card de produto
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 40px; }

.product-card {
  position: relative;
  border-radius: var(--radius); background: var(--surf); border: 1px solid var(--line);
  padding: 10px 10px 20px;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.product-card:hover {
  border-color: rgba(122, 166, 255, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 34px 64px -34px rgba(0, 0, 0, 0.9), 0 0 44px -22px rgba(63, 123, 255, 0.5);
}
/* Luz que segue o cursor — por trás do conteúdo */
.product-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: var(--radius);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(122, 166, 255, 0.11), transparent 62%);
  opacity: 0; transition: opacity .45s ease;
}
.product-card:hover::before { opacity: 1; }

.product-card__media { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.product-card__media .media { aspect-ratio: 1 / 1; border-radius: 16px; }
.product-card__media .media img { transition: transform .7s var(--ease); }
.product-card:hover .product-card__media .media img { transform: scale(1.05); }
.product-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(11, 13, 20, 0.75));
}

.badge {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  height: 26px; padding: 0 11px; border-radius: 999px;
  display: inline-flex; align-items: center;
  background: rgba(6, 7, 12, 0.72); border: 1px solid var(--line2);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.badge--stock { left: auto; right: 12px; color: var(--warn); border-color: rgba(255, 184, 77, 0.45); }
.badge--stock[hidden] { display: none; }
.badge--kind { top: auto; bottom: 12px; color: var(--blue-hi); }
.badge--inline { position: static; justify-self: start; }
.badge--sold { color: var(--danger); border-color: rgba(255, 74, 74, 0.45); }

.product-card__body { position: relative; z-index: 1; padding: 18px 12px 0; display: grid; gap: 12px; }
.product-card__title { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; }
.product-card__title a:hover { color: var(--blue-hi); }
.product-card__desc { color: var(--dim); font-size: 13px; line-height: 1.5; }

/* ==========================================================================
   Planos — botões em linha, não radio
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 6px; }
.plan {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 6px; border-radius: 11px;
  border: 1px solid var(--line2); color: var(--dim);
  font-weight: 700; font-size: 12.5px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  cursor: pointer; transition: all .2s;
  user-select: none;
}
.plan:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.plan[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; animation: planPop .32s var(--ease); }
@keyframes planPop { 45% { transform: scale(1.045); } }
.plan--out { opacity: 0.42; cursor: not-allowed; }
.plan--out:hover { color: var(--dim); border-color: var(--line2); }
.plan--out[aria-pressed="true"] { background: none; border-color: var(--line2); color: var(--dim); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }

.plan-detail { color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.plan-stock { color: var(--warn); font-weight: 700; font-size: 12.5px; }
.plan-stock[hidden] { display: none; }

/* ==========================================================================
   Preço
   ========================================================================== */
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price small { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: inline-block; }
.price.is-changing { animation: num .28s var(--ease-lux); }
@keyframes num { from { opacity: .25; transform: translateY(5px); } }
.price-note { color: var(--faint); font-size: 12px; text-align: right; }

.product-card__actions { display: grid; gap: 6px; margin-top: 2px; }
.product-card__actions .btn { height: 46px; border-radius: 13px; font-size: 14px; }
.product-card__actions .link-btn { justify-self: start; padding: 6px 0; }

/* Revelação ao rolar */
html.anim .reveal:not(.visto) { opacity: 0; }
html.anim .reveal.visto { animation: lux .9s var(--ease-lux) var(--d, 0ms) backwards; }
@keyframes lux { from { opacity: 0; translate: 0 32px; scale: .985; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* Texto em movimento — cada palavra sobe de trás da máscara quando a seção chega.
   Escondido enquanto o .split (ou o bloco ancestral .reveal/.fade-seq) não recebe .visto. */
html.anim .split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.14em 0 0.2em; margin: -0.14em 0 -0.2em; }
html.anim .split .w > span { display: inline-block; }
html.anim .split:not(.visto) .w > span { transform: translateY(118%); }
html.anim .split.visto .w > span { animation: wordUp .8s var(--ease-lux) backwards; animation-delay: calc(var(--word, 0) * 45ms); }
@keyframes wordUp { from { opacity: 0; transform: translateY(118%) rotate(3deg); } to { opacity: 1; transform: none; } }

/* Blocos de apoio: fade + subida escalonada por item.
   fill backwards: ao terminar, o estado natural volta — hover dos itens continua valendo */
html.anim .fade-seq:not(.visto) > * { opacity: 0; }
html.anim .fade-seq.visto > * { animation: rise .75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
html.anim .fade-seq > :nth-child(1) { --i: 0; }
html.anim .fade-seq > :nth-child(2) { --i: 1; }
html.anim .fade-seq > :nth-child(3) { --i: 2; }
html.anim .fade-seq > :nth-child(4) { --i: 3; }
html.anim .fade-seq > :nth-child(5) { --i: 4; }
html.anim .fade-seq > :nth-child(6) { --i: 5; }

/* ==========================================================================
   Página de produto
   ========================================================================== */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 13px; color: var(--dim); font-family: var(--font-mono); letter-spacing: 0.06em; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: var(--ink2); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 26px; align-items: start; }
.product-main { display: grid; gap: 22px; }

.product-hero-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.product-hero-media .media { aspect-ratio: 1 / 1; }
.product-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 65%, rgba(11, 13, 20, 0.6)); }

.detail-block { padding: 24px; border-radius: var(--radius-s); background: var(--surf); border: 1px solid var(--line); }
.detail-block h2 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.detail-block p { color: var(--ink2); font-size: 15px; line-height: 1.65; }
/* Grupos de recursos: subtítulo + checklist */
.feature-groups { display: grid; gap: 22px; }
.feature-group h3 { font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 12px; color: #fff; }
.feature-group h3::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: var(--ink2); font-size: 14.5px; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  border-radius: 4px; border: 1px solid var(--blue);
  background: radial-gradient(circle at 50% 50%, var(--blue) 0 3px, transparent 3px);
}

.buybox {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: grid; gap: 16px; padding: 24px;
  border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--surf));
  border: 1px solid var(--line2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.buybox__title { font-size: 1.55rem; letter-spacing: -0.015em; }
.buybox__short { color: var(--dim); font-size: 14px; line-height: 1.55; }
.buybox__stock { color: var(--warn); font-size: 12.5px; font-weight: 700; }
.buybox__stock[hidden] { display: none; }
.buybox__hints { display: grid; gap: 7px; }
.buybox__hints li { position: relative; padding-left: 15px; color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.buybox__hints li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(11, 13, 20, 0.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line2); }
.buybar > div { display: grid; }
.buybar span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.buybar strong { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Carrinho, resumo e checkout
   ========================================================================== */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr); gap: 22px; align-items: start; }
.panel { padding: 26px; border-radius: var(--radius); background: var(--surf); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.panel h2 { font-size: 1.25rem; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }

.cart-line { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .media { width: 74px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.cart-line__name { font-weight: 700; font-size: 14.5px; }
.cart-line__name:hover { color: var(--blue-hi); }
.cart-line__plan { color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; margin-top: 3px; }
.cart-line__price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-line > div:nth-child(2) { display: grid; gap: 8px; justify-items: start; }

.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--dim); font-weight: 700; transition: background .15s, color .15s; }
.qty button:hover:not([disabled]) { background: var(--card); color: #fff; }
.qty button[disabled] { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

.summary-wrap { position: sticky; top: calc(var(--header-h) + 20px); }
.summary { padding: 24px; border-radius: var(--radius); background: var(--surf); border: 1px solid var(--line2); display: grid; gap: 12px; align-content: start; }
.summary h2 { font-size: 1.2rem; }
.summary__items { display: grid; gap: 2px; }
.summary__rows { display: grid; gap: 8px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary__rows dt { color: var(--dim); }
.summary__rows dd { font-weight: 700; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.summary__total span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.summary__total strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.summary__hints { display: grid; gap: 6px; }
.summary__hints li { position: relative; padding-left: 15px; color: var(--dim); font-size: 12px; line-height: 1.5; }
.summary__hints li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.field .input { width: 100%; }
.field__msg { font-size: 12.5px; color: var(--dim); min-height: 1.2em; }
.field__msg.is-error { color: var(--danger); font-weight: 600; }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); }
.field--check label { font-weight: 500; color: var(--dim); font-size: 13px; line-height: 1.5; }
.field--check a, .field--check strong { color: var(--ink2); }
.input[aria-invalid="true"] { border-color: var(--danger); }

.alert { padding: 13px 16px; border-radius: 12px; background: rgba(255, 74, 74, 0.1); border: 1px solid rgba(255, 74, 74, 0.4); color: #ffb3bd; font-size: 13.5px; }
.notice { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(59, 130, 255, 0.1); border: 1px solid rgba(107, 165, 255, 0.35); font-size: 13.5px; color: var(--ink2); }
.notice--sm { margin: 0; padding: 10px 14px; border-color: var(--line); background: rgba(255, 255, 255, 0.03); color: var(--dim); font-size: 12.5px; }

.result { max-width: 640px; margin: 24px auto; padding: 42px 30px; text-align: center; display: grid; gap: 14px; justify-items: center; border: 1px solid var(--line2); border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--surf)); }
.state-title { font-size: 1.7rem; letter-spacing: -0.02em; }
.result p { color: var(--dim); font-size: 14.5px; }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

/* Checkout Pix only: reuse the approved result, button, input, palette and type scale. */
body[data-page="checkout"] .result--pix { max-width: 640px; width: 100%; }
body[data-page="checkout"] .pix-payment__total { display: grid; gap: 4px; }
body[data-page="checkout"] .pix-payment__total span { color: var(--dim); font-size: 12px; }
body[data-page="checkout"] .pix-payment__total strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
body[data-page="checkout"] .pix-payment__qr { display: block; max-width: min(320px, 100%); height: auto; border-radius: 12px; }
body[data-page="checkout"] .pix-payment__code { width: 100%; max-width: 520px; overflow-wrap: anywhere; resize: none; font-family: var(--font-mono); font-size: 12px; }
body[data-page="checkout"] .pix-payment__instructions { display: grid; justify-items: center; gap: 12px; }
body[data-page="checkout"] .pix-payment__claim { font-family: var(--font-mono); overflow-wrap: anywhere; user-select: all; }

.empty { padding: 60px 0; text-align: center; color: var(--dim); display: grid; gap: 16px; justify-items: center; }
.empty--wide { padding: 60px 20px; border: 1px dashed var(--line2); border-radius: var(--radius); }
.empty p { font-size: 15px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surf); overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line2); }
.faq details[open] .faq__answer { animation: ansIn .35s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } }
.faq summary { padding: 18px 22px; font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--dim); line-height: 1; transition: transform .3s var(--ease), color .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--blue-hi); }
.faq summary:hover { color: var(--blue-hi); }
.faq__answer { padding: 0 22px 20px; color: var(--dim); font-size: 14.5px; line-height: 1.65; }
.faq__answer a { color: var(--blue-hi); text-decoration: underline; text-underline-offset: 3px; }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .38s var(--ease), content-visibility .38s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ==========================================================================
   Qual painel escolher
   ========================================================================== */
.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choose li { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surf); transition: border-color .3s, transform .45s cubic-bezier(.34, 1.45, .5, 1); }
@media (hover: hover) and (pointer: fine) { .choose li:hover { border-color: var(--line2); transform: translateY(-6px); } }
/* Chegada com motion: sobe e dá um salto curto, um card de cada vez
   (riseHop definido junto do keyframe rise) */
html.anim .choose.visto > li { animation-name: riseHop; animation-duration: .9s; }
.choose__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; margin-bottom: 16px; border: 1px solid var(--line2); border-radius: 7px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-hi); }
.choose h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.choose p { margin-top: 12px; color: var(--dim); font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) { .choose { grid-template-columns: 1fr; } }

/* ==========================================================================
   Passos
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { position: relative; padding: 34px 30px; background: rgba(255, 255, 255, 0.015); transition: background .35s; }
.step + .step { border-left: 1px solid var(--line); }
.step__num { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--blue-hi); margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.step p { color: var(--dim); font-size: 14px; line-height: 1.6; }
/* Chegada com motion: cada passo sobe e dá um salto curto, em sequência */
html.anim .steps.visto > .step { animation-name: riseHop; animation-duration: .9s; }
@keyframes riseHop {
  0% { opacity: 0; translate: 0 24px; }
  70% { opacity: 1; translate: 0 -2px; }
  100% { translate: 0 0; }
}
@media (hover: hover) and (pointer: fine) { .step:hover { background: rgba(255, 255, 255, 0.035); } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid var(--line); } }

/* ==========================================================================
   Gaveta do carrinho
   ========================================================================== */
.drawer-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(3, 4, 8, 0.72); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(420px, 100%); display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--surf); border-left: 1px solid var(--line2);
  transform: translateX(100%); transition: transform .38s var(--ease);
  box-shadow: -40px 0 90px -40px rgba(0, 0, 0, 0.9);
}
body.drawer-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.25rem; }
.drawer__body { overflow-y: auto; padding: 8px 22px; }
.drawer__foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.drawer__total span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.drawer__total strong { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.drawer__hint { color: var(--faint); font-size: 12px; text-align: center; }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast-region { position: fixed; left: 50%; bottom: 26px; z-index: 400; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast {
  padding: 13px 18px; border-radius: 13px;
  background: rgba(16, 19, 32, 0.96); border: 1px solid var(--line2);
  backdrop-filter: blur(12px);
  font-size: 13.5px; font-weight: 600; text-align: center;
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, 0.95);
  animation: toastIn .3s var(--ease);
}
.toast--error { border-color: rgba(255, 74, 74, 0.45); color: #ffb3bd; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   Mídia e placeholders
   ========================================================================== */
.media { position: relative; width: 100%; overflow: hidden; background: var(--card); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--contain img { object-fit: contain; }
.media-slot { position: absolute; inset: 0; display: grid; place-items: center; gap: 10px; align-content: center; color: var(--dim); background: var(--card); text-align: center; padding: 16px; }
.media-slot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 92% 0, rgba(59, 130, 255, 0.12), transparent 55%); }
.media-slot svg { position: relative; width: 26px; height: 26px; color: var(--blue-hi); opacity: .8; }
.media-slot span { position: relative; font-size: 12px; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { position: relative; border-top: 1px solid var(--line); padding-block: 52px 28px; margin-top: auto; background: rgba(5, 6, 11, .55); }
.site-footer::before { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(87, 201, 255, .48) 50%, transparent); transform-origin: center; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: repeat(var(--footer-columns, 3), minmax(0, 1fr)); gap: 40px 64px; align-items: start; }
.footer-grid > * { display: grid; grid-template-rows: 48px auto; row-gap: 16px; align-content: start; justify-items: start; min-width: 0; }
.footer-column { padding-top: 0; }
.footer-brand > .brand { align-self: center; }
.footer-tag { color: var(--dim); font-size: 14px; max-width: 330px; line-height: 24px; padding-top: 6px; }
.site-footer h4 { align-self: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; line-height: 24px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin: 0; }
.site-footer ul { display: grid; gap: 0; }
.site-footer ul a { position: relative; display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; font-weight: 600; line-height: 24px; color: var(--ink2); transition: color .2s, translate .3s var(--ease); }
.site-footer ul a::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--blue-hi); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-footer ul a:hover, .site-footer ul a:focus-visible { color: #fff; translate: 3px 0; }
.site-footer ul a:hover::after, .site-footer ul a:focus-visible::after { transform: scaleX(1); }
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--dim);
  transition: color .2s, border-color .2s, transform .25s var(--ease);
}
.social a svg { width: 16px; height: 16px; flex: none; }
.footer-contact .social { align-self: start; }
.footer-contact .social a { height: 36px; padding: 0 14px; line-height: 24px; }
.social a:hover { color: var(--blue-hi); border-color: var(--line2); transform: translateY(-2px); }
.is-pending { color: var(--faint); font-size: 13.5px; }

.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; display: grid; gap: 14px; }
.footer-bottom__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 32px; }
.footer-company { color: var(--dim); }
.footer-legal { color: var(--dim); font-size: 11.5px; line-height: 1.65; max-width: 820px; }
.footer-top { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; min-height: 36px; font-size: 12px; font-weight: 600; color: var(--ink2); transition: color .25s; }
.footer-top svg { width: 16px; height: 16px; transition: translate .35s var(--ease); }
.footer-top:hover, .footer-top:focus-visible { color: var(--blue-hi); }
.footer-top:hover svg, .footer-top:focus-visible svg { translate: 0 -4px; }

/* ==========================================================================
   Página interna — cabeçalho de seção
   ========================================================================== */
.page-head { padding-block: clamp(36px, 5vw, 64px) 0; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); letter-spacing: -0.05em; }
.page-head p { margin-top: 14px; color: var(--dim); font-size: 16px; max-width: 620px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap { width: min(100% - 48px, var(--wrap)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 99;
    padding: 12px 24px 20px; background: rgba(5, 6, 11, 0.97);
    border-bottom: 1px solid var(--line);
    animation: menuIn .3s var(--ease);
  }
  .nav.is-open a { padding: 14px 12px; }
  .product-layout, .two-col { grid-template-columns: minmax(0, 1fr); }
  .summary-wrap, .buybox { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .site-header__inner { height: 68px; }
  .brand img { height: 38px; max-width: 132px; }
  .hero__title { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar__right { flex-direction: column; align-items: stretch; }
  .input { width: 100%; }
  .filters { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .filters::-webkit-scrollbar { display: none; }
  .site-footer { padding-top: 36px; }
  .footer-grid { column-gap: 20px; }
  .footer-column { padding-top: 0; }
  .footer-bottom { margin-top: 32px; }
  .footer-bottom__row { gap: 12px 10px; }
  .footer-top { font-size: 11px; gap: 6px; }
  .buybar { display: flex; }
  body[data-page="produto"] .site-footer { padding-bottom: 92px; }
  .cart-line { grid-template-columns: 60px minmax(0, 1fr); }
  .cart-line__price { grid-column: 2; justify-self: start; }
  .cart-line .media { width: 60px; }
}

/* ==========================================================================
   Composição — ajustes finos da casca
   ========================================================================== */
.section-bar .kicker, .section-head .kicker { margin-bottom: 14px; }
.rise > :nth-child(6) { animation-delay: .4s; }
.brand--footer { gap: 14px; }
.brand--footer img { height: 48px; width: 48px; max-width: none; object-fit: contain; }
.brand--footer .brand__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; white-space: nowrap; }

.plan-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 9px; min-height: 16px; }

/* Arte de fundo do card de categoria: recorte próprio, distinto do ladrilho */
.cat-card__art .media img { transform: scale(1.12); }
.cat-card__art .media img { transition: transform 1s var(--ease), filter .6s; }
@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .cat-card__art .media img { transform: scale(1.18); filter: saturate(1.08); }
  .palco__c:hover { translate: 0 -12px; }
}
.product-card:focus-within { border-color: rgba(87, 201, 255, .45); }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(87, 201, 255, .16));
  transform: scaleX(1); transform-origin: left;
}
html.anim .steps:not(.visto) .step::before { transform: scaleX(0); }
html.anim .steps.visto .step::before { animation: lineDraw .9s var(--ease) backwards; animation-delay: calc(.3s + var(--i, 0) * .18s); }
@keyframes lineDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cat-card:hover .cat-card__top,
.cat-card:hover .cat-card__from small { color: rgba(255, 255, 255, 0.82); }

/* Baralho do hero — entrada única, parallax no cursor, sem loop */
.palco__c { transition: transform .55s var(--ease), translate .55s var(--ease), border-color .3s, box-shadow .45s; }
.palco__c img { transition: filter .35s; }
.palco__c:hover {
  border-color: rgba(122, 166, 255, 0.55);
  box-shadow: 0 54px 100px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(122, 166, 255, 0.22);
}
.palco__c:hover img { filter: brightness(1.08); }
.palco__c--1 { --entry-x: 70px; --card-delay: .22s; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(-9deg); }
.palco__c--2 { --entry-x: 32px; --card-delay: .38s; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(-3deg); }
.palco__c--3 { --entry-x: -18px; --card-delay: .54s; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(5deg); }
html.anim .palco__c { animation: cardIn 1.1s var(--ease-lux) var(--card-delay, 0s) backwards; }
@keyframes cardIn { from { opacity: 0; translate: var(--entry-x, 0px) 54px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 900px) { .nav.is-open { top: 100%; } }
@media (max-width: 760px) {
  .hero__grid { padding-block: 38px 44px; }
  .hero .kicker { font-size: 10px; letter-spacing: .12em; line-height: 1.7; }
  .hero .kicker b { flex: none; }
  .hero__title { font-size: clamp(3rem, 16vw, 5rem); }
  .hero__titlewrap { margin-block: 18px 20px; }
  .hero__sub { font-size: 1.06rem; }
  .hero__text { font-size: 14px; }
  .hero__cta { margin-top: 24px; gap: 10px; }
  .hero__selos { margin-top: 22px; gap: 8px 16px; font-size: 11px; }
  .hero__selos span { gap: 6px; }
}

/* ========================================================================== 
   Motion editorial — cada componente tem peso, direção e tempo próprios.
   Translate/scale independentes preservam o transform usado nas interações.
   ========================================================================== */
html.anim .fade-seq.is-staged.visto > * { animation: none; }
html.anim .reveal.visto[data-motion] {
  animation: var(--motion-enter, pieceIn) var(--motion-duration, .8s) var(--ease-lux) var(--d, 0ms) backwards;
}
[data-motion="trust"] { --motion-enter: trustIn; --motion-duration: .85s; }
[data-motion="product"] { --motion-enter: productIn; --motion-duration: .95s; }
[data-motion="product-body"] { --motion-enter: none; }
[data-motion="compare"] { --motion-enter: compareIn; --motion-duration: .9s; }
[data-motion="step"] { --motion-enter: stepIn; --motion-duration: .85s; }
[data-motion="question"] { --motion-enter: questionIn; --motion-duration: .65s; }
[data-motion="footer"] { --motion-enter: none; }
[data-motion="footer-column"] { --motion-enter: footerIn; --motion-duration: .9s; }
[data-motion="footer-bottom"] { --motion-duration: .7s; }
[data-motion="product-art"] { --motion-enter: artIn; --motion-duration: 1s; }
[data-motion="feature"] { --motion-enter: featureIn; --motion-duration: .7s; }
[data-motion="controls"], [data-motion="panel"] { --motion-duration: .6s; }

@keyframes pieceIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes trustIn { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes productIn { from { opacity: 0; translate: 0 38px; clip-path: inset(0 0 6% 0 round 20px); } to { opacity: 1; translate: 0 0; clip-path: inset(0 round 20px); } }
@keyframes compareIn { from { opacity: 0; translate: 0 32px; rotate: .8deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes stepIn { from { opacity: 0; translate: -22px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes questionIn { from { opacity: 0; translate: 14px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes footerIn { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes artIn { from { opacity: 0; scale: .97; translate: 0 20px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes featureIn { from { opacity: 0; translate: 10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes iconTrace { from { stroke-dashoffset: 1; opacity: .15; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes artSettle { from { scale: 1.075; } to { scale: 1; } }
@keyframes kickerSet { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }

html.anim [data-motion="trust"].visto svg :is(path, circle, rect) { stroke-dasharray: 1; animation: iconTrace 1.15s var(--ease) calc(var(--d, 0ms) + .15s) backwards; }
html.anim [data-motion="product"].visto .product-card__media img { animation: artSettle 1.2s var(--ease-lux) var(--d, 0ms) backwards; }
html.anim [data-motion="product-body"].visto > * { animation: pieceIn .65s var(--ease-lux) calc(var(--row, 0) * 55ms) backwards; }
.product-card__body > :nth-child(1) { --row: 0; }
.product-card__body > :nth-child(2) { --row: 1; }
.product-card__body > :nth-child(3) { --row: 2; }
.product-card__body > :nth-child(4) { --row: 3; }
.product-card__body > :nth-child(5) { --row: 4; }
.product-card__body > :nth-child(6) { --row: 5; }
html.anim .section-head.visto .kicker b, html.anim .section-bar.visto .kicker b { animation: kickerSet .7s var(--ease-lux) .1s backwards; }
html.anim [data-motion="compare"].visto .choose__tag { animation: featureIn .7s var(--ease-lux) calc(var(--d, 0ms) + .15s) backwards; }
html.anim [data-motion="step"].visto .step__num { animation: featureIn .75s var(--ease-lux) calc(var(--d, 0ms) + .1s) backwards; }
html.anim .steps.is-staged .step::before { animation: none; transform: scaleX(0); }
html.anim .steps.is-staged .step.visto::before { animation: lineDraw .95s var(--ease) calc(var(--d, 0ms) + .2s) backwards; transform: scaleX(1); }
html.anim [data-motion="feature"].visto h3::after { transform-origin: left; animation: lineDraw .85s var(--ease) calc(var(--d, 0ms) + .15s) backwards; }
html.anim .site-footer.visto::before { animation: lineDraw 1.3s var(--ease-lux) backwards; }
.faq details { transition: border-color .3s, background .3s; }
.faq details[open] { background: linear-gradient(110deg, rgba(11, 157, 255, .045), var(--surf) 70%); border-color: rgba(87, 201, 255, .2); }
.field:focus-within label { color: var(--blue-hi); transition: color .2s; }
.field:focus-within .input { box-shadow: 0 0 0 3px rgba(11, 157, 255, .09); }
html.anim .drawer-open .drawer__body .cart-line { animation: featureIn .45s var(--ease) .08s backwards; }
@media (max-width: 860px) { [data-motion="step"] { --motion-enter: pieceIn; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  body::before { animation: none; will-change: auto; }
  .reading-progress, .hero__spot { display: none; }
  html.anim .reveal:not(.visto), html.anim .fade-seq:not(.visto) > * { opacity: 1; }
  html.anim .split:not(.visto) .w > span { transform: none; }
  .palco__c { translate: none !important; }
  .product-card::before { display: none; }
  html.anim .steps.is-staged .step::before { transform: scaleX(1); }
  html.anim [data-motion="trust"] svg :is(path, circle, rect) { stroke-dashoffset: 0; }
}
