:root {
  --cafe: #3E2C22;
  --cacau: #5C4438;
  --terra: #8A6B53;
  --argila: #B89882;
  --pessego: #D9B89E;
  --areia: #D9C5A3;
  --linho: #E8DCC4;
  --aveia: #F4ECDC;
  --algodao: #FBF6EC;
  --carvao: #1F1612;
  --sombra: #6E5A4A;
  --linha: #E0D4BC;
      --marsala: #964F4C;
      --marsala-claro: #C77079;
      --oliva: #4F5D3E;
      --oliva-claro: #8B9670;
      --accent: var(--cafe);
      --accent-claro: var(--cacau);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  color: var(--cafe);
  line-height: 1.65;
  background: var(--algodao);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cafe);
}
.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }

nav { padding: 20px 0; border-bottom: 1px solid var(--linha); background: var(--algodao); position: sticky; top: 0; z-index: 100; }
nav .container { display: flex; justify-content: space-between; align-items: center; }
nav img { display: block; height: 40px; width: auto; }
.logo { font-family: 'Lora', Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 400; letter-spacing: -0.02em; }
.logo em { font-style: normal; }
.logo a { color: var(--cafe); text-decoration: none; }
.nav-cta {
  background: var(--cafe); color: var(--algodao);
  padding: 11px 22px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: background 0.2s; letter-spacing: 0.01em;
}
.nav-cta:hover { background: var(--cacau); }

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links > a:not(.nav-cta) { color: var(--cafe); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-toggle span { display: block; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--cafe); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; transform-origin: center; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { padding: 64px 0 48px; text-align: center; background: var(--algodao); }
.hero h1 { font-size: 48px; font-weight: 400; line-height: 1.08; margin-bottom: 24px; letter-spacing: -0.025em; }
.hero h1 em { color: var(--marsala); }
.hero p { font-size: 19px; color: var(--sombra); margin-bottom: 40px; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cafe); color: var(--algodao);
  padding: 16px 36px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 17px;
  transition: transform 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.cta-button:hover { background: var(--cacau); transform: translateY(-2px); }
.cta-button svg { width: 22px; height: 22px; fill: currentColor; }
.hero-sub { margin-top: 16px; font-size: 13px; color: var(--sombra); letter-spacing: 0.04em; }

.section { padding: 56px 0; }
.section.alt { background: var(--linho); }
.section h2 { font-size: 34px; font-weight: 400; text-align: center; margin-bottom: 16px; letter-spacing: -0.02em; position: relative; }
.section h2::after { content: ''; display: block; width: 36px; height: 2px; background: var(--accent); margin: 14px auto 0; border-radius: 2px; }
.section > .container > p.lede { text-align: center; color: var(--sombra); margin-bottom: 40px; font-size: 17px; }

.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pain-card { background: var(--algodao); padding: 24px; border-radius: 16px; border: 1px solid var(--linha); }
.section.alt .pain-card { background: var(--algodao); }
.pain-card .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; display: block; }
.pain-card .icon svg { width: 100%; height: 100%; display: block; }
.pain-card h3 { font-family: 'Lora', Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.pain-card p { font-size: 14.5px; color: var(--sombra); line-height: 1.6; }

.steps { display: flex; flex-direction: column; gap: 28px; max-width: 600px; margin: 0 auto; }
.step { display: flex; gap: 22px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--accent); color: var(--algodao);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 500; font-size: 19px;
}
.step h3 { font-family: 'Lora', Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--sombra); line-height: 1.6; }

.demo-container { max-width: 1040px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.demo-chat { display: flex; flex-direction: column; gap: 12px; }
.demo-label {
  display: inline-flex; align-self: center;
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 13px; font-weight: 500; color: var(--cafe);
  background: var(--algodao); border: 1px solid var(--linha);
  border-radius: 999px; padding: 6px 14px;
  letter-spacing: 0.02em;
}
.demo-chat .chat { max-width: 100%; margin: 0; }
@media (max-width: 760px) {
  .demo-grid { grid-template-columns: 1fr; gap: 32px; }
}
.chat {
  max-width: 420px; margin: 0 auto;
  background: #ECE5DD; border-radius: 18px;
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.msg {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  font-size: 14px; line-height: 1.5;
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
}
.msg-bot { background: #ffffff; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user { background: #DCF8C6; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg b { font-family: 'Lora', Georgia, 'Times New Roman', serif; font-weight: 500; font-size: 15px; display: block; margin-bottom: 4px; }

.final { padding: 64px 0; background: var(--cafe); color: var(--algodao); text-align: center; }
.final h2 { font-size: 38px; font-weight: 400; margin-bottom: 14px; color: var(--algodao); }
.final p { font-size: 18px; color: var(--areia); margin-bottom: 36px; opacity: 0.85; }
.final .cta-button { font-size: 19px; padding: 18px 40px; background: var(--algodao); color: var(--cafe); }
.final .cta-button:hover { background: var(--aveia); }

footer { padding: 32px 0; text-align: center; font-size: 13px; color: var(--sombra); background: var(--algodao); border-top: 1px solid var(--linha); }
footer a { color: var(--sombra); }

.profession-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.profession-tag {
  background: var(--algodao); border: 1px solid var(--linha);
  border-radius: 999px; padding: 7px 16px;
  font-size: 13px; color: var(--cafe); text-decoration: none;
}
.profession-tag:hover { border-color: var(--terra); color: var(--cacau); }

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .pain-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; align-items: center; text-align: center; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 28px; }
  .final h2 { font-size: 28px; }
  nav { padding: 14px 0; }
  nav .container { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; padding: 16px 0 12px; margin-top: 12px; border-top: 1px solid var(--linha); }
  nav.open .nav-links { display: flex; }
  nav.open { box-shadow: 0 4px 16px rgba(62,44,34,0.08); }
  .nav-links > a:not(.nav-cta) { padding: 14px 4px; font-size: 16px; }
  .nav-links > a.nav-cta { margin-top: 8px; text-align: center; padding: 14px 22px; font-size: 15px; }
}
