:root {
  --paper: #fbfcfe;
  --ink: #0f1b33;
  --ink-soft: #4a5672;
  --blue: #2966e9;
  --blue-deep: #1b4cc0;
  --sky: #e9f0fd;
  --chat: #d9fdd3;
  --line: #dde3ee;
  --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; margin: 0; letter-spacing: -0.02em; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -0.02em; }
.brand i { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); box-shadow: inset -7px -7px 0 0 var(--blue-deep); }
.brand.small { font-size: 17px; }
.brand.small i { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset -5px -5px 0 0 var(--blue-deep); }

.top { max-width: 1180px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); }
.top nav .ghost { color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 18px; font-weight: 600; }

.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; padding: 15px 28px; border-radius: 999px; transition: background .15s; }
.btn:hover { background: var(--blue-deep); }
.link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* hero */
.hero { max-width: 1180px; margin: 0 auto; padding: 48px 24px 96px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; font-weight: 800; max-width: 12ch; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin: 24px 0 32px; }
.cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--ink-soft); margin-top: 22px; }

/* a mesma conversa no celular e no CRM */
.duo { position: relative; min-height: 470px; }
.window { position: absolute; right: 0; top: 30px; width: 88%; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(15, 27, 51, .35); overflow: hidden; }
.win-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.win-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-grid { display: grid; grid-template-columns: 40% 60%; min-height: 380px; font-size: 13px; }
.win-list { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--line); }
.win-list li { display: grid; grid-template-columns: 30px 1fr 8px; gap: 8px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.win-list li.on { background: var(--sky); }
.win-list b { display: block; font-size: 13px; }
.win-list em { font-style: normal; color: var(--ink-soft); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16ch; }
.win-list .dot { width: 8px; height: 8px; border-radius: 50%; background: #25a35a; }
.av { width: 30px; height: 30px; border-radius: 50%; background: #c7d6fb; color: var(--blue-deep); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.av.g { background: #cdeed9; color: #1d7a45; }
.av.o { background: #fde3c8; color: #9a5310; }
.win-chat { padding: 16px 14px 70px 14px; display: flex; flex-direction: column; gap: 8px; background: #f6f8fc; position: relative; }

.b { margin: 0; padding: 8px 11px; border-radius: 12px; max-width: 86%; font-size: 13px; line-height: 1.4; }
.b.in { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-top-left-radius: 4px; }
.b.out { background: var(--chat); align-self: flex-end; border-top-right-radius: 4px; }
.b.echo { background: var(--sky); align-self: flex-end; border-top-right-radius: 4px; }
.b small { display: block; font-size: 10.5px; color: var(--blue-deep); margin-top: 3px; }
.deal { position: absolute; left: 14px; right: 14px; bottom: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #a855f7; border-radius: 10px; padding: 8px 12px; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.deal span:first-child { color: var(--ink-soft); }
.deal .stage { margin-left: auto; background: #f3e8ff; color: #7e22ce; padding: 2px 9px; border-radius: 999px; }

.phone { position: absolute; left: -8px; bottom: 0; z-index: 2; width: 220px; background: #fff; border: 7px solid var(--ink); border-radius: 30px; overflow: hidden; box-shadow: 0 30px 50px -24px rgba(15, 27, 51, .55); }
.phone-bar { display: flex; align-items: center; gap: 8px; padding: 18px 12px 10px; background: #075e54; color: #fff; font-size: 13px; }
.phone-bar .av { width: 26px; height: 26px; background: #e6f2ef; color: #075e54; font-size: 12px; }
.phone-body { background: #efe7de; padding: 12px 10px 18px; display: flex; flex-direction: column; gap: 7px; min-height: 250px; }
.phone-body .b { font-size: 12px; }

/* único momento animado: a mensagem nova chega nos dois lugares */
@media (prefers-reduced-motion: no-preference) {
  .late { opacity: 0; transform: translateY(6px); animation: land .45s ease-out forwards; }
  .phone .late { animation-delay: 1.1s; }
  .window .late, .late-text { animation-delay: 1.6s; }
  .deal.late { animation-delay: 2.3s; }
  .late-text { opacity: 0; animation: land .45s ease-out 1.6s forwards; }
}
@keyframes land { to { opacity: 1; transform: none; } }

/* como funciona */
.band { background: var(--ink); color: #fff; padding: 88px 24px; }
.band h2 { max-width: 1180px; margin: 0 auto 44px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.steps { max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid rgba(255, 255, 255, .2); padding-top: 22px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--blue); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: #b9c3d9; margin: 0; max-width: 34ch; }

/* recursos */
.features { max-width: 1180px; margin: 0 auto; padding: 96px 24px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px 72px; }
.features h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.15; margin-bottom: 14px; max-width: 20ch; }
.features p { color: var(--ink-soft); margin: 0; max-width: 52ch; }

/* perguntas */
.faq { max-width: 780px; margin: 0 auto; padding: 72px 24px; }
.faq h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 60ch; }

.closing { background: var(--sky); text-align: center; padding: 88px 24px; }
.closing h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; max-width: 18ch; margin: 0 auto 32px; line-height: 1.05; }

.foot { max-width: 1180px; margin: 0 auto; padding: 32px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink-soft); }

/* páginas legais */
.legal { max-width: 720px; margin: 0 auto; padding: 32px 24px 80px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; line-height: 1.05; }
.legal .updated { color: var(--ink-soft); font-size: 15px; margin: 10px 0 32px; }
.legal h2 { font-size: 23px; font-weight: 700; margin: 40px 0 10px; }
.legal p, .legal li { color: #2b3651; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 72px; }
  .duo { min-height: 440px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { padding: 18px 16px; }
  .top nav a:not(.ghost) { display: none; }
  .hero, .features, .faq, .legal { padding-left: 16px; padding-right: 16px; }
  .band, .closing { padding-left: 16px; padding-right: 16px; }
  .duo { min-height: 400px; }
  .window { width: 100%; top: 0; }
  .win-grid { grid-template-columns: 1fr; }
  .win-list { display: none; }
  .phone { width: 170px; left: auto; right: 0; bottom: -36px; border-width: 6px; }
  .phone-body { min-height: 190px; }
  .lede { font-size: 17px; }
}
