/* style.css - moderno, containers sem degradê verde */

/* Reset / base */
:root {
  --bg: #0b0b0b;
  --green-1: #0f7a3a;
  --green-2: #35c46d;
  --blue-1: #339af0;
  --blue-2: #228be6;
  --muted: #9aa3a8;
  --card: #0f1412;
  --glass: rgba(255, 255, 255, 0.03);
  --msg-icon-size: 24px;
  --red-error: #ff6b6b;
  --yellow-warning: #f0c84b;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Scroll */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.1);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #e6f6ec;
  background: #0b0b0b;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* helpers */
.container {
  width: min(1100px, 94%);
  margin: 0 auto;
  padding: 28px 0;
}

/* header */
.site-header {
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 56px;
}

.brand-info h1 {
  font-size: 20px;
  margin: 0;
  letter-spacing: 1px;
}

.scp-c {
  color: var(--green-2);
}

.tagline {
  font-size: 13px;
  color: var(--muted);
}

/* top links */
.top-links {
  display: flex;
  gap: 8px;
}

.top-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* hero */
.hero {
  padding: 40px 0 60px;
  margin: 18px 0;
}

/* Layout do hero-grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Seções de progresso e conteúdo */
.hero-progress {
  order: 1;
  margin-top: 0;
}

.hero-left {
  order: 2;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
  }
  
  /* Ajuste para alinhar o progresso com o formulário */
  .hero-progress {
    order: 1;
    margin-top: 210px; /* Valor ajustado para alinhar com o formulário */
    padding-top: 0;
  }
  
  .hero-left {
    order: 2;
  }
}

.partner-brand {
  margin-bottom: 14px;
}

.vip-logo {
  height: 78px;
}

.hero-left h2 {
  font-size: 26px;
  margin: 0 0 8px;
}

.lead {
  color: var(--muted);
}

/* form */
.card.form-card {
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.3);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  max-width: 520px;
}

.form-row {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

input {
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #0b0b0b;
  font-size: 15px;
  outline: none;
}

input::placeholder {
  color: #8a8a8a;
}

input:focus {
  border-color: var(--green-2);
}

.primary-btn {
  margin-top: 12px;
  background: var(--green-2);
  color: #04110a;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.primary-btn:disabled,
.primary-btn.blocked {
  opacity: 0.6;
  cursor: not-allowed;
  background: #a0a0a0;
  color: #333;
}

/* ============================= */
/* ESTILOS PARA MENSAGENS E RESULTADOS */
/* ============================= */

/* Container de resultado */
.result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #dfffe6;
}

/* Mensagem de erro */
.error-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff5f5;
  border: 1px solid #ff6b6b;
  border-radius: 8px;
  color: #c92a2a;
  font-size: 14px;
  animation: slideIn 0.3s ease-out forwards;
}

.error-icon,
.blocked-icon {
  width: var(--msg-icon-size);
  height: var(--msg-icon-size);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.error-icon {
  color: var(--red-error);
}

.error-icon-img,
.error-message img,
.error-message svg {
  width: var(--msg-icon-size) !important;
  height: var(--msg-icon-size) !important;
  object-fit: contain;
  display: block;
}

.error-text {
  font-weight: 500;
}

/* Mensagem de bloqueio */
.blocked-message {
  background-color: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.blocked-icon {
  margin: 0 auto 12px;
  color: #e53e3e;
}

.blocked-content h3 {
  color: #e53e3e;
  margin-bottom: 8px;
  font-size: 18px;
}

.blocked-content p {
  color: #718096;
  margin-bottom: 8px;
  line-height: 1.5;
}

.blocked-hint {
  font-size: 14px;
  color: #a0aec0;
  font-style: italic;
  margin-top: 12px;
}

/* ANIMAÇÕES GERAIS */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* ============================= */
/* ESTILOS DO PROGRESSO - ATUALIZADO */
/* ============================= */

/* Container de progresso */
.hero-progress .progress-container {
  padding: 16px;
  background: transparent;
  border-radius: 8px;
  border: none;
}

/* Steps em coluna */
.hero-progress .progress-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Step individual - agora com layout flex row */
.hero-progress .step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: default;
  transition: none;
}

/* Remove completamente a animação de hover */
.hero-progress .step:hover {
  background: transparent;
  border: none;
  width: 100%;
}

/* Texto do step - agora à ESQUERDA */
.hero-progress .step-text {
  font-size: 14px;
  color: #e6f6ec;
  font-weight: 500;
  white-space: nowrap;
  order: 1; /* Texto primeiro (esquerda) */
  flex: 1;
  margin-right: 15px;
}

/* Container do ícone - agora à DIREITA e em formato circular */
.hero-progress .step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Transforma em círculo */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  order: 2; /* Ícone depois (direita) */
}

/* Ícone dentro do círculo */
.hero-progress .step-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1); /* Torna os ícones brancos */
}

/* ========== ESTADOS DOS STEPS ========== */

/* Step ativo */
.hero-progress .step.active .step-icon {
  background: rgba(51, 154, 240, 0.1);
  border-color: var(--blue-1);
}

.hero-progress .step.active .step-icon-img {
  animation: pulse 1.2s ease-in-out infinite;
}

.hero-progress .step.active .step-text {
  color: var(--blue-1);
}

/* Step concluído */
.hero-progress .step.completed .step-icon {
  background: rgba(53, 196, 109, 0.1);
  border-color: var(--green-2);
}

.hero-progress .step.completed .step-text {
  color: var(--green-2);
}

/* Step com erro */
.hero-progress .step.error .step-icon {
  background: rgba(255, 107, 107, 0.1);
  border-color: var(--red-error);
}

.hero-progress .step.error .step-text {
  color: var(--red-error);
}

/* Step com aviso */
.hero-progress .step.warning .step-icon {
  background: rgba(240, 200, 75, 0.1);
  border-color: var(--yellow-warning);
}

.hero-progress .step.warning .step-text {
  color: var(--yellow-warning);
}

/* Step desativado */
.hero-progress .step.disabled .step-icon {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.6;
  cursor: not-allowed;
}

.hero-progress .step.disabled .step-icon-img {
  opacity: 0.5;
}

.hero-progress .step.disabled .step-text {
  color: var(--muted);
  font-weight: 400;
}

/* Step bloqueado */
.hero-progress .step.blocked .step-icon {
  background: rgba(255, 107, 107, 0.1);
  border-color: var(--red-error);
}

.hero-progress .step.blocked .step-text {
  color: var(--red-error);
}

/* ============================= */
/* SEÇÃO DE AJUDA FULL WIDTH */
/* ============================= */

.help-section {
  width: 100%;
  padding: 56px 0 64px;
  background: #0b0b0b;
}

/* linha divisória curta (aumentada) */
.help-divider {
  width: 600px; /* aumentado de 120px para 180px */
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 auto 32px;
  border-radius: 2px;
}

/* grid principal: texto em cima, contato abaixo */
.info-grid {
  display: grid;
  grid-template-columns: 1fr; /* agora sempre uma coluna: texto acima, contato abaixo */
  gap: 18px;
  align-items: start;
}

.info-text h3 {
  margin-top: 0;
  color: #e6f6ec;
}

.info-text p {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 12px;
}

/* contato - fica abaixo do texto */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px; /* separação do texto */
}

.contact-col h4 {
  color: var(--green-2);
  font-size: 15px;
  margin-bottom: 12px;
}

.contact-col p {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #e6f6ec;
  text-decoration: none;
  font-size: 14px;
}

.contact-item img {
  width: 18px;
  height: 18px;
}

/* responsivo */
@media (min-width: 1000px) {
  /* se em telas muito largas quiser que o contato ocupe menos largura,
     você pode ajustar .contact-grid para centralizar; mantive a disposição
     em 3 colunas para desktops largos */
  .container {
    width: min(1100px, 94%);
  }
}

@media (max-width: 991px) {
  .hero-progress {
    margin-top: 30px; /* Espaçamento menor em telas menores */
  }
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vip-logo {
    height: 64px;
  }

  .help-divider {
    width: 150px;
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .help-divider {
    width: 120px;
  }

  .info-text p {
    max-width: 100%;
  }
  
  /* Ajuste para telas pequenas */
  .hero-progress .step-text {
    font-size: 13px;
    white-space: normal;
  }
  
  .hero-progress .step-icon {
    width: 36px;
    height: 36px;
  }
  
  .hero-progress .step-icon-img {
    width: 18px;
    height: 18px;
  }
}

/* footer */
.site-footer {
  margin-top: auto;
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
}