/* ==========================================================================
   SmartContábil — Site público: landing, acesso, cadastro, páginas legais
   ========================================================================== */

/* --------------------------------------------------------------------------
   Cabeçalho público
   -------------------------------------------------------------------------- */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(247, 249, 251, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sc-border);
}

.landing-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 72px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.landing-nav a:not(.btn) {
    font-size: 14px;
    font-weight: 500;
    color: var(--sc-text-muted);
}

.landing-nav a:not(.btn):hover { color: var(--sc-green-700); }
.landing-nav .landing-login { color: var(--sc-text); font-weight: 600; }
.landing-nav .btn { min-height: 42px; padding: 10px 18px; font-size: 14px; }

.landing-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-sm);
    background: var(--sc-white);
    color: var(--sc-text);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 88px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 22px;
    border-radius: var(--radius-pill);
    background: var(--sc-mint-100);
    color: var(--sc-green-700);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero-eyebrow i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sc-green-700);
}

.hero h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--sc-green-700); }

.hero-copy > p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--sc-text-muted);
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 40px;
}

.hero-actions .btn { min-height: 50px; padding: 14px 26px; font-size: 15px; }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-row div strong {
    display: block;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    color: var(--sc-text);
}

.trust-row div span {
    font-size: 12.5px;
    color: var(--sc-text-muted);
}

.hero-visual { position: relative; }

.hero-visual .brand-graphism-nodes {
    position: absolute;
    inset: -8% -6%;
    width: 112%;
    height: 116%;
    opacity: .09;
}

/* Mock realista do produto */
.hero-mock {
    position: relative;
    overflow: hidden;
    background: var(--sc-white);
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(47, 49, 56, .14);
    padding: 22px;
}

.hero-mock .brand-watermark {
    right: 10px;
    bottom: 8px;
    opacity: .045;
}

.mock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mock-top span { display: block; }
.mock-top .mock-line-strong { width: 118px; height: 8px; border-radius: 4px; background: var(--sc-graphite-900); margin-bottom: 6px; }
.mock-top .mock-line-soft { width: 78px; height: 6px; border-radius: 4px; background: var(--sc-border); }
.mock-top .mock-avatars { display: flex; gap: 8px; }
.mock-top .mock-avatars i {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: var(--sc-mint-100);
    display: inline-block;
}
.mock-top .mock-avatars i:last-child { border-radius: 50%; background: var(--sc-graphite-900); }

.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mock-kpis div {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--sc-mint-100);
}

.mock-kpis div:nth-child(2) { background: var(--state-warning-bg); }
.mock-kpis div:nth-child(3) { background: var(--sc-blue-100); }

.mock-kpis small { display: block; font-size: 11px; color: var(--sc-text-muted); margin-bottom: 4px; }
.mock-kpis strong { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--sc-green-700); }
.mock-kpis div:nth-child(2) strong { color: var(--state-warning); }
.mock-kpis div:nth-child(3) strong { color: var(--sc-blue-600); }

.mock-chart {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    background: var(--sc-surface-muted);
}

.mock-chart small { display: block; font-size: 11px; color: var(--sc-text-muted); margin-bottom: 10px; }
.mock-chart div { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.mock-chart b { flex: 1; border-radius: 3px; background: var(--sc-border); }
.mock-chart b:nth-child(n+10) { background: var(--sc-mint-500); }
.mock-chart b:last-child { background: var(--sc-green-700); }

.mock-list span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--sc-line);
    font-size: 12px;
    color: var(--sc-text);
}

.mock-list span:last-child { border-bottom: 0; }
.mock-list em { display: inline-flex; align-items: center; font-style: normal; font-size: 11px; color: var(--sc-text-muted); }
.mock-list i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc-green-700); display: inline-block; margin-left: 8px; }
.mock-list .warn i { background: var(--state-warning); }

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */
.section { padding: 88px 32px; }
.section-light { background: var(--sc-white); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 12px 0 14px;
}

.section-head p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sc-text-muted);
}

/* Plataforma integrada */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid article {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-lg);
    background: var(--sc-ice);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-grid article:hover {
    transform: translateY(-3px);
    border-color: var(--sc-mint-300);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    background: var(--sc-mint-100);
    color: var(--sc-green-700);
    font-size: 18px;
    font-weight: 700;
}

.feature-grid article.tech .feature-icon { background: var(--sc-blue-100); color: var(--sc-blue-600); }

.feature-grid h3 { font-size: 17px; margin-bottom: 8px; }
.feature-grid p { font-size: 13.5px; line-height: 1.65; color: var(--sc-text-muted); margin: 0; }

/* Fluxo operacional (seção grafite) */
.flow-section {
    position: relative;
    overflow: hidden;
    background: var(--sc-graphite-900);
    color: var(--sc-white);
}

.flow-section .brand-graphism-nodes { opacity: .05; }

.flow-section .brand-watermark {
    right: -120px;
    top: -120px;
    bottom: auto;
    opacity: .04;
}

.flow-section .section-inner { position: relative; z-index: 1; }
.flow-section .section-head h2 { color: var(--sc-white); }
.flow-section .section-head p { color: var(--sc-graphite-300); }
.flow-section .eyebrow { color: var(--sc-mint-500); }

.flow-steps {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 8px;
}

.flow-step {
    display: flex;
    align-items: center;
}

.flow-step > div {
    min-width: 104px;
    text-align: center;
}

.flow-node {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--sc-mint-500);
    background: rgba(134, 210, 191, .14);
    color: var(--sc-mint-500);
}

.flow-step:first-child .flow-node { background: var(--sc-green-700); border-color: var(--sc-green-700); color: var(--sc-white); }
.flow-step:last-child .flow-node { background: var(--sc-blue-600); border-color: var(--sc-blue-600); color: var(--sc-white); }

.flow-step b {
    display: block;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sc-white);
}

.flow-connector { padding: 0 4px; margin-bottom: 26px; flex: 0 0 auto; }

/* Segurança */
.security-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.security-features div {
    padding: 16px;
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-md);
    background: var(--sc-white);
}

.security-features span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
    background: var(--sc-mint-100);
    color: var(--sc-green-700);
}

.security-features strong { display: block; font-family: var(--font-display); font-size: 13.5px; margin-bottom: 3px; }
.security-features small { font-size: 12px; color: var(--sc-text-muted); }

.security-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: var(--radius-xl);
    background: var(--sc-graphite-900);
    color: var(--sc-white);
}

.security-card .brand-watermark { right: -50px; bottom: -50px; opacity: .06; }
.security-card > :not(.brand-watermark) { position: relative; z-index: 1; }
.security-card strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.security-card > p { font-size: 13px; color: var(--sc-graphite-300); margin-bottom: 24px; }

.security-card span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    font-size: 13px;
    color: var(--sc-white);
}

.security-card span b {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sc-mint-500);
}

.security-card span b i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sc-green-700);
}

.security-card small { display: block; margin-top: 18px; font-size: 11.5px; color: var(--sc-graphite-300); }
.security-card small a { color: var(--sc-mint-500); text-decoration: underline; }

/* Planos */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-grid article {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-xl);
    background: var(--sc-white);
}

.pricing-grid article.popular {
    background: var(--sc-graphite-900);
    border-color: var(--sc-graphite-900);
    color: var(--sc-white);
    box-shadow: var(--shadow-lg);
}

.pricing-grid article.popular .brand-watermark { right: -60px; bottom: -60px; opacity: .05; }
.pricing-grid article > :not(.brand-watermark):not(.popular-badge) { position: relative; z-index: 1; }
.pricing-grid h3 { font-size: 21px; margin-bottom: 6px; }
.pricing-grid article.popular h3 { color: var(--sc-white); }

.pricing-grid strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--sc-text-muted);
    margin-bottom: 20px;
}

.pricing-grid article.popular strong { color: var(--sc-mint-500); }
.pricing-grid p { font-size: 13.5px; line-height: 1.65; color: var(--sc-text-muted); margin-bottom: 22px; }
.pricing-grid article.popular p { color: var(--sc-graphite-300); }
.pricing-grid .btn { margin-top: auto; }
.pricing-grid article.popular .btn.secondary { background: transparent; border-color: rgba(255, 255, 255, .25); color: var(--sc-white); }
.pricing-grid article.popular .btn.secondary:hover { background: rgba(255, 255, 255, .08); color: var(--sc-white); }

.plan-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--sc-text);
}

.pricing-grid article.popular .plan-features li { color: var(--sc-white); }

.plan-features li::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    background: var(--sc-mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23037660' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-9'/%3E%3C/svg%3E") center/10px no-repeat;
}

.pricing-grid article.popular .plan-features li::before {
    background-color: rgba(134, 210, 191, .2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2386D2BF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-9'/%3E%3C/svg%3E");
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--sc-green-700);
    color: var(--sc-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Chamada final */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 76px 32px;
    background: var(--sc-green-700);
    color: var(--sc-white);
    text-align: center;
}

.cta-section .brand-watermark { left: -80px; top: -80px; right: auto; bottom: auto; opacity: .08; }
.cta-section > div { position: relative; max-width: 620px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(26px, 3vw, 34px); color: var(--sc-white); margin-bottom: 14px; }
.cta-section p { font-size: 16px; color: rgba(255, 255, 255, .82); margin-bottom: 30px; }
.cta-section .btn { background: var(--sc-white); border-color: var(--sc-white); color: var(--sc-green-700); min-height: 52px; padding: 15px 32px; font-size: 15px; }
.cta-section .btn:hover { background: var(--sc-mint-100); border-color: var(--sc-mint-100); color: var(--sc-green-800); }

/* Rodapé público */
.landing-footer {
    background: var(--sc-graphite-900);
    color: var(--sc-graphite-300);
    padding: 48px 32px 28px;
    font-size: 13px;
}

.landing-footer-inner { max-width: 1200px; margin: 0 auto; }

.landing-footer-cols {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 36px;
}

.landing-footer p { margin-top: 16px; max-width: 34ch; line-height: 1.7; color: var(--sc-graphite-300); }

.landing-footer h4 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--sc-graphite-500);
    margin-bottom: 14px;
}

.landing-footer nav { display: flex; flex-direction: column; gap: 9px; }
.landing-footer a { color: var(--sc-graphite-300); }
.landing-footer a:hover { color: var(--sc-mint-500); }

.landing-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px;
    color: var(--sc-graphite-500);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Rodapé compacto das páginas legais e utilitárias */
.landing-footer.simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 32px;
    max-width: none;
}

.landing-footer.simple span { color: var(--sc-graphite-500); }

/* --------------------------------------------------------------------------
   Login e acesso
   -------------------------------------------------------------------------- */
.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 44px 48px;
    background: linear-gradient(160deg, var(--sc-graphite-900) 0%, var(--sc-graphite-950) 100%);
    color: var(--sc-white);
}

.login-visual > :not(.brand-graphism):not(.brand-watermark) { position: relative; z-index: 1; }
.login-visual .brand-graphism-panel { z-index: 0; opacity: .9; }

.login-visual .brand-watermark {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    opacity: .06;
}

.login-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}

.login-back:hover { color: var(--sc-white); }

.login-message h1 {
    font-family: var(--font-display);
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--sc-white);
    margin: 30px 0 14px;
}

.login-message h1 span { color: var(--sc-mint-500); }

.login-message p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .68);
    max-width: 44ch;
}

.login-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
}

.login-highlights div {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 13px;
    color: rgba(255, 255, 255, .74);
}

.login-highlights span {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(134, 210, 191, .14);
    color: var(--sc-mint-500);
}

.login-steps { display: flex; gap: 6px; }
.login-steps i { display: block; height: 3px; width: 12px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.login-steps i:first-child { width: 24px; background: var(--sc-green-700); }

.login-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background: var(--sc-ice);
}

.login-card {
    width: min(420px, 100%);
    padding: 34px;
    background: var(--sc-white);
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.login-card h2 {
    font-size: 25px;
    font-weight: 700;
    margin: 10px 0 6px;
}

.login-card > p {
    font-size: 13.5px;
    color: var(--sc-text-muted);
    margin-bottom: 24px;
}

.login-card .btn.full { min-height: 48px; }

.password-field { position: relative; display: block; }
.password-field input { padding-right: 46px; }

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--sc-text-muted);
    cursor: pointer;
}

.password-toggle:hover { background: var(--sc-surface-muted); color: var(--sc-text); }

.secure-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid var(--sc-mint-300);
    border-radius: var(--radius-md);
    background: var(--sc-mint-100);
    color: var(--sc-green-700);
    font-size: 12.5px;
    line-height: 1.55;
    text-align: left;
}

.secure-note svg { flex: 0 0 auto; margin-top: 1px; }

.signup-callout {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: var(--sc-text-muted);
}

.signup-callout a { font-weight: 600; color: var(--sc-blue-600); }
.signup-callout a:hover { text-decoration: underline; }

.mobile-brand { display: none; margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   Cadastro / solicitação de avaliação
   -------------------------------------------------------------------------- */
.signup-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 72px;
}

.signup-intro { padding-top: 18px; }

.signup-intro h1 {
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.1;
    margin: 14px 0 16px;
}

.signup-intro > p { font-size: 16px; line-height: 1.7; color: var(--sc-text-muted); }

.signup-intro ul { list-style: none; padding: 0; margin: 28px 0 0; }

.signup-intro li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--sc-border);
    font-size: 13.5px;
}

.signup-intro li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--sc-mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23037660' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-9'/%3E%3C/svg%3E") center/11px no-repeat;
}

.signup-card,
.legal-card {
    background: var(--sc-white);
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xs);
}

.signup-card h2 { font-size: 21px; margin-bottom: 6px; }
.signup-card > p.muted { margin-bottom: 24px; font-size: 13.5px; }

.form-section-block {
    padding-top: 20px;
    margin-top: 4px;
    border-top: 1px solid var(--sc-line);
}

.form-section-block:first-of-type { border-top: 0; padding-top: 0; }

.form-section-block > h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-section-block > p {
    font-size: 12.5px;
    color: var(--sc-text-muted);
    margin-bottom: 16px;
}

.legal-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-md);
    background: var(--sc-surface-muted);
    font-weight: 400 !important;
    font-size: 13px;
    line-height: 1.6;
}

.legal-check input { width: 18px; min-height: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--sc-green-700); }
.legal-check a { color: var(--sc-blue-600); font-weight: 600; }

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

/* --------------------------------------------------------------------------
   Páginas legais, status e recuperação
   -------------------------------------------------------------------------- */
.legal-shell {
    min-height: 100vh;
    background: var(--sc-ice);
    padding: 56px 20px 72px;
}

.legal-card {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.75;
    padding: 40px;
}

.legal-card.narrow { max-width: 520px; }

.legal-card > .brand,
.legal-card > .brand-lockup { margin-bottom: 20px; }

.legal-card h1 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 6px; }
.legal-card h2 { font-size: 18px; margin-top: 30px; margin-bottom: 8px; }
.legal-card p,
.legal-card li { color: var(--sc-text-muted); font-size: 14px; }
.legal-card p { margin-bottom: 12px; }
.legal-card ul { padding-left: 20px; margin: 0 0 12px; }
.legal-card li { margin-bottom: 6px; }
.legal-card strong { color: var(--sc-text); }

.legal-update {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--sc-surface-muted);
    border: 1px solid var(--sc-border);
    font-size: 12px !important;
    margin-bottom: 12px;
}

.status-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--sc-line);
    font-size: 14px;
}

.status-check span { color: var(--sc-text-muted); }
.status-check strong { font-family: var(--font-display); font-size: 14px; }

.ok-text { color: var(--sc-green-700); }
.warning-text { color: var(--state-warning); }
.danger-text { color: var(--state-danger); }

/* Instalação (mantido para compatibilidade) */
.install-page { min-height: 100vh; background: var(--sc-ice); }
.install-shell { padding: 48px 20px; }

.install-panel {
    max-width: 880px;
    margin: 0 auto;
    padding: 36px;
    background: var(--sc-white);
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.install-panel h2 { margin-top: 30px; }

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
    .hero { grid-template-columns: 1fr; gap: 48px; padding: 56px 24px 72px; }
    .security-section { grid-template-columns: 1fr; gap: 40px; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 560px; }
    .signup-page { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 56px; }
    .landing-footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
    .landing-header-inner { height: 64px; padding: 0 20px; }
    .landing-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px 20px 20px;
        background: var(--sc-white);
        border-bottom: 1px solid var(--sc-border);
        box-shadow: var(--shadow-sm);
        display: none;
    }
    .landing-header.open .landing-nav { display: flex; }
    .landing-nav a:not(.btn) { padding: 10px 4px; }
    .landing-menu-toggle { display: inline-flex; }

    .login-page { grid-template-columns: 1fr; }
    .login-visual { display: none; }
    .login-form-wrap { min-height: 100vh; padding: 32px 20px; }
    .mobile-brand { display: flex; justify-content: center; }
    .legal-card { padding: 28px 22px; }
}

@media (max-width: 620px) {
    .section { padding: 56px 20px; }
    .hero { padding: 40px 20px 56px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .trust-row { gap: 20px; }
    .feature-grid,
    .security-features,
    .landing-footer-cols { grid-template-columns: 1fr; }
    .flow-steps { justify-content: flex-start; }
    .landing-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    .legal-shell { padding: 32px 14px 48px; }
    .login-card { padding: 24px 20px; }
    .mock-kpis { grid-template-columns: 1fr; }
    .cta-section { padding: 56px 20px; }
}
