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

:root {
  /* Paleta GRS Racing */
  --background: #0d0d0d;
  --foreground: #ffffff;
  --card: #1a1a1a;
  --card-foreground: #ffffff;
  --primary: #f8bd0c;
  --primary-foreground: #0d0d0d;
  --secondary: #262626;
  --secondary-foreground: #ffffff;
  --muted: #333333;
  --muted-foreground: #b3b3b3;
  --accent: #f8bd0c;
  --accent-foreground: #0d0d0d;
  --border: #333333;
  --input: #1a1a1a;
  --ring: #f8bd0c;
  --radius: 0.5rem;
}

/* Body */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.main-container {
  min-height: 100vh;
}

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo-container {
  text-align: center;
  margin: 20px 0;
}

.logo {
  max-width: 200px;
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin: 0 auto 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(248, 189, 12, 0.2);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge.success {
  background-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin: 20px 0;
}

.hero-title {
  font-size: 1.8rem !important;  /* menor */
  font-weight: 600;
  color: #ffffff !important;     /* branco */
  text-align: center;
  margin-bottom: 1rem;
}


.hero-subtitle {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
}

.offer-box {
  background: #111;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
}

.offer-text {
  font-size: 0.9rem;
  color: #ffcc00;
}

.countdown {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff5555;
}

.banner-placeholder {
  background: #333;
  color: #888;
  padding: 40px;
  margin: 20px 0;
  border-radius: 8px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-button {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  margin: 20px auto;
  text-align: center;
  width: 100%;
  max-width: 20rem;
}

.cta-button:hover {
  background-color: rgba(248, 189, 12, 0.9);
  transform: translateY(-1px);
}

.disclaimer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* About Section */
.about-section {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
}

.about-content {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.about-image {
  position: relative;
}

.workshop-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.original-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Winner Notifications */
.winner-notifications {
  position: fixed;
  bottom: 1rem;       /* aparece no rodapé */
  right: 1rem;        /* alinhado à direita */
  z-index: 1000;
  max-width: 20rem;
}

.notification-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  animation: slideIn 0.3s ease-out;
  font-size: 0.875rem; /* deixa o texto proporcional */
}

.winner-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.notification-content {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.winner-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.winner-action {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}


/* Quiz */
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
}

.quiz-progress {
  background: #000;
  padding: 10px 15px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.question-counter {
  font-size: 0.95rem;
  color: #fff;
}

.progress-bar {
  position: relative;
  flex: 1;
  height: 0.5rem;
  background-color: var(--muted);
  border-radius: 0.25rem;
  margin-right: 1rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary);
  transition: width 0.3s ease;
  width: 0%;
}

.progress-percent {
  position: absolute;
  top: -22px; /* sobe o número acima da barra */
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}


.quiz-content {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.question-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-option:hover {
  border-color: var(--primary);
  background-color: rgba(248, 189, 12, 0.05);
}

.quiz-option.selected {
  border-color: var(--primary);
  background-color: rgba(248, 189, 12, 0.1);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-btn.primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.quiz-btn.primary:hover {
  background-color: rgba(248, 189, 12, 0.9);
}

.quiz-btn.secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.quiz-btn.secondary:hover {
  background-color: rgba(38, 38, 38, 0.8);
}

/* Resgate */
.resgate-container {
  max-width: 32rem;
  margin: 0 auto;
}

.success-message {
  text-align: center;
  margin-bottom: 2rem;
}

.success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.success-subtitle {
  color: var(--muted-foreground);
}

.resgate-form {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: var(--foreground);
  font-size: 0.875rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(248, 189, 12, 0.2);
}

.shipping-info {
  text-align: center;
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.shipping-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.shipping-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shipping-logo {
  height: 2rem;
  width: auto;
}

.shipping-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Promo Confirmation */
.promo-confirmation {
  text-align: center;
  margin-bottom: 30px;
}

.promo-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0;
  color: #fff;
}

.promo-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 20px;
}

.promo-banner {
  background: #222;
  color: #999;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 60px 20px;
  margin: 20px auto;
  max-width: 800px;
  font-size: 1rem;
}

.promo-offer {
  margin-top: 20px;
}

.offer-button {
  background: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.offer-button:hover {
  background: #FFD700;
  color: #000;
}

.offer-text {
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 8px;
}

/* Products Grid */
.products-highlight {
  text-align: center;
  font-size: 1.2rem;
  color: #ffcc00;
  margin: 30px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.product-image {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  margin: 5px 0;
}

.new-price {
  color: #00ff66;
  font-weight: bold;
  font-size: 1.2rem;
}

.product-note {
  color: #aaa;
  font-size: 0.9rem;
  margin: 5px 0 10px;
}

.btn-resgatar {
  background: #00c853;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.btn-resgatar:hover {
  background: #00e676;
}

/* Outros */
.quiz-result {
  margin-top: 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #aaa;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quiz-actions {
    flex-direction: column;
  }

  .shipping-logos {
    flex-wrap: wrap;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
/* Kit Image Placeholder */
.kit-image-container {
  display: flex;
  justify-content: center;
}

.kit-placeholder {
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 1;
  background-color: var(--muted);
  border-radius: 0.75rem;
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.placeholder-text {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.placeholder-size {
  font-size: 0.75rem;
}
/* Banner antes da pergunta */
.quiz-banner {
  background: #222;
  color: #888;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 60px 20px;
  margin: 0 auto 20px auto;
  max-width: 800px;
  text-align: center;
}
/* Promo Alert Box */
.promo-box {
  background: rgba(248, 189, 12, 0.05);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin: 1rem 0;
}

.promo-icon {
  font-size: 1rem;
}

.promo-message {
  text-align: center;
}

.promo-message strong {
  color: #fff; /* deixa a data e hora em destaque branco */
  font-weight: 600;
}
/* Status dot verde tipo "online" */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #22c55e; /* verde */
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
}
.countdown {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff5555;
  display: block;
  margin-top: 8px;
}
/* Destaque de produtos */
.products-highlight {
  text-align: center;
  font-size: 1.2rem;
  color: #ffcc00;
  margin: 30px 0;
}

/* Grid de produtos */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.product-image {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  margin: 5px 0;
}

.new-price {
  color: #00ff66;
  font-weight: bold;
  font-size: 1.2rem;
}

.product-note {
  color: #aaa;
  font-size: 0.9rem;
  margin: 5px 0 10px;
}

.btn-resgatar {
  background: #00c853;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.btn-resgatar:hover {
  background: #00e676;
}
.kit-image-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 0 1rem; /* dá um respiro lateral no mobile */
}

/* tamanho padrão (desktop/tablet) */
/* padrão (desktop e tablet) */
.kit-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  margin: 0 auto;
  display: block;
}

/* 🔒 Forçar ajuste só no mobile */
@media screen and (max-width: 480px) {
  img.hero-image {
    width: 100% !important;    /* ocupa a largura da tela */
    max-width: 280px !important; /* trava no máximo 280px */
    height: auto !important;
    display: block;
    margin: 0 auto;            /* centraliza */
  }
}


  .kit-image-container {
    padding: 0 12px !important; /* evita encostar nas bordas */
  }
}
.hero-section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Container do quiz mais compacto */
.quiz-content {
  background-color: var(--card);
  border-radius: 0.5rem;
  padding: 1rem;            /* diminuído de 2rem para 1rem */
  border: 1px solid var(--border);
  margin-bottom: 1rem;      /* menor espaçamento */
}

/* Pergunta */
.question-title {
  font-size: 1.1rem;        /* título menor */
  font-weight: 600;
  margin-bottom: 1rem;      /* menos espaço */
  text-align: center;
}

/* Opções */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;              /* menos espaço entre as opções */
}

.quiz-option {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  padding: 0.75rem;         /* mais compacto */
  font-size: 0.9rem;        /* fonte menor */
}

/* Área dos botões */
.quiz-actions {
  display: flex;
  justify-content: center; /* centraliza */
  margin-top: 1rem;        /* espaço controlado */
  gap: 0.5rem;
  position: sticky;        /* mantém fixo */
  bottom: 0;
  background: var(--background);
  padding: 0.75rem 0;
  z-index: 10;
}

/* Botões */
.quiz-btn {
  padding: 0.6rem 1rem;     /* compactar */
  font-size: 0.9rem;
  border-radius: 0.4rem;
}


.quiz-content {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.quiz-content.fade-out {
  opacity: 0;
  transform: translateX(-20px);
}

.quiz-content.fade-in {
  opacity: 1;
  transform: translateX(0);
}
/* Feedback de resposta correta */
.feedback-check {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.feedback-check.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.feedback-img {
  width: 150px;
  max-width: 70vw; /* nunca passa de 70% da tela no mobile */
  height: auto;
}



/* Preloader estilos */
/* Preloader estilos */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d0d0d; /* fundo escuro igual ao site */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #fff;
}

.preloader-circle {
  width: 60px;
  height: 60px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #f8bd0c; /* amarelo da marca */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.preloader-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.vsl-video-file {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  border: 2px solid var(--border);
}
.unmute-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  cursor: pointer;
  z-index: 10;
  text-align: center;
  font-weight: bold;
}

.unmute-overlay:hover {
  background: rgba(0, 0, 0, 0.8);
}

