.commercial-home {
    --commercial-navy: #14243e;
    --commercial-green: #16844f;
    --commercial-soft: #f4f7f9;
    --commercial-section-space: clamp(3rem, 4.5vw, 4.25rem);
    color: #334155;
    overflow: hidden;
}

.commercial-home h1,
.commercial-home h2,
.commercial-home h3 {
    color: var(--commercial-navy);
    letter-spacing: -.025em;
    text-wrap: balance;
}

.commercial-home h2 {
    margin: 0 0 .9rem;
    font-size: clamp(1.5rem, 2.35vw, 2.125rem);
    line-height: 1.2;
}

.commercial-home p {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.commercial-hero {
    padding: var(--commercial-section-space) 0;
    background: linear-gradient(135deg, #fff9d9 0%, #fff 55%, #eff8f3 100%);
}

.commercial-hero__grid,
.commercial-feature {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 4.5vw, 4.75rem);
    align-items: center;
}

.commercial-hero__copy,
.commercial-feature__copy {
    min-width: 0;
}

.commercial-hero__copy {
    max-width: 630px;
}

.commercial-hero__copy h1 {
    max-width: 620px;
    margin: .75rem 0 1.1rem;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.1;
}

.commercial-hero__copy > p {
    max-width: 600px;
    margin-bottom: 0;
    font-size: 1.04rem;
}

.commercial-kicker {
    display: inline-block;
    color: #11633b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.45;
    text-transform: uppercase;
}

.commercial-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.6rem;
}

.commercial-actions a {
    min-height: 48px;
}

.commercial-note {
    margin: .8rem 0 0;
    color: #64748b;
    font-size: .88rem !important;
    line-height: 1.5 !important;
}

.commercial-hero__copy > .commercial-note {
    margin-top: 1rem;
}

.commercial-media {
    min-width: 0;
    padding: .55rem;
    border: 1px solid #dce4ea;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(20, 36, 61, .12);
}

.commercial-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.commercial-media--lightbox {
    position: relative;
}

.commercial-media--lightbox::after {
    position: absolute;
    right: 1.15rem;
    bottom: 1.15rem;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    place-items: center;
    background: rgba(20, 36, 62, .86);
    color: #fff;
    content: '⌕';
    font-size: 1.35rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.commercial-media--lightbox:hover::after,
.commercial-media--lightbox:focus-within::after {
    opacity: 1;
    transform: translateY(0);
}

.commercial-media--lightbox img {
    cursor: zoom-in;
}

.commercial-media--lightbox img:focus-visible {
    outline: 3px solid #f4cd25;
    outline-offset: 4px;
}

.commercial-media--hero {
    transform: rotate(.5deg);
    box-shadow: 0 26px 65px rgba(20, 36, 61, .16);
}

.commercial-section {
    padding: var(--commercial-section-space) 0;
}

.commercial-section--soft {
    background: var(--commercial-soft);
}

.commercial-section--contracts {
    background: var(--commercial-navy);
}

.commercial-section--contracts h2,
.commercial-section--contracts p {
    color: #fff;
}

.commercial-section--contracts .commercial-kicker {
    color: #f4cd25;
}

.commercial-feature--reverse .commercial-feature__copy {
    order: 2;
}

.commercial-feature--reverse .commercial-media {
    order: 1;
}

.commercial-feature__copy > p {
    max-width: 590px;
    margin-bottom: 0;
}

.commercial-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem 1rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.commercial-checks li {
    position: relative;
    padding-left: 1.6rem;
    color: #24344b;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.45;
}

.commercial-checks li::before {
    position: absolute;
    left: 0;
    content: '✓';
    color: var(--commercial-green);
}

.commercial-disclaimer {
    margin-top: 1rem;
    padding: .75rem 1rem;
    border: 1px solid #ead78f;
    border-left: 3px solid #e6b83f;
    background: #fff4ce;
    color: #654900;
    font-size: .88rem;
    line-height: 1.55;
}

.commercial-section--premium {
    background: #fff;
}

.commercial-section--premium .commercial-domain-note {
    margin-top: .8rem;
    color: #64748b;
    font-size: .86rem;
    line-height: 1.5;
}

.commercial-section--premium .btn-secondary {
    margin-top: 1.25rem;
}

.commercial-pill {
    display: inline-flex;
    margin-bottom: .85rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: #14243d;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.commercial-text-link {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    margin-top: .9rem;
    color: #238d5a;
    font-weight: 800;
    text-decoration: none;
}

.commercial-text-link:hover {
    color: #11633b;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.commercial-text-link:focus-visible,
.commercial-home .btn-primary:focus-visible,
.commercial-home .btn-secondary:focus-visible,
.commercial-faq summary:focus-visible {
    outline: 3px solid #f4cd25;
    outline-offset: 3px;
}

.commercial-heading {
    max-width: 720px;
    margin: 0 auto 2.15rem;
    text-align: center;
}

.commercial-heading p {
    margin: .7rem 0 0;
}

.commercial-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.commercial-benefit {
    padding: 1.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 36, 61, .06);
}

.commercial-benefit > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    margin-bottom: .9rem;
    border-radius: 50%;
    place-items: center;
    background: #e6f5ed;
    color: var(--commercial-green);
    font-weight: 900;
}

.commercial-benefit h3 {
    margin: 0 0 .55rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.commercial-benefit p {
    margin: 0;
    font-size: .94rem;
    line-height: 1.55;
}

.commercial-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.commercial-plan-card {
    display: flex;
    padding: 1.8rem;
    border: 1px solid #dfe5eb;
    border-radius: 22px;
    flex-direction: column;
    background: #fff;
}

.commercial-plan-card--featured {
    border: 2px solid #e5bd18;
    box-shadow: 0 16px 42px rgba(20, 36, 61, .09);
}

.commercial-plan-card > span {
    color: #11633b;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.commercial-plan-card h3 {
    margin: .55rem 0;
    font-size: 1.55rem;
    line-height: 1.25;
}

.commercial-plan-card p {
    margin-bottom: 0;
    font-size: .96rem;
    line-height: 1.6;
}

.commercial-plan-price {
    display: flex;
    gap: .35rem;
    align-items: baseline;
    margin: .9rem 0 1rem;
    color: var(--commercial-navy);
}

.commercial-plan-price strong {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    line-height: 1.15;
}

.commercial-plan-price small {
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
}

.commercial-plan-benefits {
    display: grid;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.commercial-plan-benefits li {
    position: relative;
    padding-left: 1.5rem;
    color: #475569;
    font-size: .95rem;
    line-height: 1.5;
}

.commercial-plan-benefits li::before {
    position: absolute;
    left: 0;
    content: '✓';
    color: var(--commercial-green);
    font-weight: 900;
}

.commercial-plan-premium-note {
    margin: 1rem 0 1rem !important;
    padding: .7rem .85rem;
    border-radius: 10px;
    background: #fff4ce;
    color: #654900;
    font-size: .9rem !important;
    font-weight: 700;
    line-height: 1.5 !important;
}

.commercial-plan-difference {
    margin: .25rem 0 0 !important;
    color: #11633b;
    font-size: .95rem !important;
    font-weight: 800;
    line-height: 1.45 !important;
}

.commercial-plan-card__cta {
    display: flex;
    min-height: 46px;
    margin-top: auto;
    padding: .7rem 1rem;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
}

.commercial-plans__action {
    margin-top: 1.8rem;
    text-align: center;
}

.commercial-faq__list {
    max-width: 840px;
    margin: 0 auto;
}

.commercial-faq details {
    border-bottom: 1px solid #dce3e8;
    background: #fff;
}

.commercial-faq details:first-child {
    border-radius: 16px 16px 0 0;
}

.commercial-faq details:last-child {
    border-bottom: 0;
    border-radius: 0 0 16px 16px;
}

.commercial-faq summary {
    padding: 1.2rem 3.2rem 1.2rem 1.4rem;
    cursor: pointer;
    color: var(--commercial-navy);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
    list-style: none;
}

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

.commercial-faq summary::after {
    float: right;
    margin-right: -1.8rem;
    content: '+';
    color: var(--commercial-green);
    font-size: 1.4rem;
}

.commercial-faq details[open] summary::after {
    content: '−';
}

.commercial-faq details p {
    margin: 0;
    padding: 0 1.4rem 1.2rem;
    font-size: .96rem;
    line-height: 1.6;
}

.commercial-final {
    padding: 0;
    background: var(--commercial-navy);
}

.commercial-final__panel {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: 26px;
    background: var(--commercial-navy);
    box-shadow: 0 20px 52px rgba(20, 36, 61, .18);
}

.commercial-final h2 {
    max-width: 680px;
    margin: .65rem 0;
    color: #fff;
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    line-height: 1.18;
}

.commercial-final p {
    margin: 0;
    color: #dbe4ef;
}

.commercial-final .commercial-kicker {
    color: #f4cd25;
}

.commercial-final .btn-primary {
    flex: 0 0 auto;
}

/* Distribuição cromática exclusiva da home comercial. */
.commercial-section--costs,
.commercial-section--benefits {
    background: var(--commercial-navy);
}

.commercial-section--dashboard,
.commercial-section--faq {
    background: #f3f5f8;
}

.commercial-section--costs h2,
.commercial-section--costs .commercial-feature__copy > p:not(.commercial-disclaimer),
.commercial-section--benefits .commercial-heading h2,
.commercial-section--benefits .commercial-heading p {
    color: #f8fafc;
}

.commercial-section--costs .commercial-kicker,
.commercial-section--benefits .commercial-kicker {
    color: #f4cd25;
}

.commercial-section--costs .commercial-disclaimer {
    margin-top: 1.25rem;
}

.commercial-section--benefits .commercial-benefit h3 {
    color: var(--commercial-navy);
}

.commercial-section--benefits .commercial-benefit p {
    color: #475569;
}

.commercial-section--contracts .commercial-text-link,
.commercial-section--costs .commercial-text-link,
.commercial-section--benefits .commercial-text-link {
    color: #f4cd25;
}

.commercial-section--contracts .commercial-text-link:hover,
.commercial-section--costs .commercial-text-link:hover,
.commercial-section--benefits .commercial-text-link:hover {
    color: #fff;
}

.commercial-inline-cta {
    padding: 1.25rem 0;
    background: #fff;
}

.commercial-inline-cta__panel {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid #dce4ea;
    border-radius: 20px;
    background: #f3f5f8;
}

.commercial-inline-cta h2 {
    margin-bottom: .45rem;
    font-size: clamp(1.4rem, 2.1vw, 1.8rem);
}

.commercial-inline-cta p {
    max-width: 720px;
    margin-bottom: 0;
    font-size: .96rem;
}

.commercial-inline-cta .btn-primary {
    flex: 0 0 auto;
}

.commercial-credibility {
    background: #f3f5f8;
}

.commercial-credibility__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.commercial-credibility__card {
    display: flex;
    min-height: 120px;
    padding: 1.35rem;
    border: 1px solid #dce4ea;
    border-radius: 16px;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    color: var(--commercial-navy);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(20, 36, 62, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.commercial-credibility__card:hover {
    border-color: #16844f;
    box-shadow: 0 12px 30px rgba(20, 36, 62, .1);
    transform: translateY(-2px);
}

.commercial-credibility__card:focus-visible {
    outline: 3px solid #f4cd25;
    outline-offset: 3px;
}

.commercial-credibility__card span {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.commercial-credibility__card small {
    margin-top: 1rem;
    color: #11633b;
    font-weight: 700;
}

.footer-copy--soft {
    max-width: 560px;
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
    line-height: 1.45;
}

body.commercial-lightbox-open {
    overflow: hidden;
}

.commercial-lightbox[hidden] {
    display: none;
}

.commercial-lightbox {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: grid;
    padding: clamp(1rem, 3vw, 2rem);
    place-items: center;
    background: rgba(7, 15, 27, .88);
    backdrop-filter: blur(3px);
}

.commercial-lightbox__dialog {
    position: relative;
    width: min(1200px, 100%);
    max-height: calc(100dvh - 2rem);
}

.commercial-lightbox__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.commercial-lightbox__close {
    position: absolute;
    z-index: 1;
    top: .75rem;
    right: .75rem;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    place-items: center;
    background: rgba(20, 36, 62, .9);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 1.8rem;
    line-height: 1;
    transition: background-color .2s ease, transform .2s ease;
}

.commercial-lightbox__close:hover {
    background: #14243e;
    transform: scale(1.05);
}

.commercial-lightbox__close:focus-visible {
    outline: 3px solid #f4cd25;
    outline-offset: 3px;
}

.commercial-lightbox__figure {
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
}

.commercial-lightbox__figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 6.5rem);
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.commercial-lightbox__caption {
    max-width: min(90vw, 900px);
    margin-top: .75rem;
    color: #f8fafc;
    font-size: .92rem;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1050px) {
    .commercial-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .commercial-hero__grid,
    .commercial-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .commercial-hero__copy {
        max-width: 680px;
    }

    .commercial-hero__copy,
    .commercial-feature--reverse .commercial-feature__copy {
        order: 1;
    }

    .commercial-hero .commercial-media,
    .commercial-feature--reverse .commercial-media {
        order: 2;
    }

    .commercial-media--hero {
        transform: none;
    }

    .commercial-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .commercial-final__panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .commercial-inline-cta__panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .commercial-credibility__grid {
        grid-template-columns: 1fr;
        max-width: 680px;
    }
}

@media (max-width: 560px) {
    .commercial-home h2 {
        font-size: clamp(1.5rem, 7vw, 1.75rem);
        line-height: 1.22;
    }

    .commercial-hero {
        padding: 2.75rem 0;
    }

    .commercial-hero__copy h1 {
        font-size: clamp(1.875rem, 8.5vw, 2.125rem);
        line-height: 1.12;
    }

    .commercial-hero__copy > p {
        font-size: 1rem;
    }

    .commercial-actions,
    .commercial-actions a {
        width: 100%;
    }

    .commercial-actions a {
        justify-content: center;
        text-align: center;
    }

    .commercial-inline-cta .btn-primary {
        width: 100%;
        text-align: center;
    }

    .commercial-section {
        padding: 2.75rem 0;
    }

    .commercial-media {
        padding: .35rem;
        border-radius: 16px;
    }

    .commercial-media img {
        border-radius: 11px;
    }

    .commercial-media--lightbox::after {
        right: .75rem;
        bottom: .75rem;
        opacity: .9;
    }

    .commercial-checks,
    .commercial-benefits,
    .commercial-plan-grid {
        grid-template-columns: 1fr;
    }

    .commercial-benefit,
    .commercial-plan-card {
        padding: 1.3rem;
    }

    .commercial-faq summary {
        padding-left: 1.15rem;
    }

    .commercial-faq details p {
        padding-right: 1.15rem;
        padding-left: 1.15rem;
    }

    .commercial-final__panel {
        border-radius: 20px;
    }

    .commercial-final h2 {
        font-size: clamp(1.65rem, 7.5vw, 1.9rem);
    }

    .commercial-final .btn-primary {
        width: 100%;
        text-align: center;
    }

    .commercial-lightbox {
        padding: .75rem;
    }

    .commercial-lightbox__dialog {
        max-height: calc(100dvh - 1.5rem);
    }

    .commercial-lightbox__figure img {
        max-height: calc(100dvh - 5.75rem);
        border-radius: 10px;
    }

    .commercial-lightbox__close {
        top: .5rem;
        right: .5rem;
    }
}
