/* MarotAI Page Shell · Foundation v1 */
.marotai-shell-header {
  border: 1px solid rgba(203, 213, 225, .42);
  border-radius: var(--marotai-radius-lg);
  margin-bottom: 18px;
  padding: 22px;
  background: var(--marotai-panel);
  box-shadow: var(--marotai-shadow);
}

.marotai-shell-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.marotai-shell-eyebrow {
  color: var(--marotai-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.marotai-shell-title {
  margin: 6px 0 0;
  color: var(--marotai-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 950;
}

.marotai-shell-subtitle {
  max-width: 920px;
  margin: 12px 0 0;
  color: var(--marotai-muted-2);
  font-size: 13px;
  line-height: 1.55;
}

.marotai-shell-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--marotai-border);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--marotai-muted-2);
  background: rgba(2, 6, 23, .34);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.marotai-shell-status.transition {
  color: var(--marotai-yellow);
  border-color: rgba(253, 230, 138, .30);
}

.marotai-shell-navigation {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.marotai-shell-nav-item {
  position: relative;
}

.marotai-shell-nav-link,
.marotai-shell-nav-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--marotai-border);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--marotai-muted-2);
  background: rgba(255, 255, 255, .045);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.marotai-shell-nav-link:hover,
.marotai-shell-nav-toggle:hover,
.marotai-shell-nav-link.is-active {
  border-color: var(--marotai-border-cyan);
  color: var(--marotai-cyan);
  background: rgba(8, 47, 73, .42);
}

.marotai-shell-nav-menu {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  display: none;
  min-width: 220px;
  overflow: hidden;
  border: 1px solid var(--marotai-border);
  border-radius: var(--marotai-radius-sm);
  background: #0f172a;
  box-shadow: var(--marotai-shadow);
}

.marotai-shell-nav-item.is-open .marotai-shell-nav-menu {
  display: grid;
}

.marotai-shell-nav-menu a {
  padding: 11px 12px;
  color: var(--marotai-muted-2);
  font-size: 12px;
  font-weight: 750;
}

.marotai-shell-nav-menu a:hover {
  color: var(--marotai-cyan);
  background: rgba(8, 47, 73, .42);
}

.marotai-shell-content {
  min-width: 0;
}

.marotai-shell-error {
  margin-bottom: 18px;
  border: 1px solid rgba(252, 165, 165, .30);
  border-radius: var(--marotai-radius-md);
  padding: 12px 14px;
  color: var(--marotai-red);
  background: rgba(127, 29, 29, .20);
  font-size: 13px;
}

@media (max-width: 900px) {
  .marotai-shell-header-top { flex-direction: column; }
  .marotai-shell-navigation { align-items: flex-start; }
  .marotai-shell-nav-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
  }
}

/* ==========================================================================
   MarotAI Page Shell · Product Identity System
   Base visual compartilhada para todos os Produtos Core.
   ========================================================================== */

.marotai-shell-product-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.marotai-shell-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  padding: 10px;
  border: 1px solid rgba(103, 232, 249, .42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgba(103, 232, 249, .20), transparent 46%),
    rgba(8, 47, 73, .48);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.marotai-shell-icon img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, .34));
}

.marotai-product-footer {
  margin: 22px 0 8px;
  color: var(--marotai-muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

/* Produtos Core */
.marotai-shell-navigation [data-nav-id="nav-platform"] .marotai-shell-nav-toggle,
.marotai-shell-navigation [data-nav-id="nav-platform"] .marotai-shell-nav-link {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, .42);
  background: rgba(30, 64, 175, .24);
}

.marotai-shell-navigation [data-nav-id="nav-finance"] .marotai-shell-nav-toggle,
.marotai-shell-navigation [data-nav-id="nav-finance"] .marotai-shell-nav-link {
  color: #86efac;
  border-color: rgba(134, 239, 172, .30);
  background: rgba(20, 83, 45, .28);
}

.marotai-shell-navigation [data-nav-id="nav-executive"] .marotai-shell-nav-toggle,
.marotai-shell-navigation [data-nav-id="nav-executive"] .marotai-shell-nav-link {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, .30);
  background: rgba(76, 29, 149, .24);
}

.marotai-shell-navigation [data-nav-id="nav-roadmap"] .marotai-shell-nav-toggle,
.marotai-shell-navigation [data-nav-id="nav-roadmap"] .marotai-shell-nav-link {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, .34);
  background: rgba(8, 47, 73, .40);
}

.marotai-shell-navigation [data-nav-id="nav-education"] .marotai-shell-nav-toggle,
.marotai-shell-navigation [data-nav-id="nav-education"] .marotai-shell-nav-link {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, .38);
  background: rgba(120, 53, 15, .24);
}

/* Hover por Produto Core */
.marotai-shell-navigation [data-nav-id="nav-platform"] .marotai-shell-nav-toggle:hover,
.marotai-shell-navigation [data-nav-id="nav-platform"] .marotai-shell-nav-link:hover,
.marotai-shell-navigation [data-nav-id="nav-platform"] .marotai-shell-nav-menu a:hover {
  color: #dbeafe;
  background: rgba(59, 130, 246, .20);
}

.marotai-shell-navigation [data-nav-id="nav-finance"] .marotai-shell-nav-toggle:hover,
.marotai-shell-navigation [data-nav-id="nav-finance"] .marotai-shell-nav-link:hover,
.marotai-shell-navigation [data-nav-id="nav-finance"] .marotai-shell-nav-menu a:hover {
  color: #bbf7d0;
  background: rgba(20, 83, 45, .42);
}

.marotai-shell-navigation [data-nav-id="nav-executive"] .marotai-shell-nav-toggle:hover,
.marotai-shell-navigation [data-nav-id="nav-executive"] .marotai-shell-nav-link:hover,
.marotai-shell-navigation [data-nav-id="nav-executive"] .marotai-shell-nav-menu a:hover {
  color: #ddd6fe;
  background: rgba(76, 29, 149, .42);
}

.marotai-shell-navigation [data-nav-id="nav-roadmap"] .marotai-shell-nav-toggle:hover,
.marotai-shell-navigation [data-nav-id="nav-roadmap"] .marotai-shell-nav-link:hover,
.marotai-shell-navigation [data-nav-id="nav-roadmap"] .marotai-shell-nav-menu a:hover {
  color: #cffafe;
  background: rgba(8, 47, 73, .52);
}

.marotai-shell-navigation [data-nav-id="nav-education"] .marotai-shell-nav-toggle:hover,
.marotai-shell-navigation [data-nav-id="nav-education"] .marotai-shell-nav-link:hover,
.marotai-shell-navigation [data-nav-id="nav-education"] .marotai-shell-nav-menu a:hover {
  color: #fef3c7;
  background: rgba(120, 53, 15, .42);
}

@media (max-width: 700px) {
  .marotai-shell-product-heading {
    align-items: flex-start;
  }

  .marotai-shell-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
}
