.planos-page {
    background: #f8f6fb;
}

.planos-page main {
    overflow: hidden;
}

.plans-hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 82% 22%, rgba(142, 77, 255, .34), transparent 32%),
        radial-gradient(circle at 10% 90%, rgba(50, 112, 255, .16), transparent 30%),
        linear-gradient(90deg, rgba(237, 230, 255, .045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(237, 230, 255, .04) 1px, transparent 1px),
        linear-gradient(135deg, #140c1d 0%, #241133 52%, #432064 100%);
    background-size: auto, auto, 88px 88px, 88px 88px, auto;
}

.plans-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(199, 156, 255, .72), transparent);
}

.plans-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr);
    gap: clamp(48px, 7vw, 94px);
    align-items: center;
    min-height: 610px;
    padding-block: clamp(78px, 8vw, 118px);
}

.plans-hero-copy {
    max-width: 690px;
}

.plans-hero .eyebrow {
    color: #d8baff;
}

.plans-hero h1 {
    max-width: 680px;
    margin: 22px 0 24px;
    color: #fff;
    font-size: clamp(3.2rem, 5.7vw, 5.65rem);
    line-height: .96;
    letter-spacing: -.065em;
}

.plans-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    line-height: 1.72;
}

.plans-hero .hero-actions {
    margin-top: 34px;
}

.plans-hero .btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
}

.plans-hero .btn-secondary:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .12);
}

.plans-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 30px;
}

.plans-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    font-weight: 800;
}

.plans-trust-list span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b776ff;
    box-shadow: 0 0 0 5px rgba(183, 118, 255, .12);
}

.plans-path-card {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
    box-shadow: 0 28px 90px rgba(5, 1, 12, .34);
    backdrop-filter: blur(16px);
}

.plans-path-card::before {
    content: "";
    position: absolute;
    inset: 18px 18px auto auto;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(199, 156, 255, .18);
    border-radius: 50%;
    pointer-events: none;
}

.plans-path-kicker {
    display: block;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .58);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.plans-path-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plans-path-list li {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    min-height: 88px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(12, 7, 19, .25);
}

.plans-path-list li > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    color: #d7b8ff;
    background: rgba(142, 77, 255, .16);
    font-size: .76rem;
    font-weight: 900;
}

.plans-path-list strong,
.plans-path-list small {
    display: block;
}

.plans-path-list strong {
    color: #fff;
    font-size: 1rem;
}

.plans-path-list small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .6);
    font-size: .78rem;
    line-height: 1.45;
}

.plans-path-list em {
    padding: 7px 9px;
    border-radius: 999px;
    color: #1a1026;
    background: #e7d1ff;
    font-size: .65rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.plans-path-list .is-recommended {
    border-color: rgba(199, 156, 255, .48);
    background: linear-gradient(135deg, rgba(142, 77, 255, .31), rgba(106, 44, 145, .16));
}

.plans-section,
.plans-addons-section,
.plans-faq-section,
.plans-final-cta {
    padding-block: clamp(76px, 8vw, 122px);
}

.plans-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(142, 77, 255, .1), transparent 26%),
        #f8f6fb;
}

.plans-section-head {
    max-width: 780px;
    margin: 0 auto clamp(42px, 5vw, 68px);
    text-align: center;
}

.plans-section-head h2,
.plans-faq-intro h2,
.plans-final-cta h2 {
    margin: 18px 0 16px;
    color: #1a1026;
    font-size: clamp(2.25rem, 4.2vw, 4rem);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.plans-section-head p,
.plans-faq-intro p,
.plans-final-cta p {
    margin: 0;
    color: #6e6578;
    font-size: 1.03rem;
    line-height: 1.7;
}

.plans-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.plan-card-v2 {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    padding: 34px 30px 30px;
    border: 1px solid rgba(57, 36, 76, .13);
    border-radius: 24px;
    color: #2b2034;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 22px 62px rgba(38, 20, 55, .08);
}

.plan-card-prime {
    border-color: rgba(142, 77, 255, .3);
    box-shadow: 0 24px 68px rgba(86, 45, 118, .12);
}

.plan-card-enterprise {
    overflow: hidden;
    color: #fff;
    border-color: rgba(199, 156, 255, .48);
    background:
        radial-gradient(circle at 88% 10%, rgba(199, 156, 255, .25), transparent 31%),
        linear-gradient(148deg, #1a1026 0%, #32164a 64%, #512477 100%);
    box-shadow: 0 30px 82px rgba(63, 26, 91, .28);
}

.enterprise-ribbon {
    position: absolute;
    top: 26px;
    right: 24px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #251334;
    background: #e4c9ff;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.plan-stage {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #6a2c91;
    background: #f3eaff;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.plan-card-enterprise .plan-stage {
    color: #e7d1ff;
    background: rgba(199, 156, 255, .13);
}

.plan-card-v2 h3 {
    margin: 22px 0 10px;
    color: #1a1026;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.plan-card-enterprise h3 {
    color: #fff;
}

.plan-card-v2-head p {
    min-height: 76px;
    margin: 0;
    color: #746b7d;
    font-size: .94rem;
    line-height: 1.62;
}

.plan-card-enterprise .plan-card-v2-head p {
    color: rgba(255, 255, 255, .68);
}

.plan-price-row {
    display: flex;
    align-items: flex-end;
    min-height: 70px;
    margin-top: 26px;
}

.plan-price-row strong {
    color: #1a1026;
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.plan-price-row strong small {
    margin-left: 5px;
    color: #82788b;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: 0;
}

.plan-card-enterprise .plan-price-row strong {
    color: #fff;
}

.plan-card-enterprise .plan-price-row strong small {
    color: rgba(255, 255, 255, .56);
}

.plan-limit {
    margin: 9px 0 0;
    color: #6a2c91;
    font-size: .78rem;
    font-weight: 900;
}

.plan-card-enterprise .plan-limit {
    color: #d9b9ff;
}

.plan-divider {
    height: 1px;
    margin: 26px 0 24px;
    background: rgba(57, 36, 76, .12);
}

.plan-card-enterprise .plan-divider {
    background: rgba(255, 255, 255, .14);
}

.plan-includes-title {
    margin: 0 0 16px;
    color: #1a1026;
    font-size: .83rem;
    font-weight: 900;
}

.plan-card-enterprise .plan-includes-title {
    color: #fff;
}

.plan-feature-list {
    display: grid;
    gap: 13px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.plan-feature-list li {
    position: relative;
    padding-left: 25px;
    color: #5e5367;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.5;
}

.plan-feature-list li::before {
    content: "";
    position: absolute;
    top: .38em;
    left: 0;
    width: 14px;
    height: 8px;
    border-bottom: 2px solid #8e4dff;
    border-left: 2px solid #8e4dff;
    transform: rotate(-45deg);
}

.plan-card-enterprise .plan-feature-list li {
    color: rgba(255, 255, 255, .78);
}

.plan-card-enterprise .plan-feature-list li::before {
    border-color: #c79cff;
}

.plan-card-v2 .plan-cta {
    width: 100%;
    margin-top: auto;
    justify-content: center;
    color: #3f2153;
    border: 1px solid rgba(106, 44, 145, .2);
    background: #f6efff;
    box-shadow: none;
}

.plan-card-v2 .plan-cta:hover {
    color: #fff;
    border-color: #6a2c91;
    background: #6a2c91;
}

.plan-card-v2 .plan-cta-enterprise {
    color: #22122f;
    border-color: transparent;
    background: #fff;
}

.plan-card-v2 .plan-cta-enterprise:hover {
    color: #22122f;
    border-color: transparent;
    background: #e9d6ff;
}

.plans-comparison-section {
    padding-block: clamp(80px, 9vw, 132px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(237, 230, 255, .035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(237, 230, 255, .03) 1px, transparent 1px),
        #160d20;
    background-size: 90px 90px;
}

.plans-section-head-light h2 {
    color: #fff;
}

.plans-section-head-light p {
    color: rgba(255, 255, 255, .64);
}

.plan-table-shell {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 24px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .2);
}

.plan-comparison-table {
    width: 100%;
    min-width: 830px;
    border-collapse: collapse;
}

.plan-comparison-table th,
.plan-comparison-table td {
    padding: 17px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.plan-comparison-table thead th {
    color: #fff;
    background: rgba(255, 255, 255, .055);
    font-size: .94rem;
    font-weight: 900;
}

.plan-comparison-table thead th:first-child,
.plan-comparison-table tbody th {
    width: 42%;
    text-align: left;
}

.plan-comparison-table thead small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .47);
    font-size: .67rem;
    font-weight: 700;
}

.plan-comparison-table tbody th {
    color: rgba(255, 255, 255, .76);
    font-size: .83rem;
    font-weight: 700;
}

.plan-comparison-table .enterprise-col {
    background: rgba(142, 77, 255, .1);
}

.plan-comparison-table .table-group th {
    padding-block: 14px;
    color: #cda9ff;
    background: rgba(142, 77, 255, .13);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.included {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e8d6ff;
    font-size: .72rem;
    font-weight: 900;
}

.included::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a75fff;
    box-shadow: 0 0 0 4px rgba(167, 95, 255, .13);
}

.not-included {
    color: rgba(255, 255, 255, .26);
}

.comparison-footnote {
    max-width: 850px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, .56);
    font-size: .82rem;
    line-height: 1.65;
    text-align: center;
}

.plans-addons-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(142, 77, 255, .09), transparent 28%),
        #f8f6fb;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}

.addon-card {
    padding: 32px;
    border: 1px solid rgba(57, 36, 76, .13);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 58px rgba(38, 20, 55, .08);
}

.addon-card-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.addon-status {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    color: #326746;
    background: #e7f8ed;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.addon-development .addon-status {
    color: #755410;
    background: #fff4d7;
}

.addon-card-top strong {
    color: #1a1026;
    font-size: 1.15rem;
    text-align: right;
}

.addon-card-top strong small {
    display: block;
    margin-top: 3px;
    color: #817789;
    font-size: .63rem;
}

.addon-card h3 {
    margin: 28px 0 12px;
    color: #1a1026;
    font-size: 1.48rem;
    letter-spacing: -.035em;
}

.addon-card p {
    margin: 0 0 22px;
    color: #6f6577;
    font-size: .9rem;
    line-height: 1.68;
}

.addon-card a,
.addon-waiting {
    color: #6a2c91;
    font-size: .82rem;
    font-weight: 900;
}

.addon-card a:hover {
    text-decoration: underline;
}

.addon-waiting {
    color: #8a7038;
}

.plans-faq-section {
    border-top: 1px solid rgba(57, 36, 76, .08);
    background: #fff;
}

.plans-faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: clamp(46px, 7vw, 100px);
    align-items: start;
}

.plans-faq-intro {
    position: sticky;
    top: 128px;
}

.plans-faq-list {
    border-top: 1px solid rgba(57, 36, 76, .14);
}

.plans-faq-list details {
    border-bottom: 1px solid rgba(57, 36, 76, .14);
}

.plans-faq-list summary {
    position: relative;
    padding: 24px 42px 24px 0;
    color: #1a1026;
    cursor: pointer;
    font-size: .98rem;
    font-weight: 900;
    list-style: none;
}

.plans-faq-list summary::-webkit-details-marker {
    display: none;
}

.plans-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 0;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    color: #6a2c91;
    background: #f3eaff;
    font-size: 1.15rem;
}

.plans-faq-list details[open] summary::after {
    content: "−";
}

.plans-faq-list details p {
    max-width: 700px;
    margin: -5px 50px 24px 0;
    color: #706678;
    font-size: .9rem;
    line-height: 1.7;
}

.plans-final-cta {
    background:
        radial-gradient(circle at 88% 30%, rgba(199, 156, 255, .28), transparent 28%),
        linear-gradient(135deg, #1a1026, #3b1a55);
}

.plans-final-cta-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
}

.plans-final-cta h2 {
    max-width: 800px;
    color: #fff;
}

.plans-final-cta p {
    color: rgba(255, 255, 255, .62);
}

.plans-final-cta .eyebrow {
    color: #d7b6ff;
}

.plans-final-actions {
    display: grid;
    gap: 15px;
    min-width: 250px;
    text-align: center;
}

.plans-text-link {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    font-weight: 800;
}

.plans-text-link:hover {
    color: #fff;
}

/* Mantém a ação principal visível em notebooks sem comprimir a página em telas grandes. */
@media (min-width: 1041px) and (max-height: 850px) {
    .plans-hero-grid {
        min-height: 520px;
        padding-block: 52px;
    }

    .plans-hero h1 {
        margin: 18px 0 20px;
        font-size: clamp(3.2rem, 4.8vw, 4.7rem);
    }

    .plans-hero-copy > p {
        line-height: 1.55;
    }

    .plans-hero .hero-actions {
        margin-top: 26px;
    }

    .plans-trust-list {
        margin-top: 24px;
    }
}

@media (max-width: 1040px) {
    .plans-hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .plans-hero-copy {
        max-width: 780px;
    }

    .plans-path-card {
        max-width: 760px;
    }

    .plans-grid-v2 {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-inline: auto;
    }

    .plan-card-v2-head p {
        min-height: 0;
    }
}

@media (max-width: 820px) {
    .plans-hero-grid {
        padding-block: 70px;
    }

    .plans-hero h1 {
        font-size: clamp(3rem, 12vw, 4.7rem);
    }

    .plans-faq-grid,
    .plans-final-cta-shell {
        grid-template-columns: 1fr;
    }

    .plans-faq-intro {
        position: static;
    }

    .plans-final-actions {
        width: min(100%, 360px);
    }
}

@media (max-width: 700px) {
    .plans-hero-grid {
        gap: 38px;
        padding-block: 58px;
    }

    .plans-hero h1 {
        margin-top: 18px;
        letter-spacing: -.055em;
    }

    .plans-hero .hero-actions {
        display: grid;
    }

    .plans-hero .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .plans-trust-list {
        display: grid;
    }

    .plans-path-card,
    .plan-card-v2,
    .addon-card {
        padding: 26px 22px;
        border-radius: 20px;
    }

    .plans-path-list li {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 14px;
    }

    .plans-path-list li > span {
        width: 38px;
        height: 38px;
    }

    .plans-path-list em {
        grid-column: 2;
        justify-self: start;
    }

    .addons-grid {
        grid-template-columns: 1fr;
    }

    .addon-card-top {
        display: grid;
    }

    .addon-card-top strong {
        text-align: left;
    }

    .plans-section-head {
        text-align: left;
    }

    .plans-section-head h2,
    .plans-faq-intro h2,
    .plans-final-cta h2 {
        font-size: clamp(2.2rem, 11vw, 3.25rem);
    }

    .plan-table-shell {
        margin-right: -20px;
        border-radius: 18px 0 0 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .plans-page *,
    .planos-page * {
        scroll-behavior: auto !important;
    }
}
