:root {
    --green-900: #064735;
    --green-800: #0b5f49;
    --green-700: #0f7a5b;
    --green-100: #ddf6ec;
    --blue-700: #1769d2;
    --blue-100: #e7f0ff;
    --amber-600: #b77910;
    --amber-100: #fff2cc;
    --rose-600: #c72c55;
    --rose-100: #ffe7ee;
    --violet-600: #6f46d9;
    --violet-100: #efe8ff;
    --cyan-600: #0e7490;
    --cyan-100: #dff7fb;
    --orange-600: #c2410c;
    --orange-100: #ffedd5;
    --slate-900: #142033;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-100: #eef2f7;
    --line: #d8e1ed;
    --paper: #ffffff;
    --page: #f5f8fb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing-body {
    margin: 0;
    color: var(--slate-900);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

svg {
    display: block;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    min-height: 66px;
    width: 100%;
    padding: .55rem clamp(1rem, 2.2vw, 2.2rem);
    border-bottom: 1px solid rgba(216, 225, 237, .78);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(20, 32, 51, .05);
    isolation: isolate;
}

.landing-nav::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--green-700), var(--blue-700), var(--green-700));
    opacity: .9;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
    transition: transform .2s ease;
}

.landing-brand:hover {
    transform: translateY(-1px);
}

.landing-brand img {
    width: 196px;
    height: auto;
}

.landing-links {
    justify-self: center;
    width: max-content;
    max-width: 100%;
    display: flex;
    justify-content: center;
    gap: .25rem;
    min-width: 0;
    border: 1px solid rgba(216, 225, 237, .86);
    border-radius: 999px;
    background: rgba(248, 250, 252, .88);
    padding: .28rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 28px rgba(20, 32, 51, .05);
}

.landing-links a {
    position: relative;
    overflow: hidden;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    border-radius: 999px;
    padding: 0 .66rem;
    color: var(--slate-700);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.landing-links a::before {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(15, 122, 91, .14), rgba(23, 105, 210, .12));
    opacity: 0;
    transform: scale(.92);
    transition: opacity .2s ease, transform .2s ease;
}

.landing-links a::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .38rem;
    height: 2px;
    border-radius: 999px;
    background: var(--green-700);
    opacity: 0;
    transform: scaleX(.4);
    transform-origin: center;
    transition: opacity .2s ease, transform .2s ease;
}

.landing-links a svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
    transition: transform .2s ease;
}

.landing-links a:hover {
    color: var(--green-800);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(20, 32, 51, .08);
}

.landing-links a.active {
    background: var(--green-100);
    color: var(--green-900);
    box-shadow: inset 0 0 0 1px rgba(15, 122, 91, .18);
}

.landing-links a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.landing-links a:hover::before,
.landing-links a:hover::after {
    opacity: 1;
    transform: scale(1);
}

.landing-links a:hover svg {
    transform: translateY(-1px) scale(1.05);
}

.landing-actions,
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.btn {
    position: relative;
    overflow: hidden;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0 .9rem;
    font-size: .92rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.btn svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(180deg, #10a777, var(--green-700));
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 122, 91, .24);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -60%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-18deg);
    transition: left .45s ease;
}

.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(15, 122, 91, .30);
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-ghost,
.btn-soft {
    border-color: var(--line);
    background: #fff;
    color: var(--slate-900);
}

.btn-ghost:hover,
.btn-soft:hover {
    border-color: rgba(15, 122, 91, .35);
    color: var(--green-800);
    box-shadow: 0 12px 26px rgba(20, 32, 51, .08);
}

.btn-light {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .92);
    color: var(--green-900);
}

.btn-large {
    min-height: 50px;
    padding: 0 1.15rem;
    border-radius: 14px;
}

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(5, 40, 31, .94), rgba(6, 71, 53, .84) 48%, rgba(20, 32, 51, .76));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: .55;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    min-height: 690px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 2rem;
    padding: 4rem 0 2.2rem;
}

.hero-content::after {
    content: "";
    position: absolute;
    top: 188px;
    right: -86px;
    z-index: 0;
    width: 1080px;
    height: 408px;
    background: url("/images/branding/cnpj-panel-logo-original.png") center / contain no-repeat;
    opacity: .34;
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    padding: 0 .72rem;
    background: rgba(255, 255, 255, .10);
    color: #fef3c7;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow.dark {
    border-color: rgba(15, 122, 91, .18);
    background: var(--green-100);
    color: var(--green-900);
}

.hero h1 {
    margin: .9rem 0 0;
    color: #fff;
    font-size: 4.6rem;
    line-height: .96;
    font-weight: 950;
}

.hero p {
    max-width: 680px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.18rem;
    line-height: 1.7;
}

.hero-cta {
    margin-top: 1.35rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.2rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: 0 .78rem;
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .90);
    font-size: .86rem;
    font-weight: 800;
}

.hero-cnpj-search {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(220px, 270px) auto;
    align-items: end;
    gap: .75rem;
    margin-top: 1.15rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    padding: .9rem;
    background: rgba(255, 255, 255, .11);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
}

.hero-cnpj-search-copy {
    display: grid;
    gap: .2rem;
}

.hero-cnpj-search-copy span {
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    padding: .28rem .55rem;
    background: var(--amber-100);
    color: #7c4a02;
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-cnpj-search-copy strong {
    color: #fff;
    font-size: 1.12rem;
    font-weight: 950;
}

.hero-cnpj-search-copy small {
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    line-height: 1.45;
}

.hero-cnpj-search label {
    display: grid;
    gap: .35rem;
}

.hero-cnpj-search label span {
    color: rgba(255, 255, 255, .88);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-cnpj-search input {
    width: 100%;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 14px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, .96);
    color: var(--slate-900);
    font: inherit;
    font-weight: 850;
    outline: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.hero-cnpj-search input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, .28);
}

.hero-cnpj-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 136px;
    height: 50px;
    border: 0;
    border-radius: 14px;
    padding: 0 1rem;
    background: linear-gradient(180deg, #16b985, var(--green-700));
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(15, 122, 91, .32);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.hero-cnpj-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(15, 122, 91, .38);
}

.hero-cnpj-search button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.hero-cnpj-search button svg {
    width: 1.08rem;
    height: 1.08rem;
    fill: currentColor;
}

.hero-cnpj-search-status {
    grid-column: 1 / -1;
    min-height: 20px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
    font-weight: 800;
}

.hero-cnpj-search-status[data-tone="success"] {
    color: #bbf7d0;
}

.hero-cnpj-search-status[data-tone="danger"] {
    color: #fecaca;
}

.hero-cnpj-search-status[data-tone="info"] {
    color: #bfdbfe;
}

.product-stage {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
    overflow: hidden;
}

.browser-bar {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .85rem;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    color: var(--slate-500);
}

.browser-bar span {
    width: .72rem;
    height: .72rem;
    border-radius: 50%;
}

.browser-bar span:nth-child(1) { background: #ef4444; }
.browser-bar span:nth-child(2) { background: #f59e0b; }
.browser-bar span:nth-child(3) { background: #22c55e; }

.browser-bar strong {
    margin-left: .45rem;
    font-size: .8rem;
    font-weight: 900;
}

.screen-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding: .8rem .95rem 0;
}

.screen-tab {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 .72rem;
    color: var(--slate-700);
    background: #fff;
    font-size: .78rem;
    font-weight: 900;
}

.screen-tab.active {
    border-color: rgba(23, 105, 210, .30);
    background: var(--blue-100);
    color: var(--blue-700);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    padding: .95rem;
}

.metric-tile,
.search-preview,
.pipeline-preview div {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.metric-tile {
    min-height: 116px;
    padding: .95rem;
}

.metric-tile small,
.search-preview span,
.pipeline-preview span {
    color: var(--slate-500);
    font-size: .78rem;
    font-weight: 800;
}

.metric-tile strong {
    display: block;
    margin-top: .25rem;
    color: var(--slate-900);
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
}

.metric-tile span {
    display: block;
    margin-top: .45rem;
    color: var(--slate-700);
    font-size: .85rem;
    font-weight: 800;
}

.product-stage .metric-tile small,
.product-stage .metric-tile span,
.product-stage .search-preview span,
.product-stage .search-preview em,
.product-stage .pipeline-preview span,
.product-stage .result-preview span {
    color: #52627a;
}

.product-stage .metric-tile strong,
.product-stage .search-preview strong,
.product-stage .pipeline-preview b,
.product-stage .result-preview strong {
    color: #071833;
}

.metric-tile.blue { background: linear-gradient(180deg, #fff, var(--blue-100)); }
.metric-tile.green { background: linear-gradient(180deg, #fff, var(--green-100)); }
.metric-tile.amber { background: linear-gradient(180deg, #fff, var(--amber-100)); }

.search-preview {
    display: grid;
    gap: .28rem;
    margin: 0 .95rem .95rem;
    padding: .9rem;
    color: var(--slate-900);
}

.search-preview strong {
    font-size: 1.15rem;
    font-weight: 950;
}

.search-preview em {
    color: var(--slate-500);
    font-size: .88rem;
    font-style: normal;
}

.result-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .6rem;
    margin: 0 .95rem .95rem;
}

.result-preview div {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    padding: .72rem;
    min-width: 0;
}

.result-preview span {
    display: block;
    color: var(--slate-500);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.result-preview strong {
    display: block;
    margin-top: .22rem;
    color: var(--slate-900);
    font-size: .86rem;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.pipeline-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    padding: 0 .95rem .95rem;
}

.pipeline-preview div {
    padding: .85rem;
    color: var(--slate-900);
}

.pipeline-preview b {
    display: block;
    margin-bottom: .25rem;
}

.section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0;
}

.section-tight {
    padding: 2rem 0;
}

.section-band {
    width: 100%;
    max-width: none;
    padding-left: max(1rem, calc((100vw - 1180px) / 2));
    padding-right: max(1rem, calc((100vw - 1180px) / 2));
    background: #eef5f8;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 1.6rem;
    text-align: center;
}

.section-head.left {
    margin: 0;
    text-align: left;
}

.section-head h2,
.register-intro h1 {
    margin: .75rem 0 0;
    color: var(--slate-900);
    font-size: 2.5rem;
    line-height: 1.08;
    font-weight: 950;
}

.section-head p,
.register-intro p {
    margin: .8rem 0 0;
    color: var(--slate-500);
    font-size: 1rem;
    line-height: 1.75;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.stats-row article {
    min-height: 150px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 1.1rem;
    box-shadow: 0 14px 34px rgba(20, 32, 51, .06);
}

.stats-row span {
    color: var(--blue-700);
    font-weight: 950;
}

.stats-row strong {
    display: block;
    margin-top: .45rem;
    font-size: 1.1rem;
}

.stats-row p {
    margin: .45rem 0 0;
    color: var(--slate-500);
    line-height: 1.6;
}

.operation-section {
    padding-top: 2.8rem;
}

.operation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .65fr);
    grid-auto-rows: minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.operation-card,
.plan-card,
.security-grid article {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 1.1rem;
    box-shadow: 0 16px 36px rgba(20, 32, 51, .06);
}

.operation-card.main {
    grid-row: span 3;
    min-height: 0;
    align-self: stretch;
}

.operation-card:not(.main) {
    min-height: 188px;
}

.operation-card-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .85rem;
    align-items: center;
    margin-bottom: .75rem;
}

.operation-card-head > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    align-items: center;
    min-width: 0;
}

.operation-card-head-inline {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .7rem;
    margin-bottom: .65rem;
}

.operation-card-head-inline h3 {
    min-width: 0;
}

.operation-card-head-inline span {
    justify-self: end;
    white-space: nowrap;
}

.operation-card-head-simple {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    margin-bottom: .65rem;
}

.operation-card-head-simple h3 {
    min-width: 0;
}

.operation-card-head span,
.plan-badge {
    color: var(--green-800);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.operation-card-intro {
    max-width: 680px;
    margin: 0 0 .8rem;
    color: var(--slate-600);
    font-size: .95rem;
    line-height: 1.55;
    font-weight: 700;
}

.operation-card h3,
.plan-card h3,
.security-grid h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 950;
}

.operation-card p,
.plan-card p,
.security-grid p {
    margin: .62rem 0 0;
    color: var(--slate-500);
    line-height: 1.65;
}

.workflow-preview {
    display: grid;
    gap: .8rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fafc;
    padding: .95rem;
}

.workflow-search,
.workflow-result,
.workflow-actions article,
.workflow-kpis div,
.workflow-insights div {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.workflow-search {
    display: grid;
    gap: .22rem;
    padding: .9rem;
}

.workflow-search span,
.workflow-result span,
.workflow-kpis span,
.workflow-insights span {
    color: var(--slate-500);
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.workflow-search strong,
.workflow-result strong,
.workflow-kpis strong,
.workflow-insights strong {
    color: var(--slate-900);
    line-height: 1.3;
    font-weight: 950;
}

.workflow-result {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .8rem;
    align-items: center;
    padding: .95rem;
}

.workflow-result small,
.workflow-actions small {
    display: block;
    margin-top: .22rem;
    color: var(--slate-500);
    line-height: 1.45;
    font-size: .83rem;
    font-weight: 700;
}

.workflow-badge {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-900) !important;
    padding: 0 .72rem;
    white-space: nowrap;
}

.workflow-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
}

.workflow-actions article {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: .6rem;
    align-items: start;
    padding: .75rem;
}

.workflow-actions article > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-weight: 950;
}

.workflow-actions strong {
    color: var(--slate-900);
    line-height: 1.2;
    font-size: .9rem;
    font-weight: 950;
}

.workflow-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
}

.workflow-kpis div {
    padding: .75rem;
}

.workflow-kpis strong {
    display: block;
    margin-top: .18rem;
    font-size: .88rem;
}

.workflow-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.workflow-insights div {
    padding: .78rem;
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
}

.workflow-insights strong {
    display: block;
    margin-top: .2rem;
    font-size: .86rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 1.15rem;
    box-shadow: 0 16px 36px rgba(20, 32, 51, .06);
}

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.icon.blue { background: var(--blue-100); color: var(--blue-700); }
.icon.green { background: var(--green-100); color: var(--green-800); }
.icon.amber { background: var(--amber-100); color: var(--amber-600); }
.icon.rose { background: var(--rose-100); color: var(--rose-600); }
.icon.violet { background: var(--violet-100); color: var(--violet-600); }
.icon.slate { background: var(--slate-100); color: var(--slate-700); }

.feature-card h3,
.flow-list h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 1.08rem;
    line-height: 1.25;
    font-weight: 950;
}

.feature-card p,
.flow-list p,
.faq-grid p {
    margin: .55rem 0 0;
    color: var(--slate-500);
    line-height: 1.65;
}

.flow-layout {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
}

.flow-list {
    display: grid;
    gap: .85rem;
}

.flow-list article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: .85rem;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
}

.flow-list article > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--green-100);
    color: var(--green-900);
    font-weight: 950;
}

.api-card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    gap: 1.2rem;
    align-items: stretch;
    border: 1px solid rgba(23, 105, 210, .16);
    border-radius: 18px;
    background: #fff;
    padding: 1.2rem;
    box-shadow: 0 20px 46px rgba(23, 105, 210, .10);
}

.api-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: .4rem;
}

.api-copy h2,
.final-cta h2 {
    margin: .8rem 0 0;
    color: var(--slate-900);
    font-size: 2.25rem;
    line-height: 1.08;
    font-weight: 950;
}

.api-copy p,
.final-cta p {
    margin: .8rem 0 0;
    color: var(--slate-500);
    line-height: 1.75;
}

.api-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1rem;
}

.api-pills span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(23, 105, 210, .20);
    background: var(--blue-100);
    padding: 0 .72rem;
    color: var(--blue-700);
    font-size: .82rem;
    font-weight: 900;
}

.code-window {
    overflow: hidden;
    border-radius: 16px;
    background: #0b1220;
    color: #dbeafe;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.code-head {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 42px;
    padding: .7rem .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    color: #93c5fd;
    font-size: .8rem;
    font-weight: 900;
}

.code-head span {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
}

.code-head span:nth-child(1) { background: #fb7185; }
.code-head span:nth-child(2) { background: #fbbf24; }
.code-head span:nth-child(3) { background: #34d399; }

.code-head strong {
    margin-left: .35rem;
}

.code-window pre {
    margin: 0;
    padding: 1rem;
    overflow: auto;
    font-size: .86rem;
    line-height: 1.6;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.plan-card.highlighted {
    border-color: rgba(15, 122, 91, .28);
    box-shadow: 0 22px 46px rgba(15, 122, 91, .14);
}

.plan-card.enterprise {
    border-color: rgba(23, 105, 210, .20);
}

.price-head {
    border-radius: 14px;
    background: var(--green-100);
    padding: 1rem;
}

.price-head span,
.price-head small {
    display: block;
    color: var(--green-900);
    font-weight: 800;
}

.price-head strong {
    display: block;
    margin: .3rem 0;
    color: var(--green-900);
    font-size: 3rem;
    line-height: 1;
    font-weight: 950;
}

.price-card ul,
.plan-card ul,
.check-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}

.price-card li,
.plan-card li,
.check-list li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--slate-700);
    line-height: 1.55;
}

.price-card li::before,
.plan-card li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--green-700);
}

.price-card li::after,
.plan-card li::after,
.check-list li::after {
    content: "";
    position: absolute;
    left: .32rem;
    top: .48rem;
    width: .36rem;
    height: .58rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.plan-card .btn {
    margin-top: auto;
}

.security-grid {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.faq-grid {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    gap: .8rem;
}

.faq-grid details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
}

.faq-grid summary {
    cursor: pointer;
    color: var(--slate-900);
    font-weight: 950;
}

.final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin: 4.5rem auto 4.25rem;
    border: 1px solid rgba(15, 122, 91, .18);
    border-radius: 18px;
    background: #fff;
    padding: 1.55rem;
    box-shadow: 0 22px 48px rgba(15, 122, 91, .12);
}

.landing-footer {
    margin-top: 1rem;
    padding: 3.4rem clamp(1rem, 2.6vw, 2.4rem) 1.4rem;
    border-top: 1px solid rgba(216, 225, 237, .45);
    background:
        radial-gradient(circle at 12% 0%, rgba(16, 167, 119, .20), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(23, 105, 210, .16), transparent 30%),
        linear-gradient(135deg, #062e2b 0%, #0b3f38 48%, #132238 100%);
    color: #e8f4f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.55fr) minmax(160px, .5fr) minmax(160px, .5fr) minmax(300px, .85fr);
    gap: 2rem;
    align-items: start;
}

.footer-brand img {
    width: 166px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .18));
}

.footer-brand h2,
.footer-cta h3 {
    margin: 1rem 0 0;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 950;
}

.footer-brand p {
    max-width: 500px;
    margin: .75rem 0 0;
    color: rgba(232, 244, 240, .76);
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.1rem;
}

.footer-badges span,
.footer-cta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    padding: 0 .7rem;
    color: #dff7ed;
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: .72rem;
}

.footer-links strong {
    color: #fff;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.footer-links a,
.footer-bottom a {
    width: fit-content;
    color: rgba(232, 244, 240, .78);
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-cta {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    padding: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 22px 42px rgba(0, 0, 0, .14);
}

.footer-cta h3 {
    font-size: 1.05rem;
}

.footer-cta .btn {
    margin-top: 1rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.6rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(232, 244, 240, .70);
    font-size: .9rem;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.register-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 12%, rgba(16, 167, 119, .16), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(23, 105, 210, .12), transparent 30%),
        linear-gradient(180deg, rgba(238, 245, 248, .90), rgba(245, 248, 251, .98)),
        url("/images/branding/cnpj-panel-logo-original.png");
    background-size: cover, cover, cover, 760px auto;
    background-position: center, center, center, right 6% top 120px;
    background-repeat: no-repeat;
}

.register-nav {
    position: relative;
}

.register-shell {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3.2rem 0 4.4rem;
    display: grid;
    grid-template-columns: minmax(340px, .86fr) minmax(0, 1.14fr);
    gap: 1.65rem;
    align-items: start;
}

.register-intro {
    position: sticky;
    top: 96px;
    padding: 0;
}

.register-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}

.register-eyebrow {
    border-color: rgba(15, 122, 91, .35);
    background: linear-gradient(135deg, var(--green-100), #fff);
    color: var(--green-900);
    box-shadow: 0 12px 26px rgba(15, 122, 91, .10);
}

.register-eyebrow svg {
    width: 1rem;
    height: 1rem;
    margin-right: .38rem;
    color: var(--green-700);
    fill: currentColor;
}

.register-safe {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(23, 105, 210, .18);
    border-radius: 999px;
    background: var(--blue-100);
    padding: 0 .72rem;
    color: var(--blue-700);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.register-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.25rem;
}

.register-benefits article {
    position: relative;
    overflow: hidden;
    min-height: 102px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .92);
    padding: .9rem;
    box-shadow: 0 16px 36px rgba(20, 32, 51, .06);
}

.register-benefits article::after {
    content: "";
    position: absolute;
    inset: auto -24px -30px auto;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(15, 122, 91, .08);
}

.register-benefits strong {
    display: block;
    margin-top: .65rem;
    color: var(--green-800);
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 950;
}

.register-benefits span {
    display: block;
    margin-top: .45rem;
    color: var(--slate-500);
    font-size: .88rem;
    line-height: 1.35;
    font-weight: 800;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
}

.benefit-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.benefit-icon.blue { background: var(--blue-100); color: var(--blue-700); }
.benefit-icon.green { background: var(--green-100); color: var(--green-800); }
.benefit-icon.amber { background: var(--amber-100); color: var(--amber-600); }

.register-mini-flow {
    display: grid;
    gap: .7rem;
    margin-top: 1.1rem;
}

.register-mini-flow div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    border: 1px solid rgba(216, 225, 237, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .86);
    padding: .75rem;
    box-shadow: 0 12px 28px rgba(20, 32, 51, .05);
}

.register-mini-flow span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-900);
    font-weight: 950;
}

.register-mini-flow strong {
    color: var(--slate-900);
    font-weight: 950;
}

.register-mini-flow small {
    color: var(--slate-500);
    font-weight: 700;
}

.register-card {
    margin-top: 0;
    border: 1px solid rgba(15, 122, 91, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 28px 70px rgba(20, 32, 51, .14);
    overflow: hidden;
}

.validation-toast-stack {
    position: fixed;
    top: 104px;
    right: max(1rem, calc((100vw - 1240px) / 2));
    z-index: 80;
    width: min(380px, calc(100vw - 2rem));
    display: grid;
    gap: .65rem;
    pointer-events: none;
}

.validation-toast {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    border: 1px solid rgba(225, 29, 72, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    color: #9f1239;
    padding: .78rem .86rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .18);
    opacity: 0;
    transform: translateY(-.45rem);
    transition: opacity .18s ease, transform .18s ease;
    backdrop-filter: blur(14px);
}

.validation-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.validation-toast.is-valid {
    border-color: rgba(15, 122, 91, .22);
    color: var(--green-900);
}

.validation-toast-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffe4e6;
    color: #be123c;
    font-weight: 950;
}

.validation-toast.is-valid .validation-toast-icon {
    background: var(--green-100);
    color: var(--green-800);
}

.validation-toast span:last-child {
    min-width: 0;
    color: inherit;
    font-size: .88rem;
    line-height: 1.35;
    font-weight: 850;
}

.form-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(15, 122, 91, .12), rgba(23, 105, 210, .08)),
        #f8fbfd;
}

.form-head-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--green-700);
    color: #fff;
    box-shadow: 0 16px 30px rgba(15, 122, 91, .20);
}

.form-head-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.form-head span {
    color: var(--green-800);
    font-size: .86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.form-head strong {
    color: var(--slate-900);
    font-size: 1.25rem;
    font-weight: 950;
}

.form-alert {
    display: grid;
    gap: .2rem;
    margin: 1rem 1.25rem 0;
    border: 1px solid #fecdd3;
    border-radius: 14px;
    background: #fff1f2;
    padding: .85rem;
    color: #9f1239;
}

.signup-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem 1rem;
    align-items: start;
    padding: 1.35rem;
}

.field {
    display: grid;
    grid-template-rows: auto 54px;
    gap: .38rem;
    min-width: 0;
    min-height: 77px;
    align-content: start;
}

.field-span {
    grid-column: 1 / -1;
}

.field > span {
    color: var(--slate-900);
    font-size: .9rem;
    font-weight: 900;
}

.input-shell {
    height: 54px;
    min-height: 54px;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    border: 1px solid #c8d5e5;
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.input-shell:focus-within {
    border-color: rgba(15, 122, 91, .55);
    box-shadow: 0 0 0 4px rgba(15, 122, 91, .12);
}

.input-shell.has-error {
    border-color: #e11d48;
}

.input-shell.is-valid {
    border-color: rgba(15, 122, 91, .72);
    background: #f4fffb;
    box-shadow: 0 0 0 4px rgba(15, 122, 91, .12);
}

.input-shell.is-invalid {
    border-color: #e11d48;
    background: #fff7f8;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, .10);
}

.input-shell svg {
    width: 1.08rem;
    height: 1.08rem;
    justify-self: center;
    color: var(--green-800);
    fill: currentColor;
}

.input-shell input {
    width: 100%;
    min-width: 0;
    height: 52px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--slate-900);
    font: inherit;
    font-size: .96rem;
}

.document-feedback {
    display: none;
    align-items: center;
    min-height: 26px;
    color: var(--slate-500);
    font-size: .8rem;
    font-weight: 800;
}

.document-feedback.is-valid {
    color: var(--green-800);
}

.document-feedback.is-invalid {
    color: #be123c;
}

.input-shell input::placeholder {
    color: #94a3b8;
}

.field em,
.field-error {
    margin: 0;
    color: #be123c;
    font-size: .82rem;
    font-style: normal;
    font-weight: 800;
}

.terms-check {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: .65rem;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #f8fafc;
    padding: .85rem;
}

.terms-check.has-error {
    border-color: #e11d48;
    background: #fff7f8;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, .08);
}

.terms-check input {
    width: 18px;
    height: 18px;
    margin-top: .1rem;
    accent-color: var(--green-700);
}

.terms-check span {
    color: var(--slate-700);
    font-size: .9rem;
    line-height: 1.55;
    font-weight: 700;
}

.terms-check a {
    color: var(--blue-700);
    font-weight: 900;
}

.btn-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    cursor: pointer;
}

.public-lookup-body {
    background:
        radial-gradient(circle at 12% 8%, rgba(23, 105, 210, .11), transparent 28rem),
        radial-gradient(circle at 86% 18%, rgba(15, 122, 91, .14), transparent 30rem),
        var(--page);
}

.public-lookup-main {
    overflow: hidden;
}

.public-lookup-hero {
    position: relative;
    padding: clamp(2.5rem, 5vw, 5.4rem) 0 clamp(2.3rem, 4vw, 4.5rem);
    background:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(120deg, #073827, #0d6a4e 52%, #10243d);
    background-size: 42px 42px, 42px 42px, auto;
    color: #fff;
}

.public-lookup-hero::after {
    content: "";
    position: absolute;
    right: -7rem;
    bottom: -8rem;
    width: 44rem;
    height: 28rem;
    background: url("/images/branding/cnpj-panel-logo-original.png") center / contain no-repeat;
    opacity: .18;
    pointer-events: none;
}

.public-lookup-hero-grid {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    align-items: center;
}

.public-lookup-copy h1 {
    max-width: 780px;
    margin: 1rem 0 0;
    color: #fff;
    font-size: clamp(2.35rem, 4.2vw, 4rem);
    line-height: .98;
    font-weight: 950;
}

.public-lookup-copy p {
    max-width: 700px;
    margin: 1.15rem 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.1rem;
    line-height: 1.72;
}

.public-lookup-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.35rem;
}

.public-lookup-badges span {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: 0 .82rem;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .94);
    font-size: .88rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.public-lookup-badges svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.public-lookup-card {
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    color: var(--slate-900);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .28);
    overflow: hidden;
}

.public-lookup-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(115deg, #dff7ec, #eff6ff 58%, #fff7df);
    border-bottom: 1px solid var(--line);
}

.public-lookup-card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--green-700);
    color: #fff;
    box-shadow: 0 16px 36px rgba(15, 122, 91, .24);
}

.public-lookup-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.public-lookup-card-head span {
    color: var(--green-900);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.public-lookup-card-head h2 {
    margin: .1rem 0 0;
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 950;
}

.public-lookup-form {
    display: grid;
    gap: .85rem;
    padding: 1.25rem;
}

.public-lookup-form label {
    display: grid;
    gap: .45rem;
}

.public-lookup-form label span {
    color: var(--slate-900);
    font-size: .82rem;
    font-weight: 950;
}

.public-lookup-form input {
    width: 100%;
    height: 58px;
    border: 1px solid #cbd5e1;
    border-radius: 15px;
    padding: 0 1rem;
    background: #fff;
    color: var(--slate-900);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 850;
    outline: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.public-lookup-form input:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 4px rgba(15, 122, 91, .14);
}

.public-lookup-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 56px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(180deg, #10a777, var(--green-700));
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(15, 122, 91, .26);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.public-lookup-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(15, 122, 91, .34);
}

.public-lookup-form button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.public-lookup-form button svg {
    width: 1.12rem;
    height: 1.12rem;
    fill: currentColor;
}

.public-lookup-status {
    min-height: 22px;
    margin: 0;
    color: var(--slate-500);
    font-size: .9rem;
    font-weight: 850;
}

.public-lookup-status[data-tone="success"] {
    color: var(--green-800);
}

.public-lookup-status[data-tone="danger"] {
    color: var(--rose-600);
}

.public-lookup-status[data-tone="info"] {
    color: var(--blue-700);
}

.public-lookup-example {
    display: grid;
    gap: .28rem;
    margin: 0 1.25rem 1.25rem;
    border: 1px solid #d7e2ef;
    border-radius: 16px;
    padding: .9rem;
    background: #f8fbff;
}

.public-lookup-example span {
    color: var(--slate-500);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.public-lookup-example strong {
    font-size: 1.15rem;
    font-weight: 950;
}

.public-lookup-example small {
    color: var(--slate-500);
    font-size: .86rem;
    line-height: 1.45;
}

.public-lookup-section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2.8rem, 5vw, 4.8rem) 0;
}

.public-lookup-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .95rem;
    margin-top: 1.6rem;
}

.public-lookup-feature-grid article {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.1rem;
    background: #fff;
    box-shadow: 0 18px 44px rgba(20, 32, 51, .07);
}

.public-lookup-feature-grid h3 {
    margin: .95rem 0 .45rem;
    font-size: 1.05rem;
    line-height: 1.22;
    font-weight: 950;
}

.public-lookup-feature-grid p {
    margin: 0;
    color: var(--slate-500);
    font-size: .94rem;
    line-height: 1.55;
}

.public-lookup-flow {
    width: min(1180px, calc(100% - 2rem));
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: stretch;
    margin: 0 auto clamp(3rem, 5vw, 5rem);
    border: 1px solid rgba(15, 122, 91, .18);
    border-radius: 22px;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fff, #f0fbf7);
    box-shadow: 0 22px 60px rgba(20, 32, 51, .08);
}

.public-lookup-flow h2 {
    margin: .85rem 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.04;
    font-weight: 950;
}

.public-lookup-flow p {
    margin: 1rem 0 0;
    color: var(--slate-500);
    font-size: 1rem;
    line-height: 1.65;
}

.public-lookup-steps {
    display: grid;
    gap: .75rem;
}

.public-lookup-steps article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .35rem .75rem;
    align-items: center;
    border: 1px solid #d7e2ef;
    border-radius: 16px;
    padding: .85rem;
    background: #fff;
}

.public-lookup-steps span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--green-100);
    color: var(--green-900);
    font-weight: 950;
}

.public-lookup-steps strong {
    font-weight: 950;
}

.public-lookup-steps p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.45;
}

body.public-cnpj-modal-open {
    overflow: hidden;
}

.public-cnpj-modal[hidden] {
    display: none;
}

.public-cnpj-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.public-cnpj-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .68);
    backdrop-filter: blur(10px);
}

.public-cnpj-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(203, 213, 225, .9);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(15, 23, 42, .38);
    overflow: hidden;
}

.public-cnpj-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(115deg, #dff7ec, #eff6ff 58%, #fff7df);
    border-bottom: 1px solid var(--line);
}

.public-cnpj-head-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--green-700), var(--blue-700) 58%, var(--violet-600));
    color: #fff;
    box-shadow: 0 16px 38px rgba(15, 122, 91, .26);
}

.public-cnpj-head-icon svg,
.public-cnpj-head button svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

.public-cnpj-head span {
    color: var(--green-900);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.public-cnpj-head h2 {
    margin: .12rem 0 0;
    color: var(--slate-900);
    font-size: 1.45rem;
    line-height: 1.1;
    font-weight: 950;
}

.public-cnpj-head p {
    margin: .35rem 0 0;
    color: var(--slate-700);
    font-size: .95rem;
    line-height: 1.45;
}

.public-cnpj-head button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: rgba(255, 255, 255, .84);
    color: var(--slate-700);
    cursor: pointer;
}

.public-cnpj-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 1rem 1.25rem 1.2rem;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.public-cnpj-summary,
.public-cnpj-fields,
.public-cnpj-debts-head,
.public-cnpj-list-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .7rem;
}

.public-cnpj-summary article,
.public-cnpj-fields article,
.public-cnpj-debts-head article,
.public-cnpj-list-fields article {
    min-width: 0;
    border: 1px solid #d7e2ef;
    border-radius: 14px;
    padding: .78rem .85rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.public-cnpj-summary span,
.public-cnpj-fields span,
.public-cnpj-debts-head span,
.public-cnpj-list-fields span {
    display: block;
    color: var(--slate-500);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.public-cnpj-summary strong,
.public-cnpj-fields strong,
.public-cnpj-debts-head strong,
.public-cnpj-list-fields strong {
    display: block;
    margin-top: .22rem;
    color: var(--slate-900);
    font-size: .95rem;
    line-height: 1.35;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.public-cnpj-summary-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .72rem;
    min-height: 86px;
}

.public-cnpj-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--slate-500);
    opacity: .72;
}

.public-cnpj-summary-content {
    min-width: 0;
}

.public-cnpj-card-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, .72);
    color: var(--slate-700);
    background: var(--slate-100);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
    flex: 0 0 auto;
}

.public-cnpj-card-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
}

.public-cnpj-summary-card.green,
.public-cnpj-section-card.green {
    border-color: rgba(15, 122, 91, .2);
    background: linear-gradient(180deg, #fff, #effbf5);
}

.public-cnpj-summary-card.blue,
.public-cnpj-section-card.blue {
    border-color: rgba(23, 105, 210, .2);
    background: linear-gradient(180deg, #fff, #f1f6ff);
}

.public-cnpj-summary-card.purple,
.public-cnpj-section-card.purple {
    border-color: rgba(111, 70, 217, .22);
    background: linear-gradient(180deg, #fff, var(--violet-100));
}

.public-cnpj-summary-card.cyan,
.public-cnpj-section-card.cyan {
    border-color: rgba(14, 116, 144, .22);
    background: linear-gradient(180deg, #fff, var(--cyan-100));
}

.public-cnpj-summary-card.amber,
.public-cnpj-section-card.amber {
    border-color: rgba(183, 121, 16, .24);
    background: linear-gradient(180deg, #fff, #fff8e6);
}

.public-cnpj-summary-card.rose,
.public-cnpj-section-card.rose {
    border-color: rgba(199, 44, 85, .22);
    background: linear-gradient(180deg, #fff, var(--rose-100));
}

.public-cnpj-summary-card.orange,
.public-cnpj-section-card.orange {
    border-color: rgba(194, 65, 12, .22);
    background: linear-gradient(180deg, #fff, var(--orange-100));
}

.public-cnpj-summary-card.slate,
.public-cnpj-section-card.slate {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.public-cnpj-summary-card.green::before {
    background: var(--green-700);
}

.public-cnpj-summary-card.blue::before {
    background: var(--blue-700);
}

.public-cnpj-summary-card.purple::before {
    background: var(--violet-600);
}

.public-cnpj-summary-card.cyan::before {
    background: var(--cyan-600);
}

.public-cnpj-summary-card.amber::before {
    background: var(--amber-600);
}

.public-cnpj-summary-card.rose::before {
    background: var(--rose-600);
}

.public-cnpj-summary-card.orange::before {
    background: var(--orange-600);
}

.public-cnpj-summary-card.slate::before {
    background: var(--slate-500);
}

.public-cnpj-summary-card.green .public-cnpj-card-icon,
.public-cnpj-section-card.green .public-cnpj-card-icon {
    background: var(--green-100);
    color: var(--green-800);
}

.public-cnpj-summary-card.blue .public-cnpj-card-icon,
.public-cnpj-section-card.blue .public-cnpj-card-icon {
    background: var(--blue-100);
    color: var(--blue-700);
}

.public-cnpj-summary-card.purple .public-cnpj-card-icon,
.public-cnpj-section-card.purple .public-cnpj-card-icon {
    background: var(--violet-100);
    color: var(--violet-600);
}

.public-cnpj-summary-card.cyan .public-cnpj-card-icon,
.public-cnpj-section-card.cyan .public-cnpj-card-icon {
    background: var(--cyan-100);
    color: var(--cyan-600);
}

.public-cnpj-summary-card.amber .public-cnpj-card-icon,
.public-cnpj-section-card.amber .public-cnpj-card-icon {
    background: var(--amber-100);
    color: var(--amber-600);
}

.public-cnpj-summary-card.rose .public-cnpj-card-icon,
.public-cnpj-section-card.rose .public-cnpj-card-icon {
    background: var(--rose-100);
    color: var(--rose-600);
}

.public-cnpj-summary-card.orange .public-cnpj-card-icon,
.public-cnpj-section-card.orange .public-cnpj-card-icon {
    background: var(--orange-100);
    color: var(--orange-600);
}

.public-cnpj-fields-clean {
    grid-template-columns: 1fr;
}

.public-cnpj-section-card {
    display: grid;
    gap: .85rem;
    border-radius: 18px;
    padding: .95rem;
}

.public-cnpj-section-head {
    display: flex;
    align-items: center;
    gap: .72rem;
}

.public-cnpj-section-head h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 950;
}

.public-cnpj-section-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: .62rem;
}

.public-cnpj-section-fields article {
    border-color: rgba(203, 213, 225, .78);
    border-radius: 13px;
    padding: .68rem .72rem;
    background: rgba(255, 255, 255, .86);
    box-shadow: none;
}

.public-cnpj-section-fields article span {
    color: var(--slate-500);
    font-size: .7rem;
}

.public-cnpj-section-fields article strong {
    font-size: .92rem;
}

.public-cnpj-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0;
    border: 1px solid #d7e2ef;
    border-radius: 16px;
    padding: .42rem;
    background: #f8fafc;
}

.public-cnpj-tabs button {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    padding: 0 .95rem;
    background: transparent;
    color: var(--slate-700);
    cursor: pointer;
    font: inherit;
    font-size: .88rem;
    font-weight: 950;
}

.public-cnpj-tabs button.active {
    background: var(--green-700);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 122, 91, .2);
}

.public-cnpj-tabs button[data-cnpj-tab="cadastro"].active {
    background: var(--blue-700);
    box-shadow: 0 12px 24px rgba(23, 105, 210, .2);
}

.public-cnpj-tabs button[data-cnpj-tab="qsa"].active {
    background: var(--rose-600);
    box-shadow: 0 12px 24px rgba(199, 44, 85, .2);
}

.public-cnpj-tabs button[data-cnpj-tab="pendencias"].active {
    background: var(--orange-600);
    box-shadow: 0 12px 24px rgba(194, 65, 12, .2);
}

.public-cnpj-tab-panel {
    display: none;
}

.public-cnpj-tab-panel.active {
    display: block;
}

.public-cnpj-list {
    display: grid;
    gap: .85rem;
}

.public-cnpj-debts-head + .public-cnpj-list {
    margin-top: 1rem;
}

.public-cnpj-list-card {
    border: 1px solid #d7e2ef;
    border-radius: 16px;
    padding: .95rem;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
}

.public-cnpj-list-card.debt {
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fff, #fffbeb);
}

.public-cnpj-list-card h3 {
    margin: 0 0 .75rem;
    color: var(--slate-900);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 950;
}

.public-cnpj-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .45rem;
}

.public-cnpj-chip-list b {
    border: 1px solid #d7e2ef;
    border-radius: 999px;
    padding: .22rem .45rem;
    background: #f8fafc;
    color: var(--slate-900);
    font-size: .8rem;
    line-height: 1.3;
}

.public-cnpj-empty {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: .78rem;
    align-items: center;
    margin-top: .1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: .95rem 1rem;
    background: linear-gradient(135deg, #fff, #f8fafc);
    color: var(--slate-700);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(15, 23, 42, .04);
}

.public-cnpj-empty::before {
    content: "!";
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--slate-100);
    color: var(--slate-700);
    font-size: 1rem;
    font-weight: 950;
}

.public-cnpj-tab-panel[data-cnpj-panel="pendencias"] .public-cnpj-empty {
    border-color: rgba(194, 65, 12, .32);
    background: linear-gradient(135deg, #fff, #fff7ed);
}

.public-cnpj-tab-panel[data-cnpj-panel="pendencias"] .public-cnpj-empty::before {
    background: var(--orange-100);
    color: var(--orange-600);
}

.public-cnpj-empty strong {
    color: var(--slate-700);
    font-size: .95rem;
    line-height: 1.45;
}

.public-cnpj-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding: .9rem 1.25rem;
    background: #fff;
}

.public-cnpj-footer span {
    color: var(--slate-500);
    font-size: .86rem;
    font-weight: 800;
}

.public-cnpj-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    padding: 0 .95rem;
    background: var(--green-700);
    color: #fff;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 122, 91, .22);
}

@media (max-width: 1500px) {
    .landing-nav {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: .8rem;
    }

    .landing-brand img {
        width: 170px;
    }

    .landing-links {
        justify-self: stretch;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .landing-links::-webkit-scrollbar {
        display: none;
    }

    .landing-links a {
        flex: 0 0 auto;
    }
}

@media (max-width: 1040px) {
    .landing-nav {
        grid-template-columns: 1fr auto;
    }

    .landing-links {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .landing-links::-webkit-scrollbar {
        display: none;
    }

    .landing-links a {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .hero,
    .hero-content {
        min-height: 640px;
    }

    .hero h1 {
        font-size: 3.4rem;
    }

    .hero-cnpj-search {
        grid-template-columns: 1fr 1fr;
    }

    .hero-cnpj-search-copy {
        grid-column: 1 / -1;
    }

    .hero-cnpj-search button {
        width: 100%;
    }

    .feature-grid,
    .stats-row,
    .operation-grid,
    .plans-grid,
    .security-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operation-grid {
        grid-auto-rows: auto;
    }

    .operation-card.main {
        grid-column: 1 / -1;
        grid-row: auto;
        align-self: auto;
    }

    .flow-layout,
    .api-card,
    .register-shell,
    .public-lookup-hero-grid,
    .public-lookup-flow {
        grid-template-columns: 1fr;
    }

    .public-lookup-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .register-intro {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .landing-nav {
        min-height: auto;
        align-items: stretch;
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .landing-brand img {
        width: 160px;
    }

    .landing-actions,
    .landing-actions .btn,
    .hero-cta,
    .hero-cta .btn {
        width: 100%;
    }

    .landing-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
        gap: .5rem;
    }

    .landing-actions .btn {
        width: auto;
        min-width: 0;
        padding: 0 .65rem;
    }

    .hero {
        min-height: 0;
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        min-height: 0;
        padding: 2.5rem 0 1.2rem;
    }

    .hero-content::after {
        top: 135px;
        right: -230px;
        width: 520px;
        height: 200px;
        opacity: .18;
    }

    .hero h1 {
        font-size: 2.55rem;
        line-height: 1;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-cnpj-search {
        grid-template-columns: 1fr;
        padding: .8rem;
    }

    .hero-cnpj-search button {
        min-width: 0;
    }

    .product-grid,
    .pipeline-preview,
    .result-preview,
    .feature-grid,
    .stats-row,
    .operation-grid,
    .workflow-actions,
    .workflow-kpis,
    .workflow-insights,
    .plans-grid,
    .security-grid,
    .register-benefits,
    .signup-form,
    .final-cta {
        grid-template-columns: 1fr;
    }

    .workflow-result {
        grid-template-columns: 1fr;
    }

    .operation-card-head-inline {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .operation-card-head-inline span {
        grid-column: 2;
        justify-self: start;
    }

    .workflow-badge {
        justify-self: start;
    }

    .section {
        padding: 2.8rem 0;
    }

    .section-band {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .final-cta {
        margin: 2.8rem auto;
        padding: 1.15rem;
    }

    .section-head h2,
    .api-copy h2,
    .final-cta h2,
    .register-intro h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        display: grid;
        justify-content: start;
    }

    .footer-bottom nav {
        justify-content: flex-start;
    }

    .register-shell {
        padding-top: 2rem;
    }

    .validation-toast-stack {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .public-cnpj-modal {
        align-items: stretch;
        padding: .65rem;
    }

    .public-cnpj-dialog {
        width: 100%;
        max-height: calc(100dvh - 1.3rem);
        border-radius: 18px;
    }

    .public-cnpj-head {
        position: relative;
        grid-template-columns: auto minmax(0, 1fr);
        gap: .8rem;
        padding: 1rem 3.8rem 1rem 1rem;
    }

    .public-cnpj-head button {
        position: absolute;
        top: .95rem;
        right: .95rem;
        margin: 0;
    }

    .public-cnpj-head h2 {
        font-size: 1.18rem;
    }

    .public-cnpj-body {
        padding: .8rem;
    }

    .public-cnpj-summary,
    .public-cnpj-fields,
    .public-cnpj-debts-head,
    .public-cnpj-list-fields {
        grid-template-columns: 1fr;
    }

    .public-cnpj-tabs {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .public-cnpj-tabs button {
        flex: 1 1 auto;
    }

    .public-cnpj-footer {
        display: grid;
        padding: .8rem;
    }

    .public-cnpj-footer a {
        width: 100%;
    }

    .public-lookup-hero {
        padding-top: 2rem;
    }

    .public-lookup-hero::after {
        right: -12rem;
        bottom: -4rem;
        width: 30rem;
        opacity: .12;
    }

    .public-lookup-feature-grid {
        grid-template-columns: 1fr;
    }

    .public-lookup-flow {
        padding: 1rem;
    }

    .field-span {
        grid-column: auto;
    }
}
