/* ==========================================================================
   /smart-tv — pagina publica sobre a aplicacao HOTBOYS TV
   CSS proprio (sem Tailwind CDN): a pagina precisa carregar rapido e ranquear.
   Tokens iguais aos do hb.v3.css para nao destoar do menu e do rodape.
   ========================================================================== */
.stv {
  --stv-red: #E2382F;
  --stv-orange: #FF6A00;
  --stv-bg: #0A0B0D;
  --stv-card: #121418;
  --stv-line: rgba(255, 255, 255, .08);
  --stv-txt: #F8F9FA;
  --stv-dim: #A8ACB4;
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  color: var(--stv-txt);
  background: var(--stv-bg);
  overflow-x: hidden;
}
.stv * { box-sizing: border-box; }
.stv-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.stv h2 { font-size: 34px; line-height: 1.15; font-weight: 800; margin: 0 0 14px; letter-spacing: -.02em; }
.stv h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 8px; }
.stv p { margin: 0 0 14px; color: var(--stv-dim); font-size: 17px; line-height: 1.65; }
.stv-olho {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--stv-red); margin-bottom: 12px;
}
.stv-sec { padding: 72px 0; border-top: 1px solid var(--stv-line); }
.stv-sec--limpa { border-top: 0; }

/* ---------- botoes ---------- */
.stv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-size: 17px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.stv-btn:hover { transform: translateY(-2px); }
.stv-btn--principal {
  background: linear-gradient(45deg, var(--stv-red), var(--stv-orange));
  color: #fff; box-shadow: 0 10px 30px rgba(226, 56, 47, .35);
}
.stv-btn--principal:hover { box-shadow: 0 14px 38px rgba(226, 56, 47, .5); }
.stv-btn--fantasma { background: rgba(255, 255, 255, .07); color: #fff; border-color: var(--stv-line); }
.stv-btn--fantasma:hover { background: rgba(255, 255, 255, .13); }

/* ---------- topo ---------- */
.stv-topo {
  position: relative; padding: 76px 0 84px;
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(226, 56, 47, .20), transparent 62%),
    radial-gradient(700px 420px at 12% 92%, rgba(255, 106, 0, .12), transparent 60%);
}
.stv-topo__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.stv-topo h1 {
  font-size: 52px; line-height: 1.06; font-weight: 800; letter-spacing: -.03em; margin: 0 0 18px;
}
.stv-topo h1 em { font-style: normal; color: var(--stv-red); }
.stv-topo__lead { font-size: 19px; color: #D6D9DE; max-width: 34ch; }
.stv-topo__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.stv-selos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.stv-selos li {
  font-size: 13px; font-weight: 600; color: var(--stv-dim);
  border: 1px solid var(--stv-line); background: rgba(255, 255, 255, .04);
  border-radius: 999px; padding: 7px 14px;
}

/* ---------- moldura de TV ---------- */
.stv-tv { position: relative; }
.stv-tv__moldura {
  background: #17191E; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
  padding: 10px 10px 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .65);
}
.stv-tv__tela {
  display: block; width: 100%; height: auto; border-radius: 8px; background: #000;
}
.stv-tv__pe { width: 130px; height: 10px; margin: 0 auto; background: #17191E; border-radius: 0 0 8px 8px; }
.stv-tv__base { width: 210px; height: 8px; margin: 0 auto; background: #0F1114; border-radius: 999px; }

/* ---------- passos ---------- */
.stv-passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.stv-passo {
  background: var(--stv-card); border: 1px solid var(--stv-line); border-radius: 16px; padding: 26px;
}
.stv-passo__n {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 999px; background: linear-gradient(45deg, var(--stv-red), var(--stv-orange));
  color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.stv-passo p { font-size: 15.5px; margin: 0; }
.stv-dupla { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.stv-dupla--invertida .stv-dupla__texto { order: 2; }

/* ---------- recursos ---------- */
.stv-recursos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.stv-recurso {
  background: var(--stv-card); border: 1px solid var(--stv-line); border-radius: 16px; padding: 24px;
}
.stv-recurso__ico { font-size: 22px; color: var(--stv-red); margin-bottom: 12px; }
.stv-recurso h3 { font-size: 17.5px; }
.stv-recurso p { font-size: 15px; margin: 0; }

/* ---------- compatibilidade ---------- */
.stv-compat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.stv-compat__item {
  border: 1px solid var(--stv-line); border-radius: 14px; padding: 20px; background: rgba(255, 255, 255, .03);
}
.stv-compat__item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.stv-compat__item span { font-size: 14px; color: var(--stv-dim); }
.stv-nota {
  margin-top: 24px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--stv-line); background: rgba(255, 255, 255, .03); font-size: 15.5px; color: var(--stv-dim);
}

/* ---------- perguntas ---------- */
.stv-faq { margin-top: 28px; }
.stv-faq details {
  border: 1px solid var(--stv-line); border-radius: 14px; background: var(--stv-card);
  margin-bottom: 12px; overflow: hidden;
}
.stv-faq summary {
  cursor: pointer; list-style: none; padding: 20px 22px; font-size: 17px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.stv-faq summary::-webkit-details-marker { display: none; }
.stv-faq summary::after { content: '+'; color: var(--stv-red); font-size: 24px; font-weight: 700; line-height: 1; }
.stv-faq details[open] summary::after { content: '–'; }
.stv-faq__resposta { padding: 0 22px 20px; }
.stv-faq__resposta p { margin: 0; font-size: 16px; }

/* ---------- chamada final ---------- */
.stv-final {
  margin: 0 0 8px; padding: 58px 40px; border-radius: 22px; text-align: center;
  background: linear-gradient(135deg, rgba(226, 56, 47, .22), rgba(255, 106, 0, .10));
  border: 1px solid rgba(226, 56, 47, .3);
}
.stv-final h2 { font-size: 36px; }
.stv-final p { max-width: 58ch; margin: 0 auto 26px; }
.stv-final .stv-topo__btns { justify-content: center; }

/* ---------- 1024 ---------- */
@media (max-width: 1024px) {
  .stv-topo__grade, .stv-dupla { grid-template-columns: 1fr; gap: 38px; }
  .stv-dupla--invertida .stv-dupla__texto { order: 0; }
  .stv-topo h1 { font-size: 44px; }
  .stv-topo__lead { max-width: none; }
  .stv-recursos, .stv-compat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- 768 ---------- */
@media (max-width: 768px) {
  .stv-sec { padding: 56px 0; }
  .stv-topo { padding: 48px 0 60px; }
  .stv-topo h1 { font-size: 36px; }
  .stv-topo__lead { font-size: 17px; }
  .stv h2 { font-size: 28px; }
  .stv-final { padding: 44px 24px; }
  .stv-final h2 { font-size: 28px; }
  .stv-passos { grid-template-columns: 1fr; }
}
/* ---------- 390 ---------- */
@media (max-width: 480px) {
  .stv-wrap { padding: 0 16px; }
  .stv-topo h1 { font-size: 31px; }
  .stv-recursos, .stv-compat { grid-template-columns: 1fr; }
  .stv-btn { width: 100%; padding: 15px 22px; font-size: 16px; }
  .stv-topo__btns { gap: 10px; }
  .stv-faq summary { font-size: 16px; padding: 17px 18px; }
}
