* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(180deg, #1a0a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 12px 90px;
  color: #fff;
}
.phone { width: 100%; max-width: 400px; position: relative; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; }
.logo-icon { width: auto; height: 50px; display: block; object-fit: contain; }
.logo-text b { display: block; font-size: 19px; font-weight: 700; }
.logo-text span { display: block; font-size: 13px; color: #c084fc; font-weight: 600; }
h1 { text-align: center; font-size: 21px; font-weight: 700; margin-bottom: 20px; }

.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.platform-btn { padding: 12px 4px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 2px solid transparent; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: all .2s; }
.platform-btn svg { width: 24px; height: 24px; }
.platform-btn span { font-size: 12px; font-weight: 600; }
.platform-btn.active { border-color: #4facfe; box-shadow: 0 0 14px rgba(79,172,254,0.6); background: rgba(79,172,254,0.12); }

label { display: block; font-size: 13px; color: #cbd5e1; margin-bottom: 8px; font-weight: 600; }

.dropdown { position: relative; margin-bottom: 20px; }
.dropdown-trigger {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(79,172,254,0.5); background: #1e1435;
  color: #fff; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.dropdown-trigger:focus, .dropdown-trigger.open { border-color: #4facfe; box-shadow: 0 0 0 3px rgba(79,172,254,0.25); }
.dropdown-trigger svg { width: 18px; height: 18px; transition: transform .2s; flex-shrink: 0; }
.dropdown-trigger.open svg { transform: rotate(180deg); }
.dropdown-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #1e1435; border: 1px solid rgba(79,172,254,0.5); border-radius: 12px;
  overflow: hidden; z-index: 20; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  display: none;
}
.dropdown-list.open { display: block; }
.dropdown-item { padding: 13px 16px; font-size: 14.5px; color: #e5e7eb; cursor: pointer; }
.dropdown-item:hover, .dropdown-item.selected { background: #4facfe; color: #fff; }
.dropdown-item + .dropdown-item { border-top: 1px solid rgba(255,255,255,0.06); }

.delivery-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #fbbf24; background: rgba(251,191,36,0.12); padding: 4px 10px; border-radius: 20px; margin-bottom: 18px; }
.delivery-tag svg { width: 13px; height: 13px; }

.qty-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
/* flex + center: com rótulo de combo o texto ocupa 2 linhas e os botões da
   grade precisam manter a mesma altura e o preço alinhado embaixo. */
.qty-btn { padding: 12px 8px; border-radius: 12px; background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(236,72,153,0.25)); border: 2px solid transparent; color: #fff; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; }
.qty-btn .n { font-weight: 700; font-size: 15px; display: block; line-height: 1.25; overflow-wrap: anywhere; }
.qty-btn .p { font-size: 12.5px; color: #e0d4ff; display: block; margin-top: 2px; }
.qty-btn.active { border-color: #ec4899; box-shadow: 0 0 14px rgba(236,72,153,0.55); }

/* Crédito (cashback) no checkout */
.credito-toggle { display:flex; align-items:center; gap:9px; cursor:pointer; margin:2px 0 8px;
  padding:11px 13px; border-radius:12px; background:rgba(34,197,94,.12); border:1px solid rgba(74,222,128,.4);
  font-size:14px; color:#e6e8f0; }
.credito-toggle input { width:18px; height:18px; accent-color:#22c55e; flex-shrink:0; }
.credito-toggle b { color:#4ade80; }
.credito-resumo { margin:0 0 10px; padding:0 4px; }
.credito-resumo .cr-linha { display:flex; justify-content:space-between; font-size:13px; color:#c5cae0; padding:2px 0; }
.credito-resumo .cr-linha b { color:#4ade80; }
.credito-resumo .cr-pix b { color:#fff; font-size:15px; }

.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 4px 0 24px; }
.badge { display: flex; align-items: center; gap: 8px; }
.badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.badge span { font-size: 12px; color: #d8dee9; font-weight: 500; }

.custom-qty-box {
  background: rgba(79,172,254,0.07); border: 1px solid rgba(79,172,254,0.3);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.custom-qty-box label { margin-bottom: 10px; }
.custom-qty-row { display: flex; align-items: stretch; gap: 8px; }
.custom-qty-row input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
  color: #fff; font-size: 17px; font-weight: 700; text-align: center; outline: none;
}
.custom-qty-row input::placeholder { color: #b8bfd6; font-weight: 400; }
.custom-qty-row input:focus { border-color: #4facfe; box-shadow: 0 0 0 3px rgba(79,172,254,0.25); }
/* remove as setinhas nativas (some/ficam minúsculas no celular) */
.custom-qty-row input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.custom-qty-row input[type=number]::-webkit-outer-spin-button,
.custom-qty-row input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* botões grandes de - e + (bons pra celular) */
.qty-step {
  flex: 0 0 52px; width: 52px; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #4facfe, #a855f7); color: #fff;
  font-size: 26px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent; user-select: none; touch-action: manipulation;
}
.qty-step:active { transform: scale(0.94); }
.custom-qty-result { min-width: 88px; text-align: right; font-size: 15px; font-weight: 700; color: #4ade80; }
.custom-qty-promo { display: block; text-align: center; font-size: 10.5px; color: #fbbf24; font-weight: 600; margin-top: 6px; }
.custom-qty-hint { font-size: 11px; color: #9aa5c1; margin-top: 8px; }
.custom-qty-hint.error { color: #f87171; }
.custom-qty-box.disabled { opacity: .55; }
.custom-qty-box.disabled input,
.custom-qty-box.disabled .qty-step { pointer-events: none; }

.wa-note { font-size: 11px; color: #9aa5c1; text-align: center; margin: -6px 0 20px; line-height: 1.5; }
.wa-note a { color: #4facfe; text-decoration: none; font-weight: 600; }

.dados-title { color: #fbbf24; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.neon-input {
  width: 100%; padding: 15px 16px; border-radius: 12px; margin-bottom: 12px;
  border: 1.5px solid #c084fc; background: #1a1030; color: #fff; font-size: 14.5px;
  outline: none; box-shadow: 0 0 10px rgba(192,132,252,0.25);
}
.neon-input::placeholder { color: #cbb8ec; }
.neon-input:focus { box-shadow: 0 0 0 3px rgba(192,132,252,0.35); }
textarea.neon-input { resize: vertical; min-height: 120px; line-height: 1.5; font-family: inherit; }
.link-hint { font-size: 11px; color: #9aa5c1; margin: -6px 0 14px 4px; }
.link-hint.error { color: #f87171; }

/* ===== Dividir em vários links ===== */
.split-toggle { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #cbd5e1; cursor: pointer; margin: -4px 0 14px; font-weight: 600; }
.split-toggle input { width: 16px; height: 16px; accent-color: #4facfe; cursor: pointer; }
#splitBox { margin-bottom: 12px; }
/* cada divisão = um cartão: link em cima, botões − / qtd / + embaixo */
.split-row { background: rgba(255,255,255,0.03); border: 1px solid rgba(192,132,252,0.28); border-radius: 12px; padding: 10px; margin-bottom: 12px; }
.split-top { display: flex; gap: 8px; align-items: stretch; }
.split-top .split-link { flex: 1; min-width: 0; padding: 12px; border-radius: 10px; border: 1.5px solid #c084fc; background: #1a1030; color: #fff; font-size: 13px; outline: none; }
.split-top .split-link::placeholder { color: #b8bfd6; }
.split-top .split-remove { width: 44px; flex-shrink: 0; border: none; border-radius: 10px; background: rgba(248,113,113,0.15); color: #f87171; font-size: 20px; cursor: pointer; }
.split-qty-row { display: flex; align-items: stretch; gap: 8px; margin-top: 8px; }
.split-qty-row .split-qty { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #fff; font-size: 17px; font-weight: 700; text-align: center; outline: none; }
.split-qty-row .split-qty:focus { border-color: #4facfe; box-shadow: 0 0 0 3px rgba(79,172,254,0.25); }
.split-qty-row input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.split-qty-row input[type=number]::-webkit-outer-spin-button,
.split-qty-row input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.split-add { width: 100%; padding: 11px; border-radius: 10px; border: 1px dashed rgba(79,172,254,0.5); background: rgba(79,172,254,0.08); color: #4facfe; font-size: 13px; font-weight: 600; cursor: pointer; margin-bottom: 8px; }
#splitSummary { font-weight: 600; }
#splitSummary.ok { color: #4ade80; }

.price-box {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 20px; text-align: center; margin-top: 8px;
}
.breakdown { text-align: left; background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.breakdown-title { font-size: 12px; font-weight: 700; color: #fbbf24; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }
.breakdown-item { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #d8dee9; padding: 3px 0; }
.breakdown-item span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }
.breakdown-save { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; font-weight: 700; color: #4ade80; text-align: center; }
.price-total { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.pay-btn {
  width: 100%; padding: 16px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, #a855f7, #ec4899); color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: .3px;
  box-shadow: 0 4px 20px rgba(168,85,247,0.4);
}
.pay-btn:disabled { opacity: .6; cursor: default; }
.form-error { color: #f87171; font-size: 12.5px; margin-top: 10px; min-height: 16px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 16px; }
.trust-item { display: flex; align-items: center; gap: 6px; }
.trust-item svg { width: 16px; height: 16px; opacity: .85; flex-shrink: 0; }
.trust-item span { font-size: 11.5px; color: #9aa5c1; }

footer { text-align: center; font-size: 11.5px; color: #8a91ad; margin-top: 28px; }

/* ===== Conteúdo de SEO (Como funciona / FAQ) ===== */
.seo-content { width: 100%; max-width: 620px; margin: 34px auto 0; padding: 0 6px; color: #d8dee9; }
.seo-content h2 { font-size: 19px; font-weight: 700; color: #fff; margin: 26px 0 12px; line-height: 1.35; }
.seo-content h3 { font-size: 16px; font-weight: 700; color: #fbbf24; margin: 26px 0 12px; }
.seo-content p { font-size: 14px; line-height: 1.7; color: #c4cbe0; margin-bottom: 12px; }
.seo-content strong, .seo-content b { color: #fff; font-weight: 700; }
.seo-content .steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; margin: 6px 0 4px; }
.seo-content .steps li { position: relative; padding: 14px 16px 14px 52px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; font-size: 13.5px; line-height: 1.55; }
.seo-content .steps li:before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #4facfe, #a855f7); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.faq details { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; font-size: 14px; font-weight: 600; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; position: absolute; right: 16px; top: 13px; font-size: 20px; color: #a855f7; transition: transform .2s; }
.faq details[open] summary:after { transform: rotate(45deg); }
.faq details p { padding: 0 16px 15px; font-size: 13.5px; line-height: 1.65; color: #c4cbe0; margin: 0; }
.seo-cta { display: inline-block; margin-top: 8px; color: #4facfe; text-decoration: none; font-weight: 600; font-size: 14px; }
.seo-content ul { margin: 6px 0 12px; padding-left: 20px; }
.seo-content ul li { font-size: 14px; line-height: 1.7; color: #c4cbe0; margin-bottom: 6px; }
.seo-content a { color: #4facfe; text-decoration: none; }

/* Promoções */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 6px 0; }
.promo-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(168,85,247,0.35); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.promo-img { width: 100%; height: 150px; object-fit: cover; display: block; background: #1a1030; }
.promo-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.promo-body h4 { font-size: 15.5px; font-weight: 700; color: #fff; }
.promo-desc { font-size: 13px; color: #c4cbe0; margin: 0; line-height: 1.5; }
.promo-preco { font-size: 20px; font-weight: 700; color: #4ade80; margin: 4px 0; }
.promo-btn { margin-top: 6px; text-align: center; padding: 11px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 13.5px; color: #fff; background: linear-gradient(135deg, #a855f7, #ec4899); box-shadow: 0 4px 14px rgba(168,85,247,0.4); }

/* Blocos por rede social */
.rede-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 8px 0 4px; }
.rede-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; }
.rede-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.rede-card p { font-size: 13.5px; margin: 0; }

/* Páginas de conteúdo (Termos / Privacidade) */
.doc-header { width: 100%; max-width: 620px; margin: 0 auto; padding: 4px 6px 10px; }
.doc-header .logo-row { justify-content: flex-start; margin-bottom: 0; }
.doc.seo-content { margin-top: 18px; }
.doc h1 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.doc-updated { font-size: 12px; color: #9aa5c1; margin-bottom: 18px; }
.doc-note { font-size: 12px; color: #9aa5c1; font-style: italic; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; margin-top: 22px; }
.doc-footer { width: 100%; max-width: 620px; margin: 30px auto 0; padding: 18px 6px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 12.5px; }
.doc-footer a { color: #4facfe; text-decoration: none; }
.doc-footer span { color: #8a91ad; margin-left: auto; }

/* Links do rodapé da home */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 4px; }
/* Área de toque >= 48px de altura e espaçamento entre os links (a11y). */
.footer-links a { color: #9aa5c1; text-decoration: none; font-size: 12px;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 8px; }
.footer-links a:hover { color: #4facfe; }

.wa-float {
  position: fixed; bottom: 20px; right: 16px; left: 16px; max-width: 368px; margin: 0 auto;
  height: 54px; border-radius: 27px; background: #0f7d3b;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45); text-decoration: none; z-index: 10;
}
.wa-float svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }
.wa-float span { color: #fff; font-size: 13.5px; font-weight: 700; }
.wa-float.shake { animation: waShake .5s ease-in-out; }
@keyframes waShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  15% { transform: translateX(-4px) rotate(-2deg); }
  30% { transform: translateX(4px) rotate(2deg); }
  45% { transform: translateX(-4px) rotate(-2deg); }
  60% { transform: translateX(4px) rotate(2deg); }
  75% { transform: translateX(-3px) rotate(-1deg); }
  90% { transform: translateX(3px) rotate(1deg); }
}

/* ===== Modal PIX ===== */
.pix-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px;
}
.pix-overlay.open { display: flex; }
.pix-modal {
  background: #1a1030; border: 1px solid rgba(192,132,252,0.4);
  border-radius: 18px; padding: 24px 20px; width: 100%; max-width: 360px;
  position: relative; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.pix-close { position: absolute; top: 10px; right: 14px; background: none; border: none; color: #cbb8ec; font-size: 26px; cursor: pointer; line-height: 1; }
.pix-modal h3 { font-size: 17px; margin-bottom: 12px; }
.pix-valor { font-size: 24px; font-weight: 700; color: #4ade80; margin-bottom: 14px; }
.pix-qr { width: 200px; height: 200px; background: #fff; border-radius: 12px; padding: 8px; margin: 0 auto 14px; display: block; }
.pix-label { font-size: 12px; color: #cbd5e1; margin-bottom: 8px; }
.pix-copy-row { display: flex; gap: 8px; margin-bottom: 16px; }
.pix-copy-row input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #fff; font-size: 11px; }
.pix-copy-row button { padding: 10px 14px; border-radius: 10px; border: none; background: #4facfe; color: #fff; font-weight: 700; cursor: pointer; font-size: 12.5px; }
.pix-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: #fbbf24; }
.pix-loading { padding: 30px 0; }
.pix-loading p { margin-top: 14px; color: #cbd5e1; font-size: 13px; }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,0.15); border-top-color: #a855f7; border-radius: 50%; margin: 0 auto; animation: spin 0.8s linear infinite; }
.spinner.small { width: 16px; height: 16px; border-width: 2px; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.pix-approved { padding: 20px 0; }
.check-icon { width: 60px; height: 60px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.pix-approved h3 { color: #4ade80; }
.pix-approved p { color: #cbd5e1; font-size: 13.5px; margin-top: 8px; line-height: 1.5; }

/* Link discreto para a landing do catálogo (abaixo do título) */
.cat-tabela-link {
  display: block; text-align: center; margin: -12px 0 22px;
  font-size: 14px; font-weight: 600; color: #c084fc; text-decoration: none;
  letter-spacing: .2px; transition: color .2s;
}
.cat-tabela-link:hover { color: #d8b4fe; text-decoration: underline; }
.cat-livro { width: 20px; height: 16px; vertical-align: -3px; margin-right: 6px; }
