:root {
  --bg: #000000;
  --bg-card: #1c1c1e;
  --bg-card-hover: #2c2c2e;
  --ink: #ffffff;
  --ink-secondary: #e5e5e7;
  --muted: #98989d;
  --accent: #0a84ff;
  --accent-hover: #0066cc;
  --success: #30d158;
  --warning: #ff9f0a;
  --danger: #ff453a;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  max-width: 1920px;
  margin: 0 auto;
}

.sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--line);
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.logo {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.logo h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #a8b8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.nav-menu {
  list-style: none;
}

.nav-item {
  margin-bottom: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link:hover {
  background: var(--glass-hover);
  color: var(--ink);
}

.nav-link.active {
  background: var(--accent);
  color: white;
}

.nav-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: var(--bg-card-hover);
}

.main-content {
  padding: 40px;
  overflow-y: auto;
  max-height: 100vh;
}

.main-content::-webkit-scrollbar {
  width: 8px;
}

.main-content::-webkit-scrollbar-track {
  background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.header-title {
  flex: 1;
}

.header-title h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #a8b8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-subtitle {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.4);
}

.btn-secondary {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--glass-hover);
}

.section {
  margin-bottom: 32px;
  scroll-margin-top: 20px;
  animation: fadeIn 0.5s ease-out;
}

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

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 132, 255, 0.3);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.kpi-content {
  flex: 1;
}

.kpi-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.kpi-value {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #a8b8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kpi-description {
  font-size: 13px;
  color: var(--muted);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(10, 132, 255, 0.2);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  cursor: pointer;
  user-select: none;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.card-icon {
  font-size: 24px;
}

.card-toggle {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.card.collapsed .card-toggle {
  transform: rotate(-90deg);
}

.card.collapsed .card-body {
  display: none;
}

.card-body {
  animation: expandContent 0.3s ease-out;
}

@keyframes expandContent {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: none;
  }
}

.subsection {
  margin-bottom: 32px;
}

.subsection h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink-secondary);
}

.subsection h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 20px;
  color: var(--ink-secondary);
}

.highlight-text {
  background: var(--glass);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.list-styled {
  list-style: none;
  padding-left: 0;
}

.list-styled li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  color: var(--ink-secondary);
}

.list-styled li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: bold;
}

.brand-structure h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.brand-tree {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.brand-item {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.brand-logo {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.brand-item p {
  font-size: 13px;
  color: var(--muted);
}

.info-box {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}

.info-box p {
  margin-bottom: 8px;
  color: var(--ink-secondary);
}

.info-box ul {
  margin-top: 12px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.pilar-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.pilar-card:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
}

.pilar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.pilar-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}

.pilar-percent {
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.pilar-card ul {
  list-style: none;
  padding: 0;
}

.pilar-card li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.pilar-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.example-box {
  background: rgba(10, 132, 255, 0.1);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin-top: 16px;
  border-radius: 6px;
}

.example-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
}

.example-box p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.frequency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.frequency-item {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.frequency-item:hover {
  background: var(--glass-hover);
}

.frequency-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.frequency-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.frequency-item p {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.frequency-detail {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.budget-box {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.1) 0%, rgba(10, 132, 255, 0.05) 100%);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.budget-box p {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.funil-stage {
  margin-bottom: 24px;
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.stage-header.topo {
  background: rgba(10, 132, 255, 0.15);
  border: 1px solid rgba(10, 132, 255, 0.3);
}

.stage-header.meio {
  background: rgba(48, 209, 88, 0.15);
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.stage-header.fundo {
  background: rgba(255, 69, 58, 0.15);
  border: 1px solid rgba(255, 69, 58, 0.3);
}

.stage-icon {
  font-size: 24px;
}

.stage-header h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.stage-content {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
}

.stage-content p {
  margin-bottom: 8px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.stage-content ul {
  margin-left: 20px;
  margin-top: 8px;
}

.stage-content li {
  margin-bottom: 6px;
  color: var(--ink-secondary);
}

.offline-action {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.offline-action h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.offline-action ul {
  list-style: none;
  padding: 0;
}

.offline-action li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  color: var(--ink-secondary);
}

.offline-action li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.kpis-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.kpi-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  transition: all 0.3s ease;
}

.kpi-item:hover {
  background: var(--glass-hover);
  transform: translateX(4px);
}

.kpi-item.goal {
  border-color: var(--accent);
  background: rgba(10, 132, 255, 0.1);
}

.kpi-item .kpi-icon {
  font-size: 20px;
  width: auto;
  height: auto;
}

.kpi-item p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
}

.alert {
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  border: 1px solid;
}

.alert-warning {
  background: rgba(255, 159, 10, 0.1);
  border-color: rgba(255, 159, 10, 0.3);
}

.alert h3, .alert h4 {
  margin-bottom: 12px;
  color: var(--warning);
}

.alert ul {
  margin-top: 12px;
}

.problems-list, .impacts-list {
  list-style: none;
  padding: 0;
}

.problems-list li, .impacts-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-secondary);
}

.problems-list li::before {
  content: "❌";
  position: absolute;
  left: 0;
}

.impacts-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--warning);
  font-weight: bold;
}

.profile-structure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.profile-type {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.profile-type.main-profile {
  border-color: var(--accent);
}

.profile-type h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.profile-handle {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.hierarchy-diagram {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.hierarchy-diagram h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.diagram-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.diagram-box pre {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--ink-secondary);
  white-space: pre;
}

.manual-section {
  margin-bottom: 32px;
}

.manual-section h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.visual-rules, .photo-standards {
  display: grid;
  gap: 20px;
}

.rule-item {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.rule-item h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink-secondary);
}

.template-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
}

.template-box pre {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--ink-secondary);
  white-space: pre-wrap;
  line-height: 1.6;
}

.highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.highlights-list li {
  background: var(--glass);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
}

.standards-column {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.standards-column.bad {
  border-color: rgba(255, 69, 58, 0.3);
}

.standards-column.good {
  border-color: rgba(48, 209, 88, 0.3);
}

.standards-column h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding-left: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.tutorial-box {
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.tutorial-box h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.tutorial-box ol {
  margin-top: 12px;
  padding-left: 20px;
}

.tutorial-box li {
  margin-bottom: 8px;
  color: var(--ink-secondary);
}

.tone-of-voice {
  margin-top: 16px;
}

.tone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.tone-do, .tone-dont {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.calendar-example {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.week-schedule {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.day-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 16px;
}

.day-item h7 {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

.rules-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.rules-table th,
.rules-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.rules-table th {
  background: var(--glass);
  color: var(--ink);
  font-weight: 700;
}

.rules-table td {
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink-secondary);
}

.approval-levels {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.level-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.level-card h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.benefit-box {
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.training-program {
  margin-top: 20px;
}

.training-initial, .training-support {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.modules-list {
  list-style: none;
  counter-reset: module-counter;
  padding: 0;
}

.modules-list > li {
  counter-increment: module-counter;
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
}

.modules-list > li::before {
  content: counter(module-counter);
  position: absolute;
  left: 0;
  background: var(--accent);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.certificate-box {
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.support-item {
  margin-bottom: 20px;
}

.support-item h7 {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

.traffic-strategy {
  margin-top: 20px;
}

.strategy-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.strategy-info {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.strategy-info li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  color: var(--ink-secondary);
}

.strategy-info li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.campaign-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.campaign-item h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.structure-diagram {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}

.budget-distribution {
  margin-top: 24px;
}

.budget-distribution h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.budget-distribution table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.budget-distribution th,
.budget-distribution td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.budget-distribution th {
  background: var(--glass);
  color: var(--ink);
  font-weight: 700;
}

.budget-distribution td {
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink-secondary);
}

.total-row {
  font-weight: 700;
  background: rgba(10, 132, 255, 0.1) !important;
}

.dashboard-section {
  margin-top: 20px;
}

.consolidated-view, .performance-table, .ranking-section, .alerts-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.kpi-list-large {
  list-style: none;
  padding: 0;
}

.kpi-list-large li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-secondary);
}

.kpi-list-large li:last-child {
  border-bottom: none;
}

.performance-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.performance-table th,
.performance-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

.performance-table th {
  background: var(--glass);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.performance-table td {
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink-secondary);
}

.legend-box {
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.ranking-podium {
  margin-top: 16px;
}

.podium-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.podium-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--line);
}

.podium-item.gold {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

.podium-item.silver {
  border-color: #c0c0c0;
  background: rgba(192, 192, 192, 0.1);
}

.podium-item.bronze {
  border-color: #cd7f32;
  background: rgba(205, 127, 50, 0.1);
}

.medal {
  font-size: 28px;
}

.unit-name {
  flex: 1;
  font-weight: 600;
  color: var(--ink);
}

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

.prize-box {
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.alerts-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.alerts-list li {
  padding: 10px 16px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 14px;
}

.kit-checklist {
  margin-top: 20px;
}

.kit-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.checklist-items {
  list-style: none;
  padding: 0;
}

.checklist-items li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-secondary);
}

.checklist-items li:last-child {
  border-bottom: none;
}

.timeline {
  margin-top: 20px;
}

.timeline-phase {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.timeline-phase h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.timeline-period {
  margin-bottom: 20px;
}

.timeline-period h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink-secondary);
}

.timeline-tasks {
  list-style: none;
  padding: 0;
}

.timeline-tasks li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--ink-secondary);
}

.timeline-tasks li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 16px;
}

.golden-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.rules-column {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.rules-column h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.conflicts-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.conflict-item {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.conflict-item h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--warning);
}

.success-metrics {
  margin-top: 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.metric-item .metric-icon {
  font-size: 24px;
}

.next-steps {
  margin-top: 20px;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding-top: 6px;
}

.step-content h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink-secondary);
}

.calendar-quarter {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.calendar-quarter h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.highlight-campaign {
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.highlight-campaign p {
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.quarter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quarter-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 16px;
}

.quarter-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.quarter-item p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.investment-table {
  margin-bottom: 32px;
}

.investment-table h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.investment-table table {
  width: 100%;
  border-collapse: collapse;
}

.investment-table th,
.investment-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.investment-table th {
  background: var(--glass);
  color: var(--ink);
  font-weight: 700;
}

.investment-table td {
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink-secondary);
}

.investment-offline {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.investment-offline h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.offline-budget {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 16px;
}

.investment-total {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.2) 0%, rgba(10, 132, 255, 0.1) 100%);
  border: 1px solid rgba(10, 132, 255, 0.4);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.investment-total h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.total-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 24px;
}

.total-amount {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #a8b8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.total-description {
  font-size: 16px;
  color: var(--muted);
}

.cross-promo-examples {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.promo-example {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.promo-example p {
  margin-bottom: 4px;
  color: var(--ink-secondary);
}

.integrated-campaign {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.integrated-campaign h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.campaign-details ul {
  list-style: none;
  padding: 0;
}

.campaign-details li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  color: var(--ink-secondary);
}

.campaign-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.collab-content {
  margin-top: 16px;
}

.benefit-note {
  color: var(--success);
  font-weight: 600;
  margin-top: 8px;
}

.kpis-principais {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.performance-por-marca {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.performance-por-marca table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.performance-por-marca th,
.performance-por-marca td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

.performance-por-marca th {
  background: var(--glass);
  color: var(--muted);
  font-weight: 700;
}

.performance-por-marca td {
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink-secondary);
}

.graficos-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.graficos-list {
  list-style: none;
  padding: 0;
}

.graficos-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-secondary);
}

.graficos-list li:last-child {
  border-bottom: none;
}

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 40px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #a8b8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-links span {
  color: var(--muted);
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .sidebar {
    display: none;
  }
  
  .sidebar.active {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 280px;
    height: calc(100vh - 60px);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  
  .main-content {
    padding: 80px 24px 24px 24px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-actions {
    width: 100%;
  }
  
  .btn {
    flex: 1;
    justify-content: center;
  }
  
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  
  .pilares-grid,
  .frequency-grid,
  .quarter-grid,
  .profile-structure,
  .tone-grid,
  .golden-rules,
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 20px;
  }
  
  .main-content {
    padding: 70px 16px 16px 16px;
  }
}

@media print {
  .sidebar,
  .header-actions,
  .card-toggle,
  .menu-toggle {
    display: none !important;
  }
  
  .container {
    grid-template-columns: 1fr;
  }
  
  .card {
    page-break-inside: avoid;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card, .kpi-card, .pilar-card {
    border-color: #ccc;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  background: var(--glass);
  color: var(--muted);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-secondary);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--glass);
}

tbody th {
  font-weight: 600;
  color: var(--ink);
}