/* Import Club · base das páginas (curso grátis e área de membros)
   Cores da marca: as mesmas da extensão (docs/design-system.md do IC Xianyu Helper).
   Títulos em Archivo (Google Fonts, cada página carrega no <head>); texto na fonte do sistema. */

:root {
  --amarelo: #FFDA00;
  --amarelo-forte: #F2C900;
  --verde: #30CB28;
  --verde-escuro: #1F8A19;
  --perigo: #FF4D4F;
  --texto-no-amarelo: #141414;

  --fundo: #0D0D0D;
  --fundo-alt: #141414;
  --cartao: #1A1A1A;
  --cartao-2: #222222;
  --borda: rgba(255, 255, 255, .09);
  --texto: #F4F4F4;
  --texto-2: #B9B9B9;
  --texto-3: #8C8C8C;

  --fonte-titulo: "Archivo", "Arial Black", system-ui, sans-serif;
  --fonte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --raio-p: 8px;
  --raio: 12px;
  --raio-g: 16px;
  --raio-xg: 24px;
  --largura: 1080px;
  --lateral: 20px;
  --sombra: 0 10px 30px rgba(0, 0, 0, .35);
  --saida: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: var(--amarelo); }
p { margin: 0 0 1em; }
strong { color: #fff; }
::selection { background: var(--amarelo); color: var(--texto-no-amarelo); }

/* ---------- estrutura ---------- */
.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--lateral); }
.container-estreito { max-width: 760px; }
.secao { padding: 64px 0; }
.secao-alt { background: var(--fundo-alt); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.centro { text-align: center; }
.oculto, [hidden] { display: none !important; }

/* ---------- faixa e topo ---------- */
.faixa {
  background: var(--amarelo);
  color: var(--texto-no-amarelo);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 9px var(--lateral);
  line-height: 1.35;
}
.topo { padding: 18px 0; }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca {
  font-family: var(--fonte-titulo);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.marca-ponto { width: 12px; height: 12px; border-radius: 50%; background: var(--amarelo); box-shadow: 0 0 0 4px rgba(255, 218, 0, .18); }

/* ---------- tipografia ---------- */
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: 14px;
}
h1, h2, h3, .titulo-1, .titulo-2, .titulo-3 {
  font-family: var(--fonte-titulo);
  color: #fff;
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1, .titulo-1 { font-size: clamp(32px, 7.2vw, 58px); font-weight: 900; }
h2, .titulo-2 { font-size: clamp(26px, 5vw, 40px); font-weight: 800; }
h3, .titulo-3 { font-size: clamp(19px, 3.2vw, 23px); font-weight: 800; line-height: 1.2; }
.sub { font-size: clamp(17px, 2.6vw, 20px); color: var(--texto-2); max-width: 640px; }
.centro .sub { margin-left: auto; margin-right: auto; }
.destaque { color: var(--amarelo); }
.verde { color: var(--verde); }
.riscado { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--texto-3); }
.nota { font-size: 13px; color: var(--texto-3); line-height: 1.45; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--raio);
  border: 0;
  font-family: var(--fonte);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: translate .2s var(--saida), box-shadow .2s var(--saida), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { translate: 0 1px; }
.btn-primario { background: var(--amarelo); color: var(--texto-no-amarelo); box-shadow: 0 6px 0 var(--amarelo-forte), 0 12px 28px rgba(255, 218, 0, .22); }
.btn-primario:hover { translate: 0 -2px; }
.btn-verde { background: var(--verde); color: #0B2209; box-shadow: 0 6px 0 var(--verde-escuro); }
.btn-verde:hover { translate: 0 -2px; }
.btn-fantasma { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .25); }
.btn-fantasma:hover { border-color: var(--amarelo); color: var(--amarelo); }
.btn-grande { min-height: 60px; font-size: 19px; padding: 16px 28px; }
.btn-bloco { display: flex; width: 100%; }
.btn .btn-sub { display: block; font-size: 13px; font-weight: 600; opacity: .8; }
.btn.em-breve { background: var(--cartao-2); color: var(--texto-3); box-shadow: none; cursor: default; pointer-events: none; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }
.botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.centro .botoes { justify-content: center; }

/* ---------- cartões, grades, selos ---------- */
.grade { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cartao {
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: var(--raio-g);
  padding: 22px;
}
.cartao-destaque { border-color: rgba(255, 218, 0, .45); box-shadow: 0 0 0 1px rgba(255, 218, 0, .15), var(--sombra); }
.selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, .07);
  color: var(--texto-2);
  border: 1px solid var(--borda);
}
.selo-amarelo { background: rgba(255, 218, 0, .12); color: var(--amarelo); border-color: rgba(255, 218, 0, .3); }
.selo-verde { background: rgba(48, 203, 40, .12); color: var(--verde); border-color: rgba(48, 203, 40, .3); }
.preco-real { color: var(--verde); font-weight: 800; }
.preco-yuan { color: #fff; font-weight: 800; }

/* ---------- lista de passos ---------- */
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: passo; }
.passos > li {
  counter-increment: passo;
  position: relative;
  padding: 18px 18px 18px 70px;
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: var(--raio-g);
}
.passos > li::before {
  content: counter(passo);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--amarelo);
  color: var(--texto-no-amarelo);
  font-family: var(--fonte-titulo);
  font-weight: 900;
}
.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lista-check li { position: relative; padding-left: 32px; }
.lista-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2209' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- vídeo do YouTube (capa leve: o player só carrega no toque) ---------- */
.video-capa {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--raio-g);
  overflow: hidden;
  background: #000;
  cursor: pointer;
  border: 1px solid var(--borda);
}
.video-capa img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s var(--saida), opacity .3s; }
.video-capa:hover img { scale: 1.03; opacity: .9; }
.video-capa .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 0;
  background: var(--amarelo);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.video-capa .play::after {
  content: "";
  margin-left: 6px;
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--texto-no-amarelo);
}
.video-capa .capa-propria {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px 16px;
  background:
    radial-gradient(110% 90% at 88% 8%, rgba(255, 218, 0, .30), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(48, 203, 40, .14), transparent 60%),
    linear-gradient(160deg, #1E1E1E, #0B0B0B);
}
.capa-propria .capa-marca { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--texto-2); }
.capa-propria .capa-num { font-family: var(--fonte-titulo); font-weight: 900; font-size: clamp(26px, 7vw, 44px); color: var(--amarelo); line-height: .95; letter-spacing: -.02em; }
.video-capa.com-capa .play { inset: auto; right: 18px; top: 50%; translate: 0 -50%; margin: 0; }
.capa-propria .capa-titulo { font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(15px, 3.8vw, 21px); color: #fff; line-height: 1.15; max-width: 62%; }
.video-capa:hover .capa-propria { filter: brightness(1.08); }
@media (max-width: 600px) { .video-capa .play { width: 60px; height: 60px; } .video-capa .play::after { border-width: 10px 0 10px 17px; margin-left: 5px; } }
.video-capa .duracao {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.video-capa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- perguntas frequentes ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 18px;
  font-weight: 800;
  color: #fff;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  font-size: 24px;
  font-weight: 400;
  color: var(--amarelo);
}
.faq details[open] summary::after { content: "–"; }
.faq .resposta { padding: 0 18px 18px; color: var(--texto-2); }
.faq .resposta p:last-child { margin-bottom: 0; }

/* ---------- formulário ---------- */
.form { display: grid; gap: 12px; }
.campo label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--texto-2); }
.campo input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: var(--raio);
  border: 1.5px solid rgba(255, 255, 255, .16);
  background: #0F0F0F;
  color: #fff;
  font-size: 17px;
  font-family: var(--fonte);
}
.campo input:focus { border-color: var(--amarelo); outline: none; }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texto-2); line-height: 1.4; }
.aceite input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--amarelo); flex-shrink: 0; }
.form .erro { color: var(--perigo); font-size: 14px; font-weight: 700; }
.isca { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- barra fixa no celular ---------- */
.barra-fixa {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px var(--lateral) calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 13, 13, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--borda);
  translate: 0 110%;
  transition: translate .35s var(--saida);
}
.barra-fixa.visivel { translate: 0 0; }
.barra-fixa .btn { width: 100%; min-height: 54px; }
@media (min-width: 900px) { .barra-fixa { display: none; } }
body.tem-barra-fixa { padding-bottom: 84px; }
@media (min-width: 900px) { body.tem-barra-fixa { padding-bottom: 0; } }

/* ---------- rodapé ---------- */
.rodape { padding: 40px 0 48px; border-top: 1px solid var(--borda); color: var(--texto-3); font-size: 14px; }
.rodape a { color: var(--texto-2); }
.rodape .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }

/* ---------- entrada suave ---------- */
.surge { opacity: 0; translate: 0 18px; transition: opacity .6s var(--saida), translate .6s var(--saida); }
.surge.visto { opacity: 1; translate: 0 0; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .secao { padding: 48px 0; }
  .cartao { padding: 18px; }
  .botoes .btn { width: 100%; }
}

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