:root {
  --bg-primary: #062a5e;
  --bg-secondary: #0b3b84;
  --bg-card: #0f4aa2;

  --text-primary: #ffffff;
  --text-secondary: #cdd9f5;

  --accent: #4da3ff;
  --border-soft: rgba(255,255,255,0.15);
}


body.welon {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #062a5e, #0b3b84);
  color: var(--text-primary);
}

/* HEADER */
.welon-header {
  padding-inline: 24px;
  text-align: center;
}

.welon-header img {
  height: auto;
  max-width: 220px;
}

/* PROGRESS CONTAINER */

.progress-container {
  margin-bottom: 40px;
}

/* TEXTO */
.progress-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.welon-container {
  max-width: 960px;
  padding-inline: 40px;
  padding-bottom: 10px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* PROGRESS BAR */
.progress-bar-wrapper {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4da3ff, #7bbcff);
  transition: width 0.4s ease;
  border-radius: 999px;
}

/* PULSE ANIMATION */
.progress-bar-fill.pulse {
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(77, 163, 255, 0);
  }
}

/* STICKY NO MOBILE */
@media (max-width: 768px) {
  .progress-container {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #062a5e, #0b3b84);
    padding: 16px 0;
    z-index: 100;
    margin-bottom: 24px;
  }
}


/* ETAPAS */
section {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 40px;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

input {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-soft);
  padding: 14px;
  border-radius: 6px;
  color: white;
  margin-bottom: 16px;
  box-sizing: border-box;
}

input::placeholder {
  color: #cdd9f5;
}

.terms-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-block: 30px;
}

.terms-checkbox input {
  flex-shrink: 0;
}

.terms-checkbox span {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .terms-checkbox span {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .termo-content {
    padding: 16px;
    font-size: 14px;
  }

  .termo-content h2 {
    font-size: 20px;
  }

  .termo-content h3 {
    font-size: 16px;
  }
}

button {
  background: linear-gradient(135deg, #4da3ff, #7bbcff);
  color: #062a5e;
  border: none;
  padding: 16px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* TERMO */
.terms {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border-soft);
  padding: 24px;
  margin-bottom: 24px;
  background: rgba(0,0,0,0.15);
  max-height: 60vh;
}

/* MOBILE */
@media (max-width: 768px) {
  .welon-container {
    padding-inline: 24px;
    padding-bottom: 10px;
  }

  section {
    padding: 20px;
  }

  h2 {
    font-size: 22px;
  }
  input,
  button {
    font-size: 15px;
  }
}

.termo-content {
  border-radius: 5px;
  max-width: 900px;
  margin: 0 auto;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.7;
  background-color: rgba(255,255,255,0.95);
  color: #1b1b1b;
  padding: 20px;
}

.termo-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

.termo-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.termo-content p {
  margin-bottom: 16px;
}

.termo-content ul {
  margin: 16px 0 16px 20px;
}

.termo-content li {
  margin-bottom: 8px;
}

.welcome-title {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 600;
}

#acceptTerms {
  width: auto;
  margin: 0;
}

/* SPINNER */
.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(6, 42, 94, 0.2);
  border-top-color: #062a5e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* BOTÃO EM LOADING */
button.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

/* FOOTER */
.welon-footer {
  padding-bottom: 32px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Linha separadora */
.footer-separator {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

/* Conteúdo */
.footer-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Copyright */
.footer-copy {
  white-space: nowrap;
}

/* Selos */
.footer-seals {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-seals img {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

/* Desenvolvido por */
.footer-dev {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-dev span {
  font-size: 13px;
  opacity: 0.8;
}

.footer-dev img {
  height: 26px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-dev img:hover {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 0 20px;
  }

  .footer-copy {
    white-space: normal;
  }

  .footer-seals img {
    height: 28px;
  }

}

#step-3 p {
  color: var(--text-secondary);
  line-height: 1.6;
}

#step-3 h2 {
  margin-bottom: 20px;
}
