/* Intelligence in motion: a functional demo, original client voices, brand signal. */
.hero { background: radial-gradient(ellipse at 85% 45%, #f1603d0b, transparent 48%), #111214; }
.ai-demo { position: relative; isolation: isolate; background: #101216; overflow: hidden; }
.ai-demo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 75% 48%, #f1603d13, transparent 50%); }
.ai-demo .section-heading > p { max-width: 390px; font-size: 16px; }
.demo-stage { border: 1px solid #5b4441; border-radius: 8px; overflow: hidden; background: #15181e; box-shadow: 0 0 70px #f1603d08; }
.demo-stage-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 29px; gap: 24px; border-bottom: 1px solid #393c45; }
.demo-stage-brand { display: flex; align-items: center; gap: 14px; color: #dbe0eb; font: 12px var(--mono); }
.demo-stage-type { color: #aab5c8; font: 12px var(--mono); }
.demo-scenarios { display: flex; padding: 19px 29px; gap: 13px; border-bottom: 1px solid #393c45; background: #12151a; }
.demo-scenarios button { padding: 13px 18px; min-height: 48px; border: 1px solid #4a5262; border-radius: 4px; background: #1a1f29; color: #c2cee2; font-size: 14px; display: flex; align-items: center; gap: 13px; transition: background .2s, border-color .2s; }
.demo-scenarios button > span { font: 12px var(--mono); }
.demo-scenarios button[aria-pressed=true] { color: #ffd1c4; background: #f1603d13; border-color: #e1745b; }
.demo-workspace { display: grid; grid-template-columns: 1.2fr 1fr; }
.demo-conversation { min-width: 0; padding: 27px 29px 0; background: #181c24; }
.demo-chat-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #404959; }
.demo-chat-heading > div { display: flex; align-items: center; gap: 14px; }
.demo-agent-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #f1603d70; border-radius: 6px; color: var(--orange); font-size: 30px; background: #f1603d0e; }
.demo-chat-heading strong { font: 500 18px var(--display); letter-spacing: -.04em; }
.demo-chat-heading div div > span { display: block; color: #aab9d1; font: 12px var(--mono); margin-top: 7px; }
.demo-signal { display: flex; gap: 4px; height: 20px; align-items: center; }
.demo-signal i { display: block; width: 3px; height: 10px; background: var(--orange); }
.demo-signal i:nth-child(2) { height: 20px; }.demo-signal i:nth-child(3) { height: 15px; }.demo-signal i:nth-child(4) { height: 6px; }
.demo-messages { height: 360px; overflow-y: auto; padding: 23px 3px 23px 0; display: flex; flex-direction: column; gap: 17px; scrollbar-width: thin; scrollbar-color: #6c5f61 #181c24; overscroll-behavior: contain; }
.demo-message { max-width: 91%; animation: demo-message-enter .3s ease-out; }
.demo-message > span { font: 12px var(--mono); color: #a9b9d2; display: block; margin-bottom: 7px; }
.demo-message p { font-size: 16px; line-height: 1.75; padding: 15px 18px; background: #262e3d; color: #e1e7f1; border: 1px solid #485773; border-radius: 2px 10px 10px 10px; }
.demo-message.human { align-self: flex-end; }.demo-message.human > span { text-align: right; }
.demo-message.human p { background: #f1603d16; border-color: #995a4b; color: #f2dfd9; border-radius: 10px 2px 10px 10px; }
.demo-message.system { max-width: 100%; align-self: flex-start; color: #b5c6df; font: 12px/1.8 var(--mono); padding-left: 14px; border-left: 2px solid var(--orange); }
.demo-message.typing p::after { content: ''; display: inline-block; width: 2px; height: 15px; margin-left: 4px; background: var(--orange); vertical-align: -2px; }
.demo-chat-footer { display: flex; justify-content: space-between; gap: 15px; padding: 17px 0; border-top: 1px solid #404959; color: #b1bfd6; font: 12px/1.7 var(--mono); }
.demo-footer-code { white-space: nowrap; color: #bd8e80; }
.demo-orchestration { position: relative; padding: 35px 38px; min-width: 0; border-left: 1px solid #393f4b; background-image: linear-gradient(#e8eef503 1px,transparent 1px),linear-gradient(90deg,#e8eef503 1px,transparent 1px); background-size: 32px 32px; }
.demo-orchestration .eyebrow { font: 12px/1.7 var(--mono); color: #b4c1d5; }
.demo-orchestration h3 { font-size: 32px; letter-spacing: -.055em; line-height: 1.3; margin: 15px 0 26px; }
.demo-pipeline { display: grid; gap: 13px; }
.demo-step { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 17px 19px; border: 1px solid #485365; background: #1c222ccc; border-radius: 4px; transition: border-color .3s, background .3s; }
.demo-step > span { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #728198; color: #bac9e0; border-radius: 50%; font: 12px var(--mono); }
.demo-step h4 { font-size: 16px; font-weight: 500; color: #c2cee2; margin: 0 0 6px; }
.demo-step p { font-size: 14px; line-height: 1.6; color: #a8b8d1; }
.demo-step[data-state=active] { border-color: #eb8b73; background: #f1603d10; }
.demo-step[data-state=active] > span, .demo-step[data-state=done] > span { background: #f1603d; color: #111214; border-color: #f1603d; }
.demo-step[data-state=active] h4, .demo-step[data-state=done] h4 { color: #f4e0d9; }
.demo-step[data-state=done] { border-color: #8e655a; }
.demo-human { display: flex; gap: 15px; align-items: center; margin-top: 26px; color: #adbed7; }
.demo-human > span { color: var(--orange); font-size: 30px; }
.demo-human p { font-size: 14px; line-height: 1.8; }.demo-human strong { font-weight: 500; color: #d5ddeb; }
.demo-controls { display: flex; justify-content: space-between; align-items: center; padding: 20px 29px; gap: 35px; border-top: 1px solid #414959; background: #101319; }
.demo-controls > p { font-size: 13px; line-height: 1.8; color: #a7b7cf; max-width: 470px; }
.demo-controls > div { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.demo-controls button { min-height: 47px; font-size: 14px; color: #d9e1ee; padding: 11px 15px; background: #1c222d; border: 1px solid #68768e; border-radius: 3px; }
.demo-controls button:hover { border-color: var(--orange); }.demo-controls button:disabled { color: #a4b0c5; cursor: default; }
.demo-controls button > span { margin-left: 5px; color: var(--orange); font-size: 18px; }
.demo-below { display: flex; justify-content: space-between; align-items: flex-start; gap: 35px; padding-top: 27px; }
.demo-transcript { max-width: 670px; min-width: 0; flex: 1; color: #b2c2dc; }
.demo-transcript summary { font-size: 14px; display: flex; justify-content: space-between; gap: 30px; padding: 13px 0; cursor: pointer; list-style: none; border-bottom: 1px solid #48546b; }
.demo-transcript summary::-webkit-details-marker { display: none; }.demo-transcript summary span { color: var(--orange); }
.demo-transcript[open] summary span { transform: rotate(45deg); }
#demo-transcript { display: grid; gap: 14px; padding-top: 21px; }
#demo-transcript p { font-size: 16px; line-height: 1.8; }#demo-transcript strong { color: #edf0f7; font-weight: 500; }
.demo-below > a { flex-shrink: 0; }
@keyframes demo-message-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.testimonials { color: #1c2431; background: #f2f3f4; color-scheme: light; }
.testimonials .section-kicker { color: #5d687b; border-color: #c7ced9; }.testimonials .section-kicker > span:last-child { color: #5c6675; }
.testimonials .section-heading > p { color: #586578; font-size: 16px; max-width: 385px; }.testimonials .ink-muted { color: #6b7585; }
.voices-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.voice-card { margin: 0; padding: 29px; border: 1px solid #c0cad8; border-radius: 5px; display: flex; flex-direction: column; background: #fafbfc; min-width: 0; }
.voice-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.voice-top > span:first-child { font: 12px/1.7 var(--mono); color: #607085; max-width: 195px; }
.voice-quote-mark { font: 55px/.85 var(--display); color: #d14a2b; }
.voice-card blockquote { font: 400 23px/1.55 var(--display); letter-spacing: -.045em; margin: 28px 0 18px; }
.voice-context { color: #617089; font-size: 15px; line-height: 1.8; margin-bottom: 29px; }
.voice-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid #c8d2df; }
.voice-card figcaption img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid #99a9bd; }
.voice-card figcaption strong { font-size: 15px; line-height: 1.5; font-weight: 600; }.voice-card figcaption span { display: block; font-size: 13px; line-height: 1.6; color: #607089; margin-top: 3px; }
.voice-source { align-self: flex-start; font-size: 12px; line-height: 1.8; color: #586880; margin-top: 18px; }
.voice-featured { background: #1b2534; color: #f0f3f8; border-color: #1b2534; }
.voice-featured .voice-top > span:first-child { color: #b6c5db; }.voice-featured .voice-quote-mark { color: var(--orange); }
.voice-featured blockquote { font-size: 29px; line-height: 1.5; }
.voice-featured .voice-context, .voice-featured figcaption span, .voice-featured .voice-source { color: #b5c4dc; }.voice-featured figcaption { border-color: #566780; }
.voices-credit { font-size: 13px; color: #5f6b7e; line-height: 1.9; margin-top: 26px; max-width: 950px; }
@media(max-width:1100px) {
 .demo-orchestration { padding: 32px 27px; }.demo-controls { gap: 22px; }.demo-controls > p { max-width: 340px; }
 .voice-card { padding: 24px; }.voice-card blockquote { font-size: 21px; }.voice-featured blockquote { font-size: 26px; }
}
@media(max-width:850px) {
 .demo-workspace { grid-template-columns: 1fr; }.demo-conversation { padding: 26px 30px 0; }.demo-messages { height: 360px; }
 .demo-orchestration { border-left: 0; border-top: 1px solid #414959; padding: 29px 30px; }.demo-orchestration h3 { font-size: 28px; }.demo-orchestration h3 br { display: none; }
 .demo-pipeline { grid-template-columns: repeat(3,1fr); gap: 12px; }.demo-step { flex-direction: column; padding: 18px 16px; gap: 14px; }.demo-step p { font-size: 14px; }
 .demo-human { margin-top: 21px; }.demo-controls { align-items: flex-start; flex-direction: column; gap: 20px; }.demo-controls > p { max-width: 100%; }
 .voices-grid { grid-template-columns: 1fr 1fr; }.voice-featured { grid-column: 1/-1; }.voice-featured blockquote { font-size: 30px; max-width: 680px; }.voice-featured .voice-context { max-width: 600px; }
}
@media(max-width:600px) {
 .demo-stage-bar { padding: 18px 21px; align-items: flex-start; flex-direction: column; gap: 13px; }.demo-stage-brand { font-size: 12px; line-height: 1.7; gap: 12px; }.demo-stage-type { font-size: 12px; }
 .demo-scenarios { padding: 17px 19px; gap: 10px; }.demo-scenarios button { flex: 1; padding: 12px 11px; font-size: 14px; line-height: 1.6; align-items: flex-start; gap: 9px; }.demo-scenarios button > span { margin-top: 2px; }
 .demo-conversation { padding: 25px 20px 0; }.demo-chat-heading { gap: 15px; }.demo-chat-heading div div > span { font-size: 12px; }.demo-agent-icon { width: 35px; height: 35px; font-size: 26px; }.demo-chat-heading > div { gap: 10px; }
 .demo-messages { height: 380px; padding-top: 21px; }.demo-message { max-width: 96%; }.demo-message p { padding: 13px 15px; font-size: 16px; line-height: 1.75; }.demo-message.system { font-size: 12px; }
 .demo-chat-footer { font-size: 12px; }.demo-footer-code { display: none; }.demo-orchestration { padding: 29px 23px; }.demo-orchestration .eyebrow { font-size: 12px; }.demo-orchestration h3 { font-size: 30px; }
 .demo-pipeline { grid-template-columns: 1fr; gap: 13px; }.demo-step { flex-direction: row; padding: 17px; gap: 16px; }.demo-step h4 { font-size: 16px; }.demo-step p { font-size: 14px; }.demo-human p { font-size: 14px; }
 .demo-controls { padding: 22px 20px; gap: 21px; }.demo-controls > p { font-size: 14px; }.demo-controls > div { flex-wrap: wrap; gap: 10px; }.demo-controls button { min-height: 48px; font-size: 14px; padding: 11px 13px; }
 .demo-below { flex-direction: column; gap: 26px; }.demo-transcript { max-width: 100%; width: 100%; }.demo-transcript summary { font-size: 16px; }
 .voices-grid { grid-template-columns: 1fr; gap: 19px; }.voice-card { padding: 28px; }.voice-featured { grid-column: auto; }.voice-card blockquote { font-size: 25px; }.voice-featured blockquote { font-size: 28px; }.voice-context { font-size: 16px; }.voice-card figcaption strong { font-size: 16px; }.voice-card figcaption span { font-size: 14px; }.voice-source, .voices-credit { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) { .demo-message { animation: none; }.demo-step { transition: none; } }

/* Login ao lado do CTA do header */
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .button { cursor: pointer; }
@media (max-width: 850px) {
  .header-actions { margin-left: auto; }
  .header-actions .header-cta { margin-left: 0; }
}
@media (max-width: 600px) {
  .header-actions { gap: 8px; }
  .header-login { font-size: 12px; padding: 9px 12px; min-height: 37px; }
}
.header-actions .button { white-space: nowrap; }
@media (max-width: 420px) {
  .site-header { gap: 10px; }
  .brand { font-size: 18px; }
  .header-actions { gap: 6px; }
  .header-actions .button { font-size: 11px; padding: 8px 10px; min-height: 36px; }
}
@media (max-width: 420px) {
  .site-header .brand span { display: none; }
}

/* Login: botão no cabeçalho no desktop; item do menu hambúrguer no mobile */
.nav-login { display: none; }
@media (max-width: 850px) {
  .header-actions .header-login { display: none; }
  nav .nav-login {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px; padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--text); font-weight: 600;
  }
  nav .nav-login::after { content: "→"; color: var(--orange); }
}
