/* Área do inscrito · replay da imersão · Vallevi Academy
   Paleta: health #005C58 · hope #5DA99B · heat #F2724D (só CTA) ·
   light #FFE28C · balance #EAEAEA. Fraunces (display) + Outfit (texto). */

:root {
  --health: #005C58;
  --health-escuro: #00423F;
  --hope: #5DA99B;
  --heat: #F2724D;
  --light: #FFE28C;
  --balance: #EAEAEA;
  --tinta: #1C2B29;
  --papel: #FDFCF9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
em { font-style: italic; }

.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--hope); font-weight: 600; margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 3px;
  background: var(--hope); border-radius: 2px; margin-right: .6rem; vertical-align: middle;
}

/* ---------- CTA (heat é a única cor de botão) ---------- */
.btn-cta {
  display: inline-block; background: var(--heat); color: #fff;
  font-family: var(--sans); font-weight: 600; font-size: 1.02rem;
  border: 0; border-radius: 999px; padding: .95rem 2rem; cursor: pointer;
  text-decoration: none; text-align: center;
  box-shadow: 0 10px 26px rgba(242, 114, 77, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(242, 114, 77, .45); }
.btn-grande { font-size: 1.1rem; padding: 1.05rem 2.4rem; }

/* ---------- Tela de acesso ---------- */
.gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(93, 169, 155, .28), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(0, 40, 38, .55), transparent 55%),
    var(--health);
}
.gate-card {
  width: 100%; max-width: 460px; background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px;
  padding: 2.6rem 2.2rem 2rem; color: #fff; text-align: center;
  backdrop-filter: blur(6px);
}
.gate-logo { width: min(300px, 78%); margin: 0 auto 1.8rem; }
.gate-kicker {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--light); font-weight: 600; margin-bottom: .6rem;
}
.gate h1 { font-size: 1.7rem; margin-bottom: .7rem; }
.gate-sub { font-size: .95rem; color: rgba(255, 255, 255, .82); margin-bottom: 1.8rem; }

#form-acesso { text-align: left; }
#form-acesso label {
  display: block; font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; margin: 1rem 0 .35rem; color: rgba(255, 255, 255, .9);
}
#form-acesso input {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .96);
  font: inherit; color: var(--tinta);
}
#form-acesso input:focus { outline: 3px solid rgba(255, 226, 140, .55); border-color: var(--light); }
#form-acesso .btn-cta { width: 100%; margin-top: 1.4rem; }
#form-acesso .btn-cta[disabled] { opacity: .6; cursor: wait; transform: none; }

.gate-erro {
  margin-top: 1rem; padding: .75rem 1rem; border-radius: 10px;
  background: rgba(255, 226, 140, .14); border: 1px solid rgba(255, 226, 140, .5);
  color: var(--light); font-size: .9rem;
}
.gate-ajuda { margin-top: 1.6rem; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.gate-ajuda a { color: var(--light); font-weight: 600; }
.gate-assinatura {
  margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--sans); font-weight: 600; letter-spacing: .06em; font-size: .95rem;
}
.gate-assinatura span { font-family: var(--serif); color: var(--heat); letter-spacing: .22em; font-size: .8rem; }

/* ---------- Letreiro em movimento (propaganda da mentoria) ---------- */
.letreiro { display: block; text-decoration: none; }
.letreiro-faixa {
  background: var(--heat); color: #fff; overflow: hidden;
  padding: .45rem 0; white-space: nowrap;
}
.letreiro-trilho {
  display: inline-flex; align-items: center;
  animation: letreiro-corre 22s linear infinite;
}
.letreiro-trilho > span {
  font-size: .82rem; font-weight: 600; letter-spacing: .12em;
  text-transform: none; flex-shrink: 0;
}
.letreiro:hover .letreiro-trilho { animation-play-state: paused; }
@keyframes letreiro-corre {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .letreiro-trilho { animation: none; }
}

/* ---------- Chamada da mentoria antes do vídeo ---------- */
.pre-video {
  max-width: 780px; margin: 0 auto 2rem;
  border: 1px solid rgba(255, 226, 140, .45); border-radius: 16px;
  background: rgba(255, 226, 140, .08);
  padding: 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .55rem;
  align-items: center;
}
.pre-video-kicker {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--light); font-weight: 700;
}
.pre-video-frase {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  color: #fff; line-height: 1.35; max-width: 620px;
}
.pre-video-cta {
  margin-top: .4rem; display: inline-block; color: #fff; font-weight: 600;
  font-size: .95rem; text-decoration: none; background: var(--heat);
  border-radius: 999px; padding: .6rem 1.5rem;
  box-shadow: 0 8px 20px rgba(242, 114, 77, .35);
  transition: transform .15s ease;
}
.pre-video-cta:hover { transform: translateY(-2px); }

/* ---------- Área logada: topo e player ---------- */
.area > .topo,
.player-wrap {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(93, 169, 155, .25), transparent 60%),
    var(--health);
  color: #fff;
}
.topo {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.topo-logo { height: 44px; width: auto; }
.topo-assinatura { font-weight: 600; letter-spacing: .06em; font-size: .9rem; }
.topo-assinatura span { font-family: var(--serif); color: var(--heat); letter-spacing: .22em; font-size: .75rem; }

.player-wrap { padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem); text-align: center; }
.player-kicker {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--light); font-weight: 600; margin-bottom: .8rem;
}
.player-titulo { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1.8rem; }
.player-titulo em { color: var(--light); }
.player {
  position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9;
  background: var(--health-escuro); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-aviso {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem; padding: 2rem;
  color: rgba(255, 255, 255, .85); font-size: 1rem;
}
.player-aviso strong { color: var(--light); font-size: 1.15rem; }

/* ---------- Ponte para a mentoria ---------- */
.ponte { background: var(--papel); padding: clamp(3rem, 7vw, 5rem) 1.5rem; text-align: center; }
.ponte-inner { max-width: 720px; margin: 0 auto; }
.ponte h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1.1rem; color: var(--health); }
.ponte h2 em { color: var(--heat); }
.ponte-sub { font-size: 1.05rem; margin-bottom: 2rem; color: #3a4a48; }
.ponte-nota { margin-top: 1rem; font-size: .9rem; color: #5c6b69; }
.ponte-prazo {
  margin: 1.4rem auto 0; display: inline-block; font-size: .92rem;
  background: rgba(255, 226, 140, .35); border: 1px solid var(--light);
  border-radius: 999px; padding: .5rem 1.3rem; color: #6b5410;
}

/* ---------- Ângulos (carrossel) ---------- */
.angulos {
  background: linear-gradient(180deg, var(--health) 0%, var(--health-escuro) 100%);
  color: #fff; padding: clamp(3rem, 7vw, 5rem) 1.5rem; text-align: center;
}
.eyebrow-claro { color: var(--light); }
.eyebrow-claro::before { background: var(--light); }
.angulos-titulo { font-size: clamp(1.6rem, 3.8vw, 2.3rem); max-width: 640px; margin: 0 auto 2.4rem; }
.carrossel { position: relative; max-width: 680px; margin: 0 auto; min-height: 300px; }
.cartao {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 2.4rem 2rem;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px; opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease; pointer-events: none;
}
.cartao.ativo { opacity: 1; transform: none; pointer-events: auto; }
.cartao-numero { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.7rem); color: var(--light); font-weight: 500; }
.cartao-numero span { color: rgba(255, 255, 255, .75); font-size: .6em; }
.cartao-texto { font-size: 1rem; color: rgba(255, 255, 255, .88); max-width: 540px; }
.cartao-fonte { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hope); }
.carrossel-pontos { display: flex; gap: .55rem; justify-content: center; margin-top: 1.6rem; }
.carrossel-pontos button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .3); transition: background .3s, transform .3s;
}
.carrossel-pontos button.ativo { background: var(--light); transform: scale(1.25); }

/* ---------- Pilares ---------- */
.pilares { padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3.5rem); max-width: 1080px; margin: 0 auto; }
.pilares h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--health); margin-bottom: 1rem; }
.pilares-sub { max-width: 760px; color: #3a4a48; margin-bottom: 2.4rem; }
.pilares-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.coluna {
  border: 1px solid var(--balance); border-radius: 18px; padding: 1.8rem 1.6rem;
  background: #fff; box-shadow: 0 12px 34px rgba(0, 92, 88, .06);
}
.coluna-lisa { border-top: 4px solid var(--hope); }
.coluna-gabriel { border-top: 4px solid var(--health); }
.coluna-dona { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--hope); margin-bottom: .5rem; }
.coluna-gabriel .coluna-dona { color: var(--health); }
.coluna h3 { font-size: 1.35rem; color: var(--tinta); margin-bottom: 1.1rem; }
.coluna ol { list-style: none; counter-reset: pilar; }
.coluna ol li {
  counter-increment: pilar; padding: .75rem 0 .75rem 2.4rem; position: relative;
  border-bottom: 1px solid var(--balance);
}
.coluna ol li:last-child { border-bottom: 0; }
.coluna ol li::before {
  content: counter(pilar, decimal-leading-zero);
  position: absolute; left: 0; top: .85rem;
  font-family: var(--serif); font-style: italic; color: var(--hope); font-size: .95rem;
}
.coluna-gabriel ol li::before { color: var(--health); }
.coluna ol li strong { display: block; font-weight: 600; }
.coluna ol li span { font-size: .88rem; color: #5c6b69; }
.coluna-nota { margin-top: 1.1rem; font-size: .88rem; font-style: italic; color: #5c6b69; }

.formato {
  margin-top: 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--balance); border-radius: 18px; background: #fff; overflow: hidden;
}
.formato-item { padding: 1.3rem 1.2rem; border-left: 1px solid var(--balance); }
.formato-item:first-child { border-left: 0; }
.formato-item strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--health); margin-bottom: .2rem; }
.formato-item span { font-size: .84rem; color: #5c6b69; }

/* ---------- Fechamento ---------- */
.fechamento {
  background: var(--health); color: #fff;
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3.5rem);
}
.fechamento picture img {
  border-radius: 200px 200px 18px 18px; border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.fechamento-texto h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); margin-bottom: 1rem; }
.fechamento-texto p { max-width: 520px; color: rgba(255, 255, 255, .85); margin-bottom: 1.8rem; }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--health-escuro); color: rgba(255, 255, 255, .65);
  text-align: center; font-size: .82rem; padding: 1.6rem 1.25rem;
}
.link-sair {
  background: none; border: 0; color: rgba(255, 255, 255, .5); cursor: pointer;
  font: inherit; text-decoration: underline; margin-top: .4rem;
}
.link-sair:hover { color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .pilares-grid { grid-template-columns: 1fr; }
  .formato { grid-template-columns: 1fr 1fr; }
  .formato-item:nth-child(3) { border-left: 0; }
  .formato-item:nth-child(n+3) { border-top: 1px solid var(--balance); }
  .fechamento { grid-template-columns: 1fr; text-align: center; }
  .fechamento picture { max-width: 340px; margin: 0 auto; }
  .fechamento-texto p { margin-inline: auto; }
  .carrossel { min-height: 360px; }
}
@media (max-width: 520px) {
  .topo { flex-direction: column; gap: .6rem; }
  .carrossel { min-height: 430px; }
}
