/* ==========================================================
   Liberdade no Altar™ — Landing Page
   Paleta: Tinta Profunda / Âmbar da Marca / Madeira do Altar /
           Creme Sagrado / Ouro Queimado
   ========================================================== */

:root {
  --ink-deep:     #0E0B08;  /* Tinta Profunda */
  --amber:        #BF7A20;  /* Âmbar da Marca */
  --wood:         #5A3B1A;  /* Madeira do Altar */
  --cream:        #F6F0E4;  /* Creme Sagrado */
  --gold:         #D4922A;  /* Ouro Queimado */
  --green:        #2E8B57;  /* Verde de destaque — preço e CTA (fundo claro) */
  --green-bright: #3FCB84;  /* Verde de destaque — preço em fundo escuro */
  --green-dark:   #226B43;
  --green-glow:   rgba(46, 139, 87, 0.45);

  --ink-soft: #2a231c;
  --text-on-dark: #F6F0E4;
  --text-on-dark-muted: rgba(246, 240, 228, 0.72);
  --text-on-light: #241a10;
  --text-on-light-muted: #6b5c47;

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Sora', 'Segoe UI', sans-serif;

  --radius: 4px;
  --shadow-soft: 0 4px 16px rgba(14, 11, 8, 0.08);
  --shadow-lift: 0 10px 30px rgba(14, 11, 8, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-on-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Enquanto travado, o resto da página nem existe no layout — não há
   como rolar, "espiar" ou forçar a visualização do que vem depois do vídeo. */
body.gate-locked main,
body.gate-locked .site-footer,
body.gate-locked .sticky-bar {
  display: none !important;
}

/* Impede o efeito "elástico" (rubber-band) de forçar-scroll no mobile/desktop,
   que revelava o fundo claro da página por trás do preto ao puxar além do limite. */
html.gate-locked,
body.gate-locked {
  background: #000;
  overscroll-behavior-y: none;
  height: 100%;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.tm { font-size: 0.5em; vertical-align: super; }

/* ---------------- HERO / CABEÇALHO ---------------- */

.hero {
  position: relative;
  background: #000;
  color: var(--text-on-dark);
  padding: 32px 0 44px;
  overflow: hidden;
}

.hero-bg-glow {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wordmark-logo {
  align-self: flex-start;
  width: auto;
  max-width: 150px;
  height: auto;
  margin-bottom: 26px;
}

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin-bottom: 18px;
}

.headline-highlight {
  color: var(--gold);
}

.hero-lead {
  font-size: clamp(14px, 3.2vw, 16px);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 22px;
}

.video-wrap {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 28px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(212, 146, 42, 0.35);
}

.vsl-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}

/* Absorve toques/cliques sobre o vídeo — impede pausar/dar play */
.video-tap-guard {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.sound-toggle {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(14, 11, 8, 0.65);
  border: 1px solid rgba(212, 146, 42, 0.5);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 146, 42, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(212, 146, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 146, 42, 0); }
}

.hero-cta {
  max-width: 340px;
  margin: 0 auto;
}

/* ---------------- OFERTA ---------------- */

.offer {
  background: var(--cream);
  padding: 48px 0 40px;
}

.offer-inner { text-align: center; }

.offer-eyebrow {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  margin-bottom: 6px;
}

.offer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 6vw, 38px);
  color: var(--ink-deep);
  margin-bottom: 28px;
}

.price-card {
  background: #fff;
  border: 1px solid rgba(90, 59, 26, 0.14);
  border-radius: 10px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  max-width: 480px;
  margin: 0 auto;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.price-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 8vw, 48px);
  color: var(--green);
  display: inline-block;
  animation: priceJump 1.8s ease-in-out infinite;
}

@keyframes priceJump {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.045); }
}

.price-cents { font-size: 0.55em; }

.price-tag {
  font-size: 14px;
  color: var(--text-on-light-muted);
  font-weight: 500;
}

.price-alt {
  font-size: 14px;
  color: var(--text-on-light-muted);
  margin-bottom: 22px;
}

.price-secure {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-on-light-muted);
}

/* CTA button (primary) */
.btn-cta {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 8px 22px var(--green-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  animation: ctaPulse 2.2s ease-in-out infinite;
}

.btn-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--green-glow);
  animation-play-state: paused;
}

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

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 22px var(--green-glow); }
  50%      { box-shadow: 0 8px 30px 6px var(--green-glow); }
}

/* CTA travado até o vídeo chegar no timestamp de liberação */
.btn-cta.locked,
.sticky-btn.locked {
  background: #9b9b93;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
  animation: none;
  transform: none;
}

/* ---------------- MÓDULOS / MÉTODO ---------------- */

.modules {
  background: #fff;
  padding: 56px 0;
}

.section-eyebrow {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  margin-bottom: 6px;
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 5.5vw, 34px);
  color: var(--ink-deep);
  margin-bottom: 18px;
}

.section-desc {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-on-light-muted);
  font-size: 15px;
  line-height: 1.7;
}

.section-desc strong { color: var(--wood); }

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.method-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(90, 59, 26, 0.12);
  border-radius: 8px;
  padding: 26px 22px 22px;
}

.method-icon {
  color: #fff;
  background: var(--wood);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.method-icon svg {
  width: 22px;
  height: 22px;
}

.method-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 8px;
}

.method-card p {
  font-size: 14.5px;
  color: var(--text-on-light-muted);
  line-height: 1.6;
}

.bonus-section {
  margin-top: 40px;
}

.bonus-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.bonus-card {
  position: relative;
  background: var(--ink-deep);
  color: var(--text-on-dark);
  border-radius: 8px;
  padding: 26px 24px;
}

.bonus-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.bonus-card p {
  color: var(--text-on-dark-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------------- GARANTIA ---------------- */

.guarantee {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: 48px 0;
}

.guarantee-inner {
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guarantee-seal {
  color: var(--gold);
  margin-bottom: 16px;
}

.guarantee h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 28px);
  margin-bottom: 12px;
}

.guarantee p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------------- CTA FINAL ---------------- */

.final-cta {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: 56px 0 72px;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 34px);
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.price-row-final {
  justify-content: center;
  margin-bottom: 24px;
}

.price-row-final .price-value { color: var(--green-bright); }
.price-row-final .price-tag { color: var(--text-on-dark-muted); }

.btn-cta-final {
  max-width: 420px;
  margin: 0 auto;
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  background: var(--ink-deep);
  color: var(--text-on-dark-muted);
  padding: 24px 0 100px;
  text-align: center;
  font-size: 12.5px;
  border-top: 1px solid rgba(246, 240, 228, 0.08);
}

.footer-fine {
  margin-top: 8px;
  font-size: 11.5px;
  opacity: 0.7;
}

/* ---------------- STICKY BAR (mobile) ---------------- */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -4px 20px rgba(14, 11, 8, 0.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-info {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sticky-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--green);
  display: inline-block;
  animation: priceJump 1.8s ease-in-out infinite;
}

.sticky-sub {
  font-size: 11px;
  color: var(--text-on-light-muted);
}

.sticky-btn {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  padding: 0 14px;
  text-align: center;
  animation: ctaPulse 2.2s ease-in-out infinite;
}

/* ---------------- TABLET / DESKTOP ---------------- */

@media (min-width: 640px) {
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-card-wide { grid-column: 1 / -1; }
  .bonus-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 64px; }
  .btn-cta { width: auto; padding: 18px 48px; }
  .price-card { padding: 40px 36px; }
}

@media (min-width: 1024px) {
  .container { max-width: 860px; }
  .modules .container { max-width: 920px; }
}
