/* =========================================================
   UAI Rastreamento — Planos, carrinho, checkout e assinatura
   ========================================================= */
:root {
  --sh-accent: #1f6bff;
  --sh-accent-2: #3b8cff;
  --sh-glow: rgba(31, 107, 255, .45);
  --sh-bg: #060b18;
  --sh-ink: #0b1530;
  --sh-ink-2: #3c4864;
  --sh-muted: #6b7690;
  --sh-line: #e3e9f3;
  --sh-line-2: #eef2f8;
  --sh-soft: #eaf1ff;
  --sh-green: #16a34a;
  --sh-red: #dc2626;
  --sh-amber: #d97706;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Botões em superfícies claras ---------- */
:is(.checkout-page, .sub-page) { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
:is(.checkout-page, .sub-page) a { color: inherit; text-decoration: none; }
:is(.checkout-page, .sub-page) h1, :is(.checkout-page, .sub-page) h2, :is(.checkout-page, .sub-page) h3 { margin: 0; letter-spacing: -.01em; }
:is(.checkout-page, .sub-page) p { margin: 0; }
:is(.checkout-page, .sub-page) button, :is(.checkout-page, .sub-page) input, :is(.checkout-page, .sub-page) select, :is(.checkout-page, .sub-page) textarea { font: inherit; }
:is(.checkout-page, .sub-page) .ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:is(.checkout-page, .sub-page) :focus-visible { outline: 2px solid var(--sh-accent-2); outline-offset: 2px; }
:is(.checkout-page, .sub-page) .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .92rem; border: 1px solid transparent; cursor: pointer; background: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
:is(.checkout-page, .sub-page) .btn:hover:not(:disabled) { transform: translateY(-1px); }
:is(.checkout-page, .sub-page) .btn:disabled { opacity: .5; cursor: not-allowed; }
:is(.checkout-page, .sub-page) .btn-primary { background: linear-gradient(180deg, var(--sh-accent-2), var(--sh-accent)); color: #fff; box-shadow: 0 10px 24px -12px var(--sh-glow); }
:is(.checkout-page, .sub-page) .btn-sm { padding: 8px 14px; font-size: .82rem; }
:is(.checkout-page, .sub-page) .btn-block { width: 100%; }
:is(.checkout-page, .sub-page, .cart) .btn-ghost { background: #fff; border: 1px solid var(--sh-line); color: var(--sh-ink); }
:is(.checkout-page, .sub-page, .cart) .btn-ghost:hover { border-color: #c9d6ee; background: #f8fafd; }
:is(.checkout-page, .sub-page, .cart) .btn-outline, .btn-outline-blue { border: 1.5px solid var(--sh-accent); color: var(--sh-accent); background: #fff; }
.btn-danger { background: var(--sh-red) !important; color: #fff !important; }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading .ico { opacity: 0; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: sh-spin .7s linear infinite; }
@keyframes sh-spin { to { transform: rotate(360deg); } }
.link-mini { background: none; border: 0; padding: 0; color: var(--sh-accent); font-weight: 600; font-size: .8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; background: var(--sh-soft); color: #1f4fbf; padding: 1px 5px; border-radius: 5px; }

.shop-toast { position: fixed; left: 50%; bottom: 24px; z-index: 5000; transform: translate(-50%, 10px); max-width: min(440px, calc(100% - 32px)); padding: 12px 18px; border-radius: 12px; background: #0b1530; color: #fff; font-size: .88rem; text-align: center; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); border: 1px solid rgba(90,150,255,.3); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.shop-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Página de planos (escura)
   ========================================================= */
.shop-page .header-inner { gap: 20px; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.cart-btn:hover { border-color: var(--sh-accent-2); }
.cart-btn .ico { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--sh-accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--sh-bg); }
@media (min-width: 901px) { .shop-page .header-actions { margin-left: 0; } }
@media (max-width: 900px) { .shop-page .cart-btn { margin-left: auto; } .shop-page .menu-toggle { margin-left: 0; } }

.plans-hero { position: relative; padding: calc(var(--header-h, 76px) + 64px) 0 40px; text-align: center; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(6,11,24,.35), var(--sh-bg) 92%),
    radial-gradient(700px 300px at 50% 0%, rgba(31,107,255,.25), transparent 70%),
    linear-gradient(180deg, #0f1c36, #1d2740 55%, #2a2730 80%, #060b18);
}
.plans-hero::before { content: ""; position: absolute; inset: auto 0 0; height: 60%; z-index: -1; background: linear-gradient(180deg, #2a3550, #0b1020); clip-path: polygon(0 60%, 12% 30%, 24% 50%, 38% 12%, 50% 40%, 62% 18%, 76% 46%, 88% 22%, 100% 44%, 100% 100%, 0 100%); opacity: .7; }
.plans-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.plans-hero .lead { color: #c9d3e8; margin-top: 14px; }
.billing-toggle { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.billing-toggle button { border: 0; background: none; color: #c9d3e8; padding: 9px 20px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.billing-toggle button small { color: #8fb5ff; font-weight: 500; }
.billing-toggle button.active { background: var(--sh-accent); color: #fff; box-shadow: 0 8px 20px -8px var(--sh-glow); }
.billing-toggle button.active small { color: #dbe7ff; }
.plans-section { padding-top: 24px; }

.shop-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.shop-plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(20,34,66,.85), rgba(10,18,36,.9)); border: 1px solid rgba(120,160,255,.16); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.shop-plan:hover { transform: translateY(-4px); border-color: rgba(90,150,255,.4); }
.shop-plan.featured { border: 1.5px solid var(--sh-accent); box-shadow: 0 0 0 6px rgba(31,107,255,.12), 0 30px 60px -28px var(--sh-glow); background: linear-gradient(180deg, #102350, #0a1630); }
.shop-plan.chosen { border-color: #22c55e; }
.sp-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px; background: var(--sh-accent); color: #fff; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.shop-plan h2 { font-size: 1.3rem; }
.shop-plan header p { color: #9aa8c4; font-size: .88rem; margin-top: 2px; }
.sp-price { display: flex; align-items: baseline; gap: 4px; }
.sp-price .cur { font-weight: 700; }
.sp-price .val { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.sp-price .per { color: #9aa8c4; font-size: .9rem; }
.sp-billed { font-size: .8rem; color: #9aa8c4; margin-top: -8px; min-height: 1.2em; }
.sp-billed s { opacity: .7; }
.sp-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.sp-feats li { display: flex; gap: 10px; font-size: .9rem; color: #d3dbec; }
.sp-feats .ico { width: 18px; height: 18px; color: var(--sh-accent-2); stroke-width: 2.6; margin-top: 2px; }
.shop-plan .btn-outline { border: 1.5px solid var(--sh-accent-2); color: #fff; background: transparent; }
.shop-plan .btn-outline:hover { background: var(--sh-accent); border-color: var(--sh-accent); }

.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 24px; border: 1px solid rgba(120,160,255,.16); background: radial-gradient(500px 360px at 25% 50%, rgba(31,107,255,.2), transparent 70%), linear-gradient(180deg, #0e1830, #0a1224); }
.product-media { position: relative; display: grid; place-items: center; min-height: 320px; }
.badge-official { position: absolute; top: 0; left: 0; padding: 6px 12px; border-radius: 8px; background: var(--sh-accent); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(31,107,255,.45), transparent 65%); }
.product-svg { position: relative; width: min(240px, 70%); filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.product-info { display: grid; gap: 16px; justify-items: start; }
.product-info .eyebrow { margin-bottom: 0; }
.product-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.product-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; width: 100%; }
.product-feats li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #d3dbec; }
.product-feats span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(90,150,255,.4); color: var(--sh-accent-2); }
.product-feats .ico { width: 16px; height: 16px; }
.product-buy { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 4px; }
.product-buy .val { font-size: 2.4rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(120,160,255,.3); border-radius: 10px; overflow: hidden; }
.qty button { width: 40px; height: 42px; border: 0; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.qty button:hover { background: rgba(59,140,255,.15); }
.qty input, .qty span { width: 44px; text-align: center; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty .ico { width: 16px; height: 16px; }
.trust-mini { list-style: none; padding: 14px 0 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(120,160,255,.14); width: 100%; font-size: .85rem; color: #c9d3e8; }
.trust-mini li { display: flex; align-items: center; gap: 8px; }
.trust-mini .ico { color: var(--sh-accent-2); }

@media (max-width: 960px) {
  .shop-plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product-media { min-height: 260px; }
}
@media (max-width: 520px) { .product-feats { grid-template-columns: 1fr; } .billing-toggle button { padding: 9px 14px; } }

/* =========================================================
   Carrinho lateral
   ========================================================= */
.drawer-backdrop { position: fixed; inset: 0; z-index: 900; background: rgba(3,7,18,.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.drawer-backdrop.open { opacity: 1; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 901; width: min(420px, 100%); background: #fff; color: var(--sh-ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
.cart.open { transform: none; }
.cart .ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: #0b1530; color: #fff; }
.cart-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.icon-close { width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px; border: 1px solid var(--sh-line); border-radius: 14px; align-items: start; }
.ci-thumb { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; align-content: center; }
.ci-thumb.dev { background: linear-gradient(145deg, #2a2f38, #07080a); color: #3b8cff; font-size: .6rem; font-weight: 800; color: #fff; gap: 0; }
.ci-thumb.dev .ico { color: #3b8cff; }
.ci-thumb.plan { background: var(--sh-soft); color: var(--sh-accent); }
.ci-thumb .ico { width: 26px; height: 26px; }
.ci-thumb.sm { width: 44px; height: 44px; border-radius: 10px; }
.ci-thumb.sm .ico { width: 20px; height: 20px; }
.ci-thumb.sm b { display: none; }
.ci-info { display: grid; gap: 4px; justify-items: start; font-size: .88rem; }
.ci-info b { font-size: .92rem; }
.ci-info small { color: var(--sh-muted); font-size: .76rem; }
.ci-info > span { font-weight: 700; }
.ci-remove { width: 34px; height: 34px; border-radius: 9px; border: 0; background: none; color: var(--sh-muted); cursor: pointer; display: grid; place-items: center; }
.ci-remove:hover { background: #fdecec; color: var(--sh-red); }
.qty.sm { border-color: var(--sh-line); color: var(--sh-ink); margin-top: 4px; }
.qty.sm button { width: 32px; height: 32px; }
.qty.sm button:hover { background: var(--sh-soft); }
.qty.sm span { width: 32px; font-size: .88rem; }
.cart-tip { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--sh-soft); color: #1f3f8a; font-size: .8rem; }
.cart-tip.warn { background: #fff7e6; color: #7a4b00; }
.cart-tip a { color: var(--sh-accent); font-weight: 700; text-decoration: underline; }
.cart-tip .ico { flex-shrink: 0; margin-top: 1px; }
.coupon { display: grid; gap: 6px; }
.coupon label { font-size: .8rem; font-weight: 700; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--sh-line); border-radius: 10px; font: inherit; font-size: .9rem; text-transform: uppercase; }
.coupon-row input:focus { outline: 0; border-color: var(--sh-accent); box-shadow: 0 0 0 3px rgba(31,107,255,.12); }
.coupon .btn-sm { padding: 8px 14px; font-size: .84rem; border-radius: 10px; }
.coupon .hint { color: var(--sh-muted); font-size: .74rem; }
.coupon-msg { font-style: normal; font-size: .78rem; }
.coupon-msg.err { color: var(--sh-red); }
.coupon-applied { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #e8f8ee; color: #15803d; font-size: .82rem; }
.coupon-applied span { flex: 1; color: #166534; }
.coupon-applied button { border: 0; background: none; color: inherit; cursor: pointer; display: grid; }
.summary { margin: 0; display: grid; gap: 8px; font-size: .88rem; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--sh-ink-2); }
.summary dd { margin: 0; font-weight: 600; white-space: nowrap; }
.summary .disc dd { color: var(--sh-green); }
.summary .free { color: var(--sh-green); }
.summary .total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--sh-line); font-size: 1.1rem; }
.summary .total dt { color: var(--sh-ink); font-weight: 700; }
.summary .total dd { font-weight: 800; }
.recurring { font-size: .78rem; color: var(--sh-muted); margin-top: -6px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--sh-muted); }
.cart .btn-primary { margin-top: 4px; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; color: var(--sh-ink-2); }
.cart-empty > .ico { width: 54px; height: 54px; color: #c4cee0; }

/* =========================================================
   Checkout
   ========================================================= */
.checkout-page { background: var(--sh-bg); background-image: radial-gradient(900px 500px at 80% 0%, rgba(31,107,255,.15), transparent 60%); color: #fff; min-height: 100vh; display: flex; flex-direction: column; }
.co-container { width: min(100% - 32px, 1120px); margin-inline: auto; }
.co-header { border-bottom: 1px solid rgba(120,160,255,.14); background: rgba(6,11,24,.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; }
.co-header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.co-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.co-logo svg { width: 40px; height: 33px; }
.co-logo span { display: grid; line-height: 1; }
.co-logo strong { font-size: 1.4rem; font-weight: 800; }
.co-logo small { font-size: .55rem; letter-spacing: .12em; color: var(--sh-accent-2); font-weight: 600; margin-top: 3px; }
.co-title { font-weight: 700; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.15); }
.co-secure { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #9fe3b4; }
.co-main { flex: 1; padding: 28px 0 40px; }
.stepper { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 720px; counter-reset: s; }
.stepper li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: .8rem; color: #8f9cba; text-align: center; }
.stepper li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: rgba(255,255,255,.14); }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.current::before { background: var(--sh-accent); }
.st-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; border: 2px solid rgba(255,255,255,.2); background: var(--sh-bg); position: relative; z-index: 1; }
.st-dot .ico { width: 16px; height: 16px; stroke-width: 3; }
.stepper li.done { color: #c9d3e8; }
.stepper li.done .st-dot { background: var(--sh-accent); border-color: var(--sh-accent); }
.stepper li.current { color: #fff; font-weight: 700; }
.stepper li.current .st-dot { background: var(--sh-accent); border-color: var(--sh-accent); box-shadow: 0 0 0 5px rgba(31,107,255,.25); }
.co-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.co-grid.single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.co-panel, .co-summary { background: #fff; color: var(--sh-ink); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.co-summary { position: sticky; top: 92px; display: grid; gap: 14px; }
.co-summary h2 { font-size: 1.1rem; }
.co-panel h1 { font-size: 1.4rem; font-weight: 800; }
.co-panel .sub { color: var(--sh-muted); font-size: .9rem; margin: 4px 0 22px; }
.sum-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sum-items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; font-size: .86rem; }
.sum-items li div { display: grid; }
.sum-items small { color: var(--sh-muted); font-size: .76rem; }
.sum-items > li > span:last-child { font-weight: 700; }
.sum-coupon { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--sh-green); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span2 { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--sh-ink-2); min-width: 0; }
.fld i { color: var(--sh-red); font-style: normal; }
.fld input, .fld select, .fld textarea, .imei-row input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--sh-line); border-radius: 10px; font-size: .95rem; color: var(--sh-ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.fld textarea { height: auto; padding: 10px 14px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .imei-row input:focus { outline: 0; border-color: var(--sh-accent); box-shadow: 0 0 0 3px rgba(31,107,255,.12); }
.fld input[aria-invalid="true"], .imei-row input[aria-invalid="true"] { border-color: var(--sh-red); }
.err { font-style: normal; font-weight: 500; font-size: .76rem; color: var(--sh-red); }
.err:empty { display: none; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--sh-ink-2); cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--sh-accent); margin: 1px 0 0; flex-shrink: 0; }
.co-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.co-actions.col { flex-direction: column; align-items: stretch; }
.co-actions .btn-primary { margin-left: auto; }
.co-actions.col .btn-primary { margin-left: 0; }

.pay-options { display: grid; gap: 10px; margin-bottom: 18px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--sh-line); border-radius: 12px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.pay-opt.on { border-color: var(--sh-accent); background: #f5f9ff; }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--sh-accent); margin: 0; }
.po-ico { width: 34px; height: 34px; display: grid; place-items: center; color: var(--sh-ink-2); }
.po-ico svg { width: 26px; height: 26px; }
.po-txt { display: grid; flex: 1; }
.po-txt small { color: var(--sh-muted); font-size: .78rem; }
.po-badge { padding: 4px 10px; border-radius: 999px; background: var(--sh-soft); color: var(--sh-accent); font-size: .72rem; font-weight: 700; }
.pix-info { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: #f5f8fd; font-size: .86rem; color: var(--sh-ink-2); margin-bottom: 10px; }
.pix-info p { display: flex; gap: 8px; }
.pix-info .ico { color: var(--sh-accent); margin-top: 2px; }
.pix-box { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 18px; border: 1px solid var(--sh-line); border-radius: 14px; }
.pix-qr { padding: 10px; border: 1px solid var(--sh-line); border-radius: 12px; background: #fff; width: 206px; height: 206px; display: grid; place-items: center; }
.pix-qr img, .pix-qr canvas { width: 184px; height: 184px; }
.pix-side { display: grid; gap: 10px; min-width: 0; }
.pix-amount { font-size: 1.6rem; font-weight: 800; }
.pix-status { display: flex; align-items: center; gap: 10px; color: var(--sh-amber); font-weight: 600; font-size: .9rem; }
.spinner { width: 16px; height: 16px; border: 2.5px solid #fde4a8; border-top-color: var(--sh-amber); border-radius: 50%; animation: sh-spin .8s linear infinite; }
.pix-exp { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--sh-muted); }
.copy-row { display: flex; gap: 8px; }
.copy-row input { font-family: ui-monospace, Consolas, monospace; font-size: .76rem !important; }
.demo-tag { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: #7a4b00; background: #fff7e6; padding: 8px 10px; border-radius: 8px; font-weight: 500; }
.demo-tag .ico { flex-shrink: 0; margin-top: 1px; }
.card-input { position: relative; }
.card-input input { padding-right: 150px; }
.brands { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; pointer-events: none; }
.brands span { width: 30px; transition: opacity .2s ease; }
.brands span.dim { opacity: .2; }
.brands svg { width: 30px; height: 19px; display: block; }
.pay-error { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #991b1b; font-size: .86rem; }
.pay-error div { display: grid; }
.pay-error .ico { flex-shrink: 0; margin-top: 2px; }

.confirm { display: grid; justify-items: center; text-align: center; gap: 8px; }
.ok-big { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--sh-green); color: #fff; box-shadow: 0 0 0 10px #dcfce7; margin-bottom: 12px; animation: pop .35s ease; }
.ok-big .ico { width: 36px; height: 36px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.confirm .sub { margin-bottom: 8px; }
.order-box { display: grid; gap: 2px; width: 100%; padding: 16px; border: 1px solid var(--sh-line); border-radius: 14px; text-align: left; margin-bottom: 8px; }
.order-box small { color: var(--sh-muted); font-size: .76rem; margin-top: 8px; }
.order-box small:first-child { margin-top: 0; }
.order-box b { font-size: 1.15rem; }
.track { list-style: none; margin: 0 0 8px; padding: 0; width: 100%; display: grid; gap: 4px; text-align: left; }
.track li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--sh-muted); font-size: .86rem; }
.track li div { display: grid; }
.track li small { font-size: .76rem; }
.track li.done { color: var(--sh-green); }
.track li.now { background: var(--sh-soft); color: var(--sh-accent); }
.track li b { color: var(--sh-ink); }
.confirm .co-actions { width: 100%; }
.co-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 20px 0; }
.co-empty > .ico { width: 56px; height: 56px; color: #c4cee0; }
.co-empty .small { font-size: .84rem; color: var(--sh-muted); }
.co-empty a:not(.btn) { color: var(--sh-accent); font-weight: 600; }

.activate { display: grid; gap: 14px; }
.activate .sub { margin-bottom: 4px; }
#act-form { display: grid; gap: 14px; }
.imei-row { display: flex; gap: 8px; }
.imei-row input { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.scan-btn { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--sh-line); background: #fff; color: var(--sh-accent); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.help { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 500; color: var(--sh-muted); font-size: .76rem; }
.scan-video { width: 100%; border-radius: 12px; background: #000; }
.act-success { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: #ecfdf3; border: 1px solid #bbf7d0; }
.act-success > .ico { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--sh-green); color: #fff; stroke-width: 3; }
.act-success div { display: grid; gap: 4px; }
.act-success b { color: #166534; }
.act-success span { font-size: .86rem; color: #166534; }

.co-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0 24px; border-top: 1px solid rgba(120,160,255,.14); font-size: .8rem; color: #8f9cba; }
.co-footer span { display: flex; align-items: center; gap: 6px; }
.co-footer a { color: #c9d3e8; text-decoration: underline; }

@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .co-title { display: none; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .stepper .st-label { font-size: .68rem; }
  .pix-box { grid-template-columns: 1fr; justify-items: center; }
  .pix-side { width: 100%; }
  .co-actions { flex-direction: column-reverse; align-items: stretch; }
  .co-actions .btn-primary { margin-left: 0; }
  .card-input input { padding-right: 14px; }
  .brands { display: none; }
  .co-secure span, .co-secure { font-size: .76rem; }
}

/* =========================================================
   Minha assinatura (claro, menu lateral escuro)
   ========================================================= */
.sub-page { background: #eef2f8; color: var(--sh-ink); }
.sub-app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sub-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #071021; color: #fff; padding: 20px 12px; display: flex; flex-direction: column; gap: 24px; }
.sub-side .co-logo { padding: 0 8px; }
.sub-nav { display: grid; gap: 3px; }
.sub-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; font-size: .86rem; color: #c3cde2; transition: background .2s ease, color .2s ease; }
.sub-nav a:hover { background: rgba(59,140,255,.1); color: #fff; }
.sub-nav a.active { background: linear-gradient(180deg, var(--sh-accent-2), var(--sh-accent)); color: #fff; font-weight: 600; }
.sub-nav a:last-child { margin-top: 12px; }
.sub-backdrop { display: none; }
.sub-main { min-width: 0; display: flex; flex-direction: column; }
.sub-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sh-line); }
.sub-top h1 { font-size: 1.3rem; font-weight: 800; }
.sub-top p { font-size: .84rem; color: var(--sh-muted); }
.sub-top #sub-menu { display: none; }
.sub-top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 10px; border: 0; background: none; color: var(--sh-ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--sh-line-2); }
.icon-btn .ico { width: 22px; height: 22px; }
.dot-badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--sh-red); color: #fff; font-size: .64rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.demo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px dashed #f0b44c; background: #fff7e6; color: #7a4b00; font-size: .76rem; font-weight: 700; cursor: pointer; }
.user-mini { display: flex; align-items: center; gap: 10px; }
.user-mini > span:last-child { display: grid; line-height: 1.25; }
.user-mini b { font-size: .86rem; }
.user-mini small { font-size: .72rem; color: var(--sh-muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--sh-accent-2), var(--sh-accent)); color: #fff; font-weight: 700; font-size: .84rem; flex-shrink: 0; }
.dropdown { position: relative; }
.dd-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--sh-line); box-shadow: 0 24px 60px -20px rgba(11,21,48,.35); z-index: 100; display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.dd-menu.open { opacity: 1; visibility: visible; transform: none; }
.dd-menu > button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: 8px; text-align: left; cursor: pointer; font-size: .84rem; color: var(--sh-ink); }
.dd-menu > button:hover { background: var(--sh-line-2); }
.dd-menu.notif { width: 320px; }
.dd-title { font-weight: 700; padding: 6px 8px 8px; border-bottom: 1px solid var(--sh-line); }
.dd-menu.notif ul { list-style: none; margin: 4px 0 0; padding: 0; max-height: 320px; overflow-y: auto; }
.dd-menu.notif li { display: grid; padding: 9px 10px 9px 14px; border-radius: 8px; font-size: .8rem; position: relative; }
.dd-menu.notif li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--sh-accent); }
.dd-menu.notif li.ok::before { background: var(--sh-green); } .dd-menu.notif li.bad::before { background: var(--sh-red); } .dd-menu.notif li.warn::before { background: var(--sh-amber); }
.dd-menu.notif li.unread { background: var(--sh-soft); }
.dd-menu.notif small { color: var(--sh-ink-2); }
.dd-menu.notif time { font-size: .7rem; color: var(--sh-muted); }
.dd-menu.notif .empty::before { display: none; }
.dd-menu.notif .empty { color: var(--sh-muted); }

.sub-content { padding: 24px 28px 40px; display: grid; gap: 20px; }
.sub-card { background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; padding: 20px; display: grid; gap: 16px; align-content: start; min-width: 0; scroll-margin-top: 90px; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sc-head h2 { font-size: 1.05rem; }
.sc-head p { font-size: .8rem; color: var(--sh-muted); }
.sub-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.mini-select { appearance: none; font-size: .78rem; font-weight: 600; color: var(--sh-ink-2); border: 1px solid var(--sh-line); border-radius: 8px; padding: 7px 28px 7px 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7690' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 12px; cursor: pointer; }

.plan-sum { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.ps-main { display: flex; gap: 16px; align-items: flex-start; }
.ps-ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, var(--sh-accent-2), var(--sh-accent)); color: #fff; flex-shrink: 0; box-shadow: 0 12px 24px -12px var(--sh-glow); }
.ps-ico .ico { width: 32px; height: 32px; }
.ps-main h2 { font-size: 1.2rem; }
.ps-price { font-size: 1.5rem; font-weight: 800; margin: 2px 0 8px; }
.ps-price small { font-size: .82rem; color: var(--sh-muted); font-weight: 500; }
.ps-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .82rem; color: var(--sh-ink-2); }
.ps-next { margin-top: 10px; font-size: .84rem; color: var(--sh-ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ps-note { margin-top: 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .82rem; padding: 8px 10px; background: var(--sh-soft); border-radius: 8px; color: #1f3f8a; }
.ps-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; align-content: start; font-size: .84rem; }
.ps-feats li { display: flex; gap: 8px; align-items: flex-start; }
.ps-feats .ico { color: var(--sh-accent); width: 18px; height: 18px; }
.ps-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--sh-line-2); padding-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.pill .ico { width: 14px; height: 14px; }
.pill.ok { background: #e8f8ee; color: #15803d; }
.pill.warn { background: #fff4e0; color: #b45309; }
.pill.bad { background: #fdecec; color: #b91c1c; }
.pill.cancel { background: #f1f5f9; color: #475569; }
.pill.blue { background: var(--sh-soft); color: var(--sh-accent); }

.fail-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: #fdecec; border: 1px solid #fecaca; color: #991b1b; }
.fail-banner > .ico { width: 26px; height: 26px; }
.fail-banner > div:not(.fb-actions) { display: grid; flex: 1; min-width: 240px; font-size: .86rem; }
.fb-actions { display: flex; gap: 8px; }

.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.inv-table { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 480px; }
.inv-table td:nth-child(2) { white-space: normal; min-width: 140px; }
.inv-table th { text-align: left; font-size: .74rem; color: var(--sh-ink-2); background: #f5f8fd; padding: 10px; font-weight: 700; }
.inv-table th:first-child { border-radius: 8px 0 0 8px; } .inv-table th:last-child { border-radius: 0 8px 8px 0; }
.inv-table td { padding: 12px 10px; border-bottom: 1px solid var(--sh-line-2); white-space: nowrap; }
.inv-table .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.inv-table .empty { text-align: center; color: var(--sh-muted); padding: 24px; }
.ta-r { text-align: right !important; }
.link-act { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--sh-accent); font-weight: 600; font-size: .8rem; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.link-act:hover { background: var(--sh-soft); }
.link-act.strong { background: var(--sh-accent); color: #fff; padding: 6px 10px; }
.link-act .ico { width: 15px; height: 15px; }

.pm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--sh-line); border-radius: 12px; }
.pm-ico { width: 46px; height: 32px; display: grid; place-items: center; }
.pm-ico svg { width: 46px; height: 30px; }
.pm > div { display: grid; flex: 1; min-width: 0; font-size: .84rem; }
.pm small { color: var(--sh-muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; }
.pm-more { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; color: var(--sh-ink-2); cursor: pointer; display: grid; place-items: center; }
.pm-more:hover { background: var(--sh-line-2); }
.pm-list .empty { color: var(--sh-muted); font-size: .86rem; text-align: center; padding: 12px; }
.pm-menu { position: absolute; z-index: 200; min-width: 200px; padding: 6px; background: #fff; border: 1px solid var(--sh-line); border-radius: 10px; box-shadow: 0 20px 50px -20px rgba(11,21,48,.35); display: grid; }
.pm-menu button { padding: 9px 10px; border: 0; background: none; border-radius: 7px; text-align: left; cursor: pointer; font-size: .84rem; color: var(--sh-ink); }
.pm-menu button:hover, .pm-menu button:focus-visible { background: var(--sh-line-2); }
.pm-menu .danger { color: var(--sh-red); }

.data-list { margin: 0; display: grid; gap: 0; }
.data-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--sh-line-2); font-size: .86rem; }
.data-list > div:last-child { border-bottom: 0; }
.data-list dt { color: var(--sh-muted); }
.data-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.toggle-list { list-style: none; margin: 0; padding: 0; display: grid; }
.toggle-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sh-line-2); }
.toggle-list li:last-child { border-bottom: 0; }
.toggle-list div { display: grid; font-size: .86rem; }
.toggle-list small { color: var(--sh-muted); font-size: .76rem; }
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #cbd5e1; transition: background .2s ease; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .2s ease; }
.switch input:checked + span { background: var(--sh-accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--sh-accent-2); outline-offset: 2px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(7,16,33,.55); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--sh-ink); border-radius: 18px; padding: 26px; display: grid; gap: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: pop .2s ease; }
.modal-card h3 { font-size: 1.15rem; padding-right: 32px; }
.modal-card .muted { color: var(--sh-muted); font-size: .88rem; }
.modal-card .small { font-size: .78rem; display: flex; gap: 6px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 9px; border: 0; background: var(--sh-line-2); cursor: pointer; display: grid; place-items: center; color: var(--sh-ink-2); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--sh-line-2); border-radius: 10px; }
.seg button { border: 0; background: none; padding: 8px; border-radius: 8px; font-weight: 600; font-size: .84rem; color: var(--sh-muted); cursor: pointer; }
.seg button.active { background: #fff; color: var(--sh-ink); box-shadow: 0 1px 3px rgba(11,21,48,.12); }
.radio-cards { display: grid; gap: 8px; }
.rc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--sh-line); border-radius: 12px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.rc:has(input:checked) { border-color: var(--sh-accent); background: #f5f9ff; }
.rc input { width: 18px; height: 18px; accent-color: var(--sh-accent); margin: 0; flex-shrink: 0; }
.rc svg { width: 40px; height: 26px; }
.rc-main { display: grid; flex: 1; font-size: .88rem; }
.rc-main small { color: var(--sh-muted); font-size: .76rem; }
.rc-main em { font-style: normal; font-size: .68rem; color: var(--sh-accent); background: var(--sh-soft); padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.rc-price { font-weight: 800; white-space: nowrap; }
.rc-price small { font-weight: 500; color: var(--sh-muted); font-size: .76rem; }
.proration { padding: 14px; border-radius: 12px; background: #f5f8fd; font-size: .86rem; }
.proration p { display: flex; gap: 6px; }
.proration .ico { flex-shrink: 0; margin-top: 2px; color: var(--sh-accent); }
.offer { text-align: center; display: grid; gap: 10px; padding: 8px 0; }
.offer-badge { justify-self: center; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--sh-accent), #6aa8ff); color: #fff; font-size: .74rem; font-weight: 700; }
.offer h3 { font-size: 1.4rem; padding: 0; }

@media (max-width: 1100px) {
  .sub-grid { grid-template-columns: 1fr; }
  .plan-sum { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sub-app { grid-template-columns: 1fr; }
  .sub-side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 2500; transform: translateX(-100%); transition: transform .28s ease; }
  .sub-app.drawer .sub-side { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.4); }
  .sub-backdrop { display: block; position: fixed; inset: 0; z-index: 2400; background: rgba(7,16,33,.5); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s; }
  .sub-app.drawer .sub-backdrop { opacity: 1; visibility: visible; }
  .sub-top #sub-menu { display: grid; }
  .sub-top { padding: 12px 16px; }
  .sub-content { padding: 16px; }
}
@media (max-width: 640px) {
  .user-mini > span:last-child, .sub-top p { display: none; }
  .sub-top { gap: 8px; padding: 10px 12px; }
  .sub-top > div:nth-child(2) { min-width: 0; }
  .sub-top h1 { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sub-top-actions { gap: 4px; }
  .demo-chip { font-size: 0; padding: 8px; }
  .demo-chip .ico { font-size: 1rem; }
  .ps-feats { grid-template-columns: 1fr; }
  .ps-actions .btn { flex: 1; }
  .dd-menu.notif { position: fixed; top: 60px; left: 12px; right: 12px; width: auto; }
  .data-list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Ciclo de cobrança no carrinho */
.cycle-pick { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--sh-ink-2); margin-top: 4px; }
.cycle-pick select { border: 1px solid var(--sh-line); border-radius: 8px; padding: 5px 8px; font: inherit; font-size: .78rem; color: var(--sh-ink); background: #fff; }
/* Estados de carregamento/erro do catálogo */
.catalog-state { grid-column: 1 / -1; text-align: center; padding: 40px 16px; color: #9aa8c4; border: 1px dashed rgba(120,160,255,.25); border-radius: 18px; }
.catalog-state b { display: block; color: #eef3ff; margin-bottom: 4px; }
.sp-promo { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(236,72,153,.15); color: #f9a8d4; font-size: .74rem; font-weight: 700; }
.sp-excluded li { color: #7d89a6; text-decoration: line-through; }
.from-price-line { margin-top: 18px; color: #c9d3e8; font-size: .95rem; }
.from-price-line strong { color: #fff; font-size: 1.15rem; }
.strike-light { margin-left: 8px; color: #8f9cba; font-size: .95rem; font-weight: 500; }

/* =========================================================
   Entrada do cliente
   ========================================================= */
.entry-page { min-height: 100vh; background: var(--sh-bg); background-image: radial-gradient(700px 400px at 50% 0%, rgba(31,107,255,.22), transparent 70%); }
.entry { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 32px 16px; }
.entry-logo { color: var(--sh-accent-2); }
.entry-card { width: min(420px, 100%); background: #fff; color: var(--sh-ink); border-radius: 20px; padding: 32px 28px; display: grid; gap: 16px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.entry-card h1 { font-size: 1.4rem; font-weight: 800; margin: 0; }
.entry-card .muted { color: var(--sh-muted); font-size: .9rem; margin: 0; }
.entry-form { display: grid; gap: 14px; }
.entry-form .fld { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--sh-ink-2); }
.entry-form input { height: 46px; padding: 0 14px; border: 1px solid var(--sh-line); border-radius: 10px; font: inherit; font-size: .95rem; color: var(--sh-ink); }
.entry-form input:focus { outline: 0; border-color: var(--sh-accent); box-shadow: 0 0 0 3px rgba(31,107,255,.12); }
.entry-error { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #991b1b; font-size: .84rem; }
.entry-demo { display: grid; gap: 8px; justify-items: center; text-align: center; }
.entry-demo > span { color: var(--sh-muted); font-size: .8rem; }
.entry-demo small { color: var(--sh-muted); font-size: .76rem; }
.entry-demo .btn-ghost { border-color: var(--sh-line); color: var(--sh-ink); background: #fff; }
.entry-demo .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.entry-foot { text-align: center; font-size: .86rem; color: var(--sh-ink-2); margin: 0; }
.entry-foot a { color: var(--sh-accent); font-weight: 600; }
.co-legal { margin-top: 14px; display: grid; gap: 8px; }
.co-legal .legal-note { margin: 0; color: var(--muted, #6b7690); font-size: .74rem; line-height: 1.5; }
.co-legal .legal-note b { font-weight: 600; }
.co-account-t { display: grid; gap: 2px; margin-top: 6px; }
.co-account-t small { color: var(--muted, #6b7690); font-weight: 400; }

.entry-ok { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #e8f7ee; color: #166534; font-size: .84rem; }
.entry-ok .ico { flex-shrink: 0; width: 18px; height: 18px; }
.entry-error[hidden], .entry-ok[hidden], .entry-form[hidden] { display: none; }
.entry-forgot { display: block; text-align: center; font-size: .84rem; margin-top: 4px; }
.entry-foot .btn { color: #fff; }

/* Páginas institucionais (Privacidade, Termos) */
.legal-page { padding: calc(var(--header-h, 76px) + 40px) 0 64px; }
.legal-article { max-width: 780px; }
.legal-article h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.legal-updated { color: var(--muted, #8b97b4); font-size: .85rem; margin-top: 6px; }
.legal-body { margin-top: 28px; line-height: 1.7; color: #d3dbec; }
.legal-body h2 { font-size: 1.15rem; margin: 28px 0 8px; color: #fff; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Para empresas ---------- */
.biz-page { padding: calc(var(--header-h, 76px) + 40px) 0 64px; display: grid; gap: 56px; }
.biz-hero { display: grid; gap: 18px; justify-items: start; max-width: 860px; }
.biz-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.biz-hero .lead { color: #d3dbec; font-size: 1.08rem; max-width: 640px; }
.biz-badges { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-badges li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: #cfe0ff; font-size: .82rem; font-weight: 600; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.biz-card { padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.biz-card h3 { font-size: 1.05rem; }
.biz-card p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.biz-card a { color: var(--accent-2); }
.biz-sim-card { padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.biz-sim-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.biz-range { display: grid; gap: 10px; margin-top: 22px; font-weight: 600; }
.biz-range input { width: 100%; accent-color: var(--accent); }
.biz-cycle { display: flex; gap: 18px; margin-top: 16px; }
.biz-cycle input { accent-color: var(--accent); }
.biz-out { display: grid; gap: 14px; margin: 0; }
.biz-out div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.biz-out dt { color: var(--muted); font-size: .84rem; }
.biz-out dd { margin: 0; font-size: 1.35rem; font-weight: 800; }
.biz-out .biz-hint { border: 0; color: #4ade80; font-size: .88rem; font-weight: 600; }
.biz-sim-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
@media (max-width: 760px) { .biz-sim-card { grid-template-columns: minmax(0, 1fr); } .biz-sim-cta .btn { width: 100%; } }
.api-doc pre { overflow-x: auto; padding: 14px 16px; border-radius: 12px; background: #0b1428; border: 1px solid var(--line); font-size: .82rem; line-height: 1.5; }
.api-doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-doc h2 { margin-top: 28px; }
