/* ==============================================
   ARQUIVO: calculadora/assets/css/calculadora.css
   Ajustes da Calculadora sobre o style.css do Organizador:
   sem menu lateral, marca no topo e blocos do PLUS.
   ============================================== */

body { display: block; }
.main-wrapper { margin-left: 0; }
.content { max-width: 1100px; }
/* Mesmo degradê da faixa do topo da página de vendas do Manual
   (manual-excursao-lucrativa/landing). */
.topbar {
  padding: 0 max(16px, calc((100% - 1100px) / 2 + 28px));
  background: linear-gradient(90deg, #004A87, #0061B0 50%, #004A87);
  border-bottom: none;
}

/* ── Marca no topo ─────────────────────────────────────────────── */
.calc-brand { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.calc-logo { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.3px; white-space: nowrap; }
.calc-logo .brand-arrow { color: #FFCB05; }
.calc-nome { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc-topo-plus { text-decoration: none; white-space: nowrap; }
.topbar .calc-topo-plus { background: #FFCB05; border-color: #FFCB05; color: var(--dark); }
.topbar .calc-topo-plus:hover { background: #F2B807; border-color: #F2B807; }

/* ── Faixa curta do PLUS ───────────────────────────────────────── */
.plus-faixa {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 28px; padding: 16px 20px;
  background: #EEF4FB; border: 1px solid #C9DCF2; border-radius: var(--radius);
  color: var(--dark); text-decoration: none; font-size: 14px;
}
.plus-faixa:hover { border-color: var(--blue); }
.plus-faixa-cta { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* ── Bloco completo do PLUS (fim da análise) ───────────────────── */
.plus-banner {
  margin-top: 32px; padding: 32px 28px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.plus-banner-tag { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.plus-banner-tag span { color: var(--gold); }
.plus-banner h2 { font-size: 26px; line-height: 1.2; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.plus-banner p { font-size: 16px; opacity: .92; margin-bottom: 18px; max-width: 680px; }
.plus-banner ul { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; font-size: 15px; }
.plus-banner-btn {
  display: inline-block; padding: 15px 28px;
  background: var(--gold); color: var(--dark);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 16px;
  text-decoration: none; transition: transform .1s, box-shadow .15s;
}
.plus-banner-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.plus-banner-nota { margin-top: 12px; font-size: 13px; opacity: .8; }

/* ── Rodapé ────────────────────────────────────────────────────── */
.calc-rodape {
  max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 28px 28px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--gray);
}
.calc-rodape a { color: var(--blue); font-weight: 600; }

/* ── Celular ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .calc-nome { display: none; }
  .content { padding-bottom: 32px; }
  .plus-faixa { flex-direction: column; align-items: flex-start; }
  .plus-banner { padding: 24px 18px; }
  .plus-banner h2 { font-size: 22px; }
  .plus-banner p, .plus-banner ul { font-size: 15px; }
  .plus-banner-btn { display: block; text-align: center; }
  .calc-rodape { padding: 0 16px 24px; flex-direction: column; }

  /* Tabela de custos cabe na tela: sem a categoria, editar e excluir
     ficam visíveis sem arrastar a tabela para o lado. */
  .planner-card { padding: 18px 14px; }
  .table-wrapper table.tabela-custos { min-width: 0; width: 100%; }
  .table-wrapper .tabela-custos th:nth-child(2),
  .table-wrapper .tabela-custos td:nth-child(2) { display: none; }
  .table-wrapper .tabela-custos th,
  .table-wrapper .tabela-custos td { padding: 10px 6px; font-size: 13px; }
  .table-wrapper .tabela-custos th:first-child,
  .table-wrapper .tabela-custos td:first-child {
    position: static; min-width: 0; max-width: none; box-shadow: none; white-space: normal;
  }
  .tabela-custos .td-actions .btn { padding: 4px 6px; }
}
