.onb-container {
  position: fixed;
  inset: 0;
  background-color: #0A0A0A;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  padding-inline: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 999999;
  font-family: 'Manrope', system-ui, sans-serif;
}

.onb-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10,10,10,0.0) 0%, rgba(10,10,10,0.29) 50%, rgba(10,10,10,0.61) 100%);
  z-index: 1;
  pointer-events: none;
}

.onb-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  gap: 12px;
}

/* MARCA E TÍTULOS */
.onb-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2vh;
  margin-bottom: 4vh;
}

.onb-logo-symbol {
  width: 160px !important;
  height: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  object-fit: contain;
  margin-bottom: 24px !important;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.25)) !important;
}

.onb-brand-text h2 {
  font-family: 'Cinzel', serif !important;
  font-size: 1.75rem !important;
  color: #D4AF37 !important;
  letter-spacing: 8.5px !important;
  text-transform: uppercase !important;
  margin: 0 0 8px 0 !important;
  line-height: 1 !important;
  text-indent: 8.5px !important;
}

.onb-brand-tagline {
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.68rem !important;
  color: #F5F0EB !important;
  letter-spacing: 5.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  text-indent: 5.5px !important;
}

.onb-brand-tagline::before,
.onb-brand-tagline::after {
  content: '' !important;
  height: 1px !important;
  width: 43px !important;
}
.onb-brand-tagline::before { background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8)) !important; }
.onb-brand-tagline::after { background: linear-gradient(270deg, transparent, rgba(212, 175, 55, 0.8)) !important; }

.onb-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 0;
  margin-bottom: 5vh;
}

.onb-title {
  font-family: 'Playfair Display', 'Georgia', serif !important;
  font-size: 1.6rem !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  color: #F5F0EB !important;
  margin-bottom: 16px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.onb-eyebrow {
  font-family: 'Manrope', sans-serif !important;
  text-transform: uppercase !important;
  font-size: 0.7rem !important;
  letter-spacing: 4px !important;
  color: #D4AF37 !important;
  margin-bottom: 20px !important;
  display: block !important;
}

.onb-title-line {
  display: block !important;
  white-space: nowrap !important;
}

.onb-subtitle {
  font-family: 'Manrope', sans-serif !important;
  color: #B9B2A8 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  max-width: 85% !important;
  margin: 0 auto !important;
}

/* BOTÕES E INPUTS */
.onb-btn {
  width: 100%;
  min-height: 56px;
  background: transparent;
  border: 1px solid #D4AF37;
  color: #F5F0EB;
  border-radius: 40px;
  font-size: 0.95rem;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  margin-top: auto;
  margin-bottom: 16px;
}

.onb-btn-solid {
  background: linear-gradient(180deg, var(--color-gold) 0%, #C59B27 100%) !important;
  color: #0A0A0A !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

.onb-arrow, .onb-arrow-dark {
  font-size: 1.2rem;
  margin-left: 8px;
}
.onb-arrow { color: #D4AF37; }
.onb-arrow-dark { color: #0A0A0A; }

.onb-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 5px;
  margin-top: auto;
}

.onb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333333;
}
.onb-dot.active { background: #D4AF37; }

/* TOPBAR */
.onb-topbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.onb-back-btn {
  background: transparent;
  border: none;
  color: var(--color-gold);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}
.onb-topbar-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #B9B2A8;
  font-size: 0.8rem;
}
.onb-bar-container {
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  overflow: hidden;
}
.onb-bar-fill {
  height: 100%;
  background: #D4AF37;
}

/* INPUTS E GRELHA */
.onb-input-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  padding: 0 16px;
  height: 60px;
  margin-bottom: 20px;
}
.onb-input-icon { margin-right: 12px; display: flex; }
.onb-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #F5F0EB;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  outline: none;
}
.onb-input::placeholder { color: #B9B2A8; }
.onb-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 90%;
  margin: 0 auto 24px auto;
  color: #B9B2A8;
  font-size: 0.8rem;
}
.onb-error-msg { color: #e74c3c; font-size: 0.8rem; display: none; }

.onb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
}
.onb-card {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid #40351D;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  position: relative;
}
.onb-card.selected {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.1);
}
.onb-card-icon { margin-right: 10px; }
.onb-card-text { flex: 1; font-size: 0.75rem; color: #F5F0EB; line-height: 1.2; }
.onb-card-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #40351D;
  position: absolute;
  right: 10px;
}
.onb-card.selected .onb-card-radio {
  border-color: var(--color-gold);
  background: var(--color-gold);
  box-shadow: inset 0 0 0 3px #0A0A0A;
}
.onb-btn-outro {
  width: 100%;
  min-height: 50px;
  background: transparent;
  border: 1px solid #40351D;
  border-radius: 40px;
  color: #F5F0EB;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.onb-btn-outro span { color: var(--color-gold); font-size: 1.2rem; }

/* VISTAS ESPECÍFICAS */
.onb-view-2 .onb-brand { margin-bottom: 2vh; transform: scale(0.8); }
.onb-view-3 .onb-brand { transform: scale(0.55); margin-top: -20px; margin-bottom: -20px; }
.onb-view-4 .onb-brand { transform: scale(0.45); margin-top: -25px; margin-bottom: -25px; }

.onb-card-2lines { min-height: 58px !important; }
.onb-card-text-container { display: flex; flex-direction: column; flex: 1; text-align: left; }
.onb-card-title { font-size: 0.75rem; font-weight: 600; color: #F5F0EB; }
.onb-card-subtitle { font-size: 0.65rem; color: #B9B2A8; margin-top: 2px; }

.onb-skip-btn {
  background: transparent;
  border: none;
  color: #B9B2A8;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.onb-hidden { display: none !important; }
