/* =============================================
   SDESK - Landing Page Styles
   ============================================= */

:root {
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-card2: #1a2236;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --green: #10b981;
  --green-light: #34d399;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ---- NAVBAR ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.15) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-title span {
  background: linear-gradient(90deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(59,130,246,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(59,130,246,0.45); }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--text); }

/* ---- SECTIONS ---- */
section { padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---- PARA QUEM ---- */
#para-quem { background: var(--bg-dark); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.audience-card:hover { border-color: var(--blue); transform: translateY(-4px); }

.audience-icon { font-size: 3rem; margin-bottom: 1rem; }
.audience-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }
.audience-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- CURSOS ---- */
#cursos { background: var(--bg-card); }

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.curso-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.curso-card:hover { transform: translateY(-4px); }
.curso-card.starter:hover { border-color: var(--blue); }
.curso-card.professional:hover { border-color: var(--green); }
.curso-card.avancado:hover { border-color: #f59e0b; }

.curso-header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.curso-card.starter .curso-header { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05)); }
.curso-card.professional .curso-header { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); }
.curso-card.avancado .curso-header { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05)); }

.curso-badge {
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.starter .curso-badge { background: rgba(59,130,246,0.2); color: var(--blue-light); }
.professional .curso-badge { background: rgba(16,185,129,0.2); color: var(--green-light); }
.avancado .curso-badge { background: rgba(245,158,11,0.2); color: #fbbf24; }
.avancado .nivel-num { background: rgba(245,158,11,0.2); color: #fbbf24; font-size: 1rem; }

.curso-header h3 { font-size: 1.3rem; font-weight: 800; }

.curso-body { padding: 1.5rem 2rem; }
.curso-body p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

.niveis { display: flex; flex-direction: column; gap: 0.75rem; }

.nivel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card2);
  border-radius: 8px;
}

.nivel-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.starter .nivel-num { background: rgba(59,130,246,0.2); color: var(--blue-light); }
.professional .nivel-num { background: rgba(16,185,129,0.2); color: var(--green-light); }

.nivel-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.nivel-info p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ---- ESPECIALISTA ---- */
#especialista { background: var(--bg-card); }

.especialista-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

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

.avatar-initials {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 900; color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 0 40px rgba(59,130,246,0.3);
}

.avatar-badge {
  display: inline-block;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

.especialista-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.especialista-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.cred-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.cred-list li { font-size: 0.875rem; color: var(--text-muted); }

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.highlight-item {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hi-icon { font-size: 1.1rem; flex-shrink: 0; }

.eventos-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.evento-tag {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .especialista-wrapper { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .especialista-cols { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
}

/* ---- PRECOS ---- */
#precos { background: var(--bg-dark); }

.precos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 780px;
  margin: 0 auto;
}

.preco-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.preco-card:hover { transform: translateY(-4px); }
.preco-card.destaque {
  border-color: var(--green);
  box-shadow: 0 0 40px rgba(16,185,129,0.1);
  position: relative;
}

.preco-popular {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.preco-nome { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.preco-valor { font-size: 2.8rem; font-weight: 900; margin: 1rem 0; }
.preco-valor span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.preco-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.preco-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.preco-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.preco-features li::before { content: '✓'; color: var(--green); font-weight: 700; }

.btn-curso {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn-curso:hover { opacity: 0.85; transform: translateY(-1px); }
.starter-btn { background: linear-gradient(135deg, var(--blue), #6366f1); color: #fff; }
.professional-btn { background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; }

.sob-demanda-tag {
  margin-top: 1.2rem;
  padding: 0.6rem 1rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #fbbf24;
  text-align: center;
}

/* ---- METODOLOGIA ---- */
#metodologia { background: var(--bg-card); }

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.metodo-item { text-align: center; padding: 1.5rem; }
.metodo-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.metodo-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.metodo-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- FAQ ---- */
#faq { background: var(--bg-dark); }

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question .arrow {
  color: var(--blue-light);
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 1.5rem 1.2rem; }

/* ---- CTA FINAL ---- */
#cta-final {
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(16,185,129,0.1));
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 5rem 2rem;
}
#cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1rem; }
#cta-final p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }

/* ---- BOT PLACEHOLDER ---- */
#bot-section {
  background: var(--bg-card);
  padding: 4rem 2rem;
  text-align: center;
}
.bot-placeholder {
  max-width: 480px;
  margin: 0 auto;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  color: var(--text-muted);
}
.bot-placeholder .bot-icon { font-size: 3rem; margin-bottom: 1rem; }
.bot-placeholder p { font-size: 0.9rem; }

/* ---- FOOTER ---- */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  nav { padding: 1rem; }
  .nav-links { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
