.lic-checkout {
    max-width: var(--app-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 10px 8px;
    box-sizing: border-box;
}
.lic-checkout__head {
    margin-bottom: 14px;
}
.lic-checkout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.lic-checkout__card {
    padding: 18px;
    background: var(--app-card);
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}
.lic-checkout__card[hidden] {
    display: none;
}
.lic-checkout__titulo {
    margin: 0 0 6px;
    font: 700 16px/1.3 Poppins, system-ui, sans-serif;
    color: #0f172a;
}
.lic-checkout__intro {
    margin: 0 0 16px;
    font: 500 13px/1.5 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__resumo-topo {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.lic-checkout__plano {
    margin: 0;
    font: 700 15px/1.3 Poppins, system-ui, sans-serif;
    color: #0f172a;
}
.lic-checkout__periodo {
    font: 600 12px/1 Poppins, system-ui, sans-serif;
    color: #64748b;
    white-space: nowrap;
}
.lic-checkout__preco {
    margin: 10px 0 0;
    font: 800 30px/1.1 Poppins, system-ui, sans-serif;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.lic-checkout__preco small {
    font: 600 14px/1 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__pix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font: 700 11px/1 Poppins, system-ui, sans-serif;
    letter-spacing: 0.03em;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}
.lic-checkout__inclui {
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #eef2f6;
    list-style: none;
}
.lic-checkout__inclui li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    padding: 4px 0;
    font: 500 13px/1.45 Poppins, system-ui, sans-serif;
    color: #334155;
}
.lic-checkout__inclui svg {
    margin-top: 2px;
    color: #22c55e;
}
.lic-checkout__legenda {
    display: block;
    margin-bottom: 6px;
    font: 600 13px/1.2 Poppins, system-ui, sans-serif;
    color: #334155;
}
.lic-checkout__campo {
    margin-bottom: 14px;
}
.lic-checkout__input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #fff;
    font: 500 14px/1.2 Poppins, system-ui, sans-serif;
    color: #0f172a;
}
.lic-checkout__input::placeholder {
    color: #94a3b8;
}
.lic-checkout__input:focus {
    outline: none;
    border-color: #0a192f;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.08);
}
.lic-checkout__input.is-invalid {
    border-color: #ef4444;
}
.lic-checkout__erro {
    display: none;
    margin-top: 5px;
    font: 500 12px/1.4 Poppins, system-ui, sans-serif;
    color: #dc2626;
}
.lic-checkout__dupla {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 14px;
}
.lic-checkout__termos {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 16px;
    font: 500 13px/1.45 Poppins, system-ui, sans-serif;
    color: #334155;
    cursor: pointer;
}
.lic-checkout__termos input {
    margin-top: 2px;
    width: 17px;
    height: 17px;
    accent-color: #0a192f;
    flex: 0 0 auto;
}
.lic-checkout__termos a {
    color: #0a3871;
    text-decoration: underline;
}
.lic-checkout__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #0a192f;
    border-radius: 12px;
    background: #0a192f;
    color: #fff;
    font: 700 14px/1 Poppins, system-ui, sans-serif;
    cursor: pointer;
}
.lic-checkout__btn:hover:not(:disabled) {
    background: #112a4a;
}
.lic-checkout__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.lic-checkout__btn--ghost {
    width: auto;
    background: #fff;
    color: #0f172a;
    border-color: #dbe3ec;
}
.lic-checkout__btn--ghost:hover:not(:disabled) {
    background: #f1f5f9;
}
.lic-checkout__btn--ok {
    width: auto;
    background: #16a34a;
    border-color: #16a34a;
}
.lic-checkout__btn--ok:hover:not(:disabled) {
    background: #15803d;
}
.lic-checkout__spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lic-checkout-spin 0.8s linear infinite;
}
.lic-checkout__btn.is-loading .lic-checkout__spinner {
    display: inline-block;
}
@keyframes lic-checkout-spin {
    to {
        transform: rotate(360deg);
    }
}
.lic-checkout__aviso {
    padding: 11px 13px;
    margin-bottom: 14px;
    border-radius: 12px;
    font: 600 13px/1.45 Poppins, system-ui, sans-serif;
}
.lic-checkout__aviso--ok {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}
.lic-checkout__aviso--erro {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
}
.lic-checkout__aviso--alerta {
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
}
.lic-checkout__area[aria-live] {
    min-height: 1px;
}
.lic-checkout__qr {
    display: block;
    max-width: 250px;
    margin: 0 auto;
}
.lic-checkout__msg--hidden {
    display: none !important;
}
.lic-checkout--pix-ativo .lic-checkout__head {
    margin-bottom: 10px;
}
.lic-checkout--pix-ativo .lic-checkout__chamada {
    max-width: 52ch;
    color: #475569;
}
.lic-checkout--pix-ativo .lic-checkout__resumo {
    border-color: #86efac;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15), 0 4px 16px rgba(15, 23, 42, 0.05);
}
.lic-checkout__card--pix-ativo {
    padding: 20px 18px 22px;
    border-color: #cbd5e1;
}
.lic-checkout__pix-painel[hidden] {
    display: none;
}
.lic-checkout__pix-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}
.lic-checkout__pix-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.lic-checkout__pix-qr-frame {
    padding: 12px;
    background: linear-gradient(145deg, #f8fafc 0%, #fff 55%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    animation: lic-checkout-pix-glow 2.5s ease-in-out infinite;
}
@keyframes lic-checkout-pix-glow {
    0%, 100% { box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08), 0 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08), 0 0 0 4px rgba(34, 197, 94, 0.12); }
}
.lic-checkout__pix-qr-inner {
    line-height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.lic-checkout__pix-qr-inner img,
.lic-checkout__pix-qr-inner canvas {
    display: block;
}
.lic-checkout__pix-qr-hint {
    margin: 12px 0 0;
    max-width: 22ch;
    font: 500 12px/1.45 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__pix-qr-hint strong {
    color: #334155;
    font-weight: 700;
}
.lic-checkout__pix-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.lic-checkout__pix-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 5px 11px;
    margin-bottom: 10px;
    border-radius: 999px;
    font: 700 10px/1 Poppins, system-ui, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a16207;
    background: #fef9c3;
    border: 1px solid #fde047;
}
.lic-checkout__pix-titulo {
    margin: 0 0 4px;
    font: 800 22px/1.2 Poppins, system-ui, sans-serif;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.lic-checkout__pix-preco {
    color: #15803d;
}
.lic-checkout__pix-sub {
    margin: 0 0 14px;
    font: 600 14px/1.4 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__pix-passos {
    margin: 0 0 18px;
    padding: 0 0 0 1.15rem;
    font: 500 13px/1.55 Poppins, system-ui, sans-serif;
    color: #475569;
}
.lic-checkout__pix-passos li {
    padding: 2px 0;
}
.lic-checkout__pix-passos li::marker {
    color: #22c55e;
    font-weight: 700;
}
.lic-checkout__btn--pix {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
}
.lic-checkout__btn--ghost {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    font-size: 14px;
    color: #0a3871;
    background: #fff;
    border: 2px solid #cbd5e1;
    box-shadow: none;
}
.lic-checkout__btn--ghost:hover:not(:disabled) {
    border-color: #0a3871;
    background: #f8fafc;
}
.lic-checkout__btn--ghost.is-loading .btn-text {
    opacity: 0.6;
}
.lic-checkout__pix-badge--ok {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}
.lic-checkout__pix-link {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 8px 4px;
    border: 0;
    background: none;
    font: 600 13px/1.4 Poppins, system-ui, sans-serif;
    color: #0a3871;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.lic-checkout__pix-link:hover {
    color: #0a192f;
}
.lic-checkout__pix-copia {
    width: 100%;
    margin-top: 10px;
}
.lic-checkout__pix-copia[hidden] {
    display: none;
}
.lic-checkout__input--copia {
    min-height: auto;
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.45;
    word-break: break-all;
    resize: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.lic-checkout__pix-nota {
    margin: 14px 0 0;
    font: 500 11px/1.55 Poppins, system-ui, sans-serif;
    color: #94a3b8;
}
@media (min-width: 640px) {
    .lic-checkout__pix-layout {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 24px 28px;
    }
    .lic-checkout__pix-qr-col {
        align-self: start;
    }
    .lic-checkout__pix-qr-hint {
        max-width: none;
    }
}
@media (min-width: 900px) {
    .lic-checkout--pix-ativo .lic-checkout__grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}
.lic-checkout__acoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
}
.lic-checkout__nota {
    margin: 14px 0 0;
    text-align: center;
    font: 500 12px/1.45 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__chamada {
    margin: 8px 0 0;
    max-width: 62ch;
    font: 500 14px/1.55 Poppins, system-ui, sans-serif;
    color: #475569;
}
.lic-checkout__chamada strong {
    color: #0f172a;
}
.lic-checkout__garantias {
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #eef2f6;
    list-style: none;
}
.lic-checkout__garantias li {
    position: relative;
    padding: 3px 0 3px 16px;
    font: 500 12px/1.5 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__garantias li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
}
.lic-checkout__troca {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    font: 500 12px/1.5 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__troca a {
    display: block;
    margin-top: 3px;
    font-weight: 700;
    color: #0a3871;
    text-decoration: underline;
}

/* ===== Vantagens e FAQ ===== */
.lic-checkout__bloco {
    margin-top: 22px;
}
.lic-checkout__bloco-titulo {
    margin: 0 0 12px;
    font: 700 18px/1.3 Poppins, system-ui, sans-serif;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.lic-checkout__vantagens {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
.lic-checkout__vantagem {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    padding: 15px 16px;
    background: var(--app-card);
    border: 1px solid #e8edf3;
    border-radius: 14px;
}
.lic-checkout__vantagem svg {
    margin-top: 2px;
    color: #0d9488;
}
.lic-checkout__vantagem h3 {
    margin: 0 0 4px;
    font: 700 14px/1.35 Poppins, system-ui, sans-serif;
    color: #0f172a;
}
.lic-checkout__vantagem p {
    margin: 0;
    font: 500 13px/1.55 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__faq {
    background: var(--app-card);
    border: 1px solid #e8edf3;
    border-radius: 14px;
    overflow: hidden;
}
.lic-checkout__faq-item + .lic-checkout__faq-item {
    border-top: 1px solid #eef2f6;
}
.lic-checkout__faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font: 600 14px/1.45 Poppins, system-ui, sans-serif;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
}
.lic-checkout__faq-item summary::-webkit-details-marker {
    display: none;
}
.lic-checkout__faq-item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.15s ease;
}
.lic-checkout__faq-item[open] summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}
.lic-checkout__faq-item summary:hover {
    background: #f8fafc;
}
.lic-checkout__faq-item summary:focus-visible {
    outline: 2px solid #0a192f;
    outline-offset: -2px;
}
.lic-checkout__faq-item p {
    margin: 0;
    padding: 0 16px 15px;
    font: 500 13px/1.6 Poppins, system-ui, sans-serif;
    color: #64748b;
}
.lic-checkout__faq-item p strong {
    color: #334155;
}
@media (min-width: 640px) {
    .lic-checkout__dupla {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lic-checkout__vantagens {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 900px) {
    .lic-checkout__grid {
        grid-template-columns: minmax(0, 1fr) 310px;
    }
    .lic-checkout__resumo {
        position: sticky;
        top: calc(var(--app-header-h) + 16px);
        order: 2;
    }
}
