:root {
    --ink: #2c3e50;
    --muted: #536477;
    --paper: #ffffff;
    --cream: #f7f7f8;
    --soft: #fff8e5;
    --gold: #806000;
    --gold-dark: #684d00;
    --line: #ead9a3;
    --green: #287247;
    --danger: #9b2c2c;
    --shadow: 0 22px 60px rgba(44, 62, 80, .12);
}

.site-header {
    background: rgba(255, 255, 255, .96);
}

.hero-product,
.ai-section {
    background: #2c3e50;
}

.final-cta {
    background: linear-gradient(135deg, #9c7300, #c99712);
}

.button,
button {
    box-shadow: 0 7px 18px rgba(156, 115, 0, .18);
}

.tab-panel,
.feature-grid article,
.audience-grid article,
.price-card,
.trust-card,
.migration,
.demo-call {
    border-color: #ead9a3;
}

/* Mantém todas as áreas do produto visíveis sem cortar as extremidades. */
.tabs {
    min-width: 0;
}

.tabs [role="tablist"] {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    row-gap: 10px;
}

.tab-panel,
.tab-panel > * {
    min-width: 0;
}

.tab-panel {
    align-items: stretch;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 16px;
    padding: 0;
}

.tab-panel-copy,
.tab-panel-media {
    background: #ffffff;
    border: 1px solid #ead9a3;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(44, 62, 80, .08);
}

.tab-panel-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.tab-panel-copy p {
    color: var(--muted);
}

.tab-panel-media {
    margin: 0;
    padding: 10px;
}

.tab-panel img {
    border: 1px solid rgba(212, 160, 23, .48);
    border-radius: 12px;
    width: 100%;
}

.consent {
    left: auto;
    right: 22px;
    max-width: 640px;
    padding: 16px 18px;
    background: #ffffff;
    color: #2c3e50;
    border: 1px solid #d4a017;
    box-shadow: 0 20px 55px rgba(44, 62, 80, .2);
}

.consent p {
    color: #2c3e50;
    line-height: 1.55;
}

.consent p strong {
    color: #684d00;
}

.consent p a {
    color: #684d00;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent .button.ghost {
    background: #ffffff;
    color: #2c3e50;
    border-color: #d4a017;
    box-shadow: none;
}

.consent .button.ghost:hover {
    background: #fff8e5;
    color: #2c3e50;
}

.consent .button:not(.ghost) {
    background: #806000;
    color: #ffffff;
}

.consent .button:not(.ghost):hover {
    background: #684d00;
}

/* Pricing: product-first comparison with compact spacing and clear limits. */
.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;
}

.pricing-page {
    overflow: hidden;
}

.pricing-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 24px 54px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 64px;
    align-items: center;
}

.pricing-hero h1 {
    max-width: 760px;
    font-size: clamp(46px, 6vw, 72px);
    margin-bottom: 22px;
}

.pricing-hero .lead {
    max-width: 760px;
}

.pricing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pricing-promise {
    position: relative;
    color: #fff;
    background: linear-gradient(145deg, #26394c, #344f68);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 26px 70px rgba(44, 62, 80, .22);
}

.pricing-promise::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    pointer-events: none;
}

.pricing-promise > span {
    display: inline-flex;
    color: #513900;
    background: #f4d985;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pricing-promise h2 {
    font-size: 31px;
    margin: 22px 0 16px;
}

.pricing-promise .check-list li {
    border-color: rgba(255, 255, 255, .12);
}

.pricing-promise .check-list li::before {
    color: #f4d985;
}

.pricing-section-detailed {
    max-width: none;
    padding: 74px max(24px, calc((100vw - var(--max)) / 2));
    background: #fff;
    border-top: 1px solid #edf0f3;
    border-bottom: 1px solid #edf0f3;
}

.pricing-section-detailed h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid-five {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 36px auto 0;
}

.pricing-grid-five .price-card {
    grid-column: span 2;
    min-width: 0;
    min-height: 100%;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
}

.pricing-grid-five .price-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.pricing-grid-five .price-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.pricing-grid-five .price-card .button {
    margin-top: auto;
}

.plan-card-heading {
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.plan-card-heading h3 {
    font-size: 28px;
}

.plan-kicker {
    margin: 0 0 7px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.plan-tagline {
    min-height: 52px;
    margin: 7px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.plan-price-line {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.plan-price-line .price {
    margin-top: 0;
}

.annual-note {
    margin: 1px 0 20px;
    color: var(--muted);
    font-size: 12px;
}

.plan-limits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.plan-limits li {
    min-width: 0;
    padding: 12px 8px;
    text-align: center;
    background: #f7f7f8;
    border: 1px solid #e8ebee;
    border-radius: 12px;
}

.plan-limits strong,
.plan-limits span {
    display: block;
}

.plan-limits strong {
    font-size: 17px;
    line-height: 1.2;
}

.plan-limits span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.2;
}

.included-note {
    margin: 18px 0 0;
    padding-bottom: 22px;
    color: #285d43;
    font-size: 13px;
    font-weight: 800;
}

.included-note span {
    margin-right: 4px;
}

.pricing-details-link {
    display: inline-flex;
    margin-top: 30px;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 42px;
}

.feature-catalog {
    padding-top: 108px;
}

.feature-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-category {
    background: #fff;
    border: 1px solid #e4d39f;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 12px 32px rgba(44, 62, 80, .05);
}

.feature-category-heading {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding-bottom: 20px;
    border-bottom: 1px solid #ece5d0;
}

.feature-category-heading > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2c3e50;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
}

.feature-category-heading h3 {
    font-size: 23px;
}

.feature-category-heading p,
.feature-category li p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.feature-category ul {
    display: grid;
    gap: 18px;
    padding: 22px 0 0;
    margin: 0;
    list-style: none;
}

.feature-category li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 9px;
}

.feature-category li > span {
    color: var(--green);
    font-weight: 900;
}

.feature-category li strong {
    display: block;
    margin-bottom: 3px;
}

.plan-comparison-section {
    padding-top: 46px;
}

.comparison-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 42px;
    align-items: end;
    margin-bottom: 32px;
}

.comparison-heading p:last-child {
    color: var(--muted);
    font-size: 17px;
}

.comparison-shell {
    border: 1px solid #ded6bf;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(44, 62, 80, .08);
}

.detailed-comparison {
    min-width: 820px;
}

.detailed-comparison thead th {
    color: #fff;
    background: #2c3e50;
    border-color: rgba(255, 255, 255, .14);
}

.detailed-comparison thead th:first-child {
    border-top-left-radius: 19px;
}

.detailed-comparison thead th:last-child {
    border-top-right-radius: 19px;
}

.detailed-comparison thead span,
.detailed-comparison thead small {
    display: block;
}

.detailed-comparison thead span {
    font-size: 18px;
}

.detailed-comparison thead small {
    margin-top: 4px;
    color: #dbe3ea;
    font-weight: 500;
}

.detailed-comparison th,
.detailed-comparison td {
    min-width: 175px;
    padding: 14px 18px;
}

.detailed-comparison tbody th {
    width: 40%;
}

.detailed-comparison tbody td {
    text-align: center;
}

.detailed-comparison .comparison-group th {
    color: #765700;
    background: #fff8e5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.included-check {
    display: inline-grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
    font-weight: 900;
}

.included-label {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 750;
}

.pricing-disclosures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.pricing-disclosures p {
    margin: 0;
    padding: 16px 18px;
    color: var(--muted);
    background: #eef1f4;
    border-radius: 12px;
    font-size: 13px;
}

.plan-help {
    max-width: calc(var(--max) - 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 20px;
    padding: 54px;
    color: #fff;
    background: linear-gradient(135deg, #293d50, #385875);
    border-radius: 28px;
}

.plan-help h2 {
    max-width: 700px;
}

.plan-help p:not(.eyebrow) {
    max-width: 720px;
    color: #dbe3ea;
}

.plan-help .eyebrow {
    color: #f4d985;
}

.plan-help-actions {
    min-width: 230px;
    display: grid;
    gap: 16px;
    text-align: center;
}

.plan-help .text-link {
    color: #fff;
}

@media (max-width: 900px) {
    .pricing-grid-five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }

    .pricing-grid-five .price-card,
    .pricing-grid-five .price-card:nth-child(4),
    .pricing-grid-five .price-card:nth-child(5) {
        grid-column: auto;
    }

    .tabs [role="tablist"] {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .tabs [role="tab"] {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .consent {
        left: 16px;
        right: 16px;
        max-width: none;
    }

    .pricing-hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .feature-category-grid {
        grid-template-columns: 1fr;
    }

    .comparison-heading {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .plan-help {
        margin-left: 16px;
        margin-right: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-help-actions {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .pricing-grid-five {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pricing-hero {
        padding: 52px 18px 36px;
    }

    .pricing-hero h1 {
        font-size: 43px;
    }

    .pricing-hero-actions,
    .pricing-hero-actions .button {
        width: 100%;
    }

    .pricing-promise {
        padding: 28px 24px;
    }

    .pricing-section-detailed {
        padding: 60px 18px;
    }

    .plan-limits {
        grid-template-columns: 1fr;
    }

    .plan-limits li {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 14px;
        text-align: left;
    }

    .plan-limits span {
        margin-top: 0;
        text-align: right;
    }

    .feature-catalog {
        padding-top: 76px;
    }

    .feature-category {
        padding: 24px 20px;
    }

    .pricing-disclosures {
        grid-template-columns: 1fr;
    }

    .plan-help {
        padding: 38px 24px;
    }
}
