/* Estilos das páginas do grupo "ia-paciente" (ver _partes/cabeca.html).
   Páginas: inteligencia-artificial, experiencia-paciente, planejamento-digital e integracoes.
   Todas as classes novas começam com "ip-" para não cruzar com os outros grupos. */

/* ==========================================================================
   Peças comuns: etiqueta "Exemplo", barra de janela, textos de apoio
   ========================================================================== */
.ip-tag {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--slate);
  background: #fff;
  white-space: nowrap;
}
.ip-tag.dark {
  border-color: #ffffff38;
  color: #d9e6f7;
  background: #ffffff0d;
}
.ip-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.ip-bar .ip-tag {
  margin-left: auto;
}
.ip-dots {
  display: flex;
  gap: 5px;
  flex: none;
}
.ip-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3dce9;
}
.ip-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #5f6f86;
  text-align: center;
}
.ip-lead-list b {
  color: var(--ink);
}
.section.dark .ip-lead-list b {
  color: #fff;
}

/* ==========================================================================
   Cabeçalho da página: mini tela dentro do cartão inclinado (.page-aside)
   Abaixo de 1360 px o cartão continua escondido pelo site.css, então nunca
   cobre o texto no celular.
   ========================================================================== */
.page-aside.ip-aside {
  top: 150px;
  width: 304px;
  padding: 20px;
}
.page-aside.ip-aside .aside-top {
  margin-bottom: 14px;
}
.page-aside.ip-aside small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.page-aside.ip-aside .aside-foot {
  margin-top: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.ip-aside-chat {
  display: grid;
  gap: 7px;
}
.ip-mb {
  position: relative;
  max-width: 88%;
  padding: 8px 11px 20px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #eaf2fc;
}
.ip-mb time {
  position: absolute;
  right: 9px;
  bottom: 5px;
  font-size: 0.75rem;
  line-height: 1;
  color: #a9bfdc;
}
.ip-mb.in {
  justify-self: start;
  background: #ffffff14;
  border: 1px solid #ffffff1f;
  border-top-left-radius: 4px;
}
.ip-mb.out {
  justify-self: end;
  background: #15624f;
  border: 1px solid #2c8a72;
  border-top-right-radius: 4px;
}
.ip-mb.out time {
  color: #bfe7da;
}
.ip-aside-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #6be7db1a;
  border: 1px solid #6be7db40;
  color: #c9fbf5;
  font-size: 0.8rem;
  font-weight: 700;
}
.ip-aside-ok .icon {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex: none;
}
.ip-aside-card {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
}
.ip-aside-card span {
  color: #eef2ff;
}
.ip-aside-card b {
  font: 800 1.02rem/1.3 Manrope, sans-serif;
  letter-spacing: -0.02em;
}
.ip-aside-card em {
  margin-top: 8px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
  color: #1d40cf;
  background: #fff;
  border-radius: 99px;
  padding: 7px 0;
}
.ip-aside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 7px;
}
.ip-aside-grid span {
  padding: 10px;
  border-radius: 12px;
  background: #ffffff10;
  border: 1px solid #ffffff1c;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  color: #eaf2fc;
}
.ip-aside-grid i {
  display: block;
  font-style: normal;
  font-weight: 500;
  color: #a9bfdc;
  margin-top: 3px;
}
.ip-aside-plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.ip-aside-plan li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  background: #ffffff0d;
  border: 1px solid #ffffff1c;
  color: #e3ecf8;
  font-size: 0.8rem;
  font-weight: 650;
}
.ip-aside-plan b {
  flex: none;
  min-width: 34px;
  text-align: center;
  padding: 4px 0;
  border-radius: 7px;
  font: 800 0.78rem/1 Manrope, sans-serif;
  color: #0a1931;
  background: #8eaeff;
}
.ip-aside-plan li.canal b {
  background: #f4a3ae;
}
.ip-aside-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 11px;
  background: #17864a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}
.ip-aside-send .icon {
  width: 16px;
  height: 16px;
}
.ip-aside-code {
  margin: 0;
  padding: 12px 13px;
  border-radius: 12px;
  background: #050d1d;
  border: 1px solid #ffffff1a;
  color: #dbe7f5;
  font:
    0.75rem/1.65 ui-monospace,
    Consolas,
    monospace;
  white-space: pre;
  overflow: hidden;
}
.ip-aside-code .k {
  color: #c8b4ff;
}
.ip-aside-code .s {
  color: #9fe8c8;
}
.ip-aside-code .n {
  color: #ffcf96;
}
.ip-aside-code .ok {
  color: #6be7db;
  font-weight: 700;
}

/* ==========================================================================
   Conversa de WhatsApp (recepcionista virtual, lembretes)
   ========================================================================== */
.ip-stage {
  position: relative;
  max-width: 452px;
  margin-inline: auto;
}
.ip-wa {
  border-radius: 26px;
  overflow: hidden;
  background: #efeae2;
  border: 1px solid #dde4ee;
  box-shadow: 0 30px 70px #0a19311f;
}
.ip-wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
}
.ip-avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #315bff, #2a9fa3);
  color: #fff;
  font: 800 0.86rem Manrope, sans-serif;
  letter-spacing: 0;
}
.ip-wa-head b {
  display: block;
  font: 750 0.98rem/1.25 Manrope, sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ip-wa-head .ip-sub {
  display: block;
  font-size: 0.8rem;
  color: #17744a;
  font-weight: 600;
}
.ip-wa-head .ip-tag {
  margin-left: auto;
}
.ip-wa-body {
  display: grid;
  gap: 8px;
  padding: 18px 14px 22px;
  background-color: #efeae2;
  background-image: radial-gradient(#ddd5c8 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.ip-wa-day {
  justify-self: center;
  max-width: 92%;
  padding: 6px 11px;
  border-radius: 8px;
  background: #fff;
  color: #4b5b64;
  font-size: 0.75rem;
  font-weight: 650;
  text-align: center;
  box-shadow: 0 1px 1px #0000000f;
}
.ip-bub {
  position: relative;
  max-width: 86%;
  padding: 8px 11px 21px;
  border-radius: 11px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #111b21;
  box-shadow: 0 1px 1px #00000014;
}
.ip-bub.in {
  justify-self: start;
  background: #fff;
  border-top-left-radius: 3px;
}
.ip-bub.out {
  justify-self: end;
  background: #d9fdd3;
  border-top-right-radius: 3px;
}
.ip-bub time {
  position: absolute;
  right: 10px;
  bottom: 5px;
  font-size: 0.75rem;
  line-height: 1;
  color: #4f6069;
}
.ip-bub .ip-link {
  color: #0b5cad;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.ip-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ip-slots span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #a9dcbd;
  color: #0b6343;
  font-size: 0.8rem;
  font-weight: 750;
}
.ip-wa-event {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #e2f3ff;
  color: #134a7c;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}
.ip-wa-event .icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.ip-stage > .ip-wa .ip-wa-body {
  padding-bottom: 60px;
}
.ip-booked {
  position: absolute;
  left: -46px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  padding: 13px 16px 13px 13px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 22px 50px #0a193126;
}
.ip-booked-ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #edf2ff;
  color: var(--blue);
}
.ip-booked-ico .icon {
  width: 22px;
  height: 22px;
}
.ip-booked small {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b7a66;
}
.ip-booked b {
  display: block;
  font: 800 0.98rem/1.3 Manrope, sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ip-booked div span {
  display: block;
  font-size: 0.8rem;
  color: #56667d;
}

/* ==========================================================================
   Analista da clínica (janela escura com perguntas em português)
   ========================================================================== */
.ip-ai {
  max-width: 540px;
  margin-inline: auto;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, #10234b, #091530);
  border: 1px solid #22396a;
  box-shadow: 0 30px 70px #0a19312e;
  color: #dbe6f5;
}
.ip-ai .ip-bar {
  color: #e3ecf8;
  border-color: #ffffff17;
}
.ip-ai .ip-dots i {
  background: #ffffff2b;
}
.ip-ai-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.ip-q {
  justify-self: end;
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 16px 16px 4px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ip-a {
  max-width: 96%;
  padding: 14px 16px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff0d;
  border: 1px solid #ffffff1c;
  font-size: 0.9rem;
  line-height: 1.55;
}
.ip-a p {
  color: #d5e1f2;
  line-height: 1.55;
}
.ip-a b {
  color: #fff;
}
.ip-who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.ip-who .icon {
  width: 15px;
  height: 15px;
}
.ip-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.ip-acts span {
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid #ffffff33;
  color: #e3ecf8;
  font-size: 0.78rem;
  font-weight: 650;
}
.ip-ai-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 22px 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff0a;
  border: 1px solid #ffffff1c;
  color: #a9bdd8;
  font-size: 0.84rem;
}
.ip-ai-input .icon {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex: none;
}

/* ==========================================================================
   15 assistentes em 5 grupos (seção escura)
   ========================================================================== */
.ip-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: -18px 0 34px;
  font-size: 0.9rem;
  color: #b4c6e0;
}
.ip-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ip-where-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}
.ip-where-dot.chat {
  background: transparent;
  border: 2px solid #8fa7c8;
}
.ip-squads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ip-squad {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0f2143, #0a1731);
  border: 1px solid #ffffff17;
}
.ip-squad > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ffffff14;
}
.ip-squad-ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #315bff2e;
  color: #a9bcff;
}
.ip-squad h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}
.ip-count {
  margin-left: auto;
  padding: 6px 11px;
  border-radius: 99px;
  background: #6be7db14;
  border: 1px solid #6be7db40;
  color: #9ff3ea;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}
.ip-squad ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.ip-squad li b {
  display: block;
  font: 750 1rem/1.35 Manrope, sans-serif;
  letter-spacing: -0.015em;
  color: #fff;
}
.ip-squad li > span {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #b4c6e0;
}
.ip-where {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: #9ff3ea;
}
.ip-where.chat {
  color: #b4c6e0;
}
.ip-squad-plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(150deg, #1d43a6, #0f2a6b);
  border-color: #5b80ff59;
}
.ip-squad-plan .ip-big {
  font: 800 3.6rem/1 Manrope, sans-serif;
  letter-spacing: -0.06em;
  color: #fff;
}
.ip-squad-plan p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e1e9f8;
}
.ip-squad-plan p b {
  color: #fff;
}
.ip-squad-plan a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Outros recursos com IA e voz */
.ip-also-wrap {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid #ffffff17;
}
.ip-also-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 30px;
  margin-bottom: 22px;
}
.ip-also-head h3 {
  font-size: 1.5rem;
  color: #fff;
}
.ip-also-head p {
  max-width: 540px;
  font-size: 0.98rem;
}
.ip-also {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.ip-also li {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff08;
  border: 1px solid #ffffff17;
}
.ip-also li:nth-child(n + 4) {
  grid-column: span 3;
}
.ip-also li .icon {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--cyan);
  margin-top: 1px;
}
.ip-also li b {
  display: block;
  font: 750 1rem/1.35 Manrope, sans-serif;
  letter-spacing: -0.015em;
  color: #fff;
}
.ip-also li span {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #b4c6e0;
}

/* Faixa de confiança */
.ip-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ip-trust article {
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #fff;
}
.ip-trust h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
}
.ip-trust p {
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   Portal do paciente: dois celulares de exemplo
   ========================================================================== */
.ip-portal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
}
.ip-portal > *,
.ip-api > * {
  min-width: 0;
}
.ip-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
}
.ip-phone {
  width: 276px;
  flex: none;
  padding: 10px;
  border-radius: 42px;
  background: #0a1931;
  box-shadow:
    0 30px 70px #0a19312e,
    inset 0 0 0 1px #ffffff1f;
}
.ip-phone + .ip-phone {
  margin-top: 54px;
}
.ip-screen {
  min-height: 548px;
  display: flex;
  flex-direction: column;
  border-radius: 33px;
  overflow: hidden;
  background: #f3f6fb;
  color: var(--ink);
}
.ip-sbar {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px 6px;
  font-size: 0.75rem;
  font-weight: 750;
}
.ip-app-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px 12px;
}
.ip-app-h span {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  color: #56667d;
}
.ip-app-h b {
  display: block;
  margin-top: 2px;
  font: 800 1.08rem/1.25 Manrope, sans-serif;
  letter-spacing: -0.025em;
}
.ip-app-h .ip-tag {
  padding: 5px 8px;
}
.ip-pc {
  display: grid;
  gap: 3px;
  margin: 0 12px 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e1e8f2;
  font-size: 0.8rem;
}
.ip-pc > span {
  font-size: 0.75rem;
  color: #56667d;
}
.ip-pc > b {
  font-size: 0.9rem;
}
.ip-pc.hl {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.ip-pc.hl > span {
  color: #f1f4ff;
}
.ip-pc.hl > b {
  font: 800 1.05rem/1.3 Manrope, sans-serif;
  letter-spacing: -0.02em;
}
.ip-btnp {
  margin-top: 9px;
  padding: 9px 0;
  border-radius: 99px;
  background: #fff;
  color: #1d40cf;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.ip-qa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 12px 10px;
}
.ip-qa span {
  padding: 11px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e1e8f2;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.3;
}
.ip-qa i {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  color: #56667d;
}
.ip-qa .warn i {
  color: #a3412d;
  font-weight: 650;
}
.ip-tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding: 11px 6px 15px;
  background: #fff;
  border-top: 1px solid #e1e8f2;
  font-size: 0.75rem;
  font-weight: 650;
  color: #56667d;
}
.ip-tabbar .on {
  color: var(--blue);
  font-weight: 800;
}
.ip-orc {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #37475e;
}
.ip-orc div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.ip-orc div span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
}
.ip-total {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed #cdd7e5;
  font-size: 0.88rem;
  font-weight: 800;
}
.ip-mini-label {
  margin: 2px 16px 7px;
  font-size: 0.75rem;
  font-weight: 750;
  color: #56667d;
}
.ip-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 12px 10px;
}
.ip-pay span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #dbe3ef;
  font-size: 0.8rem;
  font-weight: 750;
}
.ip-pay span.on {
  background: #edf2ff;
  border-color: var(--blue);
  color: #1d40cf;
}
.ip-pay .icon {
  width: 16px;
  height: 16px;
}
.ip-btn-mini {
  margin: 0 12px 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
}
.ip-swipe-hint {
  display: none;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #5f6f86;
  text-align: center;
}
.ip-phones-cap {
  margin-top: 18px;
  font-size: 0.82rem;
  color: #5f6f86;
  text-align: center;
}
.ip-code-hint {
  display: none;
  margin: 0;
  padding: 0 14px 14px;
  font-size: 0.78rem;
  color: #9fb3cf;
}

/* Entrar sem senha e instalar pelo navegador */
.ip-login {
  display: grid;
  gap: 14px;
  max-width: 430px;
  margin-inline: auto;
}
.ip-login-card {
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px #0a19311a;
}
.ip-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e8edf5;
}
.ip-login-brand b {
  display: block;
  font: 800 1rem/1.25 Manrope, sans-serif;
  letter-spacing: -0.02em;
}
.ip-login-brand div span {
  display: block;
  font-size: 0.8rem;
  color: #56667d;
}
.ip-login-brand .ip-tag {
  margin-left: auto;
}
.ip-login-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #37475e;
}
.ip-code {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 10px;
}
.ip-code span {
  display: grid;
  place-items: center;
  aspect-ratio: 0.86;
  border-radius: 12px;
  border: 1.5px solid #d6dfec;
  background: #f6f8fc;
  font: 800 1.3rem Manrope, sans-serif;
  color: var(--ink);
}
.ip-code span.cur {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px #315bff26;
}
.ip-login-card .ip-login-s {
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: #56667d;
}
.ip-login-card .ip-btn-mini {
  margin: 0;
}
.ip-install {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--night);
  color: #fff;
}
.ip-install-ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #315bff, #2a9fa3);
}
.ip-install b {
  display: block;
  font: 800 0.98rem/1.3 Manrope, sans-serif;
}
.ip-install-ico .icon {
  width: 24px;
  height: 24px;
  color: #fff;
}
.ip-install div span {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #b8c9e2;
}

/* ==========================================================================
   Planejamento digital: Raio-X Inteligente sobre a panorâmica
   ========================================================================== */
.ip-rx {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  border-radius: 30px;
  overflow: hidden;
  background: #070e17;
  border: 1px solid #1d2c3d;
  box-shadow: 0 35px 80px #0a19312e;
  color: #d6e2ec;
}
.ip-rx-view {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1d2c3d;
}
.ip-rx-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #1d2c3d;
  font-size: 0.84rem;
  font-weight: 700;
  color: #e3ecf3;
}
.ip-rx-top .ip-dots i {
  background: #ffffff2b;
}
.ip-seg {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border-radius: 12px;
  background: #ffffff0d;
  border: 1px solid #ffffff1c;
}
.ip-seg button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #c3d1de;
  font-size: 0.82rem;
  font-weight: 750;
}
.ip-seg button[aria-pressed="true"] {
  background: #315bff;
  color: #fff;
}
.ip-seg button:hover:not([aria-pressed="true"]) {
  color: #fff;
}
.ip-rx-canvas {
  position: relative;
  flex: 1;
  min-height: 360px;
}
.ip-rx-canvas canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.ip-rx-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #0b1520d9;
  border: 1px solid #ffffff24;
  color: #c8d6e2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ip-rx-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #0b1520;
}
.ip-rx-panel h3 {
  font-size: 1.15rem;
  color: #fff;
}
.ip-rx-panel > span {
  margin-top: -8px;
  font-size: 0.8rem;
  color: #a9bccc;
}
.ip-rx-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ip-rx-items li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 13px;
  background: #ffffff08;
  border: 1px solid #ffffff17;
  font-size: 0.86rem;
}
.ip-rx-items li > b {
  min-width: 36px;
  padding: 5px 0;
  border-radius: 8px;
  text-align: center;
  font: 800 0.8rem/1 Manrope, sans-serif;
  color: #0a1931;
  background: #8eaeff;
}
.ip-rx-items li.canal > b {
  background: #f4a3ae;
}
.ip-rx-items li span {
  color: #e3ecf3;
  font-weight: 650;
  line-height: 1.35;
}
.ip-rx-items li span i {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  color: #a9bccc;
}
.ip-rx-items li em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  color: #fff;
  white-space: nowrap;
}
.ip-rx-sum {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px 0;
  font-weight: 800;
  color: #fff;
}
.ip-rx-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 13px;
  border-radius: 13px;
  background: #17864a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}
.ip-rx-send .icon {
  width: 18px;
  height: 18px;
}
.ip-rx-feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.ip-rx-feats div {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
}
.ip-rx-feats .icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
}
.ip-rx-feats b {
  display: block;
  margin-top: 12px;
  font: 750 1.02rem/1.35 Manrope, sans-serif;
  letter-spacing: -0.02em;
}
.ip-rx-feats p {
  margin-top: 5px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.ip-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 99px;
  background: #edf2ff;
  color: #1d40cf;
  font-size: 0.8rem;
  font-weight: 800;
}
.ip-plan-pill.top {
  background: #0a1931;
  color: #fff;
}
.ip-plan-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
}

/* Cartões de recurso com ilustração (simulação, 3D, CAD) */
.ip-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ip-tool {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.ip-tool-art {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #10234b, #091530);
}
.ip-tool-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ip-tool-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 24px;
}
.ip-unit {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3556d8;
}
.ip-tool-body h3 {
  font-size: 1.3rem;
}
.ip-tool-body p {
  font-size: 0.98rem;
  line-height: 1.6;
}
.ip-tool-body .ip-plan-pill {
  align-self: flex-start;
  margin-top: auto;
}
.ip-art-tag {
  position: absolute;
  padding: 5px 9px;
  border-radius: 8px;
  background: #050d1dcc;
  border: 1px solid #ffffff2b;
  color: #e3ecf8;
  font-size: 0.75rem;
  font-weight: 800;
}
.ip-range {
  position: absolute;
  left: 14px;
  bottom: 6px;
  width: calc(100% - 28px);
  height: 32px;
  margin: 0;
  accent-color: #6be7db;
  cursor: ew-resize;
}

/* ==========================================================================
   Integrações e API
   ========================================================================== */
.ip-integ {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ip-integ article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
}
.ip-integ-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ip-integ-ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}
.ip-integ-ico .icon {
  width: 22px;
  height: 22px;
}
.ip-integ-ico.wa {
  background: #17864a;
}
.ip-integ-ico.pay {
  background: #0d7f77;
}
.ip-integ-ico.cal {
  background: #315bff;
}
.ip-integ-ico.mail {
  background: #6d45d6;
}
.ip-integ-ico.hook {
  background: #0a1931;
}
.ip-integ-ico.sheet {
  background: #1f6f42;
}
.ip-integ h3 {
  font-size: 1.22rem;
}
.ip-integ p {
  font-size: 0.98rem;
  line-height: 1.6;
}
.ip-integ .ip-plan-line {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf1f7;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4d5d75;
}
.ip-api {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.ip-api .list-check code {
  font:
    0.86em ui-monospace,
    Consolas,
    monospace;
  padding: 2px 6px;
  border-radius: 6px;
  background: #ffffff14;
  color: #c9fbf5;
}
.ip-code-win {
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #050d1d;
  border: 1px solid #23395e;
  box-shadow: 0 30px 70px #0006;
}
.ip-code-win .ip-bar {
  color: #e3ecf8;
  border-color: #1d3252;
  background: #0a1631;
}
.ip-code-win .ip-dots i {
  background: #ffffff2b;
}
.ip-copy {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid #ffffff38;
  background: transparent;
  color: #e3ecf8;
  font-size: 0.8rem;
  font-weight: 750;
}
.ip-copy:hover {
  background: #ffffff14;
}
.ip-code-sec {
  padding: 12px 18px 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb3cf;
}
.ip-pre {
  margin: 0;
  padding: 10px 18px 18px;
  overflow-x: auto;
  white-space: pre;
  color: #dbe7f5;
  font:
    0.84rem/1.75 ui-monospace,
    Consolas,
    "Cascadia Mono",
    monospace;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: #2b4370 transparent;
}
.ip-pre:focus-visible {
  outline-offset: -3px;
}
.ip-pre + .ip-code-sec {
  border-top: 1px solid #1d3252;
  padding-top: 14px;
}
.ip-pre .c {
  color: #9fb3cf;
}
.ip-pre .k {
  color: #c9b5ff;
}
.ip-pre .s {
  color: #9fe8c8;
}
.ip-pre .n {
  color: #ffcf96;
}
.ip-pre .m {
  color: #6be7db;
  font-weight: 700;
}
.ip-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ip-events article:first-child {
  grid-row: span 2;
}
.ip-events article {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
}
.ip-events h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.ip-events h3 .ip-count {
  margin-left: auto;
  background: #edf2ff;
  border-color: #d5e0ff;
  color: #1d40cf;
}
.ip-events ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ip-events li {
  display: grid;
  gap: 5px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--slate);
}
.ip-events li code {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 7px;
  background: #0a1931;
  color: #c9fbf5;
  font:
    0.84rem ui-monospace,
    Consolas,
    monospace;
}
.ip-hook-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--border);
}
.ip-hook-note p {
  font-size: 0.98rem;
  line-height: 1.6;
}
.ip-hook-note code {
  font:
    0.86em ui-monospace,
    Consolas,
    monospace;
  color: var(--ink);
  background: #e9eef7;
  padding: 1px 6px;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.ip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .ip-portal {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .ip-api {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ip-rx {
    grid-template-columns: 1fr;
  }
  .ip-rx-view {
    border-right: 0;
    border-bottom: 1px solid #1d2c3d;
  }
  .ip-rx-feats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1030px) {
  .ip-squads,
  .ip-trust,
  .ip-tools,
  .ip-integ,
  .ip-also {
    grid-template-columns: 1fr 1fr;
  }
  .ip-also li,
  .ip-also li:nth-child(n + 4) {
    grid-column: auto;
  }
  .ip-also li:last-child,
  .ip-trust article:last-child,
  .ip-tools .ip-tool:last-child {
    grid-column: 1 / -1;
  }
  .ip-booked {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 14px auto 0;
    width: fit-content;
    max-width: 100%;
  }
  .ip-stage > .ip-wa .ip-wa-body {
    padding-bottom: 22px;
  }
}
@media (max-width: 720px) {
  .ip-squads,
  .ip-trust,
  .ip-tools,
  .ip-integ,
  .ip-events,
  .ip-also,
  .ip-rx-feats {
    grid-template-columns: 1fr;
  }
  .ip-squad,
  .ip-trust article,
  .ip-integ article,
  .ip-events article {
    padding: 22px;
  }
  .ip-events article:first-child {
    grid-row: auto;
  }
  .ip-trust article:last-child,
  .ip-tools .ip-tool:last-child,
  .ip-also li:last-child {
    grid-column: auto;
  }
  .ip-legend {
    justify-content: flex-start;
    margin-top: -10px;
  }
  .ip-also-wrap {
    margin-top: 44px;
    padding-top: 34px;
  }
  .ip-ai-body {
    padding: 16px;
  }
  .ip-ai-input {
    margin: 0 16px 16px;
  }
  .ip-wa-body {
    padding: 14px 10px 18px;
  }
  .ip-bub {
    max-width: 90%;
  }
  /* Celulares lado a lado, com rolagem lateral só dentro da faixa */
  .ip-phones {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -18px;
    padding: 4px 18px 14px;
    scrollbar-width: none;
  }
  .ip-phones::-webkit-scrollbar {
    display: none;
  }
  .ip-phone {
    width: 268px;
    scroll-snap-align: center;
  }
  .ip-phone + .ip-phone {
    margin-top: 0;
  }
  .ip-swipe-hint {
    display: block;
  }
  .ip-rx-top {
    padding: 12px;
  }
  .ip-seg {
    margin-left: 0;
    width: 100%;
  }
  .ip-seg button {
    flex: 1;
    min-height: 44px;
  }
  .ip-rx-canvas {
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .ip-rx-label {
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    letter-spacing: 0.03em;
  }
  .ip-rx-feats div {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 18px;
  }
  .ip-rx-feats .icon {
    grid-row: span 2;
    margin-top: 2px;
  }
  .ip-rx-feats b {
    margin-top: 0;
  }
  .ip-rx-feats p {
    margin-top: 0;
  }
  .ip-flip > :first-child {
    order: 2;
  }
  .ip-code-hint {
    display: block;
  }
  .ip-copy {
    min-height: 44px;
    min-width: 44px;
  }
  .ip-range {
    height: 44px;
    bottom: 0;
  }
  .ip-hook-note code {
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .ip-rx-panel {
    padding: 18px;
  }
  .ip-code-sec {
    padding-inline: 14px;
  }
  .ip-pre {
    padding-inline: 14px;
    font-size: 0.8rem;
  }
  .ip-code-win .ip-bar {
    flex-wrap: wrap;
  }
  .ip-hook-note {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .ip-actions .btn {
    width: 100%;
  }
  .ip-install {
    align-items: flex-start;
  }
}
