/* ── Shared section header ────────────────────── */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-header h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px;
  color: var(--navy);
}
.section-header p { font-size: 1.05rem; color: var(--gray); }

/* ── PROBLEMA ─────────────────────────────────── */
#problema {
  background: var(--off-white);
  padding: 100px 0;
}
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pain-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px; padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.pain-emoji { font-size: 2rem; margin-bottom: 16px; display: block; }
.pain-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pain-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.65; }

/* ── SOLUÇÃO ──────────────────────────────────── */
#solucao {
  background: var(--navy);
  padding: 100px 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(123,53,214,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(59,130,246,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 10% 90%, rgba(192,38,211,0.06) 0%, transparent 50%);
}
#solucao .section-header h2 { color: var(--white); }
#solucao .section-header p { color: rgba(255,255,255,0.55); }
.before-after {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch;
}
.ba-card {
  border-radius: 20px; padding: 36px; position: relative; overflow: hidden;
}
.ba-card.before {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.ba-card.after {
  background: linear-gradient(135deg, rgba(123,53,214,0.15), rgba(123,53,214,0.05));
  border: 1px solid rgba(123,53,214,0.25);
}
.ba-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 20px; display: inline-block;
  padding: 4px 12px; border-radius: 100px;
}
.ba-card.before .ba-label { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }
.ba-card.after .ba-label { background: rgba(123,53,214,0.2); color: var(--purple); }
.ba-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ba-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.92rem; line-height: 1.55;
}
.ba-card.before .ba-list li { color: rgba(255,255,255,0.45); }
.ba-card.after .ba-list li { color: rgba(255,255,255,0.9); }
.ba-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.ba-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 52px; align-self: center;
}
.arrow-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--white); font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(123,53,214,0.15);
}

/* ── FEATURES ─────────────────────────────────── */
#features {
  background: var(--white);
  padding: 100px 0;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feat-card {
  border-radius: 20px; padding: 32px;
  border: 1px solid var(--gray-light);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.07); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.feat-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.feat-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }
.feat-card.ai-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(123,53,214,0.3);
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.ai-card .feat-icon { background: rgba(123,53,214,0.15); }
.ai-card h3 { color: var(--white); font-size: 1.4rem; }
.ai-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad); border: none;
  color: var(--white); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.ai-mini-chat { display: flex; flex-direction: column; gap: 10px; }
.ai-bubble {
  padding: 12px 16px; border-radius: 14px; font-size: 0.82rem; max-width: 90%;
}
.ai-bubble.user {
  background: var(--grad); color: var(--white); font-weight: 500;
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.ai-bubble.bot {
  background: rgba(123,53,214,0.12); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(123,53,214,0.2); align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.ai-bubble.bot strong { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── IA DESTAQUE ──────────────────────────────── */
#ia-destaque {
  background: var(--off-white);
  padding: 100px 0;
}
.ia-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ia-content h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 20px;
  line-height: 1.15;
}
.ia-content h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ia-content p { font-size: 1rem; color: var(--gray); margin-bottom: 32px; line-height: 1.7; }
.ia-perks { display: flex; flex-direction: column; gap: 14px; }
.ia-perk { display: flex; align-items: flex-start; gap: 12px; }
.perk-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 2px;
}
.ia-perk span { font-size: 0.92rem; color: var(--slate); line-height: 1.55; }
.chat-window {
  background: var(--navy);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(10,22,40,0.3);
  border: 1px solid rgba(123,53,214,0.15);
}
.chat-topbar {
  background: var(--navy-mid);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.chat-name { font-family: var(--font-head); color: var(--white); font-size: 0.9rem; font-weight: 700; }
.chat-status { font-size: 0.72rem; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }
.chat-messages { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; align-items: flex-end; }
.msg.user { flex-direction: row-reverse; }
.msg-bubble {
  max-width: 78%; padding: 12px 16px; border-radius: 16px; font-size: 0.88rem; line-height: 1.55;
}
.msg.user .msg-bubble {
  background: var(--grad); color: var(--white); font-weight: 500;
  border-bottom-right-radius: 4px;
}
.msg.bot .msg-bubble {
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.88);
  border-bottom-left-radius: 4px; border: 1px solid rgba(255,255,255,0.08);
}
.msg.bot .msg-bubble strong { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.msg-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--purple); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}
.msg-av.user { background: var(--slate); color: var(--white); font-size: 0.7rem; font-weight: 700; }
.chat-input {
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 10px;
}
.chat-field {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 10px 16px; color: rgba(255,255,255,0.5);
  font-family: var(--font-body); font-size: 0.82rem;
}
.chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  flex-shrink: 0;
}

/* ── DEPOIMENTOS ──────────────────────────────── */
#depoimentos {
  background: var(--white);
  padding: 100px 0;
}
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--off-white);
  border-radius: 20px; padding: 32px;
  border: 1px solid var(--gray-light);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.stars { color: #F59E0B; font-size: 0.9rem; letter-spacing: 2px; }
.testi-text { font-size: 0.95rem; color: var(--slate); line-height: 1.7; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.testi-role { font-size: 0.78rem; color: var(--gray); }

/* ── COMO FUNCIONA ────────────────────────────── */
#como-funciona {
  background: var(--navy);
  padding: 100px 0;
  background-image:
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(123,53,214,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 100% 0%, rgba(59,130,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 80% 100%, rgba(192,38,211,0.07) 0%, transparent 50%);
}
#como-funciona .section-header h2 { color: var(--white); }
#como-funciona .section-header p { color: rgba(255,255,255,0.5); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 28px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  transition: transform 0.25s, border-color 0.25s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(123,53,214,0.45); box-shadow: 0 0 0 1px rgba(59,130,246,0.2); }
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad); color: var(--white);
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-bottom: 24px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px rgba(123,53,214,0.12);
}
.step h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.step p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── CTA FINAL ────────────────────────────────── */
#cta-final {
  background: var(--white);
  padding: 120px 0;
}
.cta-box {
  background: var(--navy);
  border-radius: 32px; padding: 80px 60px;
  text-align: center; position: relative; overflow: hidden;
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(123,53,214,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 20%, rgba(59,130,246,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 90% 20%, rgba(192,38,211,0.10) 0%, transparent 50%);
}
.cta-box h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 20px;
}
.cta-box h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-box p { font-size: 1.05rem; color: rgba(255,255,255,0.55); margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-btn { font-size: 1.1rem; padding: 20px 48px; }
.cta-trust {
  display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--white);
  border-top: 1px solid rgba(123,53,214,0.10);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand .nav-logo { font-size: 1.2rem; }
.footer-tagline { font-size: 0.78rem; color: var(--gray); margin-top: 4px; }
.footer-copy { font-size: 0.78rem; color: var(--gray); }
