/* ============================================================
   WF ADS — /assinatura
   Pagina da assinatura de R$19,90 para a campanha de e-mail.
   Clara (como a Formacao Starter), com faixas pretas pontuais e
   as capas reais dos cursos. Mesmas fontes e magenta do site.
   ============================================================ */

:root {
  --bg:      #F7F4F5;
  --bg-2:    #FFFFFF;
  --ink:     #0A0508;
  --ink-2:   #4A4247;
  --ink-3:   #7C7379;
  --line:    rgba(10, 5, 8, .10);
  --brand:   #E0009E;
  --brand-hi:#FF3CC7;
  --preto:   #040102;
  --grad:    linear-gradient(100deg, #FF3CC7, #E0009E 50%, #A8007A);

  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body:    "Manrope", "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 5vw, 56px);
  --maxw:   1180px;
  --ease:   cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.olho {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.olho i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px rgba(224, 0, 158, .6); }
.olho b { color: var(--brand); font-weight: 600; }

.destaque {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botao ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 30px; border-radius: 999px; text-decoration: none;
  font: 700 17px/1 var(--display); letter-spacing: -.01em; color: #fff;
  background: var(--grad);
  box-shadow: 0 18px 40px -14px rgba(224, 0, 158, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -14px rgba(224, 0, 158, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn .seta { transition: transform .25s var(--ease); }
.btn:hover .seta { transform: translateX(3px); }
.micro { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.micro b { color: var(--ink-2); font-weight: 600; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 244, 245, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca { font: 700 22px/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.marca span { color: var(--brand); }
.topo .entrar { font: 600 14px/1 var(--body); color: var(--ink-2); text-decoration: none; }
.topo .entrar:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 9vh, 96px) 0 0; text-align: center; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(10, 5, 8, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10, 5, 8, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 10%, #000 20%, transparent 80%);
          mask-image: radial-gradient(90% 70% at 50% 10%, #000 20%, transparent 80%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: -220px; width: min(1100px, 140vw); height: 620px;
  transform: translateX(-50%); border-radius: 50%; filter: blur(110px);
  background: radial-gradient(closest-side, rgba(254, 26, 189, .38), rgba(224, 0, 158, .12) 60%, transparent);
}
.hero h1 { margin: 22px auto 0; max-width: 15ch; font-size: clamp(46px, 9vw, 112px); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.hero .lede { margin: 26px auto 0; max-width: 34em; font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-2); }
.hero .cta { margin-top: 34px; }

.leque { position: relative; height: clamp(300px, 46vw, 470px); margin-top: 40px; }
/* O leque gira da direita para a esquerda (assinatura.html, script):
   cada carta tem uma posicao --d (-4 a 4); a cada passo todas andam uma
   casa, e a que sai pela esquerda volta escondida pela direita com a
   proxima capa da fila. Passar o mouse para o giro e levanta a carta. */
.leque { --lift: 0px; }
.leque .carta {
  position: absolute; left: 50%; bottom: -24%;
  width: clamp(120px, 19vw, 230px); aspect-ratio: 708 / 1494; border-radius: 14px; overflow: hidden;
  transform-origin: 50% 190%;
  transform: translateX(-50%) rotate(calc(var(--d) * 9deg)) translateY(calc(var(--abs) * 14px + var(--lift)));
  box-shadow: 0 26px 50px -12px rgba(40, 0, 30, .45), 0 0 0 1px rgba(10, 5, 8, .08);
  transition: transform .9s var(--ease), opacity .6s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}
.leque .carta img { width: 100%; height: 100%; object-fit: cover; }
.leque .carta.fora { opacity: 0; }
.leque .carta.salto { transition: none; }
.leque .carta:hover { --lift: -34px; box-shadow: 0 40px 70px -18px rgba(224, 0, 158, .55), 0 0 0 2px var(--brand); }

/* ---------- Faixa preta de numeros ---------- */
.numeros { background: var(--preto); color: #fff; padding: 42px 0; }
.numeros ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.numeros strong { display: block; font: 700 clamp(34px, 5vw, 54px)/1 var(--display); letter-spacing: -.04em; }
.numeros strong em { font-style: normal; color: var(--brand-hi); }
.numeros span { display: block; margin-top: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #9A9497; }

/* ---------- Secoes ---------- */
.sec { padding: clamp(72px, 12vh, 128px) 0; }
.sec-cab { max-width: 720px; margin-bottom: 44px; }
.sec-cab.centro { margin-left: auto; margin-right: auto; text-align: center; }
.sec h2 { margin-top: 16px; font-size: clamp(34px, 5.4vw, 60px); line-height: .98; }
.sec-cab p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }

/* O que voce recebe */
.recebe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.item {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(40, 0, 30, .35); }
.item .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(224, 0, 158, .09); color: var(--brand);
}
.item .ico svg { width: 22px; height: 22px; }
.item h3 { margin-top: 18px; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.item p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* Formacoes: fileiras de capas */
.formacao + .formacao { margin-top: 44px; }
.formacao-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.formacao-cab h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; }
.formacao-cab span { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.fileira {
  display: flex; gap: 14px; margin-top: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: thin;
}
.fileira img {
  flex: none; width: 150px; aspect-ratio: 708 / 1494; object-fit: cover; border-radius: 12px;
  scroll-snap-align: start; box-shadow: 0 10px 24px -14px rgba(40, 0, 30, .5), 0 0 0 1px rgba(10, 5, 8, .07);
}

/* A Black que soma (faixa preta) */
.black { background: var(--preto); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.black::before {
  content: ''; position: absolute; z-index: -1; top: -200px; right: -160px; width: 640px; height: 640px; border-radius: 50%;
  filter: blur(140px); background: rgba(140, 14, 119, .55);
}
.black .olho { color: #9A9497; }
.black .sec-cab p { color: #B9B2B6; }
.compara { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compara > div { border-radius: 20px; padding: 30px; }
.compara .outro { border: 1px solid rgba(255, 255, 255, .12); color: #B9B2B6; }
.compara .nosso { background: linear-gradient(160deg, rgba(254, 26, 189, .16), rgba(140, 14, 119, .1)); border: 1px solid rgba(254, 26, 189, .4); }
.compara h3 { font-size: 22px; letter-spacing: -.02em; color: #fff; }
.compara ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.compara li { display: flex; gap: 12px; align-items: flex-start; }
.compara li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; }
.compara .outro li::before { border: 1.5px solid rgba(255, 255, 255, .3); }
.compara .nosso li::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.compara .nosso li { color: #fff; }

/* Como funciona */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: passo; }
.passos li { position: relative; padding: 28px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); counter-increment: passo; }
.passos li::before { content: '0' counter(passo); font: 600 13px/1 var(--mono); letter-spacing: .16em; color: var(--brand); }
.passos h3 { margin-top: 16px; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.passos p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* Oferta */
.oferta { text-align: center; }
.cartao {
  max-width: 560px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); border-radius: 28px;
  background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(40, 0, 30, .35);
}
.cartao .preco { margin-top: 18px; font: 700 clamp(56px, 10vw, 84px)/1 var(--display); letter-spacing: -.05em; }
.cartao .preco small { font-size: .38em; letter-spacing: -.01em; color: var(--ink-3); font-weight: 600; }
.cartao ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 10px; text-align: left; font-size: 16px; }
.cartao li { display: flex; gap: 10px; }
.cartao li::before { content: '✓'; color: var(--brand); font-weight: 800; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 22px 0; font: 700 19px/1.3 var(--display); letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 500 26px/1 var(--display); color: var(--brand); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; }

/* Rodape */
.rodape { background: var(--preto); color: #9A9497; padding: 40px 0; font-size: 14px; }
.rodape .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.rodape a { color: #CFC8CC; text-decoration: none; }

/* Barra fixa no celular */
.barra {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none;
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.barra.mostra { transform: none; }
.barra .btn { width: 100%; }

/* Revelar ao rolar */
[data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-rv].in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .recebe, .passos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .numeros ul { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .recebe, .passos, .compara { grid-template-columns: 1fr; }
  .fileira img { width: 120px; }
  .formacao-cab { flex-wrap: wrap; row-gap: 8px; }
  .formacao-cab span { white-space: normal; }
  .barra { display: block; }
  .rodape { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1; transform: none; transition: none; }
  .btn, .item, .barra { transition: none; }
}

/* ============================================================
   Movimento: borda que corre em volta dos cards, icones vivos,
   brilho no preco e checks que entram um a um.
   ============================================================ */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes girar-borda { to { --ang: 360deg; } }

/* Borda: um conic-gradient so na faixa de 1.5px (mascara), girando. */
.item, .passos li, .cartao { position: relative; isolation: isolate; }
.item::after, .passos li::after, .cartao::after {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 250deg, rgba(254, 26, 189, .15) 290deg, #FE1ABD 330deg, #FF3CC7 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: girar-borda 6s linear infinite; pointer-events: none;
}
.item:nth-child(2)::after { animation-delay: -1s; }
.item:nth-child(3)::after { animation-delay: -2s; }
.item:nth-child(4)::after { animation-delay: -3s; }
.item:nth-child(5)::after { animation-delay: -4s; }
.item:nth-child(6)::after { animation-delay: -5s; }
.passos li:nth-child(2)::after { animation-delay: -2s; }
.passos li:nth-child(3)::after { animation-delay: -4s; }
.cartao::after { padding: 2px; animation-duration: 4.5s; }

/* Icones: o traco se desenha quando o card aparece, depois respiram. */
@keyframes desenhar { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
@keyframes respirar {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(224, 0, 158, .28); }
  50%      { transform: translateY(-3px); box-shadow: 0 0 0 8px rgba(224, 0, 158, 0); }
}
.item .ico, .passos .ico { animation: respirar 3.2s var(--ease) infinite; }
.item:nth-child(2n) .ico { animation-delay: -1.1s; }
.item:nth-child(3n) .ico { animation-delay: -2.2s; }
.item .ico svg *, .passos .ico svg * { stroke-dasharray: 60; stroke-dashoffset: 60; }
.in .ico svg *, .passos li.in .ico svg * { animation: desenhar 1.4s var(--ease) .15s forwards; }
.item:hover .ico, .passos li:hover .ico { background: var(--brand); color: #fff; }
.item .ico, .passos .ico { transition: background .3s var(--ease), color .3s var(--ease); }

/* Passos com icone e numero */
.passos .topo-passo { display: flex; align-items: center; justify-content: space-between; }
.passos li::before { content: none; }
.passos .num { font: 600 13px/1 var(--mono); letter-spacing: .16em; color: var(--brand); }
.passos .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(224, 0, 158, .09); color: var(--brand);
}
.passos .ico svg { width: 22px; height: 22px; }
.passos li { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.passos li:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(40, 0, 30, .35); }

/* Preco: halo pulsando atras e brilho correndo no numero */
@keyframes halo { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes brilho { to { background-position: -200% 0; } }
.cartao .preco { position: relative; display: inline-block; }
.cartao .preco::before {
  content: ''; position: absolute; left: 50%; top: 50%; z-index: -1; width: 120%; height: 150%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(254, 26, 189, .28), transparent 70%);
  animation: halo 3.4s var(--ease) infinite; pointer-events: none;
}
.cartao .preco .valor {
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 40%, #FF3CC7 50%, var(--ink) 60%, var(--ink) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brilho 3.8s linear infinite;
}

/* Checks: entram um a um e pulsam de leve */
@keyframes check-entra { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes check-pulsa { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 0, 158, .35); } 60% { box-shadow: 0 0 0 6px rgba(224, 0, 158, 0); } }
.cartao li { align-items: flex-start; }
.cartao li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; opacity: 0;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.cartao.in li::before { animation: check-entra .5s var(--ease) forwards, check-pulsa 2.8s var(--ease) 1.2s infinite; }
.cartao.in li:nth-child(2)::before { animation-delay: .1s, 1.4s; }
.cartao.in li:nth-child(3)::before { animation-delay: .2s, 1.6s; }
.cartao.in li:nth-child(4)::before { animation-delay: .3s, 1.8s; }
.cartao.in li:nth-child(5)::before { animation-delay: .4s, 2s; }
.cartao.in li:nth-child(6)::before { animation-delay: .5s, 2.2s; }

/* ---------- Rodape completo ---------- */
.rodape { padding: 64px 0 32px; font-size: 15px; }
.rodape .wrap { display: block; }
.rodape-grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.rodape .marca { color: #fff; font-size: 26px; }
.rodape-sobre p { margin-top: 14px; max-width: 30em; line-height: 1.6; }
.rodape-sobre .btn { margin-top: 22px; padding: 14px 22px; font-size: 15px; }
.rodape h4 { margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rodape a:hover { color: var(--brand-hi); }
.rodape-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; }

@media (max-width: 900px) {
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-sobre { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .passos { grid-template-columns: repeat(3, 1fr); }
  .passos li { padding: 22px; }
}
@media (max-width: 640px) {
  .rodape { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .item::after, .passos li::after, .cartao::after, .item .ico, .passos .ico,
  .cartao .preco::before, .cartao .preco .valor, .cartao.in li::before { animation: none; }
  .item .ico svg *, .passos .ico svg * { stroke-dashoffset: 0; }
  .cartao li::before { opacity: 1; }
}

/* O botao do rodape herda a cor dos links; mantem o texto branco no hover. */
.rodape .btn, .rodape .btn:hover { color: #fff; }
