:root {
  color-scheme: dark;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Aptos Display", "Segoe UI", var(--font);
  --bg: #0b1d21;
  --bg-elevated: #10282d;
  --bg-soft: #17363c;
  --surface: #f3f7f7;
  --surface-strong: #ffffff;
  --surface-alt: #e5eeee;
  --ink: #102226;
  --ink-soft: #496166;
  --ink-inverse: #f5fbfb;
  --muted-inverse: #b7c9cc;
  --teal: #5bd4ce;
  --teal-strong: #2cb3ab;
  --teal-dark: #087c79;
  --green: #2cc981;
  --amber: #f1b85b;
  --red: #e76269;
  --line: rgba(15, 49, 55, .14);
  --line-dark: rgba(222, 247, 247, .14);
  --shadow: 0 24px 72px rgba(1, 20, 24, .25);
  --radius-sm: .7rem;
  --radius: 1.1rem;
  --radius-lg: 1.65rem;
  --shell: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #ecf4f4;
  --bg-elevated: #f8fbfb;
  --bg-soft: #dcebea;
  --surface: #f3f7f7;
  --surface-strong: #ffffff;
  --surface-alt: #e5eeee;
  --ink: #102226;
  --ink-soft: #496166;
  --ink-inverse: #102226;
  --muted-inverse: #4d666a;
  --line: rgba(15, 49, 55, .14);
  --line-dark: rgba(15, 49, 55, .14);
  --shadow: 0 24px 72px rgba(25, 57, 62, .16);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --surface: #0d2024;
  --surface-strong: #132b30;
  --surface-alt: #10262a;
  --ink: #edf7f7;
  --ink-soft: #a9bec1;
  --line: rgba(222, 247, 247, .13);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; text-rendering: optimizeLegibility; }
[data-field-rule="cpf"], [data-field-rule="cnpj"], [data-field-rule="phone"],
[data-field-rule="phone-optional"], [data-field-rule="code-6"], [data-field-rule="mfa-code"] { font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--teal); color: #072326; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; transform: translateY(-180%); padding: .65rem 1rem; border-radius: .5rem; background: var(--teal); color: #082326; font-weight: 800; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(var(--shell), calc(100% - 2.5rem)); margin-inline: auto; }

.site-header, .hero, .closing-cta { --bg: #0b1d21; --bg-elevated: #10282d; --ink-inverse: #f5fbfb; --muted-inverse: #b7c9cc; --line-dark: rgba(222, 247, 247, .14); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ink-inverse); transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease; }
.site-header[data-scrolled] { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(16px); }
.header-inner { min-height: 5.3rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.brand { display: inline-flex; width: 175px; height: 60px; align-items: center; overflow: hidden; }
.brand img { width: 175px; transform: scale(1.15); }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 1.7rem; }
.main-nav a { position: relative; color: var(--muted-inverse); font-size: .9rem; font-weight: 650; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 2px; background: var(--teal); transition: right .18s ease; }
.main-nav a:hover { color: var(--ink-inverse); }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; gap: .65rem; align-items: center; }
.icon-button { width: 2.65rem; aspect-ratio: 1; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--ink-inverse); cursor: pointer; }
.nav-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: .65rem; border: 1px solid var(--line-dark); border-radius: .7rem; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink-inverse); }

.button { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .7rem; font-size: .88rem; font-weight: 760; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: #082326; box-shadow: 0 10px 28px rgba(77, 211, 204, .18); }
.button-primary:hover { background: #72e4de; }
.button-quiet { border-color: var(--line-dark); color: var(--ink-inverse); }
.button-quiet:hover, .button-secondary:hover { border-color: var(--teal); }
.button-secondary { border-color: var(--line-dark); color: var(--ink-inverse); background: transparent; }
.button-dark { background: #10282d; color: #fff; }
.button-plain { border-color: var(--line); color: var(--ink); }
.button-large { min-height: 3.2rem; padding-inline: 1.3rem; font-size: .95rem; }
.text-link { display: inline-flex; gap: .55rem; color: var(--teal); font-weight: 800; text-decoration: none; }

.hero { position: relative; overflow: hidden; min-height: 820px; padding: 10.5rem 0 7rem; background: #0b1d21; color: var(--ink-inverse); }
.hero::before { content: ""; position: absolute; width: 45rem; height: 45rem; right: -18rem; top: -18rem; border: 1px solid rgba(91, 212, 206, .15); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(91, 212, 206, .025), 0 0 0 14rem rgba(91, 212, 206, .018); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 15rem; background: linear-gradient(transparent, rgba(0, 0, 0, .12)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(610px, 1.18fr); align-items: center; gap: 4rem; }
.eyebrow { margin: 0 0 1rem; display: flex; align-items: center; gap: .65rem; color: var(--teal); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 2.2rem; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--teal-dark); }
.hero h1, .section-heading h2, .assurance-grid h2, .closing-cta h2 { margin: 0; font-family: var(--display); font-weight: 740; letter-spacing: -.04em; line-height: 1.04; }
.hero h1 { max-width: 750px; font-size: clamp(2.75rem, 5vw, 5.2rem); }
.hero-lead { max-width: 680px; margin: 1.6rem 0 0; color: var(--muted-inverse); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-free-note { max-width: 660px; margin: 1rem 0 0; color: var(--muted-inverse); font-size: .78rem; }
.hero-free-note strong { color: var(--teal); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; padding: 0; margin: 1.7rem 0 0; color: var(--muted-inverse); font-size: .8rem; list-style: none; }
.hero-facts span { color: var(--teal); font-weight: 900; }

.product-frame { position: relative; border: 1px solid rgba(206, 246, 244, .2); border-radius: var(--radius-lg); background: #edf3f5; color: #193036; box-shadow: var(--shadow); overflow: hidden; transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.product-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px rgba(255,255,255,.8); pointer-events: none; }
.product-topbar { height: 3.6rem; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #d9e3e5; background: #f7f9fb; }
.product-title { display: flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 800; }
.product-title img { width: 25px; height: 25px; }
.window-actions { position: absolute; right: 1.2rem; display: flex; gap: .55rem; }
.window-actions span { width: .55rem; aspect-ratio: 1; border: 1px solid #9cacb0; border-radius: 50%; }
.product-body { min-height: 440px; display: grid; grid-template-columns: 3.25rem 1fr; }
.product-rail { padding: .9rem .55rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; border-right: 1px solid #d9e3e5; background: #e2e9ee; color: #526b70; }
.product-rail b { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: .55rem; background: #143a40; color: var(--teal); font-size: .7rem; }
.product-content { padding: 1.4rem; }
.product-greeting { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.product-greeting div { display: flex; flex-direction: column; }
.product-greeting small { color: #698086; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.product-greeting strong { font-size: 1.05rem; }
.status-chip { padding: .35rem .6rem; border-radius: 999px; background: #d7f6ea; color: #107950; font-size: .62rem; font-weight: 850; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1.1rem; }
.metric-grid article { min-height: 5.8rem; padding: .75rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #d5e0e2; border-radius: .45rem; background: #fff; }
.metric-grid span { color: #62777c; font-size: .58rem; line-height: 1.25; }
.metric-grid strong { font-size: 1.45rem; line-height: 1; }
.metric-grid strong.ok { color: #1eaf66; }
.product-panels { display: grid; grid-template-columns: 1.2fr .8fr; gap: .65rem; margin-top: .7rem; }
.product-panels > article { min-height: 13rem; border: 1px solid #d5e0e2; border-radius: .45rem; background: #fff; }
.panel-heading { padding: .7rem .8rem; display: flex; justify-content: space-between; border-bottom: 1px solid #e3eaec; color: #087c79; font-size: .7rem; font-weight: 850; }
.panel-heading small { color: #819397; font-weight: 650; }
.attention-list { padding: .2rem .8rem; margin: 0; list-style: none; }
.attention-list li { padding: .5rem 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem; border-bottom: 1px solid #edf1f2; }
.attention-list i { width: .45rem; height: .45rem; margin-top: .25rem; border-radius: 50%; background: #47bd93; }
.attention-list i.warn { background: #e6a84a; }
.attention-list span { display: flex; flex-direction: column; }
.attention-list b { font-size: .62rem; line-height: 1.3; }
.attention-list small { color: #71858a; font-size: .55rem; }
.quick-grid { padding: .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.quick-grid span { min-height: 2.45rem; padding: .45rem; display: flex; align-items: center; border-radius: .3rem; background: #edf1f2; color: #476066; font-size: .57rem; font-weight: 720; }

.source-strip { position: relative; z-index: 2; background: #133239; color: #fff; }
.start-paths { background: var(--surface); }
.start-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.start-path-card { min-height: 270px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); display: flex; flex-direction: column; }
.start-path-card h3 { margin: 1.1rem 0 .7rem; font-family: var(--display); font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.05; }
.start-path-card p { color: var(--ink-soft); }
.start-path-card a { margin-top: auto; padding-top: 1.4rem; color: var(--teal-dark); font-weight: 850; }
.source-grid { min-height: 7rem; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 2rem; }
.source-grid p { margin: 0; color: #c5d8da; }
.source-grid strong { color: #fff; }
.source-grid ul { padding: 0; display: flex; justify-content: flex-end; gap: .5rem; list-style: none; }
.source-grid li { padding: .55rem .75rem; border: 1px solid rgba(255,255,255,.13); border-radius: .55rem; color: #d8e5e7; font-size: .72rem; font-weight: 700; }
.source-grid li span { color: var(--teal); }

.section { padding: 7rem 0; }
.section-heading { margin-bottom: 2.5rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 3rem; align-items: end; }
.section-heading h2, .assurance-grid h2, .closing-cta h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); }
.section-heading > p { margin: 0; color: var(--ink-soft); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.capability-card { position: relative; min-height: 275px; padding: 1.65rem; background: var(--surface-strong); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-card:nth-child(3n) { border-right: 0; }
.capability-card:nth-last-child(-n + 3) { border-bottom: 0; }
.capability-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--teal-strong); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.capability-card:hover::before { transform: scaleX(1); }
.card-index { color: var(--teal-dark); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.capability-card h3 { margin: 1.6rem 0 .7rem; font-size: 1.15rem; }
.capability-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.capability-card a { position: absolute; left: 1.65rem; bottom: 1.4rem; color: var(--teal-dark); font-size: .78rem; font-weight: 850; text-decoration: none; }

.section-contrast { background: #10282d; color: #fff; }
.assurance-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 6rem; align-items: start; }
.assurance-grid > div > p:not(.eyebrow) { color: #b9cccf; }
.assurance-list { margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.assurance-list div { padding: 1.55rem 0; display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.assurance-list dt { color: var(--teal); font-weight: 850; }
.assurance-list dd { margin: 0; color: #c7d6d8; }

.plans-preview { background: var(--surface-alt); }
.plan-limit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.plan-limit-grid > div { min-height: 190px; padding: 1.4rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.plan-limit-grid .featured { background: #14343a; color: #fff; }
.plan-limit-grid span { font-size: .82rem; font-weight: 850; }
.plan-limit-grid span small { display: inline; color: var(--ink-soft); font-size: .62rem; font-weight: 650; }
.plan-limit-grid strong { margin-top: auto; font-family: var(--display); font-size: 3.6rem; line-height: 1; letter-spacing: -.06em; }
.plan-limit-grid small { color: var(--ink-soft); }
.plan-limit-grid .featured small { color: #bbced0; }
.section-actions { margin-top: 1.5rem; display: flex; gap: .75rem; }

.faq-section { background: var(--surface-strong); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 5rem; align-items: start; }
.faq-layout .content-heading { position: sticky; top: 7rem; margin: 0; }
.faq-layout .content-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.faq-layout .content-heading > p:last-child { color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 4.5rem; padding: 1rem 2.5rem 1rem 0; display: flex; align-items: center; position: relative; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .2rem; color: var(--teal-dark); font-size: 1.45rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -.3rem 2.5rem 1.4rem 0; color: var(--ink-soft); }

.closing-cta { padding: 6rem 0; background: #0b1d21; color: var(--ink-inverse); }
.closing-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4rem; }
.closing-inner p:not(.eyebrow) { max-width: 720px; color: var(--muted-inverse); }
.closing-inner > div:last-child { display: flex; gap: .75rem; }

.site-footer { padding: 4rem 0 1.5rem; background: #071619; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem; }
.footer-brand img { width: 190px; }
.footer-brand p { color: #99afb2; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid h2 { margin: .4rem 0 1rem; color: #81999d; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { display: block; margin: .6rem 0; color: #c5d4d6; font-size: .85rem; text-decoration: none; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { margin-top: 3rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255,255,255,.1); color: #7f989c; font-size: .72rem; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: auto auto 1fr; gap: 1rem; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 5rem 1.25rem auto; padding: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line-dark); border-radius: .8rem; background: var(--bg-elevated); box-shadow: var(--shadow); }
  .main-nav[data-open] { display: flex; }
  .main-nav a { padding: .8rem; }
  .main-nav a::after { display: none; }
  .header-actions { justify-self: end; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-frame { width: min(820px, 100%); transform: none; }
  .source-grid { grid-template-columns: 1fr; padding-block: 1.4rem; gap: .8rem; }
  .source-grid ul { justify-content: flex-start; margin: 0; flex-wrap: wrap; }
  .assurance-grid { gap: 3rem; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 1.5rem, var(--shell)); }
  .site-header { background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(14px); }
  .header-inner { min-height: 4.7rem; }
  .brand, .brand img { width: 145px; }
  .header-actions .button { display: none; }
  .hero { padding: 8.5rem 0 4rem; min-height: auto; }
  .hero-grid { gap: 2.5rem; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .product-panels { grid-template-columns: 1fr; }
  .product-panels > article:nth-child(2) { display: none; }
  .section { padding: 4.5rem 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .capability-grid, .start-path-grid { grid-template-columns: 1fr 1fr; }
  .capability-card:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .capability-card:nth-child(2n) { border-right: 0; }
  .capability-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .assurance-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .faq-layout .content-heading { position: static; }
  .plan-limit-grid { grid-template-columns: 1fr 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .hero-actions, .section-actions, .closing-inner > div:last-child { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button, .section-actions .button, .closing-inner .button { width: 100%; }
  .hero-facts { display: grid; }
  .product-body { grid-template-columns: 2.6rem 1fr; }
  .product-content { padding: .85rem; }
  .product-rail { gap: 1rem; font-size: .7rem; }
  .product-greeting { align-items: flex-start; }
  .status-chip { display: none; }
  .metric-grid article { min-height: 5rem; }
  .source-grid ul { display: grid; }
  .capability-grid, .plan-limit-grid, .start-path-grid { grid-template-columns: 1fr; }
  .capability-card:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-card:last-child { border-bottom: 0; }
  .assurance-list div { grid-template-columns: 1fr; gap: .35rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
