/* ============================================================
   PREMIUM — refinamentos adicionais
   Complementa styles.css sem conflito
   ============================================================ */

/* Scrollbar sutil */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(245,158,11,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(245,158,11,0.5); }

/* Seleção de texto */
::selection {
  background: rgba(245,158,11,0.25);
  color: var(--text-primary);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Botão CTA — pulse sutil no hover */
.btn-primary.buy-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary.buy-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary.buy-btn:hover::after {
  opacity: 1;
}

/* Pain cards — borda esquerda âmbar sutil */
.pain-card {
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.pain-card:hover {
  border-left-color: rgba(245,158,11,0.5);
}

/* Módulos — destaque leve no ícone hover */
.modulo-card:hover .modulo-icon {
  background: rgba(245,158,11,0.18);
  border-color: rgba(245,158,11,0.35);
}

/* FAQ — linha separadora suave */
.faq-question[aria-expanded="true"] {
  color: var(--accent);
}

/* Objeção — borda top âmbar no hover */
.objecao-card {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.objecao-card:hover {
  border-color: rgba(245,158,11,0.45);
  transform: translateY(-2px);
}

/* Guerra cards — efeito hover */
.guerra-card {
  transition: transform 0.3s ease;
}

.guerra-card:hover {
  transform: translateY(-3px);
}

/* Recebe item — sombra sutil hover */
.recebe-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.recebe-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Depoimento card hover */
.testimonial-screenshot-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-screenshot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Urgency bar — texto forte */
.urgency-bar-text strong {
  font-weight: 800;
}

/* Preco valor destaque */
.preco-valor {
  text-shadow: 0 0 40px rgba(245,158,11,0.15);
}

/* Preço riscado */
.preco-de {
  font-size: 15px;
  color: rgba(214,207,200,0.5);
  margin-bottom: -8px;
}
.preco-riscado {
  text-decoration: line-through;
  color: rgba(214,207,200,0.45);
}

/* Modulo card sombra sutil */
.modulo-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* Garantia destaque verde */
.garantia-content {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34,197,94,0.04) 100%);
}

/* Hero badge pill animação sutil */
.hero-badge-pill {
  animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
  50% { box-shadow: 0 0 0 4px rgba(245,158,11,0.12); }
}

/* Section title underline âmbar */
.section-title-underline {
  display: inline-block;
  position: relative;
}

.section-title-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Mecanismo section */
.mecanismo-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}
.mecanismo-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-primary);
  margin-bottom: 28px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.mecanismo-texto {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.mecanismo-destaque {
  font-size: 1.15rem;
  color: var(--accent);
  margin-top: 8px;
}

/* P.S. section */
.ps-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(245,158,11,0.15);
}
.ps-texto {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
}

/* Frase impacto */
.frase-impacto-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
  border-left: 4px solid var(--accent);
  padding-left: 32px;
  text-align: left;
}
.frase-impacto-texto {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
}
.frase-impacto-texto strong {
  color: var(--text-primary);
  font-style: normal;
}
.frase-impacto-autor {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

/* Countdown timer na seção de preço */
.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.countdown-label {
  font-size: 11px;
  color: rgba(214,207,200,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.countdown-display {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--accent);
  letter-spacing: 6px;
  line-height: 1;
}

/* Urgency bar mobile — compacta */
@media (max-width: 768px) {
  .urgency-bar-btn { display: none; }
  #urgency-bar { padding: 8px 12px; }
  .urgency-bar-text { font-size: 12px; }
}

/* Mobile: padding reduzido em cards */
@media (max-width: 640px) {
  .pain-card { padding: 28px 20px; }
  .modulo-card { padding: 24px 20px; }
  .objecao-card { padding: 28px 20px; }
  .para-quem-col { padding: 32px 24px; }
  .recebe-item { padding: 24px 16px; }
  .guerra-card { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════════
   UPGRADE CINEMATOGRÁFICO — VENÇA O VÍCIO
   Referências: Deakins / Lubezki / Gordon Willis
   Abordagem: imagem É a seção — fluxo atmosférico
═══════════════════════════════════════════════ */

/* ─── GUERRA: homem na escuridão com feixe de luz ─── */
.section-cine-guerra {
  position: relative;
  background-color: #060c08;
  background-image: url('../img/cine-guerra.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: scroll;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
/* Overlay: luz no topo (imagem visível), escuro embaixo (texto legível) */
.section-cine-guerra::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,13,20, 0.08) 0%,
    rgba(13,13,20, 0.18) 30%,
    rgba(13,13,20, 0.65) 55%,
    rgba(13,13,20, 0.90) 75%,
    rgba(13,13,20, 0.97) 100%
  );
  z-index: 0;
  pointer-events: none;
}
/* Sangramento de cor para a seção seguinte (antes-depois) */
.section-cine-guerra::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #060c08);
  z-index: 2;
  pointer-events: none;
}
.section-cine-guerra .container,
.section-cine-guerra > * { position: relative; z-index: 1; }

/* ─── MECANISMO: homem na cama, luz Rembrandt âmbar ─── */
.section-cine-mecanismo {
  position: relative;
  background-color: #060c08;
  background-image: url('../img/cine-recaida.jpg');
  background-size: cover;
  background-position: center 20%;
  background-attachment: scroll;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.section-cine-mecanismo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,16,10, 0.08) 0%,
    rgba(20,16,10, 0.20) 28%,
    rgba(20,16,10, 0.62) 52%,
    rgba(20,16,10, 0.88) 72%,
    rgba(20,16,10, 0.96) 100%
  );
  z-index: 0;
  pointer-events: none;
}
/* Sangramento âmbar quente → virada */
.section-cine-mecanismo::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #060c08);
  z-index: 2;
  pointer-events: none;
}
.section-cine-mecanismo .container,
.section-cine-mecanismo > * { position: relative; z-index: 1; }

/* ─── VIRADA: horizonte dourado, amanhecer ─── */
.section-cine-virada {
  position: relative;
  background-color: #060c08;
  background-image: url('../img/cine-virada.jpg');
  background-size: cover;
  background-position: center 35%;
  background-attachment: scroll;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.section-cine-virada::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,18,5, 0.06) 0%,
    rgba(26,18,5, 0.15) 28%,
    rgba(26,18,5, 0.58) 52%,
    rgba(26,18,5, 0.86) 72%,
    rgba(26,18,5, 0.96) 100%
  );
  z-index: 0;
  pointer-events: none;
}
/* Sangramento dourado → depoimentos */
.section-cine-virada::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #060c08);
  z-index: 2;
  pointer-events: none;
}
.section-cine-virada .container,
.section-cine-virada > * { position: relative; z-index: 1; }

/* ─── URGÊNCIA/CTA: silhueta em porta de luz ─── */
.section-cine-saida {
  position: relative;
  background-color: #060c08;
  background-image: url('../img/cine-saida.jpg');
  background-size: cover;
  background-position: center 20%;
  background-attachment: scroll;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.section-cine-saida::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21,12,4, 0.08) 0%,
    rgba(21,12,4, 0.20) 28%,
    rgba(21,12,4, 0.65) 55%,
    rgba(21,12,4, 0.90) 75%,
    rgba(21,12,4, 0.97) 100%
  );
  z-index: 0;
  pointer-events: none;
}
/* Sangramento final para seção ps */
.section-cine-saida::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #060c08);
  z-index: 2;
  pointer-events: none;
}
.section-cine-saida .container,
.section-cine-saida > * { position: relative; z-index: 1; }

/* Desktop: img oculta, CSS background assume */
.cine-img-mobile { display: none; }

/* ── MOBILE: img real com fade bottom → funde no fundo da seção ── */
@media (max-width: 768px) {
  /* Remove CSS background: real <img> substitui com elegância */
  .section-cine-guerra,
  .section-cine-mecanismo,
  .section-cine-virada,
  .section-cine-saida {
    background-image: none;
    min-height: unset;
    display: block;
    /* Imagem começa direto no topo — sem gap escuro antes da foto */
    padding-top: 0 !important;
  }

  /* Remove overlays (::before/::after) no mobile — img já tem fade */
  .section-cine-guerra::before,  .section-cine-guerra::after,
  .section-cine-mecanismo::before, .section-cine-mecanismo::after,
  .section-cine-virada::before,  .section-cine-virada::after,
  .section-cine-saida::before,   .section-cine-saida::after {
    display: none;
  }

  /* Img real: sem fade no topo (imagem começa na borda), dissolve na base */
  .cine-img-mobile {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.76) saturate(0.60) contrast(1.15);
    /* Opaco no topo, dissolve apenas no fundo para fundir com o conteúdo */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    margin-bottom: -80px;
  }
}

/* ═══════════════════════════════════════════════
   ESTÉTICA CINEMATOGRÁFICA — NÍVEL CARROSSEL
   Fonte da verdade: gerar-carrossel-v2.js (@cesaraugustoo__)
   Verde profundo + Deakins + Willis + Bebas Neue
═══════════════════════════════════════════════ */

/* ── Fundo verde profundo — igual ao slide texto do carrossel ── */
.section-dark,
.section-darker {
  position: relative;
  background: linear-gradient(160deg, #030806 0%, #081210 35%, #0f1c14 60%, #060c08 100%);
}

/* Garante que conteúdo fique acima dos layers atmosféricos */
.section-dark > .container,
.section-darker > .container {
  position: relative;
  z-index: 1;
}

/* ── Grain cinematográfico 35mm — Canvas JS real (Deakins/Khondji) ── */
/* background-image injetado via JS — initCinemaGrain() em app.js */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: soft-light;
}

/* ── Deakins lighting — elipses recalibradas para web (formato retangular horizontal) ── */
.cine-storaro {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 5%, rgba(180,220,200,.07) 0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 10% 100%, rgba(201,168,76,.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Linha dourada ESQUERDA — 3px — igual ao carrossel ── */
/* Exato do htmlTexto/htmlImagem .slide::before */
.cine-gold-line {
  position: relative;
}
.cine-gold-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 10%; bottom: 10%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, #C9A84C, transparent);
  pointer-events: none;
  z-index: 2;
}

/* ── Divisor dourado 44px × 2px sólido — igual ao carrossel ── */
.cine-divisor {
  width: 44px;
  height: 2px;
  background: #C9A84C;
  border: none;
  margin: 20px 0 28px;
  display: block;
}

/* ── Vinheta Willis — escurece ao redor (não só o topo) ── */
/* Exato do htmlTexto .vinheta: at 50% 45%, transparent 25%, rgba(1,4,2,.65) */
.cine-vinheta {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 86% 80% at 50% 45%, transparent 25%, rgba(1,4,2,.65) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Mobile: ocultar vinheta (seção usa img real com mask) */
@media (max-width: 768px) {
  .cine-vinheta { display: none; }
}

/* ═══════════════════════════════════════════════
   CINEMATOGRAPHIC TAKEOVER — NÍVEL BLADE RUNNER 2049
   Deakins / Lubezki / Willis / Khondji
   ═══════════════════════════════════════════════ */

/* ── Inter 300 Light nos parágrafos de corpo ── */
body p, .mecanismo-texto, .objecao-resposta, .faq-answer p,
.ps-texto, .autoridade-lead, .autoridade-fechamento,
.section-subtitle, .section-lead, .hero-subtitle {
  font-weight: 300;
}

/* ── VV Hero — camada Deakins adicional ── */
#hero {
  position: relative;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 5%, rgba(180,220,200,.05) 0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 10% 100%, rgba(201,168,76,.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
#hero > .container { position: relative; z-index: 1; }

/* ── Atmospheric bleed — travelling de câmera entre seções (Lubezki) ── */
/* Só nas transições entre seções de cores diferentes */
.section-dark,
.section-darker {
  box-shadow: 0 -20px 48px rgba(3,8,6,0.4) inset;
}

/* ── Nível A: seções de alta emoção recebem tratamento completo ── */
#depoimentos.cine-gold-line,
#autoridade.cine-gold-line {
  background: linear-gradient(160deg, #030806 0%, #081210 35%, #0f1c14 60%, #060c08 100%) !important;
}

/* ── Nível B: seções de conteúdo — Deakins lighting ── */
#objecoes,
#o-que-recebe,
#para-quem {
  position: relative;
}

/* ── Nível C: seções de suporte ── */
#garantia,
#ps,
#faq {
  background: linear-gradient(160deg, #030806 0%, #081210 35%, #0f1c14 60%, #060c08 100%);
  position: relative;
}
#garantia::before,
#ps::before,
#faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 5%, rgba(180,220,200,.05) 0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 10% 100%, rgba(201,168,76,.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
#garantia .container,
#ps .container,
#faq .container { position: relative; z-index: 1; }

/* ── Footer cinematográfico ── */
#footer {
  background: linear-gradient(to bottom, #060c08, #030806) !important;
  border-top: 1px solid rgba(201,168,76,.15) !important;
}
