html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

:root {
    --azul-escuro: #0b4f78;
    --azul: #087aa8;
    --azul-claro: #eaf8fc;
    --verde: #66d8a0;
    --verde-escuro: #20945f;
    --texto: #163244;
    --texto-suave: #617785;
    --branco: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--texto);
    background: radial-gradient( circle at top right, rgba(102, 216, 160, .25), transparent 34% ), linear-gradient( 160deg, #f8fcfd 0%, #e8f5f8 100% );
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: var(--azul);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.btn-comprar:focus,
.btn-gerar-pix:focus,
.btn-pix-copy:focus,
.pix-code:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(8, 122, 168, .18);
}

/* =========================================================
   PORTAL - ESCOLHA DOS PLANOS
   ========================================================= */

.portal-container {
    width: min(92%, 520px);
    margin: 0 auto;
    padding: 28px 0 38px;
}

.portal-header {
    margin-bottom: 24px;
    text-align: center;
}

.portal-logo {
    display: block;
    width: min(240px, 76vw);
    height: auto;
    margin: 0 auto 16px;
    border-radius: 14px;
}

.portal-header p {
    margin: 0;
    color: var(--texto-suave);
    font-size: 1.08rem;
    font-weight: 600;
}

.planos-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plano-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(11, 79, 120, .10);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 32px rgba(11, 79, 120, .11);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .plano-card:hover {
        transform: translateY(-2px);
        border-color: rgba(8, 122, 168, .20);
        box-shadow: 0 16px 38px rgba(11, 79, 120, .15);
    }

.plano-informacoes {
    min-width: 0;
}

.plano-card h2 {
    margin: 0 0 5px;
    color: var(--azul-escuro);
    font-size: 1.14rem;
    font-weight: 750;
    line-height: 1.25;
}

.plano-preco {
    color: var(--texto);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.15;
}

.btn-comprar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--verde-escuro), #188a59);
    color: var(--branco);
    font-size: .88rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(32, 148, 95, .20);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

    .btn-comprar:hover {
        transform: translateY(-1px);
        filter: brightness(.96);
        color: var(--branco);
        box-shadow: 0 11px 24px rgba(32, 148, 95, .26);
    }

    .btn-comprar:active {
        transform: translateY(0);
    }

.portal-alerta {
    padding: 18px;
    border: 1px solid rgba(11, 79, 120, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    color: var(--texto-suave);
    text-align: center;
    box-shadow: 0 12px 30px rgba(11, 79, 120, .10);
}

@media (max-width: 480px) {
    .portal-container {
        width: min(92%, 430px);
        padding-top: 22px;
    }

    .portal-logo {
        width: min(220px, 72vw);
        margin-bottom: 14px;
    }

    .portal-header {
        margin-bottom: 20px;
    }

    .plano-card {
        grid-template-columns: minmax(0, 1fr) 132px;
        gap: 12px;
        min-height: 102px;
        padding: 15px;
        border-radius: 18px;
    }

        .plano-card h2 {
            font-size: 1rem;
        }

    .plano-preco {
        font-size: 1.42rem;
    }

    .btn-comprar {
        min-width: 132px;
        min-height: 46px;
        padding: 10px 12px;
        font-size: .79rem;
    }
}

@media (max-width: 360px) {
    .plano-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .btn-comprar {
        width: 100%;
    }
}

/* =========================================================
   PAGAMENTO PIX
   ========================================================= */

.pix-page {
    width: 100%;
    min-height: 100vh;
    padding: 28px 0 40px;
}

.pix-container {
    width: min(92%, 560px);
    margin: 0 auto;
}

.pix-header {
    margin-bottom: 20px;
    text-align: center;
}

.pix-brand {
    position: relative;
    width: 72px;
    height: 58px;
    margin: 0 auto 14px;
}

.pix-brand-signal {
    position: absolute;
    left: 50%;
    border: 5px solid var(--azul);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50% 0 0 0;
    transform: translateX(-50%) rotate(45deg);
}

.pix-brand-signal-1 {
    top: 0;
    width: 64px;
    height: 64px;
    opacity: .36;
}

.pix-brand-signal-2 {
    top: 13px;
    width: 42px;
    height: 42px;
    opacity: .68;
}

.pix-brand-signal-3 {
    top: 26px;
    width: 20px;
    height: 20px;
}

.pix-brand-dot {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--verde-escuro);
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(32, 148, 95, .26);
}

.pix-header h1 {
    margin: 0 0 7px;
    color: var(--azul-escuro);
    font-size: clamp(1.55rem, 5vw, 2rem);
    font-weight: 800;
    line-height: 1.16;
}

.pix-header p {
    max-width: 420px;
    margin: 0 auto;
    color: var(--texto-suave);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.pix-card {
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(11, 79, 120, .10);
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 42px rgba(11, 79, 120, .13);
}

.pix-plan-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(11, 79, 120, .10);
}

.pix-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--texto-suave);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pix-plan-summary h2 {
    margin: 0;
    color: var(--azul-escuro);
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.3;
}

.pix-price {
    flex: 0 0 auto;
    color: var(--texto);
    font-size: 1.65rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.pix-notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.45;
}

.pix-notice-icon {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    margin-top: 5px;
    border: 3px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: pix-spin .9s linear infinite;
}

.pix-notice-info {
    border-color: rgba(8, 122, 168, .16);
    background: rgba(234, 248, 252, .82);
    color: var(--azul-escuro);
}

.pix-notice-success {
    border-color: rgba(32, 148, 95, .18);
    background: rgba(102, 216, 160, .16);
    color: #18744b;
}

    .pix-notice-success .pix-notice-icon {
        border: 0;
        animation: none;
    }

        .pix-notice-success .pix-notice-icon::before {
            content: "✓";
            display: block;
            font-size: 1rem;
            font-weight: 900;
            line-height: 1;
        }

.pix-notice-warning {
    border-color: rgba(180, 112, 15, .20);
    background: #fff8e8;
    color: #8a5b13;
}

    .pix-notice-warning .pix-notice-icon {
        border: 0;
        animation: none;
    }

        .pix-notice-warning .pix-notice-icon::before {
            content: "!";
            display: grid;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: rgba(138, 91, 19, .12);
            place-items: center;
            font-size: .78rem;
            font-weight: 900;
            line-height: 1;
        }

.pix-test-warning {
    margin-bottom: 18px;
    padding: 11px 13px;
    border: 1px dashed rgba(11, 79, 120, .18);
    border-radius: 12px;
    background: rgba(248, 252, 253, .92);
    color: var(--texto-suave);
    font-size: .78rem;
    line-height: 1.45;
}

    .pix-test-warning strong {
        color: var(--azul-escuro);
    }

.pix-qr-section {
    text-align: center;
}

.pix-qr-frame {
    width: min(100%, 316px);
    margin: 0 auto;
    padding: 15px;
    border: 1px solid rgba(11, 79, 120, .10);
    border-radius: 20px;
    background: var(--branco);
    box-shadow: 0 10px 30px rgba(11, 79, 120, .12), inset 0 0 0 6px rgba(234, 248, 252, .72);
}

.pix-qrcode {
    display: block;
    width: 100%;
    max-width: 286px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

.pix-qr-help {
    max-width: 390px;
    margin: 13px auto 18px;
    color: var(--texto-suave);
    font-size: .86rem;
    line-height: 1.5;
}

    .pix-qr-help strong {
        color: var(--texto);
    }

.pix-inline-warning {
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid rgba(180, 112, 15, .20);
    border-radius: 14px;
    background: #fff8e8;
    color: #8a5b13;
    font-size: .86rem;
    line-height: 1.45;
    text-align: center;
}

.pix-copy-area {
    margin-top: 4px;
}

    .pix-copy-area label {
        display: block;
        margin-bottom: 7px;
        color: var(--azul-escuro);
        font-size: .87rem;
        font-weight: 800;
    }

.pix-code {
    display: block;
    width: 100%;
    min-height: 96px;
    padding: 13px;
    resize: none;
    overflow-wrap: anywhere;
    border: 1px solid rgba(11, 79, 120, .14);
    border-radius: 13px;
    background: #f8fcfd;
    color: var(--texto-suave);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: .73rem;
    line-height: 1.45;
}

.pix-code-help {
    display: block;
    margin: 7px 0 12px;
    color: var(--texto-suave);
    font-size: .74rem;
}

.btn-pix-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--verde-escuro), #188a59);
    color: var(--branco);
    font-size: .86rem;
    font-weight: 850;
    letter-spacing: .02em;
    box-shadow: 0 9px 22px rgba(32, 148, 95, .23);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease;
}

    .btn-pix-copy:hover {
        transform: translateY(-1px);
        filter: brightness(.97);
        box-shadow: 0 12px 26px rgba(32, 148, 95, .28);
    }

    .btn-pix-copy:active {
        transform: translateY(0);
    }

.btn-pix-copy-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.btn-pix-copy-success {
    background: linear-gradient(135deg, var(--azul), var(--azul-escuro));
    box-shadow: 0 9px 22px rgba(8, 122, 168, .24);
}

.pix-payment-status {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(11, 79, 120, .10);
    border-radius: 16px;
    background: rgba(234, 248, 252, .50);
}

.pix-status-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(11, 79, 120, .09);
}

.pix-status-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--texto-suave);
    font-size: .79rem;
    font-weight: 750;
}

.pix-status-row strong {
    max-width: 58%;
    color: var(--azul-escuro);
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.35;
    text-align: right;
}

.pix-status-indicator {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 1px;
    border-radius: 50%;
}

.pix-status-waiting {
    background: var(--azul);
    box-shadow: 0 0 0 0 rgba(8, 122, 168, .35);
    animation: pix-pulse 1.6s ease-out infinite;
}

.pix-status-processing {
    border: 2px solid var(--azul);
    border-top-color: transparent;
    background: transparent;
    animation: pix-spin .85s linear infinite;
}

.pix-status-success {
    background: var(--verde-escuro);
    box-shadow: 0 0 0 4px rgba(32, 148, 95, .14);
}

.pix-status-warning {
    background: #b4700f;
    box-shadow: 0 0 0 4px rgba(180, 112, 15, .13);
}

.pix-expiration {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 13px;
}

.pix-expiration-label {
    display: block;
    margin-bottom: 2px;
    color: var(--texto-suave);
    font-size: .73rem;
    font-weight: 750;
}

.pix-expiration strong {
    display: block;
    color: var(--azul-escuro);
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: .03em;
    line-height: 1.1;
}

.pix-expiration-date {
    color: var(--texto-suave);
    font-size: .71rem;
    line-height: 1.35;
    text-align: right;
}

.pix-error {
    margin-top: 15px;
    padding: 13px 14px;
    border: 1px solid rgba(185, 28, 28, .17);
    border-radius: 14px;
    background: #fff1f1;
    color: #9b2020;
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.45;
}

.pix-footer-note {
    margin: 16px 0 0;
    color: var(--texto-suave);
    font-size: .76rem;
    line-height: 1.5;
    text-align: center;
}

@keyframes pix-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pix-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 122, 168, .34);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(8, 122, 168, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(8, 122, 168, 0);
    }
}

@media (max-width: 480px) {
    .pix-page {
        padding: 20px 0 30px;
    }

    .pix-container {
        width: min(94%, 430px);
    }

    .pix-header {
        margin-bottom: 16px;
    }

    .pix-brand {
        transform: scale(.88);
        margin-bottom: 8px;
    }

    .pix-header h1 {
        font-size: 1.52rem;
    }

    .pix-header p {
        padding: 0 12px;
        font-size: .91rem;
    }

    .pix-card {
        padding: 17px;
        border-radius: 20px;
    }

    .pix-plan-summary {
        gap: 12px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

        .pix-plan-summary h2 {
            font-size: 1rem;
        }

    .pix-price {
        font-size: 1.42rem;
    }

    .pix-notice {
        padding: 12px;
        font-size: .81rem;
    }

    .pix-test-warning {
        font-size: .72rem;
    }

    .pix-qr-frame {
        width: min(100%, 292px);
        padding: 13px;
        border-radius: 18px;
    }

    .pix-code {
        min-height: 88px;
        font-size: .68rem;
    }

    .pix-status-row {
        gap: 10px;
    }

        .pix-status-row strong {
            max-width: 55%;
            font-size: .76rem;
        }

    .pix-expiration strong {
        font-size: 1.28rem;
    }

    .pix-expiration-date {
        max-width: 118px;
        font-size: .66rem;
    }
}

@media (max-width: 360px) {
    .pix-plan-summary,
    .pix-status-row,
    .pix-expiration {
        align-items: flex-start;
        flex-direction: column;
    }

    .pix-price {
        font-size: 1.38rem;
    }

    .pix-status-row strong {
        max-width: 100%;
        text-align: left;
    }

    .pix-expiration-date {
        max-width: none;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pix-notice-icon,
    .pix-status-indicator {
        animation: none;
    }

    .btn-pix-copy,
    .plano-card,
    .btn-comprar {
        transition: none;
    }
}

/* =========================================================
   TELA DE CADASTRO / CONFIRMAÇÃO DA COMPRA
   ========================================================= */

.checkout-page {
    width: 100%;
    min-height: 100vh;
    padding: 14px 0 22px;
}

.checkout-container {
    width: min(94%, 560px);
    margin: 0 auto;
}

.checkout-header {
    margin-bottom: 10px;
    text-align: center;
}

    .checkout-header h1 {
        margin: 0 0 3px;
        color: var(--azul-escuro);
        font-size: clamp(1.55rem, 5vw, 1.95rem);
        font-weight: 850;
        line-height: 1.12;
    }

    .checkout-header p {
        margin: 0;
        color: var(--texto-suave);
        font-size: .92rem;
        font-weight: 650;
        line-height: 1.3;
    }

.checkout-card {
    padding: 15px;
    border: 1px solid rgba(11, 79, 120, .10);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 42px rgba(11, 79, 120, .13);
}

.checkout-plan {
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(11, 79, 120, .10);
    text-align: center;
}

    .checkout-plan h2 {
        margin: 0 0 2px;
        color: var(--azul-escuro);
        font-size: 1.18rem;
        font-weight: 850;
        line-height: 1.2;
    }

.checkout-price {
    margin-bottom: 9px;
    color: var(--verde-escuro);
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.05;
}

.checkout-plan-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(8, 122, 168, .10);
    border-radius: 14px;
    background: linear-gradient( 135deg, rgba(234, 248, 252, .88), rgba(102, 216, 160, .09));
}

.checkout-detail-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 5px;
    row-gap: 1px;
    min-width: 0;
    padding: 8px 7px;
}

    .checkout-detail-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 18%;
        right: 0;
        width: 1px;
        height: 64%;
        background: rgba(11, 79, 120, .12);
    }

.checkout-detail-icon {
    grid-row: 1 / span 2;
    color: var(--verde-escuro);
    font-size: 1.18rem;
    font-weight: 900;
}

.checkout-detail-label {
    color: var(--texto-suave);
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.05;
}

.checkout-detail-item strong {
    color: var(--texto);
    font-size: .85rem;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}

.checkout-form {
    padding-top: 10px;
}

.checkout-section-title {
    margin-bottom: 6px;
    color: var(--verde-escuro);
    font-size: .79rem;
    font-weight: 850;
    letter-spacing: .01em;
}

.checkout-device-title {
    margin-top: 8px;
}

.checkout-field {
    margin-bottom: 7px;
}

    .checkout-field label {
        display: block;
        margin-bottom: 3px;
        color: var(--azul-escuro);
        font-size: .78rem;
        font-weight: 800;
    }

.checkout-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(11, 79, 120, .16);
    border-radius: 11px;
    background: #fbfdfe;
    color: var(--texto);
    font-size: .88rem;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

    .checkout-input::placeholder {
        color: #82949f;
    }

    .checkout-input:focus {
        outline: none;
        border-color: rgba(8, 122, 168, .50);
        background: var(--branco);
        box-shadow: 0 0 0 4px rgba(8, 122, 168, .12);
    }

.checkout-field-error,
.checkout-validation-summary {
    color: #a92222;
    font-size: .70rem;
    font-weight: 650;
    line-height: 1.25;
}

    .checkout-field-error:empty,
    .checkout-validation-summary:empty {
        display: none;
    }

.checkout-validation-summary {
    margin-bottom: 8px;
    padding: 9px 11px;
    border: 1px solid rgba(169, 34, 34, .14);
    border-radius: 11px;
    background: #fff3f3;
}

    .checkout-validation-summary ul {
        margin: 0;
        padding-left: 18px;
    }

.checkout-alert {
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: .80rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.checkout-alert-error {
    border: 1px solid rgba(169, 34, 34, .16);
    background: #fff1f1;
    color: #9b2020;
}

.checkout-device-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.checkout-device-item {
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(11, 79, 120, .10);
    border-radius: 11px;
    background: rgba(234, 248, 252, .44);
}

    .checkout-device-item span {
        display: block;
        margin-bottom: 2px;
        color: var(--texto-suave);
        font-size: .66rem;
        font-weight: 750;
    }

    .checkout-device-item strong {
        display: block;
        overflow: hidden;
        color: var(--azul-escuro);
        font-size: .78rem;
        font-weight: 850;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 9px;
    padding: 10px 14px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--verde-escuro), #188a59);
    color: var(--branco);
    font-size: .88rem;
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 9px 22px rgba(32, 148, 95, .23);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

    .checkout-submit:hover {
        transform: translateY(-1px);
        filter: brightness(.97);
        box-shadow: 0 12px 26px rgba(32, 148, 95, .28);
    }

    .checkout-submit:active {
        transform: translateY(0);
    }

.checkout-submit-icon {
    font-size: .92rem;
}

.checkout-back {
    display: block;
    margin-top: 6px;
    color: var(--texto-suave);
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

    .checkout-back:hover {
        color: var(--azul);
    }

.checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px 8px;
    flex-wrap: wrap;
    margin-top: 7px;
    color: var(--texto-suave);
    font-size: .68rem;
    line-height: 1.25;
    text-align: center;
}

    .checkout-security strong {
        color: var(--verde-escuro);
        font-size: .72rem;
    }

    .checkout-security span {
        display: inline;
    }

@media (max-width: 480px) {
    .checkout-page {
        padding: 7px 0 12px;
    }

    .checkout-container {
        width: min(96%, 430px);
    }

    .checkout-header {
        margin-bottom: 6px;
    }

        .checkout-header h1 {
            font-size: 1.50rem;
        }

        .checkout-header p {
            font-size: .82rem;
        }

    .checkout-card {
        padding: 11px;
        border-radius: 18px;
    }

    .checkout-plan {
        padding-bottom: 8px;
    }

        .checkout-plan h2 {
            font-size: 1.06rem;
        }

    .checkout-price {
        margin-bottom: 7px;
        font-size: 1.92rem;
    }

    .checkout-detail-item {
        padding: 7px 5px;
        column-gap: 4px;
    }

    .checkout-detail-icon {
        font-size: 1rem;
    }

    .checkout-detail-label {
        font-size: .61rem;
    }

    .checkout-detail-item strong {
        font-size: .75rem;
    }

    .checkout-form {
        padding-top: 8px;
    }

    .checkout-section-title {
        margin-bottom: 4px;
        font-size: .74rem;
    }

    .checkout-field {
        margin-bottom: 5px;
    }

        .checkout-field label {
            margin-bottom: 2px;
            font-size: .73rem;
        }

    .checkout-input {
        height: 39px;
        padding: 8px 10px;
        font-size: .83rem;
    }

    .checkout-device-title {
        margin-top: 6px;
    }

    .checkout-device-grid {
        gap: 5px;
    }

    .checkout-device-item {
        padding: 7px 8px;
    }

        .checkout-device-item span {
            font-size: .60rem;
        }

        .checkout-device-item strong {
            font-size: .70rem;
        }

    .checkout-submit {
        min-height: 41px;
        margin-top: 7px;
        padding: 9px 11px;
        font-size: .80rem;
    }

    .checkout-back {
        margin-top: 4px;
        font-size: .67rem;
    }

    .checkout-security {
        margin-top: 5px;
        font-size: .62rem;
    }

        .checkout-security strong {
            font-size: .66rem;
        }
}

@media (max-width: 360px) {
    .checkout-header p,
    .checkout-security span,
    .checkout-back {
        display: none;
    }

    .checkout-page {
        padding-top: 4px;
    }

    .checkout-card {
        padding: 9px;
    }

    .checkout-detail-icon {
        display: none;
    }

    .checkout-detail-item {
        display: block;
        padding: 6px 4px;
        text-align: center;
    }

    .checkout-detail-label {
        display: block;
        margin-bottom: 2px;
    }

    .checkout-device-grid {
        grid-template-columns: 1fr;
    }

    .checkout-device-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

        .checkout-device-item span {
            margin: 0;
        }
}

@media (max-height: 700px) and (max-width: 480px) {
    .checkout-header p,
    .checkout-security,
    .checkout-back {
        display: none;
    }

    .checkout-header {
        margin-bottom: 4px;
    }

        .checkout-header h1 {
            font-size: 1.34rem;
        }

    .checkout-card {
        padding: 9px 10px;
    }

    .checkout-plan h2 {
        font-size: .98rem;
    }

    .checkout-price {
        font-size: 1.68rem;
    }

    .checkout-detail-item {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .checkout-input {
        height: 36px;
    }

    .checkout-submit {
        min-height: 38px;
        margin-top: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-input,
    .checkout-submit {
        transition: none;
    }
}

/* =========================================================
   DEMAIS TELAS EXISTENTES
   ========================================================= */

.icone-sucesso {
    margin-bottom: 15px;
    font-size: 4rem;
}

.credenciais-hotspot {
    margin-top: 25px;
    padding: 22px;
    border: 1px solid #d9e2dc;
    border-radius: 14px;
    background: #f8fff9;
}

    .credenciais-hotspot h2 {
        margin-bottom: 18px;
    }

.credencial-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 10px;
    background: #ffffff;
    text-align: left;
}

    .credencial-item span {
        color: #5f6368;
        font-weight: 600;
    }

    .credencial-item strong {
        font-size: 1.1rem;
        word-break: break-all;
    }

.btn-copiar-credenciais {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #198754;
    color: #ffffff;
    font-weight: 800;
}

    .btn-copiar-credenciais:hover {
        background: #146c43;
    }

.dados-acesso {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e6ea;
}

    .dados-acesso p {
        margin-bottom: 8px;
    }

.aviso-credenciais {
    margin-top: 20px;
    color: #5f6368;
    font-size: .92rem;
}
