/* ============================================
   BOLSA MI POWER - ESTILOS CSS
   Desenvolvimento e Validação de Produto Inovador
   ============================================ */

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

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #0f172a;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

html {
  scroll-behavior: smooth;
}

/* Corrige o problema do menu sumindo */
/* Garante que TODAS as seções fiquem abaixo do menu fixo */
[data-section-content] {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  display: block;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(to bottom right, #f0f9ff, #ffffff, #f1f5f9);
  line-height: 1.6;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0 2rem;
}

nav .container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
}

nav .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

nav .logo-text h1 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

nav .logo-text p {
  font-size: 11px;
  color: var(--text-light);
  margin: 0;
}

nav .nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

nav .nav-links a {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  background: #dbeafe;
  color: var(--primary-color);
}

nav .menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
}
@media (max-width: 1024px) {
  nav .nav-links {
    display: none !important;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
  }

  nav .nav-links.mobile-open {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  nav .menu-toggle {
    display: block;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  background: linear-gradient(to bottom right, #f0f9ff, #ffffff, #f1f5f9);
  display: flex;
  align-items: center;
  padding: 3rem 2rem;
}

.hero .container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-content h1 .highlight {
  color: var(--primary-color);
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-content .description {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.features {
  margin: 2rem 0;
  space-y: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background: #e2e8f0;
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: #cbd5e1;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

.hero-card-image {
  width: 100%;
  height: 256px;
  background: linear-gradient(135deg, #dbeafe, #f0f9ff);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 4rem;
}

.hero-card-list {
  list-style: none;
  margin: 1.5rem 0;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.hero-card-list li:before {
  content: '●';
  color: var(--primary-color);
  font-weight: bold;
}

.hero-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-light);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

/* ============================================
   SEÇÃO DE CONTEÚDO
   ============================================ */

.content-section {
  margin-top: 80px;
  padding: 3rem 2rem;
  min-height: calc(100vh - 80px);
  background: white;
}

.content-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.content-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.content-section ul,
.content-section ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  overflow: hidden;
}

.content-section table th {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.content-section table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.content-section table tr:hover {
  background: #f8fafc;
}

.content-section blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-style: italic;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1rem;
  color: var(--text-light);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   SLIDES VIEWER
   ============================================ */

.slides-container {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  background: var(--secondary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.slide-viewer {
  width: 100%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.slide-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: contain;
}

.slide {
  width: 100%;
  max-width: 1000px;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  padding: 3rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  margin-bottom: 2rem;
}

.slide.title-slide {
  text-align: center;
  justify-content: center;
}

.slide h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.slide h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border: none;
  padding: 0;
}

.slide .slide-content {
  space-y: 1.5rem;
}

.slide .slide-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.slide-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  opacity: 0.9;
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  gap: 2rem;
  margin-top: 2rem;
}

.slide-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--text-dark);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-btn:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
}

.slide-counter {
  color: white;
  text-align: center;
}

.slide-counter p {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.slide-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.slide-dot.active {
  width: 24px;
  background: white;
  border-radius: 4px;
}

.slide-info {
  color: white;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--secondary-color);
  color: #cbd5e1;
  padding: 3rem 2rem;
  margin-top: 5rem;
}

footer .container {
  max-width: 1280px;
  margin: 0 auto;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.9rem;
  line-height: 1.6;
}

footer .footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

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

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
  .content-section {
    padding: 2rem 1rem;
  }

  .content-section h1 {
    font-size: 2rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .slide {
    padding: 2rem;
    min-height: 400px;
  }

  .slide h1 {
    font-size: 2rem;
  }

  .slide h2 {
    font-size: 1.75rem;
  }

  .slide-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .slide-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.gap-4 {
  gap: 1rem;
}
.hero-img-controlled {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/* Torna tabelas responsivas — EVITA QUE ESTOUREM A LARGURA DA PÁGINA */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

table th, table td {
  padding: 8px;
  white-space: nowrap;
}
nav .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden; /* impede vazamento da imagem */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

nav .logo-icon .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* contém sem cortar nada */
}
.quadro {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.quadro p {
  margin-bottom: 1rem;
}
.prototipo-img {
  width: 600px; /* ou a largura que você quiser */
  height: auto; /* mantém a proporção */
  display: block; /* opcional, evita espaços extras em inline */
}
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }