/* Signup scope */
.sm-signup {
    padding: 60px 0;
}

.sm-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 1px solid rgba(31, 46, 64, .10);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.sm-card-header {
    background: #2A3F54;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sm-logo {
    height: 44px;
    width: auto;
    display: block;
}

.sm-dots {
    display: flex;
    gap: 8px;
}

.sm-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(238, 243, 248, .35);
}

.sm-dot.active {
    background: #EEF3F8;
}

.sm-card-body {
    padding: 22px;
    background: #EEF3F8;
}

.sm-title {
    font-size: 28px;
    line-height: 1.15;
    margin: 0 0 10px;
    color: #1F2E40;
    font-weight: 800;
}

.sm-sub {
    margin: 0 0 18px;
    color: rgba(31, 46, 64, .78);
}

.sm-choices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    margin: 10px 0 18px;
}

.sm-choice {
    background: #fff;
    border: 1px solid rgba(31, 46, 64, .10);
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 18px 20px;
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;

    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    cursor: pointer;
}

.sm-choice:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
    border-color: rgba(31, 46, 64, .18);
}

.sm-choice-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sm-choice .go {
    justify-self: end;
    align-self: center;
    margin-left: 8px;
    opacity: .55;
    transition: opacity .15s ease;
}

.sm-ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(42, 63, 84, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2A3F54;
}

.sm-choice .t {
    font-weight: 850;
    color: #1F2E40;
}

.sm-choice .d {
    color: rgba(31, 46, 64, .70);
    font-size: 13px;
}

.sm-form {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(31, 46, 64, .10);
    animation: smFadeUp .22s ease both;
}

@keyframes smFadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 12px;
}

.sm-btn {
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 850;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.sm-btn-primary {
    background: #2A3F54;
    color: #EEF3F8;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}

.sm-btn-success {
    background: #29A59A;
    color: #EEF3F8;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}

.sm-btn-ghost {
    background: transparent;
    color: rgba(31, 46, 64, .85);
    border: 1px solid rgba(31, 46, 64, .18);
}

.sm-help {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
}

.sm-help a {
    color: rgba(31, 46, 64, .72);
    text-decoration: none;
}

.sm-help a:hover {
    text-decoration: underline;
    color: #2A3F54;
}

.sm-otp {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.sm-otp input {
    width: 48px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(31, 46, 64, .16);
    background: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    outline: none;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.sm-otp input:focus {
    border-color: rgba(42, 63, 84, .45);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

.sm-debug {
    font-size: 12px;
    color: rgba(31, 46, 64, .70);
    margin-top: 8px;
}

/* garante que o signup não “puxe” header/menu pra dentro */
.sm-signup {
    padding: 90px 0 60px;
    position: relative;
    z-index: 1;
}

header,
#header,
.header,
.transparent {
    position: relative;
    z-index: 9999;
    /* header sempre acima */
}

/* card fica abaixo do header e não “engole” o menu */
.sm-card {
    position: relative;
    z-index: 1;
}

.sm-btn i.material-icons {
    font-size: 18px;
    line-height: 0;
}

.sm-btn-ghost {
    display: inline-flex;
    text-decoration: none;
    /* tira sublinhado do <a> */
}

.sm-choices-grid {
    gap: 18px;
}

.sm-choice-select.selected {
    border-color: rgba(42, 63, 84, .45);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

.sm-choice:hover .go,
.sm-choice.selected .go {
    opacity: .9;
}

.sm-choice-select.selected .sm-ic {
    background: rgba(42, 63, 84, .14);
    color: #2A3F54;
}

.sm-choice .tx {
    min-width: 0;
    /* MUITO importante para grid */
    overflow: hidden;
}

.sm-choice .t {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-choice .d {
    font-size: 13px;
    opacity: .75;
}

.sm-choice-select {
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.sm-choice-select.selected {
    border-color: rgba(42, 63, 84, .55);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}


.sm-subtitle {
    margin-top: 8px;
    opacity: .85;
}

.sm-field {
    margin-top: 14px;
}

.sm-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.sm-input,
.sm-select,
.sm-textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .10);
    padding: 12px 14px;
    outline: none;
}

.sm-textarea {
    resize: vertical;
}

.sm-error {
    margin-top: 8px;
    color: #b42318;
    font-size: 13px;
}

.sm-divider {
    height: 1px;
    background: rgba(0, 0, 0, .08);
    margin: 18px 0;
}

.sm-radio-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.sm-radio {
    display: flex;
    gap: 10px;
    align-items: center;
}



.sm-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.sm-plan-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 18px;
    padding: 24px;
    background: #EEF3F8;
    cursor: pointer;
    transition: all .25s ease;
    text-align: left;
}

.sm-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.sm-plan-card.selected {
    border-color: #2a3f54;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.sm-plan-card.recommended {
    border-color: #29A59A;
}

.sm-plan-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: #29A59A;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 700;
}

.sm-plan-price {
    font-size: 26px;
    font-weight: 800;
    margin: 12px 0;
}

.sm-plan-price span {
    font-size: 14px;
    font-weight: 500;
}

.sm-plan-features {
    margin-top: 16px;
    padding-left: 0;
    list-style: none;
}

.sm-plan-features li {
    margin-bottom: 8px;
    font-size: 14px;
}

.sm-plan-features i {
    color: #29A59A;
    margin-right: 8px;
}

.sm-success-icon {
    font-size: 64px;
    color: #29A59A;
    margin-bottom: 18px;
}

.sm-info-box {
    background: rgba(42, 63, 84, .05);
    border-radius: 16px;
    padding: 18px;
    margin: 22px 0;
    text-align: left;
}

.sm-info-box ul {
    padding-left: 18px;
    margin-top: 10px;
}

.sm-info-box li {
    margin-bottom: 6px;
}

.sm-next-steps {
    margin-top: 26px;
}

.sm-footer-note {
    margin-top: 30px;
    font-size: 13px;
    opacity: .8;
}

/* garante que o card seja a referência do overlay */
.sm-card {
    position: relative;
}

/* overlay ocupa o card inteiro e centraliza TUDO */
.sm-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 50;
    background: rgba(238, 243, 248, .92);
    /* EEF3F8 com transparência */
    border-radius: 18px;
    /* igual seu card */
}

/* container interno do loading */
.sm-loading-box {
    display: grid;
    place-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 24px;
}

/* spinner */
.spinner {
    width: 46px;
    height: 46px;
    border: 4px solid rgba(31, 46, 64, .15);
    border-top-color: rgba(31, 46, 64, .85);
    border-radius: 50%;
    animation: spin .9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   BOTÃO CTA (não herda btn-main)
================================ */

.sm-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    color: #fff !important;
}

/* WhatsApp */
.sm-btn-whatsapp {
    background: #29A59A;
    box-shadow: 0 14px 40px rgba(41, 165, 154, .35);
}

.sm-btn-whatsapp:hover {
    background: #1f8f86;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Botão outline */
.sm-btn-outline {
    background: transparent;
    border: 2px solid #2A3F54;
    color: #2A3F54 !important;
}

.sm-btn-outline:hover {
    background: #2A3F54;
    color: #fff !important;
}

/* ================================
   GRID DE PLATAFORMAS
================================ */

.sm-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;            /* ← aumente aqui (antes estava 14px) */
    margin-top: 18px;     /* ← dá mais “respiro” do texto acima */
}

.sm-btn-platform {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    border: 1px solid rgba(31, 46, 64, .15);
    color: #1F2E40;
    transition: all .2s ease;
}

/* HOVERS POR PLATAFORMA */
.sm-btn-platform.web:hover {
    background: #2A3F54;
    color: #fff;
}

.sm-btn-platform.android:hover {
    background: #3DDC84;
    color: #1b1b1b;
}

.sm-btn-platform.ios:hover {
    background: #000;
    color: #fff;
}

.sm-btn-platform.windows:hover {
    background: #0078D4;
    color: #fff;
}

.sm-btn-platform i {
    font-size: 18px;
}