@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&family=Sora:wght@300;400;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-soft: #131313;
  --line: rgba(255,255,255,.14);
  --text: #f4f4f2;
  --text-muted: #9a9a95;
  --gold: #c9a34d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Inria Serif', serif;
  font-weight: 400;
  letter-spacing: .02em;
  margin: 0 0 .5em;
}

a { color: inherit; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  padding: 18px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.brand {
  font-family: 'Inria Serif', serif;
  letter-spacing: .25em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand span { color: var(--gold); }

.palco-hero {
  position: relative;
}

.figura-lateral {
  position: absolute;
  top: 0;
  right: -80px;
  height: 1150px;
  width: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: aparecer-figura .9s ease-out .15s forwards;
}

@keyframes aparecer-figura {
  from { opacity: 0; }
  to { opacity: .16; }
}

@keyframes aparecer-figura-media {
  from { opacity: 0; }
  to { opacity: .12; }
}

@media (max-width: 1100px) {
  .figura-lateral {
    right: -220px;
    height: 950px;
    animation-name: aparecer-figura-media;
  }
}

@media (max-width: 700px) {
  .figura-lateral {
    display: none;
  }
}

.hero {
  text-align: center;
  padding: clamp(24px, 3.5vh, 38px) 0 8px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(28px, 4.1vw, 42px);
  margin-bottom: 10px;
}

.hero p.subtitulo {
  color: var(--gold);
  font-size: clamp(15px, 1.55vw, 17px);
  max-width: 620px;
  margin: 0 auto 12px;
}

.hero p.credibilidade {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .04em;
  margin: 0 auto;
}

.secao-video {
  padding-top: 12px;
  position: relative;
  z-index: 1;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 18px;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--line);
}

.video-frame video, .video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-frame video {
  position: absolute;
  inset: 0;
  object-fit: contain;
  opacity: 1;
  transition: filter .35s ease, transform .35s ease, opacity .35s ease;
}

.video-frame.vsl-preview video {
  opacity: 0;
}

.vsl-poster-blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(3px) brightness(.9);
  transform: scale(1.04);
  transition: opacity .35s ease;
}

.video-frame:not(.vsl-preview) .vsl-poster-blur {
  opacity: 0;
  pointer-events: none;
}

.vsl-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vsl-play[hidden] { display: none; }

.vsl-play-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding-left: 6px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: rgba(201,163,77,.92);
  box-shadow: 0 4px 28px rgba(0,0,0,.45);
  transition: transform .2s ease, background .2s ease;
}

.vsl-play:hover .vsl-play-icon {
  transform: scale(1.08);
  background: #dfbb69;
}

.vsl-play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #17130a;
}

.vsl-play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

@media (prefers-reduced-motion: reduce) {
  .video-frame video, .vsl-poster-blur, .vsl-play-icon { transition: none; }
}

.beneficios {
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
}

.beneficios li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  color: var(--gold);
}

.beneficios li::before {
  content: '—';
  color: var(--gold);
}

.oferta {
  text-align: center;
  padding: 40px 0 80px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.btn.compra-scroll {
  position: relative;
  overflow: hidden;
  display: block;
  width: fit-content;
  min-width: 220px;
  margin: 0 auto 28px;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold), #f1d896);
  color: #1a1508;
  border: 1px solid var(--gold);
  font-weight: 600;
  animation: pulsar-cta 2.4s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}

.btn.compra-scroll:hover {
  background: linear-gradient(135deg, #f1d896, var(--gold));
  color: #000;
  transform: translateY(-2px);
}

.btn.compra-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  animation: brilho-cta 2.8s ease-in-out infinite;
}

.texto-oferta {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 auto;
}

.preco {
  font-family: 'Inria Serif', serif;
  font-size: 44px;
  margin: 8px 0 28px;
  color: var(--gold);
}

#valor-produto { scroll-margin-top: 24px; }

.preco small {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  display: block;
}

.btn {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 18px 40px;
  font-family: 'Sora', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn:hover {
  background: var(--text);
  color: #000;
}

.btn:disabled {
  opacity: .72;
  cursor: not-allowed;
}

#btn-comprar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold), #f1d896);
  color: #1a1508;
  border: 1px solid var(--gold);
  font-weight: 600;
  animation: pulsar-cta 2.4s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}

#btn-comprar:disabled { animation: none; }
#btn-comprar:disabled::after { display: none; }

#btn-comprar:hover {
  background: linear-gradient(135deg, #f1d896, var(--gold));
  color: #000;
  transform: translateY(-2px);
}

#btn-comprar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg);
  animation: brilho-cta 2.8s ease-in-out infinite;
}

@keyframes pulsar-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 163, 77, .5); }
  50% { box-shadow: 0 0 22px 4px rgba(201, 163, 77, .45); }
}

@keyframes brilho-cta {
  0% { left: -75%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

.form-checkout {
  max-width: 380px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-checkout input {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 16px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.status-box {
  text-align: center;
  padding: 120px 0;
}

.status-box .spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: girar 0.9s linear infinite;
}

@keyframes girar { to { transform: rotate(360deg); } }

.membros-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.membros-cta {
  display: inline-block;
  min-width: 180px;
  margin: -12px auto 18px;
  background: linear-gradient(135deg, var(--gold), #f1d896);
  color: #1a1508;
  border: 1px solid var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.membros-cta:hover {
  background: linear-gradient(135deg, #f1d896, var(--gold));
  color: #000;
  transform: translateY(-2px);
}

.aula-em-breve { color: var(--text-muted); }
.ebook-download { display: inline-block; text-decoration: none; }
.voltar-site { margin: 48px 0; text-align: center; color: var(--text-muted); }

.secao-titulo {
  margin: 48px 0 20px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.secao-video > .secao-titulo { margin-top: 24px; }

.subtitulo-videos {
  text-align: center;
  color: var(--text);
  font-size: 16px;
  margin: -12px 0 24px;
}

.grid-conteudo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 20px;
}

.card .aula-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
}

.card .aula-video video { width: 100%; height: 100%; }

.botao-play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
}

.botao-play::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--text);
}

.card h3 { font-size: 17px; margin-bottom: 6px; }

.grid-videos-previa .card h3 { color: var(--gold); }

.grid-videos-previa .card .aula-video {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(201,163,77,.28);
  background: #080808;
}

.capa-aula {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  filter: blur(5px) saturate(.82) brightness(.82);
  transform: scale(1.05);
}

.capa-aula-2 { object-position: center 35%; filter: blur(5px) saturate(.7) brightness(.82); }
.capa-aula-3 { object-position: center 58%; filter: blur(5px) saturate(.9) brightness(.72); }

.aula-play-transparente {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  box-shadow: 0 2px 16px rgba(0,0,0,.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.aula-play-transparente::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid rgba(255,255,255,.92);
}

.aula-selo-bloqueio {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(201,163,77,.65);
  border-radius: 2px;
  background: rgba(10,10,10,.82);
  color: #f3deb0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aula-cadeado {
  position: relative;
  width: 11px;
  height: 9px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--gold);
}

.aula-cadeado::before {
  position: absolute;
  left: 2px;
  top: -6px;
  width: 5px;
  height: 6px;
  border: 1.5px solid var(--gold);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: '';
}

.card p { color: var(--text-muted); font-size: 14px; margin: 0 0 14px; }

.card .btn { padding: 10px 22px; font-size: 12px; }

.msg-erro {
  text-align: center;
  color: #e0a0a0;
  padding: 80px 24px;
}

@media (min-width: 760px) and (min-height: 800px) {
  .hero { padding-top: 28px; }
  .secao-video { padding-top: 8px; }
  .video-frame { max-width: 640px; }
}

@media (max-height: 760px) and (min-width: 760px) {
  .topbar { padding: 10px 0; }
  .hero { padding-top: 16px; }
  .hero h1 { font-size: 34px; }
  .hero p.subtitulo { margin-bottom: 8px; }
  .secao-video { padding-top: 4px; }
  .video-frame { max-width: 600px; margin-bottom: 12px; }
}

/* Keep the decorative portrait inside the viewport. */
.palco-hero { overflow: hidden; }
@media (max-width: 700px) { .hero, .oferta { padding-left: 24px; padding-right: 24px; } }
