/* ═══════════════════════════════════════════════
   SEMPER CONCURSOS — landing.css
   Landing page, modal login, paywall freemium
   ═══════════════════════════════════════════════ */

/* ── Landing geral ── */
#_landing {
  position: fixed; inset: 0; z-index: 9999;
  background: #060a0d;
  overflow-y: auto;
  font-family: 'DM Sans', sans-serif;
}
#_landing::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,255,140,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}
.sc-glow { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.sc-glow-1 { width: 600px; height: 600px; background: rgba(0,200,100,.08); top: -200px; left: -150px; }
.sc-glow-2 { width: 500px; height: 500px; background: rgba(0,150,255,.06); bottom: -150px; right: -100px; }

/* ── Nav ── */
#_nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(6,10,13,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sc-logo { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.sc-logo span { color: #00e87a; }
#_nav-btn {
  padding: 9px 22px; border-radius: 8px;
  background: #00e87a; color: #060a0d;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s;
}
#_nav-btn:hover { background: #00ff88; transform: translateY(-1px); }

/* ── Hero ── */
#_hero { position: relative; z-index: 1; text-align: center; padding: 100px 24px 80px; max-width: 800px; margin: 0 auto; }
.sc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,232,122,.1); border: 1px solid rgba(0,232,122,.25);
  border-radius: 99px; padding: 6px 16px;
  font-size: 12px; font-weight: 600; color: #00e87a;
  letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 28px; animation: fadeUp .6s ease both;
}
.sc-badge::before { content: '●'; font-size: 8px; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.sc-headline { font-family: 'Fraunces', serif; font-size: clamp(38px, 7vw, 68px); font-weight: 700; line-height: 1.08; color: #fff; margin-bottom: 12px; animation: fadeUp .6s .1s ease both; }
.sc-headline .hl { background: linear-gradient(135deg, #00e87a, #00c8ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sc-sub { font-size: 17px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 40px; animation: fadeUp .6s .2s ease both; }
.sc-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeUp .6s .3s ease both; margin-bottom: 32px; }

/* ── Funil do Agente Bravo (quiz roteirizado + degustação na landing) ── */
.sc-bravo-demo { position: relative; z-index: 1; max-width: 560px; margin: 0 auto 56px; background: rgba(255,255,255,.04); border: 1px solid rgba(0,232,122,.25); border-radius: 16px; padding: 18px 18px 16px; text-align: left; animation: fadeUp .6s .4s ease both; }
.sc-bravo-demo__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sc-bravo-demo__av { width: 40px; height: 40px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 22px; background: linear-gradient(135deg, #1a5c3a, #2a8c58); border-radius: 50%; }
.sc-bravo-demo__nome { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; color: #fff; }
.sc-bravo-demo__sub { font-size: 13px; color: rgba(255,255,255,.5); }
.sc-bravo-demo__bar { display: flex; gap: 8px; }
.sc-bravo-demo__input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.25); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 14px; outline: none; }
.sc-bravo-demo__input::placeholder { color: rgba(255,255,255,.35); }
.sc-bravo-demo__input:focus { border-color: rgba(0,232,122,.6); }
.sc-bravo-demo__btn { flex: 0 0 auto; width: 46px; border-radius: 10px; border: none; background: linear-gradient(135deg, #00e87a, #00c8aa); color: #060a0d; font-size: 20px; font-weight: 800; cursor: pointer; transition: transform .12s; }
.sc-bravo-demo__btn:hover { transform: translateY(-1px); }
.sc-bravo-demo__sugestoes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.sc-bravo-demo__sugestoes button { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); font-family: 'DM Sans', sans-serif; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 16px; cursor: pointer; transition: all .15s; }
.sc-bravo-demo__sugestoes button:hover { border-color: rgba(0,232,122,.5); color: #fff; }
.sc-bravo-demo__loading { font-size: 14px; color: rgba(255,255,255,.55); }

/* Chat do funil: balões do Bravo (esquerda) x visitante (direita) */
.sc-bravo-chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; max-height: 340px; overflow-y: auto; scrollbar-width: thin; }
.sc-bravo-chat__msg { font-size: 14px; line-height: 1.6; border-radius: 10px; padding: 10px 14px; max-width: 92%; animation: fadeUp .25s ease both; }
.sc-bravo-chat__msg--bot { align-self: flex-start; color: rgba(255,255,255,.88); background: rgba(0,0,0,.22); }
.sc-bravo-chat__msg--bot b, .sc-bravo-chat__msg--bot strong { color: #00e87a; }
.sc-bravo-chat__msg--user { align-self: flex-end; color: #060a0d; background: linear-gradient(135deg, #00e87a, #00c8aa); font-weight: 600; }
.sc-bravo-demo .sc-bravo-demo__bar { margin-top: 10px; }
.sc-btn-primary { padding: 15px 32px; border-radius: 10px; background: linear-gradient(135deg, #00e87a, #00c8aa); color: #060a0d; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: all .2s; box-shadow: 0 0 32px rgba(0,232,122,.25); }
.sc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(0,232,122,.4); }
.sc-btn-secondary { padding: 15px 32px; border-radius: 10px; background: transparent; border: 1.5px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s; }
.sc-btn-secondary:hover { border-color: rgba(255,255,255,.4); color: #fff; }
@keyframes fadeUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }

/* ── Stats ── */
#_stats { position: relative; z-index: 1; display: flex; justify-content: center; gap: 0; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); animation: fadeUp .6s .4s ease both; }
.sc-stat { padding: 28px 48px; text-align: center; border-right: 1px solid rgba(255,255,255,.06); }
.sc-stat:last-child { border-right: none; }
.sc-stat-num { font-family: 'Space Mono', monospace; font-size: 32px; font-weight: 700; color: #00e87a; line-height: 1; }
.sc-stat-label { font-size: 12px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .8px; margin-top: 6px; }

/* ── Features ── */
#_features { position: relative; z-index: 1; max-width: 900px; margin: 80px auto; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sc-feat { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 28px 24px; transition: all .3s; }
.sc-feat:hover { background: rgba(0,232,122,.04); border-color: rgba(0,232,122,.2); transform: translateY(-3px); }
.sc-feat-icon { font-size: 28px; margin-bottom: 14px; }
.sc-feat-title { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.sc-feat-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.65; }

/* ── Planos ── */
#_planos { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto 80px; padding: 0 24px; }
.sc-section-title { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 8px; }
.sc-section-sub { font-size: 14px; color: rgba(255,255,255,.35); text-align: center; margin-bottom: 36px; }
.sc-planos-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
/* Desktop: Anual (destaque) no CENTRO; mobile mantém ordem do DOM (Anual 1º) */
.sc-planos-grid--3 .sc-plano--mensal { order: 1; }
.sc-planos-grid--3 .sc-plano--anual  { order: 2; }
.sc-planos-grid--3 .sc-plano--gratis { order: 3; }
@media(max-width: 880px) {
  .sc-planos-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .sc-planos-grid--3 .sc-plano--anual  { order: 1; }
  .sc-planos-grid--3 .sc-plano--mensal { order: 2; }
  .sc-planos-grid--3 .sc-plano--gratis { order: 3; }
}
/* Card como coluna flex: lista estica e o botão alinha no rodapé dos 3 cards */
.sc-plano { display: flex; flex-direction: column; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 28px 24px; position: relative; }
.sc-plano.destaque { background: linear-gradient(180deg, rgba(0,232,122,.09), rgba(0,200,180,.04)); border-color: rgba(0,232,122,.35); box-shadow: 0 12px 48px rgba(0,232,122,.08); padding-top: 34px; }
/* Selo no topo do card destaque (substitui a antiga faixa rotacionada) */
.sc-plano-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #00e87a, #00c8aa); color: #060a0d; font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 6px 16px; border-radius: 99px; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,232,122,.3); }
.sc-plano-head { margin-bottom: 18px; }
.sc-plano-nome { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.sc-plano.destaque .sc-plano-nome { color: #00e87a; }
.sc-plano-preco { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 6px; white-space: nowrap; }
.sc-plano-preco span { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.3); }
.sc-plano-desc { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.5; min-height: 39px; }
.sc-plano-itens { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sc-planos-garantia { text-align: center; font-size: 12px; color: rgba(255,255,255,.3); margin-top: 20px; }
.sc-plano-itens li { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }
.sc-plano-itens li::before { content: '✓'; color: #00e87a; font-weight: 700; flex-shrink: 0; }
.sc-plano-itens li.no::before { content: '✗'; color: rgba(255,255,255,.2); }
.sc-plano-itens li.no { color: rgba(255,255,255,.2); }

/* Botões dos planos */
.sc-plano-btn-outline { width: 100%; margin-top: 20px; padding: 12px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.15); background: transparent; color: rgba(255,255,255,.6); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.sc-plano-btn-outline:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.sc-plano-btn-primary { width: 100%; margin-top: 20px; padding: 12px; border-radius: 8px; border: none; background: linear-gradient(135deg,#00e87a,#00c8aa); color: #060a0d; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.sc-plano-btn-primary:hover { opacity: .9; }
.sc-plano-btn-anual { width: 100%; margin-top: 20px; padding: 12px; border-radius: 8px; border: 1.5px solid rgba(0,200,255,.4); background: transparent; color: #00c8ff; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.sc-plano-btn-anual:hover { background: rgba(0,200,255,.1); }

/* ── Modal login ── */
#_modal-login { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.75); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 24px; }
#_modal-login.open { display: flex; }
.sc-modal-box { background: #0e1620; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 40px; width: 100%; max-width: 380px; box-shadow: 0 40px 80px rgba(0,0,0,.6); animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity:0; transform: scale(.95) translateY(10px); } to { opacity:1; transform: scale(1) translateY(0); } }
.sc-modal-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.sc-modal-sub { font-size: 13px; color: rgba(255,255,255,.35); margin-bottom: 28px; }
.sc-input { width: 100%; padding: 13px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 14px; outline: none; transition: border-color .2s; margin-bottom: 10px; }
.sc-input:focus { border-color: #00e87a; background: rgba(0,232,122,.04); }
.sc-input::placeholder { color: rgba(255,255,255,.25); }
.sc-login-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #00e87a, #00c8aa); border: none; border-radius: 8px; color: #060a0d; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; margin-top: 4px; }
.sc-login-btn:hover { opacity: .9; }
.sc-login-btn:disabled { opacity: .5; cursor: default; }
.sc-modal-links { display: flex; justify-content: space-between; margin-top: 16px; }
.sc-modal-links a { font-size: 12px; color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.sc-modal-links a:hover { color: #00e87a; }
.sc-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: rgba(255,255,255,.3); font-size: 20px; cursor: pointer; padding: 4px 8px; transition: color .2s; }
.sc-modal-close:hover { color: #fff; }
#_lerr { display: none; color: #ff6b6b; font-size: 12px; text-align: center; padding: 8px; line-height: 1.5; background: rgba(255,107,107,.08); border-radius: 6px; margin-bottom: 8px; }

/* ── Paywall ── */
#_paywall { display: none; position: fixed; inset: 0; z-index: 9998; background: rgba(6,10,13,.95); backdrop-filter: blur(12px); align-items: center; justify-content: center; padding: 24px; }
#_paywall.open { display: flex; }
.sc-paywall-box { text-align: center; max-width: 440px; animation: fadeUp .4s ease; }
.sc-paywall-icon { font-size: 56px; margin-bottom: 16px; }
.sc-paywall-title { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sc-paywall-sub { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 32px; }
.sc-paywall-sub strong { color: #00e87a; }
.sc-paywall-btns { display: flex; flex-direction: column; gap: 10px; }
.sc-paywall-primary { padding: 15px 32px; border-radius: 10px; background: linear-gradient(135deg, #00e87a, #00c8aa); color: #060a0d; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sc-paywall-primary:hover { transform: translateY(-2px); }
/* Mensal vira opção secundária (outline) pra o anual se destacar */
.sc-paywall-primary--mensal { background: transparent; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); font-weight: 600; }
.sc-paywall-primary--mensal:hover { border-color: #00e87a; color: #fff; }
.sc-paywall-economia { font-size: 11px; font-weight: 700; background: rgba(6,10,13,.18); padding: 2px 8px; border-radius: 99px; }

/* Botão do card VIP Anual: dourado (CTA da melhor oferta) */
.sc-plano-btn-anual { background: linear-gradient(135deg, #d4a72c, #f5d068); color: #3d2f08; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sc-plano-btn-anual:hover { box-shadow: 0 6px 24px rgba(212,167,44,.35); opacity: 1; }
.sc-plano-economia { font-size: 11px; font-weight: 800; background: rgba(61,47,8,.18); padding: 2px 7px; border-radius: 99px; }
.sc-paywall-secondary { padding: 12px; border-radius: 10px; background: transparent; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; transition: all .2s; }
.sc-paywall-secondary:hover { color: #fff; border-color: rgba(255,255,255,.3); }

/* ── Badge free no dashboard ── */
/* CORRIGIDO: cores adaptadas ao tema claro do dashboard */
#_free-badge {
  display: none;
  background: rgba(26,92,58,.08);
  border: 1px solid rgba(26,92,58,.2);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted, #7a7060);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.6;
}
#_free-badge strong { color: var(--accent, #1a5c3a); }
#_free-badge a { color: var(--accent, #1a5c3a) !important; font-weight: 600; }

/* ── Modal de captura de lead (pré-checkout) ── */
/* Mesmo padrão do #_modal-login: display none → .open vira flex */
#_modal-lead { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.75); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 24px; }
#_modal-lead.open { display: flex; }
.sc-lead-emoji { font-size: 40px; text-align: center; margin-bottom: 10px; }
.sc-lead-err { display: none; color: #ff8a8a; font-size: 12px; text-align: center; padding: 8px; line-height: 1.5; background: rgba(255,107,107,.08); border-radius: 6px; margin-bottom: 8px; }
.sc-lead-nota { font-size: 11px; color: rgba(255,255,255,.28); text-align: center; margin-top: 14px; line-height: 1.6; }

/* ── Responsivo Landing ── */
@media(max-width:480px) {
  #_nav { padding: 14px 20px; }
  .sc-logo { font-size: 17px; }
  #_hero { padding: 60px 20px 50px; }
  .sc-sub { font-size: 15px; }
  .sc-hero-btns { flex-direction: column; align-items: center; }
  .sc-btn-primary, .sc-btn-secondary { width: 100%; text-align: center; }
  .sc-stat { padding: 20px 24px; }
  .sc-stat-num { font-size: 24px; }
  #_features { gap: 12px; }
  .sc-planos-grid { gap: 12px; }
}

