/* ===================================================================
   NEGÓCIOS — CSS Compartilhado
   Usado por: negocios, recursos, planos, contato, suporte, entrar, termos
   =================================================================== */

/* ── Layout Shell ── */
.biz-shell { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Page Hero (compartilhado) ── */
.page-hero {
    position: relative;
    padding: 120px 20px 60px;
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,58,111,.04), rgba(37,99,235,.06));
    pointer-events: none;
}
.page-hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.15); font-size: .82rem; font-weight: 700; color: var(--accent); margin-bottom: 24px; }
.page-hero-title { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.03em; color: var(--primary); margin-bottom: 18px; }
.page-hero-title span { background: linear-gradient(135deg, var(--accent), #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero-subtitle { font-size: 1.08rem; color: var(--muted); line-height: 1.6; max-width: 560px; margin: 0 auto; }

/* ── Biz Hero (negocios) ── */
.biz-hero {
    position: relative;
    padding: 120px 20px 60px;
    text-align: center;
    overflow: hidden;
}
.biz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,58,111,.04), rgba(37,99,235,.06));
    pointer-events: none;
}
.biz-hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.biz-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.15); font-size: .82rem; font-weight: 700; color: var(--accent); margin-bottom: 24px; }
.biz-hero-title { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.03em; color: var(--primary); margin-bottom: 18px; }
.biz-hero-title span { background: linear-gradient(135deg, var(--accent), #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.biz-hero-subtitle { font-size: 1.08rem; color: var(--muted); line-height: 1.6; max-width: 600px; margin: 0 auto 28px; }
.biz-hero-subtitle strong { color: var(--accent); }

.biz-hero-value {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}
.value-item { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--primary); }
.value-icon { font-size: 1.2rem; }
.biz-hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Billing Toggle ── */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 40px 0 48px;
}
.billing-label { font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.billing-label.active { color: var(--primary); }
.billing-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: background .3s;
}
.billing-switch.active { background: var(--accent); }
.billing-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: transform .3s;
}
.billing-switch.active::after { transform: translateX(24px); }
.billing-save { background: rgba(21,128,61,.1); color: var(--success); padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; }

/* ── Plan Cards ── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.plan-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: 0 8px 28px rgba(15,52,96,.06);
    border: 2px solid var(--border);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,52,96,.12); }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 8px 28px rgba(37,99,235,.15); }

.plan-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}
.plan-icon { font-size: 2rem; margin-bottom: 14px; }
.plan-name { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.plan-desc { font-size: .82rem; color: var(--muted); margin-bottom: 20px; line-height: 1.4; }

.plan-price-wrap { margin-bottom: 20px; }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.plan-price .plan-currency { font-size: 1rem; vertical-align: super; }
.plan-price .plan-cents { font-size: 1rem; vertical-align: super; }
.plan-period { font-size: .78rem; color: var(--muted); font-weight: 600; }
.plan-price-free { font-size: 2rem; font-weight: 800; color: var(--success); }
.plan-trial-note { font-size: .78rem; color: var(--warning); font-weight: 700; margin-top: 4px; }

.plan-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .84rem;
    color: #475569;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
    line-height: 1.4;
}
.plan-features li:last-child { border-bottom: none; }
.plan-check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.plan-cross { color: #cbd5e1; font-weight: 700; flex-shrink: 0; }

.plan-cta {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--primary);
}
.plan-cta:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.plan-cta.primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.plan-cta.primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.4); }

/* ── Features Detail (negocios) ── */
.features-detail { padding: 60px 0; }
.features-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-detail-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: 0 8px 28px rgba(15,52,96,.06);
    border: 1px solid var(--border);
    transition: transform .3s;
}
.feature-detail-card:hover { transform: translateY(-4px); }
.feature-detail-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-detail-card h3 { font-size: .95rem; color: var(--primary); margin-bottom: 6px; }
.feature-detail-card p { color: var(--muted); font-size: .84rem; line-height: 1.5; }

/* ── FAQ ── */
.faq-section { padding: 60px 0 80px; }
.faq-grid { max-width: 760px; margin: 0 auto; }
.faq-category-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 32px 0 16px;
    padding-left: 4px;
}
.faq-category-title:first-child { margin-top: 0; }
.faq-item {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(15,52,96,.04);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 8px 28px rgba(15,52,96,.08); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: .92rem;
    color: var(--primary);
}
.faq-arrow { transition: transform .3s; font-size: .8rem; color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, margin .3s;
    font-size: .86rem;
    color: #475569;
    line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 12px; }

/* ── CTA Cards ── */
.biz-cta { padding: 0 0 80px; }
.biz-cta-card {
    background: linear-gradient(135deg, #0f3460 0%, #1d4f8f 100%);
    color: #fff;
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}
.biz-cta-card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 10px; }
.biz-cta-card p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.biz-cta-card .plan-cta.primary { background: #fff; color: var(--primary); border-color: #fff; }
.biz-cta-card .plan-cta.primary:hover { background: #f0f4ff; }

/* ── Recursos (feat) ── */
.feat-category { padding: 48px 0; }
.feat-category:nth-child(even) { background: rgba(37,99,235,.02); }
.feat-category-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 32px;
}
.feat-category-title span { color: var(--accent); }

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feat-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: 0 8px 28px rgba(15,52,96,.06);
    border: 1px solid var(--border);
    transition: transform .3s;
}
.feat-card:hover { transform: translateY(-4px); }
.feat-icon { font-size: 2rem; margin-bottom: 14px; }
.feat-card h3 { font-size: .95rem; color: var(--primary); margin-bottom: 6px; }
.feat-card p { color: var(--muted); font-size: .84rem; line-height: 1.5; }

.feat-cta { padding: 60px 0; text-align: center; }
.feat-cta-card {
    background: linear-gradient(135deg, #0f3460 0%, #1d4f8f 100%);
    color: #fff;
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}
.feat-cta-card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 10px; }
.feat-cta-card p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.feat-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: .9rem;
    transition: all .25s;
}
.feat-cta-btn:hover { background: #f0f4ff; transform: translateY(-2px); }

/* ── Planos Comparison ── */
.compare-section { padding: 0 0 60px; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
    min-width: 600px;
}
.compare-table th, .compare-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.compare-table th { background: var(--bg); font-weight: 700; color: var(--primary); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table .highlight { background: rgba(37,99,235,.04); }

.plans-cta { padding: 0 0 80px; }
.plans-cta-card {
    background: linear-gradient(135deg, #0f3460 0%, #1d4f8f 100%);
    color: #fff;
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}
.plans-cta-card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 10px; }
.plans-cta-card p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.plans-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: .9rem;
    transition: all .25s;
}
.plans-cta-btn:hover { background: #f0f4ff; transform: translateY(-2px); }

/* ── Contato ── */
.contact-section { padding: 48px 0 80px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.channel-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: 0 8px 28px rgba(15,52,96,.06);
    border: 1px solid var(--border);
    transition: transform .3s;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.channel-card:hover { transform: translateY(-3px); }
.channel-icon { font-size: 2rem; flex-shrink: 0; }
.channel-card h3 { font-size: .95rem; color: var(--primary); margin-bottom: 6px; }
.channel-card p { color: var(--muted); font-size: .84rem; line-height: 1.5; margin-bottom: 10px; }
.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: gap .2s;
}
.channel-link:hover { gap: 10px; }

.contact-form-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 8px 28px rgba(15,52,96,.06);
    border: 1px solid var(--border);
}
.contact-form-card h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: 6px; }
.contact-form-card .form-subtitle { color: var(--muted); font-size: .86rem; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: .88rem;
    color: var(--primary);
    background: var(--bg);
    transition: border-color .2s;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
    transition: all .25s;
}
.form-submit:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.4); }

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--primary); margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: .88rem; }

/* ── Suporte ── */
.quick-actions { padding: 48px 0; }
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.quick-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(15,52,96,.06);
    border: 1px solid var(--border);
    transition: transform .3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.quick-card:hover { transform: translateY(-4px); }
.quick-icon { font-size: 2.4rem; margin-bottom: 14px; }
.quick-card h3 { font-size: .95rem; color: var(--primary); margin-bottom: 6px; }
.quick-card p { color: var(--muted); font-size: .82rem; line-height: 1.4; }

.support-cta { padding: 48px 0 80px; }
.support-cta-card {
    background: linear-gradient(135deg, #0f3460 0%, #1d4f8f 100%);
    color: #fff;
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}
.support-cta-card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 10px; }
.support-cta-card p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.support-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.support-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font-size: .9rem;
    transition: all .25s;
}
.support-btn-primary { background: #fff; color: var(--primary); }
.support-btn-primary:hover { background: #f0f4ff; transform: translateY(-2px); }
.support-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.support-btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ── Entrar (Login) ── */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }

.login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
}
.login-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,58,111,.04), rgba(37,99,235,.06));
    pointer-events: none;
}
.login-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 960px;
    width: 100%;
    align-items: center;
}
.login-branding { text-align: left; }
.login-branding .logo-icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.login-branding h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; color: var(--primary); margin-bottom: 16px; }
.login-branding h1 span { background: linear-gradient(135deg, var(--accent), #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.login-branding p { font-size: 1rem; color: var(--muted); line-height: 1.6; margin-bottom: 28px; max-width: 400px; }
.login-perks { display: flex; flex-direction: column; gap: 12px; }
.login-perk { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #475569; }
.login-perk-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(37,99,235,.08); display: grid; place-items: center; font-size: .9rem; flex-shrink: 0; }

/* Branding panels (switch based on role) */
.login-branding-panel { display: none; }
.login-branding-panel.active { display: block; animation: fadeSlideIn .35s ease; }

.login-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: 0 16px 48px rgba(15,52,96,.1);
    border: 1px solid var(--border);
}

/* Role Selector Tabs */
.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 6px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
}
.role-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: calc(var(--radius-md) - 4px);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--muted);
    transition: all .25s;
}
.role-tab:hover { color: var(--primary); }
.role-tab.active {
    background: var(--card);
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(15,52,96,.08);
}
.role-tab-icon { font-size: 1rem; }

/* Login Panels (switch based on role) */
.login-panel { display: none; }
.login-panel.active { display: block; animation: fadeSlideIn .35s ease; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-card h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 6px; text-align: center; }
.login-card .login-subtitle { text-align: center; color: var(--muted); font-size: .86rem; margin-bottom: 28px; }

.login-group { margin-bottom: 20px; }
.login-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.login-group input { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-md); font-family: inherit; font-size: .88rem; color: var(--primary); background: var(--bg); transition: border-color .2s; box-sizing: border-box; }
.login-group input:focus { outline: none; border-color: var(--accent); }

.login-options { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: .82rem; }
.login-remember { display: flex; align-items: center; gap: 6px; color: var(--muted); cursor: pointer; }
.login-remember input { width: auto; margin: 0; }
.login-forgot { color: var(--accent); text-decoration: none; font-weight: 600; }
.login-forgot:hover { text-decoration: underline; }

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
    transition: all .25s;
}
.login-btn:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.4); }
.login-btn .btn-arrow { font-size: 1.1rem; transition: transform .2s; }
.login-btn:hover .btn-arrow { transform: translateX(4px); }

.login-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: .78rem; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.login-register { text-align: center; font-size: .86rem; color: var(--muted); }
.login-register a { color: var(--accent); font-weight: 700; text-decoration: none; }
.login-register a:hover { text-decoration: underline; }

/* Cliente Welcome Back */
.cliente-welcome {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(37,99,235,.06);
    border: 1px solid rgba(37,99,235,.12);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}
.cliente-welcome.hidden { display: none; }
.cliente-welcome-icon { font-size: 1.6rem; flex-shrink: 0; }
.cliente-welcome-name { font-weight: 700; color: var(--primary); font-size: .92rem; }
.cliente-welcome-cpf { font-size: .82rem; color: var(--muted); }

/* Trocar CPF */
.login-change-cpf {
    background: none;
    border: none;
    color: var(--accent);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 4px 8px;
}
.login-change-cpf:hover { text-decoration: underline; }

/* Quick Links */
.login-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.login-quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--primary);
    font-size: .84rem;
    font-weight: 600;
    transition: all .2s;
}
.login-quick-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.login-quick-icon { font-size: 1.2rem; }

/* ── Recuperação de Senha ── */
.hidden { display: none !important; }

.recovery-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}
.recovery-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--muted);
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 800;
    transition: all .3s;
    flex-shrink: 0;
}
.recovery-step-dot.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.recovery-step-dot.done {
    background: var(--success);
    color: #fff;
}
.recovery-step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    max-width: 60px;
    transition: background .3s;
}
.recovery-step-line.done { background: var(--success); }

.recovery-step { display: none; text-align: center; }
.recovery-step.active { display: block; animation: fadeSlideIn .35s ease; }

.recovery-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
    display: block;
}
.recovery-success-anim {
    animation: successPop .5s ease;
}
@keyframes successPop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.recovery-step h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 6px; }

.recovery-msg {
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: .82rem;
    font-weight: 600;
    text-align: center;
}
.recovery-msg.error {
    background: rgba(239,68,68,.08);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,.2);
}
.recovery-msg.info {
    background: rgba(37,99,235,.06);
    color: var(--accent);
    border: 1px solid rgba(37,99,235,.12);
}

.recovery-back {
    display: inline-block;
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--accent);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
}
.recovery-back:hover { text-decoration: underline; }

.recovery-timer {
    margin-top: 14px;
    font-size: .82rem;
    color: var(--muted);
}
.recovery-timer strong { color: var(--primary); font-variant-numeric: tabular-nums; }

.recovery-resend {
    display: inline-block;
    margin-top: 8px;
    background: none;
    border: none;
    color: var(--accent);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
}
.recovery-resend:hover { text-decoration: underline; }
.recovery-resend:disabled { color: var(--muted); cursor: not-allowed; text-decoration: none; }

/* Code input */
.code-input {
    text-align: center;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: .5em;
    font-variant-numeric: tabular-nums;
}

/* Password rules */
.password-rules {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.password-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--muted);
    transition: color .2s;
}
.password-rule.valid { color: var(--success); }
.password-rule.valid .rule-icon { color: var(--success); }
.rule-icon { font-size: .7rem; transition: color .2s; }

/* ── Modal Assinatura + Boleto ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.show { display: flex; }
.modal-content {
    background: #fff;
    border-radius: var(--radius-lg, 24px);
    padding: 36px 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
    animation: modalSlideIn .3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: #333; }
.modal-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 8px;
}
.modal-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--primary, #123a6f);
}
.modal-title span { color: var(--accent, #2563eb); }
.modal-subtitle {
    text-align: center;
    color: #666;
    font-size: .9rem;
    margin-bottom: 20px;
}
.modal-group {
    margin-bottom: 14px;
}
.modal-group label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}
.modal-group input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: .95rem;
    transition: border-color .2s;
    box-sizing: border-box;
}
.modal-group input:focus { outline: none; border-color: var(--accent, #2563eb); }
.modal-ciclo {
    display: flex;
    gap: 10px;
}
.ciclo-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}
.ciclo-btn.active {
    border-color: var(--accent, #2563eb);
    background: var(--accent, #2563eb);
    color: #fff;
}
.ciclo-btn small { opacity: .8; }
.modal-resumo {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 18px 0;
}
.resumo-linha {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    padding: 4px 0;
    color: #555;
}
.resumo-linha.total {
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
    margin-top: 6px;
    font-size: 1rem;
    color: #111;
}
.modal-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent, #2563eb);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background .2s;
}
.modal-btn:hover { background: #1d4ed8; }
.modal-btn:disabled { opacity: .6; cursor: not-allowed; }
.modal-btn-secondary {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #666;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
    transition: all .2s;
}
.modal-btn-secondary:hover { border-color: #cbd5e1; background: #f8fafc; }
.modal-msg {
    text-align: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .85rem;
    margin-top: 14px;
    background: #fef2f2;
    color: #dc2626;
}
.modal-msg.hidden { display: none; }
.modal-success-anim { animation: successPop .5s ease; }

/* Boleto Card */
.boleto-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    border: 2px solid #e2e8f0;
}
.boleto-info {
    margin-bottom: 16px;
}
.boleto-linha {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    padding: 4px 0;
    color: #555;
}
.boleto-codigo {
    margin-bottom: 16px;
}
.boleto-codigo label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 6px;
}
.boleto-linha-digitavel {
    display: flex;
    gap: 8px;
    align-items: center;
}
.boleto-linha-digitavel code {
    flex: 1;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .78rem;
    word-break: break-all;
    font-family: monospace;
}
.boleto-copiar {
    padding: 10px 14px;
    background: var(--accent, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.boleto-copiar:hover { background: #1d4ed8; }
.boleto-aviso {
    text-align: center;
    font-size: .82rem;
    color: #888;
    margin: 14px 0;
}
.trial-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ecfdf5;
    color: #059669;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 700;
    margin: 20px 0;
}
.trial-badge span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
}

/* ── Termos ── */
.legal-shell { max-width: 820px; margin: 0 auto; padding: 40px 20px 80px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: .9rem; text-decoration: none; margin-bottom: 24px; transition: color .2s; }
.legal-back:hover { color: var(--primary); }
.legal-header { text-align: center; margin-bottom: 40px; }
.legal-header h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--primary); margin-bottom: 8px; }
.legal-header p { color: var(--muted); font-size: .92rem; }
.legal-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(37, 99, 235, .08); color: var(--accent); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.legal-card { background: var(--card); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 8px 28px rgba(15,52,96,.06); border: 1px solid var(--border); margin-bottom: 24px; }
.legal-card h2 { font-size: 1.15rem; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.legal-card h2 .legal-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; flex-shrink: 0; }
.legal-card h3 { font-size: .95rem; color: var(--primary); margin: 16px 0 8px; }
.legal-card p, .legal-card li { font-size: .88rem; color: #475569; line-height: 1.7; }
.legal-card ul { padding-left: 20px; margin: 8px 0 12px; }
.legal-card li { margin-bottom: 6px; }
.legal-updated { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 32px; }

/* ── Biz Footer ── */
.biz-footer { text-align: center; padding: 24px 0; font-size: .82rem; color: var(--muted); }
.biz-footer strong { color: var(--primary); }
.biz-footer a { color: var(--accent); text-decoration: none; }
.biz-footer a:hover { text-decoration: underline; }

/* ── Sobre (About) ── */
.about-text-block { max-width: 720px; margin: 0 auto; }
.about-text-block p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 16px; }
.about-text-block p:last-child { margin-bottom: 0; }

.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-stat-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    transition: transform .2s;
}
.about-stat-card:hover { transform: translateY(-4px); }
.about-stat-value { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.about-stat-label { font-size: .88rem; color: var(--muted); }

/* ── Mobile Nav Toggle (Hamburger) ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background .2s;
}
.nav-toggle:hover { background: rgba(37,99,235,.06); }
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 900;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    animation: fadeIn .25s ease;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 12px;
    transition: all .2s;
}
.nav-overlay a:hover,
.nav-overlay a.active {
    color: var(--accent);
    background: rgba(37,99,235,.06);
}
.nav-overlay .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background .2s;
}
.nav-overlay .nav-close:hover { background: rgba(0,0,0,.05); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===================================================================
   RESPONSIVO
   =================================================================== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .top-nav { display: none; }
}

@media (max-width: 900px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .features-detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .feat-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .login-grid { grid-template-columns: 1fr; max-width: 440px; }
    .login-branding { text-align: center; }
    .login-branding p { margin-left: auto; margin-right: auto; }
    .login-perks { align-items: center; }
    .login-quick-links { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
    .features-detail-grid { grid-template-columns: 1fr; }
    .biz-hero { padding: 80px 16px 40px; }
}

@media (max-width: 480px) {
    .feat-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 80px 16px 40px; }
    .login-content { padding: 80px 16px 40px; }
    .login-card { padding: 28px 20px; }
    .about-stats-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}