﻿/* =========================================================
   RESET E BASE
========================================================= */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f3f4f6;
  margin: 0;
  padding-bottom: 70px;
}

/* =========================================================
   TOPO / TOPBAR / LOGO
========================================================= */
.topbar {
  background: white;
  padding: 10px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #4f46e5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* =========================================================
   CONTAINERS E SEÇÕES PRINCIPAIS
========================================================= */
.container {
  padding: 16px 20px;
  max-width: 1100px;
  margin: auto;
}

#menu-principal h1,
#menu-principal h2 {
  font-size: 20px;
  margin: 0 0 4px;
}

#menu-principal p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 14px;
}

/* =========================================================
   GRIDS E CARDS DE FERRAMENTAS
========================================================= */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.tool-card {
  background: white;
  padding: 14px 12px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.tool-icon {
  font-size: 22px;
  margin-bottom: 5px;
}

.tool-card h3 {
  font-size: 13px;
  margin: 0 0 2px;
}

.tool-card p {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
}

/* =========================================================
   CABEÇALHOS DE SEÇÕES
========================================================= */
.unificador-header,
.sec-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.unificador-header h2,
.sec-header-info h2 {
  font-size: 16px;
  margin: 0 0 2px;
  font-weight: 700;
  color: #111827;
}

.unificador-header p,
.sec-header-info p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

/* =========================================================
   BOTOES
========================================================= */
.btn,
.btn-voltar {
  cursor: pointer;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border-radius: 7px;
  white-space: nowrap;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}

.btn {
  padding: 8px 14px;
  border: none;
  font-size: 12px;
}

.btn-voltar {
  background: #f5f3ff;
  border: 1.5px solid #c4b5fd;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 12px;
  color: #4f46e5;
}

.btn-voltar:hover {
  background: #ede9fe;
  border-color: #7c3aed;
  color: #7c3aed;
  transform: translateX(-2px);
}

.btn.primary {
  background: #4f46e5;
  color: white;
}

.btn.generate {
  background: #10b981;
  color: white;
  font-weight: 700;
}

.btn.danger {
  background: #ef4444;
  color: white;
}

.btn.atalho {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: none;
  transform: none;
  box-shadow: none;
}

/* =========================================================
   DROP ZONE E INPUTS
========================================================= */
.drop-zone {
  border: 2px dashed #cbd5e1;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background: linear-gradient(135deg, #fafbff, #f5f3ff);
  margin-top: 10px;
  transition: all 0.2s;
}

.drop-zone.drag-over {
  border-color: #4f46e5;
  background: #f0f0ff;
}

.drop-zone h3 {
  font-size: 14px;
  margin: 0 0 3px;
  color: #4f46e5;
}

.drop-zone p {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

.file-name-box {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
}

.file-name-box label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.file-name-box input[type="text"],
.file-name-box input[type="number"] {
  width: 100%;
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-size: 13px;
}

.file-name-box-inline {
  margin-top: 14px;
}

.field-hint {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

/* Radios customizados */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.15s;
  border: 1px solid transparent;
}

.radio-group label:hover {
  background: #f5f3ff;
  border-color: #c4b5fd;
}

.radio-group label.disabled {
  cursor: not-allowed;
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.radio-group label.disabled:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.radio-group label.disabled input[type="radio"] {
  cursor: not-allowed;
}

.option-note {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.radio-group input[type="radio"]:checked + *,
.radio-group label:has(input:checked) {
  background: #f5f3ff;
  border-color: #4f46e5;
  color: #4f46e5;
  font-weight: 600;
}

/* =========================================================
   MINIATURAS / GALERIAS / PASTAS
========================================================= */
.gallery,
.pastas-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.thumb-card,
.pasta-thumb-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  width: 110px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.thumb-card:hover,
.pasta-thumb-card:hover {
  border-color: #4f46e5;
  box-shadow: 0 3px 12px rgba(79,70,229,0.15);
}

.thumb-card canvas,
.pasta-thumb-card canvas {
  border-radius: 5px;
  width: 94px;
  height: 120px;
  object-fit: contain;
  object-position: center top;
  background: #f3f4f6;
}

/* =========================================================
   PAINÉIS DE RESULTADO
========================================================= */
.resultado-painel {
  margin-top: 14px;
  background: linear-gradient(135deg, #fafffe, #f0fdf4);
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
}

.resultado-label {
  font-weight: 700;
  font-size: 14px;
  color: #059669;
}

.compactar-resumo {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  border: 1px solid #dbe7f3;
}

.resumo-total {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.resumo-linha {
  margin-top: 8px;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   MODAIS / OVERLAYS
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  padding: 18px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box {
  width: min(1120px, 98vw);
  background: white;
  border-radius: 24px;
  max-width: 98vw;
  max-height: 92vh;
  overflow-y: auto;
  padding: 20px 20px 24px;
  min-width: 280px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  position: sticky;
  top: 0;
  z-index: 3;
  padding-bottom: 12px;
  background: inherit;
}

.modal-header h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.btn-fechar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #dbe5f0;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
}

.modal-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  width: 100%;
}

.modal-pages-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #f1f6fc);
  border: 1px solid #dbe5f0;
}

.modal-pages-info {
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.modal-pages-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-page-item {
  width: 100%;
  max-width: 980px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #dbe5f0;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.modal-page-item-sortable {
  cursor: grab;
}

.modal-page-item-sortable:active {
  cursor: grabbing;
}

.modal-page-item-dragging {
  opacity: 0.45;
  transform: scale(0.99);
}

.modal-page-item-drop-target {
  border-color: #60a5fa;
  box-shadow:
    0 20px 36px rgba(37, 99, 235, 0.12),
    inset 0 0 0 2px rgba(96, 165, 250, 0.28);
}

.modal-page-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.modal-page-order {
  min-width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.modal-page-label {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-page-drag-hint {
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d7e8fb;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.modal-page-item canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe5f0;
}

.modal-page-chip {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d7e8fb;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .modal-box {
    width: min(100vw, 100vw);
    max-width: 100vw;
    min-width: 0;
    border-radius: 18px;
    padding: 16px 14px 18px;
  }

  .modal-pages-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-page-head {
    flex-wrap: wrap;
  }

  .modal-page-drag-hint {
    margin-left: 0;
  }

  .modal-page-item {
    padding: 14px;
    border-radius: 18px;
  }
}

/* =========================================================
   FIXED BAR / TOAST
========================================================= */
.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-top: 1.5px solid #e5e7eb;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
  flex-wrap: wrap;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.07);
}

#toast-loading {
  position: fixed;
  bottom: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e1b4b;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
  white-space: normal;
  max-width: min(520px, calc(100vw - 24px));
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

#toast-loading.visivel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#toast-loading.sucesso {
  background: #065f46;
}

#toast-loading.aviso {
  background: #92400e;
}

#toast-loading.erro {
  background: #991b1b;
}

#toast-loading.interativo {
  pointer-events: auto;
}

.toast-icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.toast-action-btn {
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.toast-action-btn:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}

.toast-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */
@media (max-width: 600px) {
  .container { padding: 8px 10px; }
  .tools-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .tool-card { padding: 10px 8px; }
  .fixed-bar { padding: 6px 10px; gap: 6px; }
  .btn { padding: 6px 10px; font-size: 11px; }
  .drop-zone { padding: 14px 10px; }
  .thumb-card { width: 88px; }
  .thumb-card canvas { width: 72px; height: 92px; }
  .bar-info { display: none; }
  .sec-header { gap: 8px; padding: 10px 12px; }
  .sec-atalhos { width: 100%; }
}

@media (max-width: 900px) {
  .container { padding: 12px 14px; }
  .tools-grid { grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); }
}

/* =========================================================
   MENU PRINCIPAL APRIMORADO
========================================================= */
.menu-hero {
  background: linear-gradient(135deg, #111827, #312e81);
  color: white;
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 18px;
  box-shadow: 0 18px 40px rgba(17,24,39,0.18);
}

.menu-hero-text p {
  color: rgba(255,255,255,0.82) !important;
  margin-bottom: 0 !important;
}

.menu-hero h1 span {
  color: #c4b5fd;
}

.tools-grid-menu {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.tools-grid-menu .tool-card {
  position: relative;
  min-height: 156px;
  align-items: flex-start;
  padding: 16px;
  gap: 12px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.tools-grid-menu .tool-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 14px 32px rgba(79,70,229,0.12);
}

.tool-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.tool-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tools-grid-menu .tool-card h3 {
  font-size: 15px;
  color: #111827;
  margin: 0;
}

.tools-grid-menu .tool-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

.tool-card-arrow {
  margin-top: auto;
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 800;
}

.tool-card.soon {
  cursor: default;
  background: linear-gradient(180deg, #ffffff, #fafafc);
  border-style: dashed;
}

.tool-card.soon:hover {
  transform: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border-color: #e5e7eb;
}

.tool-card.soon .tool-card-body {
  padding-right: 70px;
}

.tool-card.soon .tool-card-arrow {
  display: none;
}

.soon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
}

.tool-card-badge.new {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
}

.tool-card-spotlight {
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.34), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: #dbe7f3;
}

.tool-card-spotlight:hover {
  border-color: #a5b4fc;
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.16) !important;
}

@media (max-width: 600px) {
  .menu-hero {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .tools-grid-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid-menu .tool-card {
    min-height: 170px;
    padding: 14px;
  }

  .tool-card.soon .tool-card-body {
    padding-right: 0;
  }

  .soon-badge {
    position: static;
    margin-top: auto;
  }
}


/* =========================================================
   AJUSTES VISUAIS - BOTOES, MINIATURAS E PROGRESSO
========================================================= */
.btn,
.btn-voltar {
  border-radius: 12px;
  min-height: 40px;
}

.btn {
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: .01em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.btn.primary {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
}

.btn.generate {
  background: linear-gradient(135deg, #10b981, #059669);
}

.btn.danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn.atalho {
  background: #ffffff;
  color: #334155;
  border: 1px solid #dbe3ef;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

.drop-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.file-name-box-juntar {
  margin-top: 14px;
}

.file-name-box-juntar input {
  font-size: 13px;
  border-radius: 10px;
  border-color: #d7deea;
  min-height: 42px;
}

.thumb-card,
.pasta-thumb-card {
  width: 152px;
  padding: 10px;
  border-radius: 18px;
  gap: 8px;
  border: 1px solid #dbe3ef;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  align-items: stretch;
}

.thumb-card:hover,
.pasta-thumb-card:hover {
  transform: translateY(-3px);
  border-color: #818cf8;
  box-shadow: 0 16px 28px rgba(79,70,229,0.16);
}

.thumb-card canvas,
.pasta-thumb-card canvas {
  width: 100%;
  height: 172px;
  border-radius: 14px;
  border: 1px solid #e7ecf3;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  object-fit: contain;
  object-position: center top;
  padding: 4px;
  box-sizing: border-box;
}

.thumb-nome,
.pasta-thumb-nome {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  word-break: break-word;
  min-height: 34px;
}

.thumb-paginas,
.pasta-thumb-info {
  font-size: 11px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 999px;
  padding: 5px 9px;
  align-self: flex-start;
}

.progress-card {
  margin-top: 14px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #0f172a;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e8eef7;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #10b981);
  transition: width .22s ease;
}

.progress-subtext {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}

.fixed-bar {
  padding: 10px 20px;
}

.bar-info {
  min-width: 220px;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .thumb-card,
  .pasta-thumb-card {
    width: 132px;
  }

  .thumb-card canvas,
  .pasta-thumb-card canvas {
    height: 152px;
  }

  .fixed-bar {
    justify-content: center;
  }
}


/* ===== Ajustes profissionais pedidos ===== */
.progress-card-static {
  display: block;
  margin-top: 14px;
  margin-bottom: 14px;
}

.progress-card-static .progress-fill {
  width: 0%;
}

.thumb-card,
.pasta-thumb-card {
  position: relative;
}

.thumb-remover,
.pasta-thumb-remover {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(6px);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  z-index: 3;
}

.thumb-remover:hover,
.pasta-thumb-remover:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  transform: scale(1.08);
  box-shadow: 0 14px 24px rgba(220, 38, 38, 0.28);
}

.thumb-remover:active,
.pasta-thumb-remover:active {
  transform: scale(.96);
}

.thumb-order-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 36px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(207, 224, 245, 0.96);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.thumb-card-sortable {
  cursor: grab;
  user-select: none;
}

.thumb-card-sortable canvas,
.thumb-card-sortable .thumb-nome,
.thumb-card-sortable .thumb-paginas {
  pointer-events: none;
}

.thumb-card-sortable:active {
  cursor: grabbing;
}

.thumb-card-dragging {
  opacity: 0.35;
  transform: scale(0.98);
}

.thumb-card-drop-target {
  border-color: #38bdf8 !important;
  box-shadow:
    0 18px 28px rgba(14, 165, 233, 0.16),
    inset 0 0 0 2px rgba(56, 189, 248, 0.22) !important;
}

.thumb-card-drop-target::after {
  content: "Solte aqui";
  position: absolute;
  inset: auto 12px 12px 12px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.12);
  border: 1px dashed rgba(14, 165, 233, 0.35);
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.thumb-move-controls {
  display: none;
}

.pasta-thumb-icon {
  width: 100%;
  min-height: 172px;
  border-radius: 14px;
  border: 1px solid #e7ecf3;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.pasta-thumb-qtd {
  font-size: 11px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 999px;
  padding: 5px 9px;
  align-self: flex-start;
}

@media (max-width: 640px) {
  .thumb-remover,
  .pasta-thumb-remover {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
  }
}


/* ===== Ajustes finais pedidos ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-shortcuts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sec-header .sec-atalhos {
  display: none !important;
}

.fixed-bar {
  justify-content: flex-start;
}

.fixed-bar .btn.generate,
.fixed-bar .btn.danger {
  order: 1;
}

.fixed-bar .bar-info {
  order: 2;
  margin-left: auto;
  text-align: right;
}

@media (max-width: 768px) {
  .topbar {
    justify-content: center;
  }

  .topbar-shortcuts {
    width: 100%;
    justify-content: center;
  }

  .fixed-bar {
    justify-content: flex-start;
  }

  .fixed-bar .bar-info {
    width: 100%;
    margin-left: 0;
    text-align: left;
    order: 3;
  }
}


/* =========================================================
   AJUSTE PEDIDO: BOTOES DA BARRA NA DIREITA + IR PARA CENTRALIZADO
========================================================= */
.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-shortcuts {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: max-content;
  max-width: calc(100% - 260px);
}

.fixed-bar {
  justify-content: flex-end;
}

.fixed-bar .bar-info {
  order: 1;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.fixed-bar .btn.generate,
.fixed-bar .btn.danger {
  order: 2;
}

@media (max-width: 1100px) {
  .topbar {
    flex-direction: column;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .topbar-shortcuts {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .resultado-summary,
  .process-result-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .fixed-bar {
    justify-content: flex-end;
  }

  .fixed-bar .bar-info {
    width: 100%;
    order: 3;
    margin-right: 0;
    text-align: left;
  }
}

/* =========================================================
   REFINO VISUAL PROFISSIONAL
========================================================= */
:root {
  --page-bg: #edf3f9;
  --page-bg-soft: #f8fbff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-border: #d8e3ef;
  --surface-border-strong: #c4d2e3;
  --text-strong: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --brand: #1d4ed8;
  --brand-soft: #eff6ff;
  --success-soft: #ecfdf5;
  --shadow-soft: 0 14px 32px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 22px 55px rgba(15, 23, 42, 0.12);
}

body {
  color: var(--text-body);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, var(--page-bg) 56%, #e9f0f7 100%);
  padding-bottom: 128px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  padding: 28px 24px 132px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 14px 28px;
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 210, 227, 0.8);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.logo {
  gap: 12px;
  color: var(--text-strong);
}

.logo span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.logo span::after {
  content: "Gestao profissional de documentos";
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logo b {
  color: var(--brand);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #3730a3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 22px rgba(29, 78, 216, 0.28);
  font-size: 17px;
}

.topbar-shortcuts {
  position: static;
  left: auto;
  transform: none;
  width: auto;
  max-width: none;
  margin-left: auto;
  padding: 6px;
  border: 1px solid rgba(196, 210, 227, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sec-atalho-label {
  padding: 0 8px 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.menu-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 40px;
  margin-bottom: 22px;
  border: 1px solid rgba(116, 149, 179, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 18%, rgba(125, 211, 252, 0.18), transparent 22%),
    radial-gradient(circle at 16% 18%, rgba(147, 197, 253, 0.18), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #13253f 46%, #1e3a8a 100%);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.18);
}

.menu-hero::before {
  content: "";
  position: absolute;
  right: -72px;
  top: -72px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
}

.menu-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.menu-hero-text {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.menu-hero-text::before {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(191, 219, 254, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.menu-hero h1 span {
  color: #bfdbfe;
}

.menu-hero-text p {
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78) !important;
}

.tools-grid-menu {
  gap: 18px;
}

.tools-grid-menu .tool-card {
  min-height: 184px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.94));
  box-shadow: var(--shadow-soft);
}

.tools-grid-menu .tool-card.active {
  border-color: #cbd8e6;
}

.tools-grid-menu .tool-card.active:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 20px 40px rgba(29, 78, 216, 0.12);
}

.tool-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 24px rgba(15, 23, 42, 0.14);
}

.tool-card-body {
  gap: 8px;
}

.tools-grid-menu .tool-card h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.tools-grid-menu .tool-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.tool-card-arrow {
  width: 34px;
  height: 34px;
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.08);
}

.tool-card.soon {
  border-color: #dde5ef;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 249, 252, 0.94));
}

.tool-card.soon .tool-card-body {
  opacity: 0.92;
}

.soon-badge {
  padding: 6px 10px;
  background: rgba(255, 247, 237, 0.96);
  border-color: #fdba74;
  color: #9a3412;
  box-shadow: 0 8px 14px rgba(249, 115, 22, 0.08);
}

.unificador-header,
.sec-header,
.drop-zone,
.file-name-box,
.progress-card,
.resultado-painel,
.modal-box,
.thumb-info-box {
  background: var(--surface);
  border: 1px solid rgba(216, 227, 239, 0.96);
  box-shadow: var(--shadow-soft);
}

.unificador-header,
.sec-header {
  padding: 18px 20px;
  border-radius: 20px;
}

.unificador-header h2,
.sec-header-info h2 {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.unificador-header p,
.sec-header-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.drop-zone {
  padding: 30px 26px;
  border-width: 1.5px;
  border-style: dashed;
  border-color: var(--surface-border-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(219, 234, 254, 0.55), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
}

.drop-zone.drag-over {
  border-color: #60a5fa;
  background:
    radial-gradient(circle at top, rgba(191, 219, 254, 0.72), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 246, 255, 0.98));
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.12);
}

.drop-zone h3 {
  font-size: 20px;
  color: var(--text-strong);
  letter-spacing: -0.03em;
}

.drop-zone p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.file-name-box {
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
}

.file-name-box label {
  font-size: 13px;
  color: var(--text-strong);
}

.file-name-box input[type="text"],
.file-name-box input[type="number"],
.file-name-box input[type="password"],
.file-name-box input[type="url"],
.file-name-box select,
.file-name-box textarea {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border-color: #d1d9e6;
  background: #f8fafc;
}

.file-name-box textarea {
  min-height: 88px;
  resize: vertical;
}

.radio-group {
  gap: 10px;
  margin-top: 4px;
}

.radio-group label {
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  background: #f8fafc;
}

.radio-group label:hover {
  background: #ffffff;
  border-color: #bfdbfe;
}

.radio-group input[type="radio"]:checked + *,
.radio-group label:has(input:checked) {
  background: #eff6ff;
  border-color: #60a5fa;
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.16);
}

.progress-card {
  border-radius: 20px;
  padding: 18px 20px;
}

.progress-head {
  font-size: 14px;
}

.progress-track {
  height: 12px;
  background: #e2eaf4;
}

.thumb-card,
.pasta-thumb-card {
  border-color: rgba(216, 227, 239, 0.95);
  background: rgba(255, 255, 255, 0.94);
}

.thumb-card canvas,
.pasta-thumb-card canvas,
.pasta-thumb-icon {
  border-radius: 16px;
}

.resultado-painel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 245, 0.96));
}

.resultado-preview {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #dce6f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

#preview-juntar {
  width: 122px;
  min-width: 122px;
  border-radius: 14px;
  border: 1px solid #dbe5f0;
  background: #f8fafc;
}

.resultado-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resultado-nome {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.resultado-pags {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #cfe0f5;
  color: #1e40af;
  font-size: 12px;
  font-weight: 700;
}

.resultado-label {
  margin: 0 0 8px;
  color: #047857;
  font-size: 15px;
}

.resultado-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resultado-summary,
.process-result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 12px 0 14px;
}

.resultado-summary-item,
.process-result-summary-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.92);
}

.resultado-summary-item span,
.process-result-summary-item span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.resultado-summary-item strong,
.process-result-summary-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 800;
}

.resultado-followup-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(199, 213, 227, 0.9);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(239, 246, 255, 0.96));
}

.resultado-followup-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.resultado-followup-title {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.resultado-followup-text {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.resultado-followup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.resultado-followup-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 104px;
  padding: 15px 16px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.resultado-followup-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.14);
  background: rgba(248, 251, 255, 0.98);
}

.resultado-followup-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 18px 36px rgba(37, 99, 235, 0.14);
}

.resultado-followup-btn-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.resultado-followup-btn-text {
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.process-result-block .resultado-followup-card {
  width: 100%;
  margin-top: 18px;
  text-align: left;
}

#ocr-status:not(:empty),
#compactar-status:not(:empty),
#converter-status:not(:empty),
#wordpdf-status:not(:empty),
#excelpdf-status:not(:empty),
#excelword-status:not(:empty),
#juntarpastas-status:not(:empty) {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
}

.btn,
.btn-voltar {
  min-height: 44px;
  border-radius: 14px;
}

.btn {
  padding: 11px 18px;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.btn.atalho {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: #d7e2ee;
}

.btn:hover {
  filter: none;
}

.fixed-bar {
  left: 50%;
  right: auto;
  bottom: 18px;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: 14px;
  border: 1px solid rgba(216, 227, 239, 0.96);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
}

.bar-info {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dde5ef;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  color: var(--text-body);
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .topbar {
    padding-inline: 18px;
  }

  .topbar-shortcuts {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    border-radius: 18px;
  }

  .menu-hero {
    padding: 34px 30px;
    border-radius: 26px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 170px;
  }

  .container {
    padding: 18px 12px 176px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .logo span {
    font-size: 15px;
  }

  .logo span::after {
    font-size: 10px;
  }

  .topbar-shortcuts {
    padding: 8px;
    gap: 8px;
  }

  .sec-atalho-label {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .menu-hero {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .menu-hero h1 {
    font-size: 2.4rem;
  }

  .menu-hero-text::before {
    margin-bottom: 12px;
    padding: 7px 12px;
  }

  .tools-grid-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tools-grid-menu .tool-card {
    min-height: 176px;
    padding: 16px;
    border-radius: 18px;
  }

  .drop-zone,
  .file-name-box,
  .progress-card,
  .resultado-painel,
  .unificador-header,
  .sec-header {
    border-radius: 18px;
  }

  .drop-zone {
    padding: 22px 16px;
  }

  .drop-zone h3 {
    font-size: 17px;
  }

  .resultado-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  #preview-juntar {
    width: min(100%, 160px);
    min-width: 0;
  }

  .fixed-bar {
    bottom: 10px;
    width: calc(100% - 16px);
    padding: 12px;
    border-radius: 20px;
  }

  .fixed-bar .btn {
    flex: 1 1 calc(50% - 6px);
  }

  .fixed-bar .bar-info {
    width: 100%;
    order: 3;
    margin-right: 0;
  }
}

#unificador.process-mode,
#dividir-pdf.process-mode,
#compactar-section.process-mode {
  min-height: calc(100vh - 240px);
}

#unificador.process-mode > :not(.sec-header):not(#juntar-processo),
#dividir-pdf.process-mode > :not(.sec-header):not(#dividir-processo),
#compactar-section.process-mode > :not(.sec-header):not(#compactar-processo) {
  display: none !important;
}

.process-screen {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 320px);
  padding: 28px 0 18px;
}

.process-screen-card {
  position: relative;
  overflow: hidden;
  width: min(560px, 100%);
  padding: 38px 32px 34px;
  border-radius: 32px;
  border: 1px solid rgba(191, 219, 254, 0.42);
  background:
    radial-gradient(circle at 50% -10%, rgba(125, 211, 252, 0.55), transparent 42%),
    radial-gradient(circle at right top, rgba(191, 219, 254, 0.36), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(242, 248, 253, 0.97));
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.process-screen-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 34%, rgba(191, 219, 254, 0.52) 35%, rgba(96, 165, 250, 0.12) 62%, transparent 64%);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.16);
  pointer-events: none;
}

.process-back-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(207, 224, 245, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.process-back-btn:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 14px 22px rgba(29, 78, 216, 0.12);
}

.process-screen-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.process-progress-block,
.process-result-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 58px;
}

.process-result-block {
  gap: 14px;
}

.process-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: rgba(239, 246, 255, 0.95);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(59, 130, 246, 0.10);
}

.process-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.process-subtitle {
  max-width: 42ch;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.progress-head-centered {
  width: 100%;
  max-width: 420px;
  margin-top: 28px;
}

.process-screen .progress-track {
  width: 100%;
  max-width: 420px;
  margin-top: 10px;
  height: 14px;
  padding: 2px;
  background: linear-gradient(180deg, #dfe9f5, #edf3fa);
  box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.18);
}

.process-screen .progress-fill {
  position: relative;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #38bdf8 55%, #0ea5e9);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
  transition: width .6s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-screen .progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  animation: processShine 1.8s linear infinite;
}

.process-screen .btn.generate {
  min-width: 220px;
  min-height: 48px;
  font-size: 13px;
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.22);
}

@keyframes processShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .process-screen {
    min-height: calc(100vh - 250px);
    padding: 18px 0 10px;
  }

  .process-screen-card {
    width: 100%;
    padding: 28px 18px 24px;
    border-radius: 22px;
  }

  .process-back-btn {
    top: 14px;
    left: 14px;
  }

  .process-screen-card::before {
    width: 74px;
    height: 74px;
    top: 18px;
  }

  .process-title {
    font-size: 1.65rem;
  }

  .process-subtitle {
    font-size: 13px;
  }

  .process-screen .btn.generate {
    width: 100%;
    min-width: 0;
  }
}

.pastas-adicionar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-compactado {
  background: linear-gradient(135deg, #0f766e, #0ea5a4) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.22);
}

.btn-compactado:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.pastas-adicionar-hint {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

#pastas-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pasta-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid #dbe5f0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.pasta-card.expandida {
  border-color: #bfdbfe;
  box-shadow: 0 22px 42px rgba(37, 99, 235, 0.10);
}

.pasta-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pasta-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8f0ff, #f8fbff);
  border: 1px solid #d6e4fb;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.pasta-card-info {
  flex: 1;
  min-width: 0;
}

.pasta-nome {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.pasta-qtd {
  margin-top: 4px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.pasta-hint {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.pasta-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.pasta-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
  cursor: pointer;
}

.thumb-card-folder-preview {
  width: 108px !important;
  padding: 8px !important;
  border-radius: 16px !important;
}

.thumb-card-folder-preview canvas {
  height: 112px !important;
}

.thumb-card-folder-preview .thumb-nome {
  font-size: 11px;
}

.thumb-card-folder-preview .thumb-paginas {
  font-size: 10px;
}

.pasta-expandida-painel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff, #f2f7fc);
  border: 1px solid #dce7f3;
}

.pasta-expandida-topo {
  margin-bottom: 14px;
}

.pasta-expandida-titulo {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.pasta-expandida-texto {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.pasta-thumbs-expandida-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pasta-thumbs-expandida {
  width: 100%;
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #dbe7f3;
  background: linear-gradient(180deg, #f8fbff, #f1f6fc);
  box-sizing: border-box;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.pasta-thumb-card.expandida {
  width: 100%;
  max-width: none;
}

.thumb-card-pasta-expandida {
  width: 178px !important;
  padding: 12px !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10) !important;
}

.thumb-canvas-pasta-expandida {
  height: 244px !important;
  object-fit: contain !important;
  object-position: center top !important;
  background: linear-gradient(180deg, #ffffff, #f5f9ff) !important;
  padding: 8px !important;
}

.thumb-card-pasta-expandida .thumb-nome {
  font-size: 12px;
  min-height: 36px;
  line-height: 1.45;
}

.thumb-card-pasta-expandida .thumb-paginas {
  font-size: 11px;
  font-weight: 700;
}

.thumb-card-folder {
  width: 118px !important;
  padding: 8px !important;
  border-radius: 18px !important;
}

.thumb-card-folder canvas {
  height: 126px !important;
  object-fit: contain !important;
  object-position: center top !important;
  padding: 4px !important;
}

.thumb-card-folder .thumb-nome {
  font-size: 11px;
}

.thumb-card-folder .thumb-paginas {
  font-size: 10px;
}

.thumb-mais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  min-height: 150px;
  border-radius: 18px;
  border: 1px dashed #cbd9ea;
  background: linear-gradient(180deg, #f8fbff, #eef5fb);
  color: #1e40af;
  font-size: 20px;
  font-weight: 800;
}

#gallery .thumb-card,
#split-gallery .thumb-card,
#compactar-lista .thumb-card,
#ocr-gallery .thumb-card,
#converter-gallery .thumb-card {
  width: 164px;
  padding: 11px;
}

#gallery .thumb-card canvas,
#split-gallery .thumb-card canvas,
#compactar-lista .thumb-card canvas,
#ocr-gallery .thumb-card canvas,
#converter-gallery .thumb-card canvas {
  height: 214px;
}

@media (max-width: 768px) {
  .pasta-card-header {
    flex-direction: column;
  }

  .pasta-card-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .thumb-card-folder-preview,
  .thumb-card-folder,
  .thumb-mais {
    width: 96px !important;
  }

  .thumb-card-pasta-expandida {
    width: 136px !important;
  }

  .thumb-card-folder-preview canvas {
    height: 98px !important;
  }

  .thumb-card-folder canvas {
    height: 108px !important;
  }

  .thumb-canvas-pasta-expandida {
    height: 184px !important;
  }

  #gallery .thumb-card,
  #split-gallery .thumb-card,
  #compactar-lista .thumb-card,
  #ocr-gallery .thumb-card,
  #converter-gallery .thumb-card {
    width: 138px;
    padding: 10px;
  }

  #gallery .thumb-card canvas,
  #split-gallery .thumb-card canvas,
  #compactar-lista .thumb-card canvas,
  #ocr-gallery .thumb-card canvas,
  #converter-gallery .thumb-card canvas {
    height: 182px;
  }

  .thumb-mais {
    min-height: 134px;
    font-size: 17px;
  }
}

.topbar-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
}

.updates-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(196, 210, 227, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,246,252,0.96));
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.updates-toggle:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.updates-toggle.is-read {
  border-color: #dbe5f0;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.updates-toggle-icon {
  font-size: 18px;
  line-height: 1;
}

.updates-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.25);
}

.updates-count.is-zero {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  box-shadow: 0 8px 16px rgba(148, 163, 184, 0.18);
}

.updates-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 24px));
  max-height: 70vh;
  overflow: auto;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(216, 227, 239, 0.98);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(16px);
  z-index: 160;
}

.updates-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.updates-panel-header strong {
  font-size: 16px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.updates-panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d7e8fb;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.update-item {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e3ebf4;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.update-item-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.update-item-text {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.user-toggle {
  min-height: 46px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(196, 210, 227, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,246,252,0.96));
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.user-toggle:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.user-toggle-avatar,
.user-summary-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.user-toggle-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.user-toggle-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.user-toggle-subtitle {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.user-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 62px;
  width: min(460px, calc(100vw - 24px));
  max-height: 74vh;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.58) rgba(226, 232, 240, 0.72);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(216, 227, 239, 0.98);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(16px);
  z-index: 160;
}

.user-panel::-webkit-scrollbar {
  width: 12px;
}

.user-panel::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.72);
  border-radius: 999px;
}

.user-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.95), rgba(37, 99, 235, 0.9));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.user-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(59, 130, 246, 1), rgba(29, 78, 216, 0.95));
}

.user-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.user-panel-header strong {
  display: block;
  font-size: 16px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.user-panel-header p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.user-panel-chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border: 1px solid #d8e5f3;
  color: #33527f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.user-panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.user-auth-shell {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.user-auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9fc, #eef3f8);
  border: 1px solid #d9e4f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.user-auth-tab {
  min-height: 46px;
  padding: 0 16px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #1e293b;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.user-auth-tab.active {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.18);
}

.user-social-auth {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.user-social-btn {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid #d0dae7;
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.user-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.user-social-btn.facebook {
  background: #4267b2;
  border-color: #4267b2;
  color: #fff;
}

.user-social-btn.google {
  border-color: #f87171;
}

.user-social-btn.sso {
  background: #f8fafc;
}

.user-social-icon {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,0.16);
}

.user-social-btn.google .user-social-icon,
.user-social-btn.sso .user-social-icon {
  background: #eef2ff;
  color: #475569;
}

.user-summary {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #dbe7f3;
  background: linear-gradient(180deg, #f8fbff, #f1f6fc);
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-summary-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 16px;
}

.user-summary-body {
  min-width: 0;
}

.user-summary-name {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.user-summary-email,
.user-summary-meta {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

.user-form {
  margin-top: 4px;
}

.user-login-form {
  margin-top: 16px;
}

.user-form-header {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e2ebf5;
  background: linear-gradient(180deg, #fbfdff, #f3f7fc);
}

.user-form-header strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.user-form-header p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.user-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.user-form-grid-single {
  grid-template-columns: 1fr;
}

.user-form-grid.user-form-grid-single .user-field {
  grid-column: 1 / -1;
}

.user-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-field span {
  font-size: 11px;
  font-weight: 700;
  color: #3b4f68;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.user-input-wrap {
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid #cfdae8;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.user-input-wrap:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18), 0 14px 28px rgba(148, 163, 184, 0.12);
  transform: translateY(-1px);
}

.user-input-icon {
  width: 22px;
  color: #5b6f8b;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  text-align: center;
}

.user-field input {
  width: 100%;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  box-shadow: none;
}

.user-field input:focus {
  border: none;
  box-shadow: none;
}

.user-form-actions {
  position: sticky;
  bottom: -18px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.94) 22%, rgba(255,255,255,0.98));
  backdrop-filter: blur(8px);
}

.user-profile-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.user-form-actions .btn {
  width: 100%;
  justify-content: center;
}

.user-form-actions .user-primary-auth-btn {
  grid-column: 1 / -1;
}

.user-primary-auth-btn {
  min-width: 160px;
  min-height: 52px;
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  box-shadow: 0 16px 28px rgba(239, 68, 68, 0.18);
}

.user-panel-note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .user-toggle {
    padding-right: 10px;
  }

  .user-toggle-subtitle {
    max-width: 110px;
  }

  .user-panel {
    right: 0;
    width: min(420px, calc(100vw - 24px));
  }

  .user-social-auth {
    grid-template-columns: 1fr;
  }

  .user-panel-chips {
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .user-toggle {
    width: 46px;
    min-width: 46px;
    padding: 0;
    justify-content: center;
    border-radius: 16px;
  }

  .user-toggle-text {
    display: none;
  }

  .user-panel {
    right: -58px;
    width: min(100vw - 24px, 420px);
    padding: 16px;
  }

  .user-form-grid {
    grid-template-columns: 1fr;
  }

  .user-summary {
    align-items: flex-start;
  }

  .user-auth-switch {
    width: 100%;
  }

  .user-auth-tab {
    flex: 1;
  }

  .user-form-actions {
    grid-template-columns: 1fr;
  }

  .user-form-actions .user-primary-auth-btn {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .topbar-actions {
    margin-left: 0;
  }
}

.premium-banner-section {
  margin-top: 34px;
}

.premium-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(250, 204, 21, 0.18), transparent 30%),
    linear-gradient(135deg, #0f172a, #111827 48%, #1e293b 100%);
  color: #fff;
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.16);
}

.premium-banner::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.premium-banner-copy,
.premium-banner-side {
  position: relative;
  z-index: 1;
}

.premium-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.38);
  color: #fde68a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-banner h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.premium-banner p {
  max-width: 58ch;
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 14px;
  line-height: 1.75;
}

.premium-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.premium-highlights span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}

.premium-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.premium-btn {
  background: linear-gradient(135deg, #f59e0b, #f97316) !important;
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.28);
}

.premium-secondary-btn {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: #fff !important;
}

.premium-plan-card {
  height: 100%;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.premium-plan-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.premium-plan-head strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.premium-plan-head span {
  color: #cbd5e1;
  font-size: 12px;
}

.premium-plan-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.premium-plan-list li {
  position: relative;
  padding-left: 18px;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.6;
}

.premium-plan-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #facc15, #fb7185);
}

.premium-plan-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 30px;
  padding: 32px 32px 24px;
  border-radius: 30px 30px 0 0;
  background: #2a2a33;
  color: #f8fafc;
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column-featured {
  padding-left: 8px;
}

.footer-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.footer-store-btn {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.footer-store-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.08);
}

.footer-store-icon {
  min-width: 38px;
  height: 28px;
  padding: 0 8px;
  border-radius: 9px;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-language,
.footer-copy {
  color: rgba(226, 232, 240, 0.82);
  font-size: 12px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-socials a {
  color: rgba(226, 232, 240, 0.88);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .premium-banner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .premium-banner-section {
    margin-top: 24px;
  }

  .premium-banner {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .premium-banner-actions .btn {
    width: 100%;
  }

  .site-footer {
    margin-top: 22px;
    padding: 24px 18px 18px;
    border-radius: 24px 24px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.file-name-box input[type="password"] {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d1d9e6;
  background: #f8fafc;
}

.tool-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.tool-grid-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tool-note-card {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #d9e2f0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,247,252,0.96));
  color: #475569;
}

.tool-note-card strong,
.tool-note-inline strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

.tool-note-inline {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #d9e2f0;
  color: #475569;
  line-height: 1.55;
}

.upload-mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(243,248,255,0.96));
}

.upload-mini-card-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.upload-mini-card-copy p {
  margin: 0;
  color: #64748b;
}

.sign-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 8px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,246,252,0.96));
}

.sign-mode-btn {
  appearance: none;
  border: 1px solid #d3dce9;
  background: #fff;
  color: #334155;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.sign-mode-btn:hover {
  transform: translateY(-1px);
  border-color: #94a3b8;
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.06);
}

.sign-mode-btn.is-active {
  background: linear-gradient(135deg, #0f766e, #0f766e 30%, #14b8a6);
  border-color: #0f766e;
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}

.sign-icp-grid {
  display: grid;
  gap: 10px;
}

.sign-icp-grid label {
  font-size: 13px;
  color: #0f172a;
}

.sign-icp-grid input[type="text"],
.sign-icp-grid input[type="url"],
.sign-icp-grid select,
.sign-icp-grid textarea {
  min-height: 42px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d9e6;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
}

.sign-icp-grid textarea {
  min-height: 86px;
  resize: vertical;
}

.sign-icp-hash-box {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #f8fafc;
}

.sign-icp-hash-box strong {
  font-size: 14px;
  color: #0f172a;
}

.sign-icp-hash-box code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #0f766e;
}

.sign-icp-label {
  font-size: 12px;
  color: #64748b;
}

.sign-icp-feedback {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.sign-icp-feedback.is-success {
  border-color: #8fd4b0;
  background: #ecfdf3;
  color: #166534;
}

.sign-icp-feedback.is-warning {
  border-color: #f0c47a;
  background: #fff8e7;
  color: #7c4a03;
}

.sign-icp-feedback.is-error {
  border-color: #efb4b4;
  background: #fef2f2;
  color: #7f1d1d;
}

.sign-icp-history {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.sign-icp-history-empty {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.sign-icp-history-item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #ffffff;
}

.sign-icp-history-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #0f172a;
}

.sign-icp-history-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #d8e0ef;
  background: #eff4ff;
  color: #2c4a84;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.sign-icp-history-status.is-aprovado {
  border-color: #8fd4b0;
  background: #e9f9ef;
  color: #166534;
}

.sign-icp-history-status.is-reprovado {
  border-color: #efb4b4;
  background: #fef2f2;
  color: #991b1b;
}

.sign-icp-history-status.is-indeterminado {
  border-color: #f0c47a;
  background: #fff8e7;
  color: #7c4a03;
}

.sign-icp-history-status.is-pending {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.sign-icp-history-meta {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.analysis-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.analysis-stat-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,252,0.96));
  border: 1px solid #d9e2ef;
}

.analysis-stat-label {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 13px;
}

.analysis-stat-card strong {
  font-size: 32px;
  line-height: 1;
  color: #0f172a;
}

.analysis-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.analysis-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,252,0.96));
}

.analysis-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #0f172a;
}

.analysis-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.analysis-list-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.5;
}

.analysis-pre {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #334155;
  word-break: break-word;
}

.analysis-empty {
  margin: 0;
  color: #64748b;
}

.compact-target-helper {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .tool-grid-2,
  .analysis-cards-grid,
  .analysis-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .tool-grid-2,
  .analysis-cards-grid,
  .analysis-stats-grid {
    grid-template-columns: 1fr;
  }

  .upload-mini-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .sign-toolbar {
    padding: 10px;
  }

  .sign-mode-btn {
    width: 100%;
  }
}

.topbar {
  position: relative;
  top: auto;
  display: block;
  overflow: hidden;
  padding: 24px 28px 34px;
  border-bottom: none;
  background: linear-gradient(180deg, #dbe8f4 0%, #f4f8fb 100%);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.10);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("gopdf-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.96;
  transform: scale(1.02);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247,250,252,0.18) 0%, rgba(247,250,252,0.06) 18%, rgba(15,23,42,0.06) 100%),
    radial-gradient(circle at left top, rgba(255,255,255,0.65), transparent 32%);
}

.topbar-shell,
.topbar-cover-copy {
  position: relative;
  z-index: 2;
}

.topbar-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-version {
  display: flex;
  align-items: center;
}

.logo {
  align-items: center;
}

.logo-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background-color: rgba(255,255,255,0.96);
  background-image: url("gopdf-hero.jpg");
  background-repeat: no-repeat;
  background-size: 330px auto;
  background-position: 23% 49%;
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.16);
}

.logo span {
  color: #0f172a;
}

.logo span::after {
  color: rgba(15, 23, 42, 0.68);
}

.app-version-chip {
  background: rgba(255,255,255,0.88);
  border-color: rgba(191, 219, 254, 0.96);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.topbar-shortcuts {
  margin-left: auto;
  background: rgba(255,255,255,0.88);
  border-color: rgba(196, 210, 227, 0.94);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.topbar-cover-copy {
  max-width: 660px;
  margin-top: 34px;
  padding: 0 4px;
}

.topbar-cover-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-cover-copy h1 {
  margin: 16px 0 12px;
  max-width: 15ch;
  color: #0f172a;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.topbar-cover-copy p {
  max-width: 54ch;
  margin: 0;
  color: rgba(15, 23, 42, 0.78);
  font-size: 15px;
  line-height: 1.72;
}

.topbar-cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.app-version-badge {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
}

.app-updated-badge {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(203, 213, 225, 0.96);
  color: #334155;
}

.menu-hero {
  display: none !important;
}

.menu-intro {
  margin-bottom: 18px;
  padding: 0 2px;
}

.menu-intro h1 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

.menu-intro p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .topbar-shell {
    gap: 12px;
  }

  .topbar-shortcuts {
    order: 4;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 18px 18px 26px;
  }

  .topbar-shell {
    align-items: flex-start;
  }

  .topbar-version {
    width: auto;
  }

  .logo-icon {
    width: 52px;
    height: 52px;
    background-size: 290px auto;
  }

  .topbar-cover-copy {
    margin-top: 24px;
  }

  .topbar-cover-copy h1 {
    max-width: none;
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .topbar-cover-copy p {
    font-size: 14px;
  }
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-version {
  display: flex;
  align-items: center;
}

.app-version-chip,
.app-version-badge,
.app-updated-badge,
.updates-panel-version,
.update-item-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.app-version-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(191, 219, 254, 0.86);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.10), rgba(59, 130, 246, 0.16));
  color: #1d4ed8;
  font-size: 11px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#marketing-footer {
  margin-top: auto;
}

.menu-hero {
  min-height: clamp(360px, 42vw, 560px);
  padding: 0;
  border: 1px solid rgba(201, 214, 228, 0.92);
  background: #e8eef5;
}

.menu-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 42%, rgba(15,23,42,0.08) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(15,23,42,0.02));
  z-index: 1;
}

.menu-hero::after {
  inset: 18px;
  border-color: rgba(255, 255, 255, 0.45);
  z-index: 2;
}

.menu-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.menu-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding: 28px;
}

.menu-hero-text {
  max-width: 560px;
  padding: 24px 24px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.72));
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.menu-hero-text::before {
  display: none;
}

.menu-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: rgba(239, 246, 255, 0.96);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-hero h1 {
  margin: 0 0 12px;
  max-width: 14ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #0f172a;
}

.menu-hero-text p {
  max-width: 52ch;
  margin: 0;
  color: rgba(15, 23, 42, 0.78) !important;
  font-size: 14px;
  line-height: 1.75;
}

.menu-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.app-version-badge,
.app-updated-badge {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.app-version-badge {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.app-updated-badge {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(203, 213, 225, 0.96);
  color: #334155;
}

.updates-panel-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.updates-panel-version {
  align-self: flex-start;
  padding: 5px 10px;
  background: #f8fafc;
  border: 1px solid #dbe7f3;
  color: #334155;
  font-size: 10px;
}

.update-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.update-item-version {
  flex-shrink: 0;
  min-height: 26px;
  padding: 0 10px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 10px;
}

.update-item-meta {
  margin-top: 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer {
  margin-top: 30px;
}

.footer-copy {
  max-width: 360px;
  text-align: right;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .topbar-version {
    order: 3;
  }
}

@media (max-width: 768px) {
  .topbar {
    gap: 10px;
  }

  .topbar-version {
    width: 100%;
    order: 3;
  }

  .menu-hero-content {
    padding: 18px;
    align-items: flex-end;
  }

  .menu-hero-text {
    max-width: none;
    width: 100%;
    padding: 20px 18px;
  }

  .menu-hero h1 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .update-item-head {
    flex-direction: column;
  }

  .footer-copy {
    max-width: none;
    text-align: left;
  }
}

/* =========================================================
   REFRESH VISUAL FINAL
========================================================= */
:root {
  --gopdf-navy: #0f2747;
  --gopdf-navy-deep: #0a1a31;
  --gopdf-blue: #2f82c8;
  --gopdf-blue-soft: #dfeefa;
  --gopdf-orange: #ff6122;
  --gopdf-surface: rgba(255, 255, 255, 0.88);
  --gopdf-border: rgba(148, 163, 184, 0.22);
  --gopdf-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

body {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 28%),
    linear-gradient(180deg, #eef4f9 0%, #f8fbfd 48%, #eff4f8 100%);
  color: #0f172a;
}

.container {
  max-width: 1240px;
  padding: 26px 20px 24px;
}

.topbar {
  position: relative;
  top: auto;
  display: block;
  overflow: hidden;
  padding: 28px clamp(20px, 3vw, 36px) 36px;
  border-bottom: none;
  background: linear-gradient(135deg, #edf4fb 0%, #dfeaf6 44%, #f8fbfd 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.38) 36%, rgba(15, 39, 71, 0.12) 100%),
    url("gopdf-hero.jpg") right center / cover no-repeat;
  opacity: 0.95;
  transform: scale(1.02);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left top, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.topbar-shell,
.topbar-cover {
  position: relative;
  z-index: 2;
}

.topbar-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-icon {
  width: 62px;
  height: 62px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(47, 130, 200, 0.18);
  object-fit: contain;
  flex-shrink: 0;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-copy span {
  color: var(--gopdf-navy);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo span::after,
.logo-copy span::after {
  content: none !important;
}

.logo-copy small {
  color: rgba(15, 39, 71, 0.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar-version {
  display: flex;
  align-items: center;
}

.app-version-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.86);
  color: var(--gopdf-navy);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.topbar-shortcuts {
  margin-left: auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.topbar-actions {
  margin-left: auto;
  position: relative;
  z-index: 180;
}

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 170;
}

.overlay-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.overlay-open {
  overflow: hidden;
}

.topbar-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
  margin-top: 28px;
}

.topbar-cover-copy {
  max-width: 700px;
  padding: 6px 2px 2px;
}

.topbar-cover-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(191, 219, 254, 0.96);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topbar-cover-copy h1 {
  margin: 16px 0 14px;
  max-width: 13ch;
  color: var(--gopdf-navy);
  font-size: clamp(2.3rem, 4.4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.topbar-cover-copy p {
  max-width: 58ch;
  margin: 0;
  color: rgba(15, 23, 42, 0.74);
  font-size: 15px;
  line-height: 1.72;
}

.topbar-cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.app-version-badge,
.app-updated-badge {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.app-version-badge {
  background: linear-gradient(135deg, var(--gopdf-navy-deep), var(--gopdf-navy));
  color: #fff;
  box-shadow: 0 16px 26px rgba(15, 39, 71, 0.18);
}

.app-updated-badge {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(203, 213, 225, 0.96);
  color: #334155;
}

.topbar-visual-card {
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(9, 24, 45, 0.96) 0%, rgba(15, 39, 71, 0.94) 60%, rgba(47, 130, 200, 0.92) 100%);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.18);
}

.topbar-visual-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-visual-icon {
  width: 92px;
  height: 92px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
  box-shadow: 0 18px 30px rgba(3, 7, 18, 0.20);
}

.topbar-visual-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topbar-visual-brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.topbar-visual-brand-copy span {
  color: rgba(226, 232, 240, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.topbar-visual-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.topbar-visual-points span,
.footer-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar-visual-points span {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
}

.topbar-visual-note {
  margin: 18px 0 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  line-height: 1.75;
}

.menu-intro {
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(223, 234, 246, 0.96);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.menu-intro h1 {
  margin: 0 0 8px;
  color: var(--gopdf-navy);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
}

.menu-intro p {
  margin: 0;
  max-width: 60ch;
  color: #5b6b80;
  font-size: 14px;
  line-height: 1.7;
}

.tools-grid-menu {
  gap: 18px;
}

.tools-grid-menu .tool-card {
  position: relative;
  padding: 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(223, 234, 246, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 253, 0.86));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.tools-grid-menu .tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 46%);
  pointer-events: none;
}

.tools-grid-menu .tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.tool-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.tool-card-body h3 {
  color: var(--gopdf-navy);
  letter-spacing: -0.02em;
}

.tool-card-body p {
  color: #607084;
  line-height: 1.65;
}

.tool-card-arrow {
  color: var(--gopdf-blue);
}

.tool-card-badge.new {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1px solid rgba(147, 197, 253, 0.68);
}

.tool-card-spotlight {
  border-color: rgba(99, 102, 241, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 255, 0.86));
}

.premium-banner-section {
  margin-top: 10px;
}

.premium-banner {
  border: 1px solid rgba(219, 234, 254, 0.96);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.28), transparent 28%),
    linear-gradient(135deg, #0f2747 0%, #173866 48%, #245ea0 100%);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.premium-banner h2,
.premium-banner p,
.premium-plan-card,
.premium-plan-card strong,
.premium-plan-note,
.premium-plan-head span,
.premium-plan-list li {
  color: #fff;
}

.premium-kicker {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.premium-highlights span {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.premium-plan-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.site-footer {
  margin-top: 30px;
  padding: 30px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(47, 130, 200, 0.18), transparent 24%),
    linear-gradient(135deg, #0a1a31 0%, #102746 50%, #173866 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.footer-brand-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand-icon {
  width: 76px;
  height: 76px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
  box-shadow: 0 18px 34px rgba(3, 7, 18, 0.20);
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand-copy strong {
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.footer-brand-copy p {
  max-width: 64ch;
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.7;
}

.footer-brand-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-meta-pill {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.footer-grid {
  gap: 26px;
}

.footer-column h3 {
  color: #fff;
}

.footer-column a,
.footer-column p,
.footer-language,
.footer-copy {
  color: rgba(226, 232, 240, 0.78);
}

.footer-column a:hover,
.footer-socials a:hover {
  color: #fff;
}

.footer-store-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-store-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-copy {
  max-width: 420px;
}

@media (max-width: 1100px) {
  .topbar-cover {
    grid-template-columns: 1fr;
  }

  .topbar-shortcuts {
    margin-left: 0;
  }

  .footer-brand-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 18px 14px 20px;
  }

  .topbar {
    padding: 18px 16px 24px;
  }

  .topbar-shell {
    padding: 12px;
  }

  .logo {
    width: 100%;
  }

  .logo-icon {
    width: 56px;
    height: 56px;
  }

  .logo-copy span {
    font-size: 1.15rem;
  }

  .topbar-version,
  .topbar-actions,
  .topbar-shortcuts {
    width: 100%;
  }

  .topbar-cover-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .topbar-visual-brand {
    align-items: flex-start;
  }

  .topbar-visual-icon {
    width: 76px;
    height: 76px;
  }

  .menu-intro,
  .premium-banner,
  .site-footer {
    border-radius: 24px;
  }

  .site-footer {
    padding: 22px 18px;
  }

  .footer-brand-main {
    align-items: flex-start;
  }

  .footer-brand-icon {
    width: 66px;
    height: 66px;
  }

  .footer-bottom {
    gap: 14px;
  }
}

/* =========================================================
   MARCA D'AGUA GLOBAL
========================================================= */
body {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 24%),
    radial-gradient(circle at right center, rgba(15, 39, 71, 0.06), transparent 28%),
    linear-gradient(180deg, #edf4f9 0%, #f8fbfd 42%, #eef4f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.96)),
    url("gopdf-hero.jpg") center 12% / cover no-repeat;
  opacity: 0.14;
  mix-blend-mode: normal;
  filter: saturate(0.9) contrast(0.92);
  mask-image: none;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.62), transparent 20%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.56), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 0;
}

.container,
.topbar {
  position: relative;
  z-index: 1;
}

.topbar {
  background: linear-gradient(135deg, rgba(237, 244, 251, 0.94) 0%, rgba(223, 234, 246, 0.90) 44%, rgba(248, 251, 253, 0.92) 100%);
}

.menu-intro,
.tools-grid-menu .tool-card,
.unificador-header,
.sec-header,
.drop-zone,
.resultado-painel,
.analysis-card,
.info-box,
.thumb-info-box,
.premium-banner,
.site-footer {
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.96)),
      url("gopdf-hero.jpg") center top / cover no-repeat;
    opacity: 0.11;
  }
}

/* =========================================================
   REDESENHO PROFISSIONAL DO LAYOUT
========================================================= */
.topbar {
  padding: 24px clamp(18px, 3vw, 34px) 34px;
  background: transparent;
  box-shadow: none;
}

.topbar::before {
  background:
    radial-gradient(circle at top left, rgba(147, 197, 253, 0.28), transparent 30%),
    radial-gradient(circle at right center, rgba(15, 39, 71, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08));
  opacity: 1;
  transform: none;
}

.topbar::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at left top, rgba(255, 255, 255, 0.56), transparent 34%);
}

.topbar-shell {
  padding: 16px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.logo {
  gap: 16px;
}

.logo-icon {
  width: 64px;
  height: 64px;
  padding: 9px;
  border-radius: 20px;
}

.logo-copy {
  gap: 4px;
}

.logo-copy span {
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.logo-copy small {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.topbar-version {
  margin-left: 4px;
}

.app-version-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.26);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.user-toggle {
  min-height: 54px;
  padding: 8px 16px 8px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.user-toggle-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.updates-toggle {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.user-panel,
.updates-panel {
  position: fixed;
  top: 92px;
  right: 18px;
  left: auto;
  transform: none;
  border-radius: 30px;
  border: 1px solid rgba(216, 227, 239, 0.98);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
  z-index: 190;
}

.user-panel {
  width: min(430px, calc(100vw - 24px));
  max-height: calc(100vh - 116px);
  padding: 22px;
}

.updates-panel {
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - 116px);
  overflow: auto;
}

.user-summary {
  padding: 18px;
  border-radius: 22px;
}

.user-auth-switch {
  width: 100%;
  padding: 5px;
  border-radius: 18px;
  background: #f3f7fb;
}

.user-auth-tab {
  flex: 1;
  min-height: 42px;
  border-radius: 14px;
}

.user-social-auth {
  gap: 12px;
}

.user-social-btn {
  min-height: 48px;
  border-radius: 16px;
}

.user-input-wrap {
  min-height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
}

.topbar-cover {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 460px);
  gap: 24px;
  align-items: stretch;
  margin-top: 26px;
}

.topbar-cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  max-width: none;
  min-height: 100%;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.62));
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.topbar-cover-kicker {
  min-height: 36px;
  padding: 0 16px;
  background: rgba(239, 246, 255, 0.9);
}

.topbar-cover-copy h1 {
  margin: 18px 0 14px;
  max-width: 10ch;
  font-size: clamp(2.6rem, 4.5vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.topbar-cover-copy p {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.76;
}

.topbar-cover-meta {
  margin-top: 18px;
}

.topbar-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-primary-btn,
.hero-secondary-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
}

.hero-primary-btn {
  background: linear-gradient(135deg, #0f2747, #1d4ed8) !important;
  box-shadow: 0 18px 28px rgba(29, 78, 216, 0.22);
}

.hero-secondary-btn {
  background: rgba(255, 255, 255, 0.92);
}

.topbar-cover-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hero-stat-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(219, 234, 254, 0.96);
  background: rgba(255, 255, 255, 0.74);
}

.hero-stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2747;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-stat-card span {
  display: block;
  color: #607084;
  font-size: 12px;
  line-height: 1.6;
}

.topbar-visual-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.22), transparent 24%),
    linear-gradient(160deg, rgba(9, 24, 45, 0.98) 0%, rgba(15, 39, 71, 0.96) 56%, rgba(26, 89, 154, 0.94) 100%);
  box-shadow: 0 30px 56px rgba(15, 23, 42, 0.16);
}

.topbar-visual-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.topbar-visual-label {
  display: inline-flex;
  align-self: flex-start;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfe5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-visual-brand {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.topbar-visual-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
}

.topbar-visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.topbar-visual-metric {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.topbar-visual-metric strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.topbar-visual-metric span {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 11px;
  line-height: 1.45;
}

.topbar-visual-points {
  margin-top: 0;
}

.topbar-visual-note {
  margin-top: auto;
  padding-top: 6px;
}

.menu-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.74));
}

.menu-intro-copy {
  min-width: 0;
}

.menu-intro-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.96);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-intro h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
}

.menu-intro-side {
  max-width: 270px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(223, 234, 246, 0.96);
  background: rgba(244, 249, 255, 0.88);
}

.menu-intro-side strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2747;
  font-size: 14px;
  font-weight: 800;
}

.menu-intro-side span {
  display: block;
  color: #607084;
  font-size: 12px;
  line-height: 1.6;
}

.tools-grid-menu {
  gap: 20px;
}

.tools-grid-menu .tool-card {
  min-height: 220px;
  padding: 22px 20px;
  align-items: flex-start;
}

.tool-card-body {
  width: 100%;
}

.tool-card-body h3,
.tool-card-body p {
  text-align: left;
}

.tool-card-arrow {
  align-self: flex-end;
  margin-top: auto;
}

@media (max-width: 1100px) {
  .topbar-cover {
    grid-template-columns: 1fr;
  }

  .topbar-cover-stats,
  .topbar-visual-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-intro-side {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 18px 14px 24px;
  }

  .topbar-shell {
    padding: 12px;
    border-radius: 24px;
  }

  .logo {
    width: 100%;
  }

  .topbar-version,
  .topbar-actions,
  .topbar-shortcuts {
    width: 100%;
  }

  .topbar-cover-copy,
  .topbar-visual-card {
    padding: 24px 20px;
    border-radius: 26px;
  }

  .topbar-cover-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .topbar-cover-stats,
  .topbar-visual-metrics {
    grid-template-columns: 1fr;
  }

  .menu-intro {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .tools-grid-menu .tool-card {
    min-height: auto;
  }

  .user-panel,
  .updates-panel {
    right: 0;
    width: min(100%, calc(100vw - 18px));
  }
}

/* =========================================================
   REFORMA BASEADA NA REFERENCIA ILOVEPDF
========================================================= */
.topbar {
  padding: 0;
  background: transparent;
}

.topbar::before,
.topbar::after {
  display: none;
}

.topbar-shell {
  gap: 18px;
  padding: 16px 22px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
}

.logo-copy span {
  font-size: 1.25rem;
}

.logo-copy small {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.app-version-chip {
  min-height: 36px;
  font-size: 12px;
  box-shadow: none;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
}

.topbar-nav-link {
  min-height: 38px;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.topbar-nav-link:hover {
  background: #f8fafc;
  color: #1d4ed8;
}

.topbar-shortcuts {
  display: none !important;
}

.topbar-actions {
  gap: 10px;
}

.user-toggle,
.updates-toggle {
  box-shadow: none;
}

.topbar-cover {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  padding: 34px 20px 20px;
}

.topbar-cover-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
  align-items: center;
}

.topbar-cover-kicker {
  min-height: 34px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 10px;
}

.topbar-cover-copy h1 {
  max-width: none;
  margin: 18px auto 10px;
  font-size: clamp(2.1rem, 3.2vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.topbar-cover-copy > p:not(.topbar-cover-subtext) {
  display: none;
}

.topbar-cover-subtext {
  max-width: 760px;
  margin: 0 auto;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.topbar-cover-meta {
  justify-content: center;
  margin-top: 18px;
}

.topbar-cover-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hero-category-pill.is-active {
  background: #262834;
  border-color: #262834;
  color: #fff;
}

.topbar-cover-actions,
.topbar-cover-stats,
.topbar-visual-card {
  display: none;
}

.menu-intro {
  display: none;
}

.tools-grid-menu {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.tools-grid-menu .tool-card {
  min-height: 226px;
  padding: 26px 22px 22px;
  border-radius: 22px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.tools-grid-menu .tool-card::before {
  display: none;
}

.tools-grid-menu .tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.tool-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: none;
}

.tool-card-body h3 {
  margin-top: 18px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.tool-card-body p {
  margin-top: 10px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.tool-card-arrow {
  display: none;
}

@media (max-width: 1200px) {
  .topbar-nav {
    order: 4;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }

  .user-panel,
  .updates-panel {
    top: 98px;
    right: 14px;
    width: min(420px, calc(100vw - 20px));
    max-height: calc(100vh - 112px);
  }
}

@media (max-width: 768px) {
  .topbar-shell {
    padding: 14px 14px 12px;
  }

  .topbar-nav {
    gap: 4px;
  }

  .topbar-nav-link {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .topbar-cover {
    padding: 26px 14px 12px;
  }

  .topbar-cover-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .topbar-cover-subtext {
    font-size: 14px;
  }

  .topbar-cover-categories {
    gap: 8px;
  }

  .hero-category-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .tools-grid-menu {
    grid-template-columns: 1fr;
  }
}

.topbar-version,
.topbar-cover-meta {
  display: none !important;
}

.user-register-external {
  margin-top: 16px;
}

.user-register-external-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(191, 219, 254, 0.92);
  background: linear-gradient(180deg, #f8fbff, #eff6ff);
}

.user-register-external-card strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.user-register-external-card p {
  margin: 8px 0 14px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .user-panel,
  .updates-panel {
    position: fixed;
    top: 98px;
    right: 14px;
    left: auto;
    transform: none;
    width: min(420px, calc(100vw - 20px));
    max-height: calc(100vh - 112px);
  }
}

@media (max-width: 768px) {
  .user-panel,
  .updates-panel {
    top: 10px;
    right: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100vh - 20px);
    padding: 16px;
    border-radius: 24px;
  }
}

/* =========================================================
   CADASTRO ESTILO REFERENCIA DO VIDEO
========================================================= */
.user-panel {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(460px, calc(100vw - 32px)) !important;
  max-height: min(90vh, calc(100vh - 24px)) !important;
  padding: 28px !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 36px 96px rgba(15, 23, 42, 0.22) !important;
}

.updates-panel {
  top: 92px !important;
  right: 18px !important;
  left: auto !important;
  transform: none !important;
}

.user-panel-header {
  justify-content: center;
  text-align: center;
}

.user-panel-header strong {
  font-size: 17px;
}

.user-panel-chips,
.user-summary,
.user-panel-note,
.user-register-external {
  display: none !important;
}

.user-panel-badge {
  position: absolute;
  top: 24px;
  right: 24px;
}

.user-auth-shell {
  margin-top: 0;
  gap: 16px;
}

.user-auth-switch {
  max-width: 360px;
  margin: 0 auto;
  background: #f4f7fb;
  border: 1px solid #dde5ef;
  box-shadow: none;
}

.user-auth-tab {
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
}

.user-auth-tab.active {
  background: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.user-social-auth {
  grid-template-columns: 1fr !important;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}

.user-social-btn,
.user-social-btn.facebook,
.user-social-btn.google,
.user-social-btn.sso {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #d8e0ea;
  background: #fff;
  color: #0f172a;
  justify-content: flex-start;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.user-social-icon,
.user-social-btn.google .user-social-icon,
.user-social-btn.sso .user-social-icon {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 14px;
}

.user-form {
  margin-top: 0;
}

.user-form-header {
  max-width: 360px;
  margin: 0 auto 14px;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
}

.user-form-header strong {
  font-size: 18px;
}

.user-form-header p {
  margin-top: 8px;
  font-size: 13px;
}

.user-form-divider {
  max-width: 360px;
  margin: 2px auto 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.user-form-divider::before,
.user-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.user-form-divider span {
  white-space: nowrap;
}

.user-form-grid {
  max-width: 360px;
  margin: 0 auto;
  gap: 10px;
}

.user-field {
  gap: 0;
}

.user-field span {
  display: none;
}

.user-input-wrap {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d9e2ec;
  background: #ffffff;
  box-shadow: none;
  gap: 10px;
}

.user-input-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  transform: none;
}

.user-input-icon {
  width: 18px;
  min-width: 18px;
  color: #64748b;
  font-size: 13px;
}

.user-field input {
  font-size: 14px;
}

.user-form-actions {
  position: static;
  max-width: 360px;
  margin: 14px auto 0;
  grid-template-columns: 1fr;
  padding-top: 0;
  background: transparent;
  backdrop-filter: none;
}

.user-form-actions .user-primary-auth-btn {
  grid-column: auto;
}

.user-primary-auth-btn {
  min-height: 46px;
  border-radius: 10px;
  background: #2563eb !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.user-terms {
  max-width: 360px;
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid #dbe3ed;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.user-terms input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #2563eb;
}

.user-terms span {
  display: block;
}

.user-form-help,
.user-form-footer {
  max-width: 360px;
  margin: 14px auto 0;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.user-inline-link {
  border: none;
  background: transparent;
  padding: 0;
  color: #2563eb;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
}

.user-inline-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .user-panel {
    width: min(100vw - 20px, 460px) !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  .user-panel-badge {
    top: 18px;
    right: 18px;
  }

  .resultado-followup-grid {
    grid-template-columns: 1fr;
  }
}

/* AJUSTES FINAIS DE HOME E CADASTRO */
.home-logo-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.home-logo-button:hover {
  transform: translateY(-1px);
}

.home-logo-button:focus-visible {
  outline: none;
}

.home-logo-button:focus-visible .logo-icon {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16), 0 16px 32px rgba(47, 130, 200, 0.18);
}

.hero-category-pill {
  appearance: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.hero-category-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.hero-category-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.hero-category-pill.is-active:hover {
  border-color: #262834;
}

.tools-grid-menu .tool-card.is-hidden {
  display: none;
}

.home-tools-empty {
  margin: 20px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

body:not(.info-page-body) {
  display: flex !important;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 0 !important;
}

body:not(.info-page-body) > .topbar {
  flex-shrink: 0;
}

body:not(.info-page-body) > .container {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: min(1240px, calc(100% - 24px));
}

body:not(.info-page-body) #marketing-footer {
  width: 100%;
}

body:not(.info-page-body) .site-footer {
  width: 100%;
  margin-top: auto;
}

/* AJUSTE FINAL DO MODAL DE ACESSO */
.overlay-backdrop {
  background: rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: none !important;
}

.user-panel {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(438px, calc(100vw - 28px)) !important;
  max-height: min(88vh, calc(100vh - 24px)) !important;
  overflow-y: auto !important;
  padding: 24px !important;
  border-radius: 26px !important;
  border: 1px solid #dbe4ef !important;
  background: #ffffff !important;
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.24) !important;
  backdrop-filter: none !important;
  z-index: 210 !important;
}

.user-panel-header {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding-right: 116px;
}

.user-panel-header strong {
  font-size: 1.55rem;
  line-height: 1.05;
}

.user-panel-header p {
  max-width: none;
  margin-top: 6px;
  color: #64748b;
}

.user-panel-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.user-panel-chip {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.user-panel-badge {
  top: 22px !important;
  right: 22px !important;
}

.user-auth-shell {
  gap: 14px;
}

.user-auth-switch {
  max-width: none !important;
  margin: 0 !important;
  padding: 4px;
  border: 1px solid #dce5ef;
  background: #f8fafc;
}

.user-auth-tab {
  min-height: 42px;
  font-size: 13px;
}

.user-social-auth {
  max-width: none !important;
  margin: 0 !important;
  grid-template-columns: 1fr !important;
}

.user-social-btn {
  min-height: 48px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.user-form-header,
.user-form-divider,
.user-form-grid,
.user-form-actions,
.user-terms,
.user-form-help,
.user-form-footer {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.user-form-header {
  text-align: left !important;
  margin-bottom: 12px !important;
}

.user-form-header strong {
  font-size: 1.15rem;
}

.user-form-divider {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.user-input-wrap {
  min-height: 48px;
  border-radius: 14px;
}

.user-form-actions {
  margin-top: 12px !important;
}

.user-primary-auth-btn {
  min-height: 48px;
  border-radius: 14px;
}

.user-panel-note {
  display: block !important;
  margin-top: 16px;
  text-align: left;
}

@media (max-width: 768px) {
  .user-panel {
    width: calc(100vw - 16px) !important;
    max-height: calc(100vh - 16px) !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .user-panel-header {
    padding-right: 0;
  }

  .user-panel-badge {
    position: static;
    align-self: flex-start;
    margin-top: 10px;
  }
}

/* PÁGINAS INFORMATIVAS */
.info-page-body {
  min-height: 100vh;
  padding-bottom: 0;
  background:
    radial-gradient(circle at top left, rgba(147, 197, 253, 0.18), transparent 24%),
    linear-gradient(180deg, #eff6ff 0%, #f8fbff 34%, #f3f7fb 100%);
}

.info-page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 34px;
}

.info-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 28px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.info-topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.info-nav-link:hover,
.info-nav-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  color: #1d4ed8;
}

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 430px);
  gap: 24px;
  align-items: stretch;
}

.info-hero-main,
.info-hero-side,
.info-detail-card,
.info-mini-card {
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.info-hero-main {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
}

.info-hero-main::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 68%);
  pointer-events: none;
}

.info-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.94);
  border: 1px solid rgba(191, 219, 254, 0.96);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-hero h1 {
  margin: 18px 0 14px;
  color: #0f2747;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.info-hero p {
  margin: 0;
  max-width: 58ch;
  color: #536479;
  font-size: 15px;
  line-height: 1.8;
}

.info-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.info-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease;
}

.info-cta-btn.primary {
  background: linear-gradient(135deg, #0f2747, #1d4ed8);
  color: #fff;
  box-shadow: 0 18px 32px rgba(29, 78, 216, 0.22);
}

.info-cta-btn.secondary {
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
}

.info-cta-btn.is-loading {
  opacity: 0.92;
  pointer-events: none;
}

.info-cta-btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  animation: gopdf-btn-spin .9s linear infinite;
}

@keyframes gopdf-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.info-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.info-stat-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(219, 234, 254, 0.96);
  background: rgba(248, 251, 255, 0.98);
}

.info-stat-card strong {
  display: block;
  margin-bottom: 5px;
  color: #0f2747;
  font-size: 13px;
  font-weight: 800;
}

.info-stat-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.info-hero-side {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.97));
}

.pricing-flag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 39, 71, 0.08);
  color: #0f2747;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-value {
  margin: 18px 0 6px;
  color: #0f2747;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.pricing-value small {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pricing-caption {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.pricing-list,
.info-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-list li,
.info-list li {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(219, 234, 254, 0.94);
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.info-feature-band {
  margin-top: 22px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96));
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
}

.info-feature-band h2 {
  margin: 0 0 10px;
  color: #0f2747;
  font-size: 1.45rem;
  font-weight: 800;
}

.info-feature-band p {
  margin: 0;
  color: #536479;
  font-size: 14px;
  line-height: 1.8;
}

.info-highlight-grid,
.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.info-highlight-card,
.contact-channel-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.info-highlight-card strong,
.contact-channel-card strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2747;
  font-size: 1rem;
  font-weight: 800;
}

.info-highlight-card span,
.contact-channel-card span,
.contact-channel-card a {
  display: block;
  color: #536479;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.contact-channel-card a:hover {
  color: #1d4ed8;
}

.info-step-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.info-step-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.info-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f2747, #2563eb);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.info-step-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #0f2747;
  font-size: 14px;
  font-weight: 800;
}

.info-step-copy span {
  display: block;
  color: #536479;
  font-size: 13px;
  line-height: 1.7;
}

.info-emphasis-card {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.98), rgba(29, 78, 216, 0.96));
  color: #fff;
  box-shadow: 0 22px 40px rgba(29, 78, 216, 0.18);
}

.info-emphasis-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 800;
}

.info-emphasis-card p {
  color: rgba(226, 232, 240, 0.92);
}

.premium-price-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 39, 71, 0.08);
  color: #0f2747;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.premium-offer-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(191, 219, 254, 0.92);
  background: rgba(248, 251, 255, 0.98);
}

.premium-offer-note strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2747;
  font-size: 13px;
  font-weight: 800;
}

.premium-offer-note span {
  display: block;
  color: #536479;
  font-size: 13px;
  line-height: 1.7;
}

.premium-benefit-grid,
.premium-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.premium-benefit-card,
.premium-faq-card {
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.07);
}

.premium-benefit-card strong,
.premium-faq-card h3 {
  display: block;
  margin: 0 0 8px;
  color: #0f2747;
  font-size: 1rem;
  font-weight: 800;
}

.premium-benefit-card span,
.premium-faq-card p {
  display: block;
  margin: 0;
  color: #536479;
  font-size: 13px;
  line-height: 1.75;
}

.premium-comparison-card {
  margin-top: 22px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background:
    radial-gradient(circle at top left, rgba(147, 197, 253, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.97));
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
}

.premium-comparison-head h2 {
  margin: 14px 0 10px;
  color: #0f2747;
  font-size: 1.5rem;
  font-weight: 800;
}

.premium-comparison-head p {
  margin: 0;
  color: #536479;
  font-size: 14px;
  line-height: 1.8;
}

.premium-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.premium-plan-column {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.premium-plan-column-featured {
  border-color: rgba(96, 165, 250, 0.42);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 246, 255, 0.98));
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.10);
}

.premium-plan-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 39, 71, 0.08);
  color: #0f2747;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-plan-column h3 {
  margin: 14px 0 10px;
  color: #0f2747;
  font-size: 1.3rem;
  font-weight: 800;
}

.premium-inline-cta {
  margin-top: 16px;
}

.premium-cpanel-banner {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.97));
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.premium-cpanel-banner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.34) 0%, rgba(96, 165, 250, 0) 72%);
  pointer-events: none;
}

.premium-cpanel-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 32px);
  opacity: 0.26;
  pointer-events: none;
}

.premium-cpanel-copy,
.premium-cpanel-list-wrap {
  position: relative;
  z-index: 2;
}

.premium-cpanel-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 39, 71, 0.12);
  background: rgba(15, 39, 71, 0.08);
  color: #0f2747;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-cpanel-copy h2 {
  margin: 14px 0 10px;
  color: #0f2747;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.premium-cpanel-copy p {
  margin: 0;
  color: #536479;
  font-size: 14px;
  line-height: 1.8;
}

.premium-cpanel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.premium-cpanel-actions .info-cta-btn {
  margin-top: 0;
}

.premium-cpanel-list-wrap {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
}

.premium-cpanel-list-wrap strong {
  display: block;
  margin-bottom: 12px;
  color: #0f2747;
  font-size: 15px;
  font-weight: 800;
}

.premium-cpanel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.premium-cpanel-list li {
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.9);
}

.premium-cpanel-list li span {
  display: block;
  color: #0f2747;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.premium-cpanel-list li small {
  display: block;
  margin-top: 4px;
  color: #536479;
  font-size: 12px;
  line-height: 1.55;
}

.premium-cpanel-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 39, 71, 0.14);
  color: #0f2747;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.premium-final-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 26px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.98), rgba(29, 78, 216, 0.96));
  box-shadow: 0 24px 44px rgba(29, 78, 216, 0.18);
}

.premium-final-cta-copy {
  max-width: 620px;
}

.premium-final-cta-copy strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.premium-final-cta-copy p {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 14px;
  line-height: 1.8;
}

.premium-final-cta .info-cta-row {
  margin-top: 0;
}

.premium-final-cta .info-cta-btn.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.info-detail-card,
.info-mini-card {
  padding: 22px;
  border-radius: 28px;
}

.info-detail-card h2,
.info-mini-card h3 {
  margin: 0 0 10px;
  color: #0f2747;
  font-size: 1.15rem;
  font-weight: 800;
}

.info-detail-card p,
.info-mini-card p {
  margin: 0;
  color: #536479;
  font-size: 14px;
  line-height: 1.8;
}

.info-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.person-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.person-card strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2747;
  font-size: 1.05rem;
  font-weight: 800;
}

.person-card span,
.person-card a {
  display: block;
  color: #536479;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
}

.person-card a:hover {
  color: #1d4ed8;
}

.info-site-footer {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: 24px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(15, 39, 71, 0.96);
  color: rgba(226, 232, 240, 0.86);
}

.info-site-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.info-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.info-site-footer-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.info-site-footer-links a:hover {
  color: #93c5fd;
}

/* PÁGINAS INFORMATIVAS: TEMA DA HOME */
.info-page-body {
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 24%),
    radial-gradient(circle at right center, rgba(15, 23, 42, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f4ee 0%, #f4f1eb 52%, #f7f4ee 100%);
}

.info-page-body .info-topbar {
  border-color: #ddd3c5;
  background: rgba(249, 247, 242, 0.96);
  box-shadow: 0 16px 30px rgba(10, 19, 40, 0.08);
}

.info-page-body .info-nav-link {
  border-color: #ddd3c5;
  background: #fff;
  color: #33445f;
}

.info-page-body .info-nav-link:hover,
.info-page-body .info-nav-link.is-active {
  background: #262938;
  border-color: #262938;
  color: #fff;
  box-shadow: 0 10px 20px rgba(10, 19, 40, 0.14);
}

.info-page-body .info-nav-link:focus-visible,
.info-page-body .info-cta-btn:focus-visible,
.info-page-body .checkout-method-btn:focus-visible,
.info-page-body .checkout-copy-btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.48);
  outline-offset: 3px;
}

.info-page-body .info-hero-main,
.info-page-body .info-hero-side,
.info-page-body .info-feature-band,
.info-page-body .contact-channel-card,
.info-page-body .info-stat-card,
.info-page-body .info-highlight-card,
.info-page-body .premium-benefit-card,
.info-page-body .premium-faq-card,
.info-page-body .premium-plan-column,
.info-page-body .premium-comparison-card,
.info-page-body .checkout-card,
.info-page-body .checkout-form-block,
.info-page-body .checkout-step-card,
.info-page-body .checkout-method-switch,
.info-page-body .checkout-pix-card,
.info-page-body .checkout-card-guide,
.info-page-body .checkout-summary-item,
.info-page-body .checkout-status-card,
.info-page-body .premium-offer-note {
  border-color: #e2d9cc;
  background: #fff;
}

.info-page-body .info-hero-main::before {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), transparent 68%);
}

.info-page-body .info-kicker,
.info-page-body .premium-price-chip,
.info-page-body .premium-plan-label {
  background: #fff4d4;
  border-color: #f4c987;
  color: #c85b00;
}

.info-page-body .info-hero h1,
.info-page-body .info-feature-band h2,
.info-page-body .info-stat-card strong,
.info-page-body .contact-channel-card strong,
.info-page-body .info-highlight-card strong,
.info-page-body .premium-benefit-card strong,
.info-page-body .premium-faq-card h3,
.info-page-body .premium-comparison-head h2,
.info-page-body .premium-plan-column h3,
.info-page-body .checkout-main h1,
.info-page-body .checkout-step-card strong,
.info-page-body .checkout-section-head h2,
.info-page-body .checkout-summary-item strong,
.info-page-body .checkout-status-card strong {
  font-family: Georgia, "Times New Roman", serif;
  color: #081633;
}

.info-page-body .info-hero p,
.info-page-body .pricing-caption,
.info-page-body .info-stat-card span,
.info-page-body .contact-channel-card span,
.info-page-body .contact-channel-card a,
.info-page-body .info-highlight-card span,
.info-page-body .premium-benefit-card span,
.info-page-body .premium-faq-card p,
.info-page-body .premium-comparison-head p,
.info-page-body .checkout-intro,
.info-page-body .checkout-step-card span,
.info-page-body .checkout-section-head p,
.info-page-body .checkout-summary-item span,
.info-page-body .checkout-status-card span,
.info-page-body .checkout-status-card small,
.info-page-body .premium-offer-note span {
  color: #4d6281;
}

.info-page-body .info-cta-btn.primary,
.info-page-body .checkout-method-btn.is-active {
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 16px 28px rgba(245, 158, 11, 0.34);
}

.info-page-body .info-cta-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(245, 158, 11, 0.36);
}

.info-page-body .info-cta-btn.secondary,
.info-page-body .checkout-copy-btn {
  border-color: #d7d0c7;
  color: #33445f;
}

.info-page-body .checkout-copy-btn {
  background: #fff4d4;
}

.info-page-body .checkout-copy-btn:hover {
  background: #ffe7b6;
}

.info-page-body .checkout-field span {
  color: #33445f;
}

.info-page-body .checkout-field input {
  border-color: #d9cfbf;
}

.info-page-body .checkout-field input:focus {
  border-color: rgba(200, 91, 0, 0.52);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.info-page-body .checkout-plan-picker {
  border-color: #e2d9cc;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 22%),
    linear-gradient(180deg, #fff 0%, #f9f6f1 100%);
}

.info-page-body .checkout-plan-btn {
  border-color: #e2d9cc;
  background: #fff;
}

.info-page-body .checkout-plan-badge {
  background: #fff4d4;
  border-color: #f4c987;
  color: #c85b00;
}

.info-page-body .checkout-plan-btn.is-active {
  border-color: rgba(15, 23, 42, 0.2);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #12192d 58%, #1c2435 100%);
  box-shadow: 0 20px 34px rgba(7, 11, 32, 0.24);
}

.info-page-body .info-hero-side,
.info-page-body .premium-plan-column-featured {
  border-color: rgba(15, 23, 42, 0.2);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #12192d 56%, #1c2435 100%);
  box-shadow: 0 24px 46px rgba(7, 11, 32, 0.28);
}

.info-page-body .pricing-flag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffd972;
}

.info-page-body .pricing-value {
  margin: 18px 0 10px;
  color: #ffd972;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  word-break: break-word;
}

.info-page-body .pricing-value small {
  display: block;
  margin-top: 10px;
  color: rgba(239, 244, 255, 0.94);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.info-page-body .pricing-caption,
.info-page-body .pricing-list li,
.info-page-body .premium-plan-column-featured p,
.info-page-body .premium-plan-column-featured span,
.info-page-body .premium-plan-column-featured li {
  color: rgba(239, 244, 255, 0.9);
}

.info-page-body .pricing-list li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.info-page-body .pricing-list li strong,
.info-page-body .premium-plan-column-featured h3,
.info-page-body .premium-plan-column-featured .premium-plan-label {
  color: #ffd972;
}

.info-page-body .info-feature-band,
.info-page-body .premium-comparison-card {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f9f6f1 100%);
}

.info-page-body .premium-final-cta,
.info-page-body .info-emphasis-card {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #12192d 58%, #1c2435 100%);
  box-shadow: 0 24px 44px rgba(7, 11, 32, 0.28);
}

.info-page-body .premium-cpanel-banner {
  border-color: rgba(15, 23, 42, 0.2);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #12192d 56%, #1c2435 100%);
  box-shadow: 0 24px 46px rgba(7, 11, 32, 0.28);
}

.info-page-body .premium-cpanel-kicker {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffd972;
}

.info-page-body .premium-cpanel-copy h2,
.info-page-body .premium-cpanel-list-wrap strong,
.info-page-body .premium-cpanel-list li span {
  color: #ffd972;
}

.info-page-body .premium-cpanel-copy p,
.info-page-body .premium-cpanel-list li small {
  color: rgba(239, 244, 255, 0.9);
}

.info-page-body .premium-cpanel-list-wrap {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.info-page-body .premium-cpanel-list li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.info-page-body .premium-cpanel-note {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: #ffd972;
}

.info-page-body .premium-final-cta .info-cta-btn.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.info-page-body .premium-final-cta .info-cta-btn.primary {
  box-shadow: 0 14px 24px rgba(245, 158, 11, 0.28);
}

.info-page-body .contact-channel-card a:hover,
.info-page-body .person-card a:hover {
  color: #c85b00;
}

.info-page-body .info-site-footer {
  border-color: rgba(12, 20, 42, 0.2);
  background: #070b20;
}

.info-page-body .info-site-footer-links a:hover {
  color: #ffd972;
}

/* CONTATO: EMAIL DE SUPORTE EM TAMANHO AGRESSIVO */
.info-contact-body .pricing-value {
  font-size: clamp(4.2rem, 9vw, 7.4rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.info-contact-body .pricing-value small {
  margin-top: 12px;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 390px);
  gap: 24px;
  align-items: start;
}

.checkout-card {
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.checkout-main,
.checkout-side {
  border-radius: 34px;
  padding: 32px;
}

.checkout-main h1 {
  margin: 16px 0 14px;
  color: #0f2747;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.checkout-intro {
  margin: 0;
  max-width: 62ch;
  color: #536479;
  font-size: 15px;
  line-height: 1.85;
}

.checkout-step-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.checkout-step-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.95));
}

.checkout-step-card strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2747;
  font-size: 14px;
  font-weight: 800;
}

.checkout-step-card span {
  display: block;
  color: #536479;
  font-size: 13px;
  line-height: 1.7;
}

.checkout-form {
  margin-top: 24px;
}

.checkout-plan-picker {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.96));
}

.checkout-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.checkout-plan-btn {
  appearance: none;
  text-align: left;
  min-height: 138px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(191, 219, 254, 0.98);
  background: rgba(255, 255, 255, 0.98);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.checkout-plan-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.56);
  box-shadow: 0 16px 26px rgba(37, 99, 235, 0.12);
}

.checkout-plan-btn.is-active {
  border-color: rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.96), rgba(29, 78, 216, 0.9));
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.2);
}

.checkout-plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.98);
  background: rgba(239, 246, 255, 0.98);
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-plan-btn strong {
  display: block;
  margin-top: 12px;
  color: #0f2747;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.checkout-plan-btn strong small {
  font-size: .88rem;
  letter-spacing: 0.01em;
}

.checkout-plan-btn em {
  display: block;
  margin-top: 8px;
  color: #536479;
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}

.checkout-plan-btn.is-active strong,
.checkout-plan-btn.is-active .checkout-plan-badge {
  color: #ffd972;
}

.checkout-plan-btn.is-active .checkout-plan-badge {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.checkout-plan-btn.is-active em,
.checkout-plan-btn.is-active strong small {
  color: rgba(239, 244, 255, 0.9);
}

.checkout-form-block + .checkout-form-block {
  margin-top: 18px;
}

.checkout-form-block {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.96));
}

.checkout-section-head h2 {
  margin: 0 0 6px;
  color: #0f2747;
  font-size: 1.18rem;
  font-weight: 800;
}

.checkout-section-head p {
  margin: 0;
  color: #536479;
  font-size: 13px;
  line-height: 1.75;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.checkout-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-field-wide {
  grid-column: span 2;
}

.checkout-field {
  display: grid;
  gap: 8px;
}

.checkout-field span {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(191, 219, 254, 0.98);
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.checkout-field input:focus {
  border-color: rgba(37, 99, 235, 0.58);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.10);
  transform: translateY(-1px);
}

.checkout-method-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(248, 251, 255, 0.98);
}

.checkout-method-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.checkout-method-btn.is-active {
  background: linear-gradient(135deg, #0f2747, #2563eb);
  color: #fff;
  box-shadow: 0 16px 26px rgba(37, 99, 235, 0.20);
}

.checkout-method-btn:hover {
  transform: translateY(-1px);
}

.checkout-method-panel {
  margin-top: 18px;
}

.checkout-method-panel[hidden] {
  display: none !important;
}

.checkout-pix-card {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(191, 219, 254, 0.96);
  background: rgba(255, 255, 255, 0.98);
}

.checkout-pix-card strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2747;
  font-size: 15px;
  font-weight: 800;
}

.checkout-pix-card p {
  margin: 0;
  color: #536479;
  font-size: 13px;
  line-height: 1.8;
}

.checkout-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.checkout-copy-value {
  flex: 1 1 230px;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px dashed rgba(96, 165, 250, 0.72);
  background: rgba(239, 246, 255, 0.98);
  color: #0f2747;
  font-size: 14px;
  font-weight: 800;
  word-break: break-all;
}

.checkout-copy-btn {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: rgba(15, 39, 71, 0.08);
  color: #0f2747;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.checkout-copy-btn:hover {
  transform: translateY(-1px);
  background: rgba(29, 78, 216, 0.12);
}

.checkout-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.checkout-card-guide {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(191, 219, 254, 0.92);
  background: rgba(255, 255, 255, 0.98);
}

.checkout-card-guide ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.checkout-card-guide li {
  color: #334155;
  font-size: 13px;
  line-height: 1.65;
}

.checkout-card-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.checkout-card-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.86);
  background: rgba(239, 246, 255, 0.98);
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 700;
}

.checkout-mini-note,
.checkout-security-note {
  margin: 14px 0 0;
  color: #536479;
  font-size: 13px;
  line-height: 1.75;
}

.checkout-feedback {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(191, 219, 254, 0.92);
  background: rgba(255, 255, 255, 0.98);
  color: #334155;
  font-size: 13px;
  line-height: 1.75;
}

.checkout-feedback strong {
  color: inherit;
}

.checkout-feedback.is-success {
  border-color: rgba(74, 222, 128, 0.36);
  background: rgba(240, 253, 244, 0.98);
  color: #166534;
}

.checkout-feedback.is-warning {
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(254, 252, 232, 0.98);
  color: #854d0e;
}

.checkout-feedback.is-error {
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(254, 242, 242, 0.98);
  color: #b91c1c;
}

.checkout-summary-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.checkout-summary-item {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(219, 232, 245, 0.92);
  background: rgba(248, 251, 255, 0.98);
}

.checkout-summary-item strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2747;
  font-size: 14px;
  font-weight: 800;
}

.checkout-summary-item span {
  display: block;
  color: #536479;
  font-size: 13px;
  line-height: 1.7;
}

.checkout-status-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(191, 219, 254, 0.92);
  background: rgba(239, 246, 255, 0.98);
}

.checkout-status-card strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2747;
  font-size: 15px;
  font-weight: 800;
}

.checkout-status-card span,
.checkout-status-card small {
  display: block;
  color: #536479;
  font-size: 13px;
  line-height: 1.7;
}

.checkout-status-card small {
  margin-top: 8px;
}

.checkout-status-card.is-active {
  border-color: rgba(74, 222, 128, 0.36);
  background: rgba(240, 253, 244, 0.98);
}

.checkout-status-card.is-active strong,
.checkout-status-card.is-active span,
.checkout-status-card.is-active small {
  color: #166534;
}

/* Checkout: refinamentos de visual e legibilidade */
.info-page-body .checkout-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 410px);
  gap: 26px;
}

.info-page-body .checkout-main,
.info-page-body .checkout-side {
  border-radius: 30px;
  backdrop-filter: blur(6px);
}

.info-page-body .checkout-main h1,
.info-page-body .checkout-step-card strong,
.info-page-body .checkout-section-head h2,
.info-page-body .checkout-summary-item strong,
.info-page-body .checkout-status-card strong {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.info-page-body .checkout-main h1 {
  max-width: 16ch;
  margin-bottom: 12px;
  font-size: clamp(1.95rem, 3.3vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.info-page-body .checkout-intro {
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.72;
}

.info-page-body .checkout-step-card {
  min-height: 136px;
}

.info-page-body .checkout-step-card strong {
  margin-bottom: 7px;
  font-size: 0.98rem;
}

.info-page-body .checkout-side {
  position: sticky;
  top: 94px;
  align-self: start;
  border-color: #dbe3ef;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 56%, #f8f5ed 100%);
  box-shadow: 0 26px 46px rgba(10, 19, 40, 0.14);
}

.info-page-body .checkout-side .pricing-flag {
  border-color: #f1ce90;
  background: #fff3d6;
  color: #a55500;
}

.info-page-body .checkout-side .pricing-value {
  margin: 16px 0 8px;
  color: #0b2244;
  font-size: clamp(2.7rem, 5.5vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-shadow: none;
}

.info-page-body .checkout-side .pricing-value small {
  margin-top: 8px;
  color: #41587a;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

.info-page-body .checkout-side .pricing-caption {
  color: #4d6281;
  font-size: 14px;
  line-height: 1.66;
}

.info-page-body .checkout-side .checkout-summary-item {
  border-color: #d9e3f2;
  background: rgba(255, 255, 255, 0.94);
}

.info-page-body .checkout-side .checkout-summary-item strong {
  color: #102646;
}

.info-page-body .checkout-side .checkout-summary-item span {
  color: #49607f;
}

.info-page-body .checkout-side .checkout-status-card {
  border-color: #c7d7ec;
  background: linear-gradient(180deg, #f5f9ff 0%, #edf5ff 100%);
}

.info-page-body .checkout-side .premium-offer-note {
  border-color: #ded2c0;
  background: #fff;
}

.info-page-body .checkout-side .premium-offer-note a {
  color: #b45309;
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .premium-cpanel-banner {
    grid-template-columns: 1fr;
  }

  .info-hero,
  .info-card-grid,
  .info-people,
  .info-highlight-grid,
  .contact-channel-grid,
  .premium-benefit-grid,
  .premium-faq-grid,
  .premium-comparison-grid,
  .checkout-layout,
  .checkout-step-strip,
  .checkout-plan-grid,
  .checkout-field-grid,
  .checkout-card-grid {
    grid-template-columns: 1fr;
  }

  .checkout-field-wide {
    grid-column: auto;
  }

  .info-page-body .checkout-side {
    position: static;
    top: auto;
    box-shadow: 0 22px 34px rgba(10, 19, 40, 0.1);
  }

  .info-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .info-page-shell {
    width: calc(100% - 18px);
    padding: 14px 0 24px;
  }

  .info-topbar {
    padding: 12px;
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .info-hero-main,
  .info-hero-side,
  .info-detail-card,
  .info-mini-card,
  .info-feature-band,
  .person-card {
    padding: 20px;
    border-radius: 24px;
  }

  .premium-comparison-card,
  .premium-cpanel-banner,
  .premium-final-cta {
    padding: 20px;
    border-radius: 24px;
  }

  .premium-cpanel-list-wrap {
    padding: 18px;
    border-radius: 20px;
  }

  .premium-cpanel-actions {
    display: grid;
  }

  .premium-cpanel-actions .info-cta-btn {
    width: 100%;
  }

  .checkout-main,
  .checkout-side,
  .checkout-plan-picker,
  .checkout-form-block {
    padding: 20px;
    border-radius: 24px;
  }

  .checkout-method-switch {
    display: grid;
  }

  .checkout-action-row .info-cta-btn {
    width: 100%;
  }

  .info-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .info-page-body .pricing-value {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .info-page-body .pricing-value small {
    font-size: clamp(0.95rem, 4.2vw, 1.2rem);
  }

  .info-page-body .checkout-main h1 {
    max-width: none;
    font-size: clamp(1.9rem, 9.2vw, 2.7rem);
  }

  .info-page-body .checkout-step-card {
    min-height: 0;
  }

  .info-contact-body .pricing-value {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .info-contact-body .pricing-value small {
    font-size: clamp(1rem, 5vw, 1.35rem);
  }

  .info-site-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   HOME REDESIGN INSTITUCIONAL
========================================================= */
body:not(.info-page-body) {
  background: #f7f4ee !important;
  color: #0b1730;
  padding-bottom: 0;
  overflow-x: hidden;
}

body:not(.info-page-body) .container {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0 20px 40px;
}

body:not(.info-page-body) .topbar {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  top: auto;
  z-index: 60;
  padding: 0 !important;
  background: rgba(249, 247, 242, 0.96) !important;
  border-bottom: 1px solid #ddd3c5;
  box-shadow: none !important;
}

body:not(.info-page-body) #home-tools-grid {
  scroll-margin-top: 96px;
}

body:not(.info-page-body) .topbar::before,
body:not(.info-page-body) .topbar::after,
body:not(.info-page-body) .topbar-version,
body:not(.info-page-body) .topbar-shortcuts,
body:not(.info-page-body) .user-toggle,
body:not(.info-page-body) .updates-toggle,
body:not(.info-page-body) .topbar-cover-meta {
  display: none !important;
}

body:not(.info-page-body) .topbar-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  box-sizing: border-box;
  padding: 0 20px;
}

body:not(.info-page-body) .logo.home-logo-button {
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 0;
}

body:not(.info-page-body) .logo-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #070b20;
  box-shadow: none;
}

body:not(.info-page-body) .logo-copy span {
  color: #111a2f;
  font-size: 1.05rem;
  font-weight: 800;
}

body:not(.info-page-body) .logo-copy small {
  color: #60708c;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

body:not(.info-page-body) .topbar-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

body:not(.info-page-body) .topbar-nav-link {
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #33445f;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
}

body:not(.info-page-body) .topbar-nav-link:hover {
  background: rgba(12, 20, 42, 0.05);
  color: #0d1730;
}

body:not(.info-page-body) .topbar-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

body:not(.info-page-body) .topbar-entry-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

body:not(.info-page-body) .topbar-login-entry,
body:not(.info-page-body) .topbar-request-entry {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

body:not(.info-page-body) .topbar-login-entry {
  color: #1f2e4a;
  font-size: 14px;
  font-weight: 700;
}

body:not(.info-page-body) .topbar-request-entry {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 18px;
  background: #070b20;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(7, 11, 32, 0.18);
}

body:not(.info-page-body) .topbar-cover {
  width: 100%;
  max-width: none;
  margin: 14px auto 0;
  box-sizing: border-box;
  padding: 44px 20px 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.10), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.05), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #12192d 55%, #1c2435 100%);
  box-shadow: none;
}

body:not(.info-page-body) .topbar-cover-copy {
  max-width: 760px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body:not(.info-page-body) .topbar-cover-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #ffd972;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body:not(.info-page-body) .topbar-cover-copy h1,
body:not(.info-page-body) .menu-intro h1,
body:not(.info-page-body) .institutional-copy h2,
body:not(.info-page-body) .section-head h2,
body:not(.info-page-body) .tool-card h3,
body:not(.info-page-body) .journey-card strong,
body:not(.info-page-body) .quote-card p,
body:not(.info-page-body) .signup-card h3,
body:not(.info-page-body) .faq-item-home strong,
body:not(.info-page-body) .plan-price {
  font-family: Georgia, "Times New Roman", serif;
}

body:not(.info-page-body) .topbar-cover-copy h1 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

body:not(.info-page-body) .topbar-cover-subtext {
  max-width: 680px;
  margin: 0 auto;
  color: #eff4ff;
  font-size: 15px;
  line-height: 1.62;
  text-align: center;
}

body:not(.info-page-body) .topbar-cover-copy > p:not(.topbar-cover-subtext) {
  display: none;
}

body:not(.info-page-body) .topbar-cover-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

body:not(.info-page-body) .hero-primary-btn,
body:not(.info-page-body) .hero-secondary-btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 800;
}

body:not(.info-page-body) .hero-primary-btn {
  background: #f59e0b;
  color: #111827;
}

body:not(.info-page-body) .hero-secondary-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

body:not(.info-page-body) .topbar-cover-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

body:not(.info-page-body) .hero-trust-pill {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  display: inline-flex;
  align-items: center;
}

body:not(.info-page-body) .hero-trust-pill strong {
  color: #edf3ff;
  font-size: 14px;
  font-weight: 700;
}

body:not(.info-page-body) .topbar-visual-card {
  padding: 22px;
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.22);
}

body:not(.info-page-body) .topbar-visual-brand-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 28px 26px;
  border-radius: 26px;
  border: 1px dashed #d8d0c2;
  background: #fcfbf8;
}

body:not(.info-page-body) .topbar-visual-icon-large {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #070b20;
  color: #ffe07a;
  font-size: 1.15rem;
  font-weight: 800;
}

body:not(.info-page-body) .topbar-visual-brand-copy-centered strong {
  color: #0b1730;
  font-size: 1.02rem;
}

body:not(.info-page-body) .topbar-visual-brand-copy-centered span {
  color: #5f6d85;
  font-size: 14px;
}

body:not(.info-page-body) .topbar-visual-primary {
  margin: 20px auto 14px;
  display: block;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid #d7d0c7;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

body:not(.info-page-body) .topbar-visual-formatos {
  margin: 0 0 18px;
  text-align: center;
  color: #6b7c95;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body:not(.info-page-body) .topbar-visual-metrics-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body:not(.info-page-body) .topbar-visual-metrics-cards .topbar-visual-metric {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid #e4dccf;
  background: #fff;
  min-height: 102px;
}

body:not(.info-page-body) .topbar-visual-metrics-cards .topbar-visual-metric strong {
  color: #0b1730;
  font-size: 15px;
  font-weight: 800;
}

body:not(.info-page-body) .topbar-visual-metrics-cards .topbar-visual-metric span {
  color: #6a7790;
  font-size: 13px;
  line-height: 1.6;
}

body:not(.info-page-body) .menu-intro {
  margin: 70px 0 0;
  display: block;
}

body:not(.info-page-body) .menu-intro-copy {
  max-width: 800px;
}

body:not(.info-page-body) .menu-intro-kicker,
body:not(.info-page-body) .institutional-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: #c85b00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

body:not(.info-page-body) .menu-intro h1,
body:not(.info-page-body) .institutional-copy h2,
body:not(.info-page-body) .section-head h2 {
  margin: 0;
  color: #081633;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body:not(.info-page-body) .menu-intro p,
body:not(.info-page-body) .institutional-copy p,
body:not(.info-page-body) .section-head p {
  margin: 22px 0 0;
  max-width: 900px;
  color: #4d6281;
  font-size: 17px;
  line-height: 1.9;
}

body:not(.info-page-body) .tool-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px 0 0;
}

body:not(.info-page-body) .tool-filter-row .hero-category-pill {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #ddd3c5;
  background: #fff;
  color: #33445f;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

body:not(.info-page-body) .tool-filter-row .hero-category-pill.is-active {
  background: #262938;
  border-color: #262938;
  color: #fff;
}

body:not(.info-page-body) #home-tools-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
}

body:not(.info-page-body) #home-tools-grid .tool-card {
  position: relative;
  align-items: flex-start;
  gap: 0;
  padding: 28px 28px 30px;
  border-radius: 30px;
  border: 1px solid #e2d9cc;
  background: #fff;
  box-shadow: 0 10px 20px rgba(10, 19, 40, 0.06);
}

body:not(.info-page-body) #home-tools-grid .tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px rgba(10, 19, 40, 0.10);
}

body:not(.info-page-body) #home-tools-grid .tool-card:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.48);
  outline-offset: 4px;
  transform: translateY(-4px);
}

body:not(.info-page-body) .tool-card-badge.new {
  top: 18px;
  right: 18px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f5ec8;
  border: 1px solid #bfd3ff;
  font-size: 11px;
}

body:not(.info-page-body) .tool-icon-wrap.tool-monogram {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  border: 1px solid #ecd1bf;
  background: #fdfbf7 !important;
  color: #081633;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: none;
}

body:not(.info-page-body) #home-tools-grid .tool-card-body {
  width: 100%;
}

body:not(.info-page-body) #home-tools-grid .tool-card h3 {
  margin: 0 0 16px;
  color: #081633;
  font-size: 1.05rem;
  line-height: 1.1;
}

body:not(.info-page-body) #home-tools-grid .tool-card p {
  color: #475d7f;
  font-size: 14px;
  line-height: 2;
  margin: 0;
}

body:not(.info-page-body) #home-tools-grid .tool-card-arrow {
  margin-top: 22px;
  color: #c85b00;
  font-size: 14px;
  font-weight: 700;
}

body:not(.info-page-body) .home-tools-empty {
  margin-top: 20px;
  color: #5c6c85;
}

body:not(.info-page-body) .homepage-sections {
  margin-top: 62px;
}

body:not(.info-page-body) .institutional-section {
  padding: 88px 0;
  border-top: 1px solid #e4dbcf;
}

body:not(.info-page-body) .institutional-section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: 56px;
  align-items: start;
}

body:not(.info-page-body) .institutional-section-muted {
  background: #f4f1eb;
  margin: 0 calc(50% - 50vw);
  padding-left: calc(50vw - 620px);
  padding-right: calc(50vw - 620px);
}

body:not(.info-page-body) .journey-stack,
body:not(.info-page-body) .stats-board,
body:not(.info-page-body) .compliance-grid {
  display: grid;
  gap: 18px;
}

body:not(.info-page-body) .journey-card,
body:not(.info-page-body) .metric-card,
body:not(.info-page-body) .quote-card,
body:not(.info-page-body) .compliance-card,
body:not(.info-page-body) .plan-card,
body:not(.info-page-body) .signup-card,
body:not(.info-page-body) .faq-item-home {
  border-radius: 30px;
  border: 1px solid #e2d9cc;
  background: #fff;
  box-shadow: 0 10px 20px rgba(10, 19, 40, 0.06);
}

body:not(.info-page-body) .journey-card {
  padding: 26px 26px 28px;
}

body:not(.info-page-body) .journey-step {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #070b20;
  color: #ffe07a;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

body:not(.info-page-body) .journey-card strong {
  display: block;
  color: #081633;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

body:not(.info-page-body) .journey-card p,
body:not(.info-page-body) .quote-card span,
body:not(.info-page-body) .compliance-card p,
body:not(.info-page-body) .signup-card p,
body:not(.info-page-body) .faq-item-home p {
  margin: 0;
  color: #4e6280;
  font-size: 14px;
  line-height: 1.9;
}

body:not(.info-page-body) .stats-board {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

body:not(.info-page-body) .metric-card {
  padding: 26px 28px;
  border-radius: 22px;
  text-align: center;
}

body:not(.info-page-body) .metric-card strong {
  display: block;
  color: #081633;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}

body:not(.info-page-body) .metric-card span {
  display: block;
  margin-top: 12px;
  color: #4e6280;
  font-size: 14px;
  line-height: 1.7;
  text-wrap: balance;
}

body:not(.info-page-body) .quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body:not(.info-page-body) .quote-card {
  padding: 28px 34px;
}

body:not(.info-page-body) .quote-card p {
  margin: 8px 0 18px;
  color: #203556;
  font-size: 16px;
  line-height: 1.9;
}

body:not(.info-page-body) .quote-card strong {
  display: block;
  color: #081633;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

body:not(.info-page-body) .compliance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.info-page-body) .compliance-card {
  padding: 26px 26px 28px;
}

body:not(.info-page-body) .compliance-card strong {
  display: block;
  color: #081633;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 12px;
}

body:not(.info-page-body) .section-head {
  max-width: 980px;
}

body:not(.info-page-body) .section-head-centered {
  margin: 0 auto;
  text-align: center;
}

body:not(.info-page-body) .plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

body:not(.info-page-body) .plan-card {
  padding: 30px 32px 34px;
}

body:not(.info-page-body) .plan-card-featured {
  background: #070b20;
  color: #fff;
  box-shadow: 0 24px 36px rgba(7, 11, 32, 0.18);
}

body:not(.info-page-body) .plan-label {
  display: block;
  color: #6a7690;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

body:not(.info-page-body) .plan-card-featured .plan-label,
body:not(.info-page-body) .plan-card-featured .plan-price,
body:not(.info-page-body) .plan-card-featured .plan-feature-list li {
  color: #fff;
}

body:not(.info-page-body) .plan-price {
  display: block;
  margin-top: 18px;
  color: #081633;
  font-size: 2.1rem;
  line-height: 1.05;
}

body:not(.info-page-body) .plan-corporate-note {
  margin: 12px 0 0;
  color: #3d5173;
  font-size: 14px;
  line-height: 1.6;
}

body:not(.info-page-body) .plan-feature-list {
  list-style: disc;
  padding-left: 20px;
  margin: 22px 0 0;
}

body:not(.info-page-body) .plan-feature-list li {
  color: #203556;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 8px;
}

body:not(.info-page-body) .plan-btn {
  margin-top: 26px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 18px;
  background: #070b20;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

body:not(.info-page-body) .plan-btn-featured {
  background: #f59e0b;
  color: #111827;
}

body:not(.info-page-body) .plan-price-note {
  display: block;
  margin-top: 10px;
  color: #4b5f80;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body:not(.info-page-body) .plan-card-featured .plan-price-note {
  color: rgba(255,255,255,0.84);
}

body:not(.info-page-body) .cpanel-banner {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 34px 34px 36px;
  border-radius: 32px;
  border: 1px solid #ddcfbf;
  background: linear-gradient(122deg, #08132f 0%, #0b1f44 44%, #102b5d 100%);
  box-shadow: 0 24px 44px rgba(8, 19, 47, 0.32);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
}

body:not(.info-page-body) .cpanel-banner::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.52) 0%, rgba(245, 158, 11, 0) 72%);
  pointer-events: none;
}

body:not(.info-page-body) .cpanel-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 32px);
  opacity: 0.34;
  pointer-events: none;
}

body:not(.info-page-body) .cpanel-banner-copy,
body:not(.info-page-body) .cpanel-banner-benefits {
  position: relative;
  z-index: 2;
}

body:not(.info-page-body) .cpanel-banner-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.48);
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body:not(.info-page-body) .cpanel-banner-copy h3 {
  margin: 16px 0 14px;
  max-width: 20ch;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

body:not(.info-page-body) .cpanel-banner-copy p {
  margin: 0;
  max-width: 58ch;
  color: rgba(225, 236, 255, 0.88);
  font-size: 14px;
  line-height: 1.85;
}

body:not(.info-page-body) .cpanel-banner-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body:not(.info-page-body) .cpanel-banner-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
}

body:not(.info-page-body) .cpanel-banner-btn-primary {
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 18px 28px rgba(245, 158, 11, 0.34);
}

body:not(.info-page-body) .cpanel-banner-btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}

body:not(.info-page-body) .cpanel-banner-benefits {
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

body:not(.info-page-body) .cpanel-banner-benefits strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
}

body:not(.info-page-body) .cpanel-banner-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

body:not(.info-page-body) .cpanel-banner-benefits li {
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5, 12, 32, 0.26);
}

body:not(.info-page-body) .cpanel-banner-benefits li span {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

body:not(.info-page-body) .cpanel-banner-benefits li small {
  display: block;
  margin-top: 4px;
  color: rgba(225, 236, 255, 0.82);
  font-size: 12px;
  line-height: 1.55;
}

body:not(.info-page-body) .cpanel-banner-note {
  margin: 15px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: #fcd34d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

body:not(.info-page-body) .cpanel-admin-console {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(7, 16, 42, 0.65);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
}

body:not(.info-page-body) .cpanel-admin-head strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

body:not(.info-page-body) .cpanel-admin-head p {
  margin: 8px 0 0;
  color: rgba(225, 236, 255, 0.88);
  font-size: 14px;
  line-height: 1.6;
}

body:not(.info-page-body) .cpanel-admin-form {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

body:not(.info-page-body) .cpanel-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body:not(.info-page-body) .cpanel-admin-field {
  display: grid;
  gap: 6px;
}

body:not(.info-page-body) .cpanel-admin-field span {
  color: rgba(225, 236, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body:not(.info-page-body) .cpanel-admin-field input,
body:not(.info-page-body) .cpanel-admin-field select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(5, 12, 32, 0.48);
  color: #fff;
  font-size: 13px;
}

body:not(.info-page-body) .cpanel-admin-field input::placeholder {
  color: rgba(209, 221, 245, 0.66);
}

body:not(.info-page-body) .cpanel-admin-field input:focus,
body:not(.info-page-body) .cpanel-admin-field select:focus {
  outline: 2px solid rgba(252, 211, 77, 0.4);
  border-color: rgba(252, 211, 77, 0.8);
}

body:not(.info-page-body) .cpanel-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body:not(.info-page-body) .cpanel-admin-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

body:not(.info-page-body) .cpanel-admin-btn-primary {
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 12px 20px rgba(245, 158, 11, 0.28);
}

body:not(.info-page-body) .cpanel-admin-btn-secondary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
}

body:not(.info-page-body) .cpanel-admin-feedback {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.5;
}

body:not(.info-page-body) .cpanel-admin-feedback.is-success {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #d1fae5;
}

body:not(.info-page-body) .cpanel-admin-feedback.is-error {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fee2e2;
}

body:not(.info-page-body) .cpanel-admin-list-head {
  margin-top: 10px;
  display: grid;
  gap: 4px;
}

body:not(.info-page-body) .cpanel-admin-list-head strong {
  color: #fff;
  font-size: 16px;
}

body:not(.info-page-body) .cpanel-admin-list-head small {
  color: rgba(225, 236, 255, 0.78);
  font-size: 12px;
}

body:not(.info-page-body) .cpanel-admin-users-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body:not(.info-page-body) .cpanel-admin-user-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5, 12, 32, 0.4);
}

body:not(.info-page-body) .cpanel-admin-user-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body:not(.info-page-body) .cpanel-admin-user-top strong {
  color: #fff;
  font-size: 14px;
}

body:not(.info-page-body) .cpanel-admin-user-top p {
  margin: 3px 0 0;
  color: rgba(225, 236, 255, 0.84);
  font-size: 12px;
}

body:not(.info-page-body) .cpanel-admin-user-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(252, 211, 77, 0.45);
  background: rgba(252, 211, 77, 0.16);
  color: #fcd34d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body:not(.info-page-body) .cpanel-admin-user-meta {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}

body:not(.info-page-body) .cpanel-admin-user-meta span {
  color: rgba(225, 236, 255, 0.82);
  font-size: 12px;
}

body:not(.info-page-body) .cpanel-admin-user-controls {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 130px) auto;
  gap: 8px;
  align-items: end;
}

body:not(.info-page-body) .cpanel-admin-user-controls label {
  display: grid;
  gap: 4px;
}

body:not(.info-page-body) .cpanel-admin-user-controls label span {
  color: rgba(225, 236, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
}

body:not(.info-page-body) .cpanel-admin-user-controls select,
body:not(.info-page-body) .cpanel-admin-user-controls input {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(5, 12, 32, 0.5);
  color: #fff;
  font-size: 12px;
}

body:not(.info-page-body) .cpanel-admin-user-save-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.9);
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

body:not(.info-page-body) .cpanel-admin-loading,
body:not(.info-page-body) .cpanel-admin-empty {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.24);
  color: rgba(225, 236, 255, 0.84);
  font-size: 13px;
}

@media (max-width: 1100px) {
  body:not(.info-page-body) .cpanel-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.info-page-body) .cpanel-admin-user-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.info-page-body) .cpanel-admin-user-save-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body:not(.info-page-body) .cpanel-admin-console {
    padding: 16px;
    border-radius: 16px;
  }

  body:not(.info-page-body) .cpanel-admin-grid,
  body:not(.info-page-body) .cpanel-admin-user-controls {
    grid-template-columns: 1fr;
  }

  body:not(.info-page-body) .cpanel-admin-actions {
    flex-direction: column;
  }

  body:not(.info-page-body) .cpanel-admin-btn {
    width: 100%;
  }
}

body:not(.info-page-body) .signup-card {
  padding: 30px 32px 32px;
}

body:not(.info-page-body) .signup-card h3 {
  margin: 0;
  color: #081633;
  font-size: 2rem;
}

body:not(.info-page-body) .signup-card-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

body:not(.info-page-body) .signup-card-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid #d8d0c2;
  background: #fff;
  color: #081633;
  font-size: 14px;
}

body:not(.info-page-body) .signup-primary-btn {
  min-height: 46px;
  border: 0;
  border-radius: 18px;
  background: #070b20;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

body:not(.info-page-body) .signup-social-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body:not(.info-page-body) .signup-social-btn {
  min-height: 46px;
  border-radius: 18px;
  border: 1px solid #d8d0c2;
  background: #fff;
  color: #1f2f49;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

body:not(.info-page-body) .faq-list-home {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

body:not(.info-page-body) .faq-item-home {
  padding: 22px 24px;
}

body:not(.info-page-body) .faq-item-home strong {
  display: block;
  margin-bottom: 12px;
  color: #081633;
  font-size: 1rem;
}

body:not(.info-page-body) .site-footer-redesign {
  padding: 34px 24px 24px;
  border-top: 1px solid #e4dbcf;
  background: transparent;
}

body:not(.info-page-body) .site-footer-redesign-main,
body:not(.info-page-body) .site-footer-redesign-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}

body:not(.info-page-body) .site-footer-redesign-brand {
  width: 100%;
  text-align: center;
}

body:not(.info-page-body) .site-footer-redesign-brand strong {
  display: block;
  color: #081633;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

body:not(.info-page-body) .site-footer-redesign-brand p,
body:not(.info-page-body) .footer-copy {
  color: #5b6c86;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

body:not(.info-page-body) .site-footer-redesign-brand p {
  max-width: 860px;
  margin: 0 auto;
}

body:not(.info-page-body) .site-footer-redesign-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

body:not(.info-page-body) .site-footer-redesign-links a {
  color: #465b7d;
  font-size: 14px;
  text-decoration: none;
}

body:not(.info-page-body) .site-footer-redesign-meta {
  margin-top: 18px;
}

body:not(.info-page-body) .footer-copy {
  max-width: 860px;
  width: 100%;
}

body:not(.info-page-body) .footer-meta-pill {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e1d7ca;
  color: #34445f;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  body:not(.info-page-body) .cpanel-banner {
    grid-template-columns: 1fr;
    padding: 28px 24px 30px;
    border-radius: 26px;
  }

  body:not(.info-page-body) .cpanel-banner-copy h3 {
    max-width: none;
  }

  body:not(.info-page-body) .topbar-shell,
  body:not(.info-page-body) .topbar-cover,
  body:not(.info-page-body) .container {
    width: 100%;
  }

  body:not(.info-page-body) .topbar-cover,
  body:not(.info-page-body) .institutional-section-split,
  body:not(.info-page-body) #home-tools-grid,
  body:not(.info-page-body) .plans-grid,
  body:not(.info-page-body) .stats-board,
  body:not(.info-page-body) .quote-grid,
  body:not(.info-page-body) .compliance-grid {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.info-page-body) .topbar-cover {
    grid-template-columns: 1fr;
  }

  body:not(.info-page-body) .institutional-section-muted {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
}

@media (max-width: 860px) {
  body:not(.info-page-body) .cpanel-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  body:not(.info-page-body) .cpanel-banner-btn {
    width: 100%;
  }

  body:not(.info-page-body) .topbar-shell {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    padding: 14px;
  }

  body:not(.info-page-body) .topbar-nav {
    justify-content: flex-start;
  }

  body:not(.info-page-body) .topbar-actions,
  body:not(.info-page-body) .topbar-entry-actions,
  body:not(.info-page-body) .tool-filter-row,
  body:not(.info-page-body) .topbar-cover-actions,
  body:not(.info-page-body) .topbar-cover-stats,
  body:not(.info-page-body) .signup-social-row,
  body:not(.info-page-body) .site-footer-redesign-main,
  body:not(.info-page-body) .site-footer-redesign-meta {
    width: 100%;
  }

  body:not(.info-page-body) .topbar-cover,
  body:not(.info-page-body) .institutional-section-split,
  body:not(.info-page-body) #home-tools-grid,
  body:not(.info-page-body) .plans-grid,
  body:not(.info-page-body) .stats-board,
  body:not(.info-page-body) .quote-grid,
  body:not(.info-page-body) .compliance-grid,
  body:not(.info-page-body) .topbar-visual-metrics-cards,
  body:not(.info-page-body) .signup-social-row {
    grid-template-columns: 1fr;
  }

  body:not(.info-page-body) .topbar-request-entry,
  body:not(.info-page-body) .topbar-login-entry {
    flex: 1 1 auto;
  }

  body:not(.info-page-body) .topbar-cover {
    padding: 32px 14px 24px;
    gap: 22px;
  }

  body:not(.info-page-body) .container {
    padding: 0 14px 32px;
  }

  body:not(.info-page-body) .topbar-cover-copy h1,
  body:not(.info-page-body) .menu-intro h1,
  body:not(.info-page-body) .institutional-copy h2,
  body:not(.info-page-body) .section-head h2 {
    font-size: clamp(2.1rem, 9vw, 3.3rem);
  }

  body:not(.info-page-body) .institutional-section {
    padding: 54px 0;
  }

  body:not(.info-page-body) #home-tools-grid .tool-card,
  body:not(.info-page-body) .journey-card,
  body:not(.info-page-body) .quote-card,
  body:not(.info-page-body) .compliance-card,
  body:not(.info-page-body) .plan-card,
  body:not(.info-page-body) .signup-card,
  body:not(.info-page-body) .faq-item-home,
  body:not(.info-page-body) .topbar-visual-card {
    border-radius: 24px;
  }
}

/* Tradutor PDF */
#tradutor-opcoes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

#tradutor-section .file-name-box select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d1d9e6;
  background: #f8fafc;
  color: #10213a;
  font-size: 14px;
}

#tradutor-preview {
  margin-top: 14px;
}

#tradutor-preview-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #334155;
}

@media (max-width: 900px) {
  #tradutor-opcoes {
    grid-template-columns: 1fr;
  }
}

/* Correções finais da home: rolagem, banner e ferramentas visíveis */
html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
}

body:not(.info-page-body):not(.overlay-open) {
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body:not(.info-page-body) .topbar {
  overflow: visible !important;
}

body:not(.info-page-body) .topbar-cover {
  width: min(1240px, calc(100% - 32px)) !important;
  min-height: 0 !important;
  margin: 16px auto 20px !important;
  padding: 34px 22px 28px !important;
  border-radius: 28px !important;
  place-items: center !important;
  text-align: center !important;
}

body:not(.info-page-body) .topbar-cover-copy {
  width: min(820px, 100%) !important;
  margin-inline: auto !important;
  align-items: center !important;
  text-align: center !important;
}

body:not(.info-page-body) .topbar-cover-copy h1 {
  max-width: 780px !important;
  margin: 16px auto 10px !important;
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
  letter-spacing: 0 !important;
}

body:not(.info-page-body) .topbar-cover-subtext {
  max-width: 720px !important;
}

body:not(.info-page-body) .topbar-cover-actions {
  margin-top: 18px !important;
}

body:not(.info-page-body) .topbar-cover-stats {
  margin-top: 14px !important;
}

body:not(.info-page-body) > .container {
  display: block !important;
  width: min(1240px, calc(100% - 32px)) !important;
  margin-inline: auto !important;
  padding: 0 0 40px !important;
}

body:not(.info-page-body) .tool-filter-row {
  margin-top: 12px !important;
}

body:not(.info-page-body) #home-tools-grid {
  margin-top: 24px !important;
}

@media (max-width: 860px) {
  body:not(.info-page-body) .topbar-shell {
    min-height: 64px !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  body:not(.info-page-body) .topbar-nav {
    display: none !important;
  }

  body:not(.info-page-body) .topbar-actions,
  body:not(.info-page-body) .topbar-entry-actions {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }

  body:not(.info-page-body) .topbar-login-entry,
  body:not(.info-page-body) .topbar-request-entry {
    min-height: 38px !important;
    flex: 1 1 0 !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  body:not(.info-page-body) .topbar-cover {
    width: min(100% - 20px, 760px) !important;
    padding: 20px 14px 18px !important;
    border-radius: 22px !important;
    margin-top: 10px !important;
  }

  body:not(.info-page-body) .topbar-cover-kicker {
    min-height: 30px !important;
    padding: 0 12px !important;
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
  }

  body:not(.info-page-body) .topbar-cover-copy h1 {
    margin-top: 12px !important;
    font-size: clamp(1.65rem, 6.8vw, 2.2rem) !important;
    line-height: 1.08 !important;
  }

  body:not(.info-page-body) .topbar-cover-subtext {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  body:not(.info-page-body) .topbar-cover-actions {
    margin-top: 14px !important;
    gap: 10px !important;
  }

  body:not(.info-page-body) .hero-primary-btn,
  body:not(.info-page-body) .hero-secondary-btn {
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  body:not(.info-page-body) .topbar-cover-stats {
    display: none !important;
  }

  body:not(.info-page-body) > .container {
    width: min(100% - 20px, 760px) !important;
  }
}

/* Home em largura total: banner e rodapé sem margens laterais */
body:not(.info-page-body) .topbar-cover {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 42px max(22px, calc((100vw - 1240px) / 2)) 32px !important;
  border-radius: 0 !important;
}

body:not(.info-page-body) .topbar-cover-copy {
  max-width: 820px !important;
}

body:not(.info-page-body) #marketing-footer,
body:not(.info-page-body) .site-footer-redesign {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body:not(.info-page-body) .site-footer-redesign {
  padding: 40px max(22px, calc((100vw - 1240px) / 2)) 30px !important;
  border-top: 1px solid #e4dbcf !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

body:not(.info-page-body) .site-footer-redesign-main,
body:not(.info-page-body) .site-footer-redesign-meta,
body:not(.info-page-body) .site-footer-redesign-brand p,
body:not(.info-page-body) .footer-copy {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 860px) {
  body:not(.info-page-body) .topbar-cover {
    width: 100% !important;
    padding: 26px 14px 22px !important;
    border-radius: 0 !important;
  }
}

/* Seções internas da home: largura editorial diferente do banner e do rodapé */
body:not(.info-page-body) #marketing-footer > .institutional-section {
  width: min(1240px, calc(100% - 44px)) !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:not(.info-page-body) #marketing-footer > .institutional-section-muted {
  background: transparent !important;
}

body:not(.info-page-body) #marketing-footer > .institutional-section-split {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr) !important;
}

body:not(.info-page-body) #marketing-footer > .plans-section {
  max-width: 1280px !important;
}

body:not(.info-page-body) #marketing-footer > .quote-grid-section,
body:not(.info-page-body) #marketing-footer > .faq-section {
  max-width: 1240px !important;
}

body:not(.info-page-body) #marketing-footer .institutional-copy h2,
body:not(.info-page-body) #marketing-footer .section-head h2 {
  max-width: 860px !important;
  font-size: clamp(2.25rem, 4.1vw, 4.35rem) !important;
  line-height: 1.06 !important;
}

body:not(.info-page-body) #marketing-footer .section-head-centered h2 {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1180px) {
  body:not(.info-page-body) #marketing-footer > .institutional-section-split {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 860px) {
  body:not(.info-page-body) #marketing-footer > .institutional-section {
    width: min(100% - 28px, 760px) !important;
  }

  body:not(.info-page-body) #marketing-footer .institutional-copy h2,
  body:not(.info-page-body) #marketing-footer .section-head h2 {
    font-size: clamp(2rem, 9vw, 3.1rem) !important;
  }
}

