/* Bora Pra Live — identidade visual (tokens do design system) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Nunito:wght@800;900&display=swap');

:root {
  --brand: #2563FF; --brand-strong: #1A47C9; --brand-soft: #EAF1FF;
  --live: #FF3D7F; --live-text: #D81B60; --gift: #FFC233;
  --success: #0E9F6E; --danger: #DC2626;
  --ink: #0E1530; --ink-muted: #5B6380;
  --surface: #F7F9FF; --surface-app: #EEF3FF; --surface-card: #FFFFFF; --border: #DDE5F7;
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(37, 99, 255, .08); --shadow-pop: 0 12px 32px rgba(37, 99, 255, .22);
  --display: 'Nunito', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; }
h1, h2, h3, .h { font-family: var(--display); font-weight: 900; margin: 0; letter-spacing: -.01em; }
.muted { color: var(--ink-muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid rgba(37, 99, 255, .45); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-pill);
  font: 600 15px var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--brand); color: #fff; box-shadow: var(--shadow-pop); }
.btn-p:hover { background: var(--brand-strong); color: #fff; }
.btn-s { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-s:hover { color: var(--brand); border-color: #c3d2f5; }
.btn-y { background: var(--gift); color: var(--ink); }
.btn-y:hover { background: #ffb400; color: var(--ink); }
.btn-soft { background: var(--brand-soft); color: var(--brand-strong); }
.btn-danger { background: #FFE3EE; color: #B0124D; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { background: var(--border); color: var(--ink-muted); box-shadow: none; cursor: not-allowed; }
.btn-full { width: 100%; }

/* cartões e formulários */
.card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.pad { padding: 24px; }
.lbl { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.inp { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px; font: 400 15px var(--sans); color: var(--ink); background: #fff; }
.inp:focus { border-color: var(--brand); outline: 3px solid rgba(37, 99, 255, .18); }
.campo + .campo { margin-top: 16px; }
.dica { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; line-height: 22px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); }
.tag-ok { background: #E7F8F1; color: #0B7A55; }
.tag-info { background: var(--brand-soft); color: var(--brand-strong); }
.tag-gift { background: #FFF4D6; color: #5C3D00; }
.tag-live { background: var(--live); color: #fff; letter-spacing: .04em; }
.tag-off { background: #EEF1F7; color: var(--ink-muted); }
.aviso { border-radius: 18px; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; line-height: 22px; }
.aviso-gift { background: #FFF4D6; color: #5C3D00; }
.aviso-info { background: var(--brand-soft); color: #13307F; }
.aviso-erro { background: #FDECEC; color: #8F1414; }
.aviso-ok { background: #E7F8F1; color: #0B5A40; }
.erro { color: var(--danger); font-size: 14px; font-weight: 600; margin: 10px 0 0; min-height: 0; }
.erro:empty { display: none; }

/* toast */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px;
  font-weight: 600; opacity: 0; transition: .25s; z-index: 100; pointer-events: none; max-width: 90vw; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* site */
.topo { position: sticky; top: 0; z-index: 10; background: rgba(247, 249, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topo nav { display: flex; align-items: center; gap: 32px; padding: 14px 24px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.topo .links { display: flex; gap: 28px; flex: 1; flex-wrap: wrap; }
.topo .links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.topo .links a:hover { color: var(--brand); }
.secao { padding: 56px 0; }
.titulo-secao { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.grade { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.passo-n { width: 48px; height: 48px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font: 900 22px var(--display); }
details.faq { background: #fff; border: 1px solid var(--border); border-radius: 18px; }
details.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--brand); font-size: 22px; font-weight: 700; line-height: 1; }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin: 0; padding: 0 24px 20px; color: var(--ink-muted); }
.rodape { border-top: 1px solid var(--border); background: #fff; }
.rodape .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.rodape a { color: var(--ink-muted); text-decoration: none; }

/* app */
.app { min-height: 100vh; display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; background: var(--surface-app); align-items: flex-start; }
.lateral { flex: 1 1 240px; max-width: 280px; padding: 20px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; min-height: calc(100vh - 48px); }
.lateral nav { display: flex; flex-direction: column; gap: 4px; }
.lateral nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
.lateral nav a:hover { background: #F2F6FF; color: var(--brand); }
.lateral nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.lateral svg { flex: none; }
.conteudo { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.app .card { border: 0; }
.cabecalho-app { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.colunas { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.col-main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.numero { border-radius: 18px; padding: 16px; }
.numero p { margin: 0; }
.numero .v { font: 900 30px var(--display); margin-top: 4px; }
.lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); }
.av { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; background: var(--brand); object-fit: cover; }
.abas { display: inline-flex; gap: 4px; background: #fff; border-radius: var(--radius-pill); padding: 4px; flex-wrap: wrap; }
.abas button { border: 0; border-radius: var(--radius-pill); padding: 10px 20px; font: 600 14px var(--sans); cursor: pointer; background: transparent; color: var(--ink-muted); }
.abas button[aria-selected="true"] { background: var(--brand); color: #fff; }
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela th { text-align: left; color: var(--ink-muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tabela td { padding: 12px; border-bottom: 1px solid #EEF1F7; }
.rolagem { overflow-x: auto; }
.ponto { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.carregando { opacity: .55; pointer-events: none; }

@media (max-width: 760px) {
  .topo .links { display: none; }
  .topo nav { gap: 12px; justify-content: space-between; }
  .app { padding: 12px; gap: 12px; }
  .lateral { max-width: none; position: static; min-height: 0; }
  .lateral nav { flex-direction: row; flex-wrap: wrap; }
  .lateral .passe-box, .lateral .quem { display: none; }
}
