/* Attendendo — demonstração incorporada da Bia v1.0.0 */
.inner-page--como .bia-demo-hero {
  min-height: 670px;
  max-height: none;
  padding-top: 62px;
  padding-bottom: 62px;
}

.inner-page--como .bia-demo-hero .page-hero-visual-grid {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
  align-items: center;
  gap: clamp(38px, 5vw, 72px);
}

.inner-page--como .bia-demo-hero .page-hero-copy {
  align-self: center;
}

.inner-page--como .bia-demo-hero .page-hero-copy p {
  max-width: 610px;
  font-size: 18px;
}

.bia-embedded {
  width: 100%;
  max-width: 500px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(210, 238, 143, .72);
  border-radius: 26px;
  background: #f6f8f1;
  color: #173223;
  box-shadow: 0 28px 66px rgba(0, 24, 13, .32);
}

.bia-embedded-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #06341c;
  color: #fff;
}

.bia-embedded-avatar {
  width: 48px;
  height: 48px;
  border: 2px solid #9fda06;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #495917;
}

.bia-embedded-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.bia-embedded-identity strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.bia-embedded-identity span {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bia-embedded-reset {
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.bia-embedded-reset:hover,
.bia-embedded-reset:focus-visible {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.bia-embedded-demo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-bottom: 1px solid #d9e0d2;
  background: #edf1e6;
  color: #445442;
  font-size: 12px;
  font-weight: 700;
}

.bia-embedded-demo-label::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: #6f9800;
  box-shadow: 0 0 0 4px rgba(159,218,6,.16);
}

.bia-embedded-log {
  height: 330px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px;
  background-color: #f7f8f3;
  background-image: radial-gradient(rgba(6,52,28,.045) .8px, transparent .8px);
  background-size: 16px 16px;
  scrollbar-width: thin;
  scrollbar-color: #acb8a7 transparent;
}

.bia-embedded-message {
  width: fit-content;
  max-width: 84%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.bia-embedded-message--assistant {
  align-self: flex-start;
  border: 1px solid #d5ddce;
  border-bottom-left-radius: 5px;
  background: #eef1e9;
  color: #263628;
}

.bia-embedded-message--visitor {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: #075033;
  color: #fff;
}

.bia-embedded-typing {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 15px;
  border: 1px solid #d5ddce;
  border-radius: 15px 15px 15px 5px;
  background: #eef1e9;
}

.bia-embedded-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #788374;
  animation: bia-embedded-pulse 1s infinite ease-in-out;
}

.bia-embedded-typing i:nth-child(2) { animation-delay: .14s; }
.bia-embedded-typing i:nth-child(3) { animation-delay: .28s; }

@keyframes bia-embedded-pulse {
  0%, 70%, 100% { opacity: .35; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-2px); }
}

.bia-embedded-summary {
  width: 100%;
  align-self: stretch;
  padding: 14px;
  border: 1px solid #bfd27f;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(6,52,28,.08);
}

.bia-embedded-summary > strong {
  display: block;
  color: #06341c;
  font-family: var(--font-display);
  font-size: 15px;
}

.bia-embedded-summary dl {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 5px 10px;
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.bia-embedded-summary dt {
  color: #667363;
  font-weight: 700;
}

.bia-embedded-summary dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #1b3022;
}

.bia-embedded-summary > p {
  margin: 11px 0 0;
  color: #566352;
  font-size: 12px;
  line-height: 1.45;
}

.bia-embedded-complete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.bia-embedded-cta,
.bia-embedded-restart {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.bia-embedded-cta {
  border: 1px solid #bc6416;
  background: #bc6416;
  color: #fff;
}

.bia-embedded-cta:hover { background: #a95308; }

.bia-embedded-restart {
  border: 1px solid #b9c5b5;
  background: #fff;
  color: #23402d;
}

.bia-embedded-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 11px;
  background: #f7f8f3;
}

.bia-embedded-quick-replies[hidden] { display: none; }

.bia-embedded-quick-replies button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #aab8a5;
  border-radius: 999px;
  background: #fff;
  color: #29432f;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.bia-embedded-quick-replies button:hover,
.bia-embedded-quick-replies button:focus-visible {
  border-color: #648000;
  background: #f2f7df;
}

.bia-embedded-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 16px 8px;
  border-top: 1px solid #d9e0d2;
  background: #fff;
}

.bia-embedded-input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c9d2c5;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: #183020;
  font-size: 14px;
}

.bia-embedded-input:focus {
  border-color: #799c00;
  box-shadow: 0 0 0 3px rgba(159,218,6,.18);
}

.bia-embedded-input:disabled {
  background: #f1f3ed;
  color: #768174;
}

.bia-embedded-send {
  min-width: 78px;
  min-height: 46px;
  padding: 9px 14px;
  border: 0;
  border-radius: 12px;
  background: #bc6416;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.bia-embedded-send:hover { background: #a95308; }

.bia-embedded-send:disabled {
  cursor: default;
  opacity: .52;
}

.bia-embedded-error {
  min-height: 18px;
  margin: 0;
  padding: 0 16px;
  background: #fff;
  color: #a22929;
  font-size: 11px;
}

.bia-embedded-footnote {
  margin: 0;
  padding: 3px 16px 13px;
  background: #fff;
  color: #687467;
  font-size: 10.5px;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .inner-page--como .bia-demo-hero {
    min-height: 0;
  }

  .inner-page--como .bia-demo-hero .page-hero-visual-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .bia-embedded {
    width: min(100%, 560px);
    max-width: none;
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .inner-page--como .bia-demo-hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .bia-embedded {
    border-radius: 20px;
  }

  .bia-embedded-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding: 10px 12px;
  }

  .bia-embedded-avatar {
    width: 42px;
    height: 42px;
  }

  .bia-embedded-identity span {
    font-size: 10.5px;
  }

  .bia-embedded-reset {
    padding-inline: 7px;
  }

  .bia-embedded-log {
    height: 350px;
    padding: 15px 12px;
  }

  .bia-embedded-message {
    max-width: 90%;
    font-size: 13.5px;
  }

  .bia-embedded-quick-replies {
    padding-inline: 12px;
  }

  .bia-embedded-composer {
    padding-inline: 12px;
  }

  .bia-embedded-input {
    font-size: 16px;
  }

  .bia-embedded-summary dl {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bia-embedded-typing i {
    animation: none;
    opacity: .75;
  }
}

/* BIA_EMBEDDED_LAYOUT_V1_1 */
.inner-page--como .bia-info-hero {
  min-height: 360px;
  max-height: 488px;
  padding-top: 74px;
  padding-bottom: 66px;
}

.inner-page--como .bia-info-hero-inner {
  display: block;
}

.inner-page--como .bia-info-hero .page-hero-copy {
  max-width: 900px;
}

.inner-page--como .bia-info-hero .page-hero-copy p {
  max-width: 760px;
}

.inner-page--como .bia-demo-section {
  padding-top: 70px;
  padding-bottom: 76px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.inner-page--como .bia-demo-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inner-page--como .bia-demo-section-copy {
  width: min(100%, 780px);
  margin: 0 auto 30px;
  text-align: center;
}

.inner-page--como .bia-demo-section-copy .section-label {
  margin-bottom: 12px;
}

.inner-page--como .bia-demo-section-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}

.inner-page--como .bia-demo-section-copy p {
  max-width: 700px;
  margin: 15px auto 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.55;
}

.inner-page--como .bia-demo-section .bia-embedded {
  width: min(100%, 560px);
  max-width: 560px;
  justify-self: auto;
  margin-inline: auto;
}

.inner-page--como .bia-demo-section .bia-embedded-log {
  height: 250px;
}

.inner-page--como .bia-demo-section .bia-embedded-message--assistant {
  color: #263628;
}

.inner-page--como .bia-demo-section .bia-embedded-summary > p {
  color: #566352;
}

@media (max-width: 680px) {
  .inner-page--como .bia-info-hero {
    min-height: 0;
    max-height: none;
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .inner-page--como .bia-demo-section {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .inner-page--como .bia-demo-section-copy {
    margin-bottom: 24px;
    text-align: left;
  }

  .inner-page--como .bia-demo-section-copy p {
    margin-left: 0;
  }

  .inner-page--como .bia-demo-section .bia-embedded-log {
    height: 290px;
  }
}

/* BIA_ELETRICA_VOLT_SIDE_LAYOUT_V1_2 */
.inner-page--como .bia-demo-section-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 560px);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.inner-page--como .bia-demo-section-copy {
  width: auto;
  max-width: 560px;
  margin: 0;
  justify-self: start;
  text-align: left;
}

.inner-page--como .bia-demo-section-copy p {
  margin-right: 0;
  margin-left: 0;
}

.inner-page--como .bia-demo-section .bia-embedded {
  justify-self: end;
  margin-inline: 0;
}

@media (max-width: 960px) {
  .inner-page--como .bia-demo-section-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .inner-page--como .bia-demo-section-copy {
    width: min(100%, 720px);
    max-width: 720px;
    margin-inline: auto;
    justify-self: center;
  }

  .inner-page--como .bia-demo-section .bia-embedded {
    justify-self: center;
    margin-inline: auto;
  }
}

/* BIA_HERO_IMAGE_RESTORED_V1_3 */
.inner-page--como .bia-info-hero .bia-info-hero-inner {
  display: grid;
}
