/* ==========================================================================
   TSL - CARTA DE VENDAS EM TEXTO (LANDING PAGE DE ALTA CONVERSÃO)
   Design Adaptativo: Mobile, iPad/Tablet e Desktop
   ========================================================================== */

:root {
  --primary-red: #d31616;
  --primary-red-hover: #b80f0f;
  --accent-gold: #f59e0b;
  --bg-gradient: radial-gradient(circle at 50% 0%, #20242c 0%, #0f1216 100%);
  --card-bg: #ffffff;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --container-width: 660px;
  --shadow-desktop: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-cta: 0 12px 30px rgba(211, 22, 22, 0.45);
  --radius-btn: 14px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #12151a;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   CONTAINER RESPONSIVO PRINCIPAL
   Adapta dinamicamente entre Celular, Tablet/iPad e Desktop
   ========================================================================== */
.tsl-page-container {
  width: 100%;
  max-width: var(--container-width);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-desktop);
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: max-width 0.3s ease;
}

/* No desktop dá um leve respiro nas bordas superiores e inferiores */
@media (min-width: 768px) {
  body {
    padding: 24px 16px;
  }
  .tsl-page-container {
    border-radius: 20px;
    overflow: hidden;
  }
}

/* Em telas muito grandes (Monitores 1080p, 2K, 4K) */
@media (min-width: 1440px) {
  :root {
    --container-width: 700px;
  }
}

/* Em Tablets e iPads (larguras entre 641px e 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  :root {
    --container-width: 640px;
  }
  body {
    padding: 16px 12px;
  }
  .tsl-page-container {
    border-radius: 16px;
  }
}

/* No Celular (100% de largura, sem margens pretas) */
@media (max-width: 640px) {
  body {
    padding: 0;
    background: #ffffff;
  }
  .tsl-page-container {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Slices da Landing Page */
.slice-wrapper {
  width: 100%;
  position: relative;
  line-height: 0;
}

.slice-wrapper picture,
.slice-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Interatividade da Seção do Vídeo (Depoimento) */
.video-section-wrapper {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-section-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.video-section-wrapper:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Seção de Oferta e Hotspot do Botão CTA Principal */
.cta-section-wrapper {
  position: relative;
  width: 100%;
}

/* Botão clicável exatamente sobre o botão da imagem */
.cta-hotspot {
  position: absolute;
  left: 3.06%;
  top: 78.75%;
  width: 93.96%;
  height: 11.25%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  z-index: 10;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition);
}

/* Efeito de pulso animado ao redor do botão */
.cta-hotspot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  border: 3px solid rgba(211, 22, 22, 0.6);
  opacity: 0.8;
  animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

/* Efeito de brilho reflexivo que percorre o botão (shine effect) */
.cta-hotspot::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  border-radius: 20px;
  animation: shineSweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

.cta-hotspot:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.cta-hotspot:active {
  transform: scale(0.98);
}

/* Animações de Alta Conversão */
@keyframes pulseGlow {
  0% {
    transform: scale(0.99);
    box-shadow: 0 0 0 0 rgba(211, 22, 22, 0.7);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.015);
    box-shadow: 0 0 0 14px rgba(211, 22, 22, 0);
    opacity: 0;
  }
  100% {
    transform: scale(0.99);
    box-shadow: 0 0 0 0 rgba(211, 22, 22, 0);
    opacity: 0;
  }
}

@keyframes shineSweep {
  0%, 40% {
    left: -120%;
  }
  60%, 100% {
    left: 180%;
  }
}

/* ==========================================================================
   BARRA DE BOTÃO FLUTUANTE (STICKY CTA BAR)
   Aparece ao rolar a página em Celular, Tablet e Computador
   ========================================================================== */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sticky-cta-btn {
  width: 100%;
  max-width: var(--container-width);
  background: linear-gradient(180deg, #e52525 0%, #b50e0e 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 24px;
  border-radius: var(--radius-btn);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-cta);
  transition: var(--transition);
  animation: pulseSticky 2.2s infinite;
}

.sticky-cta-btn:hover {
  background: linear-gradient(180deg, #f02a2a 0%, #c41010 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(211, 22, 22, 0.55);
}

.sticky-cta-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@keyframes pulseSticky {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* ==========================================================================
   RODAPÉ LEGAL COMPLIANT (POLÍTICAS E TERMOS OBRIGATÓRIOS PARA ANÚNCIOS)
   ========================================================================== */
.tsl-footer {
  width: 100%;
  background-color: #16191f;
  color: #9ca3af;
  padding: 36px 20px 80px;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer {
  max-width: 580px;
  margin: 0 auto 16px;
  color: #6b7280;
  font-size: 0.75rem;
}

.footer-copy {
  color: #9ca3af;
  font-size: 0.78rem;
}

/* ==========================================================================
   MODAIS (TERMOS, POLÍTICA DE PRIVACIDADE E VÍDEO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  border-radius: 18px;
  padding: 28px 24px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f3f4f6;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #374151;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e5e7eb;
  color: #000;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.modal-body {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: 12px;
}

/* Modal do Vídeo */
.video-modal-card {
  max-width: 780px;
  padding: 12px;
  background: #000000;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   AJUSTES FINOS MOBILE
   ========================================================================== */
@media (max-width: 640px) {
  .sticky-cta-btn {
    font-size: 0.92rem;
    padding: 14px 16px;
    letter-spacing: 0.2px;
  }
}

