/* =====================================================================
   PÁGINA DE VENDAS · Black Dagabi BASE GERAL (25/11/2026)
   Usa tokens.css (central de ajustes), base.css e site.css da captura geral;
   aqui ficam só as peças novas e o que muda em relação à captura.
   Ajustes desta página (mexa aqui):                                         */
:root {
  --t-preco-hero:   clamp(2.6rem, 1.9rem + 3vw, 4.2rem);   /* "R$ 30,72" do topo */
  --t-preco-oferta: clamp(3.2rem, 2.2rem + 4.4vw, 5.4rem); /* "R$ 30,72" da oferta */
  --t-fita:         clamp(1.5rem, 1.2rem + 1.3vw, 2.3rem); /* "BLACK" das fitas cruzadas (v2: menor no computador) */
  --giro-fita:      2deg;                                  /* inclinação das fitas */
  --capa-gap:       clamp(.5rem, .3rem + .8vw, .9rem);     /* espaço entre as capas dos cursos */
  --capa-selo:      clamp(4.6rem, 3.8rem + 3vw, 6.4rem);   /* selo redondo "Combo 9 cursos" */
  --tempo-fita:     22s;                                   /* velocidade das fitas */
  --bandeira-alt:   1.75rem;                               /* altura das bandeiras de pagamento */
}
/* Ritmo de fundos: preto (topo) · fitas · preto (cursos) · marrom (bônus) · creme (prova) · preto (para quem)
   · creme (inscrição) · preto (oferta) · marrom (garantia) · creme (perguntas) · preto (rodapé) */
/* ===================================================================== */

.laranja { color: var(--laranja-vivo); }
/* rolagem suave dos botões até a oferta (sem animação para quem pede menos movimento) */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
#oferta { scroll-margin-top: -1rem; }
/* botões com texto longo quebram linha em vez de passar da tela */
.botao > span:first-child { white-space: normal; text-align: left; }

/* =================== TOPO: preço + botão no lugar do formulário =================== */
.hero { padding-bottom: var(--e-5); }
.hero__resto b.hero__num { color: var(--laranja-vivo); font-weight: inherit; }
.hero__oferta { grid-area: form; display: grid; justify-items: center; gap: var(--e-3); width: min(100%, 30rem); margin-top: var(--e-3); }

.preco { position: relative; display: grid; justify-items: center; text-align: center; }
.preco__de { font: 500 var(--t-lead)/1.2 var(--fonte-texto); color: var(--creme-apagado); }
.preco__de s { position: relative; text-decoration: none; color: var(--creme); white-space: nowrap; }
.preco__de s::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 2px; border-radius: 2px; background: var(--laranja-vivo); rotate: -6deg; }
.preco__por { display: flex; align-items: baseline; gap: .45rem; margin-top: .25rem; white-space: nowrap; }
.preco__x { font: var(--peso-titulo) calc(var(--t-preco-hero) * .5)/1 var(--fonte-titulo); color: var(--creme); }
.preco__valor { font: var(--peso-titulo) var(--t-preco-hero)/.95 var(--fonte-titulo); letter-spacing: -.035em; color: var(--dourado); font-variant-numeric: tabular-nums; }
.preco__nota { margin-top: .6rem; font: 500 var(--t-rotulo)/1.4 var(--fonte-texto); color: var(--creme-apagado); }
.selo {
  display: inline-flex; align-items: baseline; gap: .35rem; margin-bottom: .7rem; padding: .4rem .85rem .45rem; border-radius: 999px; rotate: -4deg;
  background: var(--laranja-vivo); color: var(--preto); font: 800 .74rem/1 var(--fonte-texto); letter-spacing: .14em;
}
.selo b { font: var(--peso-titulo) 1.3rem/1 var(--fonte-titulo); letter-spacing: -.02em; }

/* bandeiras de pagamento em traço creme */
.pagamento { display: grid; justify-items: center; gap: .6rem; }
.bandeiras { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.bandeiras li { display: grid; place-items: center; height: var(--bandeira-alt); aspect-ratio: 48 / 30; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--creme-fio); color: var(--creme-apagado); }
.bandeiras svg { width: 100%; height: 100%; }
.pagamento__seguro { display: flex; align-items: center; gap: .45rem; font: 500 var(--t-rotulo)/1.3 var(--fonte-texto); color: var(--creme-apagado); }
.pagamento__seguro .ic { width: 1rem; height: 1rem; color: var(--dourado); stroke-width: 1.8; }

/* =================== FITAS CRUZADAS "BLACK BLACK BLACK" =================== */
.fitas { position: relative; z-index: 3; height: calc(var(--t-fita) * 2.3); margin: calc(var(--t-fita) * -.6) 0 calc(var(--t-fita) * -.5); overflow: hidden; pointer-events: none; }
.fita { position: absolute; left: -5%; width: 110%; top: 50%; overflow: hidden; padding: .5rem 0 .4rem; }
.fita--a { rotate: calc(-1 * var(--giro-fita)); translate: 0 -55%; background: var(--laranja-vivo); color: var(--preto); z-index: 2; }
.fita--b { rotate: var(--giro-fita); translate: 0 -45%; background: var(--preto-quente); color: transparent; -webkit-text-stroke: 1.2px var(--dourado);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--dourado) 45%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--dourado) 45%, transparent); }
.fita__trilho { display: flex; align-items: center; gap: 1.6rem; width: max-content; padding-right: 1.6rem; animation: correr var(--tempo-fita) linear infinite;
  font: var(--peso-titulo) var(--t-fita)/1 var(--fonte-titulo); text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.fita--b .fita__trilho { animation-direction: reverse; animation-duration: calc(var(--tempo-fita) * 1.3); }
.fita i { flex: none; width: .32em; height: .32em; border-radius: 50%; background: currentColor; font-size: var(--t-fita); }
.fita--a i { background: var(--preto); }
.fita--b i { background: var(--laranja-vivo); }

/* =================== CURSOS: mesmas abas da captura =================== */
.aprender { padding-top: calc(var(--secao-y) * .55); }
.aprender__titulo { max-width: 22em; }
.combo__dica { display: none; }
/* celular e tablet: os 8 cursos num carrossel de arrastar (antes, empilhados, ocupavam ~8 telas) */
@media (max-width: 1023px) {
  .combo__paineis { display: flex; gap: .8rem; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--lateral)); padding: .2rem var(--lateral) .6rem; scroll-padding-inline: var(--lateral); overscroll-behavior-x: contain; }
  .combo__paineis::-webkit-scrollbar { display: none; }
  .combo__paineis .curso { flex: 0 0 min(86%, 26rem); scroll-snap-align: start; }
  .combo__dica { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .6rem;
    font: 600 var(--t-rotulo)/1.3 var(--fonte-texto); color: var(--creme-apagado); }
  .combo__dica .ic { width: 1rem; height: 1rem; color: var(--laranja-vivo); }
  .combo__acao { margin-top: var(--e-3); }
}

/* =================== BÔNUS (marrom que sobe sobre o preto) =================== */
.bonus { position: relative; z-index: 1; background: var(--marrom); color: var(--creme);
  border-radius: var(--raio-secao) var(--raio-secao) 0 0; margin-top: calc(-1 * var(--raio-secao));
  padding: calc(var(--secao-y) * .8) 0 calc(var(--secao-y) * .8 + var(--raio-secao)); }
.bonus__titulo { display: flex; align-items: center; justify-content: center; gap: .6rem; text-align: center; font-size: var(--t-h2-caixa); line-height: 1.15; color: var(--dourado); text-wrap: balance; }
.bonus__titulo .ic { width: 1.1em; height: 1.1em; color: var(--laranja-vivo); stroke-width: 1.6; }
.sorteio { display: grid; width: min(100%, 60rem); margin: var(--e-4) auto 0; border-radius: var(--raio-cartao); overflow: hidden; background: var(--preto); box-shadow: var(--hairline); }
.sorteio__marca { position: relative; display: grid; place-items: center; padding: clamp(2rem, 1.4rem + 3vw, 3.4rem) 1.5rem; background: var(--preto-quente); }
.sorteio__marca img { position: relative; width: min(100%, 19rem); }
.sorteio__ponto { position: absolute; inset: .8rem; border-radius: calc(var(--raio-cartao) - .5rem); border: 1.5px dashed color-mix(in srgb, var(--dourado) 40%, transparent); }
.sorteio__texto { display: grid; gap: .9rem; align-content: center; padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
.sorteio__prazo { display: flex; align-items: center; gap: .55rem; justify-self: start; padding: .5rem .9rem; border-radius: 999px; background: var(--laranja-vivo); color: var(--preto);
  font: 700 var(--t-rotulo)/1.25 var(--fonte-texto); }
.sorteio__prazo .ic { width: 1.15rem; height: 1.15rem; stroke-width: 2; }
.sorteio__nome { font: var(--peso-titulo) clamp(1.45rem, 1.1rem + 1.5vw, 2.1rem)/1.15 var(--fonte-titulo); letter-spacing: -.015em; color: var(--creme); text-wrap: balance; }
.sorteio__nome span { color: var(--dourado); }
.sorteio__texto > p:last-child { font: 400 var(--t-texto)/1.6 var(--fonte-texto); color: var(--creme-apagado); }
.sorteio__texto strong { color: var(--creme); font-weight: 700; }

/* =================== PROVA: sobe sobre o marrom =================== */
.prova { z-index: 2; border-radius: var(--raio-secao) var(--raio-secao) 0 0; margin-top: calc(-1 * var(--raio-secao)); }

/* =================== PARA QUEM É =================== */
.paraquem { background: var(--preto); padding: calc(var(--secao-y) * .7) 0 calc(var(--secao-y) * .8 + var(--raio-secao)); }
.paraquem__titulo { font-size: var(--t-h2-caixa); line-height: 1.2; color: var(--dourado); text-align: center; max-width: 18em; margin-inline: auto; text-wrap: balance; }
.alvos { display: grid; gap: .8rem; margin: var(--e-4) 0; }
.alvo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; padding: 1.15rem 1.2rem; border-radius: var(--raio-cartao); background: var(--preto-quente); box-shadow: var(--hairline); }
.alvo .ic { width: 1.7rem; height: 1.7rem; color: var(--laranja-vivo); }
.alvo p { font: 400 var(--t-texto)/1.5 var(--fonte-texto); color: var(--creme); }
.alvo strong { color: var(--dourado); font-weight: 700; }

/* =================== COMO ME INSCREVER (creme, passos da captura) =================== */
.inscricao { z-index: 1; border-radius: var(--raio-secao) var(--raio-secao) 0 0; margin-top: calc(-1 * var(--raio-secao));
  padding: calc(var(--secao-y) * .8) 0 calc(var(--secao-y) * .7 + var(--curva-alt) * .6); }
.inscricao__titulo { font-size: var(--t-h2-caixa); line-height: 1.2; color: var(--preto); text-align: center; max-width: 20em; margin-inline: auto; text-wrap: balance; }
.inscricao .linha { margin-top: var(--e-4); }
.inscricao .etapa:not(.etapa--presente) .etapa__num { background: var(--preto); }
.etapa__txt { display: grid; gap: .35rem; padding: 1rem 1.2rem 1.1rem; border-radius: var(--raio-cartao); background: var(--preto); box-shadow: var(--hairline); }
.etapa__txt h3 { font: 700 var(--t-h3)/1.3 var(--fonte-texto); color: var(--dourado); text-wrap: balance; }
.etapa__txt p { padding: 0; background: none; box-shadow: none; border-radius: 0; font: 400 var(--t-texto)/1.5 var(--fonte-texto); color: var(--creme); }
.etapa--presente .etapa__txt { background: var(--marrom); box-shadow: none; }

/* =================== OFERTA =================== */
.oferta-final { position: relative; background: var(--preto); padding: calc(var(--secao-y) * .5) 0 calc(var(--secao-y) * .9 + var(--raio-secao)); scroll-margin-top: 0; }
.pacote { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-3); width: min(100%, 66rem); margin-inline: auto; padding: clamp(1.4rem, 1rem + 2vw, 2.8rem) clamp(1rem, .6rem + 2vw, 2.8rem);
  border-radius: calc(var(--raio-cartao) + 6px); background: var(--preto-quente);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--laranja-vivo) 55%, transparent), 0 30px 80px -40px color-mix(in srgb, var(--laranja-vivo) 45%, transparent); }
.pacote__topo { display: grid; justify-items: center; gap: .8rem; text-align: center; }
.pacote__logo { width: min(62vw, 15rem); }
.pacote__titulo { font-size: var(--t-h2-caixa); line-height: 1.1; color: var(--creme); }
/* as 9 capas inteiras: 3 por linha no celular, 5 + 4 no computador */
.capas { position: relative; width: min(100%, 52rem); margin: var(--e-2) auto 0; }
.capas__grade { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--capa-gap); }
.capas__grade li { width: calc((100% - 2 * var(--capa-gap)) / 3); border-radius: calc(var(--raio-cartao) * .55); overflow: hidden;
  box-shadow: 0 18px 30px -18px rgb(0 0 0 / .9), 0 0 0 1px var(--creme-fio);
  transition: translate var(--medio) var(--curva-saida), box-shadow var(--medio) var(--curva-saida); }
.capas__grade img { display: block; width: 100%; height: auto; }
.capas__selo { position: absolute; z-index: 2; left: -.4rem; top: -1.2rem; display: grid; place-items: center; align-content: center;
  width: var(--capa-selo); aspect-ratio: 1; border-radius: 50%; rotate: -10deg; background: var(--laranja-vivo); color: var(--preto);
  box-shadow: inset 0 0 0 .3rem var(--laranja-vivo), inset 0 0 0 .42rem color-mix(in srgb, var(--preto) 55%, transparent), 0 12px 24px -12px rgb(0 0 0 / .9); }
.capas__selo small { font: 800 calc(var(--capa-selo) * .13)/1 var(--fonte-texto); letter-spacing: .12em; text-transform: uppercase; }
.capas__selo b { font: var(--peso-titulo) calc(var(--capa-selo) * .44)/.9 var(--fonte-titulo); }
@media (hover: hover) {
  .capas__grade li:hover { translate: 0 -6px; box-shadow: 0 24px 36px -18px rgb(0 0 0 / .95), 0 0 0 1.5px var(--laranja-vivo); }
}
.pacote__corpo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-4); }
.pacote__lista { display: grid; gap: .1rem; }
.pacote__lista li { display: flex; align-items: center; gap: .75rem; padding: .7rem .2rem; border-bottom: 1px solid var(--creme-fio);
  font: 600 var(--t-texto)/1.3 var(--fonte-texto); color: var(--creme); }
.pacote__lista li:last-child { border-bottom: 0; }
.pacote__lista .ic { width: 1.35rem; height: 1.35rem; color: var(--laranja-vivo); stroke-width: 1.8; }
.pacote__compra { display: grid; justify-items: center; gap: var(--e-3); text-align: center; padding: clamp(1.4rem, 1rem + 2vw, 2.2rem) 1rem; border-radius: var(--raio-cartao); background: var(--preto); box-shadow: var(--hairline); }
.preco--grande .preco__valor { font-size: var(--t-preco-oferta); }
.preco--grande .preco__x { font-size: calc(var(--t-preco-oferta) * .45); }
.pacote__desconto { font: 700 var(--t-texto)/1.35 var(--fonte-texto); letter-spacing: .08em; text-transform: uppercase; color: var(--creme); text-wrap: balance; }
.pacote__desconto span { color: var(--laranja-vivo); }
.botao--compra { width: 100%; max-width: 26rem; justify-content: space-between; }

/* =================== GARANTIA (marrom que sobe sobre o preto) =================== */
.garantia { position: relative; z-index: 1; background: var(--marrom); color: var(--creme);
  border-radius: var(--raio-secao) var(--raio-secao) 0 0; margin-top: calc(-1 * var(--raio-secao));
  padding: calc(var(--secao-y) * .8) 0 calc(var(--secao-y) * .8 + var(--raio-secao)); }
.garantia__grade { display: grid; justify-items: center; gap: var(--e-4); text-align: center; max-width: 58rem; }
.selo-garantia { width: clamp(10rem, 6rem + 9vw, 15.5rem); }
.selo-garantia svg { width: 100%; height: auto; overflow: visible; }
.selo-garantia__fundo { fill: var(--preto); }
.selo-garantia__tracejado { fill: none; stroke: var(--dourado); stroke-width: 1.4; stroke-dasharray: 5 5; opacity: .6; }
.selo-garantia__miolo { fill: var(--laranja-vivo); }
.selo-garantia__giro { font: 700 13.5px/1 var(--fonte-texto); letter-spacing: .28em; text-transform: uppercase; fill: var(--dourado); }
.selo-garantia__num { font: var(--peso-titulo) 64px/1 var(--fonte-titulo); fill: var(--preto); }
.selo-garantia__dias { font: 800 15px/1 var(--fonte-texto); letter-spacing: .2em; text-transform: uppercase; fill: var(--preto); }
.anim-pronta .selo-garantia svg { rotate: -90deg; scale: .7; transition: rotate 1.2s var(--curva-saida) .2s, scale 1.2s var(--curva-saida) .2s; }
.anim-pronta .selo-garantia.visivel svg { rotate: 0deg; scale: 1; }
.garantia__texto { display: grid; gap: 1rem; justify-items: center; }
.garantia__titulo { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.2; color: var(--dourado); max-width: 20em; text-wrap: balance; }
.garantia__texto > p { font: 400 var(--t-lead)/1.6 var(--fonte-texto); color: var(--creme); max-width: 38rem; }
.garantia__texto strong { color: var(--dourado); }

/* =================== PERGUNTAS: sobe sobre o marrom =================== */
.perguntas { z-index: 2; border-radius: var(--raio-secao) var(--raio-secao) 0 0; margin-top: calc(-1 * var(--raio-secao)); }
.perguntas__titulo { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.15; max-width: 16em; margin-inline: auto; text-wrap: balance; }

/* =================== RODAPÉ =================== */
.rodape { padding-top: calc(var(--e-5) + 1.3rem); }

/* =================== BOTÃO FIXO (branco, padrão dos botões da página) =================== */
.fixo { background: var(--branco); color: var(--preto); }
.fixo .botao__icone { background: var(--preto); color: var(--branco); }
.fixo:hover .botao__icone, .fixo:focus-visible .botao__icone { background: var(--laranja-vivo); color: var(--preto); }
@media (max-width: 1023px) { .fixo { width: max-content; max-width: calc(100% - 2 * var(--lateral)); } }

/* =================== TABLET =================== */
@media (min-width: 700px) {
  .alvos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capas__grade li { width: calc((100% - 4 * var(--capa-gap)) / 5); }
  .capas__selo { left: -1.6rem; top: -1.6rem; }
  .sorteio { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .garantia__grade { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; gap: var(--e-5); align-items: center; }
  .garantia__texto { justify-items: start; }
}

/* =================== COMPUTADOR =================== */
@media (min-width: 1024px) {
  .hero { padding-bottom: var(--e-5); }
  .hero__grade { min-height: calc(100svh - 2.25rem - var(--e-5)); }
  .hero__oferta { justify-items: start; margin-top: .4rem; width: auto; }
  .hero__oferta .preco { justify-items: start; text-align: left; }
  .hero__oferta .selo { position: absolute; left: calc(100% + .6rem); top: -.2rem; margin: 0; }
  .hero__oferta .pagamento { justify-items: start; }
  .bandeiras { justify-content: flex-start; }
  .pacote__compra .bandeiras { justify-content: center; }
  .hero__legenda { bottom: calc(var(--e-5) + 1.5rem); }
  .hero__foto::after { background:
      linear-gradient(to right, rgb(0 0 0 / .35) 40%, transparent 62%),
      linear-gradient(to top, var(--preto) 0, var(--preto) var(--e-5), transparent calc(var(--e-5) + 9rem)),
      linear-gradient(to bottom, color-mix(in srgb, var(--preto) 70%, transparent), transparent 26%); }

  .alvos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .alvo { grid-template-columns: 1fr; gap: .8rem; padding: 1.4rem 1.4rem 1.5rem; }

  .etapa__txt { height: 100%; align-content: start; }

  .pacote__corpo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--e-4); align-items: center; }
  .botao--compra { font-size: 1rem; letter-spacing: .03em; }
  .pacote__compra { padding: 2.4rem 1.6rem; }
  .preco--grande .preco__valor { font-size: clamp(3.4rem, 1.6rem + 3.2vw, 4.8rem); }

  .perguntas__titulo { max-width: 22em; }
}

@media (prefers-reduced-motion: reduce) {
  .fita__trilho { animation: none; }
}
