/* ===================================
   ESTILOS GLOBAIS - FUNIL DE VENDAS
   =================================== */

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* ===================================
   PÁGINA 1 - PRESELL/QUIZ
   =================================== */

.page-presell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 0;
}

.presell-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  text-align: center;
  gap: 16px;
  width: 100%;
  flex: 1;
  min-height: 100vh;
}

.presell-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 16px 0 16px 0;
}

.presell-image {
  max-width: 100%;
  width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 3px solid #ddd;
  object-fit: cover;
}

.presell-header {
  margin-bottom: 12px;
  width: 100%;
}

.presell-emoji {
  font-size: 36px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

.presell-headline {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #1a1a1a;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.presell-subheadline {
  font-size: 16px;
  margin-bottom: 16px;
  color: #555;
  line-height: 1.6;
  width: 100%;
}

.presell-subheadline p {
  margin: 6px 0;
}

.presell-subheadline .highlight-red {
  color: #e74c3c;
  font-weight: bold;
}

.presell-subheadline .highlight-yellow {
  background-color: #ffeb3b;
  padding: 4px 8px;
  font-weight: bold;
  color: #000;
  display: inline-block;
}

.presell-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 0;
  margin-top: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  border: 3px dashed #27ae60;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.6);
}

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

/* Animação de Pulse no Botão */
@keyframes pulse {
  0% {
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 5px 25px rgba(46, 204, 113, 0.8);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    transform: scale(1);
  }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* ===================================
   PÁGINA 2 - VSL COM COMENTÁRIOS
   =================================== */

.page-vsl {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.vsl-header-banner {
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  color: white;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
}

.vsl-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.vsl-video-container {
  background: #333;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vsl-viewers {
  text-align: center;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  font-size: 16px;
}

.vsl-viewers span {
  color: #e74c3c;
  font-size: 18px;
}

.vsl-comments-section {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vsl-comments-header {
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  font-size: 14px;
}

.comment {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.comment:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.comment-avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  min-width: 60px;
}

.comment-content {
  flex: 1;
}

.comment-author {
  margin-bottom: 5px;
}

.comment-author-name {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.comment-text {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.comment-actions {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #666;
}

.comment-action {
  cursor: pointer;
  font-weight: 500;
}

.comment-action:hover {
  color: #0066cc;
}

.comment-likes {
  color: #666;
}

.comment-time {
  color: #999;
}

.comment-reply {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.comment-reply .comment-avatar-img {
  width: 40px;
  height: 40px;
}

.comment-reply .comment-text {
  font-size: 13px;
}

/* ===================================
   RODAPÉ
   =================================== */

.footer {
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

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

.footer-link {
  color: #999;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #666;
}

.footer-links span {
  color: #ccc;
}

.footer-copyright {
  color: #999;
  font-size: 11px;
  margin-top: 10px;
}

/* ===================================
   PÁGINAS LEGAIS (TERMOS, PRIVACIDADE, DISCLAIMER)
   =================================== */

.page-legal {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 40px 20px;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-back {
  display: inline-block;
  margin-bottom: 20px;
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.legal-section-content {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.legal-section-content p {
  margin-bottom: 10px;
}

/* ===================================
   MEDIA QUERIES - TABLET (768px)
   =================================== */

@media (max-width: 768px) {
  .presell-container {
    padding: 14px;
    gap: 14px;
    justify-content: center;
    min-height: 100vh;
  }

  .presell-image {
    width: 240px;
  }

  .presell-emoji {
    font-size: 32px;
    margin-right: 6px;
  }

  .presell-headline {
    font-size: 24px;
    margin-bottom: 14px;
    gap: 4px;
  }

  .presell-subheadline {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .presell-subheadline p {
    margin: 5px 0;
  }

  .btn-primary {
    padding: 16px 45px;
    font-size: 16px;
  }

  .comment-avatar-img {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .comment-text {
    font-size: 13px;
  }

  .vsl-viewers {
    font-size: 14px;
  }

  .legal-container {
    padding: 30px 20px;
  }

  .legal-title {
    font-size: 24px;
  }

  .legal-section-title {
    font-size: 16px;
  }

  .legal-section-content {
    font-size: 13px;
  }
}

/* ===================================
   MEDIA QUERIES - MOBILE (480px)
   =================================== */

@media (max-width: 480px) {
  .page-presell {
    min-height: 100vh;
    padding: 0;
  }

  .presell-container {
    padding: 14px;
    gap: 14px;
    min-height: 100vh;
    justify-content: center;
  }

  .presell-image-wrapper {
    margin-bottom: 6px;
  }

  .presell-image {
    width: 100%;
    max-width: 280px;
    height: auto;
  }

  .presell-header {
    margin-bottom: 10px;
  }

  .presell-emoji {
    font-size: 28px;
    margin-right: 6px;
  }

  .presell-headline {
    font-size: 22px;
    margin-bottom: 12px;
    gap: 4px;
    line-height: 1.3;
  }

  .presell-subheadline {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .presell-subheadline p {
    margin: 5px 0;
  }

  .presell-subheadline .highlight-yellow {
    padding: 4px 8px;
    font-size: 14px;
  }

  .presell-cta {
    padding: 10px 0;
    margin-top: 6px;
  }

  .btn-primary {
    padding: 16px 45px;
    font-size: 16px;
    font-weight: bold;
  }

  .vsl-container {
    padding: 15px;
  }

  .vsl-header-banner {
    padding: 12px 15px;
    font-size: 14px;
  }

  .vsl-viewers {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .vsl-comments-section {
    padding: 15px;
  }

  .vsl-comments-header {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .comment {
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .comment-avatar-img {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  .comment-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .comment-actions {
    gap: 12px;
    font-size: 12px;
  }

  .comment-reply {
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .comment-reply .comment-avatar-img {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .comment-reply .comment-text {
    font-size: 12px;
  }

  .footer {
    padding: 15px 10px;
    margin-top: 20px;
  }

  .footer-links {
    gap: 6px;
  }

  .footer-link {
    font-size: 11px;
  }

  .footer-links span {
    font-size: 11px;
  }

  .footer-copyright {
    font-size: 10px;
    margin-top: 6px;
  }

  .legal-container {
    padding: 20px 15px;
  }

  .legal-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .legal-section {
    margin-bottom: 20px;
  }

  .legal-section-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .legal-section-content {
    font-size: 13px;
    line-height: 1.6;
  }

  .legal-section-content p {
    margin-bottom: 8px;
  }
}

/* ===================================
   MEDIA QUERIES - MOBILE PEQUENO (360px)
   =================================== */

@media (max-width: 360px) {
  .presell-container {
    padding: 12px;
    gap: 12px;
  }

  .presell-image {
    width: 100%;
    max-width: 260px;
  }

  .presell-emoji {
    font-size: 24px;
    margin-right: 4px;
  }

  .presell-headline {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .presell-subheadline {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .btn-primary {
    padding: 15px 40px;
    font-size: 15px;
  }
}
