/* ============================================================
   ESTILOS GERAIS E PALETA DE CORES (GREEN LAB)
   ============================================================ */

:root {
  --color-bg-dark: #121212;
  --color-bg-card: #181818;
  --color-accent-green: #00ff4c;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-glass-bg: rgba(255, 255, 255, 0.02);
  --color-glass-border: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* TIPOGRAFIA PREMIUM UNIVERSAL — BANIR ARIAL */
body, p, span, a, h1, h2, h3, h4, h5, h6, textarea, button, input, label, div, select, option, footer, header {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  font-weight: 600;
  line-height: 1.75;
  overflow-x: hidden;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   FORMAS GEOMÉTRICAS DE BACKGROUND
   ============================================================ */

.bg-geometry {
  position: absolute;
  border: 4px solid var(--color-accent-green);
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
  border-radius: 16px;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 8%;
  right: -80px;
  transform: rotate(45deg);
}

.shape-2 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: -100px;
  transform: rotate(15deg);
}

.shape-3 {
  width: 400px;
  height: 400px;
  bottom: 12%;
  right: -120px;
  transform: rotate(35deg);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-glass-border);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* LOGO CO-BRANDED: DUAS LINHAS */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
  text-decoration: none;
}

.logo-line {
  display: flex;
  font-weight: 800;
  gap: 0.35rem;
  align-items: baseline;
}

.logo-line-1 {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.logo-line-2 {
  font-size: 11px;
  letter-spacing: 0.06em;
}

.logo-accent {
  color: var(--color-accent-green);
  text-shadow: 0 0 10px rgba(0, 255, 76, 0.3);
}

.logo-white {
  color: #ffffff;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 76, 0.05);
  border: 1px solid rgba(0, 255, 76, 0.15);
  padding: 6px 14px;
  border-radius: 50px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 76, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 255, 76, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 76, 0); }
}

.status-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  padding-top: 220px;
  padding-bottom: 120px;
  text-align: center;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 24px auto;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #ffffff 40%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto 56px auto;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.9;
}

.hero-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto 56px auto;
  max-width: 640px;
}

.hero-topics li {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding-left: 24px;
  position: relative;
  text-align: left;
  width: 100%;
}

.hero-topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent-green);
  box-shadow: 0 0 8px rgba(0, 255, 76, 0.5);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent-green);
  color: #000000;
}

.btn-primary:hover {
  background-color: #33ff70;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 76, 0.15);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  border: 1px solid var(--color-glass-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-success {
  background-color: var(--color-accent-green);
  color: #000000;
}

.btn-success:hover {
  background-color: #33ff70;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 76, 0.15);
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--color-glass-border);
  border-bottom: 1px solid var(--color-glass-border);
  background: rgba(18, 18, 18, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-card {
  padding: 20px;
}

.stat-num {
  font-size: 46px;
  font-weight: 800;
  color: var(--color-accent-green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features-section {
  padding: 130px 0 90px 0;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px auto;
  font-weight: 600;
  line-height: 1.9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 12px;
  padding: 52px 44px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: rgba(0, 255, 76, 0.2);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-4px);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 76, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon {
  color: var(--color-accent-green);
  width: 22px;
  height: 22px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-green);
  box-shadow: 0 0 6px rgba(0, 255, 76, 0.4);
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */

.timeline-section {
  padding: 100px 0;
}

.timeline-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--color-glass-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 64px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -41px;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: var(--color-bg-dark);
  border: 3px solid var(--color-accent-green);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 255, 76, 0.3);
}

.timeline-content {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 12px;
  padding: 44px 40px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: rgba(0, 255, 76, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-day {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.timeline-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 2;
}

/* ============================================================
   QUIZ SECTION
   ============================================================ */

.quiz-section {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.2);
  border-top: 1px solid var(--color-glass-border);
}

.quiz-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  padding: 48px;
  backdrop-filter: blur(16px);
}

.quiz-header {
  margin-bottom: 40px;
}

.quiz-main-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.quiz-main-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.progress-bar-container {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50px;
  margin-bottom: 12px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--color-accent-green);
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-indicator {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-green);
  letter-spacing: 0.5px;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeInStep 0.4s ease;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.question-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.quiz-textarea {
  width: 100%;
  height: 150px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
  padding: 16px;
  color: var(--color-text-primary);
  font-size: 14px;
  resize: none;
  outline: none;
  transition: all 0.3s ease;
}

.quiz-textarea:focus {
  border-color: var(--color-accent-green);
  background: rgba(255, 255, 255, 0.04);
}

.upload-container {
  margin-top: 24px;
  border: 1px dashed var(--color-glass-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.upload-container:hover {
  border-color: var(--color-accent-green);
  background: rgba(0, 255, 76, 0.01);
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.upload-icon {
  color: var(--color-text-secondary);
  width: 32px;
  height: 32px;
  transition: color 0.3s ease;
}

.upload-container:hover .upload-icon {
  color: var(--color-accent-green);
}

.upload-label span {
  font-size: 13px;
  font-weight: 600;
}

.upload-input {
  display: none;
}

.file-preview {
  margin-top: 12px;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid var(--color-glass-border);
  padding-top: 24px;
}

.btn-nav {
  min-width: 120px;
}

.btn-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.success-message {
  text-align: center;
  padding: 24px 0;
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(0, 255, 76, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.success-icon {
  color: var(--color-accent-green);
  width: 36px;
  height: 36px;
}

.success-message h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.success-message p {
  color: var(--color-text-secondary);
  font-size: 14px;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-glass-border);
  text-align: center;
  font-size: 12px;
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* ============================================================
   ANIMAÇÕES DE SCROLL
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .quiz-container {
    padding: 24px;
  }
  .timeline-container {
    padding-left: 20px;
  }
  .timeline-dot {
    left: -29px;
  }
}
