

.tri .passo { display: none; counter-increment: none; grid-template-columns: none;
  gap: 0; padding: 0; border: 0; max-width: none; }
.tri .passo::before { content: none; }
.tri .passo.on { display: block; }

html.tri-aberto, html.tri-aberto body { overflow: hidden; }

.tri {
  position: fixed; inset: 0; z-index: 95;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink);
  opacity: 0; transition: opacity .18s ease;
}
.tri.aberta { opacity: 1; }

.tri__env {
  width: min(640px, 100%); margin-inline: auto;
  padding: clamp(20px, 6vh, 64px) var(--margem) 72px;
}

.tri__cab { display: flex; align-items: center; justify-content: space-between;
  gap: var(--e4); }
.tri__n { margin: 0; font-size: var(--peq); font-weight: 600; color: var(--ink-2);
  letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.tri__fechar {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0 16px; font: inherit; font-size: var(--peq); font-weight: 500;
  color: var(--ink-2); background: transparent;
  border: 1px solid var(--linha-2); border-radius: var(--raio); cursor: pointer;
}
.tri__fechar svg { width: 16px; height: 16px; }
.tri__fechar:hover { color: var(--ink); border-color: var(--ink-3); }

.tri__prog { height: 3px; margin-top: var(--e4); background: var(--linha);
  border-radius: 2px; overflow: hidden; }
.tri__prog i { display: block; height: 100%; width: 0; background: var(--acento);
  transition: width .32s cubic-bezier(.2,.7,.2,1); }

.tri__tela.on { animation: tri-chega .28s cubic-bezier(.2,.7,.2,1); }
@keyframes tri-chega { from { opacity: 0; transform: translateY(6px); }
                       to   { opacity: 1; transform: none; } }

.tri__abre { margin: var(--e6) 0 0; font-size: var(--corpo); line-height: 1.5;
  color: var(--ink); max-width: none; text-wrap: pretty; }
.tri h2 {
  margin-top: var(--e6); max-width: 22ch;
  font-size: clamp(27px, 3.6vw, 34px); line-height: 1.16;
}
.tri__abre + h2 { margin-top: var(--e3); }
.tri h2:focus { outline: none; }
.tri h2:focus-visible { outline: 3px solid var(--acento); outline-offset: 4px; }
.tri__apoio { margin-top: var(--e3); font-size: 17px; color: var(--ink-2); }

.tri__ops { display: grid; gap: var(--e3); margin-top: var(--e5); }
.tri__op {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--e3);
  width: 100%; min-height: 64px; padding: 14px 18px;
  font: inherit; font-size: var(--corpo); font-weight: 500; line-height: 1.3;
  text-align: left; color: var(--ink);
  background: #fff; border: 1px solid var(--linha-2); border-radius: var(--raio);
  cursor: pointer; transition: border-color .16s ease, background-color .16s ease,
    box-shadow .16s ease;
}
.tri__op small { display: block; margin-top: 3px; font-size: var(--peq); font-weight: 400;
  line-height: 1.4; color: var(--ink-2); }

@media (hover: hover) { .tri__op:hover { border-color: var(--ink-3); } }
.tri__op:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
.tri__ok { width: 24px; height: 24px; color: var(--acento); opacity: 0;
  transition: opacity .16s ease; }

.tri__op.on { border-color: var(--acento); background: #E6EEEF;
  box-shadow: inset 0 0 0 1px var(--acento); }
.tri__op.on .tri__ok { opacity: 1; }

.tri__alt { margin-top: var(--e5); }
.tri__cliente {
  min-height: 44px; padding: 0; font: inherit; font-size: 17px; font-weight: 500;
  color: var(--acento); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.tri__cliente:hover { color: var(--ink); }

.tri__campo { position: relative; margin-top: var(--e5); }
.tri__campo input {
  width: 100%; min-height: 58px; padding: 12px 16px;
  font: inherit; font-size: 20px; color: var(--ink);
  background: #fff; border: 1px solid var(--linha-2); border-radius: var(--raio);
}
.tri__campo input:focus { outline: 3px solid var(--acento); outline-offset: 1px;
  border-color: var(--acento); }

.tri__rot { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 600;
  color: var(--ink); }

.tri__linha { margin-top: var(--e4); max-width: none; font-size: 16px; line-height: 1.5;
  color: var(--ink-2); }

.tri .sugestoes { display: none; position: absolute; left: 0; right: 0; top: 100%;
  z-index: 3; margin-top: 6px; max-height: 320px; overflow-y: auto;
  background: #fff; border: 1px solid var(--linha-2); border-radius: var(--raio);
  box-shadow: 0 12px 28px rgb(16 26 30 / .14); }
.tri .sugestoes.aberta { display: block; }
.tri .sugestoes button { display: flex; justify-content: space-between; align-items: center;
  gap: var(--e3); width: 100%; min-height: 48px; padding: 10px 16px;
  font: inherit; font-size: 18px; text-align: left; color: var(--ink);
  background: none; border: 0; border-bottom: 1px solid var(--linha); cursor: pointer; }
.tri .sugestoes button:last-child { border-bottom: 0; }
.tri .sugestoes button span { font-size: var(--peq); font-weight: 600; color: var(--ink-2); }
.tri .sugestoes button:hover, .tri .sugestoes button.foco { background: #E6EEEF; }

.tri__marca { display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  margin-top: var(--e4); font-size: 17px; color: var(--ink-2); cursor: pointer; }
.tri__marca input { width: 22px; height: 22px; margin: 0; accent-color: var(--acento); }

.tri__erro { margin-top: var(--e3); font-size: 16px; font-weight: 500; color: #9B2C1F; }

.tri__acoes { display: flex; align-items: center; justify-content: space-between;
  gap: var(--e4); margin-top: var(--e6); }
.tri__volta { display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 0 4px; font: inherit; font-size: 17px; color: var(--ink-2);
  background: none; border: 0; cursor: pointer; }
.tri__volta:hover { color: var(--ink); }
.tri__segue { min-height: 52px; }

.tri__pula { margin-top: var(--e7); padding-top: var(--e4);
  border-top: 1px solid var(--linha); }
.tri__pula a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 16px; color: var(--ink-2); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tri__pula a:hover { color: var(--ink); }
.tri__pula svg { width: 20px; height: 20px; flex: none; color: #0A6436; }

.tri__previa-r { margin-top: var(--e6); font-size: var(--peq); font-weight: 600;
  color: var(--ink-2); }
.tri__previa {
  margin-top: var(--e3); padding: 14px 16px; max-width: none;
  font-size: 17px; line-height: 1.55; color: var(--ink);
  background: #fff; border: 1px solid var(--linha-2);
  border-left: 3px solid #0A6436; border-radius: var(--raio);
}
.tri__zap {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 58px; margin-top: var(--e5); padding: 12px 24px;
  font-size: 18px; font-weight: 600; color: #fff; text-decoration: none;
  background: #0A6436; border-radius: var(--raio);
  transition: background-color .18s ease;
}
.tri__zap svg { width: 26px; height: 26px; flex: none; }
.tri__zap:hover { background: #084F2B; }
.tri__zap:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tri__depois { margin-top: var(--e3); font-size: var(--peq); color: var(--ink-2);
  text-align: center; max-width: none; }

@media (min-width: 701px) {
  .tri__zap { width: auto; display: inline-flex; }
  .tri__depois { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .tri, .tri__prog i, .tri__op, .tri__ok { transition: none; }
  .tri__tela.on { animation: none; }
}
