/* RESET GERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BODY */
body {
  background: #ffffff;
  font-family: 'Helvetica', sans-serif;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 0 20px;
  text-align: center;
}

/* CONTAINER */
.container {
  max-width: 600px;
  width: 100%;
}

/* LOGO */
header img {
  display: block;
  margin: 40px auto 20px;
  max-width: 180px;
  margin-top: -25px;
  margin-bottom: -50px;
}

.main-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 25px;
  border-radius: 30px;
}

/* BARRA DE PROGRESSO */
.progress-bar {
  height: 8px;
  background: linear-gradient(to right, #e992e2, #E60AD3);
  width: 0%;
  border-radius: 10px;
  transition: width 0.3s ease-in-out;
  margin-bottom: 30px;
}

@keyframes progress {
  from { width: 0%; }
  to { width: 100%; }
}

/* TÍTULO */
h1 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 20px;
  max-width: 800px;
  background: linear-gradient(to right, #e992e2, #E60AD3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

/* SUBTEXTO */
.subtext {
  font-size: 12px;
  margin-bottom: 20px;
    background: #0000008d;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtext2 {
  font-size: 11px;
  margin-bottom: 20px;
  margin-top: -25px;
  background: #E60AD3;
    -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-weight: bold;
}

/* DESCRIÇÃO */
.description {
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 30px;
    background: #0000008d;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BOTÃO CTA */
.cta-button {
  background: #E60AD3 ;
  color: #fff;
  font-weight: bold;
  padding: 15px 25px;
  margin: 30px auto;
  margin-top: -10px;
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  cursor: pointer;
  animation: pulse-glow 1.4s infinite ease-in-out;
}

.cta-button:hover {
  background: #E60AD3;
}

.cta-button::before {
  content: '\2714';
  margin-right: 8px;
}

.cta-button2 {
  background: #E60AD3 ;
  color: #fff;
  font-weight: bold;
  padding: 15px 25px;
  margin: 30px auto;
  margin-top: -10px;
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  cursor: pointer;
  border: 1px solid #a10d95;
}

.cta-button2:hover {
  background: #E60AD3;
}

.cta-button2::before {
  content: '\2714';
  margin-right: 8px;
}

.cta-button3 {
  background: #E60AD3;
  border: 1px solid rgba(15,15,15,0.06);
  color: #333;
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  font-weight: 500;
  text-align: left;
}

.cta-button3.fade-in {
  display: block; /* para centralizar usando margin */
  margin: 30px auto;
  color: #fff;
  font-weight: bold;
  padding: 15px 25px;
  border-radius: 8px;
  background: #E60AD3; /* nova cor */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.cta-button3:hover {
  background: #E60AD3;
}

/* Animação pulsar + piscar para o botão CTA */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#intro-section {
  text-align: center;
  margin-top: 20px;
}

/* QUIZ */
#quiz-section {
  background: #fff;
  margin-bottom: 30px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  padding: 30px 24px;
  margin-top: 25px;
  animation: fadeInUp 0.5s ease forwards;
}

.quiz-progress {
  background: rgba(230,10,211,0.08);
  border-radius: 999px;
  height: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.quiz-progress-bar {
  background: linear-gradient(90deg, #e992e2, #E60AD3);
  height: 100%;
  width: 0%;
  transition: width .4s ease;
  border-radius: 999px;
}

#quiz-question h2 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  text-align: center;
  background: #3c303b;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* RESULTADO */
#quiz-result {
  background: #fff;
  margin-bottom: 30px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  padding: 30px 24px;
  margin-top: 25px;
  animation: fadeInUp 0.5s ease forwards;
}

#quiz-result h2 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #E60AD3;
}

iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  margin: 20px 0;
}

/* BONUS */
.bonus-section{
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,var(--primary-2),var(--primary-1));
  box-shadow:0 20px 50px rgba(230,10,211,0.12);
  text-align:center
}

.bonus-section p {
  font-size: 12px;
  margin-top: 20px;
  text-align: justify;
}

.bonus-section:hover {
  transform: scale(1.01);
  transition: transform .3s ease;
  box-shadow: 0 8px 20px rgba(230,10,211,0.25);
}

/* ANIMAÇÃO */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

/* ESCONDER */
.hidden {
  display: none;
}

/* feed */
    #live-feed {
        background: #f9f9fb;
        border-radius: 12px;
        padding: 15px;
        max-width: 600px;
        margin: 30px auto;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        font-family: 'Poppins', sans-serif;
        margin-top: -5px;
    }

    .feed-item {
      display:flex;
      gap:12px;
      padding:10px;
      border-radius:12px;
      background:linear-gradient(180deg,rgba(255,255,255,0.9),#fff);
      align-items:flex-start;
      box-shadow:0 8px 30px rgba(0,0,0,0.04);
      border-bottom: 1px solid #eaeaea;
      animation: fadeInUp 0.5s ease-in-out;
      flex-direction: row;
    }

    .feed-avatar {
      width:36px;
      height:36px;
      margin-top: 3px;
      object-fit:cover;
      border-radius: 50%;
      margin-right: 10px;
    }

    .feed-name {
      text-align: left;
      font-weight: 600;
      color: #111;
      font-size: 14px;
    }

    .feed-time {
      font-size:13px;
      color: #777;
      font-size: 12px;
      margin-left: 5px;
    }

    .feed-content {
      flex: 1;
    }

    /* small screens */
    @media (max-width:520px){.container{padding:0 6px}.main-logo{width:140px}.card{padding:18px}}

    /* subtle text shadow to make headlines pop */
    .headline-strong{color: #E60AD3; font-size: 15px; font-weight:700;text-shadow:0 2px 10px rgba(230,10,211,0.08)}

    /* Hover extra */
    .main-image:hover {
      transform: scale(1.02);
      transition: transform .3s ease;
    }

    .cta-button:hover {
      box-shadow: 0 8px 20px rgba(230,10,211,0.25);
    }

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 10px;
  }

  header img.main-logo {
    max-width: 150px;
    height: auto;
  }

  .main-image {
    width: 100%;
    height: auto;
  }

  .subtext,
  .subtext2,
  .description {
    font-size: 0.90rem;
    line-height: 1.1;
    padding: 0 10px;
    font-weight: 800;
  }

  .cta-button {
    font-size: 1rem;
    padding: 12px 18px;
    width: 100%;
    text-align: center;
  }

  /* Vídeo responsivo */
  #quiz-result iframe {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .feed-name {
    font-size: 13px;
  }
  .feed-text {
    font-size: 13px;
  }
  .fb-title {
    font-size: 16px;
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  #quiz-section, #quiz-result {
    padding: 20px 14px;
  }
  #quiz-options button {
    font-size: 0.95rem;
    padding: 12px;
  }
}

/* ===== POPUP ROLETA ===== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: popupZoomIn 0.5s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@keyframes popupZoomIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

.popup-title {
  font-size: 1.4rem;
  color: #e60a27;
  font-weight: 700;
  margin-bottom: 10px;
}

.popup-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
  margin-top: 10px;
  text-align: justify;
}

.popup-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
}

.spin-btn {
  margin-top: 15px;
  font-size: 1.1rem;
  border: 1px solid #a10d95;
}

.wheel-container {
  position: relative;
  color: #E60AD3;
}

#wheel-canvas {
  margin: 0 auto;
  display: block;
}

.popup-subtext {
  font-size: 0.85rem;
  color: #777;
  margin-top: 10px;
}

/* --- Persuasion + question visuals --- */
.persuasion-block {
  text-align: center;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  margin-bottom: 8px;
}

.persuasion-block h1,
.persuasion-block h2 {
  font-size: 1.25rem;
  color: #E60AD3;
  margin-bottom: 10px;
}

.copy-text {
  font-size: 1rem;
  color: #444;
  margin: 8px 0 12px;
  line-height: 1.5;
  text-align: justify;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.copy-subtext {
  font-size: 0.75rem;
  background: #a3a3a3;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    margin-top: 6px;
}

.persuasion-image, .question-image {
  max-width: 100%;
  border-radius: 12px;
  margin: 12px 0;
  box-shadow: 0 8px 28px rgba(230,10,211,0.06);
  object-fit: cover;
}

/* Remover outline brusco em cliques (melhora estética) */
button:focus { outline: none; box-shadow: 0 8px 20px rgba(230,10,211,0.12); }

/* Ajuste responsivo para imagens e texto */
@media (max-width:520px){
  .persuasion-block { padding: 14px; }
  .persuasion-block h1, .persuasion-block h2 { font-size: 1.05rem; }
  .copy-text { font-size: 0.95rem; text-align: justify; }
}

/* Grid para opções */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

/* Opções */
.quiz-option {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,251,0.98));
  border: 2px solid rgba(0, 0, 0, 0.1);
  color: #333;
  font-size: 1rem;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.quiz-option img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.quiz-option:hover,
.quiz-option.selected {
  background: #E60AD3;
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(230,10,211,0.2);
  transform: translateY(-2px);
}

/* Botão Continuar */
.quiz-continue-btn {
  display: block;
  margin: 20px auto 0;
  padding: 14px 28px;
  border-radius: 12px;
  background: #E60AD3;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(230,10,211,0.25);
  text-align: center;
  width: 100%;
  max-width: 250px;
}

.quiz-continue-btn:hover {
  opacity: 0.9;
}

/* Responsividade */
@media (max-width: 520px) {
  .quiz-option {
    font-size: 0.95rem;
    padding: 12px;
  }
}

.analysis-screen {
  text-align: center;
  background: #fff;
  max-width: 500px;
  border-radius: 16px;
  padding: 25px;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-in-out;
}

.analysis-screen h2 {
  color: #E60AD3;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: bold;
}

.analysis-bar {
  width: 100%;
  height: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #e0e0e0;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.analysis-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #E60AD3, #e992e2);
  animation: fillProgress 6s ease forwards;
  border-radius: 10px;
  transition: width 0.8s ease-in-out;
}

@keyframes fillProgress {
  to { width: 100%; }
}

/* ===== Estilo da página de análise ===== */
#analysis-text {
  font-size: 1rem;
  color: #555;
  margin-top: 15px;
  min-height: 40px;
}

#analysis-icon {
  margin-top: 10px;
  font-size: 38px;
  animation: pulseIcon 1s infinite;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseIcon {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Responsividade */
@media (max-width: 480px) {
  .analysis-screen {
    padding: 20px;
  }

  .analysis-screen h2 {
    font-size: 1.2rem;
  }

  #analysis-text {
    font-size: 0.95rem;
  }
}

.vsl-screen {
  text-align: center;
  padding: 20px;
}

.vsl-screen video {
  display:flex;
  width: 100%;
  max-height: 400px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
}

/* ===== FOOTER PADRÃO ===== */
.main-footer {
  background: #ffffff;
  padding: 20px 10px;
  font-size: 0.9rem;
  margin-top: -20px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left p {
  margin: 3px 0;
}

.footer-links a {
  color: #E60AD3;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-seals img {
  height: 35px;
  margin-left: 8px;
}

/* Responsivo */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-seals img {
    height: 28px;
  }
}