/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: #f0f2f5; color: #222; font-size: 14px; }

.hidden { display: none !important; }

/* ── Loading Screen ── */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.loading-screen p { color: #fff; margin-top: 16px; font-size: 14px; }

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Login Screen Premium ── */
.login-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background-color: #0f2540;
}

.login-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
              radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.15), transparent 25%);
  background-size: cover;
  z-index: 0;
}

.login-box-premium {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  width: 100%;
  max-width: 440px;
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-logo {
  margin-bottom: 32px;
}
.logo-icon {
  font-size: 32px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.logo-icon-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}
.login-logo h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.login-logo p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.login-input-group {
  text-align: left;
  margin-bottom: 16px;
}
.login-input-group label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  font-weight: 600;
}
.login-input-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  transition: all 0.2s ease;
}
.login-input-group input::placeholder {
  color: rgba(255,255,255,0.3);
}
.login-input-group input:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(0,0,0,0.3);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.btn-login-premium {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}
.btn-login-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}
.btn-login-premium:active {
  transform: translateY(0);
}

.login-feedback {
  font-size: 13px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
}
.login-feedback.erro {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.login-feedback.sucesso {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.login-footer {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.login-footer a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}
.login-footer a:hover {
  text-decoration: underline;
}

/* ── Header ── */
.header { background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%); color: #fff; padding: 16px 24px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1700px; margin: 0 auto; }
.header h1 { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.header span { font-size: 12px; opacity: .7; }
.btn-sair {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}
.btn-sair:hover { background: rgba(255,255,255,0.2); }

/* ── Layout Principal ── */
.app-body {
  display: flex;
  max-width: 1700px;
  margin: 0 auto;
  align-items: stretch;
  min-height: calc(100vh - 72px); /* subtrai header aprox */
}

/* ── Nav (Sidebar) ── */
.nav { background: #fff; border-right: 1px solid #dde1e7; display: flex; flex-direction: column; gap: 4px; padding: 24px 0; width: 200px; flex-shrink: 0; align-self: flex-start; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
.nav-btn { padding: 12px 18px; border: none; background: none; cursor: pointer; font-size: 14px; font-weight: 500; color: #555; border-left: 4px solid transparent; text-align: left; transition: all .15s; position: relative; display: flex; align-items: center; justify-content: space-between; }
.nav-btn:hover { background: #f8fafc; color: #1a3a5c; }
.nav-btn.active { background: #f0f4f8; color: #1a3a5c; border-left-color: #1a3a5c; }
.badge-num { background: #e74c3c; color: #fff; border-radius: 10px; font-size: 10px; padding: 2px 6px; vertical-align: middle; }
.badge-num.hidden { display: none; }

.btn-sair-nav {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.btn-sair-nav:hover { background: #b91c1c; }

/* ── Main ── */
.main { flex: 1; margin: 0; padding: 32px 40px; overflow-x: hidden; min-width: 0; }
.aba { display: block; }
.aba.hidden { display: none; }

/* ── Aba Topo ── */
.aba-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.aba-topo h2 { font-size: 18px; color: #1a3a5c; }

/* ── Botões ── */
.btn-primary { background: #1a3a5c; color: #fff; border: none; padding: 9px 18px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; transition: background .15s; }
.btn-primary:hover { background: #0f2540; }
.btn-sec { background: #fff; color: #555; border: 1px solid #ccc; padding: 9px 18px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.btn-sec:hover { background: #f5f5f5; }
.btn-icon { background: none; border: none; cursor: pointer; padding: 4px 8px; border-radius: 4px; font-size: 15px; transition: background .15s; }
.btn-icon:hover { background: #eee; }

/* ── Busca & Filtros ── */
.barra-busca { margin-bottom: 14px; }
.barra-busca input, .filtros input, .filtros select { padding: 8px 12px; border: 1px solid #d0d4da; border-radius: 6px; font-size: 13px; background: #fff; }
.barra-busca input { width: 320px; }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.filtros input { width: 220px; }
.filtros input[type="date"] { width: 130px; }
.filtro-periodo { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }

/* ── Combobox de empresa (NF-e Entrada) — select nativo escondido por trás,
   só pra guardar o valor/disparar o "change" que o resto do código já usa;
   quem aparece é o botão + painel de busca abaixo. ── */
.combo-empresa { position: relative; display: inline-block; }
.combo-empresa-select-real { display: none; }
.combo-empresa-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 220px; padding: 8px 12px; border: 1px solid #d0d4da; border-radius: 6px; font-size: 13px; background: #fff; color: #333; cursor: pointer; text-align: left; }
.combo-empresa-toggle:hover { background: #f9fafb; }
.combo-empresa-toggle span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-empresa-seta { color: #888; font-size: 11px; flex-shrink: 0; }
.combo-empresa-painel { position: absolute; top: calc(100% + 4px); left: 0; z-index: 50; width: 260px; background: #fff; border: 1px solid #d0d4da; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.15); padding: 8px; }
.combo-empresa-painel.hidden { display: none; }
.combo-empresa-busca { width: 100%; padding: 7px 10px; border: 1px solid #d0d4da; border-radius: 6px; font-size: 13px; margin-bottom: 6px; box-sizing: border-box; }
.combo-empresa-lista { max-height: 220px; overflow-y: auto; }
.combo-empresa-item { padding: 7px 10px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.combo-empresa-item:hover, .combo-empresa-item.ativo { background: #f0f4f8; }

/* ── Cards Resumo ── */
.cards-resumo { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.card-num { background: #fff; border-radius: 10px; padding: 16px 24px; min-width: 140px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.08); border-left: 4px solid #ccc; }
.card-num span { display: block; font-size: 32px; font-weight: 700; line-height: 1; }
.card-num label { font-size: 11px; color: #777; margin-top: 4px; display: block; }
.card-num.verde  { border-left-color: #27ae60; } .card-num.verde span  { color: #27ae60; }
.card-num.laranja{ border-left-color: #f39c12; } .card-num.laranja span{ color: #f39c12; }
.card-num.vermelho{border-left-color: #e74c3c; } .card-num.vermelho span{color: #e74c3c; }
.card-num.azul   { border-left-color: #2980b9; } .card-num.azul span   { color: #2980b9; }

/* ── Tabela ── */
.table-wrap { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); overflow: auto; }
table { width: 100%; border-collapse: collapse; }
thead { background: #f7f8fa; }
th { padding: 11px 14px; text-align: left; font-size: 12px; font-weight: 600; color: #555; border-bottom: 1px solid #e8eaed; white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
/* CNPJ nunca quebra linha */
#tbody-sindicatos td:nth-child(2),
#tbody-coletas td:nth-child(1) { white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafbff; }
#tbody-sindicatos tr:hover td { background: #eef2ff; }
.vazio { text-align: center; color: #aaa; padding: 32px !important; }

/* ── Painel Admin: coluna de ações + grade de módulos por escritório ── */
.acoes-admin-linha { display: flex; flex-wrap: wrap; gap: 6px; }
/* Grade fixa 2x2 (não flex-wrap) pra nunca sobrar 1 chip sozinho numa linha
   torta — largura sempre igual entre as 2 colunas, o texto mais longo
   (NFe Entrada) dita a largura mínima da coluna. */
.grid-modulos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; min-width: 170px; }
.chip-modulo {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 14px;
  border: 1px solid #e0e3e8; background: #f7f8fa; color: #8a8f98; cursor: pointer;
  white-space: nowrap;
}
.chip-modulo:hover { border-color: #c7cbd1; }
.chip-modulo.ativo { background: #eafaf1; color: #1e8449; border-color: #bfe8d0; }

/* ── Sub-abas Tomadas / Prestadas (NFS-e) ── */
.subabas-nfse { display: flex; gap: 4px; margin-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.subaba-nfse {
  background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer;
}
.subaba-nfse:hover { color: #1a3a5c; }
.subaba-nfse.ativo { color: #1a3a5c; border-bottom-color: #1a3a5c; }
#abas-detalhe-nfse { padding: 4px 20px 0; margin-bottom: 0; }

/* ── Badges de Status ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-verde   { background: #eafaf1; color: #1e8449; }
.badge-azul    { background: #eff6ff; color: #1e40af; }
.badge-laranja { background: #fef9e7; color: #b7770d; }
.badge-vermelho{ background: #fdedec; color: #c0392b; }
.badge-cinza   { background: rgba(255,255,255,.15); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 20px; }
.badge-ok      { background: #eafaf1; color: #1e8449; font-size: 12px; padding: 4px 12px; border-radius: 20px; }

/* ── Lista de Alterações ── */
.lista-alteracoes { display: flex; flex-direction: column; gap: 10px; }
.alt-item { background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.08); border-left: 4px solid #f39c12; display: flex; align-items: flex-start; gap: 16px; }
.alt-item.nova    { border-left-color: #27ae60; }
.alt-item.removida{ border-left-color: #e74c3c; }
.alt-icone { font-size: 22px; line-height: 1; }
.alt-corpo { flex: 1; }
.alt-corpo strong { display: block; font-size: 14px; margin-bottom: 4px; }
.alt-corpo p { font-size: 12px; color: #555; margin: 2px 0; }
.alt-data { font-size: 11px; color: #999; white-space: nowrap; }
.ant-novo { display: flex; gap: 8px; font-size: 12px; margin-top: 6px; }
.ant { background: #fdedec; color: #c0392b; padding: 2px 8px; border-radius: 4px; }
.novo { background: #eafaf1; color: #1e8449; padding: 2px 8px; border-radius: 4px; }

/* ── Modal ── */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal.hidden { display: none; }
.modal-box { background: #fff; border-radius: 12px; width: 860px; max-width: 96vw; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.modal-grande { width: 700px; max-height: 80vh; overflow-y: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid #eee; }
.modal-head h3 { font-size: 16px; color: #1a3a5c; }
.btn-fechar { background: none; border: none; font-size: 22px; cursor: pointer; color: #888; line-height: 1; }
.btn-fechar:hover { color: #333; }
form { padding: 12px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 600; color: #555; }
label input, label select { padding: 6px 10px; border: 1px solid #d0d4da; border-radius: 4px; font-size: 12px; }
label input:focus, label select:focus { outline: none; border-color: #1a3a5c; }
.form-linha { display: flex; gap: 12px; }
.form-linha label { flex: 1; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }

/* ── Detalhe ── */
#detalhe-corpo { padding: 20px; }
.detalhe-grid { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; }
.detalhe-grid .dk { font-size: 12px; font-weight: 600; color: #777; }
.detalhe-grid .dv { font-size: 13px; color: #222; }
.detalhe-texto { margin-top: 16px; background: #f7f8fa; border-radius: 8px; padding: 14px; font-size: 12px; color: #444; line-height: 1.6; max-height: 300px; overflow-y: auto; white-space: pre-wrap; }

/* ── Toast ── */
.toast { position: fixed; bottom: 24px; right: 24px; background: #1a3a5c; color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 13px; box-shadow: 0 4px 16px rgba(0,0,0,.2); z-index: 200; }
.toast.hidden { display: none; }
.toast.erro { background: #c0392b; }
.toast.ok { background: #1e8449; }

/* ── Modal documento (visualizador) ── */
.modal-doc-box { background: #fff; border-radius: 12px; width: 96vw; height: 92vh; max-width: 1100px; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0,0,0,.3); overflow: hidden; }

/* ── Checkbox de coleta ── */
input[type="checkbox"] { width: 17px; height: 17px; cursor: pointer; accent-color: #1a3a5c; }

/* ── Linha nova/alterada ── */
tr.nova-linha td { background: #eafaf1 !important; }
tr.alterada-linha td { background: #fef9e7 !important; }

/* ── Responsivo ── */
@media (max-width: 768px) {
  .app-body { flex-direction: column; }
  .nav { width: 100%; border-right: none; border-bottom: 1px solid #dde1e7; flex-direction: row; flex-wrap: wrap; padding: 12px; gap: 8px; min-height: auto; }
  .nav-btn { flex: 1; min-width: 140px; border-left: none; border-bottom: 3px solid transparent; text-align: center; justify-content: center; padding: 10px; background: #f8fafc; border-radius: 6px; }
  .nav-btn.active { border-bottom-color: #1a3a5c; border-bottom-width: 3px; border-bottom-style: solid; background: #f0f4f8; }
  .btn-sair-nav { left: 12px; bottom: 12px; }
  .main { padding: 20px 12px; }
  .cards-resumo { gap: 8px; }
  .card-num { min-width: 100px; padding: 12px 16px; }
  .barra-busca input { width: 100%; }
  .aba-topo { flex-direction: column; align-items: flex-start; }
  .filtro-periodo { width: 100%; }
  .filtro-periodo input[type="date"] { flex: 1; width: auto; min-width: 0; }
  .combo-empresa { width: 100%; }
  .combo-empresa-toggle { width: 100%; }
  .combo-empresa-painel { width: 100%; }
}

/* ════════════════════════════════════════
   MINHA CONTA — Cards Layout
   ════════════════════════════════════════ */

.config-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Card base */
.config-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid #e8eaed;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.config-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.11);
}

/* Cabeçalho do card */
.config-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f2f5;
  background: #fafbfc;
}
.config-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.config-card-titulo {
  font-size: 15px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0;
}
.config-card-sub {
  font-size: 12px;
  color: #888;
  display: block;
  margin-top: 2px;
}

/* Corpo do card */
.config-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Labels dentro dos cards — override do estilo global */
.config-card-body label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  min-width: 0;
}

/* Inputs e selects dentro dos cards */
.config-card-body label input,
.config-card-body label select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d0d4da;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.config-card-body label input:focus,
.config-card-body label select:focus {
  outline: none;
  border-color: #1a3a5c;
  box-shadow: 0 0 0 2px rgba(26,58,92,0.08);
}
.config-card-body label input[readonly] {
  background: #f9fafb;
  color: #777;
  cursor: default;
}

/* Linhas do formulário dentro do card */
.config-card-body .form-linha {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.config-card-body .form-linha label {
  flex: 1;
  min-width: 0;
}

/* Textarea dentro do card */
.config-card-body label textarea {
  padding: 10px 12px;
  border: 1px solid #d0d4da;
  border-radius: 6px;
  font-size: 13px;
  resize: vertical;
  width: 100%;
  font-family: inherit;
  margin-top: 0;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.config-card-body label textarea:focus {
  outline: none;
  border-color: #1a3a5c;
  box-shadow: 0 0 0 2px rgba(26,58,92,0.08);
}

/* Divisor interno "📍 Endereço" */
.config-secao-divider {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 6px 0 2px;
  border-top: 1px solid #f0f2f5;
  margin-top: 4px;
}

/* ── Sistema CFG: Grid de formulário sem inline styles ── */
.cfg-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}
.cfg-col-grow  { flex: 1 1 0; min-width: 0; }
.cfg-col-cnpj  { flex: 0 0 220px; min-width: 0; }
.cfg-col-fixed80  { flex: 0 0 80px;  min-width: 0; }
.cfg-col-fixed100 { flex: 0 0 100px; min-width: 0; }

.cfg-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  width: 100%;
}

.cfg-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d0d4da;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cfg-input:focus {
  outline: none;
  border-color: #1a3a5c;
  box-shadow: 0 0 0 2px rgba(26,58,92,0.08);
}
.cfg-readonly {
  background: #f9fafb !important;
  color: #777;
  cursor: default;
}

.cfg-input-group {
  display: flex;
  gap: 6px;
  align-items: center;
}
.cfg-input-group .cfg-input { flex: 1; }
.cfg-btn-icon {
  flex-shrink: 0;
  height: 36px;
  padding: 0 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Assinatura */
.config-card-assinatura {
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
  border-color: #bbf7d0;
}
.config-card-assinatura .config-card-header {
  background: transparent;
  border-bottom-color: #d1fae5;
}

.assinatura-body {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.assinatura-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.assinatura-valor,
.assinatura-status-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.assinatura-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.assinatura-preco {
  font-size: 28px;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}
.assinatura-desc {
  font-size: 12px;
  color: #6b7280;
}

/* Badges de status da assinatura */
.assinatura-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.assinatura-badge-verificando {
  background: #f3f4f6;
  color: #6b7280;
}
.assinatura-badge-ativo {
  background: #dcfce7;
  color: #16a34a;
}
.assinatura-badge-expirando {
  background: #fef9c3;
  color: #ca8a04;
}
.assinatura-badge-expirado {
  background: #fee2e2;
  color: #dc2626;
}
.assinatura-venc-data {
  font-size: 11px;
  color: #9ca3af;
}

/* Botão de pagar PIX */
.btn-pagar-pix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(16,185,129,0.35);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-pagar-pix:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.45);
  background: linear-gradient(135deg, #34d399, #10b981);
}
.btn-pagar-pix:active {
  transform: translateY(0);
}
.btn-pagar-pix:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Responsivo config */
@media (max-width: 768px) {
  .assinatura-body { flex-direction: column; align-items: flex-start; }
  .assinatura-info { gap: 20px; }
  .btn-pagar-pix { width: 100%; justify-content: center; }
  .config-card-header { padding: 14px 16px; }
  .config-card-body { padding: 14px 16px; }
}


.modal-pix-box {
  background: linear-gradient(160deg, #0f2540 0%, #1a3a5c 60%, #0d3b6e 100%);
  border-radius: 20px;
  width: 420px;
  max-width: 96vw;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  animation: pixSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pixSlideIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Cabeçalho */
.pix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pix-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pix-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #32d583, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(50, 213, 131, 0.35);
}
.pix-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.pix-subtitulo {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pix-fechar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.pix-fechar:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Valor */
.pix-valor-container {
  text-align: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pix-label-valor {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.pix-valor {
  font-size: 38px;
  font-weight: 800;
  color: #32d583;
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 0 24px rgba(50,213,131,0.3);
}
.pix-badge-seguro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: rgba(50, 213, 131, 0.1);
  border: 1px solid rgba(50, 213, 131, 0.25);
  color: #6ee7b7;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* QR Code */
.pix-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px 12px;
}
.pix-qr-ring {
  position: relative;
  padding: 6px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(50,213,131,0.4),
    0 0 24px rgba(50,213,131,0.2),
    0 8px 32px rgba(0,0,0,0.4);
  animation: pixQrGlow 2.5s ease-in-out infinite alternate;
}
@keyframes pixQrGlow {
  from { box-shadow: 0 0 0 3px rgba(50,213,131,0.3), 0 0 20px rgba(50,213,131,0.15), 0 8px 32px rgba(0,0,0,0.4); }
  to   { box-shadow: 0 0 0 4px rgba(50,213,131,0.6), 0 0 36px rgba(50,213,131,0.35), 0 8px 32px rgba(0,0,0,0.4); }
}
.pix-qr-img {
  width: 190px;
  height: 190px;
  display: block;
  border-radius: 12px;
}
.pix-qr-instrucao {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* Separador */
.pix-separador {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  margin: 4px 0;
}
.pix-separador::before,
.pix-separador::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.pix-separador span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  letter-spacing: 0.4px;
}

/* Copia e Cola */
.pix-copiacola-wrap {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
}
.pix-input-copia {
  flex: 1;
  padding: 10px 14px;
  font-size: 11px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.8);
  outline: none;
  font-family: 'Courier New', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pix-input-copia::placeholder {
  color: rgba(255,255,255,0.25);
}
.pix-btn-copiar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #32d583, #059669);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(50,213,131,0.3);
}
.pix-btn-copiar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(50,213,131,0.45);
  background: linear-gradient(135deg, #4ade80, #16a34a);
}
.pix-btn-copiar:active {
  transform: translateY(0);
}
.pix-btn-copiar.copiado {
  background: linear-gradient(135deg, #6ee7b7, #059669);
}

/* Rodapé */
.pix-rodape {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  padding: 8px 24px 20px;
  line-height: 1.5;
}

/* ════════════════════════════════════════
   RESPONSIVIDADE (MOBILE & TABLET)
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Layout Base */
  .app-body {
    flex-direction: column;
  }
  
  /* Menu Lateral */
  .nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid #dde1e7;
    padding: 12px 16px;
    gap: 8px;
    justify-content: center;
  }
  .nav-btn {
    padding: 8px 12px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .nav-btn.active {
    border-left: none;
    border-bottom-color: #1a3a5c;
  }
  .btn-sair-nav {
    left: 12px;
    bottom: 12px;
  }

  /* Área Principal */
  .main {
    padding: 20px 16px;
  }
  .aba-topo {
    flex-direction: column;
    align-items: stretch;
  }
  .aba-topo h2 {
    margin-bottom: 8px;
  }
  .btn-primary, .btn-sec {
    width: 100%;
    justify-content: center;
  }

  /* Cards Resumo Dashboard */
  .cards-resumo {
    flex-direction: column;
  }
  .card-num {
    width: 100%;
  }

  /* Grid Minha Conta (Sistema CFG) */
  .cfg-row {
    flex-direction: column;
    gap: 12px;
  }
  .cfg-col-grow, .cfg-col-cnpj, .cfg-col-fixed80, .cfg-col-fixed100 {
    flex: none;
    width: 100%;
  }
  .cfg-input-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  /* Card Assinatura */
  .assinatura-body { 
    flex-direction: column; 
    align-items: flex-start; 
  }
  .btn-pagar-pix { 
    width: 100%; 
    justify-content: center; 
    margin-top: 12px;
  }
  .config-card-header { 
    flex-direction: column;
    align-items: flex-start;
  }

  /* Modais */
  .modal-box {
    width: 95%;
    padding: 20px;
    margin: 20px auto;
  }
  .modal-pix-box {
    width: 95%;
  }
}

/* ════════════════════════════════════════
   TELA DE APRESENTAÇÃO (LANDING PAGE)
   ════════════════════════════════════════ */
.landing-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  background: #0b1322; /* dark mode luxuoso */
  color: #f8fafc;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  z-index: 500;
  font-family: 'Segoe UI', Inter, system-ui, sans-serif;
}

/* Botão voltar nas telas de login/cadastro */
.btn-voltar-landing {
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: color 0.15s;
}
.btn-voltar-landing:hover {
  color: #1a3a5c;
}

/* Navbar */
.landing-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 19, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 14px 32px;
}
.landing-navbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.landing-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}
.landing-logo span {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-landing-login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-landing-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-landing-signup {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s;
}
.btn-landing-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Hero Section (Texto à Esquerda, Vídeo à Direita) */
.landing-hero {
  position: relative;
  padding: 60px 32px 80px;
  overflow: hidden;
  display: block;
  width: 100%;
  flex-shrink: 0;
}
.landing-hero-bg-glow1 {
  position: absolute;
  top: -150px;
  left: 30%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(11,19,34,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.landing-hero-bg-glow2 {
  position: absolute;
  top: 100px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(11,19,34,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.landing-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.landing-hero-content {
  flex: 1 1 50%;
  max-width: 600px;
  text-align: left;
}
.landing-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.landing-badge-hero .badge-tag {
  background: linear-gradient(135deg, #32d583 0%, #059669 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.landing-badge-hero .badge-text {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}
.landing-title {
  font-size: 38px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.landing-title .text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.landing-subtitle {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 100%;
}
.landing-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-landing-cta-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
  transition: all 0.2s;
}
.btn-landing-cta-primary .arrow {
  font-size: 18px;
  transition: transform 0.2s;
}
.btn-landing-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.55);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.btn-landing-cta-primary:hover .arrow {
  transform: translateX(4px);
}
.btn-landing-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-landing-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Lado Direito: Vídeo de Marketing */
.landing-video-column {
  flex: 1 1 50%;
  max-width: 640px;
  width: 100%;
}
.landing-video-container {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.landing-video-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.video-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.video-dot.red { background: #ef4444; }
.video-dot.yellow { background: #f59e0b; }
.video-dot.green { background: #10b981; }
.video-title {
  margin-left: 12px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}
.landing-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  width: 100%;
  background: #000;
}
.landing-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.landing-video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

/* Features Bento Grid */
.landing-features-section {
  padding: 60px 32px 100px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.landing-section-header {
  text-align: center;
  margin-bottom: 54px;
}
.landing-section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.landing-section-header p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}
.landing-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.bento-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.bento-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}
.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 12px;
}
.bento-card p {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Pricing Section */
.landing-pricing-section {
  padding: 40px 32px 120px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
.pricing-card {
  position: relative;
  background: linear-gradient(145deg, #111c30 0%, #0d1627 100%);
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 24px;
  padding: 54px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 4px rgba(37, 99, 235, 0.1);
  overflow: hidden;
}
.pricing-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(11,19,34,0) 70%);
  pointer-events: none;
}
.pricing-content {
  position: relative;
  z-index: 2;
}
.pricing-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.pricing-card h2 {
  font-size: 32px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.pricing-desc {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 36px;
}
.pricing-value .currency { font-size: 24px; font-weight: 600; color: #32d583; }
.pricing-value .amount { font-size: 58px; font-weight: 800; color: #32d583; line-height: 1; letter-spacing: -2px; }
.pricing-value .period { font-size: 16px; color: #94a3b8; font-weight: 500; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 420px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-features li {
  font-size: 15px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-pricing-cta {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 16px 42px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  transition: all 0.2s;
  width: 100%;
  max-width: 360px;
  margin-bottom: 20px;
}
.btn-pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}
.pricing-footer-note {
  display: block;
  font-size: 12px;
  color: #64748b;
}

/* Footer */
.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 32px;
  background: #080e1a;
  margin-top: auto;
}
.landing-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.footer-logo img { width: 28px; height: 28px; border-radius: 6px; }
.footer-logo span { font-size: 18px; font-weight: 800; color: #f8fafc; }
.footer-copy { font-size: 13px; color: #64748b; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: #2563eb; }

/* Responsividade Landing Page */
@media (max-width: 1024px) {
  .landing-hero-container { flex-direction: column; text-align: center; gap: 40px; }
  .landing-hero-content { max-width: 100%; text-align: center; }
  .landing-cta-group { justify-content: center; }
  .landing-video-column { max-width: 100%; }
}
@media (max-width: 768px) {
  .landing-navbar { padding: 12px 20px; }
  .landing-logo span { font-size: 18px; }
  .btn-landing-login { padding: 6px 12px; font-size: 12px; }
  .btn-landing-signup { padding: 7px 16px; font-size: 12px; }
  .landing-hero { padding: 60px 20px 40px; }
  .landing-title { font-size: 32px; }
  .landing-subtitle { font-size: 16px; }
  .btn-landing-cta-primary, .btn-landing-cta-secondary { width: 100%; justify-content: center; }
  .landing-bento-grid { grid-template-columns: 1fr; }
  .bento-card { padding: 24px; }
  .pricing-card { padding: 32px 20px; }
  .pricing-value .amount { font-size: 48px; }
  .landing-footer-inner { flex-direction: column; align-items: flex-start; }
}
/* ── Premium Confirm Modal ── */
.premium-confirm-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  width: 400px;
  max-width: 90vw;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,1);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.premium-confirm-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25);
}

.premium-confirm-icon svg {
  width: 32px;
  height: 32px;
}

.premium-confirm-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.premium-confirm-msg {
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 500;
}

.premium-confirm-actions {
  display: flex;
  gap: 16px;
  width: 100%;
}

.premium-confirm-actions button {
  flex: 1;
  padding: 14px 0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-premium-cancel {
  background: #f1f5f9;
  color: #475569;
  box-shadow: inset 0 0 0 1px #cbd5e1;
}
.btn-premium-cancel:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-premium-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}
.btn-premium-danger:hover {
  background: linear-gradient(135deg, #f87171, #ef4444);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}
.btn-premium-danger:active {
  transform: translateY(0);
}
