/* ==========================================================================
   Lady Jées · Serviços gacha
   Tema rosa e roxo, no estilo do banner da cliente. As artes ficam em /img/marca/.
   Tema escuro em :root[data-theme="dark"], escolhido pelo /js/tema.js.
   ========================================================================== */

:root {
  --pink: #fce9ff;
  --purple: #7768c2;       /* contorno do "LADY JEES" do banner */
  --purple-dark: #5a4ca8;  /* texto roxo pequeno (contraste melhor que o --purple) */
  --lavender: #d9d2fa;
  --lavender-2: #efecff;
  --white: #fff;
  --ink: #3b3270;
  --muted: #6b6296;
  --twitch: #9146ff;
  --twitch-ink: #5b2bb5;

  /* Papéis das cores (o tema escuro troca estes) */
  --bg: var(--pink);
  --surface: var(--white);            /* cartões, botões claros, campos */
  --on-accent: var(--white);          /* texto e ícones sobre o roxo */
  --purple-shade: var(--purple-dark); /* sombra embaixo do que é roxo */
  --save-bg: #e2f6ea;
  --save-ink: #23845a;

  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 28px;
  --radius-sm: 18px;
  --border: 3px solid var(--purple);
  --shadow: 0 6px 0 var(--lavender);
  --header-h: 72px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1d1833;
  --surface: #2a2347;
  --lavender: #463c78;
  --lavender-2: #352d5c;
  --ink: #f1edff;
  --muted: #bdb4e3;
  --purple-dark: #cfc5ff;
  --purple-shade: #3f3487;
  --twitch-ink: #cbb4ff;
  --save-bg: #1f4234;
  --save-ink: #8be0b4;
}

/* Fontes do banner, para o título e o subtítulo do hero. Os arquivos ficam fora do git até
   resolver a licença para web (ver layout-v2/layout.md); sem eles, entra a Fredoka. */
@font-face {
  font-family: 'Balabeloo';
  src: url('/fonts/balabeloo-pro.woff2') format('woff2');
  font-display: block;
}
/* A demo da Childos troca o ponto e a vírgula por um carimbo: esses dois vêm da fonte seguinte */
@font-face {
  font-family: 'Childos';
  src: url('/fonts/childos-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: block;
  unicode-range: U+0000-002B, U+002D, U+002F-FFFF;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main { overflow-x: clip; } /* a faixa inclinada passa um pouco das bordas */
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
p { margin: 0; }
b, strong { font-weight: 800; }

::selection { background: var(--purple); color: var(--on-accent); }

:focus-visible {
  outline: 3px solid var(--purple-dark);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: 800px; }

.grad { color: var(--purple); }

/* Cartão "adesivo": branco, contorno roxo e sombra lavanda embaixo */
.card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--purple); color: var(--on-accent); box-shadow: 0 5px 0 var(--purple-shade); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--purple-shade); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--purple-shade); }

.btn-ghost { background: var(--surface); color: var(--purple-dark); box-shadow: 0 5px 0 var(--lavender); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--lavender); }
.btn-ghost:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--lavender); }

/* Contorno branco, para fundo roxo */
.btn-line { background: transparent; border-color: var(--on-accent); color: var(--on-accent); box-shadow: 0 5px 0 var(--purple-shade); }
.btn-line:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); }

.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-color: var(--lavender); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: inline-flex; flex: none; }
.logo img { height: 50px; width: auto; }

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--purple-dark); background: var(--lavender-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.only-sm { display: none; }

/* Botão do tema: trilho com a bolinha do sol (claro) ou da lua (escuro) */
.theme-toggle {
  position: relative;
  flex: none;
  width: 64px;
  height: 38px;
  padding: 0;
  border: var(--border);
  border-radius: 999px;
  background: var(--lavender-2);
  box-shadow: 0 4px 0 var(--lavender);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .3s;
}
.theme-toggle:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--lavender); }
.theme-toggle:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--lavender); }
.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--on-accent);
  transition: transform .35s var(--ease);
}
.theme-knob svg { grid-area: 1 / 1; width: 16px; height: 16px; transition: opacity .25s, transform .35s var(--ease); }
.theme-knob .i-moon { opacity: 0; transform: rotate(-60deg) scale(.5); }
/* Pelo data-theme (e não pelo aria-checked) pra já abrir na posição certa, sem a bolinha deslizar */
:root[data-theme="dark"] .theme-knob { transform: translateX(26px); }
:root[data-theme="dark"] .theme-knob .i-sun { opacity: 0; transform: rotate(60deg) scale(.5); }
:root[data-theme="dark"] .theme-knob .i-moon { opacity: 1; transform: none; }
.theme-float { position: fixed; top: 16px; right: 16px; z-index: 60; } /* página de manutenção, que não tem header */

/* ---------- Gatinhos ---------- */

/* Borda branca de adesivo, igual à dos corações do banner */
.sticker {
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
    drop-shadow(0 4px 6px rgba(59, 50, 112, .18));
}
/* As imagens têm 200 px: acima de ~100 px de largura começam a borrar em tela de alta resolução */
.game-cat { position: absolute; z-index: 3; width: 46px; height: auto; top: -28px; right: 16px; transition: transform .25s var(--ease); }
.game:hover .game-cat { transform: translateY(-4px) rotate(4deg); }
.block-cat { position: absolute; width: 60px; height: auto; top: -39px; right: 28px; }
.faq-wrap { position: relative; }
.faq-cat { position: absolute; width: 88px; height: auto; top: 10px; left: -80px; transform: rotate(-6deg); }
.footer { position: relative; }
.footer-cat { position: absolute; width: 80px; height: auto; top: -48px; right: 8%; }
.lost-cat { width: 84px; height: auto; margin-bottom: -14px; position: relative; z-index: 1; }

/* ---------- Corações flutuando ---------- */

.float {
  position: absolute;
  pointer-events: none;
  user-select: none;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--turn, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--turn, 0deg)); }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: 48px 0 72px; text-align: center; }
/* Letras brancas com contorno roxo, como no banner. paint-order desenha o contorno por baixo,
   então só a metade de fora aparece e os contornos das letras vizinhas se juntam. */
.hero-title {
  margin: 0 auto;
  font-family: 'Balabeloo', var(--font-display);
  font-size: clamp(72px, 14vw, 172px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  word-spacing: -.12em;
  text-transform: uppercase;
  color: var(--white);
  -webkit-text-stroke: .17em var(--purple);
  paint-order: stroke fill;
}
.hero-sub { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; }
.hero-cat { width: 54px; height: auto; margin-top: -10px; }
.hero-sub .tagline {
  font-family: 'Childos', var(--font-display);
  font-size: clamp(17px, 2.4vw, 25px);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--purple);
}

.lead {
  max-width: 560px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
}
.lead b { color: var(--ink); }
.hero .lead { margin: 22px auto 0; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .hero-cta { justify-content: center; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--lavender);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}
.hero-facts strong { font-family: var(--font-display); font-size: 18px; color: var(--purple-dark); }


/* ---------- Faixa ---------- */

.marquee {
  overflow: hidden;
  margin: 8px 0;
  padding: 14px 0;
  background: var(--purple);
  color: var(--on-accent);
  transform: rotate(-1.5deg) scale(1.03);
  box-shadow: 0 6px 0 var(--purple-shade);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 21px);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-track i { font-style: normal; color: color-mix(in srgb, var(--on-accent) 70%, var(--purple)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */

.section { position: relative; padding: 96px 0; }
.section-tight { padding: 0 0 72px; }

.section-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--lavender-2);
  border: 2px solid var(--lavender);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-dark);
}
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); color: var(--purple-dark); }
.section-head p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.section-head p b { color: var(--ink); }

/* ---------- Imagens (arte dos jogos) com crédito ---------- */

.art {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.art.is-loaded { opacity: 1; }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.art::after { content: ''; position: absolute; inset: 0; }
.art figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  pointer-events: auto;
}
.credit {
  display: inline-block;
  max-width: 100%;
  padding: 1px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.credit:hover { color: var(--purple-dark); }

/* ---------- Cards de jogos ---------- */

.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; padding-top: 16px; }
.game {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.game:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 12px 0 var(--lavender); }
.game-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin: 10px 10px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--lavender-2);
  color: var(--purple);
}
.game-emblem svg { width: 44px; height: 44px; } /* aparece se a arte não carregar */
.game:hover .art img { transform: scale(1.06); }
.game-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.game h3 { font-size: 22px; color: var(--purple-dark); }
.game p { flex: 1; font-size: 14.5px; color: var(--muted); }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.price-chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lavender-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--muted);
}
.price-chip b { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--purple-dark); }
.game-go {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--on-accent);
  transition: transform .25s var(--ease);
}
.game-go svg { width: 18px; height: 18px; }
.game:hover .game-go { transform: rotate(-45deg); }

/* ---------- Lives da Lady Jées ---------- */

.live {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 36px 40px;
  border-color: var(--twitch);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--twitch) 45%, var(--lavender));
}
.live-cat { position: absolute; width: 92px; height: auto; top: -60px; left: 40px; transform: rotate(-4deg); }
.live-avatar { position: relative; display: block; flex: none; }
.live-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--twitch);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--twitch) 18%, var(--surface));
  object-fit: cover;
  transition: transform .25s var(--ease);
}
.live-avatar:hover img { transform: scale(1.04) rotate(-2deg); }
.live-badge {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  padding: 2px 12px;
  border-radius: 999px;
  background: #e91916; /* vermelho do "ao vivo" da Twitch */
  border: 3px solid var(--surface);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.live-body .eyebrow { margin-bottom: 8px; }
.live-body h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--purple-dark); }
.live-body > p { margin-top: 8px; color: var(--muted); }
.live-body > p b { color: var(--ink); }
.live-days { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.live-days li {
  display: grid;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: var(--lavender-2);
  border: 2px solid var(--lavender);
  line-height: 1.3;
}
.live-days b { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--purple-dark); }
.live-days span { font-size: 13px; font-weight: 700; color: var(--muted); }
.live-days li.is-today { background: var(--twitch); border-color: var(--twitch); }
.live-days li.is-today b, .live-days li.is-today span { color: #fff; }
.live-status { margin-top: 14px; font-weight: 700; color: var(--muted); }
.live-status b { color: var(--ink); }
.live-status.is-today::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #e91916;
  animation: notice-pulse 2s ease-in-out infinite;
}

.btn-twitch { background: var(--twitch); border-color: var(--twitch); color: #fff; box-shadow: 0 5px 0 #6a2ccc; }
.btn-twitch:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #6a2ccc; }
.btn-twitch:active { transform: translateY(3px); box-shadow: 0 2px 0 #6a2ccc; }

/* ---------- O que a gente faz ---------- */

.overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ov { display: flex; flex-direction: column; gap: 10px; padding: 26px; transition: transform .25s var(--ease); }
.ov:hover { transform: translateY(-4px); }
.ov-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--lavender-2);
  border: 2px solid var(--lavender);
  font-size: 28px;
}
.ov h3 { font-size: 21px; color: var(--purple-dark); }
.ov p { flex: 1; font-size: 15px; color: var(--muted); }
.ov-games { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ov-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px 3px 9px;
  border-radius: 999px;
  border: 2px solid var(--lavender);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--purple-dark);
  transition: background .2s, border-color .2s, color .2s;
}
.ov-chip svg { width: 14px; height: 14px; }
.ov-chip:hover { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }

.overview-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 20px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 3px dashed var(--lavender);
}
.overview-more p { font-weight: 700; color: var(--muted); }

/* ---------- Como funciona ---------- */

.steps-box { position: relative; padding: 44px 36px 40px; }
.steps-box .peek { position: absolute; width: 74px; height: auto; top: -64px; right: 48px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; text-align: center; }
.step + .step::before {
  content: '';
  position: absolute;
  top: 28px;
  right: calc(50% + 40px);
  width: calc(100% - 52px);
  border-top: 3px dashed var(--lavender);
}
.step-n {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 8px var(--lavender);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
}
.step h3 { margin-bottom: 6px; font-size: 19px; color: var(--purple-dark); }
.step p { font-size: 14.5px; color: var(--muted); }
.step p b { color: var(--ink); }
.step p a { color: var(--purple-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lavender); }

/* ---------- Pagamento e atendimento ---------- */

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perk { padding: 26px; text-align: center; }
.perk-icon { display: block; margin-bottom: 8px; font-size: 34px; }
.perk h3 { margin-bottom: 6px; font-size: 20px; color: var(--purple-dark); }
.perk p { font-size: 14.5px; color: var(--muted); }

/* ---------- Equipe (canais na Twitch) ---------- */

.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 14px 20px;
  text-align: center;
  transition: transform .25s var(--ease);
}
.member:hover { transform: translateY(-5px); }
.member-avatar {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 4px var(--lavender-2);
  background: var(--lavender);
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}
.member-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-info { display: grid; gap: 2px; min-width: 0; }
.member-info b { font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.member-info small { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.member-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--twitch) 14%, var(--surface));
  color: var(--twitch-ink);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, color .2s;
}
.member-go svg { width: 14px; height: 14px; }
.member:hover .member-go { background: var(--twitch); color: var(--on-accent); }

/* ---------- Dúvidas ---------- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 0 var(--lavender);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--purple-dark);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lavender-2);
  font-size: 22px;
  line-height: 1;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--purple); color: var(--on-accent); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Chamada final ---------- */

.cta {
  position: relative;
  padding: 64px 28px;
  border-radius: 36px;
  background: var(--purple);
  box-shadow: 0 8px 0 var(--purple-shade);
  color: var(--on-accent);
  text-align: center;
}
.cta h2 { max-width: 640px; margin: 0 auto; font-size: clamp(28px, 4.4vw, 44px); }
.cta p { margin-top: 12px; font-size: 17px; color: color-mix(in srgb, var(--on-accent) 88%, var(--purple)); }
.cta .hero-cta { justify-content: center; }
.cta .sitting-cat { position: absolute; width: 80px; height: auto; top: -70px; left: 50%; transform: translateX(-50%); }
.cta .heart-1 { width: 70px; top: 24px; left: 5%; --turn: -14deg; }
.cta .heart-2 { width: 54px; bottom: 26px; right: 6%; --turn: 10deg; animation-delay: -3s; }

/* ---------- Rodapé ---------- */

.footer { margin-top: 40px; padding: 56px 0 48px; border-top: 3px dashed var(--lavender); }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer .logo img { height: 56px; }
.footer-note { max-width: 520px; font-size: 13px; color: var(--muted); }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy a,
.footer-credits a {
  color: var(--purple-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--lavender);
}
.footer-copy a:hover, .footer-credits a:hover { text-decoration-color: currentColor; }

.footer-credits { margin-top: 24px; }
.footer-credits h4 {
  margin-bottom: 10px;
  padding-top: 22px;
  border-top: 2px solid var(--lavender-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-credits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.footer-credits li { display: flex; gap: 6px; }
.footer-credits li[hidden] { display: none; }
.footer-credits li span:first-child::after { content: ':'; }

/* Onde nos encontrar: canais com a foto do perfil */
.footer-credits .channels { gap: 10px; }
.footer-credits a.channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--lavender);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}
.footer-credits a.channel:hover { border-color: var(--purple); transform: translateY(-2px); }
.channel img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.channel svg { width: 14px; height: 14px; color: var(--twitch); }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--purple-shade);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 5px 0 rgba(59, 50, 112, .25);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Página de serviços e preços
   ========================================================================== */

.page-hero { position: relative; padding: 44px 0 36px; text-align: center; }
.page-hero .heart-1 { width: 74px; top: 24px; left: 7%; --turn: -12deg; }
.page-hero .heart-2 { width: 58px; top: 90px; right: 8%; --turn: 10deg; animation-delay: -3s; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  transition: color .2s;
}
.back:hover { color: var(--purple-dark); }
.back svg { width: 16px; height: 16px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); color: var(--purple-dark); }
.page-hero .lead { max-width: 620px; margin: 14px auto 0; }
.info-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.info-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--lavender);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

/* Barra fixa com jogos, busca e categorias */
.catalog { padding-bottom: 20px; }
.svc-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  padding: 12px 0 0;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--lavender);
}
.svc-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  border: var(--border);
  box-shadow: 0 4px 0 var(--lavender);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--purple-dark); }
.tab[aria-selected="true"] { background: var(--purple); color: var(--on-accent); }

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  min-width: 260px;
  border-radius: 999px;
  background: var(--surface);
  border: var(--border);
  box-shadow: 0 4px 0 var(--lavender);
  color: var(--muted);
}
.search:focus-within { color: var(--purple-dark); }
.search svg { width: 18px; height: 18px; flex: none; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
}
.search input::placeholder { color: var(--muted); font-weight: 600; }

.cats {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--lavender);
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  transition: color .2s, background .2s, border-color .2s;
}
.cat:hover { color: var(--purple-dark); border-color: var(--purple); }
.cat.is-active { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }

/* Lista de serviços */
.services { padding-top: 24px; }
.services.is-switching { animation: switch-in .5s var(--ease); }
@keyframes switch-in { from { opacity: 0; transform: translateY(14px); } }

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  margin-top: 8px;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--lavender-2);
}
.banner-art::after {
  background: linear-gradient(90deg, rgba(59, 50, 112, .82) 0%, rgba(59, 50, 112, .4) 50%, rgba(59, 50, 112, 0) 100%);
}
.banner-art figcaption { top: 10px; bottom: auto; }
.banner-copy { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; max-width: 620px; }
.banner-emblem {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface);
  border: var(--border);
  color: var(--purple);
}
.banner-emblem svg { width: 28px; height: 28px; }
.banner h2 { font-size: clamp(24px, 3.4vw, 36px); color: var(--purple-dark); }
.banner p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.banner.has-art h2, .banner.has-art p { color: var(--on-accent); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }

.cat-block {
  position: relative;
  margin-top: 40px;
  padding: 28px 30px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 136px; /* altura da barra fixa (o header já entra no scroll-padding do html) */
}
.cat-head { margin-bottom: 10px; }
.cat-head h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(21px, 2.4vw, 26px);
  color: var(--purple-dark);
}
.cat-head h3 span {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lavender-2);
  border: 2px solid var(--lavender);
  font-size: 21px;
}
.cat-head p { margin-top: 8px; font-size: 15px; color: var(--muted); }

.cat-notes { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cat-notes li {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--lavender-2);
  font-size: 14px;
  color: var(--muted);
}
.cat-notes li::before { content: '♡'; flex: none; font-weight: 800; color: var(--purple); }

/* Aviso do jogo em destaque (ex.: reajuste de preços chegando) */
.game-notes { margin: 24px 0 0; }
.game-notes li {
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: var(--border);
  box-shadow: 0 5px 0 var(--purple);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.game-notes li::before {
  content: '⏳';
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lavender-2);
  font-size: 19px;
  animation: notice-pulse 2.4s ease-in-out infinite;
}
@keyframes notice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--purple) 35%, transparent); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* Linhas estilo cardápio */
.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 2px dashed var(--lavender-2);
}
.row:last-child,
.row:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.row-main { min-width: 0; }
.row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.row-name { font-weight: 800; font-size: 16px; line-height: 1.35; }
.row-note { margin-top: 5px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.row-note b { color: var(--ink); }
.row-price {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.15;
}
.row-price small { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.row-price strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--purple-dark); }
.row-price span { margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--muted); }
.price-tbd { font-family: var(--font) !important; font-size: 14px !important; font-weight: 800 !important; color: var(--muted) !important; }

.svc-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lavender-2);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--purple-dark);
}

/* Tabela dos arcos de quest */
.arc-wrap { overflow-x: auto; }
.arc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.arc-table th, .arc-table td {
  padding: 15px 12px;
  border-bottom: 2px dashed var(--lavender-2);
  text-align: left;
  vertical-align: middle;
}
.arc-table tr > :first-child { padding-left: 0; }
.arc-table tr > :last-child { padding-right: 0; }
.arc-table tbody tr:last-child > * { border-bottom: 0; }
.arc-table thead th {
  padding-top: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.arc-table tbody th { font-weight: 400; }
.arc-table tbody th .row-name { display: block; }
.arc-table tbody th small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.arc-table td { color: var(--muted); font-weight: 600; }
.arc-table tr > :nth-child(3), .arc-table tr > :nth-child(4) { text-align: right; }
.arc-total { display: inline-flex; flex-direction: column; align-items: flex-end; }
.arc-total strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--purple-dark); }
.save {
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--save-bg);
  color: var(--save-ink);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 800;
}

.empty { padding: 60px 20px; text-align: center; color: var(--muted); font-weight: 600; }
.empty span { display: block; margin-bottom: 12px; font-size: 40px; }

/* Aviso (jogo sem tabela ainda / erro ao carregar) */
.soon {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 48px 24px;
  border-radius: var(--radius);
  border: 3px dashed var(--lavender);
  background: var(--surface);
  text-align: center;
}
.soon-icon { font-size: 40px; }
.soon h3 { font-size: clamp(20px, 2.4vw, 26px); color: var(--purple-dark); }
.soon p { max-width: 520px; color: var(--muted); }
.soon .btn { margin-top: 8px; }
.soon code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--lavender-2);
  color: var(--ink);
  font-size: .9em;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Páginas 404 e de manutenção
   ========================================================================== */

.not-found {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 40px 0 60px;
  text-align: center;
}
.not-found .container { display: grid; justify-items: center; }
.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(96px, 18vw, 170px);
  font-weight: 700;
  line-height: 1;
  color: var(--surface);
  -webkit-text-stroke: 5px var(--purple);
  paint-order: stroke fill;
  text-shadow: 0 8px 0 var(--lavender);
}
.not-found h1 { margin-top: 8px; font-size: clamp(28px, 5vw, 48px); color: var(--purple-dark); }
.not-found .lead { margin: 16px auto 0; }
.not-found .hero-cta { justify-content: center; }
.not-found .heart-1 { width: 80px; top: 12%; left: 8%; --turn: -12deg; }
.not-found .heart-2 { width: 64px; bottom: 14%; right: 9%; --turn: 10deg; animation-delay: -3s; }
.maintenance-art { width: min(520px, 100%); height: auto; margin-bottom: 18px; }

/* ---------- Responsivo ---------- */

/* Menu completo até 1040 px: abaixo de 1240 os links ficam mais justos pra caber com os botões */
@media (max-width: 1240px) {
  .header-inner { gap: 12px; }
  .nav a { padding: 8px 8px; font-size: 14px; }
}

@media (max-width: 1040px) {
  .nav { display: none; }
  .faq-cat { display: none; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .overview { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .step + .step::before { display: none; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .live { grid-template-columns: auto 1fr; }
  .live .btn-twitch { grid-column: 1 / -1; justify-self: center; }
  .svc-bar-row { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; height: 46px; }
  .tabs { align-self: flex-start; }
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .price-list { grid-template-columns: 1fr; }
  .row:nth-last-child(2):nth-child(odd) { border-bottom: 2px dashed var(--lavender-2); }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .logo img { height: 42px; }
  .only-lg { display: none; }
  .only-sm { display: inline; }
  .btn-discord { width: 42px; padding: 0; }
  .header-actions { gap: 6px; }
  .theme-toggle { width: 56px; height: 36px; }
  .theme-knob { width: 24px; height: 24px; }
  .theme-knob svg { width: 15px; height: 15px; }
  :root[data-theme="dark"] .theme-knob { transform: translateX(20px); }

  .hero { padding: 36px 0 56px; }
  .hero-cat { width: 42px; }
  .hero .hero-cta .btn, .cta .hero-cta .btn, .not-found .hero-cta .btn { flex: 1 1 100%; }

  .section { padding: 72px 0; }
  .section-tight { padding: 0 0 56px; }
  .games, .overview, .perks, .steps { grid-template-columns: 1fr; }
  .game-cat { width: 44px; top: -27px; }
  .block-cat { width: 50px; top: -33px; right: 18px; }
  .footer-cat { width: 64px; top: -39px; }
  .steps-box { padding: 36px 22px 30px; }
  .steps-box .peek { width: 60px; top: -52px; right: 28px; }
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .live { grid-template-columns: 1fr; justify-items: center; gap: 22px; padding: 40px 20px 26px; text-align: center; }
  .live-cat { width: 72px; top: -48px; left: 18px; }
  .live-avatar img { width: 120px; height: 120px; }
  .live-days { display: grid; width: 100%; gap: 8px; }
  .live-days li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 16px; }
  .live .btn-twitch { width: 100%; }
  .overview-more .btn { width: 100%; }
  .cta { padding: 56px 20px 48px; }
  .faq summary { padding: 16px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; }

  .page-hero { padding-top: 32px; }
  .page-hero .heart-1 { width: 50px; top: 10px; left: 3%; }
  .page-hero .heart-2 { width: 40px; top: 60px; right: 3%; }
  .svc-bar { padding-top: 10px; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); align-self: stretch; border-radius: 20px; }
  .tab { flex-direction: column; justify-content: center; gap: 2px; height: 52px; padding: 0 4px; font-size: 12px; border-radius: 14px; }
  .search { height: 44px; }
  .cats { padding: 10px 0; }
  .cat-block { padding: 22px 18px; scroll-margin-top: 176px; }
  .cat-head h3 span { width: 40px; height: 40px; font-size: 19px; }
  .row { gap: 14px; }
  .row-name { font-size: 15px; }
  .row-price strong { font-size: 17px; }
  .banner { min-height: 190px; padding: 18px; }
  .banner-art::after { background: linear-gradient(0deg, rgba(59, 50, 112, .88) 10%, rgba(59, 50, 112, .4) 60%, rgba(59, 50, 112, 0) 100%); }
  .banner-copy { gap: 12px; }
  .banner-emblem { width: 48px; height: 48px; }
  .banner-emblem svg { width: 24px; height: 24px; }
  .banner p { font-size: 14px; }

  .arc-table thead { display: none; }
  .arc-table, .arc-table tbody, .arc-table tr, .arc-table th, .arc-table td { display: block; width: 100%; }
  .arc-table tr { padding: 14px 0; border-bottom: 2px dashed var(--lavender-2); }
  .arc-table tbody tr:last-child { border-bottom: 0; }
  .arc-table th, .arc-table td { padding: 3px 0 !important; border: 0; text-align: left !important; }
  .arc-table tbody th { margin-bottom: 6px; }
  .arc-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
  .arc-table td::before { content: attr(data-label); font-size: 13px; color: var(--muted); }
  .arc-total { flex-direction: row-reverse; align-items: center; gap: 8px; }
  .arc-total .save { margin-top: 0; }
}

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