/* SaaSCont - Modern Professional Accounting Engine Stylesheet */
:root {
  /* Modo Claro - Fundo Verde Sálvia Suave (#F2F7F4) */
  --bg-app: #F2F7F4;
  --bg-gradient: linear-gradient(135deg, #F2F7F4 0%, #E8F0EA 50%, #DEE8E0 100%);
  --card-bg: #ffffff;
  --card-hover: #f9fbf9;
  --bg-subtle: #f8fafc;
  --bg-subtle-hover: #f1f5f9;
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --border: #e2e8f0;
  --border-subtle: #e8ede8;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #2E6930;
  --primary-light: #3a823c;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --cta: #f59e0b;
  --cta-hover: #d97706;
  --terracotta: #c2410c;
  --salmon: #fb7185;
  --navbar-bg: rgba(242, 247, 244, 0.95);
  --navbar-border: rgba(46, 105, 48, 0.12);
  --navbar-text: #0f172a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --bg-card-inner: #f8fafc;
}

html.dark {
  /* Modo Escuro — Verde Nobre Petróleo & Florestal (Referência Print 1) */
  --bg-app: #081D17;
  --bg-gradient: radial-gradient(circle at 50% 10%, #0F3329 0%, #061611 100%);
  --card-bg: #0D2921;
  --card-hover: #12372D;
  --bg-subtle: #092019;
  --bg-subtle-hover: #0F2E24;
  --bg-card-inner: #092019;
  --input-bg: #071914;
  --input-border: rgba(94, 168, 155, 0.35);
  --border: rgba(94, 168, 155, 0.22);
  --border-subtle: rgba(94, 168, 155, 0.12);
  --text-main: #F0FDF4;
  --text-muted: #8FB5AB;
  --primary: #4ADE80;
  --primary-light: #86EFAC;
  --accent: #38A388;
  --accent-hover: #2E8B73;
  --accent-soft: rgba(56, 163, 136, 0.16);
  --cta: #F59E0B;
  --cta-hover: #D97706;
  --terracotta: #EA580C;
  --salmon: #FB7185;
  --navbar-bg: rgba(8, 29, 23, 0.88);
  --navbar-border: rgba(94, 168, 155, 0.2);
  --navbar-text: #F0FDF4;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 10px -1px rgba(0, 0, 0, 0.6), 0 2px 5px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.7), 0 4px 10px -2px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.8), 0 10px 15px -5px rgba(0, 0, 0, 0.6);
  --card-glow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 18px rgba(74, 222, 128, 0.12);
}

/* Regras de Títulos e Textos no Dark Mode (Alto Contraste) */
html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark .page-title,
html.dark .status-title,
html.dark .plan-name,
html.dark .auth-title,
html.dark .downloads-title {
  color: #FFFFFF !important;
}

html.dark .page-subtitle,
html.dark .auth-subtitle,
html.dark .status-message,
html.dark .field-hint {
  color: #94A3B8 !important;
}

html.dark .field-label,
html.dark .form-label {
  color: #F0FDF4 !important;
}

/* Botões Primários e Destaque no Dark Mode (Estilo Fintech com Verde Neon e Texto Profundo) */
html.dark .btn-primary {
  background: linear-gradient(135deg, #4ADE80 0%, #16A34A 100%) !important;
  color: #04240C !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4) !important;
}

html.dark .btn-primary:hover {
  background: linear-gradient(135deg, #86EFAC 0%, #22C55E 100%) !important;
  box-shadow: 0 6px 25px rgba(74, 222, 128, 0.6) !important;
  transform: translateY(-2px);
}

html.dark .status-card {
  background: #101e13 !important;
  border: 1.5px solid rgba(74, 222, 128, 0.25) !important;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 25px rgba(74, 222, 128, 0.08) !important;
}

html.dark .success-icon-box {
  background: rgba(74, 222, 128, 0.15) !important;
  color: #4ADE80 !important;
  box-shadow: 0 0 0 10px rgba(74, 222, 128, 0.08) !important;
}

/* Proteção e Harmonização Global para Dark Mode (Elimina superfícies brancas indesejadas) */
html.dark [style*="background: #ffffff"],
html.dark [style*="background:#fff"],
html.dark [style*="background: #fff;"],
html.dark [style*="background: #f8fafc"],
html.dark [style*="background: #f1f5f9"] {
  background: var(--card-bg) !important;
  color: var(--text-main) !important;
  border-color: var(--border) !important;
}

html.dark [style*="color: #64748b"],
html.dark [style*="color: #475569"],
html.dark [style*="color: #334155"] {
  color: var(--text-muted) !important;
}

html.dark code[style*="background:#e2e8f0"],
html.dark code[style*="background: #e2e8f0"] {
  background: var(--border) !important;
  color: var(--accent) !important;
}

/* Cards Contratuais & Garantia de Preço Vigente (Profiles Show) */
.contract-metric-card {
  background: var(--bg-card-inner, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem;
}

.contract-transparency-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.8rem;
  color: #166534;
  line-height: 1.5;
}

html.dark .contract-transparency-box {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(52, 211, 153, 0.25) !important;
  color: #86efac !important;
}

html.dark .contract-transparency-box strong {
  color: #bbf7d0 !important;
}

html.dark .contract-badge {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
  color: #4ade80 !important;
}

html.dark .contract-metric-card {
  background: var(--bg-card-inner, #092019) !important;
  border-color: var(--border) !important;
}

html.dark .contract-metric-accent,
html.dark .contract-price {
  color: #4ade80 !important;
}

.btn-upgrade-terracotta {
  color: #ea580c !important;
  border: 1px solid #ea580c !important;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  background: transparent;
}

.btn-upgrade-terracotta:hover {
  background: #ea580c !important;
  color: #ffffff !important;
}

html.dark .btn-upgrade-terracotta {
  color: #fb923c !important;
  border-color: #ea580c !important;
}

html.dark .btn-upgrade-terracotta:hover {
  background: #ea580c !important;
  color: #ffffff !important;
}

/* Cards de Download em conciliations/show (Zero caixas brancas no Dark Mode) */
html.dark .download-btn-card {
  background: #152918 !important;
  border: 1.5px solid rgba(74, 222, 128, 0.25) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html.dark .download-btn-card:hover {
  background: #1b351f !important;
  border-color: rgba(74, 222, 128, 0.4) !important;
}

html.dark .download-title {
  color: #FFFFFF !important;
}

html.dark .download-meta {
  color: #94A3B8 !important;
}

html.dark .pdf-btn .download-icon {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
}

html.dark .collection-pdf-btn .download-icon {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
}

html.dark .ofx-btn .download-icon {
  background: rgba(74, 222, 128, 0.2) !important;
  color: #4ade80 !important;
}

html.dark .json-btn .download-icon {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #38bdf8 !important;
}

html.dark .xlsx-btn .download-icon {
  background: rgba(34, 197, 94, 0.2) !important;
  color: #4ade80 !important;
}

/* Cards de Preços e Assinatura no Dark Mode */
html.dark .pricing-card {
  background: #122216 !important;
  border: 1.5px solid rgba(74, 222, 128, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 18px rgba(74, 222, 128, 0.1) !important;
  color: #F8FAFC !important;
}

html.dark .pricing-card.featured {
  border-color: #4ADE80 !important;
  box-shadow: 0 14px 40px -5px rgba(0, 0, 0, 0.8), 0 0 25px rgba(74, 222, 128, 0.25) !important;
}

html.dark .pricing-card.horizontal-card {
  background: #142819 !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
}

html.dark .plan-price {
  color: #4ADE80 !important;
}

html.dark .plan-features {
  color: #E2E8F0 !important;
}

html.dark .plan-features li svg {
  color: #4ADE80 !important;
}

html.dark .kpi-card {
  background: #162a1a !important;
  border: 1px solid rgba(74, 222, 128, 0.2) !important;
}

html.dark .kpi-label {
  color: #94A3B8 !important;
}

html.dark .kpi-value {
  color: #FFFFFF !important;
}

html.dark .kpi-value.accent {
  color: #4ADE80 !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.app-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .plan-name, .page-title, .cta-banner-title, .partners-title, .brand-name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navbar-border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo Oficial SaaSCont com Ondas Fluidas */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.brand-icon-wave {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-lg .brand-icon-wave {
  width: 64px;
  height: 64px;
}

.brand-logo-img,
.wave-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(34, 197, 94, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
}

.brand-logo-lg .brand-name {
  font-size: 2.4rem;
}

.brand-saas {
  color: #0F172A;
  transition: color 0.2s ease;
}

html.dark .brand-saas {
  color: #FFFFFF !important;
}

.brand-cont {
  color: #15803D;
  transition: color 0.2s ease;
}

html.dark .brand-cont {
  color: #4ADE80 !important;
}

.brand-badge {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0.25rem;
}

html.dark .brand-badge {
  color: #94A3B8 !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.sun-icon {
  color: #F59E0B !important;
}

.moon-icon {
  color: #6366F1 !important;
}



.header-security-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.security-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Wrapper */
.main-wrapper {
  flex: 1;
  max-width: 1120px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Flash alerts */
.flash-alert, .flash-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
  font-weight: 500;
}

.flash-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.flash-notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* Page Header Banner */
.page-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.page-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Form Container */
.upload-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
  margin-bottom: 2rem;
}

/* Modo Tabs */
.mode-tabs-container {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-subtle);
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.reconciliation-modes-wrapper {
  margin-bottom: 2rem;
}

.mode-row {
  width: 100%;
}

.mode-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--text-muted);
}

.mode-tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-subtle-hover);
}

.mode-tab-btn.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.mode-tab-btn.active svg {
  stroke: #ffffff;
}

@media (max-width: 640px) {
  .mode-row.line-2,
  .mode-row.line-3 {
    grid-template-columns: 1fr !important;
  }
}

.company-selection-box {
  margin-bottom: 2rem;
  background: var(--bg-subtle);
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

/* Token Section */
.token-section {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  pointer-events: none;
}

.text-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.text-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

/* Dual Upload Grid */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.dropzone-box {
  border: 2px dashed var(--border);
  background: var(--bg-subtle);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.dropzone-box:hover, .dropzone-box.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.dropzone-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.dropzone-box:hover .dropzone-icon {
  transform: scale(1.08);
}

.dropzone-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.dropzone-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.dropzone-pill {
  font-size: 0.725rem;
  font-weight: 600;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.file-preview-list {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.file-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--primary);
  text-align: left;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.card-clear-container {
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

.btn-clear-card {
  position: relative;
  z-index: 25;
  pointer-events: auto;
  cursor: pointer;
}

.btn-remove-file {
  position: relative;
  z-index: 25;
  pointer-events: auto;
  cursor: pointer;
}

.file-name-span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Submit Section */
.submit-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  width: 100%;
  max-width: 380px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.security-footer-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Status View Styles */
.status-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.status-indicator-box {
  margin-bottom: 1.75rem;
}

.spinner-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
  border: 5px solid rgba(16, 185, 129, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.status-success-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 640px) {
  .status-success-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .status-success-header div {
    text-align: center !important;
  }
  .status-success-header .status-title,
  .status-success-header .status-message {
    text-align: center !important;
  }
}

.success-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #ecfdf5;
  color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.12);
}

.status-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.status-message {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 1.75rem;
  line-height: 1.5;
}

/* KPI Summary Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  text-align: left;
}

.kpi-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 1.25rem 1rem;
  border-radius: 14px;
  min-width: 0;
  overflow: hidden;
}

.kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-value {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}

.kpi-value.accent {
  color: var(--accent);
}

/* Banner de Diretriz de Integração Contábil Oficial (Mister Contador & Domínio) */
.integration-guideline-banner {
  background: rgba(56, 163, 136, 0.08);
  border: 1.5px solid rgba(56, 163, 136, 0.35);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-align: left;
}

html:not(.dark) .integration-guideline-banner {
  background: #F0FDF4;
  border-color: #059669;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.1);
}

.integration-guideline-icon {
  font-size: 1.65rem;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(56, 163, 136, 0.16);
  border: 1px solid rgba(56, 163, 136, 0.3);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

html:not(.dark) .integration-guideline-icon {
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.integration-guideline-content {
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}

.integration-guideline-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.integration-guideline-title {
  color: #4ADE80 !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

html:not(.dark) .integration-guideline-title {
  color: #047857 !important;
}

.integration-guideline-badge {
  background: #15803D;
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

html:not(.dark) .integration-guideline-badge {
  background: #059669;
}

.integration-guideline-desc {
  margin: 0 0 0.6rem 0;
  color: #E2E8F0 !important;
  font-size: 0.885rem;
  line-height: 1.55;
}

html:not(.dark) .integration-guideline-desc {
  color: #064E3B !important;
}

.integration-guideline-box {
  background: rgba(8, 29, 23, 0.75);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(94, 168, 155, 0.25);
  font-size: 0.825rem;
  color: #CBD5E1 !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

html:not(.dark) .integration-guideline-box {
  background: #FFFFFF;
  border-color: rgba(5, 150, 105, 0.2);
  color: #334155 !important;
}

/* Downloads Grid */
.downloads-section {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.downloads-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.download-btn-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.download-btn-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.download-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdf-btn .download-icon { background: #fee2e2; color: #dc2626; }
.collection-pdf-btn .download-icon { background: #fef3c7; color: #d97706; }
.ofx-btn .download-icon { background: #e0e7ff; color: var(--indigo); }
.json-btn .download-icon { background: #e0f2fe; color: #0284c7; }
.xlsx-btn .download-icon { background: #dcfce7; color: #16a34a; }

.download-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.download-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.download-meta {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Purge Countdown Banner */
.countdown-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #b45309;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.75rem;
}

/* Footer */
.app-footer {
  margin-top: auto;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .page-title { font-size: 1.75rem; }
  .upload-card { padding: 1.5rem; }
  .navbar-container { flex-direction: column; gap: 0.5rem; }
}

/* ==========================================================================
   Auth, Multitenancy & Subscription UI Extensions
   ========================================================================== */

/* Navbar Navigation */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

html.dark .nav-link {
  color: #94A3B8;
  font-weight: 500;
}

html.dark .nav-link:hover, html.dark .nav-link.active {
  color: #4ADE80 !important;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown .dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0;
  margin: 0;
  outline: none;
  line-height: inherit;
  white-space: nowrap;
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown .dropdown-toggle:hover,
.nav-dropdown .dropdown-toggle:focus {
  color: var(--primary);
}

html.dark .nav-dropdown .dropdown-toggle {
  color: #94A3B8;
  font-weight: 500;
}

html.dark .nav-dropdown:hover .dropdown-toggle,
html.dark .nav-dropdown .dropdown-toggle:hover {
  color: #4ADE80 !important;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  z-index: 100;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content {
  display: block;
}

.nav-dropdown-content .dropdown-item {
  display: block;
  padding: 0.65rem 1.15rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-content .dropdown-item:hover {
  background: var(--bg-subtle);
  color: var(--accent) !important;
}

html.dark .nav-dropdown-content {
  background: #0f201b;
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}


.nav-user-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--text-main);
  border: 1px solid var(--border);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

html.dark .nav-user-pill {
  background: #162919;
  border-color: rgba(74, 222, 128, 0.25);
  color: #F1F5F9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.plan-pill-badge {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

html.dark .plan-pill-badge {
  background: #1d4ed8;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.825rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.btn-logout:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* Trial Banners */
.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.trial-banner-info {
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  color: #1e40af;
}

.trial-banner-urgent {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  color: #b45309;
}

.trial-banner-critical {
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
  color: #b91c1c;
}

.trial-banner-action {
  font-weight: 600;
  text-decoration: underline;
  color: inherit;
  margin-left: 1rem;
}

/* Auth Cards & Containers */
.auth-container {
  max-width: 460px;
  margin: 3rem auto;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-label-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--border);
  background: var(--input-bg);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.btn-primary-full {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary-full:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* Pricing / Subscription Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 1rem;
  padding: 2rem;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-md);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.2);
}

html.dark .pricing-card {
  background: #122216 !important;
  border: 1.5px solid rgba(74, 222, 128, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 18px rgba(74, 222, 128, 0.08) !important;
  color: #FFFFFF !important;
}

html.dark .pricing-card:hover {
  border-color: #4ADE80 !important;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.8), 0 0 25px rgba(74, 222, 128, 0.2) !important;
}

html.dark .pricing-card.featured {
  border-color: #4ADE80 !important;
  box-shadow: 0 14px 40px -5px rgba(0, 0, 0, 0.8), 0 0 25px rgba(74, 222, 128, 0.22) !important;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

html.dark .pricing-badge {
  background: #4ADE80 !important;
  color: #05200e !important;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

html.dark .plan-name {
  color: #FFFFFF !important;
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}

html.dark .plan-price {
  color: #4ADE80 !important;
}

.plan-price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-main);
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.plan-features li svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.plan-features li span {
  flex: 1;
}

/* Horizontal Pricing Cards (Experimental & Ilimitado) */
.pricing-card.horizontal-card {
  padding: 1.25rem 1.75rem;
  border-radius: 0.875rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.horizontal-card .horizontal-left {
  flex: 0 0 250px;
}

.horizontal-card .horizontal-features {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 180px;
}

.horizontal-card .horizontal-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
}

.horizontal-card .horizontal-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

.horizontal-card .horizontal-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: right;
  flex-shrink: 0;
}

.horizontal-card .horizontal-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  white-space: nowrap;
}

.horizontal-card .horizontal-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

.horizontal-card .horizontal-action {
  width: 170px;
  flex-shrink: 0;
}

.horizontal-card .horizontal-action .btn-primary-full {
  width: 100%;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .pricing-card.horizontal-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .horizontal-card .horizontal-left,
  .horizontal-card .horizontal-features,
  .horizontal-card .horizontal-right {
    flex: auto;
    width: 100%;
  }
  .horizontal-card .horizontal-right {
    justify-content: space-between;
  }
}

/* Blocked Trial Screen */
.blocked-container {
  max-width: 1040px;
  margin: 2.5rem auto;
  background: var(--card-bg, #ffffff);
  color: var(--text-main, #0f172a);
  padding: 3rem 2.5rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border, #e2e8f0);
  text-align: center;
  box-sizing: border-box;
}

html.dark .blocked-container {
  background: #0D2921 !important;
  color: #F0FDF4 !important;
  border-color: rgba(94, 168, 155, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.8) !important;
}

.blocked-stats-box {
  display: flex;
  justify-content: space-around;
  background: var(--bg-subtle, #f8fafc);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border, #e2e8f0);
}

html.dark .blocked-stats-box {
  background: #092019 !important;
  border-color: rgba(94, 168, 155, 0.2) !important;
}

.blocked-stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent, #10b981);
}

.blocked-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Client Companies Management */
.companies-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.quota-pill {
  background: var(--bg-subtle);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.companies-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.companies-table th {
  background: var(--bg-subtle);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.companies-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-main);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.active {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-badge.inactive {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ==========================================================================
   LANDING PAGE — PANDAROSAN IT SOLUTION / SAASCONT
   ========================================================================== */

.landing-body {
  overflow-x: clip; /* clip não interfere no position: sticky do scroller */
}

.landing-navbar,
.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100%;
  padding: 0.65rem 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

html.dark .landing-navbar,
html.dark .navbar {
  background: rgba(10, 20, 12, 0.85) !important;
  border-bottom: 1px solid rgba(74, 222, 128, 0.16) !important;
}

html:not(.dark) .landing-navbar,
html:not(.dark) .navbar {
  background: rgba(242, 247, 244, 0.88) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
}

.brand-link-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.pandarosan-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(245, 158, 11, 0.15));
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  display: none;
}

@media (min-width: 900px) {
  .pandarosan-badge {
    display: inline-block;
  }
}

.landing-nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .landing-nav-links {
    display: flex;
  }
}

.nav-anchor {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-anchor:hover {
  color: var(--accent);
}

.nav-login-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-login-btn:hover {
  background: var(--bg-subtle-hover);
}

.nav-cta-btn {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  background: var(--cta);
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Landing Container */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.landing-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-flow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 520px;
  pointer-events: none;
  z-index: 0;
}

.flow-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  display: inline-block;
}

.hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #f59e0b 55%, #c2410c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cta);
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  color: var(--text-main);
  border: 1.5px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--accent);
  background: var(--bg-subtle-hover);
}

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Mockup Dinâmico */
.hero-mockup-wrapper {
  max-width: 1060px;
  margin: 0 auto;
}

.mockup-window {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.ctrl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-address-bar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.85rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 380px;
  width: 100%;
}

.mockup-badge-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.m-stat {
  display: flex;
  flex-direction: column;
}

.m-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.m-stat-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.text-accent { color: var(--accent) !important; }
.text-highlight { color: #f59e0b !important; }

.mockup-transformation-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 768px) {
  .mockup-transformation-grid {
    grid-template-columns: 1fr;
  }
  .m-divider-arrow {
    transform: rotate(90deg);
    margin: 1rem auto;
  }
}

.m-col {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.col-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.tag-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.bank-entry-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
}

.entry-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 0.5rem;
}

.entry-line .date { color: var(--text-muted); font-size: 0.75rem; }
.entry-line .hist { flex: 1; color: var(--text-main); }
.entry-line .val.negative { color: #ef4444; }
.entry-line .val.positive { color: #10b981; }

.entry-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
  line-height: 1.35;
}

.m-divider-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.arrow-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.arrow-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.reconciled-entries-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.r-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.r-item .r-name { font-weight: 600; color: var(--text-main); }
.r-item .r-doc { font-size: 0.7rem; color: var(--text-muted); }
.r-item .r-val { font-weight: 700; color: var(--primary); }

.r-item.r-more {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  font-size: 0.75rem;
}

.badge-ok {
  color: var(--accent);
  font-weight: 700;
}

.r-item.r-credit {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  font-size: 0.75rem;
}

.badge-shield {
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.mockup-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mockup-files-ready {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ready-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.mockup-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Faixa de Compatibilidade & Bancos */
.landing-partners {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.partners-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.partners-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.partners-category {
  margin-bottom: 1rem;
}

.category-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.partners-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.bank-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bank-dot.itau { background: #ec7000; }
.bank-dot.bradesco { background: #cc092f; }
.bank-dot.santander { background: #ea1d25; }
.bank-dot.bb { background: #fdf200; }
.bank-dot.caixa { background: #0070ba; }
.bank-dot.sicredi { background: #00874c; }
.bank-dot.sicoob { background: #003641; }
.bank-dot.inter { background: #ff7a00; }
.bank-dot.nubank { background: #820ad1; }

.erps-grid .erp-card {
  border-left: 3px solid var(--accent);
}

/* Soluções Exclusivas */
.landing-solutions {
  padding: 5rem 0;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(34, 197, 94, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 1080px;
  line-height: 1.55;
  margin-bottom: 3rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.solution-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.solution-card.solution-card-wide {
  grid-column: 1 / -1;
  padding: 2.25rem 2rem;
}

.solution-card.featured {
  border-color: var(--cta);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.2);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--cta);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.solution-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.box-green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.box-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.box-terracotta { background: rgba(194, 65, 12, 0.15); color: #c2410c; }
.box-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.box-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.solution-prefix {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.solution-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.solution-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Comparativo de Mercado */
.landing-comparison {
  padding: 5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.85rem;
}

.col-feature { width: 38%; color: var(--text-muted); }
.col-saascont {
  width: 26%;
  background: rgba(34, 197, 94, 0.08);
}
.col-other { width: 20%; color: var(--text-muted); }
.col-manual { width: 16%; color: var(--text-muted); }

.th-saascont-badge {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.th-saascont-badge strong {
  font-size: 1.15rem;
  color: var(--primary);
}

.sub-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.comparison-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.feature-title strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-title small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.check-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.saascont-win {
  background: rgba(34, 197, 94, 0.05);
  color: var(--accent);
}

.highlight-win strong {
  font-size: 1.15rem;
  color: var(--primary);
}

.warning-cell { color: #d97706; }
.danger-cell { color: #ef4444; }

/* Segurança & LGPD */
.landing-security {
  padding: 5rem 0;
}

.security-card {
  background: linear-gradient(135deg, rgba(46, 105, 48, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
  border: 1.5px solid rgba(46, 105, 48, 0.25);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

@media (max-width: 768px) {
  .security-card {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }
}

.security-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(46, 105, 48, 0.35);
}

.security-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.security-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.security-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.security-badges-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sec-badge {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  color: var(--text-main);
}

/* Planos */
.landing-pricing {
  padding: 5rem 0;
  background: var(--bg-subtle);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1080px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
  }
}

.landing-plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.landing-plan-card.popular {
  border-color: #EA580C;
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.3);
}

.landing-plan-card.current-plan:not(.popular) {
  border-color: #10B981 !important;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3) !important;
}

html.dark .landing-plan-card {
  background: #112413 !important;
  border-color: rgba(74, 222, 128, 0.2) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 18px rgba(74, 222, 128, 0.06) !important;
  color: #FFFFFF !important;
}

html.dark .landing-plan-card.popular {
  border-color: #FB923C !important;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(234, 88, 12, 0.3) !important;
}

html.dark .landing-plan-card.current-plan:not(.popular) {
  border-color: #10B981 !important;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

.terracota-highlight {
  color: #EA580C !important;
  font-weight: 800;
}

html.dark .terracota-highlight {
  color: #FB923C !important;
}

.plan-header {
  margin-bottom: 1.25rem;
}

.landing-plan-card .plan-name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.plan-price-wrap .currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-price-wrap .price {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.85rem, 2.2vw, 2.45rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  white-space: nowrap;
}

.plan-price-wrap .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-metric-pill {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(234, 88, 12, 0.08);
  color: #C2410C;
  border: 1px solid rgba(234, 88, 12, 0.25);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  text-align: center;
  line-height: 1.35;
}

html.dark .plan-metric-pill {
  background: rgba(234, 88, 12, 0.16);
  color: #FB923C;
  border-color: rgba(251, 146, 60, 0.35);
}

.plan-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.btn-plan-select {
  display: block;
  text-align: center;
  padding: 0.85rem 1.25rem;
  background: rgba(74, 222, 128, 0.08);
  border: 1.5px solid #4ADE80;
  color: #4ADE80;
  border-radius: 12px;
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-plan-select:hover {
  background: #4ADE80;
  color: #04240C !important;
  border-color: #4ADE80;
  box-shadow: 0 4px 18px rgba(74, 222, 128, 0.4);
  transform: translateY(-2px);
}

html:not(.dark) .btn-plan-select {
  background: rgba(21, 128, 61, 0.08);
  border-color: #15803D;
  color: #15803D;
}

html:not(.dark) .btn-plan-select:hover {
  background: #15803D;
  color: #FFFFFF !important;
  border-color: #15803D;
  box-shadow: 0 4px 18px rgba(21, 128, 61, 0.35);
}

.btn-popular-cta {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45) !important;
}

.btn-popular-cta:hover {
  background: linear-gradient(135deg, #D97706 0%, #C2410C 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(194, 65, 12, 0.55) !important;
  transform: translateY(-2px);
}

.btn-current-plan {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100% !important;
  text-align: center;
  padding: 0.85rem 1rem !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1.5px solid #10b981 !important;
  color: #065f46 !important;
  border-radius: 12px !important;
  font-size: 0.925rem !important;
  font-weight: 800 !important;
  cursor: default !important;
  box-sizing: border-box;
}

html.dark .btn-current-plan {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: #34d399 !important;
  color: #34d399 !important;
}

.btn-downgrade-plan {
  display: block !important;
  width: 100% !important;
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 1rem !important;
  background: rgba(100, 116, 139, 0.12) !important;
  border: 1.5px solid #64748b !important;
  color: #334155 !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.btn-downgrade-plan:hover {
  background: #64748b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

html.dark .btn-downgrade-plan {
  background: rgba(148, 163, 184, 0.1) !important;
  border-color: #475569 !important;
  color: #cbd5e1 !important;
}

html.dark .btn-downgrade-plan:hover {
  background: #475569 !important;
  color: #ffffff !important;
}

/* CTA Final Banner */
.landing-cta-banner {
  padding: 5rem 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, #1b3d1f 0%, #112413 100%);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  color: #ffffff;
}

.cta-banner-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  color: #f0fdf4;
}

.cta-banner-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.btn-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cta);
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.25s ease;
}

.btn-banner-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55);
}

.cta-banner-hint {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1.25rem;
}

/* Landing Footer */
.landing-footer {
  background: var(--navbar-bg);
  border-top: 1px solid var(--navbar-border);
  padding: 4.5rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

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

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

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 1rem 0 1.25rem;
  max-width: 320px;
}

.pandarosan-signature {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
}

.pandarosan-signature strong {
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: 0.15rem;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a,
.footer-links li span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Processing Hourglass & Progress Bar */
@keyframes hourglass-spin {
  0% { transform: rotate(0deg); }
  40% { transform: rotate(180deg); }
  50% { transform: rotate(180deg); }
  90% { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

.animate-hourglass {
  animation: hourglass-spin 3s ease-in-out infinite;
  display: inline-block;
  transform-origin: center;
}

@keyframes progress-slide {
  0% { left: -40%; width: 35%; }
  50% { left: 30%; width: 50%; }
  100% { left: 100%; width: 35%; }
}

.progress-bar-indeterminate {
  animation: progress-slide 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   Brand Guide & Design System Oficial (Print 1 & Print 2)
   - Onda Vetorial (Canvas Wave)
   - Botões Flutuantes (Vitrine e Scroll to Top)
   - Seletor Toggle Mensal / Anual ("Economize até 13%")
   - Demonstrativo "Elegant Data Table"
   ========================================================================== */

/* Z-Index Hierarchy: Garante conteúdo interativo acima do Canvas */
.navbar,
.landing-navbar,
.main-wrapper,
.landing-main,
.landing-footer,
.app-footer {
  position: relative;
  z-index: 10;
}

/* Canvas Wave Background */
.bg-wave-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Botão Liga/Desliga de Ondas no Header */
.wave-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wave-toggle-btn:hover {
  background: var(--card-hover);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.wave-toggle-btn.wave-active {
  color: var(--accent);
}

.wave-toggle-btn.wave-inactive {
  opacity: 0.5;
  color: var(--text-muted);
}

/* Botão Flutuante de Retorno à Vitrine (Área Logada) */
.floating-home-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-home-btn:hover {
  background: var(--primary);
  color: #FFFFFF !important;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Botão Flutuante Voltar ao Topo (Scroll to Top) */
.floating-scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-scroll-top-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Seletor Segmented Control Mensal / Anual (Alto Contraste & Affordance de Conversão) */
.pricing-pill-toggle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem 0 2rem 0;
}

.pricing-pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  padding: 6px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html.dark .pricing-pill-toggle {
  background: #092019;
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.pricing-pill-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

html.dark .pricing-pill-btn {
  background: #0f2c23;
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.pricing-pill-btn:hover:not(.active) {
  background: #f8fafc;
  color: #0f172a;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

html.dark .pricing-pill-btn:hover:not(.active) {
  background: #143d31;
  color: #ffffff;
  border-color: #22c55e;
}

.pricing-pill-btn.active {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

html.dark .pricing-pill-btn.active {
  background: #10b981;
  color: #04240c;
  border-color: #10b981;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

.pricing-pill-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
  letter-spacing: 0.02em;
}

html.dark .pricing-pill-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}

.pricing-pill-btn.active .pricing-pill-badge {
  background: #ffffff;
  color: #047857;
  border-color: #ffffff;
}

html.dark .pricing-pill-btn.active .pricing-pill-badge {
  background: #04240c;
  color: #10b981;
  border-color: #04240c;
}

/* Banner de Incentivo Anual */
.annual-incentive-banner {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 1.15rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.25);
}

html.dark .annual-incentive-banner {
  background: linear-gradient(135deg, #06382a 0%, #0c4a38 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Cards Horizontais de Planos (Experimental & Ilimitado - Apresentação em Linha Única do Modelo Anterior) */
.pricing-horizontal-card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 14px;
  padding: 1.25rem 2rem;
  border: 1.5px solid var(--border);
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  width: 100%;
  margin-bottom: 2rem;
}

.pricing-horizontal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-horizontal-card.experimental {
  background: var(--card-bg);
  border-color: var(--border);
}

html.dark .pricing-horizontal-card.experimental {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-horizontal-card.ilimitado {
  background: var(--card-bg);
  border: 1.5px solid #fed7aa;
}

html.dark .pricing-horizontal-card.ilimitado {
  background: rgba(234, 88, 12, 0.05);
  border-color: rgba(234, 88, 12, 0.35);
}

.pricing-horizontal-card .btn-primary {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Preço nos cards: inquebrável, tabular e padrão monetário brasileiro */
.plan-price {
  white-space: nowrap !important;
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
}

.currency-symbol {
  font-size: 0.72em;
  font-weight: 700;
  margin-right: 0.15rem;
  vertical-align: baseline;
}

/* Valor unitário por empresa no badge verde */
.plan-metric-pill {
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

html:not(.dark) .plan-metric-pill {
  background: rgba(21, 128, 61, 0.08);
  color: #15803D;
  border-color: rgba(21, 128, 61, 0.2);
}

/* Elegant Data Table (Demonstrativo Visual na Landing) */
.elegant-data-table-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin: 2.5rem 0;
}

.elegant-data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.elegant-data-table th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.elegant-data-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}

.elegant-data-table tr:last-child td {
  border-bottom: none;
}

.elegant-data-table tr:hover td {
  background: var(--card-hover);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-status-conciliated {
  background: rgba(74, 222, 128, 0.15);
  color: #16a34a;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

html.dark .badge-status-conciliated {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.35);
}

.badge-status-batch {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

html.dark .badge-status-batch {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

/* Lote Compilado & Demonstrativo Analítico */
.batch-compiled-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html.dark .batch-compiled-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
}

.batch-compiled-top {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.batch-badge-box {
  background: #f5f3ff;
  border-right: 1.5px solid #ddd6fe;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
}

html.dark .batch-badge-box {
  background: rgba(124, 58, 237, 0.12);
  border-right-color: rgba(139, 92, 246, 0.3);
}

.batch-badge-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

html.dark .batch-badge-title {
  color: #a78bfa;
}

.batch-badge-code {
  font-size: 1.35rem;
  font-weight: 900;
  color: #5b21b6;
  letter-spacing: -0.02em;
}

html.dark .batch-badge-code {
  color: #c4b5fd;
}

.batch-metrics-box {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  align-items: center;
  background: #fffbeb;
}

html.dark .batch-metrics-box {
  background: rgba(245, 158, 11, 0.08);
}

.batch-metric-item .metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #b45309;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

html.dark .batch-metric-item .metric-label {
  color: #fbbf24;
}

.batch-metric-item .metric-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.batch-compiled-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.compiled-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

html.dark .compiled-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.accordion-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.accordion-toggle-btn:hover {
  background: var(--bg-subtle);
  color: var(--accent);
  border-color: var(--accent);
}

.sub-entries-drawer {
  display: none;
  background: var(--bg-subtle);
  border-top: 1px dashed var(--border);
  padding: 1rem 1.5rem;
}

.sub-entries-drawer.is-open {
  display: block;
}

/* Botão Histórico de Lotes em Terracota no Dark Mode */
.btn-terracotta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-terracotta-link:hover {
  background: var(--card-hover);
  border-color: var(--text-muted);
}

html.dark .btn-terracotta-link {
  color: #ea580c !important;
  border-color: rgba(234, 88, 12, 0.45) !important;
  background: rgba(234, 88, 12, 0.1) !important;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15) !important;
}

html.dark .btn-terracotta-link:hover {
  background: rgba(234, 88, 12, 0.22) !important;
  border-color: #ea580c !important;
  color: #ffedd5 !important;
}

/* Link Solicitar Novo Banco (Terracota no Dark Mode) */
.btn-solicitar-banco {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-solicitar-banco:hover {
  background: var(--card-hover);
  border-color: var(--text-muted);
}

html.dark .btn-solicitar-banco {
  color: var(--terracotta, #ea580c) !important;
  border-color: rgba(234, 88, 12, 0.45) !important;
  background: rgba(234, 88, 12, 0.08) !important;
}

html.dark .btn-solicitar-banco:hover {
  background: rgba(234, 88, 12, 0.2) !important;
  border-color: var(--terracotta, #ea580c) !important;
  color: #ffedd5 !important;
}

/* Grid Desafogada dos KPIs em Lançamentos Apurados */
.kpi-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 1100px) {
  .kpi-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .kpi-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsividade Adicional do Mockup na Landing Page */
@media (max-width: 768px) {
  .hero-mockup-wrapper {
    margin: 0 -0.25rem;
  }
  .mockup-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
  }
  .mockup-address-bar {
    order: 3;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .mockup-badge-live {
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
  }
  .mockup-stats-bar {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  .mockup-stats-bar {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Trava de Dispositivos Móveis na Área Operacional (Desktop Gate < 1024px)
   ========================================================================== */
.desktop-gate-overlay {
  display: none;
}

@media (max-width: 1023px) {
  .desktop-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
    overflow-y: auto;
  }

  .desktop-gate-card {
    background: var(--bg-surface, #ffffff);
    color: var(--text-main, #0f172a);
    border-radius: 20px;
    max-width: 490px;
    width: 100%;
    padding: 2.25rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border, rgba(226, 232, 240, 0.8));
    text-align: center;
    box-sizing: border-box;
    animation: fadeInGateModal 0.25s ease-out;
  }

  @keyframes fadeInGateModal {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  html.dark .desktop-gate-card {
    background: #0f172a;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .desktop-gate-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .desktop-gate-icon {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
  }

  .desktop-gate-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c2410c;
    background: rgba(234, 88, 12, 0.12);
    border: 1px solid rgba(234, 88, 12, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
  }

  html.dark .desktop-gate-badge {
    color: #fb923c;
    background: rgba(234, 88, 12, 0.2);
    border-color: rgba(234, 88, 12, 0.4);
  }

  .desktop-gate-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem 0;
    line-height: 1.25;
  }

  .desktop-gate-description {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted, #64748b);
    margin: 0 0 1.25rem 0;
  }

  html.dark .desktop-gate-description {
    color: #94a3b8;
  }

  .desktop-gate-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--bg-subtle, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-main, #1e293b);
    margin-bottom: 1.5rem;
  }

  html.dark .desktop-gate-callout {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
  }

  .desktop-gate-callout svg {
    flex-shrink: 0;
    color: var(--accent, #047857);
    margin-top: 0.1rem;
  }

  .desktop-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .btn-gate-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent, #047857);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
  }

  .btn-gate-primary:hover {
    filter: brightness(1.1);
  }

  .btn-gate-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border, #cbd5e1);
    color: var(--text-muted, #64748b);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
  }

  .btn-gate-secondary:hover {
    background: var(--bg-subtle, #f1f5f9);
    color: var(--text-main, #0f172a);
  }
}

/* ==========================================================================
   FAQ Accordion (Sanfona Interativa com Details & Summary)
   ========================================================================== */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.faq-accordion-item {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.faq-accordion-item:hover {
  border-color: var(--accent, #047857);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.08);
}

.faq-accordion-item[open] {
  border-color: var(--accent, #047857);
  background: var(--card-bg, #ffffff);
  box-shadow: 0 6px 18px rgba(4, 120, 87, 0.12);
}

html.dark .faq-accordion-item {
  background: rgba(6, 32, 20, 0.72);
  border-color: rgba(74, 222, 128, 0.16);
  backdrop-filter: blur(8px);
}

html.dark .faq-accordion-item:hover {
  background: rgba(8, 42, 26, 0.85);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

html.dark .faq-accordion-item[open] {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(9, 48, 30, 0.92);
}

.faq-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main, #0f172a);
  user-select: none;
  list-style: none;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-accordion-summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-summary:hover {
  color: var(--accent, #047857);
}

html.dark .faq-accordion-summary {
  color: #f1f5f9;
}

html.dark .faq-accordion-summary:hover {
  color: #4ade80;
}

.faq-summary-text {
  flex: 1;
  line-height: 1.45;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle, #f1f5f9);
  color: var(--text-muted, #64748b);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-accordion-item[open] .faq-icon {
  transform: rotate(180deg);
  background: var(--accent, #047857);
  color: #ffffff;
}

html.dark .faq-icon {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

html.dark .faq-accordion-item[open] .faq-icon {
  background: #22c55e;
  color: #052e16;
}

.faq-accordion-content {
  padding: 0 1.35rem 1.25rem 1.35rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted, #475569);
  border-top: 1px solid var(--border-subtle, rgba(226, 232, 240, 0.6));
  padding-top: 0.85rem;
  animation: fadeInFaqContent 0.25s ease-out;
}

@keyframes fadeInFaqContent {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

html.dark .faq-accordion-content {
  color: #cbd5e1;
  border-top-color: rgba(74, 222, 128, 0.15);
}

.faq-accordion-content p {
  margin: 0.5rem 0;
}

.faq-accordion-content code {
  background: var(--bg-subtle, #f1f5f9);
  color: var(--accent, #047857);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: monospace;
}

html.dark .faq-accordion-content code {
  background: rgba(255, 255, 255, 0.08);
  color: #4ade80;
}

/* Metric KPI Cards (Subscription Dashboard) */
.metric-kpi-card {
  background: var(--card-bg, #ffffff);
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.2s ease;
}

.metric-kpi-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  font-weight: 800;
  letter-spacing: 0.04em;
}

html.dark .metric-kpi-title {
  color: #94a3b8;
}

.metric-kpi-value {
  font-weight: 800;
  color: #047857;
  margin: 0.65rem 0 0.3rem 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

html.dark .metric-kpi-value {
  color: #4ade80;
}

.metric-kpi-sub {
  font-size: 0.88rem;
  color: #059669;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

html.dark .metric-kpi-sub {
  color: #a7f3d0;
}

.metric-kpi-footer {
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
  line-height: 1.35;
}

html.dark .metric-kpi-footer {
  color: #cbd5e1;
}

/* ==========================================================================
   Cadastros Domínio Sistemas (Tabs, Cards, Dark Mode & Modals)
   ========================================================================== */
.dominio-entity-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dominio-entity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.company-tab-btn {
  position: relative;
  outline: none;
}

.company-tab-btn:hover {
  color: var(--text-main) !important;
}

html.dark .dominio-audit-card,
html.dark .dominio-entity-card,
html.dark .dominio-header-banner {
  background: var(--card-bg, #0D2921) !important;
  border-color: var(--border, #1E4D3E) !important;
  color: var(--text-main, #F0FDF4) !important;
}

html.dark #modal-dominio-upload .bank-modal-card {
  background: var(--card-bg, #0D2921) !important;
  border-color: var(--border, #1E4D3E) !important;
  color: var(--text-main, #F0FDF4) !important;
}

html.dark #dropzone-dominio {
  background: var(--bg-card-inner, #092019) !important;
  border-color: var(--border, #1E4D3E) !important;
}

html.dark .dominio-audit-table th {
  color: #8FB5AB !important;
  border-bottom-color: var(--border, #1E4D3E) !important;
}

html.dark .dominio-audit-table td {
  border-bottom-color: var(--border, #1E4D3E) !important;
  color: #F0FDF4 !important;
}

/* Tarja Bordô de Alerta de Baixa Domínio (conciliations/show) */
.unmatched-dominio-warning-banner {
  background: #fef2f2;
  border: 1px solid #991b1b;
  border-left: 5px solid #991b1b;
  color: #991b1b;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(153, 27, 27, 0.1);
}

.unmatched-dominio-warning-banner .warning-banner-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.unmatched-dominio-warning-banner .warning-banner-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.unmatched-dominio-warning-banner .warning-banner-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #991b1b;
  opacity: 0.95;
  line-height: 1.45;
}

html.dark .unmatched-dominio-warning-banner {
  background: #450a0a !important;
  border-color: #991b1b !important;
  border-left-color: #ef4444 !important;
  color: #fee2e2 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html.dark .unmatched-dominio-warning-banner .warning-banner-title {
  color: #fecaca !important;
}

html.dark .unmatched-dominio-warning-banner .warning-banner-desc {
  color: #fca5a5 !important;
}

/* ==========================================================================
   Menu Sanduíche (Hamburger) Mobile & Responsividade dos 7 Cards Operacionais
   ========================================================================== */

/* Botão Toggle do Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.15));
  color: var(--text-main, #f8fafc);
  padding: 0.45rem;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 0;
}

.mobile-menu-toggle:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--accent, #10b981);
  color: var(--accent, #10b981);
}

/* Gaveta Expansível do Menu Mobile */
.landing-mobile-drawer,
.app-mobile-drawer {
  background: var(--bg-card, #0a221c);
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  animation: fadeInDown 0.25s ease-out;
}

html:not(.dark) .landing-mobile-drawer,
html:not(.dark) .app-mobile-drawer {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

html.dark .landing-mobile-drawer,
html.dark .app-mobile-drawer {
  background: #0D2921 !important;
  border-color: rgba(94, 168, 155, 0.2) !important;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mobile-nav-item {
  color: var(--text-main, #e2e8f0);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent, #10b981);
  padding-left: 1.1rem;
}

.mobile-nav-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

/* Breakpoint Mobile (<= 960px) */
@media (max-width: 960px) {
  .landing-nav-links {
    display: none !important;
  }
  .navbar-nav.desktop-only-nav {
    display: none !important;
  }
  .desktop-only-cta {
    display: none !important;
  }
  .mobile-nav-controls {
    display: flex !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
  .navbar-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

/* Responsividade dos 7 Cards e Seções da Landing Page */
@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .solution-card {
    padding: 1.5rem !important;
  }
  .section-title {
    font-size: 1.85rem !important;
  }
  .section-subtitle {
    font-size: 0.95rem !important;
  }
  .blocked-container {
    padding: 2rem 1rem !important;
    margin: 1.5rem 0.5rem !important;
  }
  .blocked-stats-box {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .blocked-stats-box {
    grid-template-columns: 1fr !important;
  }
}









/* ==========================================================================
   MODAL DE CHECKOUT & FORMALIZAÇÃO CONTRATUAL — PALETA TERRACOTA
   ========================================================================== */
.checkout-modal-dialog {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid rgba(234, 88, 12, 0.35);
}

.checkout-modal-header {
  background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
  padding: 1.25rem 1.75rem;
  color: #ffffff;
}

.checkout-modal-summary {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #1e293b;
}

.checkout-modal-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-modal-input:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
}

.checkout-modal-input.input-invalid {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
}

.checkout-modal-label {
  color: #334155;
}

.checkout-modal-option {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  transition: all 0.2s ease;
}

.checkout-modal-option.selected {
  border-color: #059669;
  background: rgba(16, 185, 129, 0.12);
}

.checkout-btn-terracotta,
.checkout-btn-emerald {
  background: #059669 !important;
  border-color: #047857 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
  transition: all 0.2s ease;
}

.checkout-btn-terracotta:hover:not(:disabled),
.checkout-btn-emerald:hover:not(:disabled) {
  background: #047857 !important;
  transform: translateY(-1px);
}

/* Modo Escuro Esmeralda Translúcido */
html.dark .checkout-modal-dialog {
  background: rgba(8, 26, 19, 0.96) !important;
  color: #f8fafc !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  backdrop-filter: blur(12px) !important;
}

html.dark .checkout-modal-header {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%) !important;
}

html.dark .checkout-modal-summary {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #f8fafc !important;
}

html.dark .checkout-modal-summary span {
  color: #f8fafc !important;
}

html.dark #modal_summary_price {
  color: #34d399 !important;
}

html.dark .checkout-modal-input {
  background: rgba(4, 30, 20, 0.75) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #f8fafc !important;
}

html.dark .checkout-modal-input:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

html.dark .checkout-modal-input[readonly] {
  background: rgba(6, 20, 15, 0.6) !important;
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark .checkout-modal-label {
  color: #a7f3d0 !important;
}

html.dark .checkout-modal-option {
  background: rgba(6, 35, 24, 0.6) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.25) !important;
  color: #f8fafc !important;
}

html.dark .checkout-modal-option.selected {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.25) !important;
}

html.dark .checkout-contract-text {
  color: #cbd5e1 !important;
}

/* ==========================================================================
   CARD DA FASE DE LANÇAMENTO (LIGHT & DARK THEMES)
   ========================================================================== */
.launch-phase-container {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 78, 59, 0.05) 100%);
  border: 1.5px solid #10b981;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.launch-phase-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #065f46;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.launch-phase-subtitle {
  color: #047857;
  font-size: 0.825rem;
  margin: 0.25rem 0 0;
}

.launch-phase-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1.5px solid #6ee7b7;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.launch-phase-box {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: 0.5rem;
  padding: 1rem;
}

.launch-phase-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
  text-transform: uppercase;
}

.launch-phase-box-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #047857;
  margin: 0.25rem 0;
}

.launch-phase-box-desc {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
}

.launch-phase-footer {
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed #6ee7b7;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: #065f46;
  line-height: 1.45;
}

/* Modo Escuro */
html.dark .launch-phase-container {
  background: rgba(16, 185, 129, 0.06) !important;
  border: 1.5px solid #059669 !important;
}

html.dark .launch-phase-title {
  color: #34d399 !important;
}

html.dark .launch-phase-subtitle {
  color: #a7f3d0 !important;
}

html.dark .launch-phase-badge {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #6ee7b7 !important;
  border-color: #059669 !important;
}

html.dark .launch-phase-box {
  background: rgba(6, 40, 30, 0.75) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

html.dark .launch-phase-box-label {
  color: #a7f3d0 !important;
}

html.dark .launch-phase-box-value {
  color: #ffffff !important;
}

html.dark .launch-phase-box-desc {
  color: #6ee7b7 !important;
}

html.dark .launch-phase-footer {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px dashed #059669 !important;
  color: #cbd5e1 !important;
}

html.dark .launch-phase-footer strong {
  color: #34d399 !important;
}
