/* ===== BASE ===== */
body {
  font-family: "Inter", "Roboto", Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
}

/* ===== CONTAINER ===== */
#tour-matricula {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  position: relative;
  z-index: 10;
}

/* ===== CARD ===== */
.tour-container {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  background: #034ea3;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

/* ===== ETAPAS ===== */
.tour-step {
  display: none;
}

.tour-step.active {
  display: block;
}

/* ===== IMAGEM ===== */
.tour-step img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ===== TEXTO ===== */
.tour-step p {
  font-size: 20px;
  color: #ffffff;
  line-height: 1.5;
}

/* ===== CONTROLES ===== */
.tour-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* ===== BOTÕES ===== */
.tour-controls button {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

/* Voltar */
#prevBtn {
  background: #e5e7eb;
  color: #374151;
}

/* Próximo */
#nextBtn {
  background: #f05724;
  color: #ffffff;
}

/* Iniciar */
#initBtn {
  background: #f05724;
  color: #ffffff;
  font-weight: 600;
}

/* Hover */
#nextBtn:hover,
#initBtn:hover {
  background: #ff9673;
}

#prevBtn:hover {
  background: #d1d5db;
}

/* ===== ANIMAÇÃO ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 480px) {
  .tour-container {
    padding: 15px;
    aspect-ratio: auto;
  }

  .tour-step p {
    font-size: 14px;
  }

  .tour-controls {
    flex-direction: column;
  }

  .tour-controls button {
    margin: 5px 0;
  }
}

/* ===== MODAL ===== */
.tour-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ===== PROGRESSO ===== */
.tour-progress {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.tour-progress-bar {
  height: 100%;
  width: 0%;
  background: #f05724;
  transition: width 0.3s ease;
}