/* Estrutura da Billing preservada, com respiro lateral e paleta da página. */
.billing-reference { --billing-gutter: clamp(16px, 3vw, 48px); width: calc(100% - var(--billing-gutter) - var(--billing-gutter)); max-width: none; margin: 0 auto 96px; padding: 0; font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--price-ink); background: #fff; scroll-margin-top: 112px; }
.billing-reference *, .billing-reference *::before, .billing-reference *::after { box-sizing: border-box; border: 0 solid var(--price-line); --tw-border-opacity: 1; --tw-bg-opacity: 1; --tw-text-opacity: 1; }
.billing-reference :is(h3,p) { margin: 0; font-family: inherit; font-weight: inherit; letter-spacing: normal; text-wrap: wrap; }
.billing-reference :is(th,td) { padding: 0; }
.billing-reference svg { width: 24px; height: 24px; display: block; vertical-align: middle; }
.billing-reference a { text-decoration: none; }

.billing-reference .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0
}
.billing-reference .sticky {
    position: sticky
}
.billing-reference .left-0 {
    left: 0px
}
.billing-reference .left-3 {
    left: 0.75rem
}
.billing-reference .top-0 {
    top: 0px
}
.billing-reference .isolate {
    isolation: isolate
}
.billing-reference .z-10 {
    z-index: 10
}
.billing-reference .z-20 {
    z-index: 20
}
.billing-reference .z-30 {
    z-index: 30
}
.billing-reference .mb-3 {
    margin-bottom: 0.75rem
}
.billing-reference .mt-1 {
    margin-top: 0.25rem
}
.billing-reference .mt-2 {
    margin-top: 0.5rem
}
.billing-reference .mt-3 {
    margin-top: 0.75rem
}
.billing-reference .block {
    display: block
}
.billing-reference .inline-block {
    display: inline-block
}
.billing-reference .flex {
    display: flex
}
.billing-reference .inline-flex {
    display: inline-flex
}
.billing-reference .table {
    display: table
}
.billing-reference .h-4 {
    height: 1rem
}
.billing-reference .min-h-10 {
    min-height: 2.5rem
}
.billing-reference .min-h-11 {
    min-height: 2.75rem
}
.billing-reference .min-h-12 {
    min-height: 3rem
}
.billing-reference .w-4 {
    width: 1rem
}
.billing-reference .w-full {
    width: 100%
}
.billing-reference .min-w-0 {
    min-width: 0px
}
.billing-reference .shrink-0 {
    flex-shrink: 0
}
.billing-reference .flex-wrap {
    flex-wrap: wrap
}
.billing-reference .items-center {
    align-items: center
}
.billing-reference .items-baseline {
    align-items: baseline
}
.billing-reference .justify-center {
    justify-content: center
}
.billing-reference .gap-1\.5 {
    gap: 0.375rem
}
.billing-reference .gap-2 {
    gap: 0.5rem
}
.billing-reference .gap-x-1 {
    column-gap: 0.25rem
}
.billing-reference .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.375rem * var(--tw-space-y-reverse))
}
.billing-reference .overflow-x-auto {
    overflow-x: auto
}
.billing-reference .overscroll-x-contain {
    overscroll-behavior-x: contain
}
.billing-reference .whitespace-nowrap {
    white-space: nowrap
}
.billing-reference .break-words {
    overflow-wrap: break-word
}
.billing-reference .rounded-lg {
    border-radius: 0.5rem
}
.billing-reference .border-y {
    border-top-width: 1px;
    border-bottom-width: 1px
}
.billing-reference .border-b {
    border-bottom-width: 1px
}
.billing-reference .border-l {
    border-left-width: 1px
}
.billing-reference .border-zinc-200 {
    --tw-border-opacity: 1;
    border-color: var(--price-line)
}
.billing-reference .border-zinc-200\/70 {
    border-color: var(--price-line)
}
.billing-reference .bg-black {
    --tw-bg-opacity: 1;
    background-color: var(--price-purple)
}
.billing-reference .bg-violet-50 {
    --tw-bg-opacity: 1;
    background-color: #fdf1fa
}
.billing-reference .bg-violet-50\/40 {
    background-color: #fdf1fa
}
.billing-reference .bg-violet-700 {
    --tw-bg-opacity: 1;
    background-color: var(--price-magenta)
}
.billing-reference .bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
}
.billing-reference .bg-zinc-100 {
    --tw-bg-opacity: 1;
    background-color: var(--price-soft)
}
.billing-reference .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem
}
.billing-reference .px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}
.billing-reference .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem
}
.billing-reference .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem
}
.billing-reference .pb-2 {
    padding-bottom: 0.5rem
}
.billing-reference .pt-4 {
    padding-top: 1rem
}
.billing-reference .text-left {
    text-align: left
}
.billing-reference .text-center {
    text-align: center
}
.billing-reference .align-bottom {
    vertical-align: bottom
}
.billing-reference .text-\[10px\] {
    font-size: 10px
}
.billing-reference .text-\[11px\] {
    font-size: 11px
}
.billing-reference .text-\[clamp\(18px\2c 5vw\2c 26px\)\] {
    font-size: clamp(18px, 5vw, 26px)
}
.billing-reference .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem
}
.billing-reference .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem
}
.billing-reference .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
}
.billing-reference .text-xs {
    font-size: 0.75rem;
    line-height: 1rem
}
.billing-reference .font-bold {
    font-weight: 700
}
.billing-reference .font-medium {
    font-weight: 500
}
.billing-reference .font-normal {
    font-weight: 400
}
.billing-reference .font-semibold {
    font-weight: 600
}
.billing-reference .uppercase {
    text-transform: uppercase
}
.billing-reference .leading-4 {
    line-height: 1rem
}
.billing-reference .leading-5 {
    line-height: 1.25rem
}
.billing-reference .leading-relaxed {
    line-height: 1.625
}
.billing-reference .tracking-tight {
    letter-spacing: -0.025em
}
.billing-reference .tracking-wider {
    letter-spacing: 0.05em
}
.billing-reference .text-\[\#ffffff\] {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1))
}
.billing-reference .text-emerald-700 {
    --tw-text-opacity: 1;
    color: var(--price-purple)
}
.billing-reference .text-indigo-700 {
    --tw-text-opacity: 1;
    color: var(--price-purple)
}
.billing-reference .text-violet-700 {
    --tw-text-opacity: 1;
    color: var(--price-magenta)
}
.billing-reference .text-zinc-500 {
    --tw-text-opacity: 1;
    color: var(--price-muted)
}
.billing-reference .text-zinc-600 {
    --tw-text-opacity: 1;
    color: var(--price-muted)
}
.billing-reference .text-zinc-700 {
    --tw-text-opacity: 1;
    color: var(--price-ink)
}
.billing-reference .text-zinc-900 {
    --tw-text-opacity: 1;
    color: var(--price-ink)
}
.billing-reference .line-through {
    text-decoration-line: line-through
}
.billing-reference .transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms
}
.billing-reference .hover\:bg-violet-800:hover {
    --tw-bg-opacity: 1;
    background-color: #8c0070
}
.billing-reference .hover\:bg-zinc-800:hover {
    --tw-bg-opacity: 1;
    background-color: #510078
}
.billing-reference .focus-visible\:outline:focus-visible {
    outline-style: solid
}
.billing-reference .focus-visible\:outline-2:focus-visible {
    outline-width: 2px
}
.billing-reference .focus-visible\:outline-offset-2:focus-visible {
    outline-offset: 2px
}
.billing-reference .focus-visible\:outline-indigo-500:focus-visible {
    outline-color: var(--price-purple)
}
.billing-reference .focus-visible\:outline-violet-500:focus-visible {
    outline-color: var(--price-purple)
}
.billing-reference .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed
}
.billing-reference .disabled\:opacity-60:disabled {
    opacity: 0.6
}
.billing-reference .dark\:border-white\/10:is(.dark *) {
    border-color: rgb(255 255 255 / 0.1)
}
.billing-reference .dark\:border-white\/15:is(.dark *) {
    border-color: rgb(255 255 255 / 0.15)
}
.billing-reference .dark\:bg-violet-600:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(124 58 237 / var(--tw-bg-opacity, 1))
}
.billing-reference .dark\:bg-violet-950:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(46 16 101 / var(--tw-bg-opacity, 1))
}
.billing-reference .dark\:bg-violet-950\/20:is(.dark *) {
    background-color: rgb(46 16 101 / 0.2)
}
.billing-reference .dark\:bg-zinc-900:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(24 24 27 / var(--tw-bg-opacity, 1))
}
.billing-reference .dark\:bg-zinc-950:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(9 9 11 / var(--tw-bg-opacity, 1))
}
.billing-reference .dark\:text-emerald-300:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(110 231 183 / var(--tw-text-opacity, 1))
}
.billing-reference .dark\:text-indigo-300:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(165 180 252 / var(--tw-text-opacity, 1))
}
.billing-reference .dark\:text-violet-300:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(196 181 253 / var(--tw-text-opacity, 1))
}
.billing-reference .dark\:text-zinc-100:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(244 244 245 / var(--tw-text-opacity, 1))
}
.billing-reference .dark\:text-zinc-200:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(228 228 231 / var(--tw-text-opacity, 1))
}
.billing-reference .dark\:text-zinc-300:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(212 212 216 / var(--tw-text-opacity, 1))
}
.billing-reference .dark\:text-zinc-400:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(161 161 170 / var(--tw-text-opacity, 1))
}
.billing-reference .dark\:hover\:bg-violet-500:hover:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(139 92 246 / var(--tw-bg-opacity, 1))
}
@media (min-width: 640px) {
    .billing-reference .sm\:left-5 {
        left: 1.25rem
    }
    .billing-reference .sm\:px-4 {
        padding-left: 1rem;
        padding-right: 1rem
    }
    .billing-reference .sm\:px-5 {
        padding-left: 1.25rem;
        padding-right: 1.25rem
    }
    .billing-reference .sm\:text-\[26px\] {
        font-size: 26px
    }
    .billing-reference .sm\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem
    }
}
@media (min-width: 1280px) {
    .billing-reference .xl\:hidden {
        display: none
    }
}
.billing-reference .\[\&_tr\>\*\]\:border-b tr>* {
    border-bottom-width: 1px
}
.billing-reference .\[\&_tr\>\*\]\:border-zinc-200\/70 tr>* {
    border-color: var(--price-line)
}
.billing-reference .dark\:\[\&_tr\>\*\]\:border-white\/10 tr>*:is(.dark *) {
    border-color: rgb(255 255 255 / 0.1)
}
.billing-reference {
    --comparison-copy-size: 13px;
    --comparison-label-size: 14px;
    --comparison-heading-size: 12px;
}

/* Tipografia local: preserva as medidas do modal, das colunas e dos botões. */
.billing-reference > p,.billing-reference
.billing-reference__notes,.billing-reference
.billing-reference__table [data-header-detail],.billing-reference
.billing-reference__table th[scope='row'] > span {
    font-size: var(--comparison-copy-size);
    line-height: 1.45;
}

.billing-reference .billing-reference__table th[scope='row'] {
    font-size: var(--comparison-label-size);
    font-weight: 500;
    line-height: 1.45;
}

.billing-reference .billing-reference__table th[scope='row'] > span {
    font-weight: 400;
}

.billing-reference .billing-reference__table th[scope='colgroup'] {
    font-size: var(--comparison-heading-size);
    line-height: 1.4;
}

.billing-reference .billing-reference__headerLabel,.billing-reference
.billing-reference__table thead th > p:first-child {
    font-size: 11px;
    line-height: 1.4;
}

.billing-reference .billing-reference__headerTitle {
    font-size: 17px;
    line-height: 1.35;
}

.billing-reference .billing-reference__table h3 {
    font-size: 18px;
    line-height: 1.35;
}

.billing-reference .billing-reference__table [data-header-detail].billing-reference__headerCaption {
    font-size: 13px;
    line-height: 13.5px;
}

.billing-reference .billing-reference__table thead p[aria-label] > span:last-child {
    font-size: var(--comparison-copy-size);
}

.billing-reference .billing-reference__table {
    width: 100%;
    min-width: 1040px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

/* Contorno interno destaca o cabeçalho sem alterar a largura das colunas. */
.billing-reference .billing-reference__table thead th {
    border-radius: 16px;
    border-color: transparent;
    box-shadow: inset 0 0 0 1px var(--price-line);
}

/* O plano atual mantém uma borda visível mesmo quando o feixe animado está
   na parte oposta do card. O pseudo-elemento borderBeam acrescenta o brilho. */
.billing-reference .billing-reference__table thead th.billing-reference__currentPlanHeader {
    isolation: isolate;
    overflow: visible;
    box-shadow:
        inset 0 0 0 1px rgb(59 130 246 / 72%),
        0 0 0 1px rgb(139 92 246 / 42%),
        0 0 18px -8px rgb(59 130 246 / 70%);
}

/* Mantém o feixe sobre a cor de fundo do cabeçalho da tabela. */
.billing-reference .billing-reference__table thead th.billing-reference__currentPlanHeader::before {
    z-index: 3;
    border-radius: inherit;
    pointer-events: none;
    padding: 3px;
    background: conic-gradient(
        from var(--subscription-beam-angle) at 50% 50%,
        transparent 0%,
        transparent 62%,
        #2563eb 72%,
        #60a5fa 79%,
        #a78bfa 86%,
        transparent 94%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    --border-beam-duration: 5s;
}

.billing-reference .dark .billing-reference__table thead th.billing-reference__currentPlanHeader {
    box-shadow:
        inset 0 0 0 1px rgb(96 165 250 / 78%),
        0 0 0 1px rgb(167 139 250 / 48%),
        0 0 18px -8px rgb(96 165 250 / 72%);
}

.billing-reference .billing-reference__labelColumn {
    /* Reserva 20% a mais para os nomes dos recursos do que para cada plano. */
    width: calc(120% / (var(--comparison-plan-count, 4) + 1.2));
}

/* Tamanho uniforme para os valores dos benefícios e limites na comparação. */
.billing-reference .billing-reference__comparisonValue {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .billing-reference {
        --comparison-copy-size: 14px;
        --comparison-label-size: 16px;
        --comparison-heading-size: 14px;
    }

    .billing-reference .billing-reference__headerLabel,.billing-reference
    .billing-reference__table thead th > p:first-child {
        font-size: 12px;
    }

    .billing-reference .billing-reference__headerTitle,.billing-reference
    .billing-reference__table h3 {
        font-size: 20px;
    }

    .billing-reference .billing-reference__table [data-header-detail].billing-reference__headerCaption {
        font-size: 14px;
        line-height: 18px;
    }

    .billing-reference .billing-reference__comparisonValue {
        font-size: 18px;
    }
}

.billing-reference .billing-reference__table [data-plan-action] {
    min-height: 3rem;
    font-size: 13px;
    line-height: 13px;
}

@media (min-width: 640px) {
    .billing-reference .billing-reference__table [data-plan-action] {
        font-size: 14px;
        line-height: 18px;
    }
}

.billing-reference .billing-reference__pinnedSlot {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 0;
}

.billing-reference .billing-reference__pinnedScroller {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border-radius: 12px;
    outline: 1px solid #66009924;
    outline-offset: -1px;
    /* Uma única sombra difusa cria profundidade sem simular placas empilhadas. */
    box-shadow: 0 8px 24px -10px #6600993d;
    scrollbar-width: thin;
}

.billing-reference .dark .billing-reference__pinnedScroller {
    outline-color: rgb(255 255 255 / 16%);
    box-shadow: 0 8px 24px -10px rgb(0 0 0 / 56%);
}

.billing-reference .billing-reference__pinnedScroller:focus-visible {
    outline: 2px solid var(--price-purple);
    outline-offset: 2px;
}

.billing-reference .billing-reference__compactTable th {
    padding: 8px 12px;
    vertical-align: bottom;
    background-image: linear-gradient(155deg, rgb(255 255 255 / 12%), transparent 45%, rgb(0 0 0 / 4%));
}

.billing-reference .billing-reference__compactTable [data-header-detail] {
    display: none;
}

.billing-reference .billing-reference__compactTable h3 {
    font-size: 16px;
    line-height: 1.3;
}

.billing-reference .billing-reference__compactTable [data-plan-action] {
    margin-top: 8px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%);
}

.billing-reference .billing-reference__compactTable p[aria-label] span:first-child {
    font-size: 20px;
}

.billing-reference .billing-reference__highlightedPlan {
    background: var(--price-purple);
    color: #fff;
}

/* Mantém a leitura dos preços e benefícios sobre o roxo da página. */
.billing-reference .billing-reference__table .billing-reference__highlightedPlan p,.billing-reference
.billing-reference__table .billing-reference__highlightedPlan span,.billing-reference
.billing-reference__table .billing-reference__highlightedPlan svg {
    color: #fff;
}

.billing-reference .billing-reference__highlightedPlan button:focus-visible {
    outline-color: #fff;
}

@media (max-width: 639px) {
    .billing-reference .billing-reference__table {
        /* Um plano completo cabe ao lado dos benefícios, inclusive em telas de 320px. */
        min-width: calc(120px + (100% - 120px) * var(--comparison-plan-count, 4));
    }

    .billing-reference .billing-reference__labelColumn {
        width: 120px;
    }

}

/* Ocupa apenas a linha de texto; a tabela e os botões permanecem montados. */
.billing-reference .billing-reference__textSkeleton {
    display: inline-block;
    max-width: 100%;
    height: 0.85em;
    vertical-align: middle;
    border-radius: 0.25rem;
    background: currentColor;
    opacity: 0.16;
    animation: billingTextPulse 1.6s ease-in-out infinite;
}

@keyframes billingTextPulse {
    50% { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
    .billing-reference .billing-reference__textSkeleton { animation: none; }
}

/* Cabeçalho compacto fixo, sincronizado com o comparativo, como na Billing. */
.billing-reference .billing-reference__pinnedScroller { position: fixed; z-index: 80; background: #fff; }
.billing-reference .billing-reference__pinnedSlot { position: static; }
.billing-reference .billing-reference__scrollRegion { scrollbar-width: thin; }
.billing-reference .billing-reference__highlightedPlan [data-plan-action]:focus-visible { outline-color: #fff; }
.billing-reference .billing-reference__table .billing-reference__highlightedPlan [data-plan-action] { background: #fff; color: var(--price-purple); }
.billing-reference .billing-reference__table .billing-reference__highlightedPlan [data-plan-action]:hover { background: var(--price-soft); }
.billing-reference .billing-reference__table .billing-reference__highlightedPlan [data-plan-action] svg { color: var(--price-purple); }
.billing-reference [hidden] { display: none !important; }
.billing-reference .billing-reference__comparisonValue--detail { font-size: 14px; line-height: 1.5; }
.billing-reference .billing-reference__notes a { color: var(--price-purple); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .billing-reference { margin-bottom: 62px; scroll-margin-top: 95px; } }
@media (prefers-reduced-motion: reduce) { .billing-reference * { transition: none !important; } }
