/* ============================================================
   VARIAVEIS CSS — Identidade Visual
   ============================================================ */
:root {
  --branco: #ffffff;
  --off-white: #f5f0ef;
  --cinza-claro: #111111;
  --grafite: #0d0d0d;
  --grafite-card: #141414;
  --grafite-meio: #1a1a1a;
  --vermelho: #ff3333;
  --vermelho-escuro: #b01010;
  --vermelho-glow: rgba(255, 51, 51, 0.45);
  --vermelho-suave: rgba(255, 51, 51, 0.12);
  --texto-principal: #f0ebe8;
  --texto-secundario: #888888;

  --fonte-titulo: 'Bebas Neue', sans-serif;
  --fonte-subtitulo: 'DM Serif Display', serif;
  --fonte-corpo: 'DM Sans', sans-serif;

  --max-width: 860px;
  --transicao-rapida: 0.2s ease;
  --transicao-media: 0.4s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  font-weight: 400;
  line-height: 1.6;
  transition: background-color var(--transicao-media), color var(--transicao-media);
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: min(var(--max-width), 92vw);
  margin-inline: auto;
}

/* ============================================================
   ATO 1 — ESTADO PRE-PITCH
   ============================================================ */
body.ato-1 {
  background: var(--grafite);
  color: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

body.ato-1 .ato-1-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

/* Glow atras do player no Ato 1 */
body.ato-1 .ato-1-wrapper {
  position: relative;
}

body.ato-1 .ato-1-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 95vw);
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(224, 32, 32, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body.ato-1 .ato-1-wrapper>* {
  position: relative;
  z-index: 1;
}

/* No Ato 2 o wrapper do video deve se manter visível, porém ajustado */
body.ato-2 .ato-1-wrapper {
  display: flex !important;
  /* Força exibir o video mesmo no Ato 2 */
  padding-bottom: 3rem;
  margin-top: -2rem;
  /* Sobe ele um pouco para encaixar com o conteúdo de baixo */
}

/* Headline do Ato 1 */
.headline-ato1 {
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--off-white);
}

.headline-ato1 span {
  color: var(--vermelho);
  text-shadow: 0 0 32px rgba(224, 32, 32, 0.4);
}

/* Player */
.player-wrapper {
  width: min(var(--max-width), 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(224, 32, 32, 0.08);
  border: 1px solid rgba(224, 32, 32, 0.15);
}

.player-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Placeholder visual do VTurb (exibido antes de inserir o embed real) */
.vturb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 2px dashed #444;
  border-radius: 4px;
}

.vturb-placeholder span {
  color: #555;
  font-family: var(--fonte-corpo);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   FLASH OVERLAY — Efeito de transicao BOOM
   ============================================================ */
.flash-overlay {
  position: fixed;
  inset: 0;
  background: var(--branco);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.06s ease;
}

.flash-overlay.ativo {
  opacity: 1;
  animation: flash-anim 0.3s ease forwards;
}

@keyframes flash-anim {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

/* ============================================================
   ATO 2 — ESTADO POS-PITCH
   ============================================================ */
body.ato-2 {
  background: var(--grafite);
  color: var(--texto-principal);
  min-height: 100vh;
}

body.ato-2::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--vermelho-suave) 0%, transparent 60%),
    radial-gradient(circle at 15% 50%, rgba(255, 51, 51, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(255, 51, 51, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body.ato-2 .ato-1-wrapper {
  /* Removemos o display: none para o video continuar aparecendo */
}

body.ato-2 .ato-2-wrapper {
  position: relative;
  z-index: 1;
}

/* Entrada em cascata das secoes */
.secao-ato2 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.secao-ato2.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* Linha vermelha divisoria */
.linha-vermelha {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vermelho), transparent);
  width: 100%;
  margin-bottom: 0;
}

/* Barra de urgencia fixa no topo */
.barra-urgencia {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #b01010, #ff3333, #b01010);
  background-size: 200% auto;
  animation: shimmer-bar 4s linear infinite;
  box-shadow: 0 4px 24px rgba(255, 51, 51, 0.3);
  color: var(--branco);
  text-align: center;
  padding: 0.65rem 1rem;
  font-family: var(--fonte-corpo);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

@keyframes shimmer-bar {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.urgencia-icone {
  font-size: 1.1rem;
  margin-inline: 0.5rem;
  vertical-align: middle;
  color: #ffcccc;
}

/* ============================================================
   SECOES — ESTILOS COMPARTILHADOS
   ============================================================ */
.secao {
  padding: 5rem 1rem;
}

.bg-cinza {
  background: var(--grafite-meio);
}

.subtitulo-secao {
  font-family: var(--fonte-subtitulo);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--off-white);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ============================================================
   4.1 HEADLINE DA OFERTA
   ============================================================ */
.secao-headline-oferta {
  background: transparent;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.headline-oferta {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  background: linear-gradient(135deg, #ffffff 0%, #ff6b6b 40%, #ff3333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 32px var(--vermelho-glow));
  line-height: 1.05;
  letter-spacing: 0.02em;
}

/* ============================================================
   4.2 O GAP HONESTO
   ============================================================ */
.secao-gap .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 680px;
}

.gap-texto {
  font-family: var(--fonte-subtitulo);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: #aaaaaa;
  line-height: 1.7;
  font-style: italic;
}

/* ============================================================
   4.3 O QUE E A MENTORIA — Cards
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid rgba(255, 51, 51, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform var(--transicao-media), box-shadow var(--transicao-media), border-color var(--transicao-media);
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 51, 51, 0.6);
  box-shadow: 0 12px 40px rgba(255, 51, 51, 0.2), 0 4px 24px rgba(0, 0, 0, 0.6);
}

.card-icone {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--vermelho);
  filter: drop-shadow(0 0 12px var(--vermelho-glow));
}

.card h4 {
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--off-white);
}

.card p {
  font-size: 0.92rem;
  color: var(--texto-secundario);
  line-height: 1.55;
}

/* ============================================================
   4.4 PARA QUEM E / NAO E
   ============================================================ */
.para-quem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  .para-quem-grid {
    grid-template-columns: 1fr;
  }
}

.para-quem {
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.para-quem--sim {
  background: rgba(0, 160, 60, 0.07);
  border: 1px solid rgba(0, 160, 60, 0.25);
}

.para-quem--nao {
  background: rgba(224, 32, 32, 0.07);
  border: 1px solid rgba(224, 32, 32, 0.25);
}

.para-quem-titulo {
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.para-quem-titulo--sim {
  color: #4ddb7c;
}

.para-quem-titulo--nao {
  color: var(--vermelho);
}

.para-quem ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.para-quem ul li {
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.5;
  padding-left: 0.25rem;
}

/* ============================================================
   4.5 DEPOIMENTOS
   ============================================================ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.depoimento {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(15, 15, 15, 0.95));
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transicao-media);
}

.depoimento:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 51, 0.3);
}

.depoimento-foto {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grafite);
  flex-shrink: 0;
}

.depoimento-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.depoimento-foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fonte-titulo);
  letter-spacing: 0.05em;
  font-size: 1.4rem;
  color: var(--branco);
  background: linear-gradient(135deg, #ff4444, #800000);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.depoimento blockquote {
  font-family: var(--fonte-subtitulo);
  font-style: italic;
  font-size: 1.05rem;
  color: #eeeeee;
  line-height: 1.7;
  border-left: 3px solid var(--vermelho);
  padding-left: 1.25rem;
}

.depoimento cite {
  font-family: var(--fonte-corpo);
  font-size: 0.82rem;
  color: var(--texto-secundario);
  font-style: normal;
}

/* ============================================================
   4.6 PRECO + ANCORAGEM
   ============================================================ */
.preco-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 640px) {
  .preco-wrapper {
    grid-template-columns: 1fr;
  }
}

.ancoragem-texto {
  font-family: var(--fonte-subtitulo);
  font-style: italic;
  font-size: 1.1rem;
  color: #aaaaaa;
  line-height: 1.7;
}

.preco-box {
  background: linear-gradient(180deg, rgba(40, 40, 40, 0.8) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 51, 51, 0.15), 0 16px 48px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 51, 51, 0.4);
  border-top: 1px solid rgba(255, 100, 100, 0.5);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.preco-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ff3333, transparent);
}

.preco-antigo {
  font-size: 0.95rem;
  color: var(--texto-secundario);
  margin-bottom: 0.25rem;
}

.preco-antigo s {
  text-decoration: line-through;
}

.preco-atual {
  font-family: var(--fonte-titulo);
  font-size: clamp(3.2rem, 7vw, 4.5rem);
  color: var(--branco);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 32px var(--vermelho-glow);
}

.preco-parcelamento {
  font-size: 1rem;
  color: var(--texto-secundario);
  margin-bottom: 1rem;
}

.preco-incluso {
  font-size: 0.82rem;
  color: var(--texto-secundario);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

/* ============================================================
   4.7 GARANTIA
   ============================================================ */
.secao-garantia {
  background: transparent;
}

.garantia-box {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.8), rgba(30, 30, 30, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--vermelho);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

@media (max-width: 520px) {
  .garantia-box {
    flex-direction: column;
    text-align: center;
  }
}

.garantia-icone {
  font-size: 4rem;
  flex-shrink: 0;
  line-height: 1;
  color: var(--vermelho);
  filter: drop-shadow(0 0 16px var(--vermelho-glow));
}

.garantia-texto h3 {
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--off-white);
  margin-bottom: 0.4rem;
}

.garantia-texto p {
  font-size: 0.97rem;
  color: var(--texto-secundario);
  line-height: 1.6;
}

/* ============================================================
   4.8 CTA + RECUSA CONSCIENTE
   ============================================================ */
.secao-cta {
  background: var(--grafite);
  text-align: center;
}

.secao-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ff3333 0%, #b01010 100%);
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  letter-spacing: 0.08em;
  padding: 1.25rem 3.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 100, 100, 0.4);
  cursor: pointer;
  transition: all var(--transicao-media);
  box-shadow: 0 8px 24px rgba(255, 51, 51, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  animation: pulse-red 2.5s infinite;
  text-transform: uppercase;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 32, 32, 0.5);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(224, 32, 32, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(224, 32, 32, 0);
  }
}

.btn-cta:hover {
  background: linear-gradient(135deg, #ff4d4d 0%, #d01010 100%);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 48px rgba(255, 51, 51, 0.6), 0 0 80px rgba(255, 51, 51, 0.3);
  animation: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-cta:active {
  transform: translateY(0);
  animation: none;
}

.link-recusa {
  font-size: 0.82rem;
  color: var(--texto-secundario);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transicao-rapida);
}

.link-recusa:hover {
  color: var(--off-white);
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-panel {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 280px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  z-index: 9000;
  font-family: var(--fonte-corpo);
  font-size: 0.85rem;
  color: #ddd;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.admin-panel.ativo {
  display: block;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--vermelho);
  color: var(--branco);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-toggle {
  background: none;
  border: none;
  color: var(--branco);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-body.minimizado {
  display: none;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-field label {
  font-size: 0.78rem;
  color: #aaa;
}

.admin-field input {
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  color: #eee;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  width: 100%;
  font-family: var(--fonte-corpo);
}

.admin-hr {
  border: none;
  border-top: 1px solid #333;
  margin: 0.25rem 0;
}

.admin-acoes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-btn {
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ddd;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--fonte-corpo);
  text-align: left;
  transition: background var(--transicao-rapida);
}

.admin-btn:hover {
  background: #3a3a3a;
}

.admin-btn--destaque {
  background: var(--vermelho);
  border-color: var(--vermelho);
  color: var(--branco);
  font-weight: 700;
}

.admin-btn--destaque:hover {
  background: var(--vermelho-escuro);
}

.admin-hint {
  font-size: 0.72rem;
  color: #555;
  text-align: center;
  line-height: 1.4;
}

.admin-hint code {
  background: #2a2a2a;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-family: monospace;
  color: #aaa;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  .secao {
    padding: 3.5rem 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .player-sticky-wrapper {
    width: 200px;
    bottom: 1rem;
    right: 1rem;
  }
}

/* Mobile */
@media (max-width: 375px) {
  .headline-ato1 {
    font-size: 1.8rem;
  }

  .headline-oferta {
    font-size: 2.2rem;
  }

  .btn-cta {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }

  .player-sticky-wrapper {
    width: 160px;
  }

  .admin-panel {
    width: calc(100vw - 3rem);
    left: 1.5rem;
    right: 1.5rem;
  }
}

/* Desktop largo */
@media (min-width: 1440px) {
  :root {
    --max-width: 960px;
  }
}