/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #7C3AED;
  --primary-dark:  #5B21B6;
  --primary-mid:   #8B5CF6;
  --primary-light: #ede9fe;
  --accent:        #A78BFA;
  --grad:          linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  --grad-dark:     linear-gradient(135deg, #3b0764 0%, #1e1b4b 100%);

  --bg:       #0d0d1a;
  --bg-2:     #13132b;
  --bg-card:  #1a1a35;
  --bg-card2: #1f1f3d;
  --border:   rgba(139,92,246,.18);

  --dark:  #0f172a;
  --gray:  #94a3b8;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;

  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.45);
  --glow: 0 0 32px rgba(124,58,237,.35);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Baloo Bhai 2', sans-serif;
  color: var(--white);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: 'Baloo Bhai 2', sans-serif;
}
.btn-primary {
  background: var(--grad);
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,.15);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-nav {
  padding: 10px 22px;
  font-size: 14px;
  background: var(--grad);
  color: var(--white);
  border-color: transparent;
}
.btn-nav:hover { filter: brightness(1.15); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,26,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.5); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.logo-img-footer {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: var(--grad-dark);
  padding: 130px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-text { color: var(--white); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(167,139,250,.15);
  color: var(--accent);
  border: 1px solid rgba(167,139,250,.35);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.highlight {
  background: linear-gradient(90deg, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-white { color: var(--white); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-sub strong { color: var(--accent); }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span { font-size: 13px; color: rgba(255,255,255,.55); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-mockup {
  width: 280px;
  background: #12122a;
  border-radius: 36px;
  border: 8px solid #2a1f5e;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), var(--glow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.phone-screen { display: flex; flex-direction: column; height: 520px; }

.chat-header {
  background: var(--primary-dark);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 36px; height: 36px;
  background: var(--primary-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: white;
  flex-shrink: 0;
}
.chat-name { font-weight: 700; font-size: 14px; color: white; }
.chat-status { font-size: 11px; color: rgba(255,255,255,.7); }

.chat-body {
  flex: 1;
  background: #ede9fe;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  animation: fadeUp .4s ease both;
}
.msg.bot { background: white; align-self: flex-start; border-bottom-left-radius: 4px; color: #333; }
.msg.user { background: #ddd6fe; align-self: flex-end; border-bottom-right-radius: 4px; color: #333; }
.catalog-card { background: white; border-left: 3px solid var(--primary); font-size: 12px; }

.chat-input-bar {
  background: #f0f0f0;
  padding: 10px 14px;
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid #ddd;
}

.hero-badge-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  color: var(--accent);
  z-index: 3;
}
.badge-float-1 {
  top: 20px; right: -20px;
  animation: float 3s ease-in-out infinite;
}
.badge-float-2 {
  bottom: 80px; left: -24px;
  color: var(--white);
  animation: float 3s ease-in-out infinite .5s;
}


@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   CLIENTES
   ===================================================== */
.clientes {
  background: var(--bg-2);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.clientes-label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 20px;
  font-weight: 600;
}
.clientes-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.clientes-logos span {
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,.2);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* =====================================================
   SECTION HELPERS
   ===================================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(124,58,237,.2);
  color: var(--accent);
  border: 1px solid rgba(124,58,237,.35);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--white);
}
.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* =====================================================
   RECURSOS
   ===================================================== */
.recursos { padding: 96px 0; background: var(--bg); }

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-recurso {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.card-recurso:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
  border-color: var(--primary-mid);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.card-recurso h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
.card-recurso p { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* =====================================================
   COMO COMEÇAR
   ===================================================== */
.como-comecar { padding: 96px 0; background: var(--bg-2); }

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: var(--primary-mid); }

.step-number {
  font-size: 36px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.step p { font-size: 14px; color: var(--gray); }

.step-arrow {
  font-size: 28px;
  color: var(--primary-mid);
  flex-shrink: 0;
}

/* =====================================================
   DEPOIMENTOS
   ===================================================== */
.depoimentos { padding: 96px 0; background: var(--bg); }

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card-depoimento {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.card-depoimento:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.card-depoimento.destaque {
  background: var(--grad);
  border-color: transparent;
  box-shadow: var(--glow);
}
.card-depoimento.destaque p { color: rgba(255,255,255,.9); }
.card-depoimento.destaque .stars { color: #fde68a; }

.stars { font-size: 18px; color: #f59e0b; margin-bottom: 16px; }
.card-depoimento p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.depoimento-autor { display: flex; align-items: center; gap: 14px; }
.autor-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: white;
  flex-shrink: 0;
}
.depoimento-autor strong { display: block; font-size: 15px; color: var(--white); }
.depoimento-autor span { font-size: 13px; color: var(--gray); }
.card-depoimento.destaque .depoimento-autor span { color: rgba(255,255,255,.7); }

/* =====================================================
   PREÇOS
   ===================================================== */
.precos { padding: 96px 0; background: var(--bg-2); }

.precos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.card-preco {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.card-preco:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-preco.popular {
  border-color: var(--primary-mid);
  box-shadow: var(--glow);
  transform: scale(1.04);
  background: var(--bg-card2);
}
.card-preco.popular:hover { transform: scale(1.04) translateY(-6px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.plano-nome {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 12px;
}

.plano-preco {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 28px;
  line-height: 1;
}
.cifrao { font-size: 20px; font-weight: 700; color: var(--accent); padding-bottom: 6px; }
.valor { font-size: 56px; font-weight: 800; color: var(--white); }
.periodo { font-size: 15px; color: var(--gray); padding-bottom: 8px; }

.plano-consulta { align-items: center; }
.valor-consulta {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plano-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.plano-features li { font-size: 14px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 8px; }
.plano-features li.disabled { color: rgba(255,255,255,.2); }

.garantia { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }

/* =====================================================
   FAQ
   ===================================================== */
.faq { padding: 96px 0; background: var(--bg); }

.faq-inner .section-header { margin-bottom: 48px; }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  transition: background var(--transition);
  font-family: 'Baloo Bhai 2', sans-serif;
}
.faq-question:hover { background: var(--bg-card2); }
.faq-question.open { background: rgba(124,58,237,.25); color: var(--accent); }

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--primary-mid);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  background: var(--bg-card);
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
  padding: 16px 24px 20px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta-final {
  background: var(--grad-dark);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,58,237,.4) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
}
.cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 20px;
  margin-bottom: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #080814; padding: 64px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-col p, .footer-col a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  display: block;
  margin-top: 6px;
}
.footer-col a:hover { color: var(--accent); }
.footer-col > p:first-of-type { margin-top: 14px; max-width: 260px; }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
}

.social-links { display: flex; gap: 14px; margin-top: 18px; }
.social-links a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
  color: var(--gray);
  margin: 0;
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: white; }

.footer-bottom { padding: 20px 0; }
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span, .footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.25);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--accent); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .recursos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(13,13,26,.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }

  .recursos-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .precos-grid { grid-template-columns: 1fr; }
  .card-preco.popular { transform: none; }
  .card-preco.popular:hover { transform: translateY(-6px); }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .hero { padding-top: 100px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .clientes-logos { gap: 20px; }
  .clientes-logos span { font-size: 12px; }
}
