/* ==========================================================================
   TSL VERSÃO 02 - CARTA DE VENDAS EM TEXTO (ALTA CONVERSÃO)
   Design Tela Cheia (Edge-to-Edge) para Celular, Tablet e Desktop
   ========================================================================== */

:root {
  --primary-red: #d31616;
  --primary-red-hover: #b80f0f;
  --bg-color: #0b0c10;
  --container-max-width: 1080px;
  --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: var(--bg-color);
}

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

/* Container Principal Tela Cheia */
.tsl-page-container {
  width: 100%;
  max-width: var(--container-max-width);
  background-color: var(--bg-color);
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  border-radius: 0;
}

/* 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;
}

/* 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 (x: 4.66%, y: 67.73%, w: 90.61%, h: 26.62%) */
.cta-hotspot {
  position: absolute;
  left: 4.66%;
  top: 67.73%;
  width: 90.61%;
  height: 26.62%;
  border-radius: 24px;
  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: 28px;
  border: 3px solid rgba(229, 37, 37, 0.7);
  opacity: 0.8;
  animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

/* Efeito de brilho reflexivo (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.4), transparent);
  transform: skewX(-25deg);
  border-radius: 24px;
  animation: shineSweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

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

.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(229, 37, 37, 0.7);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.015);
    box-shadow: 0 0 0 16px rgba(229, 37, 37, 0);
    opacity: 0;
  }
  100% {
    transform: scale(0.99);
    box-shadow: 0 0 0 0 rgba(229, 37, 37, 0);
    opacity: 0;
  }
}

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

/* ==========================================================================
   BARRA DE BOTÃO FLUTUANTE (STICKY CTA BAR)
   ========================================================================== */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: rgba(11, 12, 16, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5);
  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: 620px;
  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
   ========================================================================== */
.tsl-footer {
  width: 100%;
  background-color: #050608;
  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: 620px;
  margin: 0 auto 16px;
  color: #6b7280;
  font-size: 0.75rem;
}

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

/* ==========================================================================
   MODAIS (TERMOS, POLÍTICA DE PRIVACIDADE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  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: #11141a;
  color: #e5e7eb;
  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.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.modal-close-btn:hover {
  background: #374151;
  color: #ffffff;
}

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

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

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

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