.page-checkout { background: var(--page); }

.checkout { padding: 0 0 96px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.checkout [hidden] { display: none !important; }

/* ---------- Faixa com as etapas ---------- */

.checkout-band {
  position: relative;
  padding: 34px 0 92px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 320px at 85% -40%, color-mix(in srgb, var(--brand-blue) 55%, transparent), transparent 70%),
    radial-gradient(600px 260px at 0% 120%, color-mix(in srgb, var(--brand-orange) 18%, transparent), transparent 70%),
    linear-gradient(180deg, var(--brand-navy-deep), var(--brand-navy));
}
.checkout-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  pointer-events: none;
}

.stepper {
  --progress: 0%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.stepper::before,
.stepper::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(100% / 12);
  height: 2px;
  border-radius: 2px;
}
.stepper::before { right: calc(100% / 12); background: rgba(255, 255, 255, .16); }
.stepper::after {
  width: calc(var(--progress) * 5 / 6);
  background: linear-gradient(90deg, var(--brand-orange), color-mix(in srgb, var(--brand-orange) 60%, #fff));
  transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.stepper li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--on-dark-muted);
  text-align: center;
}
.stepper-dot {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-blue) 44%, #000);
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.stepper-dot .icon { width: 21px; height: 21px; grid-area: 1 / 1; transition: opacity .2s ease, transform .2s ease; }
.stepper-dot .stepper-done { opacity: 0; transform: scale(.4); stroke-width: 2.6; }
.stepper em { display: grid; gap: 2px; font-style: normal; font-size: 14px; font-weight: 700; }
.stepper em small { color: var(--on-dark-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stepper li.is-active { color: #fff; }
.stepper li.is-active .stepper-dot {
  color: var(--on-cta);
  border-color: var(--brand-orange);
  background: var(--brand-orange);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-orange) 20%, transparent);
  transform: scale(1.06);
}
.stepper li.is-done { color: color-mix(in srgb, var(--brand-blue) 15%, #fff); cursor: pointer; }
.stepper li.is-done .stepper-dot { color: var(--brand-orange); border-color: var(--brand-orange); background: color-mix(in srgb, var(--brand-blue) 44%, #000); }
.stepper li.is-done .stepper-dot > .icon:first-child { opacity: 0; transform: scale(.4); }
.stepper li.is-done .stepper-done { opacity: 1; transform: none; }
.stepper li.is-done:hover .stepper-dot { background: #123a70; }
.checkout-finished .checkout-band { padding-bottom: 60px; }
.checkout-finished .stepper { display: none; }

/* Barra compacta de etapas: aparece quando a faixa sai da tela. Altura zero no fluxo,
   para não empurrar o conteúdo; "sticky" dentro do carrinho, então nunca cobre o rodapé. */
.checkout-progress { --progress: calc(100% / 6); position: sticky; top: 0; z-index: 30; height: 0; }
.checkout-finished .checkout-progress { display: none; }
.checkout-progress-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 8px 20px 11px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: color-mix(in srgb, #fff 94%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-navy-deep) 12%, transparent);
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  overflow: hidden;
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
}
.checkout-progress.is-visible .checkout-progress-inner { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .25s ease; }
.checkout-progress-atual { display: grid; flex: 0 0 auto; gap: 1px; margin: 0; }
.checkout-progress-atual small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.checkout-progress-atual strong { color: var(--ink); font-size: 15px; }
.checkout-progress-etapas { display: flex; flex: 1; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; list-style: none; }
.checkout-progress-etapas li { position: relative; display: flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 999px; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.checkout-progress-etapas li > span,
.checkout-progress-etapas .cp-done { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; font-size: 11.5px; font-weight: 800; }
.checkout-progress-etapas li > span { border: 1.5px solid var(--line); background: #fff; }
.checkout-progress-etapas .cp-done { display: none; padding: 4px; color: #fff; background: var(--success); stroke-width: 3; }
.checkout-progress-etapas em { font-style: normal; }
.checkout-progress-etapas li.is-active { color: var(--ink); background: color-mix(in srgb, var(--brand-blue) 9%, #fff); }
.checkout-progress-etapas li.is-active > span { border-color: var(--brand-orange); color: var(--on-cta); background: var(--brand-orange); }
.checkout-progress-etapas li.is-done { color: var(--ink); cursor: pointer; }
.checkout-progress-etapas li.is-done > span { display: none; }
.checkout-progress-etapas li.is-done .cp-done { display: block; }
.checkout-progress-etapas li.is-done:hover { background: var(--page); }
.checkout-progress-barra { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--line-soft, #eef2f7); }
.checkout-progress-barra i { display: block; width: var(--progress); height: 100%; background: var(--brand-orange); transition: width .4s ease; }
@media (max-width: 1240px) {
  .checkout-progress-etapas li:not(.is-active) em { display: none; }
  .checkout-progress-etapas li:not(.is-active) { padding-right: 5px; }
}
@media (max-width: 900px) {
  .checkout-progress-inner { min-height: 50px; padding: 6px 16px 9px; border-radius: 0 0 12px 12px; }
  .checkout-progress-etapas em { display: none; }
  .checkout-progress-etapas li { padding: 3px; }
  .checkout-progress-etapas li.is-active { padding-right: 3px; }
  .checkout-progress-atual strong { font-size: 14px; }
}
@media (max-width: 480px) {
  .checkout-progress .container { padding-inline: 0; }
  .checkout-progress-inner { border-inline: 0; border-radius: 0; gap: 12px; }
  .checkout-progress-etapas { gap: 2px; }
}

/* ---------- Layout ---------- */

.checkout-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  margin-top: -64px;
}
.checkout-finished .checkout-layout { grid-template-columns: minmax(0, 780px); justify-content: center; }
.checkout-finished .summary { display: none; }

.step.is-entering { animation: step-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.step-card {
  margin-bottom: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 8%, transparent);
}
.step-card > :last-child { margin-bottom: 0; }

.step-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.step-head h1 { margin: 0 0 6px; color: var(--ink); font-size: clamp(24px, 3vw, 30px); line-height: 1.15; outline: none; }
.step-head p { margin: 0; color: var(--muted); line-height: 1.5; }
.step-head .step-eyebrow { margin-bottom: 4px; color: var(--brand-blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.step-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-blue) 30%, transparent);
}
.step-icon .icon { width: 25px; height: 25px; }
.step-head-plain {
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 8%, transparent);
  margin-bottom: 18px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
}
.card-title .icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--brand-blue); }
.card-title > span > small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.card-text { margin: -8px 0 16px; color: var(--muted); }

.block { margin: 0 0 24px; padding: 0; border: 0; }
.block-title { margin-bottom: 12px; padding: 0; color: var(--ink); font-size: 15px; font-weight: 700; }

/* ---------- Campos ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 24px;
}
.form-grid:last-child { margin-bottom: 0; }
.field-full { grid-column: 1 / -1; }
.field > label { color: var(--ink); font-size: 14px; font-weight: 600; }
.field small small,
.field span small { color: var(--muted); font-weight: 500; }
.field-error { min-height: 0; color: var(--danger); font-size: 13px; line-height: 1.4; }
.field-error:empty { display: none; }
.field-hint-muted { color: var(--muted); font-size: 12.5px; }
.field input[readonly] { color: var(--muted); background: color-mix(in srgb, var(--brand-blue) 4%, #fff); }

.input-icon { position: relative; display: block; }
.input-icon > .icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  height: 19px;
  color: color-mix(in srgb, var(--brand-navy) 48%, #fff);
  transform: translateY(-50%);
  pointer-events: none;
  transition: color .15s ease;
}
.field .input-icon input { padding-left: 44px; }
.input-icon:focus-within > .icon { color: var(--brand-blue); }

.input-status .status-spinner,
.input-status .status-ok {
  position: absolute;
  top: 50%;
  right: 14px;
  display: none;
  transform: translateY(-50%);
}
.input-status .status-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid color-mix(in srgb, var(--brand-navy) 18%, #fff);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.input-status .status-ok {
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  animation: pop .35s ease;
}
.input-status .status-ok .icon { width: 14px; height: 14px; stroke-width: 3; }
.input-status.is-loading .status-spinner { display: block; }
.input-status.is-ok .status-ok { display: grid; }
.input-status.is-ok input { border-color: #8fd0ad; }

.field-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.field-link .icon { width: 15px; height: 15px; }
.field-link:hover { text-decoration: underline; }
button.field-link { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
button.field-link[disabled] { color: var(--muted); cursor: progress; text-decoration: none; }
.cep-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.cep-links [hidden] { display: none; }
.cep-endereco { display: grid; gap: 14px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--brand-blue) 20%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--brand-blue) 3%, #fff); }
.cep-endereco[hidden] { display: none; }
.cep-endereco-aviso { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.cep-endereco-aviso .icon { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--brand-blue); }
.cep-endereco [hidden] { display: none; }
.ponto-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ponto-acoes small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.ponto-mapa { position: relative; z-index: 0; height: 340px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #e9eef3; cursor: crosshair; }
.ponto-mapa .leaflet-control-layers { border: 0; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); font: 600 12.5px/1.4 var(--font); }
.ponto-pin span {
  position: absolute;
  inset: 0 3px 8px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-blue);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
  transform: rotate(-45deg);
}
.ponto-pin span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; }
.ponto-endereco { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border: 1.5px solid var(--brand-blue); border-radius: 12px; color: var(--muted); background: #fff; font-size: 13.5px; }
.ponto-endereco .spinner { width: 18px; height: 18px; }
.ponto-endereco-icone { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand-blue); }
.ponto-endereco-icone .icon { width: 14px; height: 14px; stroke-width: 3; }
.ponto-endereco-txt { display: grid; flex: 1 1 200px; min-width: 0; }
.ponto-endereco-txt strong { color: var(--ink); font-size: 14.5px; }
.ponto-endereco-txt small { color: var(--muted); font-size: 12.5px; }
.ponto-endereco-dica { flex-basis: 100%; color: var(--muted); font-size: 12.5px; }
.field input[readonly][name="logradouro"], .field input[readonly][name="bairro"] { cursor: default; }
.local-box { display: grid; gap: 14px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--brand-blue) 20%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--brand-blue) 3%, #fff); }
.local-box[hidden], .local-box [hidden] { display: none; }
.local-head { display: flex; gap: 12px; align-items: flex-start; }
.local-head > div { flex: 1; min-width: 0; }
.local-icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 10%, #fff); }
.local-icon .icon { width: 19px; height: 19px; }
.local-head strong { color: var(--ink); font-size: 15px; }
.local-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.local-fechar { flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--muted); background: none; cursor: pointer; }
.local-fechar:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.local-fechar .icon { width: 18px; height: 18px; }
.local-opcoes { display: grid; gap: 12px; }
.local-gps { justify-content: center; }
.local-ou { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.local-ou::before, .local-ou::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.local-gps[hidden] + .local-ou { display: none; }
.local-campo { gap: 6px; }
.local-campo > label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.local-input { display: flex; gap: 8px; }
.local-input input { flex: 1; min-width: 0; }
.local-input .btn { flex: none; }
.local-passos { display: grid; gap: 4px; margin: 0; padding: 10px 14px 10px 32px; border-radius: 10px; color: var(--muted); background: #fff; font-size: 12.5px; line-height: 1.5; }
.local-passos strong { color: var(--ink); }
.local-marcado { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; border: 1.5px solid var(--brand-blue); border-radius: 12px; background: #fff; }
.local-marcado-icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand-blue); }
.local-marcado-icon .icon { width: 14px; height: 14px; stroke-width: 3; }
.local-marcado-txt { display: grid; flex: 1 1 140px; }
.local-marcado-txt strong { color: var(--ink); font-size: 14px; }
.local-marcado-txt small { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.local-marcado a { color: var(--brand-blue); font-size: 13.5px; font-weight: 700; }

.shake { animation: shake .4s ease; }
@keyframes shake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

/* Tipo de contratação */

.type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type-card input,
.chip-option input,
.due input,
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.type-card > span {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.type-card > span:hover { border-color: color-mix(in srgb, var(--brand-blue) 37%, #fff); transform: translateY(-1px); }
.type-icon {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-blue);
  background: color-mix(in srgb, var(--brand-blue) 8%, #fff);
  transition: background .2s ease, color .2s ease;
}
.type-icon .icon { width: 22px; height: 22px; }
.type-card strong { color: var(--ink); font-size: 16px; }
.type-card small { color: var(--muted); font-size: 13px; }
.type-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: transparent;
  transition: all .2s ease;
}
.type-check .icon { width: 13px; height: 13px; stroke-width: 3; }
.type-card input:checked + span { border-color: var(--brand-blue); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand-blue) 14%, transparent); }
.type-card input:checked + span .type-icon { color: #fff; background: var(--brand-blue); }
.type-card input:checked + span .type-check { color: #fff; border-color: var(--brand-blue); background: var(--brand-blue); }
/* Antes da escolha, os dois cartões ocupam a etapa; os campos aparecem depois. */
.block-tipo:not(.is-chosen) { margin-bottom: 8px; }
.block-tipo:not(.is-chosen) .type-card > span { grid-template-columns: 1fr; justify-items: center; row-gap: 6px; padding: 30px 20px 26px; text-align: center; }
.block-tipo:not(.is-chosen) .type-icon { grid-row: auto; width: 60px; height: 60px; margin-bottom: 6px; border-radius: 16px; }
.block-tipo:not(.is-chosen) .type-icon .icon { width: 30px; height: 30px; }
.block-tipo:not(.is-chosen) .type-card strong { font-size: 18px; }
.block-tipo > .field-error { display: block; margin-top: 8px; }
.tipo-gated.is-revealing, .step-actions.is-revealing { animation: step-in .4s cubic-bezier(.2, .8, .2, 1); }
.type-card input:focus-visible + span,
.chip-option input:focus-visible + span,
.due input:focus-visible + span,
.slot input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }

/* Opções em chip */

.chip-options { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-option > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.chip-option > span .icon { width: 18px; height: 18px; color: var(--muted); }
.chip-option > span:hover { border-color: color-mix(in srgb, var(--brand-blue) 37%, #fff); }
.chip-option input:checked + span { color: var(--brand-navy); border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 8%, #fff); }
.chip-option input:checked + span .icon { color: var(--brand-blue); }

/* Caixas de seleção */

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  cursor: pointer;
}
.check input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: var(--brand-blue); }
.check a { color: var(--brand-blue); font-weight: 600; }
.check-consent { margin-top: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--brand-blue) 3%, #fff); }
.check + .field-error { display: block; margin-top: 8px; }

.switch-row { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; }
.switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-navy) 20%, #fff);
  transition: background .2s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--brand-navy-deep) 25%, transparent);
  transition: transform .2s ease;
}
.switch-row input:checked + .switch { background: var(--brand-blue); }
.switch-row input:checked + .switch::after { transform: translateX(18px); }
.switch-row input:focus-visible + .switch { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
.billing { margin-top: 20px; animation: step-in .3s ease; }

/* Avisos */

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}
.notice > .icon { width: 22px; height: 22px; margin-top: 1px; }
.notice strong { display: block; margin-bottom: 2px; }
.notice p { margin: 0; }
.notice-text ul { margin: 6px 0 8px; padding-left: 18px; }
.notice-text li { margin: 2px 0; }
.notice-text li strong { display: inline; margin: 0; }
.notice-warning { color: color-mix(in srgb, var(--brand-orange) 45%, #000); border: 1px solid color-mix(in srgb, var(--brand-orange) 35%, #fff); background: color-mix(in srgb, var(--brand-orange) 7%, #fff); }
.notice-warning > .icon { color: var(--accent-ink); }
.notice-info { color: #19406f; border: 1px solid color-mix(in srgb, var(--brand-blue) 19%, #fff); background: color-mix(in srgb, var(--brand-blue) 5%, #fff); }
.notice-info > .icon { color: var(--brand-blue); }
.step-card .notice-info:last-child { margin: 22px 0 0; }

.coverage {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 14px;
  animation: step-in .35s ease;
}
.coverage p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.coverage strong { color: var(--ink); font-size: 16px; }
.coverage-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.coverage-icon .icon { width: 22px; height: 22px; }
.coverage-loading { align-items: center; color: var(--muted); border: 1px solid var(--line); background: color-mix(in srgb, var(--brand-blue) 3%, #fff); }
.coverage-loading p { margin: 0; }
.coverage-ok { border: 1px solid #b6e3c9; background: linear-gradient(135deg, #effaf3, #f7fdf9); }
.coverage-ok .coverage-icon { color: #fff; background: var(--success); animation: pop .4s ease; }
.coverage-no,
.coverage-error { flex-wrap: wrap; border: 1px solid color-mix(in srgb, var(--brand-orange) 35%, #fff); background: color-mix(in srgb, var(--brand-orange) 7%, #fff); }
.coverage-no .coverage-icon,
.coverage-error .coverage-icon { color: var(--on-cta); background: var(--brand-orange); }
.coverage-thanks { display: flex; gap: 8px; align-items: center; width: 100%; margin: 6px 0 0 56px !important; color: var(--success) !important; font-weight: 600; }
.coverage-thanks .icon { width: 18px; height: 18px; }

.interest {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: -12px 0 24px;
  padding: 16px 18px;
  border: 1px dashed #f3b77a;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand-orange) 4%, #fff);
}
.interest p { margin: 0; color: var(--ink); font-size: 14px; }
.interest .rn-captcha { flex: 1 1 100%; margin: 0; }
.interest .rn-captcha-aviso { font-size: 12px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid #b6e3c9;
  border-radius: 999px;
  color: var(--success);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.chips .icon { width: 15px; height: 15px; }
.chips-sm li { padding: 3px 9px; border-color: var(--line); color: var(--ink); font-size: 12px; }
.chips-sm .icon { color: var(--brand-blue); }

.spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 3px solid color-mix(in srgb, var(--brand-navy) 18%, #fff);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.spinner-sm { width: 16px; height: 16px; flex-basis: 16px; border-width: 2px; border-color: color-mix(in srgb, var(--brand-navy) 25%, transparent); border-top-color: var(--brand-navy); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop {
  0% { transform: scale(.4); opacity: 0; }
  70% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

/* Ações */

.step-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
.step > .step-actions { margin-top: 8px; }
.step-actions [data-next][hidden] { display: none; }
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--brand-blue);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.link-button .icon { width: 16px; height: 16px; }
.link-button:hover { text-decoration: underline; }
.link-button.is-quiet {
  gap: 5px;
  color: color-mix(in srgb, var(--muted) 85%, transparent);
  font-size: 12.5px;
  font-weight: 500;
  opacity: .8;
  transition: color .15s, opacity .15s;
}
.link-button.is-quiet .icon { width: 13px; height: 13px; }
.link-button.is-quiet:hover, .link-button.is-quiet:focus-visible { color: #b42318; opacity: 1; text-decoration: none; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-sm .icon { width: 17px; height: 17px; }
.btn-added { color: #fff; background: var(--success); border-color: var(--success); }
.btn-added:hover { background: #0e6b3d; }
.btn .icon { transition: transform .2s ease; }
.btn-primary:hover .icon:last-child { transform: translateX(3px); }
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition: all .15s ease;
}
.icon-button:hover { color: var(--danger); border-color: #f2b8b8; background: #fff5f5; }
.icon-button .icon { width: 18px; height: 18px; }

.form-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #f2b8b8;
  border-radius: var(--radius);
  color: #8a1c1c;
  background: #fff5f5;
  font-size: 14px;
  font-weight: 600;
}
.form-alert:empty { display: none; }

/* ---------- Etapa 2: carrinho ---------- */

.address-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 8%, transparent);
}
.ac-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--brand-orange) 11%, #fff);
}
.ac-icon .icon { width: 24px; height: 24px; }
.ac-main,
.ac-meta { display: grid; gap: 2px; }
.ac-main small,
.ac-meta small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ac-main strong { color: var(--ink); font-size: 16px; }
.ac-main > span { color: var(--muted); font-size: 14px; }
.ac-main .chips { margin-top: 8px; }
.ac-meta { padding-left: 18px; border-left: 1px solid var(--line); }
.ac-meta strong { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.ac-meta .icon { width: 17px; height: 17px; color: var(--brand-blue); }

.groups { display: grid; gap: 16px; margin-bottom: 18px; }
.group {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 8%, transparent);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.group.has-choice { border-color: color-mix(in srgb, var(--brand-blue) 28%, #fff); }
.group.just-chosen { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-blue) 15%, transparent), 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 8%, transparent); }
.group-head {
  width: 100%;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
  border: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-blue) 2%, #fff), color-mix(in srgb, var(--brand-blue) 4%, #fff));
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.group.is-open .group-head { border-bottom: 1px solid var(--line); }
.group-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}
.group-icon .icon { width: 22px; height: 22px; }
.group-title { flex: 1; display: grid; gap: 3px; }
.group-title strong { color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.group-status { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.group-status.is-done { display: inline-flex; align-items: center; gap: 6px; color: var(--success); }
.group-status .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.group-chevron { width: 22px; height: 22px; color: var(--muted); transition: transform .25s ease; }
.group.is-open .group-chevron { transform: rotate(180deg); }
.group-body { padding: 22px; animation: step-in .3s ease; }
.group-body > .link-button { margin-top: 16px; }

.cat-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-blue) 7%, #fff);
}
.cat-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 16px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cat-tabs button .icon { width: 17px; height: 17px; }
.cat-tabs button[aria-selected="true"] { color: var(--brand-navy); background: #fff; box-shadow: 0 2px 8px color-mix(in srgb, var(--brand-navy-deep) 10%, transparent); }

.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand-blue) 37%, #fff); box-shadow: 0 16px 34px color-mix(in srgb, var(--brand-navy-deep) 12%, transparent); }
.pcard.is-selected { border-color: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 14%, transparent); }
.pcard.has-badge .pcard-head { padding-top: 46px; }
.pcard-badge {
  position: absolute;
  top: 14px;
  left: 18px;
  right: auto;
  width: max-content;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--on-cta);
  background: var(--brand-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.pcard-badge .icon { width: 12px; height: 12px; fill: currentColor; }
.pcard-head {
  display: grid;
  gap: 4px;
  padding: 18px 18px 16px;
  color: #fff;
  background:
    radial-gradient(180px 90px at 100% 0%, color-mix(in srgb, var(--brand-blue) 55%, transparent), transparent 70%),
    linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy));
}
.pcard-sub { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-muted); font-size: 12.5px; font-weight: 600; }
.pcard-sub .icon { width: 15px; height: 15px; color: var(--accent-ink); }
.pcard-name { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1.1; }
.pcard-name small { margin-left: 4px; font-size: 16px; font-weight: 700; }
.pcard-name-text { font-size: 21px; letter-spacing: .01em; }
.pcard-price {
  display: flex;
  align-items: baseline;
  padding: 12px 18px;
  color: var(--brand-navy);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand-orange) 6%, #fff);
}
.pcard-price > small { margin-right: 3px; font-size: 14px; font-weight: 700; }
.pcard-price > strong { font-family: var(--font-display); font-size: 32px; font-weight: 800; line-height: 1; }
.pcard-price > span { font-size: 18px; font-weight: 800; }
.pcard-price > span small { margin-left: 2px; color: var(--muted); font-size: 13px; font-weight: 600; }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 0; }
.ptag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  color: #19406f;
  background: color-mix(in srgb, var(--brand-blue) 8%, #fff);
  font-size: 12px;
  font-weight: 700;
}
.ptag .icon { width: 13px; height: 13px; }
.pcard-benefits { flex: 1; display: grid; align-content: start; gap: 8px; margin: 0; padding: 14px 18px; list-style: none; }
.pcard-benefits li { display: flex; gap: 8px; color: var(--ink); font-size: 14px; line-height: 1.35; }
.pcard-benefits .icon { width: 17px; height: 17px; margin-top: 1px; color: var(--success); stroke-width: 2.6; }
.pcard-note { margin: 0; padding: 0 18px 12px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.pcard > .btn { width: calc(100% - 36px); margin: 0 18px 18px; }
.pcard-blocked { margin: -10px 18px 16px; color: var(--muted); font-size: 12.5px; text-align: center; }

.chosen {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border: 1.5px solid var(--brand-blue);
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-blue) 5%, #fff), #fff);
  animation: pop-in .4s cubic-bezier(.2, .8, .2, 1);
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: none; }
}
.chosen-check {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  animation: pop .45s ease;
}
.chosen-check .icon { width: 22px; height: 22px; stroke-width: 2.8; }
.chosen-main { display: grid; gap: 2px; }
.chosen-main small { color: var(--brand-blue); font-size: 12.5px; font-weight: 700; }
.chosen-main strong { color: var(--ink); font-family: var(--font-display); font-size: 22px; }
.chosen-main span { color: var(--muted); font-size: 13.5px; }
.chosen-price { display: flex; align-items: baseline; color: var(--brand-navy); }
.chosen-price > small { margin-right: 3px; font-size: 13px; font-weight: 700; }
.chosen-price > strong { font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.chosen-price > span { font-size: 15px; font-weight: 800; }
.chosen-price > span small { color: var(--muted); font-size: 12px; font-weight: 600; }
.chosen-actions { display: flex; gap: 8px; }

.services {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 8%, transparent);
  animation: step-in .35s ease;
}
.services-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.services-head .group-icon { background: linear-gradient(135deg, var(--brand-orange), color-mix(in srgb, var(--brand-orange) 75%, #fff)); color: var(--brand-navy); }
.services-head h2 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.services-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.service-list { display: grid; gap: 12px; }
.svc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, background .2s ease;
}
.svc.is-added { border-color: #8fd0ad; background: #f4fbf7; }
.svc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-blue);
  background: color-mix(in srgb, var(--brand-blue) 8%, #fff);
}
.svc.is-added .svc-icon { color: #fff; background: var(--success); }
.svc-main strong { color: var(--ink); }
.svc-main p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.svc-price { display: grid; color: var(--brand-navy); font-weight: 800; text-align: right; white-space: nowrap; }
.svc-price small { color: var(--muted); font-size: 12px; font-weight: 600; }
.svc-price-free { color: var(--muted); font-size: 13px; font-weight: 700; }
.svc-main small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.extras .services-head .group-icon { color: #fff; background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy)); }
.extra-logo { width: 72px; height: 46px; display: grid; place-items: center; overflow: hidden; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: none; }
.extra-logo[data-plate="escuro"] { border-color: transparent; background: #10182c; }
.extra-logo:has(> img) { display: block; }
.extra-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.extra-logo.is-wordmark { --wm-h: 17px; width: auto; min-width: 88px; max-width: 132px; height: 44px; display: grid; place-items: center; padding: 0 12px; }
.svc.is-blocked { opacity: .65; }
.svc-main .extra-note { color: var(--warning-ink, #8a5a00); font-weight: 600; }

/* Apps inclusos no plano */
.apps-inc { display: grid; gap: 8px; }
.apps-inc > small { display: inline-flex; gap: 6px; align-items: center; color: var(--success); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.apps-inc > small .icon { width: 15px; height: 15px; }
.apps-inc ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.apps-inc li { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; }
/* Evita moldura dupla: a placa do logo já tem borda; o <li> fica só como encapsulamento. */
.apps-inc li:has(.app-logo),
.tvi-stream li:has(.app-logo),
.tvi-stream li:has(.tvi-logo) { padding: 0; border: 0; background: transparent; }
.app-logo { min-width: 26px; height: 26px; display: inline-flex; flex: none; align-items: center; justify-content: center; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--brand-blue) 8%, #fff); color: var(--brand-blue); }
.app-logo:has(img) { padding: 2px 6px; border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: none; }
.app-logo img { display: block; width: auto; max-width: 64px; height: 100%; object-fit: contain; }
.app-logo .icon { width: 14px; height: 14px; }
.tvi-stream li.is-wordmark, .apps-inc li.is-wordmark { height: 36px; padding: 0 10px; border-radius: 10px; background: #fff; }
.app-logo.is-wordmark { --wm-h: 16px; height: 100%; padding: 0 8px; overflow: visible; }
.app-logo.is-wordmark[data-plate="claro"] { background: #fff; border: 1px solid var(--line); }
.app-logo.is-wordmark[data-plate="escuro"],
.app-logo[data-plate="escuro"] { border-color: transparent; background: #10182c; }
.app-logo.is-wordmark img.wm { max-width: 96px; }
.pcard-apps { margin: 0 18px; padding: 12px 0 2px; border-top: 1px solid var(--line); }
.chosen-apps, .review-apps { margin-top: 8px; }

/* ---------- Assistente de montagem do plano ---------- */

.wizard { margin-bottom: 18px; padding: 24px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px color-mix(in srgb, var(--brand-navy) 6%, transparent); }
.wizard.is-entering { animation: step-in .4s cubic-bezier(.2, .8, .2, 1); }
.wz-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.wz-contagem { color: var(--accent-ink, var(--brand-blue)); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wz-progress { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wz-progress li > * { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font: inherit; font-size: 12.5px; font-weight: 700; }
.wz-progress li > * > span, .wz-progress li > * > .icon { width: 22px; height: 22px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--page); font-size: 11.5px; }
.wz-progress button { cursor: pointer; }
.wz-progress button:hover { border-color: var(--brand-blue); }
.wz-progress .is-done > * { color: var(--ink); border-color: color-mix(in srgb, var(--success) 35%, #fff); }
.wz-progress .is-done .icon { padding: 4px; color: #fff; background: var(--success); stroke-width: 3; }
.wz-progress .is-current > * { color: #fff; border-color: var(--brand-blue); background: var(--brand-blue); }
.wz-progress .is-current > * > span { color: var(--brand-blue); background: #fff; }

.wz-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.wz-head h2 { margin: 0; color: var(--ink); font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -.01em; outline: 0; }
.wz-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.wz-head-ok { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: var(--success); box-shadow: 0 0 0 6px color-mix(in srgb, var(--success) 15%, transparent); }
.wz-head-ok .icon { width: 22px; height: 22px; stroke-width: 2.6; }

/* Perguntas da internet */
.wz-qs { display: grid; gap: 14px; }
.wz-q { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease, background .2s ease; }
.wz-q.is-answered { border-color: color-mix(in srgb, var(--success) 30%, var(--line)); background: color-mix(in srgb, var(--success) 3%, #fff); }
.wz-q > header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.wz-q h3 { margin: 2px 0 0; color: var(--ink); font-size: 16.5px; }
.wz-q header p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.wz-q-n { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: var(--brand-navy); font-size: 13px; font-weight: 800; }
.wz-q.is-answered .wz-q-n { background: var(--success); }
.wz-q-n .icon { width: 15px; height: 15px; stroke-width: 3; }

.wz-pessoas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wz-chip-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.wz-chip-card:hover { border-color: color-mix(in srgb, var(--brand-blue) 40%, #fff); }
.wz-chip-card > span:last-child { display: grid; gap: 2px; min-width: 0; }
.wz-chip-card strong { font-size: 15px; }
.wz-chip-card small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.wz-chip-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 10px; color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 8%, #fff); }
.wz-chip-icon .icon { width: 20px; height: 20px; }
.wz-chip-card.is-active { border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 4%, #fff); box-shadow: 0 8px 22px color-mix(in srgb, var(--brand-blue) 12%, transparent); }
.wz-chip-card.is-active .wz-chip-icon { color: #fff; background: var(--brand-blue); }

.wz-usos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.wz-uso { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 38px 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.wz-uso:hover { border-color: color-mix(in srgb, var(--brand-blue) 40%, #fff); }
.wz-uso > .icon:first-child { width: 20px; height: 20px; flex: none; color: var(--brand-blue); }
.wz-uso-ok { position: absolute; right: 12px; top: 50%; width: 20px; height: 20px; margin-top: -10px; padding: 3px; border: 1.5px solid var(--line); border-radius: 6px; color: transparent; background: #fff; stroke-width: 3.2; transition: background .15s ease, border-color .15s ease; }
.wz-uso.is-active { border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 5%, #fff); }
.wz-uso.is-active .wz-uso-ok { border-color: var(--brand-blue); color: #fff; background: var(--brand-blue); }
.wz-chip-card:focus-visible, .wz-uso:focus-visible, .wz-opcao:focus-visible, .wz-mais:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-blue) 45%, transparent); outline-offset: 2px; }

.wz-espera { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 0; padding: 16px 18px; border: 1px dashed color-mix(in srgb, var(--brand-blue) 35%, var(--line)); border-radius: 14px; color: var(--muted); background: var(--page); font-size: 14px; }
.wz-espera > .icon { width: 20px; height: 20px; color: var(--brand-blue); }
.wz-espera span { flex: 1 1 220px; }
.wz-espera .link-button { margin-left: auto; }

/* Recomendação */
.wz-rec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 22px; align-items: center; margin-top: 18px; padding: 22px; border-radius: 16px; color: #fff; background:
  radial-gradient(520px 240px at 100% 0%, color-mix(in srgb, var(--brand-blue) 45%, transparent), transparent 70%),
  linear-gradient(160deg, var(--brand-navy-deep), var(--brand-navy)); }
.wz-rec-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; color: var(--on-cta); background: var(--brand-orange); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.wz-rec-tag .icon { width: 14px; height: 14px; }
.wz-rec-info h3 { margin: 12px 0 14px; color: #fff; font-size: clamp(20px, 2vw, 24px); letter-spacing: -.01em; }
.wz-rec-info ul { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.wz-rec-info li { display: flex; align-items: flex-start; gap: 10px; color: color-mix(in srgb, var(--brand-navy) 12%, #fff); font-size: 14px; line-height: 1.45; }
.wz-rec-info li .icon { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--accent-on-dark, var(--brand-orange)); }
.wz-rec-info li strong { color: #fff; }
.wz-rec-info > small { color: var(--on-dark-muted); font-size: 12.5px; }
.wz-rec-card .pcard { margin: 0; color: var(--ink); }
.wz-mais { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.wz-mais .icon { width: 17px; height: 17px; color: var(--brand-blue); }
.wz-mais:hover { border-color: var(--brand-blue); background: var(--page); }

/* Telefone e TV: sim ou não */
.wz-sim-nao { display: grid; gap: 10px; }
.wz-opcao { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.wz-opcao:hover { border-color: var(--brand-blue); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-blue) 10%, transparent); }
.wz-opcao-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: none; border-radius: 12px; color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 8%, #fff); }
.wz-opcao-icon .icon { width: 24px; height: 24px; }
.wz-opcao.is-nao .wz-opcao-icon { color: var(--muted); background: var(--page); }
.wz-opcao-txt { display: grid; flex: 1; gap: 3px; min-width: 0; }
.wz-opcao strong { font-size: 16px; }
.wz-opcao small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.wz-opcao-seta { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.wz-opcao:hover .wz-opcao-seta { color: var(--brand-blue); transform: translateX(3px); }

.wz-sub { margin: 26px 0 12px; color: var(--ink); font-size: 16px; }
.wz-cards .pcard.is-recommended { border-color: var(--brand-blue); box-shadow: 0 14px 34px color-mix(in srgb, var(--brand-blue) 16%, transparent); }
.pcard-badge.pcard-rec { color: #fff; background: var(--brand-blue); }
.wz-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.wz-nav .link-button { margin-left: auto; }
.wz-nav .btn-primary { margin-left: auto; }
.wz-nav .link-button + .btn-primary { margin-left: 12px; }

/* Resumo final */
.wz-resumo { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wz-resumo li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.wz-resumo li.is-empty { background: var(--page); }
.wz-resumo li.is-empty strong { color: var(--muted); font-weight: 600; }
.wz-resumo small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.wz-resumo strong { color: var(--ink); }
.wz-preco { color: var(--brand-navy); font-weight: 800; white-space: nowrap; }
.wz-preco small { display: inline; margin-left: 1px; font-size: 12px; letter-spacing: 0; text-transform: none; }
.wz-resumo-acoes { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.wz-tirar { width: 36px; height: 36px; display: grid; place-items: center; flex: none; padding: 0; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.wz-tirar .icon { width: 17px; height: 17px; }
.wz-tirar:hover, .wz-tirar:focus-visible { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, #fff); background: color-mix(in srgb, var(--danger) 6%, #fff); }
.wz-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 16px 18px; border-radius: 12px; background: var(--page); }
.wz-total span { color: var(--ink); font-weight: 700; }
.wz-total strong { color: var(--brand-navy); font-family: var(--font-display); font-size: 26px; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .wz-rec { grid-template-columns: 1fr; }
  .wz-rec-card { max-width: 360px; }
}
@media (max-width: 640px) {
  .wizard { padding: 18px 16px; }
  .wz-pessoas { grid-template-columns: 1fr; }
  .wz-usos { grid-template-columns: 1fr; }
  .wz-q { padding: 14px; }
  .wz-rec { padding: 18px 16px; }
  .wz-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .wz-nav > * { margin: 0 !important; }
  .wz-nav .btn-primary { order: -1; grid-column: 1 / -1; width: 100%; justify-content: center; }
  .wz-nav .btn-ghost { justify-content: center; }
  .wz-nav .link-button { justify-self: center; text-align: center; }
  .wz-nav > :only-child, .wz-nav:not(:has(.link-button)) .btn-ghost { grid-column: 1 / -1; }
  .wz-resumo li { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 12px; padding: 12px; }
  .wz-resumo li > div { grid-column: 2 / -1; }
  .wz-resumo li > .wz-preco { grid-column: 2; }
  .wz-resumo li > .wz-resumo-acoes { grid-column: 3; }
  .wz-resumo li > span:empty { display: none; }
}

/* ---------- Etapa 3 ---------- */

.locked-address {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--page);
}
.locked-address > .icon { width: 18px; height: 18px; color: var(--muted); }
.locked-address div { display: grid; gap: 1px; }
.locked-address small { color: var(--muted); font-size: 12px; font-weight: 600; }
.locked-address strong { color: var(--ink); }
.locked-address .link-button { margin-left: auto; }

.privacy-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.privacy-note .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--success); }

/* ---------- Etapa 4: agenda ---------- */

.agenda-loading { display: flex; gap: 12px; align-items: center; color: var(--muted); font-weight: 600; }
.agenda-loading[hidden] { display: none; }

.agenda-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calendar { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.calendar-head strong { color: var(--ink); font-size: 16px; }
.calendar-nav {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}
.calendar-nav:hover:not(:disabled) { color: var(--brand-blue); border-color: var(--brand-blue); }
.calendar-nav:disabled { opacity: .35; cursor: default; }
.calendar-nav .icon { width: 17px; height: 17px; }
.calendar-week,
.calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-week { margin-bottom: 6px; }
.calendar-week span { color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.cal-day {
  position: relative;
  aspect-ratio: 1;
  max-height: 48px;
  display: grid;
  place-items: center;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.cal-day.is-blank { visibility: hidden; }
.cal-day.is-off { color: color-mix(in srgb, var(--brand-navy) 28%, #fff); }
.cal-day.is-free { color: var(--brand-navy); background: color-mix(in srgb, var(--brand-blue) 6%, #fff); border-color: color-mix(in srgb, var(--brand-blue) 19%, #fff); font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.cal-day.is-free:hover { border-color: var(--brand-blue); }
.cal-day.is-free:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
.cal-day.is-active { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); }
.cal-day.is-chosen::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-orange); }
.cal-day.is-today:not(.is-active) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; color: var(--muted); font-size: 12.5px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 12px; height: 12px; border-radius: 4px; }
.lg-free { background: color-mix(in srgb, var(--brand-blue) 6%, #fff); border: 1.5px solid color-mix(in srgb, var(--brand-blue) 19%, #fff); }
.lg-chosen { position: relative; background: #fff; border: 1.5px solid var(--line); }
.lg-chosen::after { content: ""; position: absolute; inset: 0; margin: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-orange); }
.slot-list-stack { grid-template-columns: 1fr; }
.slot-list-stack .slot > span { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; }
.slot-list-stack .slot-icon { grid-row: 1 / 3; margin: 0; }
.slot-list-stack .slot-check { top: 50%; margin-top: -12px; right: 14px; }

.slot-area { animation: step-in .3s ease; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.slot-list-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.slot { position: relative; display: block; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.slot > span {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: all .2s ease;
}
.slot > span:hover { border-color: color-mix(in srgb, var(--brand-blue) 37%, #fff); }
.slot-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 10px;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--brand-orange) 11%, #fff);
}
.slot-icon .icon { width: 21px; height: 21px; }
.slot strong { color: var(--ink); font-size: 16px; }
.slot small { color: var(--muted); font-size: 13px; }
.slot-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-blue);
  animation: pop .35s ease;
}
.slot-check .icon { width: 14px; height: 14px; stroke-width: 3; }
.slot.is-active > span,
.slot input:checked + span { border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 5%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 12%, transparent); }
.slot input:checked + span .slot-icon,
.slot.is-active .slot-icon { color: var(--on-cta); background: var(--brand-orange); }
.slot-button:focus-visible > span { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
[data-agenda] > .field-error { display: block; margin-top: 12px; }
.agenda-modo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 22px; padding: 5px; border-radius: 14px; background: color-mix(in srgb, var(--brand-navy) 5%, #fff); border: 1px solid var(--line); }
.agenda-modo[hidden], .agenda-combinado[hidden], .agenda-grid[hidden] { display: none; }
.agenda-modo-opcao { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.agenda-modo-opcao .icon { flex: none; width: 20px; height: 20px; }
.agenda-modo-opcao span { display: grid; gap: 1px; min-width: 0; }
.agenda-modo-opcao strong { color: inherit; font-size: 14.5px; line-height: 1.25; }
.agenda-modo-opcao small { font-size: 12.5px; line-height: 1.3; }
.agenda-modo-opcao[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px color-mix(in srgb, var(--brand-navy-deep) 12%, transparent); }
.agenda-modo-opcao[aria-pressed="true"] .icon { color: var(--brand-blue); }
.agenda-modo-opcao:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 1px; }
.agenda-combinado { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1.5px solid var(--brand-blue); border-radius: 14px; background: color-mix(in srgb, var(--brand-blue) 5%, #fff); animation: step-in .3s ease; }
.agenda-combinado-icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand-blue); }
.agenda-combinado-icon .icon { width: 18px; height: 18px; stroke-width: 3; }
.agenda-combinado strong { color: var(--ink); font-size: 16px; }
.agenda-combinado p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Etapa 5 ---------- */

.due-list { display: flex; flex-wrap: wrap; gap: 10px; }
.due > span {
  width: 74px;
  display: grid;
  justify-items: center;
  padding: 10px 6px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}
.due > span:hover { border-color: color-mix(in srgb, var(--brand-blue) 37%, #fff); }
.due small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.due strong { color: var(--ink); font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.due input:checked + span { border-color: var(--brand-navy); background: var(--brand-navy); }
.due input:checked + span small { color: var(--on-dark-muted); }
.due input:checked + span strong { color: #fff; }

.review { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.review-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 6%, transparent);
}
.review-block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.review-block h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 16px; }
.review-block h2 .icon { width: 19px; height: 19px; color: var(--brand-blue); }
.review-block dl { display: grid; gap: 10px; margin: 0; }
.review-block dl div { display: grid; gap: 1px; }
.review-block dt { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.review-block dd { margin: 0; color: var(--ink); font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }

.contract-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.contract-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand-blue) 2%, #fff);
}
.contract-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #c62828;
  background: #fdecec;
}
.contract-list strong { display: block; color: var(--ink); font-size: 14.5px; }
.contract-list small { color: var(--muted); font-size: 12.5px; }

/* ---------- Concluído ---------- */

.step-done {
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.done-check { width: 92px; height: 92px; margin: 0 auto 18px; display: block; }
.done-check circle { fill: #effaf3; stroke: var(--success); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s ease forwards; }
.done-check path { fill: none; stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .55s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.step-done h1 { margin: 0 0 8px; color: var(--ink); font-size: 32px; outline: none; }
.done-protocol { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.done-protocol strong { color: var(--brand-navy); font-size: 20px; letter-spacing: .03em; }
.done-text { max-width: 560px; margin: 0 auto 12px; color: var(--muted); line-height: 1.55; }
.done-schedule {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 4px 0 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--brand-navy);
  background: color-mix(in srgb, var(--brand-blue) 8%, #fff);
  font-weight: 700;
}
.done-schedule .icon { color: var(--brand-blue); }
.done-schedule[hidden] { display: none; }

.done-docs { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; max-width: 760px; margin: 22px auto 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; box-shadow: 0 14px 40px color-mix(in srgb, var(--brand-navy-deep) 7%, transparent); }
.done-docs[hidden] { display: none; }
.done-docs h2 { margin: 0 0 6px; color: var(--ink); font-size: 19px; }
.done-docs p { margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.done-docs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.done-docs-actions .copied-label, .done-docs-actions .is-copied .copy-label { display: none; }
.done-docs-actions .is-copied .copied-label { display: inline; }
.done-docs-qr { display: grid; justify-items: center; gap: 8px; width: 168px; text-align: center; }
.done-docs-qr[hidden] { display: none; }
.done-docs-qr [data-done-docs-qr] { width: 150px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.done-docs-qr svg { display: block; width: 100%; height: auto; }
.done-docs-qr small { display: flex; gap: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.done-docs-qr small .icon { flex: none; width: 15px; height: 15px; color: var(--brand-blue); }

.indicacao-fields { margin-top: 18px; }

/* Documentos na revisão */
.docs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.docs-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand-blue) 5%, #fff); }
.docs-list .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand-blue); }
.docs-list strong { display: block; color: var(--ink); font-size: 14px; }
.docs-list small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.docs-list .docs-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; color: var(--muted); background: #fff; font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.docs-list .docs-tag.is-req { color: #9a3412; background: #fff1e6; }
/* Internet via rádio: bloco recolhido abaixo da fibra */
.radio-box { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.radio-box > summary { display: flex; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; border-radius: var(--radius); transition: background .2s ease; }
.radio-box > summary::-webkit-details-marker { display: none; }
.radio-box > summary:hover { background: color-mix(in srgb, var(--brand-blue) 4%, #fff); }
.radio-box > summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
.radio-box-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 10px; color: var(--muted); background: color-mix(in srgb, var(--ink) 6%, #fff); }
.radio-box-icon .icon { width: 18px; height: 18px; }
.radio-box-txt { flex: 1; display: grid; gap: 2px; min-width: 0; }
.radio-box-txt strong { color: var(--ink); font-size: 15px; }
.radio-box-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.radio-box-acao { display: inline-flex; gap: 6px; align-items: center; flex: none; color: var(--brand-blue); font-size: 13.5px; font-weight: 600; }
.radio-box-acao .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.radio-box[open] .radio-box-acao .icon { transform: rotate(180deg); }
.radio-box[open] > summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.radio-box > .pcard-grid { margin: 0; padding: 16px; }
@media (max-width: 640px) {
  .radio-box-acao { font-size: 0; gap: 0; }
  .radio-box-acao .icon { width: 18px; height: 18px; }
}

/* Telefone fixo: número novo ou portabilidade */
.fixo-num { display: grid; gap: 14px; margin-top: 18px; padding: 20px; border: 1.5px solid color-mix(in srgb, var(--brand-blue) 22%, var(--line)); border-radius: calc(var(--radius) + 2px); background: color-mix(in srgb, var(--brand-blue) 3%, #fff); }
.fixo-num-head { display: flex; gap: 12px; align-items: flex-start; }
.fixo-num-head h3 { margin: 0 0 2px; color: var(--ink); font-size: 16.5px; line-height: 1.3; }
.fixo-num-head p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.fixo-num-badge { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 12px; color: #fff; background: var(--brand-blue); }
.fixo-num-badge .icon { width: 20px; height: 20px; }
.fixo-opcoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fixo-opcao { position: relative; display: flex; cursor: pointer; }
.fixo-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.fixo-opcao > span { flex: 1; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.fixo-opcao:hover > span { border-color: color-mix(in srgb, var(--brand-blue) 45%, var(--line)); }
.fixo-opcao-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 10px; color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 9%, #fff); }
.fixo-opcao-icon .icon { width: 18px; height: 18px; }
.fixo-opcao-txt { display: grid; gap: 2px; }
.fixo-opcao-txt strong { color: var(--ink); font-size: 14.5px; }
.fixo-opcao-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.fixo-opcao input:checked + span { border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 5%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 12%, transparent); }
.fixo-opcao input:checked + span .fixo-opcao-icon { color: #fff; background: var(--brand-blue); }
.fixo-opcao input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
.fixo-num > .field-error:empty, .fixo-port > .field-error:empty { display: none; }
.fixo-port { display: grid; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.fixo-port[hidden] { display: none; }
.fixo-port-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fixo-port-nota { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 10px; color: var(--ink); background: color-mix(in srgb, #f59e0b 10%, #fff); font-size: 13px; line-height: 1.5; }
.fixo-port-nota .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #b45309; }
.fixo-titularidade { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fixo-titularidade legend { margin-bottom: 8px; padding: 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.fixo-titularidade .field-error:empty { display: none; }
.fixo-tit-opcoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fixo-tit-opcao { position: relative; display: flex; cursor: pointer; }
.fixo-tit-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.fixo-tit-opcao > span { flex: 1; display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; transition: border-color .2s ease, box-shadow .2s ease; }
.fixo-tit-opcao > span .icon { flex: none; width: 18px; height: 18px; color: var(--brand-blue); }
.fixo-tit-opcao:hover > span { border-color: color-mix(in srgb, var(--brand-blue) 45%, var(--line)); }
.fixo-tit-opcao input:checked + span { border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 5%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 12%, transparent); }
.fixo-tit-opcao input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
.fixo-outro-titular { display: grid; gap: 12px; }
.fixo-outro-titular[hidden], .fixo-port-campos > [hidden] { display: none; }
.fixo-titular-aviso { margin: 0; font-size: 13.5px; line-height: 1.5; }
.review-fixo { display: flex; gap: 6px; align-items: center; margin: 6px 0 4px; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.review-fixo .icon { width: 15px; height: 15px; color: var(--brand-blue); }
.srow-extra { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 600; line-height: 1.35; }
.wz-resumo-extra { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) {
  .fixo-opcoes, .fixo-port-campos, .fixo-tit-opcoes { grid-template-columns: 1fr; }
  .fixo-num { padding: 16px; }
}
.docs-escolha-titulo { margin: 0 0 10px; color: var(--ink); font-size: 14.5px; font-weight: 700; }
.docs-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.docs-option { position: relative; cursor: pointer; }
.docs-option input { position: absolute; opacity: 0; pointer-events: none; }
.docs-option > span { height: 100%; display: grid; gap: 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.docs-option > span > .icon { width: 22px; height: 22px; color: var(--brand-blue); }
.docs-option strong { color: var(--ink); }
.docs-option small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.docs-option input:checked + span { border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 5%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 12%, transparent); }
.docs-option input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
@media (max-width: 640px) {
  .done-docs { grid-template-columns: 1fr; padding: 18px; }
  .done-docs-qr { display: none; }
}
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.next-steps li { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--brand-blue) 2%, #fff); }
.next-steps li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
}
.next-steps strong { color: var(--ink); font-size: 15px; }
.next-steps small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Resumo ---------- */

.summary { position: sticky; top: 96px; display: grid; gap: 16px; }
.summary-sheet-close { display: none; }
.summary-intro,
.summary-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--brand-navy-deep) 8%, transparent);
}
.summary-intro[hidden],
.summary-card[hidden] { display: none; }
.summary-intro h2 { margin: 0 0 16px; color: var(--ink); font-size: 18px; }
.summary-intro ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.summary-intro li { display: flex; gap: 12px; align-items: flex-start; }
.summary-intro li > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-blue);
  background: color-mix(in srgb, var(--brand-blue) 8%, #fff);
}
.summary-intro li > span .icon { width: 18px; height: 18px; }
.summary-intro li div { display: grid; gap: 1px; }
.summary-intro strong { color: var(--ink); font-size: 14.5px; }
.summary-intro small { color: var(--muted); font-size: 13px; }
.summary-secure { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.summary-secure .icon { width: 17px; height: 17px; color: var(--success); }

.summary-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.summary-card h2 .icon { width: 21px; height: 21px; color: var(--accent-ink); }
.summary-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.summary-card-head h2 { margin: 0; }
.summary-clear { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 10px 0 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.summary-clear .icon { width: 14px; height: 14px; }
.summary-clear:hover, .summary-clear:focus-visible { color: #b42318; border-color: #f4b8b2; background: #fff5f4; }
.summary-clear[hidden] { display: none; }
.summary-rows { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.srow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.srow.is-empty { border-style: dashed; background: color-mix(in srgb, var(--brand-blue) 2%, #fff); grid-template-columns: auto minmax(0, 1fr) auto; }
.srow.is-pulse { animation: row-pulse .8s ease; }
@keyframes row-pulse {
  0% { background: #fff; }
  30% { background: #e8f6ee; border-color: #8fd0ad; transform: scale(1.02); }
  100% { background: #fff; }
}
.srow-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-navy), color-mix(in srgb, var(--brand-navy) 70%, var(--brand-blue)));
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent);
}
.srow.is-empty .srow-icon { color: var(--muted); background: color-mix(in srgb, var(--brand-blue) 11%, #fff); }
.srow-service .srow-icon { color: var(--brand-navy); background: color-mix(in srgb, var(--brand-orange) 22%, #fff); }
.srow-icon .icon { width: 17px; height: 17px; }
/* Logos de app/streaming/à la carte: placa clara/escura conforme data-plate (nunca o azul do ícone). */
.srow-icon.srow-logo,
.srow-service .srow-logo,
.wz-resumo .srow-icon.srow-logo {
  overflow: hidden;
  padding: 3px;
  border: 1px solid var(--line);
  color: inherit;
  background: #fff;
  box-shadow: none;
}
.srow-icon.srow-logo[data-plate="escuro"],
.wz-resumo .srow-icon.srow-logo[data-plate="escuro"] {
  border-color: transparent;
  background: #10182c;
}
.srow-icon.srow-logo.is-wordmark,
.wz-resumo .srow-icon.srow-logo.is-wordmark {
  --wm-h: 14px;
  width: auto;
  min-width: 36px;
  max-width: 112px;
  padding: 4px 8px;
}
.srow-logo img,
.srow-logo .wm { display: block; width: 100%; height: 100%; object-fit: contain; }
.srow-main { display: grid; min-width: 0; }
.srow-main small { color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.srow-main strong { overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.srow.is-empty .srow-main strong { color: var(--muted); font-weight: 600; }
.srow-price { color: var(--ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.srow-remove {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: color-mix(in srgb, var(--brand-blue) 8%, #fff);
  cursor: pointer;
}
.srow-remove:hover { color: #fff; background: var(--danger); }
.srow-remove .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.srow-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--brand-blue) 28%, #fff);
  border-radius: 999px;
  color: var(--brand-blue);
  background: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.srow-add:hover { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); }
.srow-add .icon { width: 13px; height: 13px; stroke-width: 2.6; }

.summary-totals { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-total,
.summary-once { display: flex; justify-content: space-between; align-items: baseline; }
.summary-total span { color: var(--ink); font-weight: 700; }
.summary-total strong { color: var(--brand-navy); font-family: var(--font-display); font-size: 28px; font-variant-numeric: tabular-nums; }
.summary-once { margin-top: 6px; color: var(--muted); font-size: 14px; }
.summary-once strong { color: var(--ink); }
.summary-once[hidden] { display: none; }
.summary-discount { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; margin-bottom: 8px; color: var(--success); font-size: 14px; font-weight: 700; }
.summary-discount span { display: inline-flex; gap: 6px; align-items: center; }
.summary-discount .icon { width: 16px; height: 16px; }
.summary-discount strong small { font-size: 12px; font-weight: 600; }
.summary-discount > small { flex-basis: 100%; color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: right; }
.summary-discount[hidden] { display: none; }

.summary-coupon { display: grid; gap: 8px; padding: 12px 0; border-top: 1px dashed var(--line); }
.summary-coupon[hidden] { display: none; }
.summary-coupon .link-button { justify-self: start; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form[hidden] { display: none; }
.coupon-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-btn, 10px); color: var(--ink); font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.coupon-form input::placeholder { font-weight: 500; letter-spacing: 0; text-transform: none; }
.coupon-form input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 15%, transparent); }
.coupon-applied { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 12px; border: 1.5px dashed #8fd0ad; border-radius: 12px; background: #f4fbf7; }
.coupon-applied[hidden] { display: none; }
.coupon-chip { display: inline-flex; gap: 6px; align-items: center; color: var(--success); }
.coupon-chip strong { letter-spacing: .06em; }
.coupon-chip .icon { width: 17px; height: 17px; }
.coupon-text { color: var(--text); font-size: 13px; line-height: 1.35; }
.coupon-applied .link-button { font-size: 13px; }
.summary-meta { display: grid; gap: 10px; margin: 14px 0 0; }
.summary-meta:empty { display: none; }
.summary-meta div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; }
.summary-meta .icon { grid-row: 1 / 3; width: 18px; height: 18px; margin-top: 2px; color: var(--brand-blue); }
.summary-meta dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.summary-meta dd { margin: 0; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.summary-actions { display: grid; gap: 12px; justify-items: center; margin-top: 18px; }
.summary-actions[hidden] { display: none; }
.summary-actions .link-button { color: var(--muted); }

.summary-help {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), color-mix(in srgb, var(--brand-blue) 61%, #000));
}
.summary-help > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--on-cta);
  background: var(--brand-orange);
}
.summary-help p { margin: 0 0 2px; color: color-mix(in srgb, var(--brand-navy) 20%, #fff); font-size: 13.5px; }
.summary-help a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: none; }
.summary-help a:hover { text-decoration: underline; }
.summary-help a .icon { width: 18px; height: 18px; color: #4fd37f; }

.mobile-summary { display: none; }

/* ---------- Instalação e detalhes do pedido ---------- */

.pcard-install { display: flex; gap: 8px; align-items: flex-start; margin: 0 18px 12px; padding: 9px 11px; border-radius: 9px; color: var(--ink); background: var(--page); font-size: 13px; font-weight: 600; line-height: 1.35; }
.pcard-install .icon { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--brand-blue); }

.chosen-benefits { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.chosen-benefits li { display: flex; gap: 6px; color: var(--text); font-size: 13.5px; line-height: 1.4; }
.chosen-benefits .icon { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--success); stroke-width: 2.6; }

.srow { align-items: start; }
.srow.is-empty { align-items: center; }
.srow-main strong { overflow: visible; white-space: normal; line-height: 1.3; }
.srow-desc { grid-column: 2 / -1; margin: -4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.srow-list { grid-column: 2 / -1; display: grid; gap: 3px; margin: -4px 0 0; padding: 0; list-style: none; }
.srow-list li { display: flex; gap: 6px; color: var(--text); font-size: 12.5px; line-height: 1.35; }
.srow-list .icon { width: 13px; height: 13px; flex: none; margin-top: 2px; color: var(--success); stroke-width: 2.8; }
.srow-price { display: grid; justify-items: end; padding-top: 1px; }
.srow-price small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.srow-remove { margin-top: 2px; }

.summary-install { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--page); }
.summary-install > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.summary-install span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.summary-install span .icon { width: 16px; height: 16px; color: var(--brand-blue); }
.summary-install strong { color: var(--ink); font-size: 14px; white-space: nowrap; }
.summary-install.is-gratis strong,
.summary-install.is-bonificada strong { color: var(--success); }
.summary-install p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.review-block-cart,
.review > .review-block:last-child:nth-child(even) { grid-column: 1 / -1; }
.review-items { display: grid; margin: 0; padding: 0; list-style: none; }
.review-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.review-item:first-child { border-top: 0; padding-top: 4px; }
.review-item-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 8%, #fff); }
.review-item-icon .icon { width: 19px; height: 19px; }
.review-item-logo { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: none; }
.review-item-logo[data-plate="escuro"] { border-color: transparent; background: #10182c; }
.review-item-logo img, .review-item-logo .wm { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.review-item-logo.is-wordmark { --wm-h: 14px; width: auto; min-width: 38px; max-width: 120px; padding: 4px 8px; }
.tvi-logo[data-plate="escuro"] { border-color: transparent; background: #10182c; }
.app-logo[data-plate="escuro"] { border-color: transparent; background: #10182c; }
.review-item .tvi-all { margin-top: 8px; }
.review-canal { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.review-canal img { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.review-item small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.review-item strong { display: block; color: var(--ink); font-size: 15.5px; }
.review-item p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.review-item ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 18px; margin: 8px 0 0; padding: 0; list-style: none; }
.review-item li { display: flex; gap: 6px; color: var(--text); font-size: 13.5px; line-height: 1.4; }
.review-item li .icon { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--success); stroke-width: 2.6; }
.review-item-price { display: grid; justify-items: end; align-content: start; color: var(--ink); font-size: 15px; font-weight: 800; white-space: nowrap; }
.review-item-price small { color: var(--muted); font-size: 12px; font-weight: 600; }
.review-totals { display: grid; gap: 6px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-totals div { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); font-weight: 700; }
.review-totals .review-main strong { color: var(--brand-navy); font-family: var(--font-display); font-size: 22px; }
.review-totals .review-discount { color: var(--success); font-size: 14px; }
.review-totals .review-discount span { display: inline-flex; gap: 6px; align-items: center; }
.review-totals .review-discount .icon { width: 16px; height: 16px; }
.review-totals .review-discount small, .review-totals .review-after { color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- Documentos em janela ---------- */

.has-modal { overflow: hidden; }
.doc-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.doc-modal-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--brand-navy-deep) 60%, transparent); opacity: 0; transition: opacity .18s ease; }
.doc-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px color-mix(in srgb, var(--brand-navy-deep) 40%, transparent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}
.doc-modal.is-open .doc-modal-backdrop { opacity: 1; }
.doc-modal.is-open .doc-modal-dialog { opacity: 1; transform: none; }
.doc-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--line); }
.doc-modal-head h2 { margin: 0; color: var(--ink); font-size: 21px; }
.doc-modal-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.doc-modal-close { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; cursor: pointer; }
.doc-modal-close:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.doc-modal-close .icon { width: 18px; height: 18px; }
.doc-modal-body { flex: 1; overflow-y: auto; padding: 22px 26px; color: var(--text); font-size: 15px; line-height: 1.65; overscroll-behavior: contain; }
.doc-modal-body:focus { outline: none; }
.doc-modal-body h2 { margin: 26px 0 10px; color: var(--ink); font-size: 18px; }
.doc-modal-body h2:first-child { margin-top: 0; }
.doc-modal-body h3 { margin: 20px 0 8px; color: var(--ink); font-size: 16px; }
.doc-modal-body p { margin: 0 0 12px; }
.doc-modal-body ul { display: grid; gap: 6px; margin: 0 0 14px; padding-left: 20px; }
.doc-modal-body strong { color: var(--ink); }
.doc-modal-body a { color: var(--brand-blue); }
.doc-loading { display: flex; gap: 12px; align-items: center; color: var(--muted); font-weight: 600; }
.doc-modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 26px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--brand-blue) 2%, #fff); border-radius: 0 0 16px 16px; }
.doc-modal-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.doc-modal-foot a:hover { color: var(--brand-blue); text-decoration: underline; }
.doc-modal-foot a .icon { width: 15px; height: 15px; }
.doc-modal-acoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.doc-modal-foot .doc-modal-acoes .btn { color: inherit; font-size: inherit; text-decoration: none; }
.doc-modal-foot .doc-modal-acoes .btn-primary { color: var(--on-cta); }
.doc-modal-foot .doc-modal-acoes .btn-outline { color: var(--ink); }
.doc-modal-foot [hidden] { display: none !important; }
.doc-modal.is-pdf .doc-modal-dialog,
.doc-modal.is-contrato-texto .doc-modal-dialog { width: min(1000px, 100%); height: min(900px, calc(100vh - 48px)); }
.doc-modal.is-pdf .doc-modal-body,
.doc-modal.is-contrato-texto:not(.is-contrato-limpo) .doc-modal-body { display: flex; padding: 0; background: #f1f4f8; }
.doc-modal.is-contrato-limpo .doc-modal-body { display: block; padding: 0; background: #fff; }
.doc-contrato-limpo { padding: 8px 26px 28px; }
.doc-contrato-aviso { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--brand-blue) 8%, #fff); color: var(--brand-blue); font-size: 13.5px; line-height: 1.5; }
.doc-contrato-html { color: var(--text); font-size: 15px; line-height: 1.65; }
.doc-contrato-html h2 { margin: 26px 0 10px; color: var(--ink); font-size: 18px; }
.doc-contrato-html h2:first-child { margin-top: 0; }
.doc-contrato-html h3 { margin: 20px 0 8px; color: var(--ink); font-size: 16px; }
.doc-contrato-html p { margin: 0 0 12px; }
.doc-contrato-html ul { margin: 0 0 14px; padding-left: 1.2em; }
.doc-erro { margin: 24px; color: var(--danger, #b42318); }
.doc-pdf,
.doc-contrato-texto { flex: 1; width: 100%; min-height: 60vh; border: 0; background: #fff; }
.doc-pdf-card { display: grid; justify-items: center; gap: 10px; width: 100%; margin: auto; padding: 32px 22px; text-align: center; }
.doc-pdf-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; color: #c62828; background: #fdecec; }
.doc-pdf-icon .icon { width: 28px; height: 28px; }
.doc-pdf-card strong { color: var(--ink); font-size: 17px; }
.doc-pdf-card p { max-width: 380px; margin: 0; color: var(--muted); font-size: 14px; }
.doc-pdf-actions { display: grid; gap: 10px; width: min(320px, 100%); margin-top: 8px; }
.doc-pdf-actions .btn { justify-content: center; text-decoration: none; }
.doc-modal-body .doc-pdf-actions .btn-primary { color: var(--on-cta); }
.doc-modal-body .doc-pdf-actions .btn-outline { color: var(--ink); }
.doc-modal.is-pdf-paginas .doc-modal-body { display: block; padding: 12px; }
.doc-modal.is-pdf-paginas .doc-loading { justify-content: center; padding: 48px 0; }
.doc-pdf-paginas { display: grid; gap: 12px; }
.doc-pdf-pagina { display: block; width: 100%; height: auto; border-radius: 4px; background: #fff; box-shadow: 0 2px 10px color-mix(in srgb, var(--brand-navy-deep) 14%, transparent); }
.contract-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------- Canais e streaming dos planos de TV ---------- */
.tvi { display: grid; gap: 8px; }
.pcard-tv { margin: 0 18px; padding: 12px 0 2px; border-top: 1px solid var(--line); }
.chosen-tv, .review-tv { margin-top: 8px; }
.tvi-count { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--text); font-size: 13.5px; line-height: 1.35; }
.tvi-count strong { color: var(--ink); }
.review-item .tvi strong, .chosen-main .tvi strong { display: inline; font-size: inherit; }
.tvi-count .icon { width: 17px; height: 17px; flex: none; color: var(--brand-blue); }
.tvi-stream { display: grid; gap: 6px; }
.tvi-stream > small { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.tvi-stream > small .icon { width: 14px; height: 14px; color: var(--brand-blue); }
.tvi-stream ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tvi-stream li { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; }
.tvi-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.tvi-logo { min-width: 0; height: 40px; display: grid; place-items: center; overflow: hidden; padding: 4px 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
.tvi-logo:has(> img) { display: block; }
.tvi-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tvi-logo.is-text { padding: 3px; color: #fff; border-color: transparent; background: linear-gradient(150deg, var(--brand-navy), var(--brand-blue)); }
.tvi-logo.is-text span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 8.5px; font-weight: 800; line-height: 1.1; text-align: center; overflow-wrap: break-word; }
.tvi-logo.is-more { color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 8%, #fff); font-size: 13px; font-weight: 800; }

.tvi-all { display: inline-flex; align-items: center; gap: 6px; justify-self: start; width: max-content; padding: 0; border: 0; background: none; color: var(--brand-blue); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tvi-all .icon { width: 15px; height: 15px; }
.tvi-all:hover { text-decoration: underline; }
.extra-canais { margin-top: 6px; }
.ch-group + .ch-group { margin-top: 20px; }
.ch-group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--ink); font-size: 15px; }
.ch-group h3 small { padding: 1px 8px; border-radius: 999px; background: var(--page); color: var(--muted); font-size: 12px; }
.ch-list, .doc-modal-body .ch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ch-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.ch-list .tvi-logo { width: 58px; height: 36px; flex: none; padding: 4px 5px; }
.ch-list li.is-wordmark { justify-content: center; }
.ch-list .tvi-logo.is-wordmark { --wm-h: 20px; width: auto; max-width: 100%; height: 44px; display: grid; place-items: center; border: 0; }

.send-card { display: grid; gap: 14px; }
.send-card .notice { margin: 0; }

/* ---------- Responsivo ---------- */

/* Resumo fixo: cabe sempre na janela; quando há muitos itens, só a lista rola por dentro. */
@media (min-width: 901px) {
  .checkout-main { min-height: calc(100vh - 120px); }
  .summary { display: flex; flex-direction: column; }
  .summary-intro, .summary-help { flex: none; }
  .summary-card { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; }
  .summary-card > * { flex: none; }
  .summary-card > .summary-rows { flex: 0 1 auto; min-height: 64px; overflow-y: auto; overscroll-behavior: contain; margin-right: -8px; padding-right: 8px; }
  .checkout-finished .checkout-main { min-height: 0; }
}
@media (min-width: 901px) and (max-height: 860px) {
  .summary-card:not([hidden]) ~ .summary-help { display: none; }
  .summary-intro, .summary-card { padding: 20px; }
  .summary-total strong { font-size: 25px; }
}

@media (min-width: 901px) {
  .summary-intro, .summary-card { box-shadow: 0 6px 18px color-mix(in srgb, var(--brand-navy-deep) 6%, transparent); }
  .checkout-reviewing .checkout-layout { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-inline: auto; }
  .checkout-reviewing .summary { display: none; }
}

@media (max-width: 1080px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .review { grid-template-columns: 1fr; }
  .agenda-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .summary-intro { display: none; }
  .mobile-summary:not([hidden]) {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -10px 30px color-mix(in srgb, var(--brand-navy-deep) 12%, transparent);
  }
  .mobile-summary-total { display: grid; gap: 1px; flex: 1 1 auto; min-width: 0; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
  .mobile-summary-total span { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
  .mobile-summary strong { color: var(--brand-navy); font-size: 19px; line-height: 1.2; white-space: nowrap; }
  .mobile-summary .btn { flex: none; min-height: 44px; padding-inline: 14px; }
  .mobile-summary .btn[hidden] { display: none; }
  .mobile-summary .btn-primary { justify-content: center; }
  .page-checkout .site-footer { padding-bottom: 72px; }
  .has-mobile-next .step > .step-actions [data-next],
  .has-mobile-next .wz-nav [data-wz-avancar] { display: none; }

  .summary-card { display: none; }
  .summary-sheet-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 205; background: color-mix(in srgb, var(--brand-navy-deep) 55%, transparent); opacity: 0; transition: opacity .2s ease; }
  .summary-sheet-visible .summary-sheet-backdrop { opacity: 1; }
  .summary-sheet-open .checkout-layout { z-index: 210; }
  .summary-sheet-open .summary {
    position: fixed !important;
    top: auto !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 210;
    display: grid;
    gap: 12px;
    max-height: 88vh !important;
    max-height: 88dvh !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    background: var(--page);
    box-shadow: 0 -18px 50px color-mix(in srgb, var(--brand-navy-deep) 22%, transparent);
    transform: translateY(100%);
    transition: transform .25s ease;
  }
  .summary-sheet-visible .summary { transform: none; }
  .summary-sheet-open .summary-card:not([hidden]) { display: block; padding: 18px; box-shadow: none; }
  .summary-sheet-open .summary-sheet-close { position: sticky; top: 0; z-index: 2; justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: -52px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; cursor: pointer; }
  .summary-sheet-open .summary-sheet-close .icon { width: 18px; height: 18px; }
  .summary-sheet-open .summary-card-head { padding-right: 48px; }
  @media (prefers-reduced-motion: reduce) {
    .summary-sheet-open .summary, .summary-sheet-backdrop { transition: none; }
  }
}

@media (max-width: 760px) {
  .checkout-band { padding: 22px 0 76px; }
  .stepper::before,
  .stepper::after { top: 19px; }
  .stepper-dot { width: 40px; height: 40px; }
  .stepper-dot .icon { width: 18px; height: 18px; }
  .stepper em { font-size: 0; }
  .stepper em small { font-size: 10px; }
  .stepper li.is-active em { font-size: 12px; }
  .step-card,
  .step-head-plain { padding: 20px; border-radius: 14px; }
  .step-head { gap: 14px; }
  .step-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .form-grid { grid-template-columns: 1fr; }
  .cep-endereco { padding: 14px; }
  .ponto-mapa { height: 300px; }
  .type-cards { grid-template-columns: 1fr; }
  .step-head-plain { padding: 16px 18px; margin-bottom: 14px; }
  .step-head-plain p { font-size: 14px; }
  .address-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; margin-bottom: 14px; padding: 14px 16px; }
  .ac-icon { grid-row: 1 / span 2; width: 38px; height: 38px; }
  .ac-icon .icon { width: 19px; height: 19px; }
  .ac-main strong { font-size: 15px; }
  .ac-main > span { font-size: 13px; }
  .ac-main small, .ac-main .chips { display: none; }
  .ac-meta { grid-column: 2; padding: 0; border: 0; }
  .ac-meta small { display: none; }
  .ac-meta strong { font-size: 13px; color: var(--muted); }
  .address-card > .btn { grid-column: 3; grid-row: 1 / span 2; }
  .wz-topo { margin-bottom: 18px; padding-bottom: 14px; }
  .wz-progress { flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; contain: inline-size; margin-inline: -2px; padding: 2px; scrollbar-width: none; }
  .wz-progress::-webkit-scrollbar { display: none; }
  .wz-progress li { flex: none; }
  .group-head { padding: 16px; }
  .group-body { padding: 16px; }
  .chosen { grid-template-columns: auto minmax(0, 1fr); }
  .chosen-price { grid-column: 2; }
  .chosen-actions { grid-column: 1 / -1; }
  .chosen-actions .btn { flex: 1; }
  .svc { grid-template-columns: auto minmax(0, 1fr); }
  .svc-price { grid-column: 2; text-align: left; }
  .svc > .btn { grid-column: 1 / -1; }
  .slot-list-3 { grid-template-columns: 1fr; }
  .calendar { padding: 14px 10px; }
  .review-item { grid-template-columns: auto minmax(0, 1fr); }
  .review-item-price { grid-column: 2; display: flex; align-items: baseline; gap: 3px; }
  .due-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
  .due > span { width: auto; }
  .review-item ul { grid-template-columns: 1fr; }
  .doc-modal { padding: 0; place-items: end stretch; }
  .doc-modal-dialog { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .doc-modal-head, .doc-modal-body { padding-left: 18px; padding-right: 18px; }
  .doc-modal-foot { flex-wrap: wrap; padding: 12px 18px; border-radius: 0; }
  .doc-modal-foot > a[data-doc-link] { order: 2; width: 100%; justify-content: center; }
  .doc-modal-acoes { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .doc-modal-acoes .btn { justify-content: center; }
  .doc-modal.is-pdf .doc-modal-dialog,
  .doc-modal.is-contrato-texto .doc-modal-dialog { height: 92vh; height: 92dvh; max-height: none; }
  .doc-modal.is-pdf .doc-modal-foot > a[data-doc-link],
  .doc-modal.is-contrato-texto .doc-modal-foot > a[data-doc-link] { display: none; }
  .contract-list li { grid-template-columns: auto minmax(0, 1fr); }
  .contract-actions { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .contract-actions .btn { justify-content: center; }
  .next-steps { grid-template-columns: 1fr; }
  .step-done { padding: 36px 22px; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn { width: 100%; }
  .step-actions .link-button { justify-content: center; }
  .locked-address .link-button { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
