/* ══════════════════════════════════════
   AUTH — login, cadastro, splash
   Conexão Cristã — Green-Dark Theme
   ══════════════════════════════════════ */

/* ── Banner de COMPRA CONFIRMADA ── */
.compra-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(34,197,94,.05));
  border: 1.5px solid rgba(34,197,94,.55);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  animation: compraIn .55s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 0 24px rgba(34,197,94,.18);
}
.compra-banner.hidden { display: none; }
.compra-banner-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.compra-banner-text strong {
  display: block;
  color: #22c55e;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 3px;
}
.compra-banner-text span {
  color: rgba(237,245,238,0.82);
  font-size: 13px;
  line-height: 1.55;
}
.compra-banner-text span strong { display: inline; font-size: 13px; margin-bottom: 0; }
@keyframes compraIn {
  0% { opacity: 0; transform: translateY(-12px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Banner de código promo ── */
.promo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(201,162,39,.14), rgba(201,162,39,.04));
  border: 1.5px solid rgba(201,162,39,.45);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 8px;
  animation: promoPulse 2s ease-in-out infinite alternate;
}
@keyframes promoPulse {
  from { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
  to   { box-shadow: 0 0 16px 0 rgba(201,162,39,.18); }
}
.promo-banner-icon { font-size: 26px; flex-shrink: 0; }
.promo-banner-text { display: flex; flex-direction: column; gap: 2px; }
.promo-banner-text strong {
  font-size: 14px;
  font-weight: 800;
  color: #f0d060;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.promo-banner-text span {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Selects de data de nascimento ── */
.date-select {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
  text-align: center;
}
.date-select:focus {
  border-color: rgba(201,162,39,0.6);
  box-shadow: 0 0 0 3px rgba(201,162,39,.12);
}
.date-select option { background: var(--surface); color: var(--text); }

/* ── Loading overlay ── */
#appLoading {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s;
}
.loading-cross {
  font-size: 52px;
  animation: loadingPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(74,222,128,.4));
}
.loading-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: .5px;
}

@keyframes loadingPulse {
  0%, 100% { transform: scale(1);   opacity: .8; }
  50%       { transform: scale(1.1); opacity: 1;  }
}

/* ── Wrapper principal ── */
.app {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex; flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
.app::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════
   SPLASH SCREEN
   ══════════════════════════════════════ */
#splashScreen {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: max(48px, calc(var(--sat) + 40px)) 32px max(48px, calc(var(--sab) + 40px));
  text-align: center;
  animation: fadeIn .9s ease both;
  background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(13,107,53,.12) 0%, transparent 70%);
}

.splash-logo {
  width: clamp(96px, 26vw, 118px);
  height: clamp(96px, 26vw, 118px);
  margin-bottom: clamp(20px, 5vh, 30px);
  position: relative;
  animation: logoEntra .7s cubic-bezier(.2,.8,.2,1) both;
}
/* halo atras da logo — da profundidade sem pesar */
.splash-logo::after {
  content: '';
  position: absolute; inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.20) 0%, rgba(201,162,39,.10) 45%, transparent 70%);
  filter: blur(6px);
  z-index: -1;
  animation: logoHalo 3.4s ease-in-out infinite alternate;
}
.splash-logo img {
  width: 100%; height: 100%;
  border-radius: 26px;
  display: block;
  box-shadow: 0 14px 44px rgba(0,0,0,.45), 0 0 0 1px rgba(242,234,223,.10);
}
@keyframes logoEntra {
  from { opacity: 0; transform: translateY(14px) scale(.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes logoHalo {
  from { opacity: .55; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.09); }
}

.splash-title {
  /* Era Cormorant Garamond (serif classica). O Eric pediu mais moderna:
     Outfit e geometrica, de traco limpo e legivel no tamanho grande —
     importa porque 88% dos compradores tem 40+. */
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 11vw, 50px);
  font-weight: 700;
  line-height: .98;
  margin-bottom: clamp(12px, 2.8vh, 16px);
  letter-spacing: -1.6px;
  color: #F2EADF;
  display: flex; flex-direction: column; align-items: center;
  animation: tituloEntra .7s .1s cubic-bezier(.2,.8,.2,1) both;
}
/* "de Fé" em dourado, peso menor: cria hierarquia dentro do nome */
.splash-title span {
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: -.8px;
}
@keyframes tituloEntra {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.splash-subtitle {
  font-size: clamp(13px, 3.5vw, 16px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 290px;
  margin: 0 auto clamp(20px, 4vh, 32px);
}

.splash-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(13px, 3.5vw, 15px);
  color: rgba(74,222,128,.65);
  margin: 0 auto clamp(32px, 7vh, 56px);
  line-height: 1.6;
  max-width: 290px;
  padding: 14px 18px;
  background: rgba(74,222,128,.04);
  border-radius: 12px;
  border: 1px solid rgba(74,222,128,.1);
}

/* ══════════════════════════════════════
   BOTÕES
   ══════════════════════════════════════ */
.btn-primary {
  width: 100%; max-width: 360px;
  padding: clamp(16px, 4.5vw, 19px) 24px;
  border-radius: 18px; border: none;
  background: linear-gradient(135deg, #166534 0%, #14532d 50%, #052e16 100%);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 4vw, 16px);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(13,107,53,.45), 0 1px 0 rgba(255,255,255,.08) inset;
  transition: transform .18s, box-shadow .18s;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; letter-spacing: .3px;
  min-height: 54px;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:active {
  transform: scale(.97);
  box-shadow: 0 4px 16px rgba(13,107,53,.3);
}

.btn-secondary {
  width: 100%; max-width: 360px;
  padding: clamp(13px, 4vw, 16px) 24px;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(14px, 3.8vw, 15px);
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  margin-top: 12px;
  min-height: 50px;
  letter-spacing: .2px;
}
.btn-secondary:active {
  transform: scale(.97);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

/* ══════════════════════════════════════
   FORMULÁRIO / STEPS
   ══════════════════════════════════════ */
.form-screen {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: 0 20px calc(40px + var(--sab));
  animation: slideIn .35s cubic-bezier(.32,.72,0,1) both;
}

.form-screen.scrollable {
  overflow-y: visible;
  flex: unset;
}

.form-header {
  padding-top: calc(52px + var(--sat));
  padding-bottom: 28px;
  position: relative;
}

.back-btn {
  position: absolute;
  top: calc(48px + var(--sat));
  left: 0;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px;
  transition: all .2s;
  backdrop-filter: blur(8px);
}
.back-btn:active { transform: scale(.9); background: rgba(255,255,255,.08); }

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Progress dots ── */
.step-progress {
  display: flex; gap: 6px; margin-bottom: 24px;
}
.step-dot {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.1);
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  flex: 1;
}
.step-dot.done {
  background: rgba(34,197,94,.35);
}
.step-dot.active {
  background: linear-gradient(90deg, var(--green), var(--green-light));
  flex: 2.5;
  box-shadow: 0 0 10px rgba(34,197,94,.4);
}

/* ══════════════════════════════════════
   INPUTS
   ══════════════════════════════════════ */
.field       { margin-bottom: 14px; }
.field-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--muted); margin-bottom: 7px;
  display: flex; align-items: center; gap: 6px;
}
.field-label .req { color: var(--rose); }

.input-wrap    { position: relative; display: flex; align-items: center; }
.input-icon    { position: absolute; left: 16px; font-size: 17px; pointer-events: none; opacity: .45; z-index: 1; }
.input-suffix  { position: absolute; right: 16px; font-size: 17px; cursor: pointer; opacity: .45; padding: 8px; transition: opacity .2s; }
.input-suffix:active { opacity: .9; }

input, select, textarea {
  width: 100%;
  background: rgba(6,12,7,.7);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px 14px 46px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; /* 16px obrigatório — evita zoom automático no iOS */
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(34,197,94,.5);
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
  background: rgba(6,12,7,.9);
}
input::placeholder { color: var(--muted); opacity: .55; }
input.error { border-color: rgba(244,63,94,.5); box-shadow: 0 0 0 3px rgba(244,63,94,.08); }
input.valid { border-color: rgba(74,222,128,.45); }

select       { padding-left: 46px; color: var(--text); cursor: pointer; }
select option { background: #0d1a0f; color: var(--text); }
textarea     { padding: 14px 16px; resize: none; min-height: 90px; line-height: 1.55; }

input[type="date"] { padding-left: 46px; }

.field-error      { font-size: 12px; color: var(--danger); margin-top: 5px; padding-left: 4px; display: none; }
.field-error.show { display: block; animation: fadeIn .2s ease both; }

/* ── Força da senha ── */
.strength-bar  {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.06);
  margin-top: 8px; overflow: hidden;
}
.strength-fill {
  height: 100%; border-radius: 2px;
  transition: width .35s ease, background .35s ease;
  width: 0;
}
.strength-label { font-size: 11px; margin-top: 5px; font-weight: 700; letter-spacing: .3px; }

/* ══════════════════════════════════════
   TAGS / INTERESSES
   ══════════════════════════════════════ */
.tags-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px;
}
.tag-chip {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: 9px 15px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  min-height: 38px;
  display: flex; align-items: center;
  letter-spacing: .1px;
}
.tag-chip.selected {
  background: rgba(13,107,53,.25);
  border-color: rgba(34,197,94,.45);
  color: var(--green-light);
  box-shadow: 0 2px 12px rgba(13,107,53,.2);
}
.tag-chip:active { transform: scale(.93); }

/* ══════════════════════════════════════
   FOTOS / GALERIA
   ══════════════════════════════════════ */
.photo-picker {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-bottom: 18px;
}
.photo-slot {
  aspect-ratio: 3/4; border-radius: 16px;
  border: 1.5px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; position: relative;
  transition: all .2s;
}
.photo-slot:hover  { border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.04); }
.photo-slot:active { transform: scale(.96); }
.photo-slot.filled { border-style: solid; border-color: rgba(34,197,94,.4); }
.photo-slot.main-slot { grid-column: 1/-1; aspect-ratio: 16/9; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-add        { font-size: 26px; color: rgba(255,255,255,.3); margin-bottom: 4px; }
.photo-add-label  { font-size: 10px; color: rgba(255,255,255,.3); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.photo-main-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: linear-gradient(135deg, var(--green), #065f46);
  color: white; font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 100px;
  letter-spacing: .3px;
}

/* ══════════════════════════════════════
   TERMOS
   ══════════════════════════════════════ */
.terms-row {
  display: flex; align-items: flex-start;
  gap: 12px; margin-bottom: 18px;
}
.checkbox-custom {
  width: 26px; height: 26px; min-width: 26px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; margin-top: 1px;
  transition: all .2s;
}
.checkbox-custom.checked {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(13,107,53,.4);
}
.checkbox-custom .check { display: none; font-size: 13px; }
.checkbox-custom.checked .check { display: block; }
.terms-text   { font-size: 13px; color: var(--muted); line-height: 1.65; }
.terms-text a { color: var(--green-light); text-decoration: none; font-weight: 600; }
.terms-text a:active { opacity: .7; }

/* ══════════════════════════════════════
   CARDS DE PLANO (cadastro)
   ══════════════════════════════════════ */
.plan-card-opt {
  background: rgba(255,255,255,.03);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 15px 18px;
  margin-bottom: 10px;
  cursor: pointer; display: flex;
  align-items: center; justify-content: space-between;
  gap: 12px; transition: all .22s; min-height: 68px;
}
.plan-card-opt:active { transform: scale(.98); }
.plan-card-opt.selected {
  border-color: rgba(34,197,94,.5);
  background: rgba(13,107,53,.18);
  box-shadow: 0 4px 24px rgba(13,107,53,.15);
}
.plan-card-name  { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.plan-card-desc  { font-size: 12px; color: var(--muted); }
.plan-card-price { text-align: right; flex-shrink: 0; }
.plan-price-val  {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--gold-light);
}
.plan-price-per  { font-size: 11px; color: var(--muted); }

/* ══════════════════════════════════════
   ALERTAS
   ══════════════════════════════════════ */
.alert-box      { border-radius: 14px; padding: 14px 18px; margin-bottom: 14px; font-size: 13px; line-height: 1.55; display: none; }
.alert-box.show { display: block; animation: fadeIn .25s ease both; }
.alert-error    { background: rgba(244,63,94,.08); border: 1px solid rgba(244,63,94,.25); color: #fca5a5; }
.alert-success  { background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.25); color: #86efac; }

/* ══════════════════════════════════════
   DIVISOR
   ══════════════════════════════════════ */
.divider      { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.divider-line { flex: 1; height: 1px; background: rgba(255,255,255,.07); }
.divider-text { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }

/* ══════════════════════════════════════
   BOTÃO SOCIAL / MAGIC LINK
   ══════════════════════════════════════ */
.social-btn {
  width: 100%; padding: 15px 20px;
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; transition: all .2s;
  margin-bottom: 10px; min-height: 50px;
  letter-spacing: .2px;
}
.social-btn:active {
  transform: scale(.97);
  background: rgba(255,255,255,.07);
}
.social-btn-magic {
  background: linear-gradient(135deg, rgba(13,107,53,.25) 0%, rgba(201,162,39,.12) 100%);
  border-color: rgba(201,162,39,.35);
  color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(201,162,39,.08);
}
.social-btn-magic:active {
  box-shadow: 0 2px 10px rgba(201,162,39,.1);
}

/* ══════════════════════════════════════
   TELA DE SUCESSO
   ══════════════════════════════════════ */
.success-screen {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: max(40px, calc(var(--sat) + 32px)) 32px max(40px, calc(var(--sab) + 32px));
  text-align: center;
  animation: fadeIn .5s ease both;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(13,107,53,.1) 0%, transparent 70%);
}
.success-icon {
  width: clamp(80px, 22vw, 104px);
  height: clamp(80px, 22vw, 104px);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74,222,128,.18) 0%, rgba(20,184,166,.08) 100%);
  border: 2px solid rgba(74,222,128,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(40px, 11vw, 50px);
  margin-bottom: 28px;
  animation: successPop .6s .15s cubic-bezier(.34,1.56,.64,1) both;
  box-shadow: 0 0 60px rgba(74,222,128,.12);
}
.success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7.5vw, 36px);
  font-weight: 700; margin-bottom: 12px;
  letter-spacing: -.3px;
}
.success-text {
  font-size: clamp(13px, 3.5vw, 15px);
  color: var(--muted); line-height: 1.7;
  max-width: 290px; margin: 0 auto 36px;
}

@keyframes successPop {
  from { opacity: 0; transform: scale(.3) rotate(-10deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ══════════════════════════════════════
   INTENÇÃO (O que você busca?)
   ══════════════════════════════════════ */
.intencao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 8px;
}
.intencao-opt {
  background: rgba(255,255,255,.03);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 16px 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; cursor: pointer;
  transition: all .22s; text-align: center;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: rgba(255,255,255,.45);
  min-height: 86px;
}
.intencao-opt .intencao-emoji { font-size: 28px; }
.intencao-opt:active { transform: scale(.94); }
.intencao-opt.selected {
  border-color: rgba(34,197,94,.5);
  background: rgba(13,107,53,.2);
  color: var(--green-light);
  box-shadow: 0 4px 20px rgba(13,107,53,.15);
}

/* ══════════════════════════════════════
   BANNER DE INFO / TRIAL
   ══════════════════════════════════════ */
.info-banner {
  background: rgba(13,107,53,.08);
  border: 1.5px solid rgba(34,197,94,.18);
  border-radius: 20px; padding: 22px 20px;
  margin-bottom: 22px; text-align: center;
  position: relative; overflow: hidden;
}
.info-banner::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(34,197,94,.06) 0%, transparent 60%);
  pointer-events: none;
}
.info-banner-icon  { font-size: 38px; margin-bottom: 12px; }
.info-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 700;
  margin-bottom: 8px;
}
.info-banner-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════ */
@media (max-width: 360px) {
  .form-screen    { padding-left: 16px; padding-right: 16px; }
  .splash-cross   { width: 68px; height: 68px; font-size: 34px; }
  #splashScreen   { padding-left: 24px; padding-right: 24px; }
  .intencao-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-height: 600px) {
  .splash-cross  { margin-bottom: 12px; }
  .splash-verse  { margin-bottom: 16px; }
  #splashScreen  { justify-content: flex-start; padding-top: max(20px, calc(var(--sat) + 16px)); }
  .form-header   { padding-top: calc(36px + var(--sat)); }
  .back-btn      { top: calc(32px + var(--sat)); }
  .success-icon  { margin-bottom: 16px; }
}

/* ══════════════════════════════════════
   NOVOS ELEMENTOS — LOGIN SIMPLIFICADO
   ══════════════════════════════════════ */

/* Dica de ajuda / tip box */
.helper-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: rgba(34,197,94,.06);
  border: 1px solid rgba(34,197,94,.15);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 13px;
  color: rgba(237,245,238,.7);
  line-height: 1.6;
}
.helper-tip > span:first-child { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.helper-tip strong { color: var(--green-light); font-weight: 700; }

/* Hint abaixo de um campo (texto cinza claro) */
.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  padding-left: 4px;
  line-height: 1.5;
}
.field-hint em { color: rgba(237,245,238,.55); font-style: normal; }

/* Botões de gênero (visuais grandes) */
.gender-btn {
  background: rgba(255,255,255,.03);
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 20px 10px 16px;
  color: rgba(255,255,255,.55);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 90px;
  transition: all .22s;
  line-height: 1.4;
}
.gender-btn:active { transform: scale(.95); }
.gender-btn.selected {
  border-color: rgba(34,197,94,.55);
  background: rgba(13,107,53,.22);
  color: var(--green-light);
  box-shadow: 0 4px 20px rgba(13,107,53,.18);
}

/* Outline social button */
.social-btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.12);
  color: rgba(237,245,238,.55);
  font-size: 14px;
}
.social-btn-outline:active {
  background: rgba(255,255,255,.04);
}

/* mt-20 utilitário */
.mt-20 { margin-top: 20px; }

/* ══════════════════════════════════════════════════════════════
   Selects de estado e cidade — 04/09/2026
   Antes vinham com style inline (background transparente, border:0,
   padding:0), o que anulava o visual de campo e deixava o estado parecendo
   texto solto no meio do formulário. Agora usam o mesmo campo dos outros e
   ganham a seta, que o appearance:none tinha comido.
   ══════════════════════════════════════════════════════════════ */
.campo-select { width: 100%; cursor: pointer; padding-right: 38px; }
.input-wrap:has(> .campo-select) { position: relative; }
.input-wrap:has(> .campo-select)::after {
  content: ''; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   LOGIN CENTRALIZADO EM QUALQUER TELA — 14/09/2026
   No computador e no tablet as telas de login e cadastro ficavam coladas
   à esquerda, numa coluna estreita. A coluna agora tem largura máxima e
   fica no centro; em telas altas o conteúdo também centraliza na vertical.
   ══════════════════════════════════════════════════════════════ */
.app > div { width: 100%; }
.form-screen, #splashScreen {
  width: 100%; max-width: 460px;
  margin-left: auto; margin-right: auto;
  box-sizing: border-box;
}
.form-screen .btn-primary, .form-screen .btn-secondary, .form-screen .social-btn { max-width: none; }
#splashScreen .btn-primary, #splashScreen .btn-secondary { margin-left: auto; margin-right: auto; }
@media (min-width: 600px) and (min-height: 700px) {
  .form-screen:not(.scrollable) { justify-content: center; padding-top: 32px; }
  .form-screen:not(.scrollable) .form-header { padding-top: 12px; }
  .form-screen:not(.scrollable) .back-btn { top: 8px; }
}

/* ══════════════════════════════════════════════════════════════
   TELA INICIAL — 26/09/2026
   Efeito nos botoes + bloco "Preciso de ajuda"
   ══════════════════════════════════════════════════════════════ */

/* Brilho que atravessa o botao principal a cada 4s. So no CTA:
   se todo botao brilhar, nenhum chama atencao. */
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -140%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: btnShine 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%, 62% { left: -140%; }
  92%, 100% { left: 160%; }
}
.btn-primary { transition: transform .18s, box-shadow .28s; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(13,107,53,.55), 0 1px 0 rgba(255,255,255,.12) inset;
}
.btn-secondary { transition: transform .18s, background .22s, border-color .22s; }
.btn-secondary:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(34,197,94,.35);
}
.btn-secondary:active { transform: scale(.97); }

@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { animation: none; }
  .splash-logo, .splash-logo::after, .splash-title { animation: none; }
}

/* ── Bloco de ajuda ───────────────────────────────────────── */
.ajuda-bloco {
  width: 100%; max-width: 360px;
  margin-top: clamp(26px, 6vh, 40px);
}

.ajuda-toggle {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(242,234,223,.12);
  background: rgba(255,255,255,.035);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background .22s, border-color .22s;
}
.ajuda-toggle:hover { background: rgba(255,255,255,.06); border-color: rgba(34,197,94,.3); }
.ajuda-toggle-ico {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: rgba(201,162,39,.18);
  color: var(--gold-light);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ajuda-chevron {
  margin-left: auto;
  font-size: 18px; line-height: 1;
  color: var(--muted);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.ajuda-toggle[aria-expanded="true"] .ajuda-chevron { transform: rotate(180deg); }

/* `[hidden]` e regra do navegador e PERDE para qualquer display do autor.
   Sem o !important a lista aparece aberta. Ja custou tempo antes. */
.ajuda-lista[hidden], .faq-a[hidden] { display: none !important; }

.ajuda-lista {
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 8px;
  animation: ajudaAbre .3s ease both;
}
@keyframes ajudaAbre {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(242,234,223,.09);
  background: rgba(255,255,255,.025);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  background: none; border: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px; font-weight: 600;
  text-align: left; line-height: 1.35;
  cursor: pointer;
}
.faq-q:hover { background: rgba(255,255,255,.03); }
.faq-sinal {
  margin-left: auto; flex: none;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(34,197,94,.14);
  color: var(--green-light);
  font-size: 15px; font-weight: 700;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.faq-q[aria-expanded="true"] .faq-sinal { transform: rotate(45deg); }

.faq-a {
  padding: 0 15px 14px;
  font-size: 14px; line-height: 1.62;
  color: var(--muted);
  text-align: left;
  animation: ajudaAbre .26s ease both;
}
.faq-a strong { color: var(--text); font-weight: 600; }

.ajuda-whats {
  display: block;
  margin-top: 4px; padding: 13px;
  border-radius: 14px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.22);
  color: var(--green-light);
  font-size: 14px; font-weight: 700;
  text-align: center; text-decoration: none;
  transition: background .22s;
}
.ajuda-whats:hover { background: rgba(34,197,94,.17); }

/* Com o bloco de ajuda a tela ficou alta demais para centralizar. */
#splashScreen {
  justify-content: flex-start;
  padding-top: max(40px, calc(var(--sat) + 32px));
}

/* ══ 27/09/2026 — o "Dia" do nascimento sumia depois de escolhido ══
   Todo <select> leva padding-left:46px (espaço do ícone dos outros campos).
   A caixa do dia tem 65px: sobravam 3px e o número ficava invisível, e quem
   tem 55 anos acha que não funcionou. As datas não têm ícone. */
select.date-select {
  padding-left: 8px !important;
  padding-right: 8px !important;
  text-align: center;
  text-align-last: center;
}

/* ══ Campo do código de acesso (tela s-codigo) ══ */
.codigo-input {
  width: 100%;
  padding: 16px 12px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  border-radius: 16px;
  border: 1.5px solid rgba(201, 162, 39, .45);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-family: inherit;
}
.codigo-input::placeholder { color: rgba(255, 255, 255, .22); letter-spacing: 6px; }
.codigo-input:focus { outline: none; border-color: #f0d060; box-shadow: 0 0 0 3px rgba(240, 208, 96, .18); }
#reenviarBtn:disabled { opacity: .55; cursor: default; }
#loginCompraBox { margin-bottom: 14px; }
