/* 41N Membros Premium - CSS */
:root {
    --41n-red: #c0392b;
    --41n-dark: #1a1a1a;
    --41n-mid: #444;
    --41n-light: #f5f5f5;
    --41n-white: #ffffff;
    --41n-border: #e0e0e0;
    --41n-success: #27ae60;
    --41n-radius: 8px;
    --41n-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

/* ===== PAYWALL WRAPPER ===== */
.41n-paywall {
    position: relative;
    margin: 2rem 0 3rem;
    font-family: -apple-system, 'Segoe UI', Arial, sans-serif;
}

.41n-paywall__blur {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.97));
    pointer-events: none;
    z-index: 1;
}

.41n-paywall__box {
    background: var(--41n-white);
    border: 1px solid var(--41n-border);
    border-top: 4px solid var(--41n-red);
    border-radius: var(--41n-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--41n-shadow);
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== LOGO ===== */
.41n-paywall__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}
.41n-paywall__logo img {
    height: 32px;
    width: auto;
}
.41n-paywall__logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--41n-red);
    letter-spacing: -0.5px;
}

/* ===== TEXTS ===== */
.41n-paywall__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--41n-dark);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.41n-paywall__desc {
    color: var(--41n-mid);
    font-size: 0.95rem;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.41n-paywall__perks {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1.5rem;
}
.41n-paywall__perks span {
    font-size: 0.875rem;
    color: var(--41n-success);
    font-weight: 500;
}

.41n-paywall__secure {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin: 1.25rem 0 0;
}

/* ===== STEPS ===== */
.41n-step {
    display: none;
}
.41n-step.active {
    display: block;
}

.41n-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--41n-dark);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--41n-border);
}

/* ===== FORM ===== */
.41n-form-group {
    margin-bottom: 0.9rem;
}
.41n-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--41n-mid);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.41n-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--41n-border);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--41n-dark);
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.41n-form-group input:focus {
    outline: none;
    border-color: var(--41n-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
    background: #fff;
}
.41n-form-group small {
    color: #999;
    font-size: 0.75rem;
}

/* ===== PHONE INPUT ===== */
.41n-phone-input {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--41n-border);
    border-radius: 5px;
    overflow: hidden;
    background: #fafafa;
    transition: border-color 0.2s;
}
.41n-phone-input:focus-within {
    border-color: var(--41n-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.41n-prefix {
    padding: 10px 10px;
    background: #efefef;
    color: var(--41n-mid);
    font-size: 0.9rem;
    font-weight: 600;
    border-right: 1px solid var(--41n-border);
    white-space: nowrap;
}
.41n-phone-input input {
    border: none !important;
    box-shadow: none !important;
    flex: 1;
    border-radius: 0 !important;
}

/* ===== BUTTONS ===== */
.41n-btn {
    display: block;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.75rem;
    text-align: center;
    letter-spacing: 0.2px;
}
.41n-btn--primary {
    background: var(--41n-red);
    color: #fff;
}
.41n-btn--primary:hover {
    background: #a93226;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192,57,43,0.3);
}
.41n-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.41n-btn--ghost {
    background: transparent;
    color: var(--41n-mid);
    border: 1.5px solid var(--41n-border);
    font-size: 0.9rem;
}
.41n-btn--ghost:hover {
    background: var(--41n-light);
}

/* ===== PAYMENT METHODS ===== */
.41n-amount {
    text-align: center;
    font-size: 1.1rem;
    color: var(--41n-mid);
    margin: 0 0 1rem;
}
.41n-amount strong {
    color: var(--41n-red);
    font-size: 1.3rem;
}

.41n-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 1.25rem;
}
.41n-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border: 2px solid var(--41n-border);
    border-radius: 6px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--41n-mid);
}
.41n-method-btn:hover {
    border-color: var(--41n-red);
    background: #fff;
}
.41n-method-btn.active {
    border-color: var(--41n-red);
    background: #fff5f5;
    color: var(--41n-red);
}
.41n-method-icon {
    font-size: 1.4rem;
}

/* ===== INFO BOX ===== */
.41n-info-box {
    background: #f8f9fa;
    border-left: 3px solid var(--41n-red);
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--41n-mid);
    border-radius: 0 4px 4px 0;
    margin: 0 0 0.5rem;
}

/* ===== RESULTS ===== */
.41n-result {
    text-align: center;
    padding: 1rem 0;
}
.41n-result__icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}
.41n-result h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    border: none;
}
.41n-result p {
    color: var(--41n-mid);
    font-size: 0.9rem;
}
.41n-result__phone,
.41n-result__note {
    margin-top: 0.75rem;
}

/* ===== MULTIBANCO REF ===== */
.41n-mb-ref {
    background: var(--41n-light);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
}
.41n-mb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--41n-border);
    font-size: 0.95rem;
}
.41n-mb-row:last-child {
    border-bottom: none;
}
.41n-mb-row span {
    color: var(--41n-mid);
}
.41n-mb-row strong {
    font-size: 1.05rem;
    color: var(--41n-dark);
    font-family: monospace;
    letter-spacing: 1px;
}

/* ===== CHECKING / SPINNER ===== */
.41n-checking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    color: var(--41n-mid);
    font-size: 0.875rem;
}
.41n-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--41n-border);
    border-top-color: var(--41n-red);
    border-radius: 50%;
    animation: 41n-spin 0.8s linear infinite;
}
@keyframes 41n-spin {
    to { transform: rotate(360deg); }
}

/* ===== LOGIN NOTE ===== */
.41n-login-note {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.75rem;
}
.41n-login-note a {
    color: var(--41n-red);
    text-decoration: none;
    font-weight: 600;
}

/* ===== ALREADY MEMBER ===== */
.41n-already-member {
    background: #d4edda;
    color: #155724;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .41n-paywall__box {
        padding: 1.5rem 1.25rem;
        margin: 0 -0.5rem;
    }
    .41n-paywall__title {
        font-size: 1.2rem;
    }
}

/* ===== PREMIUM BADGE na listagem ===== */
.41n-premium-badge {
    display: inline-block;
    background: var(--41n-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}
